mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTransaction

type MockTransaction struct {
	// contains filtered or unexported fields
}

MockTransaction is a mock of Transaction interface

func NewMockTransaction

func NewMockTransaction(ctrl *gomock.Controller) *MockTransaction

NewMockTransaction creates a new mock instance

func (*MockTransaction) Close

func (m *MockTransaction) Close() error

Close mocks base method

func (*MockTransaction) Closed

func (m *MockTransaction) Closed() bool

Closed mocks base method

func (*MockTransaction) Commit

func (m *MockTransaction) Commit() error

Commit mocks base method

func (*MockTransaction) CountContext

func (m *MockTransaction) CountContext(arg0 context.Context, arg1 *schema.Schema, arg2 transaction.Filter) (uint64, error)

CountContext mocks base method

func (*MockTransaction) Create

func (m *MockTransaction) Create(arg0 *schema.Resource) error

Create mocks base method

func (*MockTransaction) CreateContext

func (m *MockTransaction) CreateContext(arg0 context.Context, arg1 *schema.Resource) error

CreateContext mocks base method

func (*MockTransaction) Delete

func (m *MockTransaction) Delete(arg0 *schema.Schema, arg1 interface{}) error

Delete mocks base method

func (*MockTransaction) DeleteContext

func (m *MockTransaction) DeleteContext(arg0 context.Context, arg1 *schema.Schema, arg2 interface{}) error

DeleteContext mocks base method

func (*MockTransaction) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTransaction) Exec

func (m *MockTransaction) Exec(query string, args ...interface{}) error

Exec mocks base method

func (*MockTransaction) ExecContext

func (m *MockTransaction) ExecContext(ctx context.Context, query string, args ...interface{}) error

ExecContext mocks base method

func (*MockTransaction) Fetch

Fetch mocks base method

func (*MockTransaction) FetchContext

func (m *MockTransaction) FetchContext(arg0 context.Context, arg1 *schema.Schema, arg2 transaction.Filter, arg3 *transaction.ViewOptions) (*schema.Resource, error)

FetchContext mocks base method

func (*MockTransaction) GetIsolationLevel

func (m *MockTransaction) GetIsolationLevel() transaction.Type

GetIsolationLevel mocks base method

func (*MockTransaction) List

List mocks base method

func (*MockTransaction) ListContext

ListContext mocks base method

func (*MockTransaction) LockFetch

LockFetch mocks base method

func (*MockTransaction) LockFetchContext

func (m *MockTransaction) LockFetchContext(arg0 context.Context, arg1 *schema.Schema, arg2 transaction.Filter, arg3 schema.LockPolicy, arg4 *transaction.ViewOptions) (*schema.Resource, error)

LockFetchContext mocks base method

func (*MockTransaction) LockList

LockList mocks base method

func (*MockTransaction) LockListContext

LockListContext mocks base method

func (*MockTransaction) Query

func (m *MockTransaction) Query(arg0 *schema.Schema, arg1 string, arg2 []interface{}) ([]*schema.Resource, error)

Query mocks base method

func (*MockTransaction) QueryContext

func (m *MockTransaction) QueryContext(arg0 context.Context, arg1 *schema.Schema, arg2 string, arg3 []interface{}) ([]*schema.Resource, error)

QueryContext mocks base method

func (*MockTransaction) RawTransaction

func (m *MockTransaction) RawTransaction() *sqlx.Tx

RawTransaction mocks base method

func (*MockTransaction) StateFetch

StateFetch mocks base method

func (*MockTransaction) StateFetchContext

func (m *MockTransaction) StateFetchContext(arg0 context.Context, arg1 *schema.Schema, arg2 transaction.Filter) (transaction.ResourceState, error)

StateFetchContext mocks base method

func (*MockTransaction) StateUpdate

func (m *MockTransaction) StateUpdate(arg0 *schema.Resource, arg1 *transaction.ResourceState) error

StateUpdate mocks base method

func (*MockTransaction) StateUpdateContext

func (m *MockTransaction) StateUpdateContext(arg0 context.Context, arg1 *schema.Resource, arg2 *transaction.ResourceState) error

StateUpdateContext mocks base method

func (*MockTransaction) Update

func (m *MockTransaction) Update(arg0 *schema.Resource) error

Update mocks base method

func (*MockTransaction) UpdateContext

func (m *MockTransaction) UpdateContext(arg0 context.Context, arg1 *schema.Resource) error

UpdateContext mocks base method

type MockTransactionMockRecorder

type MockTransactionMockRecorder struct {
	// contains filtered or unexported fields
}

MockTransactionMockRecorder is the mock recorder for MockTransaction

func (*MockTransactionMockRecorder) Close

Close indicates an expected call of Close

func (*MockTransactionMockRecorder) Closed

