Documentation ¶
Index ¶
- func BindDeveloperOptions(opts *RawCreateOptions, flags *flag.FlagSet)
- func BindOptions(opts *RawCreateOptions, flags *flag.FlagSet)
- func CreateIAMOptions(awsOpts *ValidatedCreateOptions, infra *awsinfra.CreateInfraOutput) awsinfra.CreateIAMOptions
- func CreateInfraOptions(awsOpts *ValidatedCreateOptions, opts *core.CreateOptions) awsinfra.CreateInfraOptions
- func DestroyCluster(ctx context.Context, o *core.DestroyOptions) error
- func NewCreateCommand(opts *core.RawCreateOptions) *cobra.Command
- func NewDestroyCommand(opts *core.DestroyOptions) *cobra.Command
- func ValidateCreateCredentialInfo(opts awsutil.AWSCredentialsOptions, ...) error
- func ValidateCredentialInfo(opts awsutil.AWSCredentialsOptions, credentialSecretName, namespace string) error
- type CreateOptions
- type RawCreateOptions
- type ValidatedCreateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindDeveloperOptions ¶ added in v0.1.38
func BindDeveloperOptions(opts *RawCreateOptions, flags *flag.FlagSet)
func BindOptions ¶ added in v0.1.38
func BindOptions(opts *RawCreateOptions, flags *flag.FlagSet)
func CreateIAMOptions ¶ added in v0.1.37
func CreateIAMOptions(awsOpts *ValidatedCreateOptions, infra *awsinfra.CreateInfraOutput) awsinfra.CreateIAMOptions
func CreateInfraOptions ¶ added in v0.1.37
func CreateInfraOptions(awsOpts *ValidatedCreateOptions, opts *core.CreateOptions) awsinfra.CreateInfraOptions
func DestroyCluster ¶
func DestroyCluster(ctx context.Context, o *core.DestroyOptions) error
func NewCreateCommand ¶
func NewCreateCommand(opts *core.RawCreateOptions) *cobra.Command
func NewDestroyCommand ¶
func NewDestroyCommand(opts *core.DestroyOptions) *cobra.Command
func ValidateCreateCredentialInfo ¶ added in v0.1.10
func ValidateCreateCredentialInfo(opts awsutil.AWSCredentialsOptions, credentialSecretName, namespace, pullSecretFile string) error
ValidateCreateCredentialInfo validates if the credentials secret name is empty that the aws-creds and pull-secret flags are not empty; validates if the credentials secret is not empty, that it can be retrieved
func ValidateCredentialInfo ¶ added in v0.1.10
func ValidateCredentialInfo(opts awsutil.AWSCredentialsOptions, credentialSecretName, namespace string) error
ValidateCredentialInfo validates if the credentials secret name is empty, the aws-creds or sts-creds mutually exclusive and are not empty; validates if the credentials secret is not empty, that it can be retrieved.
Types ¶
type CreateOptions ¶ added in v0.1.38
type CreateOptions struct {
// contains filtered or unexported fields
}
func (*CreateOptions) ApplyPlatformSpecifics ¶ added in v0.1.38
func (o *CreateOptions) ApplyPlatformSpecifics(cluster *hyperv1.HostedCluster) error
func (*CreateOptions) GenerateNodePools ¶ added in v0.1.38
func (o *CreateOptions) GenerateNodePools(constructor core.DefaultNodePoolConstructor) []*hyperv1.NodePool
func (*CreateOptions) GenerateResources ¶ added in v0.1.38
func (o *CreateOptions) GenerateResources() ([]client.Object, error)
type RawCreateOptions ¶ added in v0.1.38
type RawCreateOptions struct { Credentials awsutil.AWSCredentialsOptions CredentialSecretName string AdditionalTags []string IAMJSON string InstanceType string IssuerURL string PrivateZoneID string PublicZoneID string Region string RootVolumeIOPS int64 RootVolumeSize int64 RootVolumeType string RootVolumeEncryptionKey string EndpointAccess string Zones []string EtcdKMSKeyARN string EnableProxy bool ProxyVPCEndpointServiceName string SingleNATGateway bool MultiArch bool VPCCIDR string VPCOwnerCredentials awsutil.AWSCredentialsOptions }
func DefaultOptions ¶ added in v0.1.38
func DefaultOptions() *RawCreateOptions
func (*RawCreateOptions) Validate ¶ added in v0.1.38
func (o *RawCreateOptions) Validate(ctx context.Context, opts *core.CreateOptions) (core.PlatformCompleter, error)
type ValidatedCreateOptions ¶ added in v0.1.38
type ValidatedCreateOptions struct {
// contains filtered or unexported fields
}
func (*ValidatedCreateOptions) Complete ¶ added in v0.1.38
func (o *ValidatedCreateOptions) Complete(ctx context.Context, opts *core.CreateOptions) (core.Platform, error)
Click to show internal directories.
Click to hide internal directories.