Documentation ¶
Index ¶
- Variables
- func CheckNilInterface(i interface{}) bool
- func ConvertArnToFullname(arnString string) string
- func ConvertFullnameToArn(fullName string, service string) string
- func GetConcurrency(cfg *config.ConfigMap) int
- func GetEmailAddressFromTags(tags []*tag.Tag, result string) string
- func GetRegions(cfg *config.ConfigMap) []string
- func GetResourceNamesFromPolicyBindingArray(input []model.PolicyBinding) []string
- func GetTags(input []types.Tag) []*tag.Tag
- func GetTrustUserPolicyArn(resourceType, resourceId string, account string) arn.ARN
- func ParseAndValidateArn(inputArn string, account *string, service *string) (string, error)
- func RemoveEndingWildcards(name string) string
- func SetSubtract[T comparable](setA set.Set[T], setB set.Set[T]) set.Set[T]
- func StripWhitespace(query string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger hclog.Logger
Functions ¶
func CheckNilInterface ¶
func CheckNilInterface(i interface{}) bool
func ConvertArnToFullname ¶
func ConvertFullnameToArn ¶
func GetConcurrency ¶
func GetRegions ¶
func GetResourceNamesFromPolicyBindingArray ¶
func GetResourceNamesFromPolicyBindingArray(input []model.PolicyBinding) []string
func GetTrustUserPolicyArn ¶
func ParseAndValidateArn ¶
parseAndValidateArn parses the ARN and returns the resource part. Optionally, it can verify that the account and/or service match.
func RemoveEndingWildcards ¶
func SetSubtract ¶
func StripWhitespace ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.