Documentation ¶
Index ¶
Constants ¶
View Source
const ( DeploymentNotFoundReason = "DeploymentNotFound" DeploymentProvisioningStateUnknownReason = "DeploymentProvisioningStateUnknown" DeploymentProvisioningStatePrefix = "DeploymentProvisioningState" DeploymentProvisioningStateSucceeded = "Succeeded" DeploymentProvisioningStateFailed = "Failed" )
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
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 }
Click to show internal directories.
Click to hide internal directories.