summaryrefslogtreecommitdiff
path: root/pkg/api/handlers
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-30 05:06:48 -0400
committerGitHub <noreply@github.com>2020-05-30 05:06:48 -0400
commitc479d63dd689b0960832cbaa343e2aa3f00954e0 (patch)
tree5865fca3a249e7eb871f536e625842e272764632 /pkg/api/handlers
parent0eea051b92da367469848aac93657653e004a603 (diff)
parent5dfddf04ee6dedaa398a2534ebaa0331d09b9e84 (diff)
downloadpodman-c479d63dd689b0960832cbaa343e2aa3f00954e0.tar.gz
podman-c479d63dd689b0960832cbaa343e2aa3f00954e0.tar.bz2
podman-c479d63dd689b0960832cbaa343e2aa3f00954e0.zip
Merge pull request #6356 from baude/v2copyendpoints
v2 copy endpoints
Diffstat (limited to 'pkg/api/handlers')
-rw-r--r--pkg/api/handlers/compat/containers_archive.go12
-rw-r--r--pkg/api/handlers/libpod/copy.go12
2 files changed, 24 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"))
+}
diff --git a/pkg/api/handlers/libpod/copy.go b/pkg/api/handlers/libpod/copy.go
new file mode 100644
index 000000000..a3b404bce
--- /dev/null
+++ b/pkg/api/handlers/libpod/copy.go
@@ -0,0 +1,12 @@
+package libpod
+
+import (
+ "net/http"
+
+ "github.com/containers/libpod/pkg/api/handlers/utils"
+ "github.com/pkg/errors"
+)
+
+func Archive(w http.ResponseWriter, r *http.Request) {
+ utils.Error(w, "not implemented", http.StatusNotImplemented, errors.New("not implemented"))
+}