Documentation
¶
Index ¶
- func AssumeRole(role string, config *aws.Config) (*aws.Config, error)
- func ContainsString(array []string, element string) bool
- func GetRegion(profile string) (string, error)
- func LoadFiles(root string, ignoreFile []byte) (files []string, err error)
- func ParseEnv(env []string) (map[string]string, error)
- func ProfileAndRegionFromConfig(environment string) (string, string, error)
- func ReadIgnoreFile(dir string) ([]byte, error)
- func Sha256(b []byte) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssumeRole ¶
AssumeRole uses STS to assume the given `role`.
func ContainsString ¶
ContainsString checks if array contains string
func LoadFiles ¶
LoadFiles return filtered map of relative to 'root' file paths; for filtering it uses shell file name pattern matching
func ProfileAndRegionFromConfig ¶
ProfileAndRegionFromConfig attempts to load the .profile setting from `environment`'s config.
func ReadIgnoreFile ¶
ReadIgnoreFile reads .apexignore in `dir` when present and returns a list of patterns.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.