rds

package
v0.43.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 rdsiface.RDSAPI, spec []*svcapitypes.Tag, resourceName *string) (bool, error)

AreTagsUpToDate for spec and resourceName

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

func ListTagsForResource(client rdsiface.RDSAPI, resourceName *string) ([]*svcsdk.Tag, error)

ListTagsForResource for the given resource

func UpdateTagsForResource

func UpdateTagsForResource(client rdsiface.RDSAPI, spec []*svcapitypes.Tag, resourceName *string) error

UpdateTagsForResource with resourceName

Types

This section is empty.

Jump to

Keyboard shortcuts

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