azure

package
v0.1.73 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

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

type AzureEncryptionKey struct {
	KeyVaultName string
	KeyName      string
	KeyVersion   string
}

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

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

Complete completes the Azure create cluster command options

Jump to

Keyboard shortcuts

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