Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockSkillStore
- func (m *MockSkillStore) Close() error
- func (m *MockSkillStore) Create(ctx context.Context, skill skills.InstalledSkill) error
- func (m *MockSkillStore) Delete(ctx context.Context, name string, scope skills.Scope, projectRoot string) error
- func (m *MockSkillStore) EXPECT() *MockSkillStoreMockRecorder
- func (m *MockSkillStore) Get(ctx context.Context, name string, scope skills.Scope, projectRoot string) (skills.InstalledSkill, error)
- func (m *MockSkillStore) List(ctx context.Context, filter storage.ListFilter) ([]skills.InstalledSkill, error)
- func (m *MockSkillStore) Update(ctx context.Context, skill skills.InstalledSkill) error
- type MockSkillStoreMockRecorder
- func (mr *MockSkillStoreMockRecorder) Close() *gomock.Call
- func (mr *MockSkillStoreMockRecorder) Create(ctx, skill any) *gomock.Call
- func (mr *MockSkillStoreMockRecorder) Delete(ctx, name, scope, projectRoot any) *gomock.Call
- func (mr *MockSkillStoreMockRecorder) Get(ctx, name, scope, projectRoot any) *gomock.Call
- func (mr *MockSkillStoreMockRecorder) List(ctx, filter any) *gomock.Call
- func (mr *MockSkillStoreMockRecorder) Update(ctx, skill any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSkillStore ¶
type MockSkillStore struct {
// contains filtered or unexported fields
}
MockSkillStore is a mock of SkillStore interface.
func NewMockSkillStore ¶
func NewMockSkillStore(ctrl *gomock.Controller) *MockSkillStore
NewMockSkillStore creates a new mock instance.
func (*MockSkillStore) Create ¶
func (m *MockSkillStore) Create(ctx context.Context, skill skills.InstalledSkill) error
Create mocks base method.
func (*MockSkillStore) Delete ¶
func (m *MockSkillStore) Delete(ctx context.Context, name string, scope skills.Scope, projectRoot string) error
Delete mocks base method.
func (*MockSkillStore) EXPECT ¶
func (m *MockSkillStore) EXPECT() *MockSkillStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSkillStore) Get ¶
func (m *MockSkillStore) Get(ctx context.Context, name string, scope skills.Scope, projectRoot string) (skills.InstalledSkill, error)
Get mocks base method.
func (*MockSkillStore) List ¶
func (m *MockSkillStore) List(ctx context.Context, filter storage.ListFilter) ([]skills.InstalledSkill, error)
List mocks base method.
func (*MockSkillStore) Update ¶
func (m *MockSkillStore) Update(ctx context.Context, skill skills.InstalledSkill) error
Update mocks base method.
type MockSkillStoreMockRecorder ¶
type MockSkillStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockSkillStoreMockRecorder is the mock recorder for MockSkillStore.
func (*MockSkillStoreMockRecorder) Close ¶
func (mr *MockSkillStoreMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockSkillStoreMockRecorder) Create ¶
func (mr *MockSkillStoreMockRecorder) Create(ctx, skill any) *gomock.Call
Create indicates an expected call of Create.
func (*MockSkillStoreMockRecorder) Delete ¶
func (mr *MockSkillStoreMockRecorder) Delete(ctx, name, scope, projectRoot any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockSkillStoreMockRecorder) Get ¶
func (mr *MockSkillStoreMockRecorder) Get(ctx, name, scope, projectRoot any) *gomock.Call
Get indicates an expected call of Get.
Click to show internal directories.
Click to hide internal directories.