fake

package
v0.43.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallAddTagsToResource

type CallAddTagsToResource struct {
	I *docdb.AddTagsToResourceInput
}

CallAddTagsToResource to log call

type CallCreateDBClusterParameterGroupWithContext

type CallCreateDBClusterParameterGroupWithContext struct {
	Ctx  aws.Context
	I    *docdb.CreateDBClusterParameterGroupInput
	Opts []request.Option
}

CallCreateDBClusterParameterGroupWithContext to log call

type CallCreateDBClusterWithContext

type CallCreateDBClusterWithContext struct {
	Ctx  aws.Context
	I    *docdb.CreateDBClusterInput
	Opts []request.Option
}

CallCreateDBClusterWithContext to log call

type CallCreateDBInstanceWithContext

type CallCreateDBInstanceWithContext struct {
	Ctx  aws.Context
	I    *docdb.CreateDBInstanceInput
	Opts []request.Option
}

CallCreateDBInstanceWithContext to log call

type CallCreateDBSubnetGroupWithContext

type CallCreateDBSubnetGroupWithContext struct {
	Ctx  aws.Context
	I    *docdb.CreateDBSubnetGroupInput
	Opts []request.Option
}

CallCreateDBSubnetGroupWithContext to log call

type CallDeleteDBClusterParameterGroupWithContext

type CallDeleteDBClusterParameterGroupWithContext struct {
	Ctx  aws.Context
	I    *docdb.DeleteDBClusterParameterGroupInput
	Opts []request.Option
}

CallDeleteDBClusterParameterGroupWithContext to log call

type CallDeleteDBClusterWithContext

type CallDeleteDBClusterWithContext struct {
	Ctx  aws.Context
	I    *docdb.DeleteDBClusterInput
	Opts []request.Option
}

CallDeleteDBClusterWithContext to log call

type CallDeleteDBInstanceWithContext

type CallDeleteDBInstanceWithContext struct {
	Ctx  aws.Context
	I    *docdb.DeleteDBInstanceInput
	Opts []request.Option
}

CallDeleteDBInstanceWithContext to log call

type CallDeleteDBSubnetGroupWithContext

type CallDeleteDBSubnetGroupWithContext struct {
	Ctx  aws.Context
	I    *docdb.DeleteDBSubnetGroupInput
	Opts []request.Option
}

CallDeleteDBSubnetGroupWithContext to log call

type CallDescribeDBClusterParameterGroupsWithContext

type CallDescribeDBClusterParameterGroupsWithContext struct {
	Ctx  aws.Context
	I    *docdb.DescribeDBClusterParameterGroupsInput
	Opts []request.Option
}

CallDescribeDBClusterParameterGroupsWithContext to log call

type CallDescribeDBClusterParameters

type CallDescribeDBClusterParameters struct {
	I *docdb.DescribeDBClusterParametersInput
}

CallDescribeDBClusterParameters to log call

type CallDescribeDBClusterParametersWithContext added in v0.43.0

type CallDescribeDBClusterParametersWithContext struct {
	Ctx  aws.Context
	I    *docdb.DescribeDBClusterParametersInput
	Opts []request.Option
}

CallDescribeDBClusterParametersWithContext to log call

type CallDescribeDBClustersWithContext

type CallDescribeDBClustersWithContext struct {
	Ctx  aws.Context
	I    *docdb.DescribeDBClustersInput
	Opts []request.Option
}

CallDescribeDBClustersWithContext to log call

type CallDescribeDBInstancesWithContext

type CallDescribeDBInstancesWithContext struct {
	Ctx  aws.Context
	I    *docdb.DescribeDBInstancesInput
	Opts []request.Option
}

CallDescribeDBInstancesWithContext to log call

type CallDescribeDBSubnetGroupsWithContext

type CallDescribeDBSubnetGroupsWithContext struct {
	Ctx  aws.Context
	I    *docdb.DescribeDBSubnetGroupsInput
	Opts []request.Option
}

CallDescribeDBSubnetGroupsWithContext to log call

type CallListTagsForResource

type CallListTagsForResource struct {
	I *docdb.ListTagsForResourceInput
}

CallListTagsForResource to log call

