Documentation ¶
Index ¶
- type CallCreateClusterWithContext
- type CallCreateParameterGroupWithContext
- type CallCreateSubnetGroupWithContext
- type CallDeleteClusterWithContext
- type CallDeleteParameterGroupWithContext
- type CallDeleteSubnetGroupWithContext
- type CallDescribeClusters
- type CallDescribeClustersWithContext
- type CallDescribeParameterGroups
- type CallDescribeParameterGroupsWithContext
- type CallDescribeParameters
- type CallDescribeSubnetGroups
- type CallDescribeSubnetGroupsWithContext
- type CallUpdateCluster
- type CallUpdateClusterWithContext
- type CallUpdateParameterGroups
- type CallUpdateParameterGroupsWithContext
- type CallUpdateSubnetGroups
- type CallUpdateSubnetGroupsWithContext
- type MockDaxClient
- func (m *MockDaxClient) CreateClusterWithContext(ctx aws.Context, i *dax.CreateClusterInput, opts ...request.Option) (*dax.CreateClusterOutput, error)
- func (m *MockDaxClient) CreateParameterGroupWithContext(ctx aws.Context, i *dax.CreateParameterGroupInput, opts ...request.Option) (*dax.CreateParameterGroupOutput, error)
- func (m *MockDaxClient) CreateSubnetGroupWithContext(ctx aws.Context, i *dax.CreateSubnetGroupInput, opts ...request.Option) (*dax.CreateSubnetGroupOutput, error)
- func (m *MockDaxClient) DeleteClusterWithContext(ctx aws.Context, i *dax.DeleteClusterInput, opts ...request.Option) (*dax.DeleteClusterOutput, error)
- func (m *MockDaxClient) DeleteParameterGroupWithContext(ctx aws.Context, i *dax.DeleteParameterGroupInput, opts ...request.Option) (*dax.DeleteParameterGroupOutput, error)
- func (m *MockDaxClient) DeleteSubnetGroupWithContext(ctx aws.Context, i *dax.DeleteSubnetGroupInput, opts ...request.Option) (*dax.DeleteSubnetGroupOutput, error)
- func (m *MockDaxClient) DescribeClusters(i *dax.DescribeClustersInput) (*dax.DescribeClustersOutput, error)
- func (m *MockDaxClient) DescribeClustersWithContext(ctx aws.Context, i *dax.DescribeClustersInput, opts ...request.Option) (*dax.DescribeClustersOutput, error)
- func (m *MockDaxClient) DescribeParameterGroups(i *dax.DescribeParameterGroupsInput) (*dax.DescribeParameterGroupsOutput, error)
- func (m *MockDaxClient) DescribeParameterGroupsWithContext(ctx aws.Context, i *dax.DescribeParameterGroupsInput, opts ...request.Option) (*dax.DescribeParameterGroupsOutput, error)
- func (m *MockDaxClient) DescribeParameters(i *dax.DescribeParametersInput) (*dax.DescribeParametersOutput, error)
- func (m *MockDaxClient) DescribeSubnetGroups(i *dax.DescribeSubnetGroupsInput) (*dax.DescribeSubnetGroupsOutput, error)
- func (m *MockDaxClient) DescribeSubnetGroupsWithContext(ctx aws.Context, i *dax.DescribeSubnetGroupsInput, opts ...request.Option) (*dax.DescribeSubnetGroupsOutput, error)
- func (m *MockDaxClient) UpdateCluster(i *dax.UpdateClusterInput) (*dax.UpdateClusterOutput, error)
- func (m *MockDaxClient) UpdateClusterWithContext(ctx aws.Context, i *dax.UpdateClusterInput, opts ...request.Option) (*dax.UpdateClusterOutput, error)
- func (m *MockDaxClient) UpdateParameterGroupWithContext(ctx aws.Context, i *dax.UpdateParameterGroupInput, opts ...request.Option) (*dax.UpdateParameterGroupOutput, error)
- func (m *MockDaxClient) UpdateParameterGroups(i *dax.UpdateParameterGroupInput) (*dax.UpdateParameterGroupOutput, error)
- func (m *MockDaxClient) UpdateSubnetGroupWithContext(ctx aws.Context, i *dax.UpdateSubnetGroupInput, opts ...request.Option) (*dax.UpdateSubnetGroupOutput, error)
- func (m *MockDaxClient) UpdateSubnetGroups(i *dax.UpdateSubnetGroupInput) (*dax.UpdateSubnetGroupOutput, error)
- type MockDaxClientCall
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 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) 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 ¶
func (m *MockDaxClient) DescribeClusters(i *dax.DescribeClustersInput) (*dax.DescribeClustersOutput, error)
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 ¶
func (m *MockDaxClient) DescribeParameterGroups(i *dax.DescribeParameterGroupsInput) (*dax.DescribeParameterGroupsOutput, error)
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 ¶
func (m *MockDaxClient) DescribeParameters(i *dax.DescribeParametersInput) (*dax.DescribeParametersOutput, error)
DescribeParameters mocks DescribeParameters method
func (*MockDaxClient) DescribeSubnetGroups ¶
func (m *MockDaxClient) DescribeSubnetGroups(i *dax.DescribeSubnetGroupsInput) (*dax.DescribeSubnetGroupsOutput, error)
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 ¶
func (m *MockDaxClient) UpdateCluster(i *dax.UpdateClusterInput) (*dax.UpdateClusterOutput, error)
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 ¶
func (m *MockDaxClient) UpdateParameterGroups(i *dax.UpdateParameterGroupInput) (*dax.UpdateParameterGroupOutput, error)
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 ¶
func (m *MockDaxClient) UpdateSubnetGroups(i *dax.UpdateSubnetGroupInput) (*dax.UpdateSubnetGroupOutput, error)
UpdateSubnetGroups mocks UpdateSubnetGroups method
type MockDaxClientCall ¶
type MockDaxClientCall struct { UpdateParameterGroupsWithContext []*CallUpdateParameterGroupsWithContext UpdateParameterGroups []*CallUpdateParameterGroups DescribeParameterGroupsWithContext []*CallDescribeParameterGroupsWithContext DescribeParameterGroups []*CallDescribeParameterGroups DescribeParameters []*CallDescribeParameters 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