summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-04-16 08:39:34 -0500
committerBrent Baude <bbaude@redhat.com>2020-04-16 12:04:46 -0500
commitba430bfe5ef65d5aa5ffa1fef0087da76aafcc35 (patch)
tree3554a8bc2a5add5feee1d008d594665f82279fb3 /pkg/api/server
parent8857ba20a0651e8fa71762da90d774e3aa290883 (diff)
downloadpodman-ba430bfe5ef65d5aa5ffa1fef0087da76aafcc35.tar.gz
podman-ba430bfe5ef65d5aa5ffa1fef0087da76aafcc35.tar.bz2
podman-ba430bfe5ef65d5aa5ffa1fef0087da76aafcc35.zip
podman v2 remove bloat v2
rid ourseleves of libpod references in v2 client Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/swagger.go27
1 files changed, 13 insertions, 14 deletions
diff --git a/pkg/api/server/swagger.go b/pkg/api/server/swagger.go
index 2433a6a05..75dcc71a6 100644
--- a/pkg/api/server/swagger.go
+++ b/pkg/api/server/swagger.go
@@ -3,7 +3,6 @@ package server
import (
"github.com/containers/libpod/libpod"
"github.com/containers/libpod/libpod/define"
- "github.com/containers/libpod/pkg/api/handlers/utils"
"github.com/containers/libpod/pkg/domain/entities"
)
@@ -12,7 +11,7 @@ import (
type swagErrNoSuchImage struct {
// in:body
Body struct {
- utils.ErrorModel
+ entities.ErrorModel
}
}
@@ -21,7 +20,7 @@ type swagErrNoSuchImage struct {
type swagErrNoSuchContainer struct {
// in:body
Body struct {
- utils.ErrorModel
+ entities.ErrorModel
}
}
@@ -30,7 +29,7 @@ type swagErrNoSuchContainer struct {
type swagErrNoSuchExecInstance struct {
// in:body
Body struct {
- utils.ErrorModel
+ entities.ErrorModel
}
}
@@ -39,7 +38,7 @@ type swagErrNoSuchExecInstance struct {
type swagErrNoSuchVolume struct {
// in:body
Body struct {
- utils.ErrorModel
+ entities.ErrorModel
}
}
@@ -48,7 +47,7 @@ type swagErrNoSuchVolume struct {
type swagErrNoSuchPod struct {
// in:body
Body struct {
- utils.ErrorModel
+ entities.ErrorModel
}
}
@@ -57,7 +56,7 @@ type swagErrNoSuchPod struct {
type swagErrNoSuchManifest struct {
// in:body
Body struct {
- utils.ErrorModel
+ entities.ErrorModel
}
}
@@ -66,7 +65,7 @@ type swagErrNoSuchManifest struct {
type swagInternalError struct {
// in:body
Body struct {
- utils.ErrorModel
+ entities.ErrorModel
}
}
@@ -75,7 +74,7 @@ type swagInternalError struct {
type swagConflictError struct {
// in:body
Body struct {
- utils.ErrorModel
+ entities.ErrorModel
}
}
@@ -84,7 +83,7 @@ type swagConflictError struct {
type swagBadParamError struct {
// in:body
Body struct {
- utils.ErrorModel
+ entities.ErrorModel
}
}
@@ -93,7 +92,7 @@ type swagBadParamError struct {
type swagContainerAlreadyStartedError struct {
// in:body
Body struct {
- utils.ErrorModel
+ entities.ErrorModel
}
}
@@ -102,7 +101,7 @@ type swagContainerAlreadyStartedError struct {
type swagContainerAlreadyStopped struct {
// in:body
Body struct {
- utils.ErrorModel
+ entities.ErrorModel
}
}
@@ -111,7 +110,7 @@ type swagContainerAlreadyStopped struct {
type swagPodAlreadyStartedError struct {
// in:body
Body struct {
- utils.ErrorModel
+ entities.ErrorModel
}
}
@@ -120,7 +119,7 @@ type swagPodAlreadyStartedError struct {
type swagPodAlreadyStopped struct {
// in:body
Body struct {
- utils.ErrorModel
+ entities.ErrorModel
}
}