Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AZStorageConfig ¶
type AZStorageConfig struct {
AccountName string `json:"account_name"`
AccountKey string `json:"account_key"`
ContainerName string `json:"container_name"`
Environment string `json:"environment"`
Timeout string `json:"put_timeout_in_seconds"`
HTTPRequestTimeout string `json:"http_request_timeout"`
HTTPResponseHeaderTimeout string `json:"http_response_header_timeout"`
}
func NewFromReader ¶
func NewFromReader(reader io.Reader) (AZStorageConfig, error)
NewFromReader returns a new azure-storage-cli configuration struct from the contents of reader. reader.Read() is expected to return valid JSON
func (AZStorageConfig) HTTPRequestTimeoutValue ¶ added in v1.0.7
func (c AZStorageConfig) HTTPRequestTimeoutValue() (time.Duration, error)
func (AZStorageConfig) HTTPResponseHeaderTimeoutValue ¶ added in v1.0.7
func (c AZStorageConfig) HTTPResponseHeaderTimeoutValue() (time.Duration, error)
func (AZStorageConfig) StorageEndpoint ¶
func (c AZStorageConfig) StorageEndpoint() string
Click to show internal directories.
Click to hide internal directories.