Documentation
¶
Index ¶
- func GetClientSecretCredentials(ctx context.Context) *azidentity.ClientSecretCredential
- func GetServiceAccountIssuerURL(ctx context.Context) string
- func GetStorageAccountURL() string
- func NewAzureCloudProvider() cloud.CloudProvider
- type Azure
- func (a *Azure) DeleteResourceGroup(ctx context.Context)
- func (a *Azure) GetVMSpecs(ctx context.Context, vmType string) *cloud.VMSpec
- func (a *Azure) SetupDisasterRecovery(ctx context.Context)
- func (a *Azure) SetupWorkloadIdentityProvider(ctx context.Context)
- func (a *Azure) UpdateCapiClusterValuesFileWithCloudSpecificDetails(ctx context.Context, capiClusterValuesFilePath string, _updates any)
- func (a *Azure) UpdateMachineTemplate(ctx context.Context, clusterClient client.Client, _updates any)
- type TemplateArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientSecretCredentials ¶ added in v0.9.0
func GetClientSecretCredentials(ctx context.Context) *azidentity.ClientSecretCredential
Constructs and returns Azure client secret credentials.
func GetServiceAccountIssuerURL ¶ added in v0.8.0
Returns URL of the external OpenID provider being used for Workload Identity support.
func GetStorageAccountURL ¶ added in v0.9.0
func GetStorageAccountURL() string
Returns URL of the storage account being used.
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 (*Azure) GetVMSpecs ¶
func (*Azure) SetupDisasterRecovery ¶
Sets up the provisioned cluster for Disaster Recovery.
func (*Azure) SetupWorkloadIdentityProvider ¶
Make sure you go through ./WorkloadIdentity.md first.
func (*Azure) UpdateCapiClusterValuesFileWithCloudSpecificDetails ¶
type TemplateArgs ¶
type TemplateArgs struct {
StorageAccountName,
BlobContainerName string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.