func (mr *MockTransactionMockRecorder) Closed() *gomock.Call

Closed indicates an expected call of Closed

func (*MockTransactionMockRecorder) Commit

func (mr *MockTransactionMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit

func (*MockTransactionMockRecorder) CountContext

func (mr *MockTransactionMockRecorder) CountContext(arg0, arg1, arg2 interface{}) *gomock.Call

CountContext indicates an expected call of CountContext

func (*MockTransactionMockRecorder) Create

func (mr *MockTransactionMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockTransactionMockRecorder) CreateContext

func (mr *MockTransactionMockRecorder) CreateContext(arg0, arg1 interface{}) *gomock.Call

CreateContext indicates an expected call of CreateContext

func (*MockTransactionMockRecorder) Delete

func (mr *MockTransactionMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockTransactionMockRecorder) DeleteContext

func (mr *MockTransactionMockRecorder) DeleteContext(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteContext indicates an expected call of DeleteContext

func (*MockTransactionMockRecorder) Exec

func (mr *MockTransactionMockRecorder) Exec(query interface{}, args ...interface{}) *gomock.Call

Exec indicates an expected call of Exec

func (*MockTransactionMockRecorder) ExecContext

func (mr *MockTransactionMockRecorder) ExecContext(ctx, query interface{}, args ...interface{}) *gomock.Call

ExecContext indicates an expected call of ExecContext

func (*MockTransactionMockRecorder) Fetch

func (mr *MockTransactionMockRecorder) Fetch(arg0, arg1, arg2 interface{}) *gomock.Call

Fetch indicates an expected call of Fetch

func (*MockTransactionMockRecorder) FetchContext

func (mr *MockTransactionMockRecorder) FetchContext(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

FetchContext indicates an expected call of FetchContext

func (*MockTransactionMockRecorder) GetIsolationLevel

func (mr *MockTransactionMockRecorder) GetIsolationLevel() *gomock.Call

GetIsolationLevel indicates an expected call of GetIsolationLevel

func (*MockTransactionMockRecorder) List

func (mr *MockTransactionMockRecorder) List(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockTransactionMockRecorder) ListContext

func (mr *MockTransactionMockRecorder) ListContext(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

ListContext indicates an expected call of ListContext

func (*MockTransactionMockRecorder) LockFetch

func (mr *MockTransactionMockRecorder) LockFetch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

LockFetch indicates an expected call of LockFetch

func (*MockTransactionMockRecorder) LockFetchContext

func (mr *MockTransactionMockRecorder) LockFetchContext(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

LockFetchContext indicates an expected call of LockFetchContext

func (*MockTransactionMockRecorder) LockList

func (mr *MockTransactionMockRecorder) LockList(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

LockList indicates an expected call of LockList

func (*MockTransactionMockRecorder) LockListContext

func (mr *MockTransactionMockRecorder) LockListContext(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

LockListContext indicates an expected call of LockListContext

func (*MockTransactionMockRecorder) Query

func (mr *MockTransactionMockRecorder) Query(arg0, arg1, arg2 interface{}) *gomock.Call

Query indicates an expected call of Query

func (*MockTransactionMockRecorder) QueryContext

func (mr *MockTransactionMockRecorder) QueryContext(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

QueryContext indicates an expected call of QueryContext

func (*MockTransactionMockRecorder) RawTransaction

func (mr *MockTransactionMockRecorder) RawTransaction() *gomock.Call

RawTransaction indicates an expected call of RawTransaction

func (*MockTransactionMockRecorder) StateFetch

func (mr *MockTransactionMockRecorder) StateFetch(arg0, arg1 interface{}) *gomock.Call

StateFetch indicates an expected call of StateFetch

func (*MockTransactionMockRecorder) StateFetchContext

func (mr *MockTransactionMockRecorder) StateFetchContext(arg0, arg1, arg2 interface{}) *gomock.Call

StateFetchContext indicates an expected call of StateFetchContext

func (*MockTransactionMockRecorder) StateUpdate

func (mr *MockTransactionMockRecorder) StateUpdate(arg0, arg1 interface{}) *gomock.Call

StateUpdate indicates an expected call of StateUpdate

func (*MockTransactionMockRecorder) StateUpdateContext

func (mr *MockTransactionMockRecorder) StateUpdateContext(arg0, arg1, arg2 interface{}) *gomock.Call

StateUpdateContext indicates an expected call of StateUpdateContext

func (*MockTransactionMockRecorder) Update

func (mr *MockTransactionMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockTransactionMockRecorder) UpdateContext

func (mr *MockTransactionMockRecorder) UpdateContext(arg0, arg1 interface{}) *gomock.Call

UpdateContext indicates an expected call of UpdateContext

Jump to

Keyboard shortcuts

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