machine

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleProvisioningState

func HandleProvisioningState(ctx context.Context, aksMachine *armcontainerservice.Machine) (*armcontainerservice.ErrorDetail, error, bool)

HandleProvisioningState inspects the provisioning state of an AKS machine. It returns the provisioning error if the machine failed, a polling error if the provisioning state indicates a canceled or otherwise fatal state, and a boolean indicating whether the provisioning is complete (either succeeded, deleting or failed).

func IsAKSMachineOrMachinesPoolNotFound

func IsAKSMachineOrMachinesPoolNotFound(err error) bool

IsAKSMachineOrMachinesPoolNotFound returns true if the error returned from the Azure API indicates that the AKS machine or the AKS machines pool could not be found.

Types

This section is empty.

Jump to

Keyboard shortcuts

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