installmanager

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: Apache-2.0 Imports: 51 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInstallManagerCommand

func NewInstallManagerCommand() *cobra.Command

NewInstallManagerCommand is the entrypoint to create the 'install-manager' subcommand

Types

type InstallManager

type InstallManager struct {
	LogLevel               string
	WorkDir                string
	LogsDir                string
	ClusterID              string
	ClusterName            string
	ClusterProvisionName   string
	Namespace              string
	InstallConfigMountPath string
	PullSecretMountPath    string
	ManifestsMountPath     string
	DynamicClient          client.Client
	// contains filtered or unexported fields
}

InstallManager coordinates executing the openshift-install binary, modifying generated assets, and uploading artifacts to the kube API after completion.

func (*InstallManager) Complete

func (m *InstallManager) Complete(args []string) error

Complete sets remaining fields on the InstallManager based on command options and arguments.

func (*InstallManager) Run

func (m *InstallManager) Run() error

Run is the entrypoint to start the install process

func (*InstallManager) Validate

func (m *InstallManager) 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