Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInstallManagerAWSCredentials ¶ added in v1.1.1
NewInstallManagerAWSCredentials is the entrypoint to load credentials for AWS SDK using the service provider credentials. It supports the external process credential provider as mentioned in https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sourcing-external.html
func NewInstallManagerCommand ¶
NewInstallManagerCommand is the entrypoint to create the 'install-manager' subcommand
Types ¶
type AWSCredentials ¶ added in v1.1.1
type AWSCredentials struct {
ServiceProviderSecretName string
ServiceProviderSecretNamespace string
RoleARN string
ExternalID string
// contains filtered or unexported fields
}
AWSCredentials is a supported external process credential provider as detailed in https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sourcing-external.html
func (*AWSCredentials) Complete ¶ added in v1.1.1
func (options *AWSCredentials) Complete(args []string) error
Complete the options using the args
func (*AWSCredentials) Run ¶ added in v1.1.1
func (options *AWSCredentials) Run() error
Run runs the command using the options.
func (*AWSCredentials) Validate ¶ added in v1.1.1
func (options *AWSCredentials) Validate() error
Validate the options
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.