mirror of
https://github.com/containers/podman.git
synced 2025-06-05 05:57:24 +08:00

To help with packaging, the handlers in pkg/api/handlers are now found in pkg/api/handler/compat. Signed-off-by: Jhon Honce <jhonce@redhat.com>
28 lines
460 B
Go
28 lines
460 B
Go
package compat
|
|
|
|
import (
|
|
"github.com/containers/libpod/pkg/api/handlers/utils"
|
|
)
|
|
|
|
// Create container
|
|
// swagger:response ContainerCreateResponse
|
|
type swagCtrCreateResponse struct {
|
|
// in:body
|
|
Body struct {
|
|
utils.ContainerCreateResponse
|
|
}
|
|
}
|
|
|
|
// Wait container
|
|
// swagger:response ContainerWaitResponse
|
|
type swagCtrWaitResponse struct {
|
|
// in:body
|
|
Body struct {
|
|
// container exit code
|
|
StatusCode int
|
|
Error struct {
|
|
Message string
|
|
}
|
|
}
|
|
}
|