machinepool

package
v1.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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 Surger

type Surger interface {
	Surge(desiredReplicaCount int) (int, error)
}

Surger is the ability to surge a number of replica.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL