rdsmock

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRDSServiceMock

func CreateRDSServiceMock(options ...RDSServiceMockOption) *rdsServiceMock

CreateRDSServiceMock creates a new instance of the RDS service mock with the provided options.

func CreateRDSServiceMockFactory

func CreateRDSServiceMockFactory(
	options ...RDSServiceMockOption,
) func(awsConfig *aws.Config, providerContext provider.Context) rdsservice.Service

CreateRDSServiceMockFactory returns a service factory bound to a single mock instance.

Types

type RDSServiceMockOption

type RDSServiceMockOption func(*rdsServiceMock)

RDSServiceMockOption is a function type for configuring the RDS service mock.

func WithDeregisterDBProxyTargetsError

func WithDeregisterDBProxyTargetsError(err error) RDSServiceMockOption

func WithDeregisterDBProxyTargetsOutput

func WithDeregisterDBProxyTargetsOutput(output *rds.DeregisterDBProxyTargetsOutput) RDSServiceMockOption

func WithDescribeDBProxyTargetsError

func WithDescribeDBProxyTargetsError(err error) RDSServiceMockOption

func WithDescribeDBProxyTargetsOutput

func WithDescribeDBProxyTargetsOutput(output *rds.DescribeDBProxyTargetsOutput) RDSServiceMockOption

func WithModifyDBProxyTargetGroupError

func WithModifyDBProxyTargetGroupError(err error) RDSServiceMockOption

func WithModifyDBProxyTargetGroupOutput

func WithModifyDBProxyTargetGroupOutput(output *rds.ModifyDBProxyTargetGroupOutput) RDSServiceMockOption

func WithRegisterDBProxyTargetsError

func WithRegisterDBProxyTargetsError(err error) RDSServiceMockOption

func WithRegisterDBProxyTargetsOutput

func WithRegisterDBProxyTargetsOutput(output *rds.RegisterDBProxyTargetsOutput) RDSServiceMockOption

Jump to

Keyboard shortcuts

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