azure

package
v0.0.0-...-3f65eeb Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 34 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDriver

NewDriver creates a new storage driver for Azure Blob Storage.

Types

type Azure

type Azure struct {
	// IPI
	SubscriptionID     string
	ClientID           string
	ClientSecret       string
	TenantID           string
	ResourceGroup      string
	Region             string
	FederatedTokenFile string

	// UPI
	AccountKey string
}

Azure holds configuration used to reach Azure's endpoints.

func GetConfig

GetConfig reads configuration for the Azure cloud platform services. It first attempts to load credentials from ImageRegistryPrivateConfigurationUser secret, if this secret is not present this function loads credentials from cluster wide config present on secret CloudCredentialsName.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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