Documentation ¶
Index ¶
- Variables
- func AreAzureMachinePoolReferencesUpdated(azureMachinePool capzexp.AzureMachinePool) bool
- func AreMachinePoolReferencesUpdated(machinePool capiexp.MachinePool) bool
- func IsInvalidConfig(err error) bool
- type Checker
- func (c *Checker) CheckIfMigratedAzureMachinePoolExists(ctx context.Context, namespacedName types.NamespacedName) (bool, error)
- func (c *Checker) CheckIfOldAzureMachinePoolExists(ctx context.Context, namespacedName types.NamespacedName) (bool, error)
- func (c *Checker) NewAzureMachinePoolPendingCreation(ctx context.Context, namespacedName types.NamespacedName) (bool, error)
- type CheckerConfig
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 ¶
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 (*Checker) CheckIfOldAzureMachinePoolExists ¶
func (*Checker) NewAzureMachinePoolPendingCreation ¶
type CheckerConfig ¶
type CheckerConfig struct { CtrlClient client.Client Logger micrologger.Logger }
Click to show internal directories.
Click to hide internal directories.