Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.56.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

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

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

List mocks base method.

func (*MockPluginStore) Update added in v0.32.0

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

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.

func (*MockPluginStoreMockRecorder) List added in v0.32.0

func (mr *MockPluginStoreMockRecorder) List(ctx, filter any) *gomock.Call

List indicates an expected call of List.

func (*MockPluginStoreMockRecorder) Update added in v0.32.0

func (mr *MockPluginStoreMockRecorder) Update(ctx, plugin any) *gomock.Call

Update indicates an expected call of Update.

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) Close

func (m *MockSkillStore) Close() error

Close mocks base method.

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

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

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.

func (*MockSkillStoreMockRecorder) List

func (mr *MockSkillStoreMockRecorder) List(ctx, filter any) *gomock.Call

List indicates an expected call of List.

func (*MockSkillStoreMockRecorder) Update

func (mr *MockSkillStoreMockRecorder) Update(ctx, skill any) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL