key

package
v2.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppOperatorAppName

func AppOperatorAppName(getter LabelsGetter) string

func AppOperatorValuesResourceName

func AppOperatorValuesResourceName(getter LabelsGetter) string

func BaseDomain

func BaseDomain(getter LabelsGetter, base string) string

func ChartOperatorAppName

func ChartOperatorAppName(getter LabelsGetter) string

func ClusterCAName

func ClusterCAName(getter LabelsGetter) string

func ClusterID

func ClusterID(getter LabelsGetter) string

func ClusterValuesResourceName

func ClusterValuesResourceName(getter LabelsGetter) string

func DNSIP

func DNSIP(clusterIPRange string) (string, error)

DNSIP returns the IP of the DNS service given a cluster IP range.

func IsDeleted

func IsDeleted(getter DeletionTimestampGetter) bool

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound asserts notFoundError.

func IsWrongTypeError

func IsWrongTypeError(err error) bool

IsWrongTypeError asserts wrongTypeError.

func KubeConfigSecretName

func KubeConfigSecretName(getter LabelsGetter) string

func PodCIDR

func PodCIDR(cr capi.Cluster) string

func ToCluster

func ToCluster(v interface{}) (capi.Cluster, error)

Types

type DeletionTimestampGetter

type DeletionTimestampGetter interface {
	GetDeletionTimestamp() *metav1.Time
}

type LabelsGetter

type LabelsGetter interface {
	GetLabels() map[string]string
}

Jump to

Keyboard shortcuts

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