Documentation ¶
Index ¶
- Constants
- func ConfigAdd(path string)
- func NewConfig(ctx context.Context, plugins ...Plugin) (aws.Config, error)
- func NewConfigWithConfigPath(ctx context.Context, path string, plugins ...Plugin) (aws.Config, error)
- func NewConfigWithOptions(ctx context.Context, options *Options, plugins ...Plugin) (aws.Config, error)
- type Options
- type OptionsCustomEndpoint
- type Plugin
Constants ¶
View Source
const (
PluginsRoot = root + ".plugins"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { AccessKeyId string SecretAccessKey string DefaultRegion string SessionToken string DefaultAccountNumber string MaxAttempts int CustomEndpoint OptionsCustomEndpoint HasRateLimit bool MaxConnsPerHost int MaxIdleConns int MaxIdleConnsPerHost int TimeoutMillis time.Duration KeepAliveMillis time.Duration IdleConnTimeoutMillis time.Duration ResponseHeaderTimeoutMillis time.Duration HttpClient client.Options }
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals a given key path into options and returns it.
type OptionsCustomEndpoint ¶
Click to show internal directories.
Click to hide internal directories.