Documentation ¶
Index ¶
- func IsErrorRetryable(err error) bool
- func NewAWSRoute53Config() *aws.Config
- func NewConfig() *aws.Config
- func NewSTSSession(agent, rolenArn, region string, assumeRoleCreds *credentials.Credentials) (*session.Session, error)
- func NewSession(agent, credentialsFile, credKey, credSecretKey, region string) *session.Session
- func ParseSTSCredentialsFile(credentialsFile string) (*credentials.Credentials, error)
- func ValidateVPCCIDR(in string) error
- type AWSCredentialsOptions
- func (opts *AWSCredentialsOptions) BindFlags(flags *pflag.FlagSet)
- func (opts *AWSCredentialsOptions) BindProductFlags(flags *pflag.FlagSet)
- func (opts *AWSCredentialsOptions) BindVPCOwnerFlags(flags *pflag.FlagSet)
- func (opts *AWSCredentialsOptions) GetSession(agent string, secretData *util.CredentialsSecretData, region string) (*session.Session, error)
- func (opts *AWSCredentialsOptions) Validate() error
- type Credentials
- type STSCreds
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsErrorRetryable ¶
func NewAWSRoute53Config ¶
NewAWSRoute53Config generates an AWS config with slightly different Retryer timings
func NewSTSSession ¶ added in v0.1.32
func NewSTSSession(agent, rolenArn, region string, assumeRoleCreds *credentials.Credentials) (*session.Session, error)
func NewSession ¶
func ParseSTSCredentialsFile ¶ added in v0.1.32
func ParseSTSCredentialsFile(credentialsFile string) (*credentials.Credentials, error)
func ValidateVPCCIDR ¶ added in v0.1.50
Types ¶
type AWSCredentialsOptions ¶ added in v0.1.32
type AWSCredentialsOptions struct { AWSCredentialsFile string RoleArn string STSCredentialsFile string }
func (*AWSCredentialsOptions) BindFlags ¶ added in v0.1.32
func (opts *AWSCredentialsOptions) BindFlags(flags *pflag.FlagSet)
func (*AWSCredentialsOptions) BindProductFlags ¶ added in v0.1.32
func (opts *AWSCredentialsOptions) BindProductFlags(flags *pflag.FlagSet)
func (*AWSCredentialsOptions) BindVPCOwnerFlags ¶ added in v0.1.49
func (opts *AWSCredentialsOptions) BindVPCOwnerFlags(flags *pflag.FlagSet)
func (*AWSCredentialsOptions) GetSession ¶ added in v0.1.32
func (opts *AWSCredentialsOptions) GetSession(agent string, secretData *util.CredentialsSecretData, region string) (*session.Session, error)
func (*AWSCredentialsOptions) Validate ¶ added in v0.1.32
func (opts *AWSCredentialsOptions) Validate() error
type Credentials ¶ added in v0.1.32
type STSCreds ¶ added in v0.1.38
type STSCreds struct {
Credentials Credentials `json:"Credentials"`
}
Click to show internal directories.
Click to hide internal directories.