Files
Jhon Honce 8ae28a55ac V2 podman diff(changes) support
* Ported CLI command
* Added API endpoint
* Added bindings
* Updated swagger (TODO: n endpoints, one handler)

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-04-07 09:39:46 -07:00

38 lines
645 B
Go

package compat
import (
"github.com/containers/libpod/pkg/api/handlers/utils"
"github.com/containers/storage/pkg/archive"
)
// 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
}
}
}
// Object Changes
// swagger:response Changes
type swagChangesResponse struct {
// in:body
Body struct {
Changes []archive.Change
}
}