summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/swagger.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-02-04 05:11:25 -0800
committerGitHub <noreply@github.com>2020-02-04 05:11:25 -0800
commit28eb296653f78f462c07e3fe6b156bc093ff44c6 (patch)
tree87652e6dab337f25b1b86d9bc94a2e369f860a27 /pkg/api/handlers/swagger.go
parent05e04b4a6436478e78ff93d33e32db92932bba10 (diff)
parent84381df8105f94814e4f532542df9fda4152cbc4 (diff)
downloadpodman-28eb296653f78f462c07e3fe6b156bc093ff44c6.tar.gz
podman-28eb296653f78f462c07e3fe6b156bc093ff44c6.tar.bz2
podman-28eb296653f78f462c07e3fe6b156bc093ff44c6.zip
Merge pull request #5060 from vrothberg/v2-libpod-image-endpoints
[CI:DOCS] swagger: v2: libpod/images/{import,load,pull}
Diffstat (limited to 'pkg/api/handlers/swagger.go')
-rw-r--r--pkg/api/handlers/swagger.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkg/api/handlers/swagger.go b/pkg/api/handlers/swagger.go
index faae98798..bc75777aa 100644
--- a/pkg/api/handlers/swagger.go
+++ b/pkg/api/handlers/swagger.go
@@ -26,6 +26,27 @@ type swagImageInspect struct {
}
}
+// Load response
+// swagger:response DocsLibpodImagesLoadResponse
+type swagLibpodImagesLoadResponse struct {
+ // in:body
+ Body []LibpodImagesLoadReport
+}
+
+// Import response
+// swagger:response DocsLibpodImagesImportResponse
+type swagLibpodImagesImportResponse struct {
+ // in:body
+ Body LibpodImagesImportReport
+}
+
+// Pull response
+// swagger:response DocsLibpodImagesPullResponse
+type swagLibpodImagesPullResponse struct {
+ // in:body
+ Body LibpodImagesPullReport
+}
+
// Delete response
// swagger:response DocsImageDeleteResponse
type swagImageDeleteResponse struct {