Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobConfig ¶
type BlobConfig struct {
Account string `yaml:"account"`
AccountKey string `yaml:"key"`
Container string `yaml:"container"`
SASTimeout time.Duration `yaml:"sasTimeout"`
}
BlobConfig is the Azure-Blob-config that is imported in the `message`-object in the app
func (*BlobConfig) Connect ¶
func (cfg *BlobConfig) Connect(dryRun bool) (*BlobStorage, error)
Connect is used to connect to the blob-storage
type BlobStorage ¶
type BlobStorage struct {
// contains filtered or unexported fields
}
BlobStorage is the 'api' of the azre-blob-storage
func (*BlobStorage) Save ¶
func (store *BlobStorage) Save(name, location, ct string, size int64, dryRun bool) (*storage.StoredObject, error)
Save a file to the blob-storage
Click to show internal directories.
Click to hide internal directories.