diff options
author | Brent Baude <bbaude@redhat.com> | 2020-03-04 10:14:07 -0600 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-03-16 10:03:55 -0500 |
commit | abbbeacd68b4d4973a55a8d7263bd0a27f5c4e8e (patch) | |
tree | d0612ea3340bb61cafbf2dfd52897dcfec4adbc1 /pkg/api/handlers/libpod/swagger.go | |
parent | 9c7481dbd1e6ea7e20ee03c85d4710c42ba81c6e (diff) | |
download | podman-abbbeacd68b4d4973a55a8d7263bd0a27f5c4e8e.tar.gz podman-abbbeacd68b4d4973a55a8d7263bd0a27f5c4e8e.tar.bz2 podman-abbbeacd68b4d4973a55a8d7263bd0a27f5c4e8e.zip |
apiv2 addition of manifests
add endpoints for create, add, remove, inspect, and push. this allows manifests to be managed through the restful interfaces.
also added go-bindings and tests
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/api/handlers/libpod/swagger.go')
-rw-r--r-- | pkg/api/handlers/libpod/swagger.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/api/handlers/libpod/swagger.go b/pkg/api/handlers/libpod/swagger.go index aec30ef56..f6a26134b 100644 --- a/pkg/api/handlers/libpod/swagger.go +++ b/pkg/api/handlers/libpod/swagger.go @@ -1,8 +1,17 @@ package libpod +import "github.com/containers/image/v5/manifest" + // List Containers // swagger:response ListContainers type swagInspectPodResponse struct { // in:body Body []ListContainer } + +// Inspect Manifest +// swagger:response InspectManifest +type swagInspectManifestResponse struct { + // in:body + Body manifest.List +} |