Documentation
¶
Overview ¶
AWS-specific logic to handle execution and monitoring of batch jobs.
Index ¶
Constants ¶
View Source
const ( EnvAwsProfile = "AWS_PROFILE" ErrEmptyCredentials errors.ErrorCode = "EMPTY_CREDS" ErrUnknownHost errors.ErrorCode = "UNKNOWN_HOST" )
View Source
const ConfigSectionKey = "aws"
Variables ¶
This section is empty.
Functions ¶
func MustRegisterSubSection ¶
Types ¶
type Client ¶
type Client interface {
GetSession() *session.Session
GetSdkConfig() *aws.Config
GetConfig() *Config
GetHostName() string
}
A generic AWS Client that can be used for all AWS Client libraries.
type Config ¶
type Config struct {
Region string `json:"region" pflag:",AWS Region to connect to."`
AccountID string `json:"accountId" pflag:",AWS Account Identifier."`
Retries int `json:"retries" pflag:",Number of retries."`
LogLevel aws.ClientLogMode `json:"logLevel" pflag:"-,Defines the Sdk Log Level."`
}
Config section for AWS Package
func (Config) GetPFlagSet ¶
GetPFlagSet will return strongly types pflags for all fields in Config and its nested types. The format of the flags is json-name.json-sub-name... etc.
type RateLimiterConfig ¶
Click to show internal directories.
Click to hide internal directories.