Documentation ¶
Index ¶
- Variables
- func GetAdvancedStatefulSetGVR() schema.GroupVersionResource
- func GetGVKFromDefinition(dm discovery.Interface, ref v1alpha1.WorkloadReference) (schema.GroupVersionKind, error)
- func GetStatefulSetGVR() schema.GroupVersionResource
- func GetUniteDeploymentGVR() schema.GroupVersionResource
- type GVRFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NebulaClusterKind = v1alpha1.SchemeGroupVersion.WithKind("NebulaCluster") StatefulSetKind = appsv1.SchemeGroupVersion.WithKind("StatefulSet") AdvancedStatefulSetKind = kruisev1beta1.SchemeGroupVersion.WithKind("StatefulSet") GroupVersionResources = map[string]GVRFunc{ StatefulSetKind.String(): GetStatefulSetGVR, } )
Functions ¶
func GetAdvancedStatefulSetGVR ¶
func GetAdvancedStatefulSetGVR() schema.GroupVersionResource
func GetGVKFromDefinition ¶
func GetGVKFromDefinition(dm discovery.Interface, ref v1alpha1.WorkloadReference) (schema.GroupVersionKind, error)
func GetStatefulSetGVR ¶
func GetStatefulSetGVR() schema.GroupVersionResource
func GetUniteDeploymentGVR ¶
func GetUniteDeploymentGVR() schema.GroupVersionResource
Types ¶
type GVRFunc ¶
type GVRFunc func() schema.GroupVersionResource
Click to show internal directories.
Click to hide internal directories.