Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DeploymentKind = apps.SchemeGroupVersion.WithKind("Deployment") CloneSetKind = kruiseappsv1alpha1.SchemeGroupVersion.WithKind("CloneSet") )
View Source
var Scheme = scheme.Scheme
Functions ¶
Types ¶
type ResourceRef ¶
type ResourceRef struct { // API version of the object. APIVersion string // Kind of the object. Kind string // Namespace of the object. Namespace string // Name of the object. Name string }
func NewCloneSetRef ¶
func NewCloneSetRef(namespace, name string) ResourceRef
func NewDeploymentRef ¶
func NewDeploymentRef(namespace, name string) ResourceRef
func (*ResourceRef) GetGroupVersionKind ¶
func (rf *ResourceRef) GetGroupVersionKind() schema.GroupVersionKind
func (*ResourceRef) GetNamespacedName ¶
func (rf *ResourceRef) GetNamespacedName() types.NamespacedName
Click to show internal directories.
Click to hide internal directories.