Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HiveImageEnvVar is the optional environment variable that overrides the image to use // for provisioning/deprovisioning. Typically this is the same image used by the hive // operator and is set as an EnvVar on the deployment. HiveImageEnvVar = "HIVE_IMAGE" // DefaultHiveImage is the image to use for hive when an image is not specified via the // environment variable DefaultHiveImage = "registry.svc.ci.openshift.org/openshift/hive-v4.0:hive" // HiveImagePullPolicyEnvVar is the optional environment variable that overrides // the pull policy to use for pulling the hive image. Typically this is the same // pull policy used by the the hive operator and is set as an EnvVar on the deployment. HiveImagePullPolicyEnvVar = "HIVE_IMAGE_PULL_POLICY" // CLIImageEnvVar is the optional environment variable that overrides the openshift CLI // image to use for extracting release information. CLIImageEnvVar = "CLI_IMAGE" // DefaultCLIImage is the image to use for the openshift CLI when an image is not specified // via the environment variable DefaultCLIImage = "registry.svc.ci.openshift.org/openshift/origin-v4.0:cli" )
Variables ¶
This section is empty.
Functions ¶
func GetCLIImage ¶
func GetCLIImage() string
GetCLIImage returns the CLI image to use in controllers. Either the one specified in the environment variable or the hardcoded default.
func GetHiveImage ¶
func GetHiveImage() string
GetHiveImage returns the hive image to use in controllers. Either the one specified in the environment variable or the hardcoded default.
func GetHiveImagePullPolicy ¶
func GetHiveImagePullPolicy() corev1.PullPolicy
GetHiveImagePullPolicy returns the policy to use when pulling the hive image. Either the one specified in the environment variable or the hardcoded default.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.