Documentation
¶
Index ¶
- func EqualTags(a map[string]*string, b map[string]*string) bool
- func GetResourceTags(ctx context.Context, client tagsClient, mr metricsRecorder, resourceARN string) (map[string]*string, error)
- func SyncResourceTags(ctx context.Context, client tagsClient, mr metricsRecorder, resourceARN string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualTags ¶
equalTags returns true if two Tag arrays are equal regardless of the order of their elements.
func GetResourceTags ¶
func GetResourceTags( ctx context.Context, client tagsClient, mr metricsRecorder, resourceARN string, ) (map[string]*string, error)
GetResourceTags retrieves a resource list of tags.
func SyncResourceTags ¶
func SyncResourceTags( ctx context.Context, client tagsClient, mr metricsRecorder, resourceARN string, desiredTags map[string]*string, latestTags map[string]*string, ) error
SyncResourceTags uses TagResource and UntagResource API Calls to add, remove and update resource tags.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.