Documentation ¶
Index ¶
- func AccountPrimaryKey(ctx context.Context, accountName, accountGroupName string) string
- func AccountProperties(ctx context.Context, rgName, accountName string) (storage.Account, error)
- func CreateContainer(ctx context.Context, name, rgName, containerName string) (azblob.ContainerURL, error)
- func CreateWithNetworkRuleSet(ctx context.Context, accountName, accountGroupName string, ...) (storage.Account, error)
- func DeleteAccount(ctx context.Context, resourceGroupName, accountName string) error
- func DeleteContainer(ctx context.Context, accountName, accountGroupName, containerName string) error
- func GetContainer(ctx context.Context, accountName, accountGroupName, containerName string) (azblob.ContainerURL, error)
- func ListBlobs(ctx context.Context, accountName, accountGroupName, containerName string) (*azblob.ListBlobsFlatSegmentResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountPrimaryKey ¶
AccountPrimaryKey return the primary key
func AccountProperties ¶
AccountProperties returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status
func CreateContainer ¶
func CreateContainer(ctx context.Context, name, rgName, containerName string) (azblob.ContainerURL, error)
CreateContainer creates a new container with the specified name in the specified account
func CreateWithNetworkRuleSet ¶
func CreateWithNetworkRuleSet(ctx context.Context, accountName, accountGroupName string, tags map[string]*string, httpsOnly bool, networkRuleSet *storage.NetworkRuleSet) (storage.Account, error)
CreateWithNetworkRuleSet starts creation of a new Storage Account and waits for the account to be created.
func DeleteAccount ¶
DeleteAccount - deletes a storage account given the azure contect, resource group and account name
func DeleteContainer ¶
func DeleteContainer(ctx context.Context, accountName, accountGroupName, containerName string) error
DeleteContainer deletes the named container.
func GetContainer ¶
func GetContainer(ctx context.Context, accountName, accountGroupName, containerName string) (azblob.ContainerURL, error)
GetContainer gets info about an existing container.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.