summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_plugins.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/api/server/register_plugins.go')
-rw-r--r--pkg/api/server/register_plugins.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/api/server/register_plugins.go b/pkg/api/server/register_plugins.go
new file mode 100644
index 000000000..7fd6b9c4c
--- /dev/null
+++ b/pkg/api/server/register_plugins.go
@@ -0,0 +1,11 @@
+package server
+
+import (
+ "github.com/containers/libpod/pkg/api/handlers"
+ "github.com/gorilla/mux"
+)
+
+func (s *APIServer) RegisterPluginsHandlers(r *mux.Router) error {
+ r.Handle(VersionedPath("/plugins"), APIHandler(s.Context, handlers.UnsupportedHandler))
+ return nil
+}