summaryrefslogtreecommitdiff
path: root/pkg/api/handlers
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-02-04 01:39:45 -0800
committerGitHub <noreply@github.com>2020-02-04 01:39:45 -0800
commit54926d1b034efc6d8edad30dda6e85b8157145ed (patch)
tree2eb018c496b46c4fa8cf6ca42df39702e20f86f1 /pkg/api/handlers
parentc4f6d5615a34ea67b1335a2a446bd09789d98015 (diff)
parent81296cba829622a313ba38624548e3214d2164fc (diff)
downloadpodman-54926d1b034efc6d8edad30dda6e85b8157145ed.tar.gz
podman-54926d1b034efc6d8edad30dda6e85b8157145ed.tar.bz2
podman-54926d1b034efc6d8edad30dda6e85b8157145ed.zip
Merge pull request #5061 from baude/apiv2swaggerexec
[CI:DOCS]add apiv2 endpoints for exec
Diffstat (limited to 'pkg/api/handlers')
-rw-r--r--pkg/api/handlers/exec.go25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/api/handlers/exec.go b/pkg/api/handlers/exec.go
new file mode 100644
index 000000000..8a7b2ae26
--- /dev/null
+++ b/pkg/api/handlers/exec.go
@@ -0,0 +1,25 @@
+package handlers
+
+import (
+ "net/http"
+
+ "github.com/containers/libpod/libpod/define"
+ "github.com/containers/libpod/pkg/api/handlers/utils"
+)
+
+func CreateExec(w http.ResponseWriter, r *http.Request) {
+ utils.Error(w, "function not implemented", http.StatusInternalServerError, define.ErrNotImplemented)
+}
+
+func StartExec(w http.ResponseWriter, r *http.Request) {
+ utils.Error(w, "function not implemented", http.StatusInternalServerError, define.ErrNotImplemented)
+}
+
+func ResizeExec(w http.ResponseWriter, r *http.Request) {
+ utils.Error(w, "function not implemented", http.StatusInternalServerError, define.ErrNotImplemented)
+
+}
+
+func InspectExec(w http.ResponseWriter, r *http.Request) {
+ utils.Error(w, "function not implemented", http.StatusInternalServerError, define.ErrNotImplemented)
+}