Documentation ¶
Index ¶
- func GetAzureClusterByName(ctx context.Context, c client.Client, namespace, name string) (*capzV1alpha3.AzureCluster, error)
- func GetAzureClusterFromMetadata(ctx context.Context, c client.Client, obj metav1.ObjectMeta) (*capzV1alpha3.AzureCluster, error)
- func IsInvalidObject(err error) bool
- func IsMissingOrganizationLabel(err error) bool
- func IsTooManyCredentialsError(err error) bool
- func UpdateAzureClusterConditions(ctx context.Context, c client.Client, logger micrologger.Logger, ...) error
- func UpdateClusterConditions(ctx context.Context, c client.Client, logger micrologger.Logger, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAzureClusterByName ¶
func GetAzureClusterByName(ctx context.Context, c client.Client, namespace, name string) (*capzV1alpha3.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) (*capzV1alpha3.AzureCluster, error)
GetAzureClusterFromMetadata returns the AzureCluster object (if present) using the object metadata.
func IsInvalidObject ¶
IsInvalidObject asserts invalidObjectError.
func IsMissingOrganizationLabel ¶
IsMissingOrganizationLabel asserts missingOrganizationLabel.
func IsTooManyCredentialsError ¶
IsTooManyCredentialsError asserts tooManyCredentialsError.
func UpdateAzureClusterConditions ¶
func UpdateAzureClusterConditions(ctx context.Context, c client.Client, logger micrologger.Logger, azureCluster *capzV1alpha3.AzureCluster) error
func UpdateClusterConditions ¶
func UpdateClusterConditions(ctx context.Context, c client.Client, logger micrologger.Logger, cluster *capiV1alpha3.Cluster, azureCluster *capzV1alpha3.AzureCluster) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.