azure

package
v0.1.54 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const SATokenIssuerSecret = "sa-token-issuer-key"

Variables

This section is empty.

Functions

func BindDeveloperOptions added in v0.1.38

func BindDeveloperOptions(opts *RawCreateOptions, flags *pflag.FlagSet)

func BindOptions added in v0.1.38

func BindOptions(opts *RawCreateOptions, flags *pflag.FlagSet)

func CreateInfraOptions added in v0.1.37

func CreateInfraOptions(ctx context.Context, azureOpts *ValidatedCreateOptions, opts *core.CreateOptions) (azureinfra.CreateInfraOptions, error)

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
}

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() ([]crclient.Object, error)

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
	RHCOSImage                       string
	KMSClientID                      string
	KMSCertName                      string
	TechPreviewEnabled               bool
	DNSZoneRGName                    string
	ManagedIdentitiesFile            string
	DataPlaneIdentitiesFile          string
	AssignServicePrincipalRoles      bool
	IssuerURL                        string
	ServiceAccountTokenIssuerKeyPath string

	NodePoolOpts *azurenodepool.RawAzurePlatformCreateOptions
}

func DefaultOptions added in v0.1.38

func DefaultOptions(client crclient.Client, log logr.Logger) (*RawCreateOptions, error)

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