Documentation
¶
Index ¶
- Constants
- func BindDeveloperOptions(opts *RawCreateOptions, flags *pflag.FlagSet)
- func BindOptions(opts *RawCreateOptions, flags *pflag.FlagSet)
- func BindProductFlags(opts *RawCreateOptions, flags *pflag.FlagSet)
- func CreateInfraOptions(ctx context.Context, azureOpts *ValidatedCreateOptions, ...) (azureinfra.CreateInfraOptions, error)
- func DestroyCluster(ctx context.Context, o *core.DestroyOptions) error
- func NewCreateCommand(opts *core.RawCreateOptions) *cobra.Command
- func NewDestroyCommand(opts *core.DestroyOptions) *cobra.Command
- type AzureEncryptionKey
- type CreateOptions
- type RawCreateOptions
- type ValidatedCreateOptions
Constants ¶
const ( SATokenIssuerSecret = "sa-token-issuer-key" ObjectEncoding = "utf-8" )
Variables ¶
This section is empty.
Functions ¶
func BindDeveloperOptions ¶ added in v0.1.38
func BindDeveloperOptions(opts *RawCreateOptions, flags *pflag.FlagSet)
BindDeveloperOptions binds developer/development only options for the Azure create cluster command
func BindOptions ¶ added in v0.1.38
func BindOptions(opts *RawCreateOptions, flags *pflag.FlagSet)
func BindProductFlags ¶ added in v0.1.73
func BindProductFlags(opts *RawCreateOptions, flags *pflag.FlagSet)
BindProductFlags binds customer-facing flags for self-managed Azure in the product CLI
func CreateInfraOptions ¶ added in v0.1.37
func CreateInfraOptions(ctx context.Context, azureOpts *ValidatedCreateOptions, opts *core.CreateOptions) (azureinfra.CreateInfraOptions, error)
CreateInfraOptions creates the Azure infrastructure options for the HostedCluster create cluster command
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
Types ¶
type AzureEncryptionKey ¶ added in v0.1.38
AzureEncryptionKey contains the information about the encryption key for the HostedCluster to be used for etcd encryption with KMSv2
type CreateOptions ¶ added in v0.1.38
type CreateOptions struct {
// contains filtered or unexported fields
}
CreateOptions is the options for the Azure create cluster command
func (*CreateOptions) ApplyPlatformSpecifics ¶ added in v0.1.38
func (o *CreateOptions) ApplyPlatformSpecifics(cluster *hyperv1.HostedCluster) error
ApplyPlatformSpecifics applies the Azure platform specific settings to the HostedCluster
func (*CreateOptions) GenerateNodePools ¶ added in v0.1.38
func (o *CreateOptions) GenerateNodePools(constructor core.DefaultNodePoolConstructor) []*hyperv1.NodePool
GenerateNodePools generates the initial nodepool(s) for the Azure HostedCluster create cluster command
func (*CreateOptions) GenerateResources ¶ added in v0.1.38
func (o *CreateOptions) GenerateResources() ([]crclient.Object, error)
GenerateResources generates the Kubernetes resources for the Azure HostedCluster create cluster command
type RawCreateOptions ¶ added in v0.1.38
type RawCreateOptions struct {
CredentialsFile string
Location string
EncryptionKeyID string
AvailabilityZones []string
ResourceGroupName string
VnetID string
NetworkSecurityGroupID string
ResourceGroupTags map[string]string
SubnetID string
KMSUserAssignedCredsSecretName string
TechPreviewEnabled bool
DNSZoneRGName string
ManagedIdentitiesFile string
DataPlaneIdentitiesFile string
WorkloadIdentitiesFile string
AssignServicePrincipalRoles bool
AssignCustomHCPRoles bool
IssuerURL string
ServiceAccountTokenIssuerKeyPath string
MultiArch bool
NodePoolOpts *azurenodepool.RawAzurePlatformCreateOptions
}
RawCreateOptions is the raw options for the Azure create cluster command
func DefaultOptions ¶ added in v0.1.38
func DefaultOptions() *RawCreateOptions
func (*RawCreateOptions) Validate ¶ added in v0.1.38
func (o *RawCreateOptions) Validate(_ context.Context, _ *core.CreateOptions) (core.PlatformCompleter, error)
Validate validates the Azure create cluster command options
type ValidatedCreateOptions ¶ added in v0.1.38
type ValidatedCreateOptions struct {
// contains filtered or unexported fields
}
ValidatedCreateOptions is the validated options for the Azure create cluster command
func (*ValidatedCreateOptions) Complete ¶ added in v0.1.38
func (o *ValidatedCreateOptions) Complete(ctx context.Context, opts *core.CreateOptions) (core.Platform, error)
Complete completes the Azure create cluster command options