aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/apis/addtoscheme_k8s_v1alpha1.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/apis/addtoscheme_k8s_v1alpha1.go')
-rw-r--r--pkg/apis/addtoscheme_k8s_v1alpha1.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/apis/addtoscheme_k8s_v1alpha1.go b/pkg/apis/addtoscheme_k8s_v1alpha1.go
new file mode 100644
index 0000000..b6d6189
--- /dev/null
+++ b/pkg/apis/addtoscheme_k8s_v1alpha1.go
@@ -0,0 +1,10 @@
+package apis
+
+import (
+ "ovn4nfv-k8s-plugin/pkg/apis/k8s/v1alpha1"
+)
+
+func init() {
+ // Register the types with the Scheme so the components can map objects to GroupVersionKinds and back
+ AddToSchemes = append(AddToSchemes, v1alpha1.SchemeBuilder.AddToScheme)
+}