aws

package
v0.1.50 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

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 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

type ValidatedCreateOptions added in v0.1.38

type ValidatedCreateOptions struct {
	// contains filtered or unexported fields
}

func (*ValidatedCreateOptions) Complete added in v0.1.38

Jump to

Keyboard shortcuts

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