mocks

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 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

func (_m *IClient) BatchExecuteStatement(ctx context.Context, params *rdsdata.BatchExecuteStatementInput, optFns ...func(*rdsdata.Options)) (*rdsdata.BatchExecuteStatementOutput, error)

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

func (*IClient) BeginTransaction

func (_m *IClient) BeginTransaction(ctx context.Context, params *rdsdata.BeginTransactionInput, optFns ...func(*rdsdata.Options)) (*rdsdata.BeginTransactionOutput, error)

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

func (*IClient) CommitTransaction

func (_m *IClient) CommitTransaction(ctx context.Context, params *rdsdata.CommitTransactionInput, optFns ...func(*rdsdata.Options)) (*rdsdata.CommitTransactionOutput, error)

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

func (*IClient) ExecuteSql

func (_m *IClient) ExecuteSql(ctx context.Context, params *rdsdata.ExecuteSqlInput, optFns ...func(*rdsdata.Options)) (*rdsdata.ExecuteSqlOutput, error)

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

func (*IClient) ExecuteStatement

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) RollbackTransaction

func (_m *IClient) RollbackTransaction(ctx context.Context, params *rdsdata.RollbackTransactionInput, optFns ...func(*rdsdata.Options)) (*rdsdata.RollbackTransactionOutput, error)

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

Jump to

Keyboard shortcuts

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