Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockPluginStore
- func (m *MockPluginStore) Close() error
- func (m *MockPluginStore) Create(ctx context.Context, plugin plugins.InstalledPlugin) error
- func (m *MockPluginStore) Delete(ctx context.Context, name string, scope plugins.Scope, projectRoot string) error
- func (m *MockPluginStore) EXPECT() *MockPluginStoreMockRecorder
- func (m *MockPluginStore) Get(ctx context.Context, name string, scope plugins.Scope, projectRoot string) (plugins.InstalledPlugin, error)
- func (m *MockPluginStore) List(ctx context.Context, filter storage.ListFilter) ([]plugins.InstalledPlugin, error)
- func (m *MockPluginStore) Update(ctx context.Context, plugin plugins.InstalledPlugin) error
- type MockPluginStoreMockRecorder
- func (mr *MockPluginStoreMockRecorder) Close() *gomock.Call
- func (mr *MockPluginStoreMockRecorder) Create(ctx, plugin any) *gomock.Call
- func (mr *MockPluginStoreMockRecorder) Delete(ctx, name, scope, projectRoot any) *gomock.Call
- func (mr *MockPluginStoreMockRecorder) Get(ctx, name, scope, projectRoot any) *gomock.Call
- func (mr *MockPluginStoreMockRecorder) List(ctx, filter any) *gomock.Call
- func (mr *MockPluginStoreMockRecorder) Update(ctx, plugin any) *gomock.Call
- 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 MockPluginStore ¶ added in v0.32.0
type MockPluginStore struct {
// contains filtered or unexported fields
}
MockPluginStore is a mock of PluginStore interface.
func NewMockPluginStore ¶ added in v0.32.0
func NewMockPluginStore(ctrl *gomock.Controller) *MockPluginStore
NewMockPluginStore creates a new mock instance.
func (*MockPluginStore) Close ¶ added in v0.32.0
func (m *MockPluginStore) Close() error
Close mocks base method.
func (*MockPluginStore) Create ¶ added in v0.32.0
func (m *MockPluginStore) Create(ctx context.Context, plugin plugins.InstalledPlugin) error
Create mocks base method.
func (*MockPluginStore) Delete ¶ added in v0.32.0
func (m *MockPluginStore) Delete(ctx context.Context, name string, scope plugins.Scope, projectRoot string) error
Delete mocks base method.
func (*MockPluginStore) EXPECT ¶ added in v0.32.0
func (m *MockPluginStore) EXPECT() *MockPluginStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginStore) Get ¶ added in v0.32.0
func (m *MockPluginStore) Get(ctx context.Context, name string, scope plugins.Scope, projectRoot string) (plugins.InstalledPlugin, error)
Get mocks base method.
func (*MockPluginStore) List ¶ added in v0.32.0
func (m *MockPluginStore) List(ctx context.Context, filter storage.ListFilter) ([]plugins.InstalledPlugin, error)
List mocks base method.
func (*MockPluginStore) Update ¶ added in v0.32.0
func (m *MockPluginStore) Update(ctx context.Context, plugin plugins.InstalledPlugin) error
Update mocks base method.
type MockPluginStoreMockRecorder ¶ added in v0.32.0
type MockPluginStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginStoreMockRecorder is the mock recorder for MockPluginStore.
func (*MockPluginStoreMockRecorder) Close ¶ added in v0.32.0
func (mr *MockPluginStoreMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPluginStoreMockRecorder) Create ¶ added in v0.32.0
func (mr *MockPluginStoreMockRecorder) Create(ctx, plugin any) *gomock.Call
Create indicates an expected call of Create.
func (*MockPluginStoreMockRecorder) Delete ¶ added in v0.32.0
func (mr *MockPluginStoreMockRecorder) Delete(ctx, name, scope, projectRoot any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockPluginStoreMockRecorder) Get ¶ added in v0.32.0
func (mr *MockPluginStoreMockRecorder) Get(ctx, name, scope, projectRoot any) *gomock.Call
Get indicates an expected call of Get.
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.