Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInstallManagerCommand ¶
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.
type LogUploaderActuator ¶ added in v1.0.16
type LogUploaderActuator interface { // IsConfigured returns true if the actuator can handle a particular case IsConfigured() bool // UploadLogs uploads installer logs to the provider's storage mechanism. UploadLogs(clusterName string, clusterprovision *hivev1.ClusterProvision, c client.Client, log log.FieldLogger, filenames ...string) error }
LogUploaderActuator interface is the interface that is used to add provider support for uploading logs.
Click to show internal directories.
Click to hide internal directories.