Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
BucketName string `yaml:"bucket_name"`
ServiceAccount flagext.Secret `yaml:"service_account" doc:"description_method=GCSServiceAccountLongDescription"`
HTTP HTTPConfig `yaml:"http"`
}
Config holds the config options for GCS backend
func (*Config) GCSServiceAccountLongDescription ¶
func (*Config) GCSServiceAccountShortDescription ¶
func (*Config) RegisterFlags ¶
RegisterFlags registers the flags for GCS storage
type HTTPConfig ¶ added in v1.13.0
type HTTPConfig struct {
IdleConnTimeout time.Duration `yaml:"idle_conn_timeout" category:"advanced"`
ResponseHeaderTimeout time.Duration `yaml:"response_header_timeout" category:"advanced"`
InsecureSkipVerify bool `yaml:"insecure_skip_verify" category:"advanced"`
TLSHandshakeTimeout time.Duration `yaml:"tls_handshake_timeout" category:"advanced"`
ExpectContinueTimeout time.Duration `yaml:"expect_continue_timeout" category:"advanced"`
MaxIdleConns int `yaml:"max_idle_conns" category:"advanced"`
MaxIdleConnsPerHost int `yaml:"max_idle_conns_per_host" category:"advanced"`
MaxConnsPerHost int `yaml:"max_conns_per_host" category:"advanced"`
}
func (*HTTPConfig) RegisterFlagsWithPrefix ¶ added in v1.13.0
func (cfg *HTTPConfig) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
RegisterFlagsWithPrefix registers the flags for s3 storage with the provided prefix
Click to show internal directories.
Click to hide internal directories.