Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockAlarm
- type MockAlarmMockRecorder
- type MockClockWrapper
- type MockClockWrapperMockRecorder
- type MockFlusher
- type MockFlusherMockRecorder
- type MockRepo
- func (m *MockRepo) CreatePresentation(arg0 context.Context, arg1 model.Presentation) (uint64, error)
- func (m *MockRepo) DescribePresentation(arg0 context.Context, arg1 uint64) (*model.Presentation, error)
- func (m *MockRepo) EXPECT() *MockRepoMockRecorder
- func (m *MockRepo) ListPresentations(arg0 context.Context, arg1, arg2 uint64) ([]model.Presentation, error)
- func (m *MockRepo) MultiCreatePresentations(arg0 context.Context, arg1 []model.Presentation) (int64, error)
- func (m *MockRepo) RemovePresentation(arg0 context.Context, arg1 uint64) (bool, error)
- func (m *MockRepo) UpdatePresentation(arg0 context.Context, arg1 model.Presentation) (bool, error)
- type MockRepoMockRecorder
- func (mr *MockRepoMockRecorder) CreatePresentation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) DescribePresentation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) ListPresentations(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) MultiCreatePresentations(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) RemovePresentation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) UpdatePresentation(arg0, arg1 interface{}) *gomock.Call
- type MockSaver
- type MockSaverMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAlarm ¶
type MockAlarm struct {
// contains filtered or unexported fields
}
MockAlarm is a mock of Alarm interface.
func NewMockAlarm ¶
func NewMockAlarm(ctrl *gomock.Controller) *MockAlarm
NewMockAlarm creates a new mock instance.
func (*MockAlarm) EXPECT ¶
func (m *MockAlarm) EXPECT() *MockAlarmMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAlarmMockRecorder ¶
type MockAlarmMockRecorder struct {
// contains filtered or unexported fields
}
MockAlarmMockRecorder is the mock recorder for MockAlarm.
func (*MockAlarmMockRecorder) Alarm ¶
func (mr *MockAlarmMockRecorder) Alarm() *gomock.Call
Alarm indicates an expected call of Alarm.
func (*MockAlarmMockRecorder) Close ¶
func (mr *MockAlarmMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockAlarmMockRecorder) Init ¶
func (mr *MockAlarmMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init.
type MockClockWrapper ¶
type MockClockWrapper struct {
// contains filtered or unexported fields
}
MockClockWrapper is a mock of ClockWrapper interface.
func NewMockClockWrapper ¶
func NewMockClockWrapper(ctrl *gomock.Controller) *MockClockWrapper
NewMockClockWrapper creates a new mock instance.
func (*MockClockWrapper) EXPECT ¶
func (m *MockClockWrapper) EXPECT() *MockClockWrapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClockWrapperMockRecorder ¶
type MockClockWrapperMockRecorder struct {
// contains filtered or unexported fields
}
MockClockWrapperMockRecorder is the mock recorder for MockClockWrapper.
func (*MockClockWrapperMockRecorder) Now ¶
func (mr *MockClockWrapperMockRecorder) Now() *gomock.Call
Now indicates an expected call of Now.
type MockFlusher ¶
type MockFlusher struct {
// contains filtered or unexported fields
}
MockFlusher is a mock of Flusher interface.
func NewMockFlusher ¶
func NewMockFlusher(ctrl *gomock.Controller) *MockFlusher
NewMockFlusher creates a new mock instance.
func (*MockFlusher) EXPECT ¶
func (m *MockFlusher) EXPECT() *MockFlusherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFlusher) Flush ¶
func (m *MockFlusher) Flush(arg0 context.Context, arg1 []model.Presentation) ([]model.Presentation, error)
Flush mocks base method.
type MockFlusherMockRecorder ¶
type MockFlusherMockRecorder struct {
// contains filtered or unexported fields
}
MockFlusherMockRecorder is the mock recorder for MockFlusher.
func (*MockFlusherMockRecorder) Flush ¶
func (mr *MockFlusherMockRecorder) Flush(arg0, arg1 interface{}) *gomock.Call
Flush indicates an expected call of Flush.
type MockRepo ¶
type MockRepo struct {
// contains filtered or unexported fields
}
MockRepo is a mock of Repo interface.
func NewMockRepo ¶
func NewMockRepo(ctrl *gomock.Controller) *MockRepo
NewMockRepo creates a new mock instance.
func (*MockRepo) CreatePresentation ¶
func (m *MockRepo) CreatePresentation(arg0 context.Context, arg1 model.Presentation) (uint64, error)
CreatePresentation mocks base method.
func (*MockRepo) DescribePresentation ¶
func (m *MockRepo) DescribePresentation(arg0 context.Context, arg1 uint64) (*model.Presentation, error)
DescribePresentation mocks base method.
func (*MockRepo) EXPECT ¶
func (m *MockRepo) EXPECT() *MockRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepo) ListPresentations ¶
func (m *MockRepo) ListPresentations(arg0 context.Context, arg1, arg2 uint64) ([]model.Presentation, error)
ListPresentations mocks base method.
func (*MockRepo) MultiCreatePresentations ¶
func (m *MockRepo) MultiCreatePresentations(arg0 context.Context, arg1 []model.Presentation) (int64, error)
MultiCreatePresentations mocks base method.
func (*MockRepo) RemovePresentation ¶
RemovePresentation mocks base method.
func (*MockRepo) UpdatePresentation ¶
UpdatePresentation mocks base method.
type MockRepoMockRecorder ¶
type MockRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockRepoMockRecorder is the mock recorder for MockRepo.
func (*MockRepoMockRecorder) CreatePresentation ¶
func (mr *MockRepoMockRecorder) CreatePresentation(arg0, arg1 interface{}) *gomock.Call
CreatePresentation indicates an expected call of CreatePresentation.
func (*MockRepoMockRecorder) DescribePresentation ¶
func (mr *MockRepoMockRecorder) DescribePresentation(arg0, arg1 interface{}) *gomock.Call
DescribePresentation indicates an expected call of DescribePresentation.
func (*MockRepoMockRecorder) ListPresentations ¶
func (mr *MockRepoMockRecorder) ListPresentations(arg0, arg1, arg2 interface{}) *gomock.Call
ListPresentations indicates an expected call of ListPresentations.
func (*MockRepoMockRecorder) MultiCreatePresentations ¶
func (mr *MockRepoMockRecorder) MultiCreatePresentations(arg0, arg1 interface{}) *gomock.Call
MultiCreatePresentations indicates an expected call of MultiCreatePresentations.
func (*MockRepoMockRecorder) RemovePresentation ¶
func (mr *MockRepoMockRecorder) RemovePresentation(arg0, arg1 interface{}) *gomock.Call
RemovePresentation indicates an expected call of RemovePresentation.
func (*MockRepoMockRecorder) UpdatePresentation ¶
func (mr *MockRepoMockRecorder) UpdatePresentation(arg0, arg1 interface{}) *gomock.Call
UpdatePresentation indicates an expected call of UpdatePresentation.
type MockSaver ¶
type MockSaver struct {
// contains filtered or unexported fields
}
MockSaver is a mock of Saver interface.
func NewMockSaver ¶
func NewMockSaver(ctrl *gomock.Controller) *MockSaver
NewMockSaver creates a new mock instance.
func (*MockSaver) EXPECT ¶
func (m *MockSaver) EXPECT() *MockSaverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSaverMockRecorder ¶
type MockSaverMockRecorder struct {
// contains filtered or unexported fields
}
MockSaverMockRecorder is the mock recorder for MockSaver.
func (*MockSaverMockRecorder) Close ¶
func (mr *MockSaverMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockSaverMockRecorder) Init ¶
func (mr *MockSaverMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockSaverMockRecorder) Save ¶
func (mr *MockSaverMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call
Save indicates an expected call of Save.