type CallModifyDBClusterParameterGroupWithContext

type CallModifyDBClusterParameterGroupWithContext struct {
	Ctx  aws.Context
	I    *docdb.ModifyDBClusterParameterGroupInput
	Opts []request.Option
}

CallModifyDBClusterParameterGroupWithContext to log call

type CallModifyDBClusterWithContext

type CallModifyDBClusterWithContext struct {
	Ctx  aws.Context
	I    *docdb.ModifyDBClusterInput
	Opts []request.Option
}

CallModifyDBClusterWithContext to log call

type CallModifyDBInstanceWithContext

type CallModifyDBInstanceWithContext struct {
	Ctx  aws.Context
	I    *docdb.ModifyDBInstanceInput
	Opts []request.Option
}

CallModifyDBInstanceWithContext to log call

type CallModifyDBSubnetGroupWithContext

type CallModifyDBSubnetGroupWithContext struct {
	Ctx  aws.Context
	I    *docdb.ModifyDBSubnetGroupInput
	Opts []request.Option
}

CallModifyDBSubnetGroupWithContext to log call

type CallRemoveTagsFromResource

type CallRemoveTagsFromResource struct {
	I *docdb.RemoveTagsFromResourceInput
}

CallRemoveTagsFromResource to log call

type CallRestoreDBClusterFromSnapshotWithContext added in v0.41.0

type CallRestoreDBClusterFromSnapshotWithContext struct {
	Ctx  aws.Context
	I    *docdb.RestoreDBClusterFromSnapshotInput
	Opts []request.Option
}

CallRestoreDBClusterFromSnapshotWithContext to log call

type CallRestoreDBClusterToPointInTimeWithContext added in v0.41.0

type CallRestoreDBClusterToPointInTimeWithContext struct {
	Ctx  aws.Context
	I    *docdb.RestoreDBClusterToPointInTimeInput
	Opts []request.Option
}

CallRestoreDBClusterToPointInTimeWithContext to log call

type MockDocDBClient

