...
1
2
3
4 package v1alpha1
5
6 import (
7 "reflect"
8
9 "k8s.io/apimachinery/pkg/runtime/schema"
10
11 "sigs.k8s.io/controller-runtime/pkg/scheme"
12 )
13
14 const (
15 Name = "gkeclusters"
16 Kind = "GKECluster"
17 )
18
19 var (
20
21 GroupVersion = schema.GroupVersion{Group: "edge.ncr.com", Version: "v1alpha1"}
22
23
24 SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
25
26
27 AddToScheme = SchemeBuilder.AddToScheme
28
29 GKEClusterGVK = schema.GroupVersionKind{
30 Group: GroupVersion.Group,
31 Version: GroupVersion.Version,
32 Kind: reflect.TypeOf(GKECluster{}).Name(),
33 }
34
35 GKEClusterAPIVersion = GroupVersion.String()
36 )
37
View as plain text