machinepoolmigration

package
v5.22.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DesiredCAPIGroupVersion = capi.GroupVersion.String()
	DesiredCAPZGroupVersion = capz.GroupVersion.String()
)

Functions

func AreAzureMachinePoolReferencesUpdated

func AreAzureMachinePoolReferencesUpdated(azureMachinePool capzexp.AzureMachinePool) bool

func AreMachinePoolReferencesUpdated

func AreMachinePoolReferencesUpdated(machinePool capiexp.MachinePool) bool

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Checker

type Checker struct {
	// contains filtered or unexported fields
}

func NewChecker

func NewChecker(c CheckerConfig) (*Checker, error)

func (*Checker) CheckIfMigratedAzureMachinePoolExists

func (c *Checker) CheckIfMigratedAzureMachinePoolExists(ctx context.Context, namespacedName types.NamespacedName) (bool, error)

func (*Checker) CheckIfOldAzureMachinePoolExists

func (c *Checker) CheckIfOldAzureMachinePoolExists(ctx context.Context, namespacedName types.NamespacedName) (bool, error)

func (*Checker) NewAzureMachinePoolPendingCreation

func (c *Checker) NewAzureMachinePoolPendingCreation(ctx context.Context, namespacedName types.NamespacedName) (bool, error)

type CheckerConfig

type CheckerConfig struct {
	CtrlClient client.Client
	Logger     micrologger.Logger
}

Jump to

Keyboard shortcuts

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