type MockDocDBClient struct {
	docdbiface.DocDBAPI

	MockListTagsForResource            func(*docdb.ListTagsForResourceInput) (*docdb.ListTagsForResourceOutput, error)
	MockAddTagsToResource              func(*docdb.AddTagsToResourceInput) (*docdb.AddTagsToResourceOutput, error)
	MockRemoveTagsFromResource         func(*docdb.RemoveTagsFromResourceInput) (*docdb.RemoveTagsFromResourceOutput, error)
	MockDescribeDBInstancesWithContext func(context.Context, *docdb.DescribeDBInstancesInput, []request.Option) (*docdb.DescribeDBInstancesOutput, error)
	MockCreateDBInstanceWithContext    func(context.Context, *docdb.CreateDBInstanceInput, []request.Option) (*docdb.CreateDBInstanceOutput, error)
	MockDeleteDBInstanceWithContext    func(context.Context, *docdb.DeleteDBInstanceInput, []request.Option) (*docdb.DeleteDBInstanceOutput, error)
	MockModifyDBInstanceWithContext    func(context.Context, *docdb.ModifyDBInstanceInput, []request.Option) (*docdb.ModifyDBInstanceOutput, error)

	MockDescribeDBSubnetGroupsWithContext func(context.Context, *docdb.DescribeDBSubnetGroupsInput, []request.Option) (*docdb.DescribeDBSubnetGroupsOutput, error)
	MockCreateDBSubnetGroupWithContext    func(context.Context, *docdb.CreateDBSubnetGroupInput, []request.Option) (*docdb.CreateDBSubnetGroupOutput, error)
	MockModifyDBSubnetGroupWithContext    func(context.Context, *docdb.ModifyDBSubnetGroupInput, []request.Option) (*docdb.ModifyDBSubnetGroupOutput, error)
	MockDeleteDBSubnetGroupWithContext    func(context.Context, *docdb.DeleteDBSubnetGroupInput, []request.Option) (*docdb.DeleteDBSubnetGroupOutput, error)

	MockDescribeDBClusterParameters                 func(*docdb.DescribeDBClusterParametersInput) (*docdb.DescribeDBClusterParametersOutput, error)
	MockDescribeDBClusterParametersWithContext      func(context.Context, *docdb.DescribeDBClusterParametersInput, []request.Option) (*docdb.DescribeDBClusterParametersOutput, error)
	MockDescribeDBClusterParameterGroupsWithContext func(context.Context, *docdb.DescribeDBClusterParameterGroupsInput, []request.Option) (*docdb.DescribeDBClusterParameterGroupsOutput, error)
	MockCreateDBClusterParameterGroupWithContext    func(context.Context, *docdb.CreateDBClusterParameterGroupInput, []request.Option) (*docdb.CreateDBClusterParameterGroupOutput, error)
	MockModifyDBClusterParameterGroupWithContext    func(context.Context, *docdb.ModifyDBClusterParameterGroupInput, []request.Option) (*docdb.ModifyDBClusterParameterGroupOutput, error)
	MockDeleteDBClusterParameterGroupWithContext    func(context.Context, *docdb.DeleteDBClusterParameterGroupInput, []request.Option) (*docdb.DeleteDBClusterParameterGroupOutput, error)

	MockDescribeDBClustersWithContext func(context.Context, *docdb.DescribeDBClustersInput, []request.Option) (*docdb.DescribeDBClustersOutput, error)
	MockCreateDBClusterWithContext    func(context.Context, *docdb.CreateDBClusterInput, []request.Option) (*docdb.CreateDBClusterOutput, error)
	MockModifyDBClusterWithContext    func(context.Context, *docdb.ModifyDBClusterInput, []request.Option) (*docdb.ModifyDBClusterOutput, error)
	MockDeleteDBClusterWithContext    func(context.Context, *docdb.DeleteDBClusterInput, []request.Option) (*docdb.DeleteDBClusterOutput, error)

	MockRestoreDBClusterFromSnapshotWithContext  func(context.Context, *docdb.RestoreDBClusterFromSnapshotInput, []request.Option) (*docdb.RestoreDBClusterFromSnapshotOutput, error)
	MockRestoreDBClusterToPointInTimeWithContext func(context.Context, *docdb.RestoreDBClusterToPointInTimeInput, []request.Option) (*docdb.RestoreDBClusterToPointInTimeOutput, error)

	Called MockDocDBClientCall
}

MockDocDBClient for testing

func (*MockDocDBClient) AddTagsToResource

AddTagsToResource calls MockAddTagsToResource

func (*MockDocDBClient) CreateDBClusterParameterGroupWithContext

func (m *MockDocDBClient) CreateDBClusterParameterGroupWithContext(ctx context.Context, i *docdb.CreateDBClusterParameterGroupInput, opts ...request.Option) (*docdb.CreateDBClusterParameterGroupOutput, error)

CreateDBClusterParameterGroupWithContext calls MockCreateDBClusterParameterGroupWithContext

func (*MockDocDBClient) CreateDBClusterWithContext

func (m *MockDocDBClient) CreateDBClusterWithContext(ctx context.Context, i *docdb.CreateDBClusterInput, opts ...request.Option) (*docdb.CreateDBClusterOutput, error)

CreateDBClusterWithContext calls MockCreateDBClusterWithContext

func (*MockDocDBClient) CreateDBInstanceWithContext

func (m *MockDocDBClient) CreateDBInstanceWithContext(ctx aws.Context, i *docdb.CreateDBInstanceInput, opts ...request.Option) (*docdb.CreateDBInstanceOutput, error)

CreateDBInstanceWithContext calls MockCreateDBInstanceWithContext

func (*MockDocDBClient) CreateDBSubnetGroupWithContext

func (m *MockDocDBClient) CreateDBSubnetGroupWithContext(ctx context.Context, i *docdb.CreateDBSubnetGroupInput, opts ...request.Option) (*docdb.CreateDBSubnetGroupOutput, error)

CreateDBSubnetGroupWithContext calls MockCreateDBSubnetGroupWithContext

func (*MockDocDBClient) DeleteDBClusterParameterGroupWithContext

func (m *MockDocDBClient) DeleteDBClusterParameterGroupWithContext(ctx context.Context, i *docdb.DeleteDBClusterParameterGroupInput, opts ...request.Option) (*docdb.DeleteDBClusterParameterGroupOutput, error)

