fake

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDBSubnetGroupClient

type MockDBSubnetGroupClient struct {
	MockCreateDBSubnetGroup    func(context.Context, *rds.CreateDBSubnetGroupInput, []func(*rds.Options)) (*rds.CreateDBSubnetGroupOutput, error)
	MockDeleteDBSubnetGroup    func(context.Context, *rds.DeleteDBSubnetGroupInput, []func(*rds.Options)) (*rds.DeleteDBSubnetGroupOutput, error)
	MockDescribeDBSubnetGroups func(context.Context, *rds.DescribeDBSubnetGroupsInput, []func(*rds.Options)) (*rds.DescribeDBSubnetGroupsOutput, error)
	MockModifyDBSubnetGroup    func(context.Context, *rds.ModifyDBSubnetGroupInput, []func(*rds.Options)) (*rds.ModifyDBSubnetGroupOutput, error)
	MockAddTagsToResource      func(context.Context, *rds.AddTagsToResourceInput, []func(*rds.Options)) (*rds.AddTagsToResourceOutput, error)
	MockListTagsForResource    func(context.Context, *rds.ListTagsForResourceInput, []func(*rds.Options)) (*rds.ListTagsForResourceOutput, error)
}

MockDBSubnetGroupClient is a type that implements all the methods for DBSubnetGroupClient interface

func (*MockDBSubnetGroupClient) AddTagsToResource

func (m *MockDBSubnetGroupClient) AddTagsToResource(ctx context.Context, input *rds.AddTagsToResourceInput, opts ...func(*rds.Options)) (*rds.AddTagsToResourceOutput, error)

AddTagsToResource mocks AddTagsToResource method

func (*MockDBSubnetGroupClient) CreateDBSubnetGroup

func (m *MockDBSubnetGroupClient) CreateDBSubnetGroup(ctx context.Context, input *rds.CreateDBSubnetGroupInput, opts ...func(*rds.Options)) (*rds.CreateDBSubnetGroupOutput, error)

CreateDBSubnetGroup mocks CreateDBSubnetGroup method

func (*MockDBSubnetGroupClient) DeleteDBSubnetGroup

func (m *MockDBSubnetGroupClient) DeleteDBSubnetGroup(ctx context.Context, input *rds.DeleteDBSubnetGroupInput, opts ...func(*rds.Options)) (*rds.DeleteDBSubnetGroupOutput, error)

DeleteDBSubnetGroup mocks DeleteDBSubnetGroup method

func (*MockDBSubnetGroupClient) DescribeDBSubnetGroups

func (m *MockDBSubnetGroupClient) DescribeDBSubnetGroups(ctx context.Context, input *rds.DescribeDBSubnetGroupsInput, opts ...func(*rds.Options)) (*rds.DescribeDBSubnetGroupsOutput, error)

DescribeDBSubnetGroups mocks DescribeDBSubnetGroups method

func (*MockDBSubnetGroupClient) ListTagsForResource

func (m *MockDBSubnetGroupClient) ListTagsForResource(ctx context.Context, input *rds.ListTagsForResourceInput, opts ...func(*rds.Options)) (*rds.ListTagsForResourceOutput, error)

ListTagsForResource mocks ListTagsForResource method

func (*MockDBSubnetGroupClient) ModifyDBSubnetGroup

func (m *MockDBSubnetGroupClient) ModifyDBSubnetGroup(ctx context.Context, input *rds.ModifyDBSubnetGroupInput, opts ...func(*rds.Options)) (*rds.ModifyDBSubnetGroupOutput, error)

ModifyDBSubnetGroup mocks ModifyDBSubnetGroup method

Jump to

Keyboard shortcuts

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