diff options
author | Matthew Heon <matthew.heon@pm.me> | 2020-03-20 15:23:35 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-03-23 16:20:42 -0400 |
commit | 0c40b62c77d8f7dba8e73ac3ced0de536ec220d5 (patch) | |
tree | 3c87c6bb63dbc0970602c44dfa5d1c99f7156681 /pkg/api/handlers/types.go | |
parent | 3e835a8025bfc4a7a2790f1d343c6ea246fc65ee (diff) | |
download | podman-0c40b62c77d8f7dba8e73ac3ced0de536ec220d5.tar.gz podman-0c40b62c77d8f7dba8e73ac3ced0de536ec220d5.tar.bz2 podman-0c40b62c77d8f7dba8e73ac3ced0de536ec220d5.zip |
Implement APIv2 Exec Create and Inspect Endpoints
Start and Resize require further implementation work.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'pkg/api/handlers/types.go')
-rw-r--r-- | pkg/api/handlers/types.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/api/handlers/types.go b/pkg/api/handlers/types.go index c6b70251b..6fa776d0f 100644 --- a/pkg/api/handlers/types.go +++ b/pkg/api/handlers/types.go @@ -177,6 +177,14 @@ type ImageTreeResponse struct { Layers []ImageLayer `json:"layers"` } +type ExecCreateConfig struct { + docker.ExecConfig +} + +type ExecCreateResponse struct { + docker.IDResponse +} + func EventToApiEvent(e *events.Event) *Event { return &Event{dockerEvents.Message{ Type: e.Type.String(), |