Documentation
¶
Index ¶
- func ListResourceTags(ctx context.Context, client resourceTagsClient, mr metricsRecorder, ...) ([]*v1alpha1.Tag, error)
- func ListTags(ctx context.Context, client tagsClient, mr metricsRecorder, resourceARN string) ([]*v1alpha1.Tag, error)
- func SyncResourceTags(ctx context.Context, client resourceTagsClient, mr metricsRecorder, ...) (err error)
- func SyncTags(ctx context.Context, client tagsClient, mr metricsRecorder, resourceID string, ...) (err error)
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.