azure

package
v0.0.0-...-45697b8 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadBuffer

func DownloadBuffer(containerName string, blobName string) ([]byte, error)

func DownloadSignedURLToFile

func DownloadSignedURLToFile(signedURL string, fileName string, progress func(bytes int64)) error

func GetMessagesURLAndContext

func GetMessagesURLAndContext() (azqueue.MessagesURL, context.Context)

func InitBlob

func InitBlob()

InitBlob creates the blob containers if they do not exist

func InitQueue

func InitQueue()

InitQueue is called by Cobra to setup the queue as needed

func PostMessage

func PostMessage(queueName string, message string) error

func UploadBuffer

func UploadBuffer(containerName string, blobName string, buffer []byte) error

func UploadFromFile

func UploadFromFile(containerName string, blobName string, fileName string, progress func(bytes int64)) (string, error)

func UpsertContainer

func UpsertContainer(containerName string) error

UpsertContainer creates a blob storage container if it does not already exist

func UpsertQueue

func UpsertQueue(queueName string) error

Upsert creates a queue if it does not exist

Types

This section is empty.

Jump to

Keyboard shortcuts

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