Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockSchemeRepository
- func (m *MockSchemeRepository) CreateOrganization(arg0 model.Organization) (*model.Organization, error)
- func (m *MockSchemeRepository) DeleteOrganization(arg0 string) (*model.Organization, error)
- func (m *MockSchemeRepository) EXPECT() *MockSchemeRepositoryMockRecorder
- func (m *MockSchemeRepository) GetHealthCheck() healthcheck.Result
- func (m *MockSchemeRepository) GetOrganization(arg0 string) (*model.Organization, error)
- func (m *MockSchemeRepository) ListOrganizations() (*[]model.Organization, error)
- func (m *MockSchemeRepository) UpdateOrganization(arg0 string, arg1 model.Organization) (*model.Organization, error)
- type MockSchemeRepositoryMockRecorder
- func (mr *MockSchemeRepositoryMockRecorder) CreateOrganization(arg0 interface{}) *gomock.Call
- func (mr *MockSchemeRepositoryMockRecorder) DeleteOrganization(arg0 interface{}) *gomock.Call
- func (mr *MockSchemeRepositoryMockRecorder) GetHealthCheck() *gomock.Call
- func (mr *MockSchemeRepositoryMockRecorder) GetOrganization(arg0 interface{}) *gomock.Call
- func (mr *MockSchemeRepositoryMockRecorder) ListOrganizations() *gomock.Call
- func (mr *MockSchemeRepositoryMockRecorder) UpdateOrganization(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSchemeRepository ¶
type MockSchemeRepository struct {
// contains filtered or unexported fields
}
MockSchemeRepository is a mock of SchemeRepository interface.
func NewMockSchemeRepository ¶
func NewMockSchemeRepository(ctrl *gomock.Controller) *MockSchemeRepository
NewMockSchemeRepository creates a new mock instance.
func (*MockSchemeRepository) CreateOrganization ¶
func (m *MockSchemeRepository) CreateOrganization(arg0 model.Organization) (*model.Organization, error)
CreateOrganization mocks base method.
func (*MockSchemeRepository) DeleteOrganization ¶
func (m *MockSchemeRepository) DeleteOrganization(arg0 string) (*model.Organization, error)
DeleteOrganization mocks base method.
func (*MockSchemeRepository) EXPECT ¶
func (m *MockSchemeRepository) EXPECT() *MockSchemeRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSchemeRepository) GetHealthCheck ¶
func (m *MockSchemeRepository) GetHealthCheck() healthcheck.Result
GetHealthCheck mocks base method.
func (*MockSchemeRepository) GetOrganization ¶
func (m *MockSchemeRepository) GetOrganization(arg0 string) (*model.Organization, error)
GetOrganization mocks base method.
func (*MockSchemeRepository) ListOrganizations ¶
func (m *MockSchemeRepository) ListOrganizations() (*[]model.Organization, error)
ListOrganizations mocks base method.
func (*MockSchemeRepository) UpdateOrganization ¶
func (m *MockSchemeRepository) UpdateOrganization(arg0 string, arg1 model.Organization) (*model.Organization, error)
UpdateOrganization mocks base method.
type MockSchemeRepositoryMockRecorder ¶
type MockSchemeRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockSchemeRepositoryMockRecorder is the mock recorder for MockSchemeRepository.
func (*MockSchemeRepositoryMockRecorder) CreateOrganization ¶
func (mr *MockSchemeRepositoryMockRecorder) CreateOrganization(arg0 interface{}) *gomock.Call
CreateOrganization indicates an expected call of CreateOrganization.
func (*MockSchemeRepositoryMockRecorder) DeleteOrganization ¶
func (mr *MockSchemeRepositoryMockRecorder) DeleteOrganization(arg0 interface{}) *gomock.Call
DeleteOrganization indicates an expected call of DeleteOrganization.
func (*MockSchemeRepositoryMockRecorder) GetHealthCheck ¶
func (mr *MockSchemeRepositoryMockRecorder) GetHealthCheck() *gomock.Call
GetHealthCheck indicates an expected call of GetHealthCheck.
func (*MockSchemeRepositoryMockRecorder) GetOrganization ¶
func (mr *MockSchemeRepositoryMockRecorder) GetOrganization(arg0 interface{}) *gomock.Call
GetOrganization indicates an expected call of GetOrganization.
func (*MockSchemeRepositoryMockRecorder) ListOrganizations ¶
func (mr *MockSchemeRepositoryMockRecorder) ListOrganizations() *gomock.Call
ListOrganizations indicates an expected call of ListOrganizations.
func (*MockSchemeRepositoryMockRecorder) UpdateOrganization ¶
func (mr *MockSchemeRepositoryMockRecorder) UpdateOrganization(arg0, arg1 interface{}) *gomock.Call
UpdateOrganization indicates an expected call of UpdateOrganization.