Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteSelector ¶
type DeleteSelector interface {
SelectMachinesToDelete(ctx context.Context, desiredReplicas int32, machinesByProviderID map[string]infrav1exp.AzureMachinePoolMachine) ([]infrav1exp.AzureMachinePoolMachine, error)
}
DeleteSelector is the ability to select nodes to be delete with respect to a desired number of replicas.
type TypedDeleteSelector ¶
type TypedDeleteSelector interface { DeleteSelector Type() infrav1exp.AzureMachinePoolDeploymentStrategyType }
TypedDeleteSelector is the ability to select nodes to be deleted with respect to a desired number of nodes, and the ability to describe the underlying type of the deployment strategy.
func NewMachinePoolDeploymentStrategy ¶
func NewMachinePoolDeploymentStrategy(strategy infrav1exp.AzureMachinePoolDeploymentStrategy) TypedDeleteSelector
NewMachinePoolDeploymentStrategy constructs a strategy implementation described in the AzureMachinePoolDeploymentStrategy specification.
Click to show internal directories.
Click to hide internal directories.