Versions in this module Expand all Collapse all v1 v1.0.0 Jul 17, 2018 Changes in this version + type MockTransaction struct + func NewMockTransaction(ctrl *gomock.Controller) *MockTransaction + func (m *MockTransaction) Close() error + func (m *MockTransaction) Closed() bool + func (m *MockTransaction) Commit() error + func (m *MockTransaction) CountContext(arg0 context.Context, arg1 *schema.Schema, arg2 transaction.Filter) (uint64, error) + func (m *MockTransaction) Create(arg0 *schema.Resource) error + func (m *MockTransaction) CreateContext(arg0 context.Context, arg1 *schema.Resource) error + func (m *MockTransaction) Delete(arg0 *schema.Schema, arg1 interface{}) error + func (m *MockTransaction) DeleteContext(arg0 context.Context, arg1 *schema.Schema, arg2 interface{}) error + func (m *MockTransaction) EXPECT() *MockTransactionMockRecorder + func (m *MockTransaction) Exec(query string, args ...interface{}) error + func (m *MockTransaction) ExecContext(ctx context.Context, query string, args ...interface{}) error + func (m *MockTransaction) Fetch(arg0 *schema.Schema, arg1 transaction.Filter, arg2 *transaction.ViewOptions) (*schema.Resource, error) + func (m *MockTransaction) FetchContext(arg0 context.Context, arg1 *schema.Schema, arg2 transaction.Filter, ...) (*schema.Resource, error) + func (m *MockTransaction) GetIsolationLevel() transaction.Type + func (m *MockTransaction) List(arg0 *schema.Schema, arg1 transaction.Filter, arg2 *transaction.ViewOptions, ...) ([]*schema.Resource, uint64, error) + func (m *MockTransaction) ListContext(arg0 context.Context, arg1 *schema.Schema, arg2 transaction.Filter, ...) ([]*schema.Resource, uint64, error) + func (m *MockTransaction) LockFetch(arg0 *schema.Schema, arg1 transaction.Filter, arg2 schema.LockPolicy, ...) (*schema.Resource, error) + func (m *MockTransaction) LockFetchContext(arg0 context.Context, arg1 *schema.Schema, arg2 transaction.Filter, ...) (*schema.Resource, error) + func (m *MockTransaction) LockList(arg0 *schema.Schema, arg1 transaction.Filter, arg2 *transaction.ViewOptions, ...) ([]*schema.Resource, uint64, error) + func (m *MockTransaction) LockListContext(arg0 context.Context, arg1 *schema.Schema, arg2 transaction.Filter, ...) ([]*schema.Resource, uint64, error) + func (m *MockTransaction) Query(arg0 *schema.Schema, arg1 string, arg2 []interface{}) ([]*schema.Resource, error) + func (m *MockTransaction) QueryContext(arg0 context.Context, arg1 *schema.Schema, arg2 string, arg3 []interface{}) ([]*schema.Resource, error) + func (m *MockTransaction) RawTransaction() *sqlx.Tx + func (m *MockTransaction) StateFetch(arg0 *schema.Schema, arg1 transaction.Filter) (transaction.ResourceState, error) + func (m *MockTransaction) StateFetchContext(arg0 context.Context, arg1 *schema.Schema, arg2 transaction.Filter) (transaction.ResourceState, error) + func (m *MockTransaction) StateUpdate(arg0 *schema.Resource, arg1 *transaction.ResourceState) error + func (m *MockTransaction) StateUpdateContext(arg0 context.Context, arg1 *schema.Resource, arg2 *transaction.ResourceState) error + func (m *MockTransaction) Update(arg0 *schema.Resource) error + func (m *MockTransaction) UpdateContext(arg0 context.Context, arg1 *schema.Resource) error + type MockTransactionMockRecorder struct + func (mr *MockTransactionMockRecorder) Close() *gomock.Call + func (mr *MockTransactionMockRecorder) Closed() *gomock.Call + func (mr *MockTransactionMockRecorder) Commit() *gomock.Call + func (mr *MockTransactionMockRecorder) CountContext(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) Create(arg0 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) CreateContext(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) DeleteContext(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) Exec(query interface{}, args ...interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) ExecContext(ctx, query interface{}, args ...interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) Fetch(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) FetchContext(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) GetIsolationLevel() *gomock.Call + func (mr *MockTransactionMockRecorder) List(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) ListContext(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) LockFetch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) LockFetchContext(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) LockList(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) LockListContext(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) Query(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) QueryContext(arg0, arg1, arg2, arg3 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) RawTransaction() *gomock.Call + func (mr *MockTransactionMockRecorder) StateFetch(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) StateFetchContext(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) StateUpdate(arg0, arg1 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) StateUpdateContext(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) Update(arg0 interface{}) *gomock.Call + func (mr *MockTransactionMockRecorder) UpdateContext(arg0, arg1 interface{}) *gomock.Call