key

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChartOperatorAppName = "chart-operator"
)

Variables

This section is empty.

Functions

func AppCatalogConfigMapName

func AppCatalogConfigMapName(customResource v1alpha1.AppCatalog) string

func AppCatalogConfigMapNamespace

func AppCatalogConfigMapNamespace(customResource v1alpha1.AppCatalog) string

func AppCatalogSecretName

func AppCatalogSecretName(customResource v1alpha1.AppCatalog) string

func AppCatalogSecretNamespace

func AppCatalogSecretNamespace(customResource v1alpha1.AppCatalog) string

func AppCatalogStorageURL

func AppCatalogStorageURL(customResource v1alpha1.AppCatalog) string

func AppCatalogTitle

func AppCatalogTitle(customResource v1alpha1.AppCatalog) string

func AppConfigMapName

func AppConfigMapName(customResource v1alpha1.App) string

AppConfigMapName returns the name of the configmap that stores app level config for the provided app CR.

func AppConfigMapNamespace

func AppConfigMapNamespace(customResource v1alpha1.App) string

AppConfigMapNamespace returns the namespace of the configmap that stores app level config for the provided app CR.

func AppName

func AppName(customResource v1alpha1.App) string

func AppSecretName

func AppSecretName(customResource v1alpha1.App) string

AppSecretName returns the name of the secret that stores app level secrets for the provided app CR.

func AppSecretNamespace

func AppSecretNamespace(customResource v1alpha1.App) string

AppSecretNamespace returns the namespace of the secret that stores app level secrets for the provided app CR.

func AppStatus

func AppStatus(customResource v1alpha1.App) v1alpha1.AppStatus

func AppVersionSelector added in v1.0.5

func AppVersionSelector(unique bool) labels.Selector

func CatalogName

func CatalogName(customResource v1alpha1.App) string

func ChartConfigMapName

func ChartConfigMapName(customResource v1alpha1.App) string

ChartConfigMapName returns the name of the configmap that stores config for the chart CR that is generated for the provided app CR.

func ChartSecretName

func ChartSecretName(customResource v1alpha1.App) string

ChartSecretName returns the name of the secret that stores secrets for the chart CR that is generated for the provided app CR.

func ChartStatus

func ChartStatus(customResource v1alpha1.Chart) v1alpha1.ChartStatus

func ClusterID

func ClusterID(customResource v1alpha1.App) string

func ClusterValuesConfigMapName

func ClusterValuesConfigMapName(customResource v1alpha1.App) string

func CordonReason

func CordonReason(customResource v1alpha1.App) string

func CordonUntil

func CordonUntil(customResource v1alpha1.App) string

func CordonUntilDate added in v1.1.0

func CordonUntilDate() string

CordonUntilDate sets the date that app CRs should be cordoned until the specific date.

func DefaultCatalogStorageURL added in v1.1.0

func DefaultCatalogStorageURL() string

func HelmMajorVersion added in v1.1.0

func HelmMajorVersion(customResource v1alpha1.App) string

func InCluster

func InCluster(customResource v1alpha1.App) bool

func IsAppCordoned added in v1.1.0

func IsAppCordoned(customResource v1alpha1.App) bool

func IsChartCordoned added in v1.1.0

func IsChartCordoned(customResource v1alpha1.Chart) bool

func IsDeleted

func IsDeleted(customResource v1alpha1.App) bool

func IsEmptyValueError

func IsEmptyValueError(err error) bool

IsEmptyValueError asserts emptyValueError.

func IsWrongTypeError

func IsWrongTypeError(err error) bool

IsWrongTypeError asserts wrongTypeError.

func KubeConfigFinalizer

func KubeConfigFinalizer(customResource v1alpha1.App) string

func KubecConfigSecretName

func KubecConfigSecretName(customResource v1alpha1.App) string

func KubecConfigSecretNamespace

func KubecConfigSecretNamespace(customResource v1alpha1.App) string

func Namespace

func Namespace(customResource v1alpha1.App) string

func OrganizationID

func OrganizationID(customResource v1alpha1.App) string

func ReleaseName added in v1.1.0

func ReleaseName(customResource v1alpha1.App) string

func ToCustomResource

func ToCustomResource(v interface{}) (v1alpha1.App, error)

ToCustomResource converts value to v1alpha1.App and returns it or error if type does not match.

func UserConfigMapName

func UserConfigMapName(customResource v1alpha1.App) string

UserConfigMapName returns the name of the configmap that stores user level config for the provided app CR.

func UserConfigMapNamespace

func UserConfigMapNamespace(customResource v1alpha1.App) string

UserConfigMapNamespace returns the namespace of the configmap that stores user level config for the provided app CR.

func UserSecretName

func UserSecretName(customResource v1alpha1.App) string

UserSecretName returns the name of the secret that stores user level secrets for the provided app CR.

func UserSecretNamespace

func UserSecretNamespace(customResource v1alpha1.App) string

UserSecretNamespace returns the namespace of the secret that stores user level secrets for the provided app CR.

func Version

func Version(customResource v1alpha1.App) string

func VersionLabel

func VersionLabel(customResource v1alpha1.App) string

VersionLabel returns the label value to determine if the custom resource is supported by this version of the operatorkit resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

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