azurecli

package
v0.0.0-...-e73abb9 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserAgent = "DEPLOYMENT_TOOLS"
)

Azure Client Constants

Variables

This section is empty.

Functions

func CreateContainer

func CreateContainer() error

func DeleteContainer

func DeleteContainer() error

func DownloadBlob

func DownloadBlob() error

DownloadBlob Downloads a blob to a container

func GetClientAuthorizer

func GetClientAuthorizer() (autorest.Authorizer, error)

GetClientAuthorizer Gets a client Authorizer for Azure

func ListFilesInContainer

func ListFilesInContainer(next string) ([]azblob.BlobItemInternal, error)

func Login

func Login() *entities.AzureLogin

func Logoff

func Logoff()

func UploadBlob

func UploadBlob() error

UploadBlob Uploads a blob to a container

Types

type AzureClient

type AzureClient struct {
}

type StorageAccountClient

type StorageAccountClient struct {
	Authorizer           autorest.Authorizer
	StorageAccountClient *storage.AccountsClient
	StorageAccountKeys   *[]StorageAccountKey
}

func CreateStorageAccountClient

func CreateStorageAccountClient() *StorageAccountClient

func (*StorageAccountClient) Test

func (cli *StorageAccountClient) Test()

type StorageAccountKey

type StorageAccountKey struct {
	Name  string
	Value string
}

Jump to

Keyboard shortcuts

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