Documentation
¶
Index ¶
- func GetTag(tags []*ec2.Tag, key string) (*ec2.Tag, bool)
- func GetTagValue(tags []*ec2.Tag, key string) (string, bool)
- func HasTag(tags []*ec2.Tag, key, value string) bool
- func IsAWSError(err error, code string) bool
- func IsAWSErrorType(err error) bool
- func IsResourceNotFoundException(err error) bool
- func New(config Config) (preload.Interface, error)
- func SanitizeName(name string) string
- func ToMapTags(tags map[string]*string) []map[string]interface{}
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTagValue ¶
GetTagValue returns the value of the given tag key if it exist
func IsAWSError ¶
IsAWSError returns true if the given error is an AWS error nolint:errorlint
func IsAWSErrorType ¶
IsAWSErrorType returns true if the given error is an AWS error nolint:errorlint
func IsResourceNotFoundException ¶
IsResourceNotFoundException returns true if the given error is a resource not found error
func SanitizeName ¶ added in v0.3.27
SanitizeName sanitizes the given name
Types ¶
Click to show internal directories.
Click to hide internal directories.