azure

package
v0.0.0-...-9d4c33d Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobCredentialProvider

type BlobCredentialProvider struct {
	AccountName string
	AccountKey  string
}

BlobCredentialProvider - Provides a SharedKeyCredential from the azblob package

func (BlobCredentialProvider) CreateCredential

func (b BlobCredentialProvider) CreateCredential() (
	*azblob.SharedKeyCredential,
	error,
)

CreateCredential - Creates the SharedKeyCredential

type ContainerURLProvider

type ContainerURLProvider struct {
	CredsProvider BlobCredentialProvider
}

ContainerURLProvider - Provides a ContainerURL from the azblob package

func (ContainerURLProvider) CreateContainerURL

func (c ContainerURLProvider) CreateContainerURL(
	containerName string,
) (
	azblob.ContainerURL,
	error,
)

CreateContainerURL - Creates a ContainerURL

Jump to

Keyboard shortcuts

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