config

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

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