imageset

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 28 Imported by: 3 modules, 7 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func GetImageSetJobName(cdName string) string

GetImageSetJobName returns the expected name of the imageset job for a ClusterImageSet.

func NewUpdateInstallerImageCommand

func NewUpdateInstallerImageCommand() *cobra.Command

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.

Jump to

Keyboard shortcuts

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