tags

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualTags

func EqualTags(
	a map[string]*string,
	b map[string]*string,
) 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,
) (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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL