Documentation ¶
Index ¶
- Constants
- func AppCatalogConfigMapName(customResource v1alpha1.AppCatalog) string
- func AppCatalogConfigMapNamespace(customResource v1alpha1.AppCatalog) string
- func AppCatalogSecretName(customResource v1alpha1.AppCatalog) string
- func AppCatalogSecretNamespace(customResource v1alpha1.AppCatalog) string
- func AppCatalogStorageURL(customResource v1alpha1.AppCatalog) string
- func AppCatalogTitle(customResource v1alpha1.AppCatalog) string
- func AppConfigMapName(customResource v1alpha1.App) string
- func AppConfigMapNamespace(customResource v1alpha1.App) string
- func AppName(customResource v1alpha1.App) string
- func AppSecretName(customResource v1alpha1.App) string
- func AppSecretNamespace(customResource v1alpha1.App) string
- func AppStatus(customResource v1alpha1.App) v1alpha1.AppStatus
- func AppVersionSelector(unique bool) labels.Selector
- func CatalogName(customResource v1alpha1.App) string
- func ChartConfigMapName(customResource v1alpha1.App) string
- func ChartSecretName(customResource v1alpha1.App) string
- func ChartStatus(customResource v1alpha1.Chart) v1alpha1.ChartStatus
- func ClusterID(customResource v1alpha1.App) string
- func ClusterValuesConfigMapName(customResource v1alpha1.App) string
- func CordonReason(customResource v1alpha1.App) string
- func CordonUntil(customResource v1alpha1.App) string
- func CordonUntilDate() string
- func DefaultCatalogStorageURL() string
- func HelmMajorVersion(customResource v1alpha1.App) string
- func InCluster(customResource v1alpha1.App) bool
- func IsAppCordoned(customResource v1alpha1.App) bool
- func IsChartCordoned(customResource v1alpha1.Chart) bool
- func IsDeleted(customResource v1alpha1.App) bool
- func IsEmptyValueError(err error) bool
- func IsWrongTypeError(err error) bool
- func KubeConfigFinalizer(customResource v1alpha1.App) string
- func KubecConfigSecretName(customResource v1alpha1.App) string
- func KubecConfigSecretNamespace(customResource v1alpha1.App) string
- func Namespace(customResource v1alpha1.App) string
- func OrganizationID(customResource v1alpha1.App) string
- func ReleaseName(customResource v1alpha1.App) string
- func ToCustomResource(v interface{}) (v1alpha1.App, error)
- func UserConfigMapName(customResource v1alpha1.App) string
- func UserConfigMapNamespace(customResource v1alpha1.App) string
- func UserSecretName(customResource v1alpha1.App) string
- func UserSecretNamespace(customResource v1alpha1.App) string
- func Version(customResource v1alpha1.App) string
- func VersionLabel(customResource v1alpha1.App) string
Constants ¶
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 ¶
AppConfigMapName returns the name of the configmap that stores app level config for the provided app CR.
func AppConfigMapNamespace ¶
AppConfigMapNamespace returns the namespace of the configmap that stores app level config for the provided app CR.
func AppSecretName ¶
AppSecretName returns the name of the secret that stores app level secrets for the provided app CR.
func AppSecretNamespace ¶
AppSecretNamespace returns the namespace of the secret that stores app level secrets for the provided app CR.
func AppVersionSelector ¶
func CatalogName ¶
func ChartConfigMapName ¶
ChartConfigMapName returns the name of the configmap that stores config for the chart CR that is generated for the provided app CR.
func ChartSecretName ¶
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 CordonReason ¶
func CordonUntil ¶
func CordonUntilDate ¶
func CordonUntilDate() string
CordonUntilDate sets the date that app CRs should be cordoned until the specific date.
func DefaultCatalogStorageURL ¶
func DefaultCatalogStorageURL() string
func HelmMajorVersion ¶
func IsAppCordoned ¶
func IsChartCordoned ¶
func IsEmptyValueError ¶
IsEmptyValueError asserts emptyValueError.
func IsWrongTypeError ¶
IsWrongTypeError asserts wrongTypeError.
func KubeConfigFinalizer ¶
func KubecConfigSecretName ¶
func OrganizationID ¶
func ReleaseName ¶
func ToCustomResource ¶
ToCustomResource converts value to v1alpha1.App and returns it or error if type does not match.
func UserConfigMapName ¶
UserConfigMapName returns the name of the configmap that stores user level config for the provided app CR.
func UserConfigMapNamespace ¶
UserConfigMapNamespace returns the namespace of the configmap that stores user level config for the provided app CR.
func UserSecretName ¶
UserSecretName returns the name of the secret that stores user level secrets for the provided app CR.
func UserSecretNamespace ¶
UserSecretNamespace returns the namespace of the secret that stores user level secrets for the provided app CR.
func VersionLabel ¶
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.