Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the machine-deletion-remediation v1alpha1 API group +kubebuilder:object:generate=true +groupName=machine-deletion-remediation.medik8s.io
Index ¶
- Constants
- Variables
- type MachineDeletionRemediation
- type MachineDeletionRemediationList
- type MachineDeletionRemediationSpec
- type MachineDeletionRemediationStatus
- type MachineDeletionRemediationTemplate
- type MachineDeletionRemediationTemplateList
- type MachineDeletionRemediationTemplateResource
- type MachineDeletionRemediationTemplateSpec
- type MachineDeletionRemediationTemplateStatus
Constants ¶
const ( MachineDeletionOnCloudProviderReason = "MachineDeletionOnCloudProviderCausesNewNodeName" MachineDeletionOnBareMetalProviderReason = "MachineDeletionOnBareMetalProviderKeepsNodeName" MachineDeletionOnUndefinedProviderReason = "MachineDeletionUndefinedNodeNameExpectation" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "machine-deletion-remediation.medik8s.io", Version: "v1alpha1"} // 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 )
Functions ¶
This section is empty.
Types ¶
type MachineDeletionRemediation ¶
type MachineDeletionRemediation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MachineDeletionRemediationSpec `json:"spec,omitempty"` Status MachineDeletionRemediationStatus `json:"status,omitempty"` }
MachineDeletionRemediation is the Schema for the machinedeletionremediations API +operator-sdk:csv:customresourcedefinitions:resources={{"MachineDeletionRemediation","v1alpha1","machinedeletionremediations"}}
func (*MachineDeletionRemediation) DeepCopy ¶
func (in *MachineDeletionRemediation) DeepCopy() *MachineDeletionRemediation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeletionRemediation.
func (*MachineDeletionRemediation) DeepCopyInto ¶
func (in *MachineDeletionRemediation) DeepCopyInto(out *MachineDeletionRemediation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineDeletionRemediation) DeepCopyObject ¶
func (in *MachineDeletionRemediation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineDeletionRemediationList ¶
type MachineDeletionRemediationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MachineDeletionRemediation `json:"items"` }
MachineDeletionRemediationList contains a list of MachineDeletionRemediation
func (*MachineDeletionRemediationList) DeepCopy ¶
func (in *MachineDeletionRemediationList) DeepCopy() *MachineDeletionRemediationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeletionRemediationList.
func (*MachineDeletionRemediationList) DeepCopyInto ¶
func (in *MachineDeletionRemediationList) DeepCopyInto(out *MachineDeletionRemediationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineDeletionRemediationList) DeepCopyObject ¶
func (in *MachineDeletionRemediationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineDeletionRemediationSpec ¶
type MachineDeletionRemediationSpec struct { }
MachineDeletionRemediationSpec defines the desired state of MachineDeletionRemediation
func (*MachineDeletionRemediationSpec) DeepCopy ¶
func (in *MachineDeletionRemediationSpec) DeepCopy() *MachineDeletionRemediationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeletionRemediationSpec.
func (*MachineDeletionRemediationSpec) DeepCopyInto ¶
func (in *MachineDeletionRemediationSpec) DeepCopyInto(out *MachineDeletionRemediationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineDeletionRemediationStatus ¶
type MachineDeletionRemediationStatus struct { // +operator-sdk:csv:customresourcedefinitions:type=status,displayName="conditions",xDescriptors="urn:alm:descriptor:io.kubernetes.conditions" // Represents the observations of a MachineDeletionRemediation's current state. // Known .status.conditions.type are: "Processing", "Succeeded" and "PermanentNodeDeletionExpected" // +listType=map // +listMapKey=type // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` }
MachineDeletionRemediationStatus defines the observed state of MachineDeletionRemediation
func (*MachineDeletionRemediationStatus) DeepCopy ¶
func (in *MachineDeletionRemediationStatus) DeepCopy() *MachineDeletionRemediationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeletionRemediationStatus.
func (*MachineDeletionRemediationStatus) DeepCopyInto ¶
func (in *MachineDeletionRemediationStatus) DeepCopyInto(out *MachineDeletionRemediationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineDeletionRemediationTemplate ¶
type MachineDeletionRemediationTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MachineDeletionRemediationTemplateSpec `json:"spec,omitempty"` Status MachineDeletionRemediationTemplateStatus `json:"status,omitempty"` }
MachineDeletionRemediationTemplate is the Schema for the machinedeletionremediationtemplates API +operator-sdk:csv:customresourcedefinitions:resources={{"MachineDeletionRemediationTemplate","v1alpha1","machinedeletionremediationtemplates"}}
func (*MachineDeletionRemediationTemplate) DeepCopy ¶
func (in *MachineDeletionRemediationTemplate) DeepCopy() *MachineDeletionRemediationTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeletionRemediationTemplate.
func (*MachineDeletionRemediationTemplate) DeepCopyInto ¶
func (in *MachineDeletionRemediationTemplate) DeepCopyInto(out *MachineDeletionRemediationTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineDeletionRemediationTemplate) DeepCopyObject ¶
func (in *MachineDeletionRemediationTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineDeletionRemediationTemplateList ¶
type MachineDeletionRemediationTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MachineDeletionRemediationTemplate `json:"items"` }
MachineDeletionRemediationTemplateList contains a list of MachineDeletionRemediationTemplate
func (*MachineDeletionRemediationTemplateList) DeepCopy ¶
func (in *MachineDeletionRemediationTemplateList) DeepCopy() *MachineDeletionRemediationTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeletionRemediationTemplateList.
func (*MachineDeletionRemediationTemplateList) DeepCopyInto ¶
func (in *MachineDeletionRemediationTemplateList) DeepCopyInto(out *MachineDeletionRemediationTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineDeletionRemediationTemplateList) DeepCopyObject ¶
func (in *MachineDeletionRemediationTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineDeletionRemediationTemplateResource ¶
type MachineDeletionRemediationTemplateResource struct {
Spec MachineDeletionRemediationSpec `json:"spec"`
}
MachineDeletionRemediationTemplateResource is part of the desired state of MachineDeletionRemediationTemplate
func (*MachineDeletionRemediationTemplateResource) DeepCopy ¶
func (in *MachineDeletionRemediationTemplateResource) DeepCopy() *MachineDeletionRemediationTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeletionRemediationTemplateResource.
func (*MachineDeletionRemediationTemplateResource) DeepCopyInto ¶
func (in *MachineDeletionRemediationTemplateResource) DeepCopyInto(out *MachineDeletionRemediationTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineDeletionRemediationTemplateSpec ¶
type MachineDeletionRemediationTemplateSpec struct { //+operator-sdk:csv:customresourcedefinitions:type=spec Template MachineDeletionRemediationTemplateResource `json:"template"` }
MachineDeletionRemediationTemplateSpec defines the desired state of MachineDeletionRemediationTemplate
func (*MachineDeletionRemediationTemplateSpec) DeepCopy ¶
func (in *MachineDeletionRemediationTemplateSpec) DeepCopy() *MachineDeletionRemediationTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeletionRemediationTemplateSpec.
func (*MachineDeletionRemediationTemplateSpec) DeepCopyInto ¶
func (in *MachineDeletionRemediationTemplateSpec) DeepCopyInto(out *MachineDeletionRemediationTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineDeletionRemediationTemplateStatus ¶
type MachineDeletionRemediationTemplateStatus struct { }
MachineDeletionRemediationTemplateStatus defines the observed state of MachineDeletionRemediationTemplate
func (*MachineDeletionRemediationTemplateStatus) DeepCopy ¶
func (in *MachineDeletionRemediationTemplateStatus) DeepCopy() *MachineDeletionRemediationTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeletionRemediationTemplateStatus.
func (*MachineDeletionRemediationTemplateStatus) DeepCopyInto ¶
func (in *MachineDeletionRemediationTemplateStatus) DeepCopyInto(out *MachineDeletionRemediationTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.