summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-05-22 13:10:03 -0500
committerBrent Baude <bbaude@redhat.com>2020-05-26 12:04:20 -0500
commit5dfddf04ee6dedaa398a2534ebaa0331d09b9e84 (patch)
tree9128498cd5e25db6e6294187393b1b36355aa5d7 /pkg/api/handlers/compat
parent07ef44e2f3e4162fc28c3f3edcd739ab6e51526a (diff)
downloadpodman-5dfddf04ee6dedaa398a2534ebaa0331d09b9e84.tar.gz
podman-5dfddf04ee6dedaa398a2534ebaa0331d09b9e84.tar.bz2
podman-5dfddf04ee6dedaa398a2534ebaa0331d09b9e84.zip
v2 copy endpoints
add copy endpoint inputs and outputs. these endpoints are not implemented yet, nor are any bindings. this allows us to update this later without having to change our api version. Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/api/handlers/compat')
-rw-r--r--pkg/api/handlers/compat/containers_archive.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/api/handlers/compat/containers_archive.go b/pkg/api/handlers/compat/containers_archive.go
new file mode 100644
index 000000000..c3a26873e
--- /dev/null
+++ b/pkg/api/handlers/compat/containers_archive.go
@@ -0,0 +1,12 @@
+package compat
+
+import (
+ "errors"
+ "net/http"
+
+ "github.com/containers/libpod/pkg/api/handlers/utils"
+)
+
+func Archive(w http.ResponseWriter, r *http.Request) {
+ utils.Error(w, "not implemented", http.StatusNotImplemented, errors.New("not implemented"))
+}