Documentation
¶
Index ¶
- func DiffUpdatableParameters(desired, observed *svcapitypes.DBClusterParameterGroupParameters) []string
- func GenerateCreateDBClusterParameterGroupInput(cr *svcapitypes.DBClusterParameterGroup) (*svcsdk.CreateDBClusterParameterGroupInput, error)
- func GenerateDBClusterParameterGroup(resp *svcsdk.DescribeDBClusterParameterGroupsOutput) *svcapitypes.DBClusterParameterGroup
- func GenerateDeleteDBClusterParameterGroupInput(cr *svcapitypes.DBClusterParameterGroup) (*svcsdk.DeleteDBClusterParameterGroupInput, error)
- func GenerateDescribeDBClusterParameterGroupsInput(cr *svcapitypes.DBClusterParameterGroup) (*svcsdk.DescribeDBClusterParameterGroupsInput, error)
- func GenerateModifyDBClusterParameterGroupInput(cr *svcapitypes.DBClusterParameterGroup) (*svcsdk.ModifyDBClusterParameterGroupInput, error)
- func IsNotFound(err error) bool
- func Setup(mgr ctrl.Manager, o controller.Options) error
- func SetupGated(mgr ctrl.Manager, o controller.Options) error
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffUpdatableParameters ¶
func DiffUpdatableParameters(desired, observed *svcapitypes.DBClusterParameterGroupParameters) []string
DiffUpdatableParameters returns the JSON names of the spec fields that ModifyDBClusterParameterGroup can change and whose desired value differs from the observed one (see compare.IsSubset). Fields that are not set in desired are not compared. Fields whose name or shape differs between the update input and the read output are not included; compare them by hand.
func GenerateCreateDBClusterParameterGroupInput ¶
func GenerateCreateDBClusterParameterGroupInput(cr *svcapitypes.DBClusterParameterGroup) (*svcsdk.CreateDBClusterParameterGroupInput, error)
GenerateCreateDBClusterParameterGroupInput returns a create input.
func GenerateDBClusterParameterGroup ¶
func GenerateDBClusterParameterGroup(resp *svcsdk.DescribeDBClusterParameterGroupsOutput) *svcapitypes.DBClusterParameterGroup
GenerateDBClusterParameterGroup returns the current state in the form of *svcapitypes.DBClusterParameterGroup.
func GenerateDeleteDBClusterParameterGroupInput ¶
func GenerateDeleteDBClusterParameterGroupInput(cr *svcapitypes.DBClusterParameterGroup) (*svcsdk.DeleteDBClusterParameterGroupInput, error)
GenerateDeleteDBClusterParameterGroupInput returns a deletion input.
func GenerateDescribeDBClusterParameterGroupsInput ¶
func GenerateDescribeDBClusterParameterGroupsInput(cr *svcapitypes.DBClusterParameterGroup) (*svcsdk.DescribeDBClusterParameterGroupsInput, error)
GenerateDescribeDBClusterParameterGroupsInput returns input for read operation.
func GenerateModifyDBClusterParameterGroupInput ¶
func GenerateModifyDBClusterParameterGroupInput(cr *svcapitypes.DBClusterParameterGroup) (*svcsdk.ModifyDBClusterParameterGroupInput, error)
GenerateModifyDBClusterParameterGroupInput returns an update input.
func IsNotFound ¶
IsNotFound returns whether the given error means that the resource does not exist.
func Setup ¶
func Setup(mgr ctrl.Manager, o controller.Options) error
Setup adds a controller that reconciles DBClusterParameterGroup.
func SetupGated ¶
func SetupGated(mgr ctrl.Manager, o controller.Options) error
SetupGated adds the DBClusterParameterGroup controller once its CRD is available.
Types ¶
type Client ¶
type Client interface {
DescribeDBClusterParameterGroups(context.Context, *svcsdk.DescribeDBClusterParameterGroupsInput, ...func(*svcsdk.Options)) (*svcsdk.DescribeDBClusterParameterGroupsOutput, error)
CreateDBClusterParameterGroup(context.Context, *svcsdk.CreateDBClusterParameterGroupInput, ...func(*svcsdk.Options)) (*svcsdk.CreateDBClusterParameterGroupOutput, error)
ModifyDBClusterParameterGroup(context.Context, *svcsdk.ModifyDBClusterParameterGroupInput, ...func(*svcsdk.Options)) (*svcsdk.ModifyDBClusterParameterGroupOutput, error)
DeleteDBClusterParameterGroup(context.Context, *svcsdk.DeleteDBClusterParameterGroupInput, ...func(*svcsdk.Options)) (*svcsdk.DeleteDBClusterParameterGroupOutput, error)
AddTagsToResource(context.Context, *svcsdk.AddTagsToResourceInput, ...func(*svcsdk.Options)) (*svcsdk.AddTagsToResourceOutput, error)
DescribeDBClusterParameters(context.Context, *svcsdk.DescribeDBClusterParametersInput, ...func(*svcsdk.Options)) (*svcsdk.DescribeDBClusterParametersOutput, error)
ListTagsForResource(context.Context, *svcsdk.ListTagsForResourceInput, ...func(*svcsdk.Options)) (*svcsdk.ListTagsForResourceOutput, error)
RemoveTagsFromResource(context.Context, *svcsdk.RemoveTagsFromResourceInput, ...func(*svcsdk.Options)) (*svcsdk.RemoveTagsFromResourceOutput, error)
}
Client is the part of the docdb API used by the DBClusterParameterGroup controller.