DeleteDBClusterParameterGroupWithContext calls MockDeleteDBClusterParameterGroupWithContext

func (*MockDocDBClient) DeleteDBClusterWithContext

func (m *MockDocDBClient) DeleteDBClusterWithContext(ctx context.Context, i *docdb.DeleteDBClusterInput, opts ...request.Option) (*docdb.DeleteDBClusterOutput, error)

DeleteDBClusterWithContext calls MockDeleteDBClusterWithContext

func (*MockDocDBClient) DeleteDBInstanceWithContext

func (m *MockDocDBClient) DeleteDBInstanceWithContext(ctx aws.Context, i *docdb.DeleteDBInstanceInput, opts ...request.Option) (*docdb.DeleteDBInstanceOutput, error)

DeleteDBInstanceWithContext calls MockDeleteDBInstanceWithContext

func (*MockDocDBClient) DeleteDBSubnetGroupWithContext

func (m *MockDocDBClient) DeleteDBSubnetGroupWithContext(ctx context.Context, i *docdb.DeleteDBSubnetGroupInput, opts ...request.Option) (*docdb.DeleteDBSubnetGroupOutput, error)

DeleteDBSubnetGroupWithContext calls MockDeleteDBSubnetGroupWithContext

func (*MockDocDBClient) DescribeDBClusterParameterGroupsWithContext

DescribeDBClusterParameterGroupsWithContext calls MockDescribeDBClusterParameterGroupsWithContext

func (*MockDocDBClient) DescribeDBClusterParameters

DescribeDBClusterParameters calls MockDescribeDBClusterParameters

func (*MockDocDBClient) DescribeDBClusterParametersWithContext added in v0.43.0

func (m *MockDocDBClient) DescribeDBClusterParametersWithContext(ctx context.Context, i *docdb.DescribeDBClusterParametersInput, opts ...request.Option) (*docdb.DescribeDBClusterParametersOutput, error)

DescribeDBClusterParametersWithContext calls MockDescribeDBClusterParametersWithContext

func (*MockDocDBClient) DescribeDBClustersWithContext

func (m *MockDocDBClient) DescribeDBClustersWithContext(ctx context.Context, i *docdb.DescribeDBClustersInput, opts ...request.Option) (*docdb.DescribeDBClustersOutput, error)

DescribeDBClustersWithContext calls MockDescribeDBClustersWithContext

func (*MockDocDBClient) DescribeDBInstancesWithContext

func (m *MockDocDBClient) DescribeDBInstancesWithContext(ctx aws.Context, i *docdb.DescribeDBInstancesInput, opts ...request.Option) (*docdb.DescribeDBInstancesOutput, error)

DescribeDBInstancesWithContext calls MockDescribeDBInstancesWithContext

func (*MockDocDBClient) DescribeDBSubnetGroupsWithContext

func (m *MockDocDBClient) DescribeDBSubnetGroupsWithContext(ctx context.Context, i *docdb.DescribeDBSubnetGroupsInput, opts ...request.Option) (*docdb.DescribeDBSubnetGroupsOutput, error)

DescribeDBSubnetGroupsWithContext calls MockDescribeDBSubnetGroupsWithContext

func (*MockDocDBClient) ListTagsForResource

ListTagsForResource calls MockListTagsForResource

func (*MockDocDBClient) ModifyDBClusterParameterGroupWithContext

func (m *MockDocDBClient) ModifyDBClusterParameterGroupWithContext(ctx context.Context, i *docdb.ModifyDBClusterParameterGroupInput, opts ...request.Option) (*docdb.ModifyDBClusterParameterGroupOutput, error)

ModifyDBClusterParameterGroupWithContext calls MockModifyDBClusterParameterGroupWithContext

func (*MockDocDBClient) ModifyDBClusterWithContext

func (m *MockDocDBClient) ModifyDBClusterWithContext(ctx context.Context, i *docdb.ModifyDBClusterInput, opts ...request.Option) (*docdb.ModifyDBClusterOutput, error)

ModifyDBClusterWithContext calls MockModifyDBClusterWithContext

