This repository was archived by the owner on Jul 5, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ package externalsecret
2
+
3
+ import (
4
+ "github.com/containersolutions/externalsecret-operator/apis/secrets/v1alpha1"
5
+ "k8s.io/apimachinery/pkg/runtime"
6
+ )
7
+
8
+ func init () {
9
+ // Register the types with the Scheme so the components can map objects to GroupVersionKinds and back
10
+ AddToSchemes = append (AddToSchemes , v1alpha1 .SchemeBuilder .AddToScheme )
11
+ }
12
+
13
+ // AddToSchemes may be used to add all resources defined in the project to a Scheme
14
+ var AddToSchemes runtime.SchemeBuilder
15
+
16
+ // AddToScheme adds all Resources to the Scheme
17
+ func AddToScheme (s * runtime.Scheme ) error {
18
+ return AddToSchemes .AddToScheme (s )
19
+ }
Original file line number Diff line number Diff line change
1
+ package secretstore
2
+
3
+ import (
4
+ "github.com/containersolutions/externalsecret-operator/apis/store/v1alpha1"
5
+ "k8s.io/apimachinery/pkg/runtime"
6
+ )
7
+
8
+ func init () {
9
+ // Register the types with the Scheme so the components can map objects to GroupVersionKinds and back
10
+ AddToSchemes = append (AddToSchemes , v1alpha1 .SchemeBuilder .AddToScheme )
11
+ }
12
+
13
+ // AddToSchemes may be used to add all resources defined in the project to a Scheme
14
+ var AddToSchemes runtime.SchemeBuilder
15
+
16
+ // AddToScheme adds all Resources to the Scheme
17
+ func AddToScheme (s * runtime.Scheme ) error {
18
+ return AddToSchemes .AddToScheme (s )
19
+ }
You can’t perform that action at this time.
0 commit comments