summaryrefslogtreecommitdiff
path: root/pkg/api/server/server.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-02-02 12:34:51 -0600
committerBrent Baude <bbaude@redhat.com>2020-02-03 12:40:01 -0600
commit81296cba829622a313ba38624548e3214d2164fc (patch)
tree880604b0944b62694ea1a037982cf572b735edd1 /pkg/api/server/server.go
parent23f795786224c27f737e9043e9d513f54fa35ba8 (diff)
downloadpodman-81296cba829622a313ba38624548e3214d2164fc.tar.gz
podman-81296cba829622a313ba38624548e3214d2164fc.tar.bz2
podman-81296cba829622a313ba38624548e3214d2164fc.zip
[CI:DOCS]add apiv2 endpoints for exec
add the openapi/swagger documentation for exec. The subcommands added are create, inspect, resize, and start. at the time of this writing, no structure is declared for the inspect response. once the libpod work for this is complete, we can inherit and swaggerize it. Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/api/server/server.go')
-rw-r--r--pkg/api/server/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/server/server.go b/pkg/api/server/server.go
index d030961cb..7bb0f5481 100644
--- a/pkg/api/server/server.go
+++ b/pkg/api/server/server.go
@@ -105,6 +105,7 @@ func newServer(runtime *libpod.Runtime, duration time.Duration, listener *net.Li
server.RegisterAuthHandlers,
server.RegisterContainersHandlers,
server.RegisterDistributionHandlers,
+ server.registerExecHandlers,
server.registerHealthCheckHandlers,
server.registerImagesHandlers,
server.registerInfoHandlers,