Help us shape the future of Go! Take the 2026 Go Developer Survey

blobstorage

package
v1.10.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBlobHTTPHeadersFromRequest

func CreateBlobHTTPHeadersFromRequest(meta map[string]string, contentType *string, log logger.Logger) (blob.HTTPHeaders, error)

func SanitizeMetadata

func SanitizeMetadata(log logger.Logger, metadata map[string]string) map[string]string

Types

type BlobStorageMetadata

type BlobStorageMetadata struct {
	AccountName       string
	AccountKey        string
	ContainerName     string
	RetryCount        int32 `json:"retryCount,string"`
	DecodeBase64      bool  `json:"decodeBase64,string"`
	PublicAccessLevel azblob.PublicAccessType
}

func CreateContainerStorageClient

func CreateContainerStorageClient(log logger.Logger, meta map[string]string) (*container.Client, *BlobStorageMetadata, error)

Jump to

Keyboard shortcuts

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