Documentation ¶
Index ¶
- func AddExternalTags(mg resource.Managed, spec []*svcapitypes.Tag) []*svcapitypes.Tag
- func AreTagsUpToDate(client efsiface.EFSAPI, spec []*svcapitypes.Tag, resourceID *string) (bool, error)
- func DiffTags(spec []*svcapitypes.Tag, current []*svcsdk.Tag) (addTags []*svcsdk.Tag, removeTags []*string)
- func GetExternalTags(mg resource.Managed) []*svcapitypes.Tag
- func ListTagsForResource(client efsiface.EFSAPI, resourceID *string) ([]*svcsdk.Tag, error)
- func UpdateTagsForResource(client efsiface.EFSAPI, spec []*svcapitypes.Tag, resourceID *string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddExternalTags ¶
func AddExternalTags(mg resource.Managed, spec []*svcapitypes.Tag) []*svcapitypes.Tag
AddExternalTags to spec if they don't exist
func AreTagsUpToDate ¶
func AreTagsUpToDate(client efsiface.EFSAPI, spec []*svcapitypes.Tag, resourceID *string) (bool, error)
AreTagsUpToDate for spec and resourceID
func DiffTags ¶
func DiffTags(spec []*svcapitypes.Tag, current []*svcsdk.Tag) (addTags []*svcsdk.Tag, removeTags []*string)
DiffTags between spec and current
func GetExternalTags ¶
func GetExternalTags(mg resource.Managed) []*svcapitypes.Tag
GetExternalTags is a wrapper around resource.GetExternalTags to return a sorted array instead of a map
func ListTagsForResource ¶
ListTagsForResource for the given resource
func UpdateTagsForResource ¶
func UpdateTagsForResource(client efsiface.EFSAPI, spec []*svcapitypes.Tag, resourceID *string) error
UpdateTagsForResource with resourceID
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.