Documentation ¶
Overview ¶
Package mock_repository is a generated GoMock package.
Index ¶
- type MockRepositoryContract
- func (m *MockRepositoryContract) CreateTenant(ctx context.Context, request *repository.CreateTenantRequest) (*repository.CreateTenantResponse, error)
- func (m *MockRepositoryContract) DeleteTenant(ctx context.Context, request *repository.DeleteTenantRequest) (*repository.DeleteTenantResponse, error)
- func (m *MockRepositoryContract) EXPECT() *MockRepositoryContractMockRecorder
- func (m *MockRepositoryContract) ReadTenant(ctx context.Context, request *repository.ReadTenantRequest) (*repository.ReadTenantResponse, error)
- func (m *MockRepositoryContract) Search(ctx context.Context, request *repository.SearchRequest) (*repository.SearchResponse, error)
- func (m *MockRepositoryContract) UpdateTenant(ctx context.Context, request *repository.UpdateTenantRequest) (*repository.UpdateTenantResponse, error)
- type MockRepositoryContractMockRecorder
- func (mr *MockRepositoryContractMockRecorder) CreateTenant(ctx, request interface{}) *gomock.Call
- func (mr *MockRepositoryContractMockRecorder) DeleteTenant(ctx, request interface{}) *gomock.Call
- func (mr *MockRepositoryContractMockRecorder) ReadTenant(ctx, request interface{}) *gomock.Call
- func (mr *MockRepositoryContractMockRecorder) Search(ctx, request interface{}) *gomock.Call
- func (mr *MockRepositoryContractMockRecorder) UpdateTenant(ctx, request interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepositoryContract ¶ added in v0.0.4
type MockRepositoryContract struct {
// contains filtered or unexported fields
}
MockRepositoryContract is a mock of RepositoryContract interface
func NewMockRepositoryContract ¶ added in v0.0.4
func NewMockRepositoryContract(ctrl *gomock.Controller) *MockRepositoryContract
NewMockRepositoryContract creates a new mock instance
func (*MockRepositoryContract) CreateTenant ¶ added in v0.0.4
func (m *MockRepositoryContract) CreateTenant(ctx context.Context, request *repository.CreateTenantRequest) (*repository.CreateTenantResponse, error)
CreateTenant mocks base method
func (*MockRepositoryContract) DeleteTenant ¶ added in v0.0.4
func (m *MockRepositoryContract) DeleteTenant(ctx context.Context, request *repository.DeleteTenantRequest) (*repository.DeleteTenantResponse, error)
DeleteTenant mocks base method
func (*MockRepositoryContract) EXPECT ¶ added in v0.0.4
func (m *MockRepositoryContract) EXPECT() *MockRepositoryContractMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRepositoryContract) ReadTenant ¶ added in v0.0.4
func (m *MockRepositoryContract) ReadTenant(ctx context.Context, request *repository.ReadTenantRequest) (*repository.ReadTenantResponse, error)
ReadTenant mocks base method
func (*MockRepositoryContract) Search ¶ added in v0.0.13
func (m *MockRepositoryContract) Search(ctx context.Context, request *repository.SearchRequest) (*repository.SearchResponse, error)
Search mocks base method
func (*MockRepositoryContract) UpdateTenant ¶ added in v0.0.4
func (m *MockRepositoryContract) UpdateTenant(ctx context.Context, request *repository.UpdateTenantRequest) (*repository.UpdateTenantResponse, error)
UpdateTenant mocks base method
type MockRepositoryContractMockRecorder ¶ added in v0.0.4
type MockRepositoryContractMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryContractMockRecorder is the mock recorder for MockRepositoryContract
func (*MockRepositoryContractMockRecorder) CreateTenant ¶ added in v0.0.4
func (mr *MockRepositoryContractMockRecorder) CreateTenant(ctx, request interface{}) *gomock.Call
CreateTenant indicates an expected call of CreateTenant
func (*MockRepositoryContractMockRecorder) DeleteTenant ¶ added in v0.0.4
func (mr *MockRepositoryContractMockRecorder) DeleteTenant(ctx, request interface{}) *gomock.Call
DeleteTenant indicates an expected call of DeleteTenant
func (*MockRepositoryContractMockRecorder) ReadTenant ¶ added in v0.0.4
func (mr *MockRepositoryContractMockRecorder) ReadTenant(ctx, request interface{}) *gomock.Call
ReadTenant indicates an expected call of ReadTenant
func (*MockRepositoryContractMockRecorder) Search ¶ added in v0.0.13
func (mr *MockRepositoryContractMockRecorder) Search(ctx, request interface{}) *gomock.Call
Search indicates an expected call of Search
func (*MockRepositoryContractMockRecorder) UpdateTenant ¶ added in v0.0.4
func (mr *MockRepositoryContractMockRecorder) UpdateTenant(ctx, request interface{}) *gomock.Call
UpdateTenant indicates an expected call of UpdateTenant