Documentation ¶
Overview ¶
Package handler is a generated GoMock package.
Index ¶
- type Handler
- type MockprojectStore
- func (m *MockprojectStore) Add(ctx context.Context, proj *model.Project) error
- func (m *MockprojectStore) EXPECT() *MockprojectStoreMockRecorder
- func (m *MockprojectStore) Get(ctx context.Context, id string) (*model.Project, error)
- func (m *MockprojectStore) List(ctx context.Context, opts datastore.ListOptions) ([]model.Project, error)
- func (m *MockprojectStore) UpdateProjectStaticAdmin(ctx context.Context, id, username, password string) error
- type MockprojectStoreMockRecorder
- func (mr *MockprojectStoreMockRecorder) Add(ctx, proj interface{}) *gomock.Call
- func (mr *MockprojectStoreMockRecorder) Get(ctx, id interface{}) *gomock.Call
- func (mr *MockprojectStoreMockRecorder) List(ctx, opts interface{}) *gomock.Call
- func (mr *MockprojectStoreMockRecorder) UpdateProjectStaticAdmin(ctx, id, username, password interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockprojectStore ¶ added in v0.48.0
type MockprojectStore struct {
// contains filtered or unexported fields
}
MockprojectStore is a mock of projectStore interface.
func NewMockprojectStore ¶ added in v0.48.0
func NewMockprojectStore(ctrl *gomock.Controller) *MockprojectStore
NewMockprojectStore creates a new mock instance.
func (*MockprojectStore) EXPECT ¶ added in v0.48.0
func (m *MockprojectStore) EXPECT() *MockprojectStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockprojectStore) List ¶ added in v0.48.0
func (m *MockprojectStore) List(ctx context.Context, opts datastore.ListOptions) ([]model.Project, error)
List mocks base method.
func (*MockprojectStore) UpdateProjectStaticAdmin ¶ added in v0.48.0
func (m *MockprojectStore) UpdateProjectStaticAdmin(ctx context.Context, id, username, password string) error
UpdateProjectStaticAdmin mocks base method.
type MockprojectStoreMockRecorder ¶ added in v0.48.0
type MockprojectStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockprojectStoreMockRecorder is the mock recorder for MockprojectStore.
func (*MockprojectStoreMockRecorder) Add ¶ added in v0.48.0
func (mr *MockprojectStoreMockRecorder) Add(ctx, proj interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockprojectStoreMockRecorder) Get ¶ added in v0.48.0
func (mr *MockprojectStoreMockRecorder) Get(ctx, id interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockprojectStoreMockRecorder) List ¶ added in v0.48.0
func (mr *MockprojectStoreMockRecorder) List(ctx, opts interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockprojectStoreMockRecorder) UpdateProjectStaticAdmin ¶ added in v0.48.0
func (mr *MockprojectStoreMockRecorder) UpdateProjectStaticAdmin(ctx, id, username, password interface{}) *gomock.Call
UpdateProjectStaticAdmin indicates an expected call of UpdateProjectStaticAdmin.
Click to show internal directories.
Click to hide internal directories.