Documentation ¶
Index ¶
- func EqualTags(a []*svcapitypes.Tag, b []*svcapitypes.Tag) bool
- func GetResourceTags(ctx context.Context, client tagsClient, mr metricsRecorder, resourceARN string) ([]*svcapitypes.Tag, 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 ¶
func EqualTags( a []*svcapitypes.Tag, b []*svcapitypes.Tag, ) bool
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, ) ([]*svcapitypes.Tag, error)
GetResourceTags retrieves a resource list of tags.
func SyncResourceTags ¶
func SyncResourceTags( ctx context.Context, client tagsClient, mr metricsRecorder, resourceARN string, latestTags []*svcapitypes.Tag, desiredTags []*svcapitypes.Tag, ) 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.