Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAWSSession ¶ added in v0.2.0
func GetAWSSession(parameters map[string]interface{}, creds []byte, defaultRegion string) (*session.Session, error)
GetAWSSession returns an aws.session.Session based on the parameters or environment variables
* If parameters are not present or incomplete (secret key, access key AND region) * then let default config loading order to go on: * https://docs.aws.amazon.com/sdk-for-go/api/aws/session/
func RandomStringObjectSafe ¶
RandomStringObjectSafe returns a random string that is safe to use as an k8s object Name
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/
Types ¶
type AWSCredentials ¶ added in v0.2.0
AWSCredentials represents expected credentials
Click to show internal directories.
Click to hide internal directories.