Documentation ¶
Overview ¶
Package azure provides a storagedriver.StorageDriver implementation to store blobs in Microsoft Azure Blob Storage Service.
Index ¶
Constants ¶
View Source
const ( UDCGracePeriod = 30.0 * time.Minute UDCExpiryTime = 48.0 * time.Hour )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver is a storagedriver.StorageDriver implementation backed by Microsoft Azure Blob Storage Service.
func New ¶
func New(params *Parameters) (*Driver, error)
New constructs a new Driver from parameters
type Parameters ¶
type Parameters struct { Container string `mapstructure:"container"` AccountName string `mapstructure:"accountname"` AccountKey string `mapstructure:"accountkey"` Credentials Credentials `mapstructure:"credentials"` ConnectionString string `mapstructure:"connectionstring"` Realm string `mapstructure:"realm"` RootDirectory string `mapstructure:"rootdirectory"` ServiceURL string `mapstructure:"serviceurl"` CopyStatusPollMaxRetry int `mapstructure:"copy_status_poll_max_retry"` CopyStatusPollDelay string `mapstructure:"copy_status_poll_delay"` }
func NewParameters ¶
func NewParameters(parameters map[string]interface{}) (*Parameters, error)
Click to show internal directories.
Click to hide internal directories.