storeaz

package
v0.0.0-...-f9df99f Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateContainerIfNotExists

func CreateContainerIfNotExists(ctx context.Context, containerClient *container.Client) error

func DepointerizeMetadata

func DepointerizeMetadata(metadata map[string]*string) map[string]string

func NewBlobClient

func NewBlobClient(conf Credentials) (*azblob.Client, error)

NewTusAzBlobClient returns a azure blob client

func NewContainerClient

func NewContainerClient(conf Credentials, containerName string) (*container.Client, error)

func PointerizeMetadata

func PointerizeMetadata(metadata map[string]string) map[string]*string

Types

type AzureBlobHealthCheck

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

func NewAzureHealthCheck

func NewAzureHealthCheck(conf *azurestore.AzConfig) (*AzureBlobHealthCheck, error)

func (*AzureBlobHealthCheck) Health

type Credentials

type Credentials struct {
	StorageName       string
	StorageKey        string
	TenantId          string
	ClientId          string
	ClientSecret      string
	ContainerEndpoint string
}

Jump to

Keyboard shortcuts

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