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 Id."` Retries int `json:"retries" pflag:",Number of retries."` MaxErrorStringLength int `json:"maxErrorLength" pflag:",Maximum size of error messages."` CatalogCacheTimeout config.Duration `json:"catalog-timeout" pflag:"\"5s\",Timeout duration for checking catalog for all batch tasks"` }
Config section for AWS Package
type RateLimiterConfig ¶
Click to show internal directories.
Click to hide internal directories.