mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00

rid ourseleves of libpod references in v2 client Signed-off-by: Brent Baude <bbaude@redhat.com>
38 lines
645 B
Go
38 lines
645 B
Go
package compat
|
|
|
|
import (
|
|
"github.com/containers/libpod/pkg/domain/entities"
|
|
"github.com/containers/storage/pkg/archive"
|
|
)
|
|
|
|
// Create container
|
|
// swagger:response ContainerCreateResponse
|
|
type swagCtrCreateResponse struct {
|
|
// in:body
|
|
Body struct {
|
|
entities.ContainerCreateResponse
|
|
}
|
|
}
|
|
|
|
// Wait container
|
|
// swagger:response ContainerWaitResponse
|
|
type swagCtrWaitResponse struct {
|
|
// in:body
|
|
Body struct {
|
|
// container exit code
|
|
StatusCode int
|
|
Error struct {
|
|
Message string
|
|
}
|
|
}
|
|
}
|
|
|
|
// Object Changes
|
|
// swagger:response Changes
|
|
type swagChangesResponse struct {
|
|
// in:body
|
|
Body struct {
|
|
Changes []archive.Change
|
|
}
|
|
}
|