Documentation ¶
Index ¶
- Constants
- func ConfigAdd(path string)
- func NewConfig(ctx context.Context, plugins ...Plugin) aws.Config
- func NewConfigWithConfigPath(ctx context.Context, path string, plugins ...Plugin) (aws.Config, error)
- func NewConfigWithOptions(ctx context.Context, options *Options, plugins ...Plugin) aws.Config
- type Options
- type Plugin
Constants ¶
View Source
const (
PluginsRoot = root + ".plugins"
)
Variables ¶
This section is empty.
Functions ¶
func NewConfigWithConfigPath ¶
Types ¶
type Options ¶
type Options struct { AccessKeyId string SecretAccessKey string DefaultRegion string SessionToken string DefaultAccountNumber string MaxAttempts int 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 options based a given key path.
Click to show internal directories.
Click to hide internal directories.