fake

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 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 CallCreateClusterWithContext

type CallCreateClusterWithContext struct {
	Ctx  aws.Context
	I    *dax.CreateClusterInput
	Opts []request.Option
}

CallCreateClusterWithContext to log calls

type CallCreateParameterGroupWithContext

type CallCreateParameterGroupWithContext struct {
	Ctx  aws.Context
	I    *dax.CreateParameterGroupInput
	Opts []request.Option
}

CallCreateParameterGroupWithContext to log calls

type CallCreateSubnetGroupWithContext

type CallCreateSubnetGroupWithContext struct {
	Ctx  aws.Context
	I    *dax.CreateSubnetGroupInput
	Opts []request.Option
}

CallCreateSubnetGroupWithContext to log calls

type CallDeleteClusterWithContext

type CallDeleteClusterWithContext struct {
	Ctx  aws.Context
	I    *dax.DeleteClusterInput
	Opts []request.Option
}

CallDeleteClusterWithContext to log calls

type CallDeleteParameterGroupWithContext

type CallDeleteParameterGroupWithContext struct {
	Ctx  aws.Context
	I    *dax.DeleteParameterGroupInput
	Opts []request.Option
}

CallDeleteParameterGroupWithContext to log calls

type CallDeleteSubnetGroupWithContext

type CallDeleteSubnetGroupWithContext struct {
	Ctx  aws.Context
	I    *dax.DeleteSubnetGroupInput
	Opts []request.Option
}

CallDeleteSubnetGroupWithContext to log calls

type CallDescribeClusters

type CallDescribeClusters struct {
	I *dax.DescribeClustersInput
}

CallDescribeClusters to log calls

type CallDescribeClustersWithContext

type CallDescribeClustersWithContext struct {
	Ctx  aws.Context
	I    *dax.DescribeClustersInput
	Opts []request.Option
}

CallDescribeClustersWithContext to log calls

type CallDescribeParameterGroups

type CallDescribeParameterGroups struct {
	I *dax.DescribeParameterGroupsInput
}

CallDescribeParameterGroups to log calls

type CallDescribeParameterGroupsWithContext

type CallDescribeParameterGroupsWithContext struct {
	Ctx  aws.Context
	I    *dax.DescribeParameterGroupsInput
	Opts []request.Option
}

CallDescribeParameterGroupsWithContext to log calls

type CallDescribeParameters

type CallDescribeParameters struct {
	I *dax.DescribeParametersInput
}

CallDescribeParameters to log calls

type CallDescribeParametersWithContext added in v0.43.0

type CallDescribeParametersWithContext struct {
	Ctx  context.Context
	I    *dax.DescribeParametersInput
	Opts []request.Option
}

CallDescribeParametersWithContext to log calls

type CallDescribeSubnetGroups

type CallDescribeSubnetGroups struct {
	I *dax.DescribeSubnetGroupsInput
}

CallDescribeSubnetGroups to log calls

type CallDescribeSubnetGroupsWithContext

type CallDescribeSubnetGroupsWithContext struct {
	Ctx  aws.Context
	I    *dax.DescribeSubnetGroupsInput
	Opts []request.Option
}

CallDescribeSubnetGroupsWithContext to log calls

type CallUpdateCluster

type CallUpdateCluster struct {
	I *dax.UpdateClusterInput
}

CallUpdateCluster to log calls

type CallUpdateClusterWithContext

type CallUpdateClusterWithContext struct {
	Ctx  aws.Context
	I    *dax.UpdateClusterInput
	Opts []request.Option
}

CallUpdateClusterWithContext to log calls

type CallUpdateParameterGroups

type CallUpdateParameterGroups struct {
	I *dax.UpdateParameterGroupInput
}

CallUpdateParameterGroups to log calls

type CallUpdateParameterGroupsWithContext

type CallUpdateParameterGroupsWithContext struct {
	Ctx  aws.Context
	I    *dax.UpdateParameterGroupInput
	Opts []request.Option
}

CallUpdateParameterGroupsWithContext to log calls

type CallUpdateSubnetGroups

type CallUpdateSubnetGroups struct {
	I *dax.UpdateSubnetGroupInput
}

CallUpdateSubnetGroups to log calls

type CallUpdateSubnetGroupsWithContext

type CallUpdateSubnetGroupsWithContext struct {
	Ctx  aws.Context
	I    *dax.UpdateSubnetGroupInput
	Opts []request.Option
}

CallUpdateSubnetGroupsWithContext to log calls

type MockDaxClient

