Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockActions
- func (m *MockActions) Create(arg0 context.Context, arg1 interface{}) error
- func (m *MockActions) EXPECT() *MockActionsMockRecorder
- func (m *MockActions) FirstOrCreate(arg0 context.Context, arg1 interface{}) error
- func (m *MockActions) Get(arg0 context.Context, arg1 interface{}) error
- func (m *MockActions) GetByID(arg0 context.Context, arg1 interface{}, arg2 ...uint) error
- func (m *MockActions) Remove(arg0 context.Context, arg1 interface{}) error
- func (m *MockActions) UpdateAttrs(arg0 context.Context, arg1 interface{}, arg2 map[string]interface{}) error
- func (m *MockActions) UpdateOrCreate(arg0 context.Context, arg1 interface{}) error
- type MockActionsMockRecorder
- func (mr *MockActionsMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockActionsMockRecorder) FirstOrCreate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockActionsMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockActionsMockRecorder) GetByID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockActionsMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockActionsMockRecorder) UpdateAttrs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockActionsMockRecorder) UpdateOrCreate(arg0, arg1 interface{}) *gomock.Call
- type MockCreator
- type MockCreatorMockRecorder
- type MockFinder
- type MockFinderMockRecorder
- type MockRemover
- type MockRemoverMockRecorder
- type MockUpdater
- type MockUpdaterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockActions ¶
type MockActions struct {
// contains filtered or unexported fields
}
MockActions is a mock of Actions interface
func NewMockActions ¶
func NewMockActions(ctrl *gomock.Controller) *MockActions
NewMockActions creates a new mock instance
func (*MockActions) Create ¶
func (m *MockActions) Create(arg0 context.Context, arg1 interface{}) error
Create mocks base method
func (*MockActions) EXPECT ¶
func (m *MockActions) EXPECT() *MockActionsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockActions) FirstOrCreate ¶
func (m *MockActions) FirstOrCreate(arg0 context.Context, arg1 interface{}) error
FirstOrCreate mocks base method
func (*MockActions) Get ¶
func (m *MockActions) Get(arg0 context.Context, arg1 interface{}) error
Get mocks base method
func (*MockActions) GetByID ¶
func (m *MockActions) GetByID(arg0 context.Context, arg1 interface{}, arg2 ...uint) error
GetByID mocks base method
func (*MockActions) Remove ¶
func (m *MockActions) Remove(arg0 context.Context, arg1 interface{}) error
Remove mocks base method
func (*MockActions) UpdateAttrs ¶
func (m *MockActions) UpdateAttrs(arg0 context.Context, arg1 interface{}, arg2 map[string]interface{}) error
UpdateAttrs mocks base method
func (*MockActions) UpdateOrCreate ¶
func (m *MockActions) UpdateOrCreate(arg0 context.Context, arg1 interface{}) error
UpdateOrCreate mocks base method
type MockActionsMockRecorder ¶
type MockActionsMockRecorder struct {
// contains filtered or unexported fields
}
MockActionsMockRecorder is the mock recorder for MockActions
func (*MockActionsMockRecorder) Create ¶
func (mr *MockActionsMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockActionsMockRecorder) FirstOrCreate ¶
func (mr *MockActionsMockRecorder) FirstOrCreate(arg0, arg1 interface{}) *gomock.Call
FirstOrCreate indicates an expected call of FirstOrCreate
func (*MockActionsMockRecorder) Get ¶
func (mr *MockActionsMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockActionsMockRecorder) GetByID ¶
func (mr *MockActionsMockRecorder) GetByID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetByID indicates an expected call of GetByID
func (*MockActionsMockRecorder) Remove ¶
func (mr *MockActionsMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Remove indicates an expected call of Remove
func (*MockActionsMockRecorder) UpdateAttrs ¶
func (mr *MockActionsMockRecorder) UpdateAttrs(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateAttrs indicates an expected call of UpdateAttrs
func (*MockActionsMockRecorder) UpdateOrCreate ¶
func (mr *MockActionsMockRecorder) UpdateOrCreate(arg0, arg1 interface{}) *gomock.Call
UpdateOrCreate indicates an expected call of UpdateOrCreate
type MockCreator ¶
type MockCreator struct {
// contains filtered or unexported fields
}
MockCreator is a mock of Creator interface
func NewMockCreator ¶
func NewMockCreator(ctrl *gomock.Controller) *MockCreator
NewMockCreator creates a new mock instance
func (*MockCreator) Create ¶
func (m *MockCreator) Create(arg0 context.Context, arg1 interface{}) error
Create mocks base method
func (*MockCreator) EXPECT ¶
func (m *MockCreator) EXPECT() *MockCreatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCreator) FirstOrCreate ¶
func (m *MockCreator) FirstOrCreate(arg0 context.Context, arg1 interface{}) error
FirstOrCreate mocks base method
type MockCreatorMockRecorder ¶
type MockCreatorMockRecorder struct {
// contains filtered or unexported fields
}
MockCreatorMockRecorder is the mock recorder for MockCreator
func (*MockCreatorMockRecorder) Create ¶
func (mr *MockCreatorMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockCreatorMockRecorder) FirstOrCreate ¶
func (mr *MockCreatorMockRecorder) FirstOrCreate(arg0, arg1 interface{}) *gomock.Call
FirstOrCreate indicates an expected call of FirstOrCreate
type MockFinder ¶
type MockFinder struct {
// contains filtered or unexported fields
}
MockFinder is a mock of Finder interface
func NewMockFinder ¶
func NewMockFinder(ctrl *gomock.Controller) *MockFinder
NewMockFinder creates a new mock instance
func (*MockFinder) EXPECT ¶
func (m *MockFinder) EXPECT() *MockFinderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockFinderMockRecorder ¶
type MockFinderMockRecorder struct {
// contains filtered or unexported fields
}
MockFinderMockRecorder is the mock recorder for MockFinder
func (*MockFinderMockRecorder) Get ¶
func (mr *MockFinderMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockFinderMockRecorder) GetByID ¶
func (mr *MockFinderMockRecorder) GetByID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetByID indicates an expected call of GetByID
type MockRemover ¶
type MockRemover struct {
// contains filtered or unexported fields
}
MockRemover is a mock of Remover interface
func NewMockRemover ¶
func NewMockRemover(ctrl *gomock.Controller) *MockRemover
NewMockRemover creates a new mock instance
func (*MockRemover) EXPECT ¶
func (m *MockRemover) EXPECT() *MockRemoverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRemoverMockRecorder ¶
type MockRemoverMockRecorder struct {
// contains filtered or unexported fields
}
MockRemoverMockRecorder is the mock recorder for MockRemover
func (*MockRemoverMockRecorder) Remove ¶
func (mr *MockRemoverMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Remove indicates an expected call of Remove
type MockUpdater ¶
type MockUpdater struct {
// contains filtered or unexported fields
}
MockUpdater is a mock of Updater interface
func NewMockUpdater ¶
func NewMockUpdater(ctrl *gomock.Controller) *MockUpdater
NewMockUpdater creates a new mock instance
func (*MockUpdater) EXPECT ¶
func (m *MockUpdater) EXPECT() *MockUpdaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUpdater) UpdateAttrs ¶
func (m *MockUpdater) UpdateAttrs(arg0 context.Context, arg1 interface{}, arg2 map[string]interface{}) error
UpdateAttrs mocks base method
func (*MockUpdater) UpdateOrCreate ¶
func (m *MockUpdater) UpdateOrCreate(arg0 context.Context, arg1 interface{}) error
UpdateOrCreate mocks base method
type MockUpdaterMockRecorder ¶
type MockUpdaterMockRecorder struct {
// contains filtered or unexported fields
}
MockUpdaterMockRecorder is the mock recorder for MockUpdater
func (*MockUpdaterMockRecorder) UpdateAttrs ¶
func (mr *MockUpdaterMockRecorder) UpdateAttrs(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateAttrs indicates an expected call of UpdateAttrs
func (*MockUpdaterMockRecorder) UpdateOrCreate ¶
func (mr *MockUpdaterMockRecorder) UpdateOrCreate(arg0, arg1 interface{}) *gomock.Call
UpdateOrCreate indicates an expected call of UpdateOrCreate