az

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Credential *azblob.SharedKeyCredential
	Pipeline   pipeline.Pipeline
	// contains filtered or unexported fields
}

func NewApp

func NewApp() (*App, error)

func (*App) AcquireBlobLease added in v0.2.0

func (a *App) AcquireBlobLease(containerName, blobName string, duration int32) (leaseID string, err error)

func (*App) AcquireContainerLease added in v0.2.0

func (a *App) AcquireContainerLease(containerName string, duration int32) (leaseID string, err error)

func (*App) DownloadBlob added in v0.2.0

func (a *App) DownloadBlob(containerName, blobName, destination string) error

func (*App) UploadBlob added in v0.3.0

func (a *App) UploadBlob(containerName, blobName, source string) error

func (*App) UploadBlobBatch added in v0.3.0

func (a *App) UploadBlobBatch(sourceDirectory, containerName string) error

Jump to

Keyboard shortcuts

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