Documentation ¶
Overview ¶
Package domain is a generated GoMock package.
Index ¶
- type MockClusterRepository
- func (m *MockClusterRepository) All(arg0 context.Context) ([]eventsourcing.Projection, error)
- func (m *MockClusterRepository) ByClusterId(arg0 context.Context, arg1 string) (*projections.Cluster, error)
- func (m *MockClusterRepository) ByClusterName(arg0 context.Context, arg1 string) (*projections.Cluster, error)
- func (m *MockClusterRepository) ById(arg0 context.Context, arg1 uuid.UUID) (eventsourcing.Projection, error)
- func (m *MockClusterRepository) EXPECT() *MockClusterRepositoryMockRecorder
- func (m *MockClusterRepository) GetAll(arg0 context.Context, arg1 bool) ([]*projections.Cluster, error)
- func (m *MockClusterRepository) GetBootstrapToken(arg0 context.Context, arg1 string) (string, error)
- func (m *MockClusterRepository) Remove(arg0 context.Context, arg1 uuid.UUID) error
- func (m *MockClusterRepository) Upsert(arg0 context.Context, arg1 eventsourcing.Projection) error
- type MockClusterRepositoryMockRecorder
- func (mr *MockClusterRepositoryMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockClusterRepositoryMockRecorder) ByClusterId(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterRepositoryMockRecorder) ByClusterName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterRepositoryMockRecorder) ById(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterRepositoryMockRecorder) GetAll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterRepositoryMockRecorder) GetBootstrapToken(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterRepositoryMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterRepositoryMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call
- type MockUserRepository
- func (m *MockUserRepository) All(arg0 context.Context) ([]eventsourcing.Projection, error)
- func (m *MockUserRepository) ByEmail(arg0 context.Context, arg1 string) (*projections.User, error)
- func (m *MockUserRepository) ById(arg0 context.Context, arg1 uuid.UUID) (eventsourcing.Projection, error)
- func (m *MockUserRepository) ByUserId(arg0 context.Context, arg1 uuid.UUID) (*projections.User, error)
- func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
- func (m *MockUserRepository) GetAll(arg0 context.Context, arg1 bool) ([]*projections.User, error)
- func (m *MockUserRepository) GetCount(arg0 context.Context, arg1 bool) (int, error)
- func (m *MockUserRepository) Remove(arg0 context.Context, arg1 uuid.UUID) error
- func (m *MockUserRepository) Upsert(arg0 context.Context, arg1 eventsourcing.Projection) error
- type MockUserRepositoryMockRecorder
- func (mr *MockUserRepositoryMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) ByEmail(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) ById(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) ByUserId(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) GetAll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) GetCount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClusterRepository ¶
type MockClusterRepository struct {
// contains filtered or unexported fields
}
MockClusterRepository is a mock of ClusterRepository interface.
func NewMockClusterRepository ¶
func NewMockClusterRepository(ctrl *gomock.Controller) *MockClusterRepository
NewMockClusterRepository creates a new mock instance.
func (*MockClusterRepository) All ¶
func (m *MockClusterRepository) All(arg0 context.Context) ([]eventsourcing.Projection, error)
All mocks base method.
func (*MockClusterRepository) ByClusterId ¶
func (m *MockClusterRepository) ByClusterId(arg0 context.Context, arg1 string) (*projections.Cluster, error)
ByClusterId mocks base method.
func (*MockClusterRepository) ByClusterName ¶
func (m *MockClusterRepository) ByClusterName(arg0 context.Context, arg1 string) (*projections.Cluster, error)
ByClusterName mocks base method.
func (*MockClusterRepository) ById ¶
func (m *MockClusterRepository) ById(arg0 context.Context, arg1 uuid.UUID) (eventsourcing.Projection, error)
ById mocks base method.
func (*MockClusterRepository) EXPECT ¶
func (m *MockClusterRepository) EXPECT() *MockClusterRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterRepository) GetAll ¶
func (m *MockClusterRepository) GetAll(arg0 context.Context, arg1 bool) ([]*projections.Cluster, error)
GetAll mocks base method.
func (*MockClusterRepository) GetBootstrapToken ¶
func (m *MockClusterRepository) GetBootstrapToken(arg0 context.Context, arg1 string) (string, error)
GetBootstrapToken mocks base method.
func (*MockClusterRepository) Upsert ¶
func (m *MockClusterRepository) Upsert(arg0 context.Context, arg1 eventsourcing.Projection) error
Upsert mocks base method.
type MockClusterRepositoryMockRecorder ¶
type MockClusterRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterRepositoryMockRecorder is the mock recorder for MockClusterRepository.
func (*MockClusterRepositoryMockRecorder) All ¶
func (mr *MockClusterRepositoryMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockClusterRepositoryMockRecorder) ByClusterId ¶
func (mr *MockClusterRepositoryMockRecorder) ByClusterId(arg0, arg1 interface{}) *gomock.Call
ByClusterId indicates an expected call of ByClusterId.
func (*MockClusterRepositoryMockRecorder) ByClusterName ¶
func (mr *MockClusterRepositoryMockRecorder) ByClusterName(arg0, arg1 interface{}) *gomock.Call
ByClusterName indicates an expected call of ByClusterName.
func (*MockClusterRepositoryMockRecorder) ById ¶
func (mr *MockClusterRepositoryMockRecorder) ById(arg0, arg1 interface{}) *gomock.Call
ById indicates an expected call of ById.
func (*MockClusterRepositoryMockRecorder) GetAll ¶
func (mr *MockClusterRepositoryMockRecorder) GetAll(arg0, arg1 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockClusterRepositoryMockRecorder) GetBootstrapToken ¶
func (mr *MockClusterRepositoryMockRecorder) GetBootstrapToken(arg0, arg1 interface{}) *gomock.Call
GetBootstrapToken indicates an expected call of GetBootstrapToken.
func (*MockClusterRepositoryMockRecorder) Remove ¶
func (mr *MockClusterRepositoryMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockClusterRepositoryMockRecorder) Upsert ¶
func (mr *MockClusterRepositoryMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call
Upsert indicates an expected call of Upsert.
type MockUserRepository ¶
type MockUserRepository struct {
// contains filtered or unexported fields
}
MockUserRepository is a mock of UserRepository interface.
func NewMockUserRepository ¶
func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository
NewMockUserRepository creates a new mock instance.
func (*MockUserRepository) All ¶
func (m *MockUserRepository) All(arg0 context.Context) ([]eventsourcing.Projection, error)
All mocks base method.
func (*MockUserRepository) ByEmail ¶
func (m *MockUserRepository) ByEmail(arg0 context.Context, arg1 string) (*projections.User, error)
ByEmail mocks base method.
func (*MockUserRepository) ById ¶
func (m *MockUserRepository) ById(arg0 context.Context, arg1 uuid.UUID) (eventsourcing.Projection, error)
ById mocks base method.
func (*MockUserRepository) ByUserId ¶
func (m *MockUserRepository) ByUserId(arg0 context.Context, arg1 uuid.UUID) (*projections.User, error)
ByUserId mocks base method.
func (*MockUserRepository) EXPECT ¶
func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserRepository) GetAll ¶
func (m *MockUserRepository) GetAll(arg0 context.Context, arg1 bool) ([]*projections.User, error)
GetAll mocks base method.
func (*MockUserRepository) Upsert ¶
func (m *MockUserRepository) Upsert(arg0 context.Context, arg1 eventsourcing.Projection) error
Upsert mocks base method.
type MockUserRepositoryMockRecorder ¶
type MockUserRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository.
func (*MockUserRepositoryMockRecorder) All ¶
func (mr *MockUserRepositoryMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockUserRepositoryMockRecorder) ByEmail ¶
func (mr *MockUserRepositoryMockRecorder) ByEmail(arg0, arg1 interface{}) *gomock.Call
ByEmail indicates an expected call of ByEmail.
func (*MockUserRepositoryMockRecorder) ById ¶
func (mr *MockUserRepositoryMockRecorder) ById(arg0, arg1 interface{}) *gomock.Call
ById indicates an expected call of ById.
func (*MockUserRepositoryMockRecorder) ByUserId ¶
func (mr *MockUserRepositoryMockRecorder) ByUserId(arg0, arg1 interface{}) *gomock.Call
ByUserId indicates an expected call of ByUserId.
func (*MockUserRepositoryMockRecorder) GetAll ¶
func (mr *MockUserRepositoryMockRecorder) GetAll(arg0, arg1 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockUserRepositoryMockRecorder) GetCount ¶ added in v0.3.0
func (mr *MockUserRepositoryMockRecorder) GetCount(arg0, arg1 interface{}) *gomock.Call
GetCount indicates an expected call of GetCount.
func (*MockUserRepositoryMockRecorder) Remove ¶
func (mr *MockUserRepositoryMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockUserRepositoryMockRecorder) Upsert ¶
func (mr *MockUserRepositoryMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call
Upsert indicates an expected call of Upsert.