aboutsummaryrefslogtreecommitdiffstats
path: root/src/monitor/pkg/apis/apis.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor/pkg/apis/apis.go')
-rw-r--r--src/monitor/pkg/apis/apis.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/monitor/pkg/apis/apis.go b/src/monitor/pkg/apis/apis.go
new file mode 100644
index 00000000..07dc9616
--- /dev/null
+++ b/src/monitor/pkg/apis/apis.go
@@ -0,0 +1,13 @@
+package apis
+
+import (
+ "k8s.io/apimachinery/pkg/runtime"
+)
+
+// AddToSchemes may be used to add all resources defined in the project to a Scheme
+var AddToSchemes runtime.SchemeBuilder
+
+// AddToScheme adds all Resources to the Scheme
+func AddToScheme(s *runtime.Scheme) error {
+ return AddToSchemes.AddToScheme(s)
+}