Documentation ¶
Index ¶
Constants ¶
View Source
const ( CredentialSection = "credentials" CredentialProfile = "shared_credential_profile" CredentialFile = "shared_credential_file" ProxySection = "proxy" HttpProxy = "http_proxy" HttpsProxy = "https_proxy" NoProxy = "no_proxy" SSLSection = "ssl" CABundlePath = "ca_bundle_path" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonConfig ¶
type CommonConfig struct { Credentials *Credentials Proxy *Proxy SSL *SSL IMDS *IMDS }
func New ¶
func New() *CommonConfig
func (CommonConfig) CredentialsMap ¶
func (c CommonConfig) CredentialsMap() map[string]string
Temporary functions to enable build TODO: To be removed when all uses of commonconfig stop using map[string]string
func (CommonConfig) ProxyMap ¶
func (c CommonConfig) ProxyMap() map[string]string
Temporary functions to enable build TODO: To be removed when all uses of commonconfig stop using map[string]string
func (CommonConfig) SSLMap ¶
func (c CommonConfig) SSLMap() map[string]string
Temporary functions to enable build TODO: To be removed when all uses of commonconfig stop using map[string]string
type Credentials ¶
type IMDS ¶ added in v1.300028.0
type IMDS struct {
ImdsRetries *int `toml:"imds_retries"`
}
IMDS is in common config because it happens before agent config translation
Click to show internal directories.
Click to hide internal directories.