Documentation
¶
Overview ¶
Package util represent few common functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAWSResourceTagByARN ¶
func GetAWSResourceTagByARN(ctx context.Context, resourceTaggingService ResourceTaggingServiceClient, arn string) (map[string]string, error)
GetAWSResourceTagByARN provides tags for any resource from ARN
Types ¶
type ResourceTaggingServiceClient ¶
type ResourceTaggingServiceClient interface {
GetResources(context.Context, *resourcegroupstaggingapi.GetResourcesInput, ...func(*resourcegroupstaggingapi.Options)) (*resourcegroupstaggingapi.GetResourcesOutput, error)
}
ResourceTaggingServiceClient construct resource tagging service
Click to show internal directories.
Click to hide internal directories.