Documentation ¶
Index ¶
- func ConsoleLinkName(atlasMap *v1alpha1.AtlasMap) string
- func ConsoleLinkText(atlasMap *v1alpha1.AtlasMap) string
- func GetEnvVar(name string, defaultValue string) string
- func GetIngressHostNameFor(atlasMap *v1alpha1.AtlasMap) string
- func ImageName(image string, tag string) string
- func IsOpenShift(config *rest.Config) (bool, error)
- func IsOpenShift43Plus(config *rest.Config) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsoleLinkName ¶
ConsoleLinkName generates a name for an OpenShift ConsoleLink
func ConsoleLinkText ¶
ConsoleLinkText generates text to be displayed for an OpenShift ConsoleLink
func GetEnvVar ¶
GetEnvVar gets the value of the given environment variable or returns a default value if it does not exist
func GetIngressHostNameFor ¶
GetIngressHostNameFor generates a host name for the Ingress host
func IsOpenShift ¶
IsOpenShift returns true if the platform cluster is OpenShift
func IsOpenShift43Plus ¶
IsOpenShift43Plus returns true if the cluster version is OpenShift >= 4.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.