blob

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2019 License: MIT Imports: 6 Imported by: 0

README

#nibbler-azure-blob

A simple Azure Blob Storage extension for Nibbler

Usage

Some Nibbler config values are required:

  • azure.blob.account.name (AZURE_BLOB_ACCOUNT_NAME env var)
  • azure.blob.account.key (AZURE_BLOB_ACCOUNT_KEY env var)

Upon init, the extension will have an initialized the credentials for Azure. To use the extension, call the GetContainerURL method and perform operations on the result.

This extension obviously requires an Azure Storage Account. Once an account is added, go to "Access keys" on the storage account. Copy the account name and one of the keys and set the appropriate environment variables listed above

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extension

type Extension struct {
	nibbler.Extension
	// contains filtered or unexported fields
}

func (*Extension) AddRoutes

func (s *Extension) AddRoutes(app *nibbler.Application) error

func (*Extension) Destroy

func (s *Extension) Destroy(app *nibbler.Application) error

func (*Extension) GetContainerURL

func (s *Extension) GetContainerURL(ctx context.Context, name string) (*azblob.ContainerURL, error)

func (*Extension) Init

func (s *Extension) Init(app *nibbler.Application) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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