storage

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: MPL-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeAccountSASConnectionString added in v0.10.0

func ComputeAccountSASConnectionString(env *azure.Environment, accountName string, sasToken string) string

ComputeAccountSASConnectionString computes the composed SAS Connection String for a Storage Account based on the sas token

func ComputeAccountSASConnectionUrlForType added in v0.10.0

func ComputeAccountSASConnectionUrlForType(env *azure.Environment, accountName string, sasToken string, storageType string) (*string, error)

ComputeAccountSASConnectionUrlForType computes the SAS Connection String for a Storage Account based on the sas token and the storage type

func ComputeAccountSASToken added in v0.3.0

func ComputeAccountSASToken(accountName string,
	accountKey string,
	permissions string,
	services string,
	resourceTypes string,
	start string,
	expiry string,
	signedProtocol string,
	signedIp string,
	signedVersion string,
) (string, error)

ComputeAccountSASToken computes the SAS Token for a Storage Account based on the access key & given permissions

func ComputeContainerSASToken added in v0.6.0

func ComputeContainerSASToken(signedPermissions string,
	signedStart string,
	signedExpiry string,
	accountName string,
	accountKey string,
	containerName string,
	signedIdentifier string,
	signedIp string,
	signedProtocol string,
	signedSnapshotTime string,
	cacheControl string,
	contentDisposition string,
	contentEncoding string,
	contentLanguage string,
	contentType string,
) (string, error)

func ParseAccountSASConnectionString added in v0.3.0

func ParseAccountSASConnectionString(connString string) (map[string]string, error)

ParseAccountSASConnectionString parses the Connection String for a Storage Account

Types

This section is empty.

Jump to

Keyboard shortcuts

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