dbsubnetgroup

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateObservation

func GenerateObservation(sg rds.DBSubnetGroup) v1beta1.DBSubnetGroupObservation

GenerateObservation is used to produce v1alpha3.RDSInstanceObservation from rds.DBSubnetGroup

func IsDBSubnetGroupNotFoundErr

func IsDBSubnetGroupNotFoundErr(err error) bool

IsDBSubnetGroupNotFoundErr returns true if the error is because the item doesn't exist

func IsDBSubnetGroupUpToDate

func IsDBSubnetGroupUpToDate(p v1beta1.DBSubnetGroupParameters, sg rds.DBSubnetGroup, tags []rds.Tag) bool

IsDBSubnetGroupUpToDate checks whether there is a change in any of the modifiable fields.

func IsErrorNotFound

func IsErrorNotFound(err error) bool

IsErrorNotFound helper function to test for ErrCodeDBSubnetGroupNotFoundFault error

func LateInitialize

func LateInitialize(in *v1beta1.DBSubnetGroupParameters, sg *rds.DBSubnetGroup)

LateInitialize fills the empty fields in *v1beta1.DBSubnetGroupParameters with

Types

type Client

type Client interface {
	CreateDBSubnetGroupRequest(input *rds.CreateDBSubnetGroupInput) rds.CreateDBSubnetGroupRequest
	DeleteDBSubnetGroupRequest(input *rds.DeleteDBSubnetGroupInput) rds.DeleteDBSubnetGroupRequest
	DescribeDBSubnetGroupsRequest(input *rds.DescribeDBSubnetGroupsInput) rds.DescribeDBSubnetGroupsRequest
	ModifyDBSubnetGroupRequest(input *rds.ModifyDBSubnetGroupInput) rds.ModifyDBSubnetGroupRequest
	AddTagsToResourceRequest(input *rds.AddTagsToResourceInput) rds.AddTagsToResourceRequest
	ListTagsForResourceRequest(input *rds.ListTagsForResourceInput) rds.ListTagsForResourceRequest
}

Client is the external client used for DBSubnetGroup Custom Resource

func NewClient

func NewClient(cfg aws.Config) Client

NewClient returns a new client using AWS credentials as JSON encoded data.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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