Documentation ¶
Index ¶
- func ComputeAccountSASConnectionString(env *azure.Environment, accountName string, sasToken string) string
- func ComputeAccountSASConnectionUrlForType(env *azure.Environment, accountName string, sasToken string, ...) (*string, error)
- func ComputeAccountSASToken(accountName string, accountKey string, permissions string, services string, ...) (string, error)
- func ComputeContainerSASToken(signedPermissions string, signedStart string, signedExpiry string, ...) (string, error)
- func ParseAccountSASConnectionString(connString string) (map[string]string, error)
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)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.