Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobInterface ¶
type BlobInterface interface {
GetBlobClient() *azblob.Client
ListBlobs(containerName string) ([]*BlobInfo, error)
UploadBlobBuffer(blobName, containerName string, data []byte) error
UploadBlobStream(blobName, containerName string, data io.Reader) error
UploadFile(blobName, containerName string, blobSize int) error
DownloadBlob(blobInfo BlobInfo, containerName string) (*azblob.DownloadStreamResponse, error)
DownloadFile(blobInfo BlobInfo, containerName string) error
WriteToFile(blobName string, response azblob.DownloadStreamResponse) error
GetSasUrl(blobName, containerName string) (string, error)
// contains filtered or unexported methods
}
func New ¶
func New(conf *config.Config) BlobInterface
Click to show internal directories.
Click to hide internal directories.