Documentation
¶
Index ¶
- type MockRedshiftClient
- func (m *MockRedshiftClient) DescribeClusters(input *redshift.DescribeClustersInput) (*redshift.DescribeClustersOutput, error)
- func (m *MockRedshiftClient) DescribeStatementWithContext(_ aws.Context, input *redshiftdataapiservice.DescribeStatementInput, ...) (*redshiftdataapiservice.DescribeStatementOutput, error)
- func (m *MockRedshiftClient) DescribeTableWithContext(ctx aws.Context, input *redshiftdataapiservice.DescribeTableInput, ...) (*redshiftdataapiservice.DescribeTableOutput, error)
- func (m *MockRedshiftClient) ExecuteStatementWithContext(ctx aws.Context, input *redshiftdataapiservice.ExecuteStatementInput, ...) (*redshiftdataapiservice.ExecuteStatementOutput, error)
- func (m *MockRedshiftClient) GetSecretValueWithContext(ctx aws.Context, input *secretsmanager.GetSecretValueInput, ...) (*secretsmanager.GetSecretValueOutput, error)
- func (m *MockRedshiftClient) ListSchemasWithContext(ctx aws.Context, input *redshiftdataapiservice.ListSchemasInput, ...) (*redshiftdataapiservice.ListSchemasOutput, error)
- func (m *MockRedshiftClient) ListSecretsWithContext(ctx aws.Context, input *secretsmanager.ListSecretsInput, ...) (*secretsmanager.ListSecretsOutput, error)
- func (m *MockRedshiftClient) ListStatementsWithContext(_ aws.Context, input *redshiftdataapiservice.ListStatementsInput, ...) (*redshiftdataapiservice.ListStatementsOutput, error)
- func (m *MockRedshiftClient) ListTablesWithContext(ctx aws.Context, input *redshiftdataapiservice.ListTablesInput, ...) (*redshiftdataapiservice.ListTablesOutput, error)
- type MockRedshiftClientError
- type MockRedshiftClientNil
- type MockRedshiftServerlessClient
- func (m *MockRedshiftServerlessClient) DescribeStatementWithContext(_ aws.Context, input *redshiftdataapiservice.DescribeStatementInput, ...) (*redshiftdataapiservice.DescribeStatementOutput, error)
- func (m *MockRedshiftServerlessClient) DescribeTableWithContext(ctx aws.Context, input *redshiftdataapiservice.DescribeTableInput, ...) (*redshiftdataapiservice.DescribeTableOutput, error)
- func (m *MockRedshiftServerlessClient) ExecuteStatementWithContext(ctx aws.Context, input *redshiftdataapiservice.ExecuteStatementInput, ...) (*redshiftdataapiservice.ExecuteStatementOutput, error)
- func (m *MockRedshiftServerlessClient) GetSecretValueWithContext(ctx aws.Context, input *secretsmanager.GetSecretValueInput, ...) (*secretsmanager.GetSecretValueOutput, error)
- func (m *MockRedshiftServerlessClient) ListSchemasWithContext(ctx aws.Context, input *redshiftdataapiservice.ListSchemasInput, ...) (*redshiftdataapiservice.ListSchemasOutput, error)
- func (m *MockRedshiftServerlessClient) ListSecretsWithContext(ctx aws.Context, input *secretsmanager.ListSecretsInput, ...) (*secretsmanager.ListSecretsOutput, error)
- func (m *MockRedshiftServerlessClient) ListStatementsWithContext(_ aws.Context, input *redshiftdataapiservice.ListStatementsInput, ...) (*redshiftdataapiservice.ListStatementsOutput, error)
- func (m *MockRedshiftServerlessClient) ListTablesWithContext(ctx aws.Context, input *redshiftdataapiservice.ListTablesInput, ...) (*redshiftdataapiservice.ListTablesOutput, error)
- func (m *MockRedshiftServerlessClient) ListWorkgroups(input *redshiftserverless.ListWorkgroupsInput) (*redshiftserverless.ListWorkgroupsOutput, error)
- type MockRedshiftServerlessClientError
- type MockRedshiftServerlessClientNil
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRedshiftClient ¶
type MockRedshiftClient struct { ExecutionResult *redshiftdataapiservice.ExecuteStatementOutput DescribeStatementOutput *redshiftdataapiservice.DescribeStatementOutput ListStatementsOutput *redshiftdataapiservice.ListStatementsOutput // Schemas > Tables > Columns Resources map[string]map[string][]string Secrets []string Secret string Clusters []string secretsmanageriface.SecretsManagerAPI redshiftdataapiservice.RedshiftDataAPIService redshiftiface.RedshiftAPI }
func (*MockRedshiftClient) DescribeClusters ¶ added in v1.0.4
func (m *MockRedshiftClient) DescribeClusters(input *redshift.DescribeClustersInput) (*redshift.DescribeClustersOutput, error)
func (*MockRedshiftClient) DescribeStatementWithContext ¶ added in v1.0.2
func (m *MockRedshiftClient) DescribeStatementWithContext(_ aws.Context, input *redshiftdataapiservice.DescribeStatementInput, _ ...request.Option) (*redshiftdataapiservice.DescribeStatementOutput, error)
func (*MockRedshiftClient) DescribeTableWithContext ¶
func (m *MockRedshiftClient) DescribeTableWithContext(ctx aws.Context, input *redshiftdataapiservice.DescribeTableInput, opts ...request.Option) (*redshiftdataapiservice.DescribeTableOutput, error)
func (*MockRedshiftClient) ExecuteStatementWithContext ¶
func (m *MockRedshiftClient) ExecuteStatementWithContext(ctx aws.Context, input *redshiftdataapiservice.ExecuteStatementInput, opts ...request.Option) (*redshiftdataapiservice.ExecuteStatementOutput, error)
func (*MockRedshiftClient) GetSecretValueWithContext ¶
func (m *MockRedshiftClient) GetSecretValueWithContext(ctx aws.Context, input *secretsmanager.GetSecretValueInput, opts ...request.Option) (*secretsmanager.GetSecretValueOutput, error)
func (*MockRedshiftClient) ListSchemasWithContext ¶
func (m *MockRedshiftClient) ListSchemasWithContext(ctx aws.Context, input *redshiftdataapiservice.ListSchemasInput, opts ...request.Option) (*redshiftdataapiservice.ListSchemasOutput, error)
func (*MockRedshiftClient) ListSecretsWithContext ¶
func (m *MockRedshiftClient) ListSecretsWithContext(ctx aws.Context, input *secretsmanager.ListSecretsInput, opts ...request.Option) (*secretsmanager.ListSecretsOutput, error)
func (*MockRedshiftClient) ListStatementsWithContext ¶ added in v1.4.0
func (m *MockRedshiftClient) ListStatementsWithContext(_ aws.Context, input *redshiftdataapiservice.ListStatementsInput, _ ...request.Option) (*redshiftdataapiservice.ListStatementsOutput, error)
func (*MockRedshiftClient) ListTablesWithContext ¶
func (m *MockRedshiftClient) ListTablesWithContext(ctx aws.Context, input *redshiftdataapiservice.ListTablesInput, opts ...request.Option) (*redshiftdataapiservice.ListTablesOutput, error)
type MockRedshiftClientError ¶ added in v1.0.4
type MockRedshiftClientError struct {
redshiftiface.RedshiftAPI
}
func (*MockRedshiftClientError) DescribeClusters ¶ added in v1.0.4
func (m *MockRedshiftClientError) DescribeClusters(input *redshift.DescribeClustersInput) (*redshift.DescribeClustersOutput, error)
type MockRedshiftClientNil ¶ added in v1.0.4
type MockRedshiftClientNil struct {
redshiftiface.RedshiftAPI
}
func (*MockRedshiftClientNil) DescribeClusters ¶ added in v1.0.4
func (m *MockRedshiftClientNil) DescribeClusters(input *redshift.DescribeClustersInput) (*redshift.DescribeClustersOutput, error)
type MockRedshiftServerlessClient ¶ added in v1.10.0
type MockRedshiftServerlessClient struct { ExecutionResult *redshiftdataapiservice.ExecuteStatementOutput DescribeStatementOutput *redshiftdataapiservice.DescribeStatementOutput ListStatementsOutput *redshiftdataapiservice.ListStatementsOutput // Schemas > Tables > Columns Resources map[string]map[string][]string Secrets []string Secret string Workgroups []string redshiftdataapiservice.RedshiftDataAPIService redshiftserverlessiface.RedshiftServerlessAPI }
func (*MockRedshiftServerlessClient) DescribeStatementWithContext ¶ added in v1.10.0
func (m *MockRedshiftServerlessClient) DescribeStatementWithContext(_ aws.Context, input *redshiftdataapiservice.DescribeStatementInput, _ ...request.Option) (*redshiftdataapiservice.DescribeStatementOutput, error)
func (*MockRedshiftServerlessClient) DescribeTableWithContext ¶ added in v1.10.0
func (m *MockRedshiftServerlessClient) DescribeTableWithContext(ctx aws.Context, input *redshiftdataapiservice.DescribeTableInput, opts ...request.Option) (*redshiftdataapiservice.DescribeTableOutput, error)
func (*MockRedshiftServerlessClient) ExecuteStatementWithContext ¶ added in v1.10.0
func (m *MockRedshiftServerlessClient) ExecuteStatementWithContext(ctx aws.Context, input *redshiftdataapiservice.ExecuteStatementInput, opts ...request.Option) (*redshiftdataapiservice.ExecuteStatementOutput, error)
func (*MockRedshiftServerlessClient) GetSecretValueWithContext ¶ added in v1.10.0
func (m *MockRedshiftServerlessClient) GetSecretValueWithContext(ctx aws.Context, input *secretsmanager.GetSecretValueInput, opts ...request.Option) (*secretsmanager.GetSecretValueOutput, error)
func (*MockRedshiftServerlessClient) ListSchemasWithContext ¶ added in v1.10.0
func (m *MockRedshiftServerlessClient) ListSchemasWithContext(ctx aws.Context, input *redshiftdataapiservice.ListSchemasInput, opts ...request.Option) (*redshiftdataapiservice.ListSchemasOutput, error)
func (*MockRedshiftServerlessClient) ListSecretsWithContext ¶ added in v1.10.0
func (m *MockRedshiftServerlessClient) ListSecretsWithContext(ctx aws.Context, input *secretsmanager.ListSecretsInput, opts ...request.Option) (*secretsmanager.ListSecretsOutput, error)
func (*MockRedshiftServerlessClient) ListStatementsWithContext ¶ added in v1.10.0
func (m *MockRedshiftServerlessClient) ListStatementsWithContext(_ aws.Context, input *redshiftdataapiservice.ListStatementsInput, _ ...request.Option) (*redshiftdataapiservice.ListStatementsOutput, error)
func (*MockRedshiftServerlessClient) ListTablesWithContext ¶ added in v1.10.0
func (m *MockRedshiftServerlessClient) ListTablesWithContext(ctx aws.Context, input *redshiftdataapiservice.ListTablesInput, opts ...request.Option) (*redshiftdataapiservice.ListTablesOutput, error)
func (*MockRedshiftServerlessClient) ListWorkgroups ¶ added in v1.10.0
func (m *MockRedshiftServerlessClient) ListWorkgroups(input *redshiftserverless.ListWorkgroupsInput) (*redshiftserverless.ListWorkgroupsOutput, error)
type MockRedshiftServerlessClientError ¶ added in v1.10.0
type MockRedshiftServerlessClientError struct {
redshiftserverlessiface.RedshiftServerlessAPI
}
func (*MockRedshiftServerlessClientError) ListWorkgroups ¶ added in v1.10.0
func (m *MockRedshiftServerlessClientError) ListWorkgroups(input *redshiftserverless.ListWorkgroupsInput) (*redshiftserverless.ListWorkgroupsOutput, error)
type MockRedshiftServerlessClientNil ¶ added in v1.10.0
type MockRedshiftServerlessClientNil struct {
redshiftserverlessiface.RedshiftServerlessAPI
}
func (*MockRedshiftServerlessClientNil) ListWorkgroups ¶ added in v1.10.0
func (m *MockRedshiftServerlessClientNil) ListWorkgroups(input *redshiftserverless.ListWorkgroupsInput) (*redshiftserverless.ListWorkgroupsOutput, error)
Click to show internal directories.
Click to hide internal directories.