key

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppStatusDeployed = "deployed"

	// Namespace is the namespace where App CRs are created.
	Namespace = "giantswarm"

	LabelAppOperatorVersion = "app-operator.giantswarm.io/version"
	LabelManagedBy          = "giantswarm.io/managed-by"
	LabelServiceType        = "giantswarm.io/service-type"

	ValueServiceTypeManaged = "managed"
)
View Source
const (
	ProviderOperatorAWS   = "aws-operator"
	ProviderOperatorAzure = "azure-operator"
	ProviderOperatorKVM   = "kvm-operator"
)

Variables

This section is empty.

Functions

func BuildAppName

func BuildAppName(component releasev1alpha1.ReleaseSpecComponent) string

func ComponentCreated

func ComponentCreated(component releasev1alpha1.ReleaseSpecComponent, apps []applicationv1alpha1.App) bool

func ComponentDeployed

func ComponentDeployed(component releasev1alpha1.ReleaseSpecComponent, apps []applicationv1alpha1.App) bool

func ExtractComponents

ExtractComponents extracts the components that this operator is responsible for.

func FilterComponents

FilterComponents filters the components that this operator is responsible for.

func GetProviderOperators

func GetProviderOperators() []string

func IsEmptyValueError

func IsEmptyValueError(err error) bool

IsEmptyValueError asserts emptyValueError.

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsInvalidReleaseName

func IsInvalidReleaseName(err error) bool

IsInvalidReleaseName asserts invalidReleaseNameError.

func IsWrongTypeError

func IsWrongTypeError(err error) bool

IsWrongTypeError asserts wrongTypeError.

func ToReleaseCR

func ToReleaseCR(v interface{}) (*releasev1alpha1.Release, error)

ToReleaseCR converts v into a Release CR.

Types

This section is empty.

Jump to

Keyboard shortcuts

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