From 5dfddf04ee6dedaa398a2534ebaa0331d09b9e84 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Fri, 22 May 2020 13:10:03 -0500 Subject: 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 --- pkg/api/handlers/libpod/copy.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pkg/api/handlers/libpod/copy.go (limited to 'pkg/api/handlers/libpod') 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")) +} -- cgit v1.2.3-54-g00ecf