Documentation ¶
Index ¶
- func GetAzureClusterByName(ctx context.Context, c client.Client, namespace, name string) (*capz.AzureCluster, error)
- func GetAzureClusterFromMetadata(ctx context.Context, c client.Client, obj metav1.ObjectMeta) (*capz.AzureCluster, error)
- func GetAzureMachinePoolByName(ctx context.Context, c client.Client, namespace, name string) (*capzexp.AzureMachinePool, error)
- func GetAzureMachinePoolsByClusterID(ctx context.Context, c client.Client, clusterNamespace, clusterID string) (*capzexp.AzureMachinePoolList, error)
- func GetAzureMachinePoolsByMetadata(ctx context.Context, c client.Client, obj metav1.ObjectMeta) (*capzexp.AzureMachinePoolList, error)
- func GetMachinePoolsByClusterID(ctx context.Context, c client.Client, clusterNamespace, clusterID string) (*capiexp.MachinePoolList, error)
- func GetMachinePoolsByMetadata(ctx context.Context, c client.Client, obj metav1.ObjectMeta) (*capiexp.MachinePoolList, error)
- func GetOldExpMachinePoolsByClusterID(ctx context.Context, c client.Client, clusterNamespace, clusterID string) (*oldcapiexp.MachinePoolList, error)
- func GetOldExpMachinePoolsByMetadata(ctx context.Context, c client.Client, obj metav1.ObjectMeta) (*oldcapiexp.MachinePoolList, error)
- func InitAzureMachineAnnotations(ctx context.Context, ctrlClient client.Client, logger micrologger.Logger, ...) error
- func IsInvalidObject(err error) bool
- func IsMissingOrganizationLabel(err error) bool
- func IsTooManyCredentialsError(err error) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAzureClusterByName ¶
func GetAzureClusterByName(ctx context.Context, c client.Client, namespace, name string) (*capz.AzureCluster, error)
GetAzureClusterByName finds and return a AzureCluster object using the specified params.
func GetAzureClusterFromMetadata ¶
func GetAzureClusterFromMetadata(ctx context.Context, c client.Client, obj metav1.ObjectMeta) (*capz.AzureCluster, error)
GetAzureClusterFromMetadata returns the AzureCluster object (if present) using the object metadata.
func GetAzureMachinePoolByName ¶
func GetAzureMachinePoolByName(ctx context.Context, c client.Client, namespace, name string) (*capzexp.AzureMachinePool, error)
GetAzureMachinePoolByName finds and return a AzureMachinePool object using the specified params.
func GetAzureMachinePoolsByMetadata ¶
func GetAzureMachinePoolsByMetadata(ctx context.Context, c client.Client, obj metav1.ObjectMeta) (*capzexp.AzureMachinePoolList, error)
func GetMachinePoolsByMetadata ¶
func GetMachinePoolsByMetadata(ctx context.Context, c client.Client, obj metav1.ObjectMeta) (*capiexp.MachinePoolList, error)
func GetOldExpMachinePoolsByClusterID ¶ added in v5.19.0
func GetOldExpMachinePoolsByClusterID(ctx context.Context, c client.Client, clusterNamespace, clusterID string) (*oldcapiexp.MachinePoolList, error)
func GetOldExpMachinePoolsByMetadata ¶ added in v5.19.0
func GetOldExpMachinePoolsByMetadata(ctx context.Context, c client.Client, obj metav1.ObjectMeta) (*oldcapiexp.MachinePoolList, error)
func InitAzureMachineAnnotations ¶ added in v5.4.0
func InitAzureMachineAnnotations(ctx context.Context, ctrlClient client.Client, logger micrologger.Logger, azureMachine *capz.AzureMachine) error
func IsInvalidObject ¶
IsInvalidObject asserts invalidObjectError.
func IsMissingOrganizationLabel ¶
IsMissingOrganizationLabel asserts missingOrganizationLabel.
func IsTooManyCredentialsError ¶
IsTooManyCredentialsError asserts tooManyCredentialsError.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.