Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockInstaller
- type MockInstallerMockRecorder
- type MockPathResolver
- type MockPathResolverMockRecorder
- type MockSkillService
- func (m *MockSkillService) Build(ctx context.Context, opts skills.BuildOptions) (*skills.BuildResult, error)
- func (m *MockSkillService) EXPECT() *MockSkillServiceMockRecorder
- func (m *MockSkillService) Info(ctx context.Context, opts skills.InfoOptions) (*skills.SkillInfo, error)
- func (m *MockSkillService) Install(ctx context.Context, opts skills.InstallOptions) (*skills.InstallResult, error)
- func (m *MockSkillService) List(ctx context.Context, opts skills.ListOptions) ([]skills.InstalledSkill, error)
- func (m *MockSkillService) Push(ctx context.Context, opts skills.PushOptions) error
- func (m *MockSkillService) Uninstall(ctx context.Context, opts skills.UninstallOptions) error
- func (m *MockSkillService) Validate(ctx context.Context, path string) (*skills.ValidationResult, error)
- type MockSkillServiceMockRecorder
- func (mr *MockSkillServiceMockRecorder) Build(ctx, opts any) *gomock.Call
- func (mr *MockSkillServiceMockRecorder) Info(ctx, opts any) *gomock.Call
- func (mr *MockSkillServiceMockRecorder) Install(ctx, opts any) *gomock.Call
- func (mr *MockSkillServiceMockRecorder) List(ctx, opts any) *gomock.Call
- func (mr *MockSkillServiceMockRecorder) Push(ctx, opts any) *gomock.Call
- func (mr *MockSkillServiceMockRecorder) Uninstall(ctx, opts any) *gomock.Call
- func (mr *MockSkillServiceMockRecorder) Validate(ctx, path any) *gomock.Call
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
func (m *MockInstaller) EXPECT() *MockInstallerMockRecorder
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.
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
func (m *MockPathResolver) EXPECT() *MockPathResolverMockRecorder
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 ¶
func (m *MockSkillService) Build(ctx context.Context, opts skills.BuildOptions) (*skills.BuildResult, error)
Build mocks base method.
func (*MockSkillService) EXPECT ¶
func (m *MockSkillService) EXPECT() *MockSkillServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSkillService) Info ¶
func (m *MockSkillService) Info(ctx context.Context, opts skills.InfoOptions) (*skills.SkillInfo, error)
Info mocks base method.
func (*MockSkillService) Install ¶
func (m *MockSkillService) Install(ctx context.Context, opts skills.InstallOptions) (*skills.InstallResult, error)
Install mocks base method.
func (*MockSkillService) List ¶
func (m *MockSkillService) List(ctx context.Context, opts skills.ListOptions) ([]skills.InstalledSkill, error)
List mocks base method.
func (*MockSkillService) Push ¶
func (m *MockSkillService) Push(ctx context.Context, opts skills.PushOptions) error
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) 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) Push ¶
func (mr *MockSkillServiceMockRecorder) Push(ctx, opts any) *gomock.Call
Push indicates an expected call of Push.