Documentation ¶
Overview ¶
Package mock_scenarios is a generated GoMock package.
Index ¶
- type MockAdder
- type MockAdderMockRecorder
- type MockDeleter
- type MockDeleterMockRecorder
- type MockGetter
- type MockGetterMockRecorder
- type MockMetaHandler
- type MockMetaHandlerMockRecorder
- type MockReaderUpdater
- func (m *MockReaderUpdater) EXPECT() *MockReaderUpdaterMockRecorder
- func (m *MockReaderUpdater) Get(ctx context.Context, id string, item interface{}) error
- func (m *MockReaderUpdater) GetAll(ctx context.Context, items interface{}, filterMap map[string][]string, ...) error
- func (m *MockReaderUpdater) Update(ctx context.Context, id string, item interface{}) error
- type MockReaderUpdaterMockRecorder
- func (mr *MockReaderUpdaterMockRecorder) Get(ctx, id, item interface{}) *gomock.Call
- func (mr *MockReaderUpdaterMockRecorder) GetAll(ctx, items, filterMap, sortBy, reverse, count, previousLastValue interface{}) *gomock.Call
- func (mr *MockReaderUpdaterMockRecorder) Update(ctx, id, item interface{}) *gomock.Call
- type MockUpdater
- type MockUpdaterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAdder ¶
type MockAdder struct {
// contains filtered or unexported fields
}
MockAdder is a mock of Adder interface
func NewMockAdder ¶
func NewMockAdder(ctrl *gomock.Controller) *MockAdder
NewMockAdder creates a new mock instance
func (*MockAdder) EXPECT ¶
func (m *MockAdder) EXPECT() *MockAdderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockAdderMockRecorder ¶
type MockAdderMockRecorder struct {
// contains filtered or unexported fields
}
MockAdderMockRecorder is the mock recorder for MockAdder
func (*MockAdderMockRecorder) AddOne ¶
func (mr *MockAdderMockRecorder) AddOne(ctx, item interface{}) *gomock.Call
AddOne indicates an expected call of AddOne
type MockDeleter ¶
type MockDeleter struct {
// contains filtered or unexported fields
}
MockDeleter is a mock of Deleter interface
func NewMockDeleter ¶
func NewMockDeleter(ctrl *gomock.Controller) *MockDeleter
NewMockDeleter creates a new mock instance
func (*MockDeleter) Delete ¶
func (m *MockDeleter) Delete(ctx context.Context, id string) error
Delete mocks base method
func (*MockDeleter) EXPECT ¶
func (m *MockDeleter) EXPECT() *MockDeleterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockDeleterMockRecorder ¶
type MockDeleterMockRecorder struct {
// contains filtered or unexported fields
}
MockDeleterMockRecorder is the mock recorder for MockDeleter
func (*MockDeleterMockRecorder) Delete ¶
func (mr *MockDeleterMockRecorder) Delete(ctx, id interface{}) *gomock.Call
Delete indicates an expected call of Delete
type MockGetter ¶
type MockGetter struct {
// contains filtered or unexported fields
}
MockGetter is a mock of Getter interface
func NewMockGetter ¶
func NewMockGetter(ctrl *gomock.Controller) *MockGetter
NewMockGetter creates a new mock instance
func (*MockGetter) EXPECT ¶
func (m *MockGetter) EXPECT() *MockGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockGetterMockRecorder ¶
type MockGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockGetterMockRecorder is the mock recorder for MockGetter
func (*MockGetterMockRecorder) Get ¶
func (mr *MockGetterMockRecorder) Get(ctx, id, item interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockGetterMockRecorder) GetAll ¶
func (mr *MockGetterMockRecorder) GetAll(ctx, items, filterMap, sortBy, reverse, count, previousLastValue interface{}) *gomock.Call
GetAll indicates an expected call of GetAll
type MockMetaHandler ¶
type MockMetaHandler struct {
// contains filtered or unexported fields
}
MockMetaHandler is a mock of MetaHandler interface
func NewMockMetaHandler ¶
func NewMockMetaHandler(ctrl *gomock.Controller) *MockMetaHandler
NewMockMetaHandler creates a new mock instance
func (*MockMetaHandler) EXPECT ¶
func (m *MockMetaHandler) EXPECT() *MockMetaHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMetaHandler) NewMeta ¶
func (m *MockMetaHandler) NewMeta(author, objType string) (*metadata.Identity, error)
NewMeta mocks base method
func (*MockMetaHandler) UpdateMeta ¶
func (m *MockMetaHandler) UpdateMeta(author string, identity *metadata.Identity)
UpdateMeta mocks base method
type MockMetaHandlerMockRecorder ¶
type MockMetaHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockMetaHandlerMockRecorder is the mock recorder for MockMetaHandler
func (*MockMetaHandlerMockRecorder) NewMeta ¶
func (mr *MockMetaHandlerMockRecorder) NewMeta(author, objType interface{}) *gomock.Call
NewMeta indicates an expected call of NewMeta
func (*MockMetaHandlerMockRecorder) UpdateMeta ¶
func (mr *MockMetaHandlerMockRecorder) UpdateMeta(author, identity interface{}) *gomock.Call
UpdateMeta indicates an expected call of UpdateMeta
type MockReaderUpdater ¶
type MockReaderUpdater struct {
// contains filtered or unexported fields
}
MockReaderUpdater is a mock of ReaderUpdater interface
func NewMockReaderUpdater ¶
func NewMockReaderUpdater(ctrl *gomock.Controller) *MockReaderUpdater
NewMockReaderUpdater creates a new mock instance
func (*MockReaderUpdater) EXPECT ¶
func (m *MockReaderUpdater) EXPECT() *MockReaderUpdaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReaderUpdater) Get ¶
func (m *MockReaderUpdater) Get(ctx context.Context, id string, item interface{}) error
Get mocks base method
type MockReaderUpdaterMockRecorder ¶
type MockReaderUpdaterMockRecorder struct {
// contains filtered or unexported fields
}
MockReaderUpdaterMockRecorder is the mock recorder for MockReaderUpdater
func (*MockReaderUpdaterMockRecorder) Get ¶
func (mr *MockReaderUpdaterMockRecorder) Get(ctx, id, item interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockReaderUpdaterMockRecorder) GetAll ¶
func (mr *MockReaderUpdaterMockRecorder) GetAll(ctx, items, filterMap, sortBy, reverse, count, previousLastValue interface{}) *gomock.Call
GetAll indicates an expected call of GetAll
func (*MockReaderUpdaterMockRecorder) Update ¶
func (mr *MockReaderUpdaterMockRecorder) Update(ctx, id, item interface{}) *gomock.Call
Update indicates an expected call of Update
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
type MockUpdaterMockRecorder ¶
type MockUpdaterMockRecorder struct {
// contains filtered or unexported fields
}
MockUpdaterMockRecorder is the mock recorder for MockUpdater
func (*MockUpdaterMockRecorder) Update ¶
func (mr *MockUpdaterMockRecorder) Update(ctx, id, item interface{}) *gomock.Call
Update indicates an expected call of Update