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.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" )
Variables ¶
This section is empty.
Functions ¶
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.