func (*MockDocDBClient) ModifyDBInstanceWithContext

func (m *MockDocDBClient) ModifyDBInstanceWithContext(ctx aws.Context, i *docdb.ModifyDBInstanceInput, opts ...request.Option) (*docdb.ModifyDBInstanceOutput, error)

ModifyDBInstanceWithContext calls MockModifyDBInstanceWithContext

func (*MockDocDBClient) ModifyDBSubnetGroupWithContext

func (m *MockDocDBClient) ModifyDBSubnetGroupWithContext(ctx context.Context, i *docdb.ModifyDBSubnetGroupInput, opts ...request.Option) (*docdb.ModifyDBSubnetGroupOutput, error)

ModifyDBSubnetGroupWithContext calls MockModifyDBSubnetGroupWithContext

func (*MockDocDBClient) RemoveTagsFromResource

RemoveTagsFromResource calls MockRemoveTagsFromResource

func (*MockDocDBClient) RestoreDBClusterFromSnapshotWithContext added in v0.41.0

func (m *MockDocDBClient) RestoreDBClusterFromSnapshotWithContext(ctx context.Context, i *docdb.RestoreDBClusterFromSnapshotInput, opts ...request.Option) (*docdb.RestoreDBClusterFromSnapshotOutput, error)

RestoreDBClusterFromSnapshotWithContext calls MockRestoreDBClusterFromSnapshotWithContext

func (*MockDocDBClient) RestoreDBClusterToPointInTimeWithContext added in v0.41.0

func (m *MockDocDBClient) RestoreDBClusterToPointInTimeWithContext(ctx context.Context, i *docdb.RestoreDBClusterToPointInTimeInput, opts ...request.Option) (*docdb.RestoreDBClusterToPointInTimeOutput, error)

RestoreDBClusterToPointInTimeWithContext calls MockRestoreDBClusterToPointInTimeWithContext

type MockDocDBClientCall

type MockDocDBClientCall struct {
	ListTagsForResource            []*CallListTagsForResource
	AddTagsToResource              []*CallAddTagsToResource
	RemoveTagsFromResource         []*CallRemoveTagsFromResource
	DescribeDBInstancesWithContext []*CallDescribeDBInstancesWithContext
	CreateDBInstanceWithContext    []*CallCreateDBInstanceWithContext
	ModifyDBInstanceWithContext    []*CallModifyDBInstanceWithContext
	DeleteDBInstanceWithContext    []*CallDeleteDBInstanceWithContext

	DescribeDBSubnetGroupsWithContext []*CallDescribeDBSubnetGroupsWithContext
	CreateDBSubnetGroupWithContext    []*CallCreateDBSubnetGroupWithContext
	ModifyDBSubnetGroupWithContext    []*CallModifyDBSubnetGroupWithContext
	DeleteDBSubnetGroupWithContext    []*CallDeleteDBSubnetGroupWithContext

	DescribeDBClusterParameters                 []*CallDescribeDBClusterParameters
	DescribeDBClusterParametersWithContext      []*CallDescribeDBClusterParametersWithContext
	DescribeDBClusterParameterGroupsWithContext []*CallDescribeDBClusterParameterGroupsWithContext
	CreateDBClusterParameterGroupWithContext    []*CallCreateDBClusterParameterGroupWithContext
	ModifyDBClusterParameterGroupWithContext    []*CallModifyDBClusterParameterGroupWithContext
	DeleteDBClusterParameterGroupWithContext    []*CallDeleteDBClusterParameterGroupWithContext

	DescribeDBClustersWithContext []*CallDescribeDBClustersWithContext
	CreateDBClusterWithContext    []*CallCreateDBClusterWithContext
	ModifyDBClusterWithContext    []*CallModifyDBClusterWithContext
	DeleteDBClusterWithContext    []*CallDeleteDBClusterWithContext

	RestoreDBClusterFromSnapshotWithContext  []*CallRestoreDBClusterFromSnapshotWithContext
	RestoreDBClusterToPointInTimeWithContext []*CallRestoreDBClusterToPointInTimeWithContext
}

MockDocDBClientCall to log calls

Jump to

Keyboard shortcuts

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