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

mocks

package
v0.29.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockInstaller added in v0.10.0

type MockInstaller struct {
	// contains filtered or unexported fields
}

MockInstaller is a mock of Installer interface.

func NewMockInstaller added in v0.10.0

func NewMockInstaller(ctrl *gomock.Controller) *MockInstaller

NewMockInstaller creates a new mock instance.

func (*MockInstaller) EXPECT added in v0.10.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInstaller) Extract added in v0.10.0

func (m *MockInstaller) Extract(layerData []byte, targetDir string, force bool) (*skills.ExtractResult, error)

Extract mocks base method.

func (*MockInstaller) Remove added in v0.10.0

func (m *MockInstaller) Remove(skillDir string) error

Remove mocks base method.

type MockInstallerMockRecorder added in v0.10.0

type MockInstallerMockRecorder struct {
	// contains filtered or unexported fields
}

MockInstallerMockRecorder is the mock recorder for MockInstaller.

func (*MockInstallerMockRecorder) Extract added in v0.10.0

func (mr *MockInstallerMockRecorder) Extract(layerData, targetDir, force any) *gomock.Call

Extract indicates an expected call of Extract.

func (*MockInstallerMockRecorder) Remove added in v0.10.0

func (mr *MockInstallerMockRecorder) Remove(skillDir any) *gomock.Call

Remove indicates an expected call of Remove.

type MockPathResolver added in v0.10.0

type MockPathResolver struct {
	// contains filtered or unexported fields
}

MockPathResolver is a mock of PathResolver interface.

func NewMockPathResolver added in v0.10.0

func NewMockPathResolver(ctrl *gomock.Controller) *MockPathResolver

NewMockPathResolver creates a new mock instance.

func (*MockPathResolver) EXPECT added in v0.10.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPathResolver) GetSkillPath added in v0.10.0

func (m *MockPathResolver) GetSkillPath(clientType, skillName string, scope skills.Scope, projectRoot string) (string, error)

GetSkillPath mocks base method.

func (*MockPathResolver) ListSkillSupportingClients added in v0.10.0

func (m *MockPathResolver) ListSkillSupportingClients() []string

ListSkillSupportingClients mocks base method.

type MockPathResolverMockRecorder added in v0.10.0

type MockPathResolverMockRecorder struct {
	// contains filtered or unexported fields
}

MockPathResolverMockRecorder is the mock recorder for MockPathResolver.

func (*MockPathResolverMockRecorder) GetSkillPath added in v0.10.0

func (mr *MockPathResolverMockRecorder) GetSkillPath(clientType, skillName, scope, projectRoot any) *gomock.Call

GetSkillPath indicates an expected call of GetSkillPath.

func (*MockPathResolverMockRecorder) ListSkillSupportingClients added in v0.10.0

func (mr *MockPathResolverMockRecorder) ListSkillSupportingClients() *gomock.Call

ListSkillSupportingClients indicates an expected call of ListSkillSupportingClients.

type MockSkillService

type MockSkillService struct {
	// contains filtered or unexported fields
}

MockSkillService is a mock of SkillService interface.

func NewMockSkillService

func NewMockSkillService(ctrl *gomock.Controller) *MockSkillService

NewMockSkillService creates a new mock instance.

func (*MockSkillService) Build

Build mocks base method.

func (*MockSkillService) DeleteBuild added in v0.16.0

func (m *MockSkillService) DeleteBuild(ctx context.Context, tag string) error

DeleteBuild mocks base method.

func (*MockSkillService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSkillService) GetContent added in v0.21.0

GetContent mocks base method.

func (*MockSkillService) Info

Info mocks base method.

func (*MockSkillService) Install

Install mocks base method.

func (*MockSkillService) List

List mocks base method.

func (*MockSkillService) ListBuilds added in v0.16.0

func (m *MockSkillService) ListBuilds(ctx context.Context) ([]skills.LocalBuild, error)

ListBuilds mocks base method.

func (*MockSkillService) Push

Push mocks base method.

func (*MockSkillService) Uninstall

func (m *MockSkillService) Uninstall(ctx context.Context, opts skills.UninstallOptions) error

Uninstall mocks base method.

func (*MockSkillService) Validate

func (m *MockSkillService) Validate(ctx context.Context, path string) (*skills.ValidationResult, error)

Validate mocks base method.

type MockSkillServiceMockRecorder

type MockSkillServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockSkillServiceMockRecorder is the mock recorder for MockSkillService.

func (*MockSkillServiceMockRecorder) Build

func (mr *MockSkillServiceMockRecorder) Build(ctx, opts any) *gomock.Call

Build indicates an expected call of Build.

func (*MockSkillServiceMockRecorder) DeleteBuild added in v0.16.0

func (mr *MockSkillServiceMockRecorder) DeleteBuild(ctx, tag any) *gomock.Call

DeleteBuild indicates an expected call of DeleteBuild.

func (*MockSkillServiceMockRecorder) GetContent added in v0.21.0

func (mr *MockSkillServiceMockRecorder) GetContent(ctx, opts any) *gomock.Call

GetContent indicates an expected call of GetContent.

func (*MockSkillServiceMockRecorder) Info

func (mr *MockSkillServiceMockRecorder) Info(ctx, opts any) *gomock.Call

Info indicates an expected call of Info.

func (*MockSkillServiceMockRecorder) Install

func (mr *MockSkillServiceMockRecorder) Install(ctx, opts any) *gomock.Call

Install indicates an expected call of Install.

func (*MockSkillServiceMockRecorder) List

func (mr *MockSkillServiceMockRecorder) List(ctx, opts any) *gomock.Call

List indicates an expected call of List.

func (*MockSkillServiceMockRecorder) ListBuilds added in v0.16.0

func (mr *MockSkillServiceMockRecorder) ListBuilds(ctx any) *gomock.Call

ListBuilds indicates an expected call of ListBuilds.

func (*MockSkillServiceMockRecorder) Push

func (mr *MockSkillServiceMockRecorder) Push(ctx, opts any) *gomock.Call

Push indicates an expected call of Push.

func (*MockSkillServiceMockRecorder) Uninstall

func (mr *MockSkillServiceMockRecorder) Uninstall(ctx, opts any) *gomock.Call

Uninstall indicates an expected call of Uninstall.

func (*MockSkillServiceMockRecorder) Validate

func (mr *MockSkillServiceMockRecorder) Validate(ctx, path any) *gomock.Call

Validate indicates an expected call of Validate.

Jump to

Keyboard shortcuts

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