clients

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: MIT Imports: 8 Imported by: 1

Documentation

Overview

package clients provides the Azure clients for the operator to interact with Azure services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AZClients

type AZClients struct {
	AzureConfig *AzureConfig

	StorageAccountsClient    *armstorage.AccountsClient
	BlobContainersClient     *armstorage.BlobContainersClient
	ManagementPoliciesClient *armstorage.ManagementPoliciesClient
	// contains filtered or unexported fields
}

func NewAZClients

func NewAZClients(configFile string) (*AZClients, error)

func (*AZClients) GetBlobServiceClient

func (azclients *AZClients) GetBlobServiceClient(storageAccountName string) (*storageservice.Client, error)

GetBlobServiceClient gives a blob service client for a given storage account.

type AzureConfig

type AzureConfig struct {
	azclient.AzureAuthConfig `json:",inline" yaml:",inline"`
	azclient.ARMClientConfig `json:",inline" yaml:",inline"`

	SubscriptionID string `json:"subscriptionID,omitempty"`
	// The name of the resource group that the cluster is deployed in
	ResourceGroup string `json:"resourceGroup,omitempty" yaml:"resourceGroup,omitempty"`
	// The location of the resource group that the cluster is deployed in
	Location string `json:"location,omitempty" yaml:"location,omitempty"`
}

AzureConfig represents the configuration for Azure clients.

Jump to

Keyboard shortcuts

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