diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-13 12:24:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 12:24:05 -0700 |
commit | 886b2cc4b10c32611b45da983fa9d1318d38356a (patch) | |
tree | 4484691fbb13faef71e7b11cfa3a81ab46c9fee2 /pkg/api/handlers/libpod/swagger.go | |
parent | d147b3ee027580dd7afdeb0fa04d990ae1d2ee91 (diff) | |
parent | cf502b99feda401ced410fbcfd1a3a2663c7a559 (diff) | |
download | podman-886b2cc4b10c32611b45da983fa9d1318d38356a.tar.gz podman-886b2cc4b10c32611b45da983fa9d1318d38356a.tar.bz2 podman-886b2cc4b10c32611b45da983fa9d1318d38356a.zip |
Merge pull request #6197 from baude/v2remotenetwork
enable podman v2 networking for remote client
Diffstat (limited to 'pkg/api/handlers/libpod/swagger.go')
-rw-r--r-- | pkg/api/handlers/libpod/swagger.go | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkg/api/handlers/libpod/swagger.go b/pkg/api/handlers/libpod/swagger.go index 46426eb6b..057fbfb41 100644 --- a/pkg/api/handlers/libpod/swagger.go +++ b/pkg/api/handlers/libpod/swagger.go @@ -91,6 +91,34 @@ type swagInfoResponse struct { Body define.Info } +// Network rm +// swagger:response NetworkRmReport +type swagNetworkRmReport struct { + // in:body + Body entities.NetworkRmReport +} + +// Network inspect +// swagger:response NetworkInspectReport +type swagNetworkInspectReport struct { + // in:body + Body []entities.NetworkInspectReport +} + +// Network list +// swagger:response NetworkListReport +type swagNetworkListReport struct { + // in:body + Body []entities.NetworkListReport +} + +// Network create +// swagger:response NetworkCreateReport +type swagNetworkCreateReport struct { + // in:body + Body entities.NetworkCreateReport +} + func ServeSwagger(w http.ResponseWriter, r *http.Request) { path := DefaultPodmanSwaggerSpec if p, found := os.LookupEnv("PODMAN_SWAGGER_SPEC"); found { |