azureconditions

package
v5.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeploymentNotFoundReason                 = "DeploymentNotFound"
	DeploymentProvisioningStateUnknownReason = "DeploymentProvisioningStateUnknown"
	DeploymentProvisioningStatePrefix        = "DeploymentProvisioningState"
	DeploymentProvisioningStateSucceeded     = "Succeeded"
	DeploymentProvisioningStateFailed        = "Failed"
)

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound asserts notFoundError.

Types

type DeploymentChecker

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

Resource ensures that AzureMachinePool Status Conditions are set.

func NewDeploymentChecker

func NewDeploymentChecker(config DeploymentCheckerConfig) (*DeploymentChecker, error)

func (*DeploymentChecker) CheckIfDeploymentIsSuccessful

func (r *DeploymentChecker) CheckIfDeploymentIsSuccessful(ctx context.Context, deploymentsClient *resources.DeploymentsClient, cr capiconditions.Setter, deploymentName string, conditionType capi.ConditionType) (bool, error)

type DeploymentCheckerConfig

type DeploymentCheckerConfig 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