diff options
author | Brent Baude <bbaude@redhat.com> | 2020-05-22 13:10:03 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-05-26 12:04:20 -0500 |
commit | 5dfddf04ee6dedaa398a2534ebaa0331d09b9e84 (patch) | |
tree | 9128498cd5e25db6e6294187393b1b36355aa5d7 /pkg/api/handlers/libpod/copy.go | |
parent | 07ef44e2f3e4162fc28c3f3edcd739ab6e51526a (diff) | |
download | podman-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/libpod/copy.go')
-rw-r--r-- | pkg/api/handlers/libpod/copy.go | 12 |
1 files changed, 12 insertions, 0 deletions
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")) +} |