mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IClient) BatchExecuteStatement

BatchExecuteStatement provides a mock function with given fields: ctx, params, optFns

func (*IClient) CancelStatement

func (_m *IClient) CancelStatement(ctx context.Context, params *redshiftdata.CancelStatementInput, optFns ...func(*redshiftdata.Options)) (*redshiftdata.CancelStatementOutput, error)

CancelStatement provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeStatement

func (_m *IClient) DescribeStatement(ctx context.Context, params *redshiftdata.DescribeStatementInput, optFns ...func(*redshiftdata.Options)) (*redshiftdata.DescribeStatementOutput, error)

DescribeStatement provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeTable

func (_m *IClient) DescribeTable(ctx context.Context, params *redshiftdata.DescribeTableInput, optFns ...func(*redshiftdata.Options)) (*redshiftdata.DescribeTableOutput, error)

DescribeTable provides a mock function with given fields: ctx, params, optFns

func (*IClient) ExecuteStatement

func (_m *IClient) ExecuteStatement(ctx context.Context, params *redshiftdata.ExecuteStatementInput, optFns ...func(*redshiftdata.Options)) (*redshiftdata.ExecuteStatementOutput, error)

ExecuteStatement provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetStatementResult

GetStatementResult provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetStatementResultV2 added in v0.1.0

GetStatementResultV2 provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListDatabases

func (_m *IClient) ListDatabases(ctx context.Context, params *redshiftdata.ListDatabasesInput, optFns ...func(*redshiftdata.Options)) (*redshiftdata.ListDatabasesOutput, error)

ListDatabases provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListSchemas

func (_m *IClient) ListSchemas(ctx context.Context, params *redshiftdata.ListSchemasInput, optFns ...func(*redshiftdata.Options)) (*redshiftdata.ListSchemasOutput, error)

ListSchemas provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListStatements

func (_m *IClient) ListStatements(ctx context.Context, params *redshiftdata.ListStatementsInput, optFns ...func(*redshiftdata.Options)) (*redshiftdata.ListStatementsOutput, error)

ListStatements provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTables

func (_m *IClient) ListTables(ctx context.Context, params *redshiftdata.ListTablesInput, optFns ...func(*redshiftdata.Options)) (*redshiftdata.ListTablesOutput, error)

ListTables provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() redshiftdata.Options

Options provides a mock function with given fields:

Jump to

Keyboard shortcuts

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