Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/gardener/machine-controller-manager/pkg/apis/machine +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta +groupName=machine.sapcloud.io +kubebuilder:object:generate=true Package v1alpha1 is a version of the API.
Index ¶
- Constants
- Variables
- func Convert_machine_ClassSpec_To_v1alpha1_ClassSpec(in *machine.ClassSpec, out *ClassSpec, s conversion.Scope) error
- func Convert_machine_CurrentStatus_To_v1alpha1_CurrentStatus(in *machine.CurrentStatus, out *CurrentStatus, s conversion.Scope) error
- func Convert_machine_LastOperation_To_v1alpha1_LastOperation(in *machine.LastOperation, out *LastOperation, s conversion.Scope) error
- func Convert_machine_MachineClassList_To_v1alpha1_MachineClassList(in *machine.MachineClassList, out *MachineClassList, s conversion.Scope) error
- func Convert_machine_MachineClass_To_v1alpha1_MachineClass(in *machine.MachineClass, out *MachineClass, s conversion.Scope) error
- func Convert_machine_MachineConfiguration_To_v1alpha1_MachineConfiguration(in *machine.MachineConfiguration, out *MachineConfiguration, ...) error
- func Convert_machine_MachineDeploymentCondition_To_v1alpha1_MachineDeploymentCondition(in *machine.MachineDeploymentCondition, out *MachineDeploymentCondition, ...) error
- func Convert_machine_MachineDeploymentList_To_v1alpha1_MachineDeploymentList(in *machine.MachineDeploymentList, out *MachineDeploymentList, ...) error
- func Convert_machine_MachineDeploymentSpec_To_v1alpha1_MachineDeploymentSpec(in *machine.MachineDeploymentSpec, out *MachineDeploymentSpec, ...) error
- func Convert_machine_MachineDeploymentStatus_To_v1alpha1_MachineDeploymentStatus(in *machine.MachineDeploymentStatus, out *MachineDeploymentStatus, ...) error
- func Convert_machine_MachineDeploymentStrategy_To_v1alpha1_MachineDeploymentStrategy(in *machine.MachineDeploymentStrategy, out *MachineDeploymentStrategy, ...) error
- func Convert_machine_MachineDeployment_To_v1alpha1_MachineDeployment(in *machine.MachineDeployment, out *MachineDeployment, s conversion.Scope) error
- func Convert_machine_MachineList_To_v1alpha1_MachineList(in *machine.MachineList, out *MachineList, s conversion.Scope) error
- func Convert_machine_MachineSetCondition_To_v1alpha1_MachineSetCondition(in *machine.MachineSetCondition, out *MachineSetCondition, s conversion.Scope) error
- func Convert_machine_MachineSetList_To_v1alpha1_MachineSetList(in *machine.MachineSetList, out *MachineSetList, s conversion.Scope) error
- func Convert_machine_MachineSetSpec_To_v1alpha1_MachineSetSpec(in *machine.MachineSetSpec, out *MachineSetSpec, s conversion.Scope) error
- func Convert_machine_MachineSetStatus_To_v1alpha1_MachineSetStatus(in *machine.MachineSetStatus, out *MachineSetStatus, s conversion.Scope) error
- func Convert_machine_MachineSet_To_v1alpha1_MachineSet(in *machine.MachineSet, out *MachineSet, s conversion.Scope) error
- func Convert_machine_MachineSpec_To_v1alpha1_MachineSpec(in *machine.MachineSpec, out *MachineSpec, s conversion.Scope) error
- func Convert_machine_MachineStatus_To_v1alpha1_MachineStatus(in *machine.MachineStatus, out *MachineStatus, s conversion.Scope) error
- func Convert_machine_MachineSummary_To_v1alpha1_MachineSummary(in *machine.MachineSummary, out *MachineSummary, s conversion.Scope) error
- func Convert_machine_MachineTemplateSpec_To_v1alpha1_MachineTemplateSpec(in *machine.MachineTemplateSpec, out *MachineTemplateSpec, s conversion.Scope) error
- func Convert_machine_Machine_To_v1alpha1_Machine(in *machine.Machine, out *Machine, s conversion.Scope) error
- func Convert_machine_NodeTemplateSpec_To_v1alpha1_NodeTemplateSpec(in *machine.NodeTemplateSpec, out *NodeTemplateSpec, s conversion.Scope) error
- func Convert_machine_NodeTemplate_To_v1alpha1_NodeTemplate(in *machine.NodeTemplate, out *NodeTemplate, s conversion.Scope) error
- func Convert_machine_RollbackConfig_To_v1alpha1_RollbackConfig(in *machine.RollbackConfig, out *RollbackConfig, s conversion.Scope) error
- func Convert_machine_RollingUpdateMachineDeployment_To_v1alpha1_RollingUpdateMachineDeployment(in *machine.RollingUpdateMachineDeployment, ...) error
- func Convert_v1alpha1_ClassSpec_To_machine_ClassSpec(in *ClassSpec, out *machine.ClassSpec, s conversion.Scope) error
- func Convert_v1alpha1_CurrentStatus_To_machine_CurrentStatus(in *CurrentStatus, out *machine.CurrentStatus, s conversion.Scope) error
- func Convert_v1alpha1_LastOperation_To_machine_LastOperation(in *LastOperation, out *machine.LastOperation, s conversion.Scope) error
- func Convert_v1alpha1_MachineClassList_To_machine_MachineClassList(in *MachineClassList, out *machine.MachineClassList, s conversion.Scope) error
- func Convert_v1alpha1_MachineClass_To_machine_MachineClass(in *MachineClass, out *machine.MachineClass, s conversion.Scope) error
- func Convert_v1alpha1_MachineConfiguration_To_machine_MachineConfiguration(in *MachineConfiguration, out *machine.MachineConfiguration, ...) error
- func Convert_v1alpha1_MachineDeploymentCondition_To_machine_MachineDeploymentCondition(in *MachineDeploymentCondition, out *machine.MachineDeploymentCondition, ...) error
- func Convert_v1alpha1_MachineDeploymentList_To_machine_MachineDeploymentList(in *MachineDeploymentList, out *machine.MachineDeploymentList, ...) error
- func Convert_v1alpha1_MachineDeploymentSpec_To_machine_MachineDeploymentSpec(in *MachineDeploymentSpec, out *machine.MachineDeploymentSpec, ...) error
- func Convert_v1alpha1_MachineDeploymentStatus_To_machine_MachineDeploymentStatus(in *MachineDeploymentStatus, out *machine.MachineDeploymentStatus, ...) error
- func Convert_v1alpha1_MachineDeploymentStrategy_To_machine_MachineDeploymentStrategy(in *MachineDeploymentStrategy, out *machine.MachineDeploymentStrategy, ...) error
- func Convert_v1alpha1_MachineDeployment_To_machine_MachineDeployment(in *MachineDeployment, out *machine.MachineDeployment, s conversion.Scope) error
- func Convert_v1alpha1_MachineList_To_machine_MachineList(in *MachineList, out *machine.MachineList, s conversion.Scope) error
- func Convert_v1alpha1_MachineSetCondition_To_machine_MachineSetCondition(in *MachineSetCondition, out *machine.MachineSetCondition, s conversion.Scope) error
- func Convert_v1alpha1_MachineSetList_To_machine_MachineSetList(in *MachineSetList, out *machine.MachineSetList, s conversion.Scope) error
- func Convert_v1alpha1_MachineSetSpec_To_machine_MachineSetSpec(in *MachineSetSpec, out *machine.MachineSetSpec, s conversion.Scope) error
- func Convert_v1alpha1_MachineSetStatus_To_machine_MachineSetStatus(in *MachineSetStatus, out *machine.MachineSetStatus, s conversion.Scope) error
- func Convert_v1alpha1_MachineSet_To_machine_MachineSet(in *MachineSet, out *machine.MachineSet, s conversion.Scope) error
- func Convert_v1alpha1_MachineSpec_To_machine_MachineSpec(in *MachineSpec, out *machine.MachineSpec, s conversion.Scope) error
- func Convert_v1alpha1_MachineStatus_To_machine_MachineStatus(in *MachineStatus, out *machine.MachineStatus, s conversion.Scope) error
- func Convert_v1alpha1_MachineSummary_To_machine_MachineSummary(in *MachineSummary, out *machine.MachineSummary, s conversion.Scope) error
- func Convert_v1alpha1_MachineTemplateSpec_To_machine_MachineTemplateSpec(in *MachineTemplateSpec, out *machine.MachineTemplateSpec, s conversion.Scope) error
- func Convert_v1alpha1_Machine_To_machine_Machine(in *Machine, out *machine.Machine, s conversion.Scope) error
- func Convert_v1alpha1_NodeTemplateSpec_To_machine_NodeTemplateSpec(in *NodeTemplateSpec, out *machine.NodeTemplateSpec, s conversion.Scope) error
- func Convert_v1alpha1_NodeTemplate_To_machine_NodeTemplate(in *NodeTemplate, out *machine.NodeTemplate, s conversion.Scope) error
- func Convert_v1alpha1_RollbackConfig_To_machine_RollbackConfig(in *RollbackConfig, out *machine.RollbackConfig, s conversion.Scope) error
- func Convert_v1alpha1_RollingUpdateMachineDeployment_To_machine_RollingUpdateMachineDeployment(in *RollingUpdateMachineDeployment, ...) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type ClassSpec
- type ConditionStatus
- type CurrentStatus
- type LastOperation
- type Machine
- type MachineClass
- type MachineClassList
- type MachineConfiguration
- type MachineDeployment
- type MachineDeploymentCondition
- type MachineDeploymentConditionType
- type MachineDeploymentList
- type MachineDeploymentSpec
- type MachineDeploymentStatus
- type MachineDeploymentStrategy
- type MachineDeploymentStrategyType
- type MachineList
- type MachineOperationType
- type MachinePhase
- type MachineSet
- type MachineSetCondition
- type MachineSetConditionType
- type MachineSetList
- type MachineSetSpec
- type MachineSetStatus
- type MachineSpec
- type MachineState
- type MachineStatus
- type MachineSummary
- type MachineTemplateSpec
- type NodeTemplate
- type NodeTemplateSpec
- type RollbackConfig
- type RollingUpdateMachineDeployment
Constants ¶
const ( // DefaultMachineDeploymentUniqueLabelKey is the default key of the selector that is added // to existing MCs (and label key that is added to its machines) to prevent the existing MCs // to select new machines (and old machines being select by new MC). DefaultMachineDeploymentUniqueLabelKey string = "machine-template-hash" )
const GroupName = "machine.sapcloud.io"
GroupName is the group name use in this package
const (
NodeLabelKey string = "node"
)
NodeLabelKey is the key for node label on machine object
Variables ¶
var ( // SchemeBuilder used to register the Machine resource. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a pointer to SchemeBuilder.AddToScheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_machine_ClassSpec_To_v1alpha1_ClassSpec ¶
func Convert_machine_ClassSpec_To_v1alpha1_ClassSpec(in *machine.ClassSpec, out *ClassSpec, s conversion.Scope) error
Convert_machine_ClassSpec_To_v1alpha1_ClassSpec is an autogenerated conversion function.
func Convert_machine_CurrentStatus_To_v1alpha1_CurrentStatus ¶
func Convert_machine_CurrentStatus_To_v1alpha1_CurrentStatus(in *machine.CurrentStatus, out *CurrentStatus, s conversion.Scope) error
Convert_machine_CurrentStatus_To_v1alpha1_CurrentStatus is an autogenerated conversion function.
func Convert_machine_LastOperation_To_v1alpha1_LastOperation ¶
func Convert_machine_LastOperation_To_v1alpha1_LastOperation(in *machine.LastOperation, out *LastOperation, s conversion.Scope) error
Convert_machine_LastOperation_To_v1alpha1_LastOperation is an autogenerated conversion function.
func Convert_machine_MachineClassList_To_v1alpha1_MachineClassList ¶ added in v0.30.0
func Convert_machine_MachineClassList_To_v1alpha1_MachineClassList(in *machine.MachineClassList, out *MachineClassList, s conversion.Scope) error
Convert_machine_MachineClassList_To_v1alpha1_MachineClassList is an autogenerated conversion function.
func Convert_machine_MachineClass_To_v1alpha1_MachineClass ¶ added in v0.30.0
func Convert_machine_MachineClass_To_v1alpha1_MachineClass(in *machine.MachineClass, out *MachineClass, s conversion.Scope) error
Convert_machine_MachineClass_To_v1alpha1_MachineClass is an autogenerated conversion function.
func Convert_machine_MachineConfiguration_To_v1alpha1_MachineConfiguration ¶ added in v0.33.0
func Convert_machine_MachineConfiguration_To_v1alpha1_MachineConfiguration(in *machine.MachineConfiguration, out *MachineConfiguration, s conversion.Scope) error
Convert_machine_MachineConfiguration_To_v1alpha1_MachineConfiguration is an autogenerated conversion function.
func Convert_machine_MachineDeploymentCondition_To_v1alpha1_MachineDeploymentCondition ¶
func Convert_machine_MachineDeploymentCondition_To_v1alpha1_MachineDeploymentCondition(in *machine.MachineDeploymentCondition, out *MachineDeploymentCondition, s conversion.Scope) error
Convert_machine_MachineDeploymentCondition_To_v1alpha1_MachineDeploymentCondition is an autogenerated conversion function.
func Convert_machine_MachineDeploymentList_To_v1alpha1_MachineDeploymentList ¶
func Convert_machine_MachineDeploymentList_To_v1alpha1_MachineDeploymentList(in *machine.MachineDeploymentList, out *MachineDeploymentList, s conversion.Scope) error
Convert_machine_MachineDeploymentList_To_v1alpha1_MachineDeploymentList is an autogenerated conversion function.
func Convert_machine_MachineDeploymentSpec_To_v1alpha1_MachineDeploymentSpec ¶
func Convert_machine_MachineDeploymentSpec_To_v1alpha1_MachineDeploymentSpec(in *machine.MachineDeploymentSpec, out *MachineDeploymentSpec, s conversion.Scope) error
Convert_machine_MachineDeploymentSpec_To_v1alpha1_MachineDeploymentSpec is an autogenerated conversion function.
func Convert_machine_MachineDeploymentStatus_To_v1alpha1_MachineDeploymentStatus ¶
func Convert_machine_MachineDeploymentStatus_To_v1alpha1_MachineDeploymentStatus(in *machine.MachineDeploymentStatus, out *MachineDeploymentStatus, s conversion.Scope) error
Convert_machine_MachineDeploymentStatus_To_v1alpha1_MachineDeploymentStatus is an autogenerated conversion function.
func Convert_machine_MachineDeploymentStrategy_To_v1alpha1_MachineDeploymentStrategy ¶
func Convert_machine_MachineDeploymentStrategy_To_v1alpha1_MachineDeploymentStrategy(in *machine.MachineDeploymentStrategy, out *MachineDeploymentStrategy, s conversion.Scope) error
Convert_machine_MachineDeploymentStrategy_To_v1alpha1_MachineDeploymentStrategy is an autogenerated conversion function.
func Convert_machine_MachineDeployment_To_v1alpha1_MachineDeployment ¶
func Convert_machine_MachineDeployment_To_v1alpha1_MachineDeployment(in *machine.MachineDeployment, out *MachineDeployment, s conversion.Scope) error
Convert_machine_MachineDeployment_To_v1alpha1_MachineDeployment is an autogenerated conversion function.
func Convert_machine_MachineList_To_v1alpha1_MachineList ¶
func Convert_machine_MachineList_To_v1alpha1_MachineList(in *machine.MachineList, out *MachineList, s conversion.Scope) error
Convert_machine_MachineList_To_v1alpha1_MachineList is an autogenerated conversion function.
func Convert_machine_MachineSetCondition_To_v1alpha1_MachineSetCondition ¶
func Convert_machine_MachineSetCondition_To_v1alpha1_MachineSetCondition(in *machine.MachineSetCondition, out *MachineSetCondition, s conversion.Scope) error
Convert_machine_MachineSetCondition_To_v1alpha1_MachineSetCondition is an autogenerated conversion function.
func Convert_machine_MachineSetList_To_v1alpha1_MachineSetList ¶
func Convert_machine_MachineSetList_To_v1alpha1_MachineSetList(in *machine.MachineSetList, out *MachineSetList, s conversion.Scope) error
Convert_machine_MachineSetList_To_v1alpha1_MachineSetList is an autogenerated conversion function.
func Convert_machine_MachineSetSpec_To_v1alpha1_MachineSetSpec ¶
func Convert_machine_MachineSetSpec_To_v1alpha1_MachineSetSpec(in *machine.MachineSetSpec, out *MachineSetSpec, s conversion.Scope) error
Convert_machine_MachineSetSpec_To_v1alpha1_MachineSetSpec is an autogenerated conversion function.
func Convert_machine_MachineSetStatus_To_v1alpha1_MachineSetStatus ¶
func Convert_machine_MachineSetStatus_To_v1alpha1_MachineSetStatus(in *machine.MachineSetStatus, out *MachineSetStatus, s conversion.Scope) error
Convert_machine_MachineSetStatus_To_v1alpha1_MachineSetStatus is an autogenerated conversion function.
func Convert_machine_MachineSet_To_v1alpha1_MachineSet ¶
func Convert_machine_MachineSet_To_v1alpha1_MachineSet(in *machine.MachineSet, out *MachineSet, s conversion.Scope) error
Convert_machine_MachineSet_To_v1alpha1_MachineSet is an autogenerated conversion function.
func Convert_machine_MachineSpec_To_v1alpha1_MachineSpec ¶
func Convert_machine_MachineSpec_To_v1alpha1_MachineSpec(in *machine.MachineSpec, out *MachineSpec, s conversion.Scope) error
Convert_machine_MachineSpec_To_v1alpha1_MachineSpec is an autogenerated conversion function.
func Convert_machine_MachineStatus_To_v1alpha1_MachineStatus ¶
func Convert_machine_MachineStatus_To_v1alpha1_MachineStatus(in *machine.MachineStatus, out *MachineStatus, s conversion.Scope) error
Convert_machine_MachineStatus_To_v1alpha1_MachineStatus is an autogenerated conversion function.
func Convert_machine_MachineSummary_To_v1alpha1_MachineSummary ¶
func Convert_machine_MachineSummary_To_v1alpha1_MachineSummary(in *machine.MachineSummary, out *MachineSummary, s conversion.Scope) error
Convert_machine_MachineSummary_To_v1alpha1_MachineSummary is an autogenerated conversion function.
func Convert_machine_MachineTemplateSpec_To_v1alpha1_MachineTemplateSpec ¶
func Convert_machine_MachineTemplateSpec_To_v1alpha1_MachineTemplateSpec(in *machine.MachineTemplateSpec, out *MachineTemplateSpec, s conversion.Scope) error
Convert_machine_MachineTemplateSpec_To_v1alpha1_MachineTemplateSpec is an autogenerated conversion function.
func Convert_machine_Machine_To_v1alpha1_Machine ¶
func Convert_machine_Machine_To_v1alpha1_Machine(in *machine.Machine, out *Machine, s conversion.Scope) error
Convert_machine_Machine_To_v1alpha1_Machine is an autogenerated conversion function.
func Convert_machine_NodeTemplateSpec_To_v1alpha1_NodeTemplateSpec ¶
func Convert_machine_NodeTemplateSpec_To_v1alpha1_NodeTemplateSpec(in *machine.NodeTemplateSpec, out *NodeTemplateSpec, s conversion.Scope) error
Convert_machine_NodeTemplateSpec_To_v1alpha1_NodeTemplateSpec is an autogenerated conversion function.
func Convert_machine_NodeTemplate_To_v1alpha1_NodeTemplate ¶ added in v0.42.0
func Convert_machine_NodeTemplate_To_v1alpha1_NodeTemplate(in *machine.NodeTemplate, out *NodeTemplate, s conversion.Scope) error
Convert_machine_NodeTemplate_To_v1alpha1_NodeTemplate is an autogenerated conversion function.
func Convert_machine_RollbackConfig_To_v1alpha1_RollbackConfig ¶
func Convert_machine_RollbackConfig_To_v1alpha1_RollbackConfig(in *machine.RollbackConfig, out *RollbackConfig, s conversion.Scope) error
Convert_machine_RollbackConfig_To_v1alpha1_RollbackConfig is an autogenerated conversion function.
func Convert_machine_RollingUpdateMachineDeployment_To_v1alpha1_RollingUpdateMachineDeployment ¶
func Convert_machine_RollingUpdateMachineDeployment_To_v1alpha1_RollingUpdateMachineDeployment(in *machine.RollingUpdateMachineDeployment, out *RollingUpdateMachineDeployment, s conversion.Scope) error
Convert_machine_RollingUpdateMachineDeployment_To_v1alpha1_RollingUpdateMachineDeployment is an autogenerated conversion function.
func Convert_v1alpha1_ClassSpec_To_machine_ClassSpec ¶
func Convert_v1alpha1_ClassSpec_To_machine_ClassSpec(in *ClassSpec, out *machine.ClassSpec, s conversion.Scope) error
Convert_v1alpha1_ClassSpec_To_machine_ClassSpec is an autogenerated conversion function.
func Convert_v1alpha1_CurrentStatus_To_machine_CurrentStatus ¶
func Convert_v1alpha1_CurrentStatus_To_machine_CurrentStatus(in *CurrentStatus, out *machine.CurrentStatus, s conversion.Scope) error
Convert_v1alpha1_CurrentStatus_To_machine_CurrentStatus is an autogenerated conversion function.
func Convert_v1alpha1_LastOperation_To_machine_LastOperation ¶
func Convert_v1alpha1_LastOperation_To_machine_LastOperation(in *LastOperation, out *machine.LastOperation, s conversion.Scope) error
Convert_v1alpha1_LastOperation_To_machine_LastOperation is an autogenerated conversion function.
func Convert_v1alpha1_MachineClassList_To_machine_MachineClassList ¶ added in v0.30.0
func Convert_v1alpha1_MachineClassList_To_machine_MachineClassList(in *MachineClassList, out *machine.MachineClassList, s conversion.Scope) error
Convert_v1alpha1_MachineClassList_To_machine_MachineClassList is an autogenerated conversion function.
func Convert_v1alpha1_MachineClass_To_machine_MachineClass ¶ added in v0.30.0
func Convert_v1alpha1_MachineClass_To_machine_MachineClass(in *MachineClass, out *machine.MachineClass, s conversion.Scope) error
Convert_v1alpha1_MachineClass_To_machine_MachineClass is an autogenerated conversion function.
func Convert_v1alpha1_MachineConfiguration_To_machine_MachineConfiguration ¶ added in v0.33.0
func Convert_v1alpha1_MachineConfiguration_To_machine_MachineConfiguration(in *MachineConfiguration, out *machine.MachineConfiguration, s conversion.Scope) error
Convert_v1alpha1_MachineConfiguration_To_machine_MachineConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_MachineDeploymentCondition_To_machine_MachineDeploymentCondition ¶
func Convert_v1alpha1_MachineDeploymentCondition_To_machine_MachineDeploymentCondition(in *MachineDeploymentCondition, out *machine.MachineDeploymentCondition, s conversion.Scope) error
Convert_v1alpha1_MachineDeploymentCondition_To_machine_MachineDeploymentCondition is an autogenerated conversion function.
func Convert_v1alpha1_MachineDeploymentList_To_machine_MachineDeploymentList ¶
func Convert_v1alpha1_MachineDeploymentList_To_machine_MachineDeploymentList(in *MachineDeploymentList, out *machine.MachineDeploymentList, s conversion.Scope) error
Convert_v1alpha1_MachineDeploymentList_To_machine_MachineDeploymentList is an autogenerated conversion function.
func Convert_v1alpha1_MachineDeploymentSpec_To_machine_MachineDeploymentSpec ¶
func Convert_v1alpha1_MachineDeploymentSpec_To_machine_MachineDeploymentSpec(in *MachineDeploymentSpec, out *machine.MachineDeploymentSpec, s conversion.Scope) error
Convert_v1alpha1_MachineDeploymentSpec_To_machine_MachineDeploymentSpec is an autogenerated conversion function.
func Convert_v1alpha1_MachineDeploymentStatus_To_machine_MachineDeploymentStatus ¶
func Convert_v1alpha1_MachineDeploymentStatus_To_machine_MachineDeploymentStatus(in *MachineDeploymentStatus, out *machine.MachineDeploymentStatus, s conversion.Scope) error
Convert_v1alpha1_MachineDeploymentStatus_To_machine_MachineDeploymentStatus is an autogenerated conversion function.
func Convert_v1alpha1_MachineDeploymentStrategy_To_machine_MachineDeploymentStrategy ¶
func Convert_v1alpha1_MachineDeploymentStrategy_To_machine_MachineDeploymentStrategy(in *MachineDeploymentStrategy, out *machine.MachineDeploymentStrategy, s conversion.Scope) error
Convert_v1alpha1_MachineDeploymentStrategy_To_machine_MachineDeploymentStrategy is an autogenerated conversion function.
func Convert_v1alpha1_MachineDeployment_To_machine_MachineDeployment ¶
func Convert_v1alpha1_MachineDeployment_To_machine_MachineDeployment(in *MachineDeployment, out *machine.MachineDeployment, s conversion.Scope) error
Convert_v1alpha1_MachineDeployment_To_machine_MachineDeployment is an autogenerated conversion function.
func Convert_v1alpha1_MachineList_To_machine_MachineList ¶
func Convert_v1alpha1_MachineList_To_machine_MachineList(in *MachineList, out *machine.MachineList, s conversion.Scope) error
Convert_v1alpha1_MachineList_To_machine_MachineList is an autogenerated conversion function.
func Convert_v1alpha1_MachineSetCondition_To_machine_MachineSetCondition ¶
func Convert_v1alpha1_MachineSetCondition_To_machine_MachineSetCondition(in *MachineSetCondition, out *machine.MachineSetCondition, s conversion.Scope) error
Convert_v1alpha1_MachineSetCondition_To_machine_MachineSetCondition is an autogenerated conversion function.
func Convert_v1alpha1_MachineSetList_To_machine_MachineSetList ¶
func Convert_v1alpha1_MachineSetList_To_machine_MachineSetList(in *MachineSetList, out *machine.MachineSetList, s conversion.Scope) error
Convert_v1alpha1_MachineSetList_To_machine_MachineSetList is an autogenerated conversion function.
func Convert_v1alpha1_MachineSetSpec_To_machine_MachineSetSpec ¶
func Convert_v1alpha1_MachineSetSpec_To_machine_MachineSetSpec(in *MachineSetSpec, out *machine.MachineSetSpec, s conversion.Scope) error
Convert_v1alpha1_MachineSetSpec_To_machine_MachineSetSpec is an autogenerated conversion function.
func Convert_v1alpha1_MachineSetStatus_To_machine_MachineSetStatus ¶
func Convert_v1alpha1_MachineSetStatus_To_machine_MachineSetStatus(in *MachineSetStatus, out *machine.MachineSetStatus, s conversion.Scope) error
Convert_v1alpha1_MachineSetStatus_To_machine_MachineSetStatus is an autogenerated conversion function.
func Convert_v1alpha1_MachineSet_To_machine_MachineSet ¶
func Convert_v1alpha1_MachineSet_To_machine_MachineSet(in *MachineSet, out *machine.MachineSet, s conversion.Scope) error
Convert_v1alpha1_MachineSet_To_machine_MachineSet is an autogenerated conversion function.
func Convert_v1alpha1_MachineSpec_To_machine_MachineSpec ¶
func Convert_v1alpha1_MachineSpec_To_machine_MachineSpec(in *MachineSpec, out *machine.MachineSpec, s conversion.Scope) error
Convert_v1alpha1_MachineSpec_To_machine_MachineSpec is an autogenerated conversion function.
func Convert_v1alpha1_MachineStatus_To_machine_MachineStatus ¶
func Convert_v1alpha1_MachineStatus_To_machine_MachineStatus(in *MachineStatus, out *machine.MachineStatus, s conversion.Scope) error
Convert_v1alpha1_MachineStatus_To_machine_MachineStatus is an autogenerated conversion function.
func Convert_v1alpha1_MachineSummary_To_machine_MachineSummary ¶
func Convert_v1alpha1_MachineSummary_To_machine_MachineSummary(in *MachineSummary, out *machine.MachineSummary, s conversion.Scope) error
Convert_v1alpha1_MachineSummary_To_machine_MachineSummary is an autogenerated conversion function.
func Convert_v1alpha1_MachineTemplateSpec_To_machine_MachineTemplateSpec ¶
func Convert_v1alpha1_MachineTemplateSpec_To_machine_MachineTemplateSpec(in *MachineTemplateSpec, out *machine.MachineTemplateSpec, s conversion.Scope) error
Convert_v1alpha1_MachineTemplateSpec_To_machine_MachineTemplateSpec is an autogenerated conversion function.
func Convert_v1alpha1_Machine_To_machine_Machine ¶
func Convert_v1alpha1_Machine_To_machine_Machine(in *Machine, out *machine.Machine, s conversion.Scope) error
Convert_v1alpha1_Machine_To_machine_Machine is an autogenerated conversion function.
func Convert_v1alpha1_NodeTemplateSpec_To_machine_NodeTemplateSpec ¶
func Convert_v1alpha1_NodeTemplateSpec_To_machine_NodeTemplateSpec(in *NodeTemplateSpec, out *machine.NodeTemplateSpec, s conversion.Scope) error
Convert_v1alpha1_NodeTemplateSpec_To_machine_NodeTemplateSpec is an autogenerated conversion function.
func Convert_v1alpha1_NodeTemplate_To_machine_NodeTemplate ¶ added in v0.42.0
func Convert_v1alpha1_NodeTemplate_To_machine_NodeTemplate(in *NodeTemplate, out *machine.NodeTemplate, s conversion.Scope) error
Convert_v1alpha1_NodeTemplate_To_machine_NodeTemplate is an autogenerated conversion function.
func Convert_v1alpha1_RollbackConfig_To_machine_RollbackConfig ¶
func Convert_v1alpha1_RollbackConfig_To_machine_RollbackConfig(in *RollbackConfig, out *machine.RollbackConfig, s conversion.Scope) error
Convert_v1alpha1_RollbackConfig_To_machine_RollbackConfig is an autogenerated conversion function.
func Convert_v1alpha1_RollingUpdateMachineDeployment_To_machine_RollingUpdateMachineDeployment ¶
func Convert_v1alpha1_RollingUpdateMachineDeployment_To_machine_RollingUpdateMachineDeployment(in *RollingUpdateMachineDeployment, out *machine.RollingUpdateMachineDeployment, s conversion.Scope) error
Convert_v1alpha1_RollingUpdateMachineDeployment_To_machine_RollingUpdateMachineDeployment is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ClassSpec ¶
type ClassSpec struct { // API group to which it belongs APIGroup string `json:"apiGroup,omitempty"` // Kind for machine class Kind string `json:"kind,omitempty"` // Name of machine class Name string `json:"name,omitempty"` }
ClassSpec is the class specification of machine
func (*ClassSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassSpec.
func (*ClassSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionStatus ¶
type ConditionStatus string
ConditionStatus are valid condition statuses
const ( ConditionTrue ConditionStatus = "True" ConditionFalse ConditionStatus = "False" ConditionUnknown ConditionStatus = "Unknown" )
These are valid condition statuses. "ConditionTrue" means a resource is in the condition; "ConditionFalse" means a resource is not in the condition; "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.
type CurrentStatus ¶
type CurrentStatus struct { Phase MachinePhase `json:"phase,omitempty"` TimeoutActive bool `json:"timeoutActive,omitempty"` // Last update time of current status LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` }
CurrentStatus contains information about the current status of Machine.
func (*CurrentStatus) DeepCopy ¶
func (in *CurrentStatus) DeepCopy() *CurrentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CurrentStatus.
func (*CurrentStatus) DeepCopyInto ¶
func (in *CurrentStatus) DeepCopyInto(out *CurrentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LastOperation ¶
type LastOperation struct { // Description of the current operation Description string `json:"description,omitempty"` // ErrorCode of the current operation if any // +optional ErrorCode string `json:"errorCode,omitempty"` // Last update time of current operation LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` // State of operation State MachineState `json:"state,omitempty"` // Type of operation Type MachineOperationType `json:"type,omitempty"` }
LastOperation suggests the last operation performed on the object
func (*LastOperation) DeepCopy ¶
func (in *LastOperation) DeepCopy() *LastOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastOperation.
func (*LastOperation) DeepCopyInto ¶
func (in *LastOperation) DeepCopyInto(out *LastOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Machine ¶
type Machine struct { // ObjectMeta for machine object metav1.ObjectMeta `json:"metadata,omitempty"` // TypeMeta for machine object metav1.TypeMeta `json:",inline"` // Spec contains the specification of the machine Spec MachineSpec `json:"spec,omitempty"` // Status contains fields depicting the status Status MachineStatus `json:"status,omitempty"` }
Machine is the representation of a physical or virtual machine.
func (*Machine) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Machine.
func (*Machine) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Machine) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineClass ¶ added in v0.30.0
type MachineClass struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // +optional // +kubebuilder:validation:XPreserveUnknownFields // NodeTemplate contains subfields to track all node resources and other node info required to scale nodegroup from zero NodeTemplate *NodeTemplate `json:"nodeTemplate,omitempty"` // CredentialsSecretRef can optionally store the credentials (in this case the SecretRef does not need to store them). // This might be useful if multiple machine classes with the same credentials but different user-datas are used. CredentialsSecretRef *corev1.SecretReference `json:"credentialsSecretRef,omitempty"` // +kubebuilder:validation:XPreserveUnknownFields // Provider-specific configuration to use during node creation. ProviderSpec runtime.RawExtension `json:"providerSpec"` // Provider is the combination of name and location of cloud-specific drivers. Provider string `json:"provider,omitempty"` // SecretRef stores the necessary secrets such as credentials or userdata. SecretRef *corev1.SecretReference `json:"secretRef,omitempty"` }
MachineClass can be used to templatize and re-use provider configuration across multiple Machines / MachineSets / MachineDeployments. +k8s:openapi-gen=true +resource:path=machineclasses
func (*MachineClass) DeepCopy ¶ added in v0.30.0
func (in *MachineClass) DeepCopy() *MachineClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineClass.
func (*MachineClass) DeepCopyInto ¶ added in v0.30.0
func (in *MachineClass) DeepCopyInto(out *MachineClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineClass) DeepCopyObject ¶ added in v0.30.0
func (in *MachineClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineClassList ¶ added in v0.30.0
type MachineClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MachineClass `json:"items"` }
MachineClassList contains a list of MachineClasses
func (*MachineClassList) DeepCopy ¶ added in v0.30.0
func (in *MachineClassList) DeepCopy() *MachineClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineClassList.
func (*MachineClassList) DeepCopyInto ¶ added in v0.30.0
func (in *MachineClassList) DeepCopyInto(out *MachineClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineClassList) DeepCopyObject ¶ added in v0.30.0
func (in *MachineClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineConfiguration ¶ added in v0.33.0
type MachineConfiguration struct { // MachineDraintimeout is the timeout after which machine is forcefully deleted. // +optional MachineDrainTimeout *metav1.Duration `json:"drainTimeout,omitempty"` // MachineHealthTimeout is the timeout after which machine is declared unhealhty/failed. // +optional MachineHealthTimeout *metav1.Duration `json:"healthTimeout,omitempty"` // MachineCreationTimeout is the timeout after which machinie creation is declared failed. // +optional MachineCreationTimeout *metav1.Duration `json:"creationTimeout,omitempty"` // MaxEvictRetries is the number of retries that will be attempted while draining the node. // +optional MaxEvictRetries *int32 `json:"maxEvictRetries,omitempty"` // NodeConditions are the set of conditions if set to true for MachineHealthTimeOut, machine will be declared failed. // +optional NodeConditions *string `json:"nodeConditions,omitempty"` }
MachineConfiguration describes the configurations useful for the machine-controller.
func (*MachineConfiguration) DeepCopy ¶ added in v0.33.0
func (in *MachineConfiguration) DeepCopy() *MachineConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineConfiguration.
func (*MachineConfiguration) DeepCopyInto ¶ added in v0.33.0
func (in *MachineConfiguration) DeepCopyInto(out *MachineConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineDeployment ¶
type MachineDeployment struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired behavior of the MachineDeployment. // +optional Spec MachineDeploymentSpec `json:"spec,omitempty"` // Most recently observed status of the MachineDeployment. // +optional Status MachineDeploymentStatus `json:"status,omitempty"` }
MachineDeployment enables declarative updates for machines and MachineSets.
func (*MachineDeployment) DeepCopy ¶
func (in *MachineDeployment) DeepCopy() *MachineDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeployment.
func (*MachineDeployment) DeepCopyInto ¶
func (in *MachineDeployment) DeepCopyInto(out *MachineDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineDeployment) DeepCopyObject ¶
func (in *MachineDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineDeploymentCondition ¶
type MachineDeploymentCondition struct { // Type of MachineDeployment condition. Type MachineDeploymentConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status ConditionStatus `json:"status"` // The last time this condition was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty"` // A human readable message indicating details about the transition. Message string `json:"message,omitempty"` }
MachineDeploymentCondition describes the state of a MachineDeployment at a certain point.
func (*MachineDeploymentCondition) DeepCopy ¶
func (in *MachineDeploymentCondition) DeepCopy() *MachineDeploymentCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentCondition.
func (*MachineDeploymentCondition) DeepCopyInto ¶
func (in *MachineDeploymentCondition) DeepCopyInto(out *MachineDeploymentCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineDeploymentConditionType ¶
type MachineDeploymentConditionType string
MachineDeploymentConditionType are valid conditions of MachineDeployments
const ( // Available means the MachineDeployment is available, ie. at least the minimum available // replicas required are up and running for at least minReadySeconds. MachineDeploymentAvailable MachineDeploymentConditionType = "Available" // Progressing means the MachineDeployment is progressing. Progress for a MachineDeployment is // considered when a new machine set is created or adopted, and when new machines scale // up or old machines scale down. Progress is not estimated for paused MachineDeployments. It is also updated // if progressDeadlineSeconds is not specified(treated as infinite deadline), in which case it would never be updated to "false". MachineDeploymentProgressing MachineDeploymentConditionType = "Progressing" // ReplicaFailure is added in a MachineDeployment when one of its machines fails to be created // or deleted. MachineDeploymentReplicaFailure MachineDeploymentConditionType = "ReplicaFailure" // MachineDeploymentFrozen is added in a MachineDeployment when one of its machines fails to be created // or deleted. MachineDeploymentFrozen MachineDeploymentConditionType = "Frozen" )
These are valid conditions of a MachineDeployment.
type MachineDeploymentList ¶
type MachineDeploymentList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. // +optional metav1.ListMeta `json:"metadata,omitempty"` // Items is the list of MachineDeployments. Items []MachineDeployment `json:"items"` }
MachineDeploymentList is a list of MachineDeployments.
func (*MachineDeploymentList) DeepCopy ¶
func (in *MachineDeploymentList) DeepCopy() *MachineDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentList.
func (*MachineDeploymentList) DeepCopyInto ¶
func (in *MachineDeploymentList) DeepCopyInto(out *MachineDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineDeploymentList) DeepCopyObject ¶
func (in *MachineDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineDeploymentSpec ¶
type MachineDeploymentSpec struct { // Number of desired machines. This is a pointer to distinguish between explicit // zero and not specified. Defaults to 0. // +optional Replicas int32 `json:"replicas,omitempty"` // Label selector for machines. Existing MachineSets whose machines are // selected by this will be the ones affected by this MachineDeployment. // +optional Selector *metav1.LabelSelector `json:"selector,omitempty"` // Template describes the machines that will be created. Template MachineTemplateSpec `json:"template"` // The MachineDeployment strategy to use to replace existing machines with new ones. // +optional // +patchStrategy=retainKeys Strategy MachineDeploymentStrategy `json:"strategy,omitempty" patchStrategy:"retainKeys"` // Minimum number of seconds for which a newly created machine should be ready // without any of its container crashing, for it to be considered available. // Defaults to 0 (machine will be considered available as soon as it is ready) // +optional MinReadySeconds int32 `json:"minReadySeconds,omitempty"` // The number of old MachineSets to retain to allow rollback. // This is a pointer to distinguish between explicit zero and not specified. // +optional RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty"` // Indicates that the MachineDeployment is paused and will not be processed by the // MachineDeployment controller. // +optional Paused bool `json:"paused,omitempty"` // DEPRECATED. // The config this MachineDeployment is rolling back to. Will be cleared after rollback is done. // +optional RollbackTo *RollbackConfig `json:"rollbackTo,omitempty"` // The maximum time in seconds for a MachineDeployment to make progress before it // is considered to be failed. The MachineDeployment controller will continue to // process failed MachineDeployments and a condition with a ProgressDeadlineExceeded // reason will be surfaced in the MachineDeployment status. Note that progress will // not be estimated during the time a MachineDeployment is paused. This is not set // by default, which is treated as infinite deadline. // +optional ProgressDeadlineSeconds *int32 `json:"progressDeadlineSeconds,omitempty"` }
MachineDeploymentSpec is the specification of the desired behavior of the MachineDeployment.
func (*MachineDeploymentSpec) DeepCopy ¶
func (in *MachineDeploymentSpec) DeepCopy() *MachineDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentSpec.
func (*MachineDeploymentSpec) DeepCopyInto ¶
func (in *MachineDeploymentSpec) DeepCopyInto(out *MachineDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineDeploymentStatus ¶
type MachineDeploymentStatus struct { // The generation observed by the MachineDeployment controller. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Total number of non-terminated machines targeted by this MachineDeployment (their labels match the selector). // +optional Replicas int32 `json:"replicas,omitempty"` // Total number of non-terminated machines targeted by this MachineDeployment that have the desired template spec. // +optional UpdatedReplicas int32 `json:"updatedReplicas,omitempty"` // Total number of ready machines targeted by this MachineDeployment. // +optional ReadyReplicas int32 `json:"readyReplicas,omitempty"` // Total number of available machines (ready for at least minReadySeconds) targeted by this MachineDeployment. // +optional AvailableReplicas int32 `json:"availableReplicas,omitempty"` // machines that are still required for the MachineDeployment to have 100% available capacity. They may // either be machines that are running but not yet available or machines that still have not been created. // +optional UnavailableReplicas int32 `json:"unavailableReplicas,omitempty"` // Represents the latest available observations of a MachineDeployment's current state. // +patchMergeKey=type // +patchStrategy=merge Conditions []MachineDeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` // Count of hash collisions for the MachineDeployment. The MachineDeployment controller uses this // field as a collision avoidance mechanism when it needs to create the name for the // newest MachineSet. // +optional CollisionCount *int32 `json:"collisionCount,omitempty"` // FailedMachines has summary of machines on which lastOperation Failed // +optional FailedMachines []*MachineSummary `json:"failedMachines,omitempty"` }
MachineDeploymentStatus is the most recently observed status of the MachineDeployment.
func (*MachineDeploymentStatus) DeepCopy ¶
func (in *MachineDeploymentStatus) DeepCopy() *MachineDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentStatus.
func (*MachineDeploymentStatus) DeepCopyInto ¶
func (in *MachineDeploymentStatus) DeepCopyInto(out *MachineDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineDeploymentStrategy ¶
type MachineDeploymentStrategy struct { // Type of MachineDeployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate. // +optional Type MachineDeploymentStrategyType `json:"type,omitempty"` // Rolling update config params. Present only if MachineDeploymentStrategyType = // RollingUpdate. //--- // TODO: Update this to follow our convention for oneOf, whatever we decide it // to be. // +optional RollingUpdate *RollingUpdateMachineDeployment `json:"rollingUpdate,omitempty"` }
MachineDeploymentStrategy describes how to replace existing machines with new ones.
func (*MachineDeploymentStrategy) DeepCopy ¶
func (in *MachineDeploymentStrategy) DeepCopy() *MachineDeploymentStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentStrategy.
func (*MachineDeploymentStrategy) DeepCopyInto ¶
func (in *MachineDeploymentStrategy) DeepCopyInto(out *MachineDeploymentStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineDeploymentStrategyType ¶
type MachineDeploymentStrategyType string
MachineDeploymentStrategyType are valid strategy types for rolling MachineDeployments
const ( // RecreateMachineDeploymentStrategyType means that all existing machines will be killed before creating new ones. RecreateMachineDeploymentStrategyType MachineDeploymentStrategyType = "Recreate" // RollingUpdateMachineDeploymentStrategyType means that old MCs will be replaced by new one using rolling update i.e gradually scale down the old MCs and scale up the new one. RollingUpdateMachineDeploymentStrategyType MachineDeploymentStrategyType = "RollingUpdate" )
type MachineList ¶
type MachineList struct { // ObjectMeta for MachineList object metav1.TypeMeta `json:",inline"` // TypeMeta for MachineList object metav1.ListMeta `json:"metadata,omitempty"` // Items contains the list of machines Items []Machine `json:"items"` }
MachineList is a collection of Machines.
func (*MachineList) DeepCopy ¶
func (in *MachineList) DeepCopy() *MachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineList.
func (*MachineList) DeepCopyInto ¶
func (in *MachineList) DeepCopyInto(out *MachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineList) DeepCopyObject ¶
func (in *MachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineOperationType ¶
type MachineOperationType string
MachineOperationType is a label for the operation performed on a machine object.
const ( // MachineOperationCreate indicates that the operation was a create MachineOperationCreate MachineOperationType = "Create" // MachineOperationUpdate indicates that the operation was an update MachineOperationUpdate MachineOperationType = "Update" // MachineOperationHealthCheck indicates that the operation was a health check of node object MachineOperationHealthCheck MachineOperationType = "HealthCheck" // MachineOperationDelete indicates that the operation was a delete MachineOperationDelete MachineOperationType = "Delete" )
These are the valid statuses of machines.
type MachinePhase ¶
type MachinePhase string
MachinePhase is a label for the condition of a machine at the current time.
const ( // MachinePending means that the machine is being created MachinePending MachinePhase = "Pending" // MachineAvailable means that machine is present on provider but hasn't joined cluster yet MachineAvailable MachinePhase = "Available" // MachineRunning means node is ready and running successfully MachineRunning MachinePhase = "Running" // MachineTerminating means node is terminating MachineTerminating MachinePhase = "Terminating" // MachineUnknown indicates that the node is not ready at the movement MachineUnknown MachinePhase = "Unknown" // MachineFailed means operation timed out MachineFailed MachinePhase = "Failed" // MachineCrashLoopBackOff means machine creation is failing. It means that machine object is present but there is no corresponding VM. MachineCrashLoopBackOff MachinePhase = "CrashLoopBackOff" )
These are the valid phases of machines.
type MachineSet ¶
type MachineSet struct { // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // +optional metav1.TypeMeta `json:",inline"` // +optional Spec MachineSetSpec `json:"spec,omitempty"` // +optional Status MachineSetStatus `json:"status,omitempty"` }
MachineSet TODO
func (*MachineSet) DeepCopy ¶
func (in *MachineSet) DeepCopy() *MachineSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSet.
func (*MachineSet) DeepCopyInto ¶
func (in *MachineSet) DeepCopyInto(out *MachineSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineSet) DeepCopyObject ¶
func (in *MachineSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineSetCondition ¶
type MachineSetCondition struct { // Type of machine set condition. Type MachineSetConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status ConditionStatus `json:"status"` // The last time the condition transitioned from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty"` // A human readable message indicating details about the transition. // +optional Message string `json:"message,omitempty"` }
MachineSetCondition describes the state of a machine set at a certain point.
func (*MachineSetCondition) DeepCopy ¶
func (in *MachineSetCondition) DeepCopy() *MachineSetCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetCondition.
func (*MachineSetCondition) DeepCopyInto ¶
func (in *MachineSetCondition) DeepCopyInto(out *MachineSetCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSetConditionType ¶
type MachineSetConditionType string
MachineSetConditionType is the condition on machineset object
const ( // MachineSetReplicaFailure is added in a machine set when one of its machines fails to be created // due to insufficient quota, limit ranges, machine security policy, node selectors, etc. or deleted // due to kubelet being down or finalizers are failing. MachineSetReplicaFailure MachineSetConditionType = "ReplicaFailure" // MachineSetFrozen is set when the machineset has exceeded its replica threshold at the safety controller MachineSetFrozen MachineSetConditionType = "Frozen" )
These are valid conditions of a machine set.
type MachineSetList ¶
type MachineSetList struct { // +optional metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` // +optional Items []MachineSet `json:"items"` }
MachineSetList is a collection of MachineSet.
func (*MachineSetList) DeepCopy ¶
func (in *MachineSetList) DeepCopy() *MachineSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetList.
func (*MachineSetList) DeepCopyInto ¶
func (in *MachineSetList) DeepCopyInto(out *MachineSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineSetList) DeepCopyObject ¶
func (in *MachineSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineSetSpec ¶
type MachineSetSpec struct { // +optional Replicas int32 `json:"replicas,omitempty"` // +optional Selector *metav1.LabelSelector `json:"selector,omitempty"` // +optional MachineClass ClassSpec `json:"machineClass,omitempty"` // +optional Template MachineTemplateSpec `json:"template,omitempty"` // +optional MinReadySeconds int32 `json:"minReadySeconds,omitempty"` }
MachineSetSpec is the specification of a MachineSet.
func (*MachineSetSpec) DeepCopy ¶
func (in *MachineSetSpec) DeepCopy() *MachineSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetSpec.
func (*MachineSetSpec) DeepCopyInto ¶
func (in *MachineSetSpec) DeepCopyInto(out *MachineSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSetStatus ¶
type MachineSetStatus struct { // Replicas is the number of actual replicas. Replicas int32 `json:"replicas,omitempty"` // The number of pods that have labels matching the labels of the pod template of the replicaset. // +optional FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty"` // The number of ready replicas for this replica set. // +optional ReadyReplicas int32 `json:"readyReplicas,omitempty"` // The number of available replicas (ready for at least minReadySeconds) for this replica set. // +optional AvailableReplicas int32 `json:"availableReplicas,omitempty"` // ObservedGeneration is the most recent generation observed by the controller. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Represents the latest available observations of a replica set's current state. // +optional Conditions []MachineSetCondition `json:"machineSetCondition,omitempty"` // LastOperation performed LastOperation LastOperation `json:"lastOperation,omitempty"` // FailedMachines has summary of machines on which lastOperation Failed // +optional FailedMachines *[]MachineSummary `json:"failedMachines,omitempty"` }
MachineSetStatus holds the most recently observed status of MachineSet.
func (*MachineSetStatus) DeepCopy ¶
func (in *MachineSetStatus) DeepCopy() *MachineSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetStatus.
func (*MachineSetStatus) DeepCopyInto ¶
func (in *MachineSetStatus) DeepCopyInto(out *MachineSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpec ¶
type MachineSpec struct { // Class contains the machineclass attributes of a machine // +optional Class ClassSpec `json:"class,omitempty"` // ProviderID represents the provider's unique ID given to a machine // +optional ProviderID string `json:"providerID,omitempty"` // NodeTemplateSpec describes the data a node should have when created from a template // +optional NodeTemplateSpec NodeTemplateSpec `json:"nodeTemplate,omitempty"` // Configuration for the machine-controller. // +optional *MachineConfiguration `json:",inline"` }
MachineSpec is the specification of a Machine.
func (*MachineSpec) DeepCopy ¶
func (in *MachineSpec) DeepCopy() *MachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec.
func (*MachineSpec) DeepCopyInto ¶
func (in *MachineSpec) DeepCopyInto(out *MachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineState ¶
type MachineState string
MachineState is a current state of the operation.
const ( // MachineStateProcessing means operation is not yet complete MachineStateProcessing MachineState = "Processing" // MachineStateFailed means operation failed MachineStateFailed MachineState = "Failed" // MachineStateSuccessful means operation completed successfully MachineStateSuccessful MachineState = "Successful" )
These are the valid states of operations performed on the machine.
type MachineStatus ¶
type MachineStatus struct { // Conditions of this machine, same as node Conditions []corev1.NodeCondition `json:"conditions,omitempty"` // Last operation refers to the status of the last operation performed LastOperation LastOperation `json:"lastOperation,omitempty"` // Current status of the machine object CurrentStatus CurrentStatus `json:"currentStatus,omitempty"` // LastKnownState can store details of the last known state of the VM by the plugins. // It can be used by future operation calls to determine current infrastucture state // +optional LastKnownState string `json:"lastKnownState,omitempty"` }
MachineStatus holds the most recently observed status of Machine.
func (*MachineStatus) DeepCopy ¶
func (in *MachineStatus) DeepCopy() *MachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineStatus.
func (*MachineStatus) DeepCopyInto ¶
func (in *MachineStatus) DeepCopyInto(out *MachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSummary ¶
type MachineSummary struct { // Name of the machine object Name string `json:"name,omitempty"` // ProviderID represents the provider's unique ID given to a machine ProviderID string `json:"providerID,omitempty"` // Last operation refers to the status of the last operation performed LastOperation LastOperation `json:"lastOperation,omitempty"` // OwnerRef OwnerRef string `json:"ownerRef,omitempty"` }
MachineSummary store the summary of machine.
func (*MachineSummary) DeepCopy ¶
func (in *MachineSummary) DeepCopy() *MachineSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSummary.
func (*MachineSummary) DeepCopyInto ¶
func (in *MachineSummary) DeepCopyInto(out *MachineSummary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineTemplateSpec ¶
type MachineTemplateSpec struct { // +kubebuilder:validation:XPreserveUnknownFields // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired behavior of the machine. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional Spec MachineSpec `json:"spec,omitempty"` }
MachineTemplateSpec describes the data a machine should have when created from a template
func (*MachineTemplateSpec) DeepCopy ¶
func (in *MachineTemplateSpec) DeepCopy() *MachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineTemplateSpec.
func (*MachineTemplateSpec) DeepCopyInto ¶
func (in *MachineTemplateSpec) DeepCopyInto(out *MachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeTemplate ¶ added in v0.42.0
type NodeTemplate struct { // Capacity contains subfields to track all node resources required to scale nodegroup from zero Capacity corev1.ResourceList `json:"capacity"` // Instance type of the node belonging to nodeGroup InstanceType string `json:"instanceType"` // Region of the expected node belonging to nodeGroup Region string `json:"region"` // Zone of the expected node belonging to nodeGroup Zone string `json:"zone"` // +optional // CPU Architecture of the node belonging to nodeGroup Architecture *string `json:"architecture,omitempty"` }
NodeTemplate contains subfields to track all node resources and other node info required to scale nodegroup from zero
func (*NodeTemplate) DeepCopy ¶ added in v0.42.0
func (in *NodeTemplate) DeepCopy() *NodeTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeTemplate.
func (*NodeTemplate) DeepCopyInto ¶ added in v0.42.0
func (in *NodeTemplate) DeepCopyInto(out *NodeTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeTemplateSpec ¶
type NodeTemplateSpec struct { // +kubebuilder:validation:XPreserveUnknownFields // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // NodeSpec describes the attributes that a node is created with. // +optional Spec corev1.NodeSpec `json:"spec,omitempty"` }
NodeTemplateSpec describes the data a node should have when created from a template
func (*NodeTemplateSpec) DeepCopy ¶
func (in *NodeTemplateSpec) DeepCopy() *NodeTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeTemplateSpec.
func (*NodeTemplateSpec) DeepCopyInto ¶
func (in *NodeTemplateSpec) DeepCopyInto(out *NodeTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RollbackConfig ¶
type RollbackConfig struct { // The revision to rollback to. If set to 0, rollback to the last revision. // +optional Revision int64 `json:"revision,omitempty"` }
RollbackConfig is the config to rollback a MachineDeployment
func (*RollbackConfig) DeepCopy ¶
func (in *RollbackConfig) DeepCopy() *RollbackConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig.
func (*RollbackConfig) DeepCopyInto ¶
func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RollingUpdateMachineDeployment ¶
type RollingUpdateMachineDeployment struct { // Value can be an absolute number (ex: 5) or a percentage of desired machines (ex: 10%). // Absolute number is calculated from percentage by rounding down. // This can not be 0 if MaxSurge is 0. // By default, a fixed value of 1 is used. // Example: when this is set to 30%, the old MC can be scaled down to 70% of desired machines // immediately when the rolling update starts. Once new machines are ready, old MC // can be scaled down further, followed by scaling up the new MC, ensuring // that the total number of machines available at all times during the update is at // least 70% of desired machines. // +optional MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"` // The maximum number of machines that can be scheduled above the desired number of // machines. // Value can be an absolute number (ex: 5) or a percentage of desired machines (ex: 10%). // This can not be 0 if MaxUnavailable is 0. // Absolute number is calculated from percentage by rounding up. // By default, a value of 1 is used. // Example: when this is set to 30%, the new MC can be scaled up immediately when // the rolling update starts, such that the total number of old and new machines do not exceed // 130% of desired machines. Once old machines have been killed, // new MC can be scaled up further, ensuring that total number of machines running // at any time during the update is atmost 130% of desired machines. // +optional MaxSurge *intstr.IntOrString `json:"maxSurge,omitempty"` }
RollingUpdateMachineDeployment is the spec to control the desired behavior of rolling update.
func (*RollingUpdateMachineDeployment) DeepCopy ¶
func (in *RollingUpdateMachineDeployment) DeepCopy() *RollingUpdateMachineDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateMachineDeployment.
func (*RollingUpdateMachineDeployment) DeepCopyInto ¶
func (in *RollingUpdateMachineDeployment) DeepCopyInto(out *RollingUpdateMachineDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.