azure

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2025 License: AGPL-3.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServiceAccountIssuerURL added in v0.8.0

func GetServiceAccountIssuerURL(ctx context.Context) string

func NewAzureCloudProvider

func NewAzureCloudProvider() cloud.CloudProvider

Types

type Azure

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

func CloudProviderToAzure

func CloudProviderToAzure(ctx context.Context, cloudProvider cloud.CloudProvider) *Azure

Type casts the give CloudProvider interface instance to an instance of the Azure struct. Panics if the type casting fails.

func (*Azure) DeleteResourceGroup

func (a *Azure) DeleteResourceGroup(ctx context.Context)

func (*Azure) GetSealedSecretsBackupBucketName

func (a *Azure) GetSealedSecretsBackupBucketName() string

func (*Azure) GetVMSpecs

func (a *Azure) GetVMSpecs(ctx context.Context, vmType string) *cloud.VMSpec

func (*Azure) SetupDisasterRecovery

func (a *Azure) SetupDisasterRecovery(ctx context.Context)

Sets up the provisioned cluster for Disaster Recovery.

func (*Azure) SetupWorkloadIdentityProvider

func (a *Azure) SetupWorkloadIdentityProvider(ctx context.Context)

Make sure you go through ./WorkloadIdentity.md first.

func (*Azure) UpdateCapiClusterValuesFileWithCloudSpecificDetails

func (a *Azure) UpdateCapiClusterValuesFileWithCloudSpecificDetails(ctx context.Context,
	capiClusterValuesFilePath string,
	_updates any,
)

func (*Azure) UpdateMachineTemplate

func (a *Azure) UpdateMachineTemplate(
	ctx context.Context,
	clusterClient client.Client,
	_updates any,
)

type TemplateArgs

type TemplateArgs struct {
	StorageAccountName,
	BlobContainerName string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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