-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgroupversion_info.go
24 lines (23 loc) · 1.21 KB
/
groupversion_info.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package hncclient
//import (
// "k8s.io/apimachinery/pkg/runtime/schema"
// "sigs.k8s.io/controller-runtime/pkg/scheme"
//)
//
//var (
// // GroupVersion is group version used to register these objects
// GroupVersion = schema.GroupVersion{Group: "hnc.x-k8s.io", Version: "v1alpha2"}
//
// // SchemeBuilder is used to add go types to the GroupVersionKind scheme
// SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
//
// // AddToScheme adds the types in this group-version to the given scheme.
// AddToScheme = SchemeBuilder.AddToScheme
//
// HNCConfigurationGR = schema.GroupVersionResource{Group: GroupVersion.Group, Resource: "hncconfigurations"}
// HierarchyConfigurationGR = schema.GroupVersionResource{Group: GroupVersion.Group, Resource: "hierarchyconfigurations"}
// SubnamespaceAnchorGR = schema.GroupVersionResource{Group: GroupVersion.Group, Resource: "subnamespaceanchors"}
// HNCConfigurationGK = schema.GroupVersionKind{Group: GroupVersion.Group, Kind: "HNCConfiguration"}
// HierarchyConfigurationGK = schema.GroupVersionKind{Group: GroupVersion.Group, Kind: "HierarchyConfiguration"}
// SubnamespaceAnchorGK = schema.GroupVersionKind{Group: GroupVersion.Group, Kind: "SubnamespaceAnchor"}
//)