type MockDaxClient struct {
	daxiface.DAXAPI
	MockCreateClusterWithContext func(context.Context, *dax.CreateClusterInput, []request.Option) (*dax.CreateClusterOutput, error)

	MockCreateParameterGroupWithContext func(context.Context, *dax.CreateParameterGroupInput, []request.Option) (*dax.CreateParameterGroupOutput, error)

	MockCreateSubnetGroupWithContext func(context.Context, *dax.CreateSubnetGroupInput, []request.Option) (*dax.CreateSubnetGroupOutput, error)

	MockDeleteClusterWithContext func(context.Context, *dax.DeleteClusterInput, []request.Option) (*dax.DeleteClusterOutput, error)

	MockDeleteParameterGroupWithContext func(context.Context, *dax.DeleteParameterGroupInput, []request.Option) (*dax.DeleteParameterGroupOutput, error)

	MockDeleteSubnetGroupWithContext func(context.Context, *dax.DeleteSubnetGroupInput, []request.Option) (*dax.DeleteSubnetGroupOutput, error)

	MockDescribeClusters            func(*dax.DescribeClustersInput) (*dax.DescribeClustersOutput, error)
	MockDescribeClustersWithContext func(context.Context, *dax.DescribeClustersInput, []request.Option) (*dax.DescribeClustersOutput, error)

	MockDescribeParameterGroups            func(*dax.DescribeParameterGroupsInput) (*dax.DescribeParameterGroupsOutput, error)
	MockDescribeParameterGroupsWithContext func(context.Context, *dax.DescribeParameterGroupsInput, []request.Option) (*dax.DescribeParameterGroupsOutput, error)

	MockDescribeParameters            func(*dax.DescribeParametersInput) (*dax.DescribeParametersOutput, error)
	MockDescribeParametersWithContext func(context.Context, *dax.DescribeParametersInput, []request.Option) (*dax.DescribeParametersOutput, error)

	MockDescribeSubnetGroups            func(*dax.DescribeSubnetGroupsInput) (*dax.DescribeSubnetGroupsOutput, error)
	MockDescribeSubnetGroupsWithContext func(context.Context, *dax.DescribeSubnetGroupsInput, []request.Option) (*dax.DescribeSubnetGroupsOutput, error)

	MockUpdateCluster            func(*dax.UpdateClusterInput) (*dax.UpdateClusterOutput, error)
	MockUpdateClusterWithContext func(context.Context, *dax.UpdateClusterInput, []request.Option) (*dax.UpdateClusterOutput, error)

	MockUpdateParameterGroup            func(*dax.UpdateParameterGroupInput) (*dax.UpdateParameterGroupOutput, error)
	MockUpdateParameterGroupWithContext func(context.Context, *dax.UpdateParameterGroupInput, []request.Option) (*dax.UpdateParameterGroupOutput, error)

	MockUpdateSubnetGroup            func(*dax.UpdateSubnetGroupInput) (*dax.UpdateSubnetGroupOutput, error)
	MockUpdateSubnetGroupWithContext func(context.Context, *dax.UpdateSubnetGroupInput, []request.Option) (*dax.UpdateSubnetGroupOutput, error)

	Called MockDaxClientCall
}

MockDaxClient for testing

func (*MockDaxClient) CreateClusterWithContext

func (m *MockDaxClient) CreateClusterWithContext(ctx aws.Context, i *dax.CreateClusterInput, opts ...request.Option) (*dax.CreateClusterOutput, error)

CreateClusterWithContext mocks CreateClusterWithContext method

func (*MockDaxClient) CreateParameterGroupWithContext

func (m *MockDaxClient) CreateParameterGroupWithContext(ctx aws.Context, i *dax.CreateParameterGroupInput, opts ...request.Option) (*dax.CreateParameterGroupOutput, error)

CreateParameterGroupWithContext mocks CreateParameterGroupWithContext method

func (*MockDaxClient) CreateSubnetGroupWithContext

func (m *MockDaxClient) CreateSubnetGroupWithContext(ctx aws.Context, i *dax.CreateSubnetGroupInput, opts ...request.Option) (*dax.CreateSubnetGroupOutput, error)

CreateSubnetGroupWithContext mocks CreateSubnetGroupWithContext method

func (*MockDaxClient) DeleteClusterWithContext

func (m *MockDaxClient) DeleteClusterWithContext(ctx aws.Context, i *dax.DeleteClusterInput, opts ...request.Option) (*dax.DeleteClusterOutput, error)

DeleteClusterWithContext mocks DeleteClusterWithContext method

func (*MockDaxClient) DeleteParameterGroupWithContext

func (m *MockDaxClient) DeleteParameterGroupWithContext(ctx aws.Context, i *dax.DeleteParameterGroupInput, opts ...request.Option) (*dax.DeleteParameterGroupOutput, error)

DeleteParameterGroupWithContext mocks DeleteParameterGroupWithContext method

func (*MockDaxClient) DeleteSubnetGroupWithContext

func (m *MockDaxClient) DeleteSubnetGroupWithContext(ctx aws.Context, i *dax.DeleteSubnetGroupInput, opts ...request.Option) (*dax.DeleteSubnetGroupOutput, error)

DeleteSubnetGroupWithContext mocks DeleteSubnetGroupWithContext method

func (*MockDaxClient) DescribeClusters

