generic

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyAzureOperatorVersionLabelFromAzureClusterCR

func CopyAzureOperatorVersionLabelFromAzureClusterCR(ctx context.Context, ctrlClient client.Client, meta metav1.Object) (*mutator.PatchOperation, error)

func EnsureComponentVersionLabelFromRelease

func EnsureComponentVersionLabelFromRelease(ctx context.Context, ctrlClient client.Client, meta metav1.Object, componentName string, labelName string) (*mutator.PatchOperation, error)

func EnsureReleaseVersionLabel

func EnsureReleaseVersionLabel(ctx context.Context, ctrlClient client.Client, meta metav1.Object) (*mutator.PatchOperation, error)

func IsAzureOperatorVersionLabelNotFoundError

func IsAzureOperatorVersionLabelNotFoundError(err error) bool

IsReleaseLabelNotFoundError asserts azureOperatorVersionLabelNotFoundError.

func IsClusterLabelNotFoundError

func IsClusterLabelNotFoundError(err error) bool

IsClusterLabelNotFoundError asserts clusterLabelNotFoundError.

func IsClusterNotFoundError

func IsClusterNotFoundError(err error) bool

IsClusterNotFoundError asserts clusterNotFoundError.

func IsComponentNotFoundInReleaseError

func IsComponentNotFoundInReleaseError(err error) bool

IsComponentNotFoundInReleaseError asserts componentNotFoundInReleaseError.

func IsNodepoolOrgDoesNotMatchClusterOrg

func IsNodepoolOrgDoesNotMatchClusterOrg(err error) bool

IsNodepoolOrgDoesNotMatchClusterOrg asserts nodepoolOrgDoesNotMatchClusterOrgError.

func IsOrganizationLabelNotFoundError

func IsOrganizationLabelNotFoundError(err error) bool

IsOrganizationLabelNotFoundError asserts organizationLabelNotFoundError.

func IsOrganizationLabelWasChangedError

func IsOrganizationLabelWasChangedError(err error) bool

IsOrganizationLabelWasChangedError asserts organizationLabelWasChangedError.

func IsOrganizationNotFoundError

func IsOrganizationNotFoundError(err error) bool

IsOrganizationNotFoundError asserts organizationNotFoundError.

func IsReleaseLabelNotFoundError

func IsReleaseLabelNotFoundError(err error) bool

IsReleaseLabelNotFoundError asserts releaseLabelNotFoundError.

func ValidateOrganizationLabelContainsExistingOrganization

func ValidateOrganizationLabelContainsExistingOrganization(ctx context.Context, ctrlClient client.Client, obj metav1.Object) error

func ValidateOrganizationLabelMatchesCluster

func ValidateOrganizationLabelMatchesCluster(ctx context.Context, ctrlClient client.Client, obj metav1.Object) error

func ValidateOrganizationLabelUnchanged

func ValidateOrganizationLabelUnchanged(old, new metav1.Object) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL