Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
Index ¶
- type MockCreateToggle
- type MockCreateToggleMockRecorder
- type MockCreateToggleRepository
- type MockCreateToggleRepositoryMockRecorder
- type MockDeleteToggle
- type MockDeleteToggleMockRecorder
- type MockDeleteToggleRepository
- type MockDeleteToggleRepositoryMockRecorder
- type MockDisableToggle
- type MockDisableToggleMockRecorder
- type MockDisableToggleRepository
- type MockDisableToggleRepositoryMockRecorder
- type MockEnableToggle
- type MockEnableToggleMockRecorder
- type MockEnableToggleRepository
- type MockEnableToggleRepositoryMockRecorder
- type MockGetToggle
- type MockGetToggleMockRecorder
- type MockGetToggleRepository
- type MockGetToggleRepositoryMockRecorder
- type MockTogglePublisher
- type MockTogglePublisherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCreateToggle ¶
type MockCreateToggle struct {
// contains filtered or unexported fields
}
MockCreateToggle is a mock of CreateToggle interface.
func NewMockCreateToggle ¶
func NewMockCreateToggle(ctrl *gomock.Controller) *MockCreateToggle
NewMockCreateToggle creates a new mock instance.
func (*MockCreateToggle) EXPECT ¶
func (m *MockCreateToggle) EXPECT() *MockCreateToggleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCreateToggleMockRecorder ¶
type MockCreateToggleMockRecorder struct {
// contains filtered or unexported fields
}
MockCreateToggleMockRecorder is the mock recorder for MockCreateToggle.
func (*MockCreateToggleMockRecorder) Create ¶
func (mr *MockCreateToggleMockRecorder) Create(ctx, toggle interface{}) *gomock.Call
Create indicates an expected call of Create.
type MockCreateToggleRepository ¶
type MockCreateToggleRepository struct {
// contains filtered or unexported fields
}
MockCreateToggleRepository is a mock of CreateToggleRepository interface.
func NewMockCreateToggleRepository ¶
func NewMockCreateToggleRepository(ctrl *gomock.Controller) *MockCreateToggleRepository
NewMockCreateToggleRepository creates a new mock instance.
func (*MockCreateToggleRepository) EXPECT ¶
func (m *MockCreateToggleRepository) EXPECT() *MockCreateToggleRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCreateToggleRepositoryMockRecorder ¶
type MockCreateToggleRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockCreateToggleRepositoryMockRecorder is the mock recorder for MockCreateToggleRepository.
func (*MockCreateToggleRepositoryMockRecorder) Insert ¶
func (mr *MockCreateToggleRepositoryMockRecorder) Insert(ctx, toggle interface{}) *gomock.Call
Insert indicates an expected call of Insert.
type MockDeleteToggle ¶
type MockDeleteToggle struct {
// contains filtered or unexported fields
}
MockDeleteToggle is a mock of DeleteToggle interface.
func NewMockDeleteToggle ¶
func NewMockDeleteToggle(ctrl *gomock.Controller) *MockDeleteToggle
NewMockDeleteToggle creates a new mock instance.
func (*MockDeleteToggle) DeleteByKey ¶
func (m *MockDeleteToggle) DeleteByKey(ctx context.Context, key string) error
DeleteByKey mocks base method.
func (*MockDeleteToggle) EXPECT ¶
func (m *MockDeleteToggle) EXPECT() *MockDeleteToggleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDeleteToggleMockRecorder ¶
type MockDeleteToggleMockRecorder struct {
// contains filtered or unexported fields
}
MockDeleteToggleMockRecorder is the mock recorder for MockDeleteToggle.
func (*MockDeleteToggleMockRecorder) DeleteByKey ¶
func (mr *MockDeleteToggleMockRecorder) DeleteByKey(ctx, key interface{}) *gomock.Call
DeleteByKey indicates an expected call of DeleteByKey.
type MockDeleteToggleRepository ¶
type MockDeleteToggleRepository struct {
// contains filtered or unexported fields
}
MockDeleteToggleRepository is a mock of DeleteToggleRepository interface.
func NewMockDeleteToggleRepository ¶
func NewMockDeleteToggleRepository(ctrl *gomock.Controller) *MockDeleteToggleRepository
NewMockDeleteToggleRepository creates a new mock instance.
func (*MockDeleteToggleRepository) DeleteByKey ¶
func (m *MockDeleteToggleRepository) DeleteByKey(ctx context.Context, key string) error
DeleteByKey mocks base method.
func (*MockDeleteToggleRepository) EXPECT ¶
func (m *MockDeleteToggleRepository) EXPECT() *MockDeleteToggleRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDeleteToggleRepositoryMockRecorder ¶
type MockDeleteToggleRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockDeleteToggleRepositoryMockRecorder is the mock recorder for MockDeleteToggleRepository.
func (*MockDeleteToggleRepositoryMockRecorder) DeleteByKey ¶
func (mr *MockDeleteToggleRepositoryMockRecorder) DeleteByKey(ctx, key interface{}) *gomock.Call
DeleteByKey indicates an expected call of DeleteByKey.
func (*MockDeleteToggleRepositoryMockRecorder) GetByKey ¶
func (mr *MockDeleteToggleRepositoryMockRecorder) GetByKey(ctx, key interface{}) *gomock.Call
GetByKey indicates an expected call of GetByKey.
type MockDisableToggle ¶
type MockDisableToggle struct {
// contains filtered or unexported fields
}
MockDisableToggle is a mock of DisableToggle interface.
func NewMockDisableToggle ¶
func NewMockDisableToggle(ctrl *gomock.Controller) *MockDisableToggle
NewMockDisableToggle creates a new mock instance.
func (*MockDisableToggle) Disable ¶
func (m *MockDisableToggle) Disable(ctx context.Context, key string) error
Disable mocks base method.
func (*MockDisableToggle) EXPECT ¶
func (m *MockDisableToggle) EXPECT() *MockDisableToggleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDisableToggleMockRecorder ¶
type MockDisableToggleMockRecorder struct {
// contains filtered or unexported fields
}
MockDisableToggleMockRecorder is the mock recorder for MockDisableToggle.
func (*MockDisableToggleMockRecorder) Disable ¶
func (mr *MockDisableToggleMockRecorder) Disable(ctx, key interface{}) *gomock.Call
Disable indicates an expected call of Disable.
type MockDisableToggleRepository ¶
type MockDisableToggleRepository struct {
// contains filtered or unexported fields
}
MockDisableToggleRepository is a mock of DisableToggleRepository interface.
func NewMockDisableToggleRepository ¶
func NewMockDisableToggleRepository(ctrl *gomock.Controller) *MockDisableToggleRepository
NewMockDisableToggleRepository creates a new mock instance.
func (*MockDisableToggleRepository) EXPECT ¶
func (m *MockDisableToggleRepository) EXPECT() *MockDisableToggleRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDisableToggleRepositoryMockRecorder ¶
type MockDisableToggleRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockDisableToggleRepositoryMockRecorder is the mock recorder for MockDisableToggleRepository.
func (*MockDisableToggleRepositoryMockRecorder) Disable ¶
func (mr *MockDisableToggleRepositoryMockRecorder) Disable(ctx, key, value interface{}) *gomock.Call
Disable indicates an expected call of Disable.
type MockEnableToggle ¶
type MockEnableToggle struct {
// contains filtered or unexported fields
}
MockEnableToggle is a mock of EnableToggle interface.
func NewMockEnableToggle ¶
func NewMockEnableToggle(ctrl *gomock.Controller) *MockEnableToggle
NewMockEnableToggle creates a new mock instance.
func (*MockEnableToggle) EXPECT ¶
func (m *MockEnableToggle) EXPECT() *MockEnableToggleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEnableToggleMockRecorder ¶
type MockEnableToggleMockRecorder struct {
// contains filtered or unexported fields
}
MockEnableToggleMockRecorder is the mock recorder for MockEnableToggle.
func (*MockEnableToggleMockRecorder) Enable ¶
func (mr *MockEnableToggleMockRecorder) Enable(ctx, key interface{}) *gomock.Call
Enable indicates an expected call of Enable.
type MockEnableToggleRepository ¶
type MockEnableToggleRepository struct {
// contains filtered or unexported fields
}
MockEnableToggleRepository is a mock of EnableToggleRepository interface.
func NewMockEnableToggleRepository ¶
func NewMockEnableToggleRepository(ctrl *gomock.Controller) *MockEnableToggleRepository
NewMockEnableToggleRepository creates a new mock instance.
func (*MockEnableToggleRepository) EXPECT ¶
func (m *MockEnableToggleRepository) EXPECT() *MockEnableToggleRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEnableToggleRepositoryMockRecorder ¶
type MockEnableToggleRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockEnableToggleRepositoryMockRecorder is the mock recorder for MockEnableToggleRepository.
func (*MockEnableToggleRepositoryMockRecorder) Enable ¶
func (mr *MockEnableToggleRepositoryMockRecorder) Enable(ctx, key, value interface{}) *gomock.Call
Enable indicates an expected call of Enable.
type MockGetToggle ¶
type MockGetToggle struct {
// contains filtered or unexported fields
}
MockGetToggle is a mock of GetToggle interface.
func NewMockGetToggle ¶
func NewMockGetToggle(ctrl *gomock.Controller) *MockGetToggle
NewMockGetToggle creates a new mock instance.
func (*MockGetToggle) EXPECT ¶
func (m *MockGetToggle) EXPECT() *MockGetToggleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGetToggleMockRecorder ¶
type MockGetToggleMockRecorder struct {
// contains filtered or unexported fields
}
MockGetToggleMockRecorder is the mock recorder for MockGetToggle.
func (*MockGetToggleMockRecorder) GetAll ¶
func (mr *MockGetToggleMockRecorder) GetAll(ctx interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockGetToggleMockRecorder) GetByKey ¶
func (mr *MockGetToggleMockRecorder) GetByKey(ctx, key interface{}) *gomock.Call
GetByKey indicates an expected call of GetByKey.
type MockGetToggleRepository ¶
type MockGetToggleRepository struct {
// contains filtered or unexported fields
}
MockGetToggleRepository is a mock of GetToggleRepository interface.
func NewMockGetToggleRepository ¶
func NewMockGetToggleRepository(ctrl *gomock.Controller) *MockGetToggleRepository
NewMockGetToggleRepository creates a new mock instance.
func (*MockGetToggleRepository) EXPECT ¶
func (m *MockGetToggleRepository) EXPECT() *MockGetToggleRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGetToggleRepositoryMockRecorder ¶
type MockGetToggleRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockGetToggleRepositoryMockRecorder is the mock recorder for MockGetToggleRepository.
func (*MockGetToggleRepositoryMockRecorder) GetAll ¶
func (mr *MockGetToggleRepositoryMockRecorder) GetAll(ctx interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockGetToggleRepositoryMockRecorder) GetByKey ¶
func (mr *MockGetToggleRepositoryMockRecorder) GetByKey(ctx, key interface{}) *gomock.Call
GetByKey indicates an expected call of GetByKey.
type MockTogglePublisher ¶
type MockTogglePublisher struct {
// contains filtered or unexported fields
}
MockTogglePublisher is a mock of TogglePublisher interface.
func NewMockTogglePublisher ¶
func NewMockTogglePublisher(ctrl *gomock.Controller) *MockTogglePublisher
NewMockTogglePublisher creates a new mock instance.
func (*MockTogglePublisher) EXPECT ¶
func (m *MockTogglePublisher) EXPECT() *MockTogglePublisherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTogglePublisher) Publish ¶
func (m *MockTogglePublisher) Publish(ctx context.Context, event *togglev1.ToggleEvent) error
Publish mocks base method.
type MockTogglePublisherMockRecorder ¶
type MockTogglePublisherMockRecorder struct {
// contains filtered or unexported fields
}
MockTogglePublisherMockRecorder is the mock recorder for MockTogglePublisher.
func (*MockTogglePublisherMockRecorder) Publish ¶
func (mr *MockTogglePublisherMockRecorder) Publish(ctx, event interface{}) *gomock.Call
Publish indicates an expected call of Publish.