tags

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListResourceTags added in v1.6.0

func ListResourceTags(
	ctx context.Context,
	client resourceTagsClient,
	mr metricsRecorder,
	resourceARN string,
) ([]*v1alpha1.Tag, error)

ListResourceTags queries the list of tags associated with the supplied resource ARN via the standardized ListTagsForResource API.

func ListTags

func ListTags(
	ctx context.Context,
	client tagsClient,
	mr metricsRecorder,
	resourceARN string,
) ([]*v1alpha1.Tag, error)

getResourceTagsPagesWithContext queries the list of tags of a given resource.

func SyncResourceTags added in v1.6.0

func SyncResourceTags(
	ctx context.Context,
	client resourceTagsClient,
	mr metricsRecorder,
	resourceARN string,
	aTags []*v1alpha1.Tag,
	bTags []*v1alpha1.Tag,
) (err error)

SyncResourceTags examines the Tags in the supplied resource and calls the TagResource and UntagResource APIs to ensure that the set of associated Tags stays in sync with the desired Spec.Tags. It is the standardized-tagging analogue of SyncTags (which targets the Certificate-specific tag API).

func SyncTags

func SyncTags(
	ctx context.Context,
	client tagsClient,
	mr metricsRecorder,
	resourceID string,
	aTags []*v1alpha1.Tag,
	bTags []*v1alpha1.Tag,
) (err error)

syncTags examines the Tags in the supplied Resource and calls the TagResource and UntagResource APIs to ensure that the set of associated Tags stays in sync with the Resource.Spec.Tags

Types

This section is empty.

Jump to

Keyboard shortcuts

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