Documentation ¶
Index ¶
- type MockRedshiftClient
- func (m *MockRedshiftClient) CreateCluster(ctx context.Context, input *redshift.CreateClusterInput, ...) (*redshift.CreateClusterOutput, error)
- func (m *MockRedshiftClient) DeleteCluster(ctx context.Context, input *redshift.DeleteClusterInput, ...) (*redshift.DeleteClusterOutput, error)
- func (m *MockRedshiftClient) DescribeClusters(ctx context.Context, input *redshift.DescribeClustersInput, ...) (*redshift.DescribeClustersOutput, error)
- func (m *MockRedshiftClient) ModifyCluster(ctx context.Context, input *redshift.ModifyClusterInput, ...) (*redshift.ModifyClusterOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRedshiftClient ¶
type MockRedshiftClient struct { MockCreate func(ctx context.Context, input *redshift.CreateClusterInput, opts []func(*redshift.Options)) (*redshift.CreateClusterOutput, error) MockDescribe func(ctx context.Context, input *redshift.DescribeClustersInput, opts []func(*redshift.Options)) (*redshift.DescribeClustersOutput, error) MockModify func(ctx context.Context, input *redshift.ModifyClusterInput, opts []func(*redshift.Options)) (*redshift.ModifyClusterOutput, error) MockDelete func(ctx context.Context, input *redshift.DeleteClusterInput, opts []func(*redshift.Options)) (*redshift.DeleteClusterOutput, error) }
MockRedshiftClient for testing.
func (*MockRedshiftClient) CreateCluster ¶
func (m *MockRedshiftClient) CreateCluster(ctx context.Context, input *redshift.CreateClusterInput, opts ...func(*redshift.Options)) (*redshift.CreateClusterOutput, error)
CreateCluster creates Redshift Instance with provided Specification
func (*MockRedshiftClient) DeleteCluster ¶
func (m *MockRedshiftClient) DeleteCluster(ctx context.Context, input *redshift.DeleteClusterInput, opts ...func(*redshift.Options)) (*redshift.DeleteClusterOutput, error)
DeleteCluster deletes Redshift Instance
func (*MockRedshiftClient) DescribeClusters ¶
func (m *MockRedshiftClient) DescribeClusters(ctx context.Context, input *redshift.DescribeClustersInput, opts ...func(*redshift.Options)) (*redshift.DescribeClustersOutput, error)
DescribeClusters finds Redshift Instance by name
func (*MockRedshiftClient) ModifyCluster ¶
func (m *MockRedshiftClient) ModifyCluster(ctx context.Context, input *redshift.ModifyClusterInput, opts ...func(*redshift.Options)) (*redshift.ModifyClusterOutput, error)
ModifyCluster modifies Redshift Instance with provided Specification
Click to show internal directories.
Click to hide internal directories.