Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ImagesetJobLabel is the label used for counting the number of imageset jobs in Hive
ImagesetJobLabel = "hive.openshift.io/imageset"
)
Variables ¶
This section is empty.
Functions ¶
func GenerateImageSetJob ¶
func GenerateImageSetJob(cd *hivev1.ClusterDeployment, releaseImage, serviceAccountName, httpProxy, httpsProxy, noProxy string) *batchv1.Job
GenerateImageSetJob creates a job to determine the installer image for a ClusterImageSet given a release image
func GetImageSetJobName ¶
GetImageSetJobName returns the expected name of the imageset job for a ClusterImageSet.
func NewUpdateInstallerImageCommand ¶
NewUpdateInstallerImageCommand returns a command to update the installer image on a cluster deployment.
Types ¶
type UpdateInstallerImageOptions ¶
type UpdateInstallerImageOptions struct { ClusterDeploymentName string ClusterDeploymentNamespace string LogLevel string WorkDir string // contains filtered or unexported fields }
UpdateInstallerImageOptions contains options for running the command to update the installer image
func (*UpdateInstallerImageOptions) Complete ¶
func (o *UpdateInstallerImageOptions) Complete() error
Complete sets remaining fields on the UpdateInstallerImageOptions based on command options and arguments.
func (*UpdateInstallerImageOptions) Run ¶
func (o *UpdateInstallerImageOptions) Run() (returnErr error)
Run updates the given ClusterDeployment based on the image-references file.
func (*UpdateInstallerImageOptions) Validate ¶
func (o *UpdateInstallerImageOptions) Validate() error
Validate ensures the given options and arguments are valid.
Click to show internal directories.
Click to hide internal directories.