DescribeClusters mocks DescribeClusters method

func (*MockDaxClient) DescribeClustersWithContext

func (m *MockDaxClient) DescribeClustersWithContext(ctx aws.Context, i *dax.DescribeClustersInput, opts ...request.Option) (*dax.DescribeClustersOutput, error)

DescribeClustersWithContext mocks DescribeClustersWithContext method

func (*MockDaxClient) DescribeParameterGroups

DescribeParameterGroups mocks DescribeParameterGroups method

func (*MockDaxClient) DescribeParameterGroupsWithContext

func (m *MockDaxClient) DescribeParameterGroupsWithContext(ctx aws.Context, i *dax.DescribeParameterGroupsInput, opts ...request.Option) (*dax.DescribeParameterGroupsOutput, error)

DescribeParameterGroupsWithContext mocks DescribeParameterGroupsWithContext method

func (*MockDaxClient) DescribeParameters

DescribeParameters mocks DescribeParameters method

func (*MockDaxClient) DescribeParametersWithContext added in v0.43.0

func (m *MockDaxClient) DescribeParametersWithContext(ctx context.Context, i *dax.DescribeParametersInput, opts ...request.Option) (*dax.DescribeParametersOutput, error)

DescribeParametersWithContext mocks DescribeParametersWithContext method

func (*MockDaxClient) DescribeSubnetGroups

DescribeSubnetGroups mocks DescribeSubnetGroups method

func (*MockDaxClient) DescribeSubnetGroupsWithContext

func (m *MockDaxClient) DescribeSubnetGroupsWithContext(ctx aws.Context, i *dax.DescribeSubnetGroupsInput, opts ...request.Option) (*dax.DescribeSubnetGroupsOutput, error)

DescribeSubnetGroupsWithContext mocks DescribeSubnetGroupsWithContext method

func (*MockDaxClient) UpdateCluster

UpdateCluster mocks UpdateCluster method

func (*MockDaxClient) UpdateClusterWithContext

func (m *MockDaxClient) UpdateClusterWithContext(ctx aws.Context, i *dax.UpdateClusterInput, opts ...request.Option) (*dax.UpdateClusterOutput, error)

UpdateClusterWithContext mocks UpdateClusterWithContext method

func (*MockDaxClient) UpdateParameterGroupWithContext

func (m *MockDaxClient) UpdateParameterGroupWithContext(ctx aws.Context, i *dax.UpdateParameterGroupInput, opts ...request.Option) (*dax.UpdateParameterGroupOutput, error)

UpdateParameterGroupWithContext mocks UpdateParameterGroupWithContext method

func (*MockDaxClient) UpdateParameterGroups

UpdateParameterGroups mocks UpdateParameterGroups method

func (*MockDaxClient) UpdateSubnetGroupWithContext

func (m *MockDaxClient) UpdateSubnetGroupWithContext(ctx aws.Context, i *dax.UpdateSubnetGroupInput, opts ...request.Option) (*dax.UpdateSubnetGroupOutput, error)

UpdateSubnetGroupWithContext mocks UpdateSubnetGroupWithContext method

func (*MockDaxClient) UpdateSubnetGroups

UpdateSubnetGroups mocks UpdateSubnetGroups method

type MockDaxClientCall

type MockDaxClientCall struct {
	UpdateParameterGroupsWithContext   []*CallUpdateParameterGroupsWithContext
	UpdateParameterGroups              []*CallUpdateParameterGroups
	DescribeParameterGroupsWithContext []*CallDescribeParameterGroupsWithContext
	DescribeParameterGroups            []*CallDescribeParameterGroups
	DescribeParameters                 []*CallDescribeParameters
	DescribeParametersWithContext      []*CallDescribeParametersWithContext
	CreateParameterGroupWithContext    []*CallCreateParameterGroupWithContext
	DeleteParameterGroupWithContext    []*CallDeleteParameterGroupWithContext

	UpdateSubnetGroupsWithContext   []*CallUpdateSubnetGroupsWithContext
	UpdateSubnetGroups              []*CallUpdateSubnetGroups
	DescribeSubnetGroupsWithContext []*CallDescribeSubnetGroupsWithContext
	DescribeSubnetGroups            []*CallDescribeSubnetGroups
	CreateSubnetGroupWithContext    []*CallCreateSubnetGroupWithContext
	DeleteSubnetGroupWithContext    []*CallDeleteSubnetGroupWithContext

	UpdateClusterWithContext    []*CallUpdateClusterWithContext
	UpdateCluster               []*CallUpdateCluster
	DescribeClustersWithContext []*CallDescribeClustersWithContext
	DescribeClusters            []*CallDescribeClusters
	CreateClusterWithContext    []*CallCreateClusterWithContext
	DeleteClusterWithContext    []*CallDeleteClusterWithContext
}

MockDaxClientCall is a type that implements all the methods for the Dax Client interface

Jump to

Keyboard shortcuts

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