Documentation
¶
Index ¶
- type MockPlatform
- func (_mock *MockPlatform) AddMCP(server any, scope cli.Scope) error
- func (_mock *MockPlatform) AgentDir() string
- func (_mock *MockPlatform) BackupPaths() []string
- func (_mock *MockPlatform) CommandDir() string
- func (_mock *MockPlatform) DisableMCP(name string) error
- func (_mock *MockPlatform) DisplayName() string
- func (_m *MockPlatform) EXPECT() *MockPlatform_Expecter
- func (_mock *MockPlatform) EnableMCP(name string) error
- func (_mock *MockPlatform) GetAgent(name string, scope cli.Scope) (any, error)
- func (_mock *MockPlatform) GetCommand(name string, scope cli.Scope) (any, error)
- func (_mock *MockPlatform) GetMCP(name string, scope cli.Scope) (any, error)
- func (_mock *MockPlatform) GetSkill(name string, scope cli.Scope) (any, error)
- func (_mock *MockPlatform) InstallAgent(agent any, scope cli.Scope) error
- func (_mock *MockPlatform) InstallCommand(cmd any, scope cli.Scope) error
- func (_mock *MockPlatform) InstallSkill(skill any, scope cli.Scope) error
- func (_mock *MockPlatform) IsAvailable() bool
- func (_mock *MockPlatform) IsLocalConfigIgnored() (bool, error)
- func (_mock *MockPlatform) ListAgents(scope cli.Scope) ([]cli.AgentInfo, error)
- func (_mock *MockPlatform) ListCommands(scope cli.Scope) ([]cli.CommandInfo, error)
- func (_mock *MockPlatform) ListMCP(scope cli.Scope) ([]cli.MCPInfo, error)
- func (_mock *MockPlatform) ListSkills(scope cli.Scope) ([]cli.SkillInfo, error)
- func (_mock *MockPlatform) MCPConfigPath() string
- func (_mock *MockPlatform) Name() string
- func (_mock *MockPlatform) RemoveMCP(name string, scope cli.Scope) error
- func (_mock *MockPlatform) SkillDir() string
- func (_mock *MockPlatform) UninstallAgent(name string, scope cli.Scope) error
- func (_mock *MockPlatform) UninstallCommand(name string, scope cli.Scope) error
- func (_mock *MockPlatform) UninstallSkill(name string, scope cli.Scope) error
- type MockPlatform_AddMCP_Call
- func (_c *MockPlatform_AddMCP_Call) Return(err error) *MockPlatform_AddMCP_Call
- func (_c *MockPlatform_AddMCP_Call) Run(run func(server any, scope cli.Scope)) *MockPlatform_AddMCP_Call
- func (_c *MockPlatform_AddMCP_Call) RunAndReturn(run func(server any, scope cli.Scope) error) *MockPlatform_AddMCP_Call
- type MockPlatform_AgentDir_Call
- type MockPlatform_BackupPaths_Call
- type MockPlatform_CommandDir_Call
- type MockPlatform_DisableMCP_Call
- type MockPlatform_DisplayName_Call
- type MockPlatform_EnableMCP_Call
- type MockPlatform_Expecter
- func (_e *MockPlatform_Expecter) AddMCP(server interface{}, scope interface{}) *MockPlatform_AddMCP_Call
- func (_e *MockPlatform_Expecter) AgentDir() *MockPlatform_AgentDir_Call
- func (_e *MockPlatform_Expecter) BackupPaths() *MockPlatform_BackupPaths_Call
- func (_e *MockPlatform_Expecter) CommandDir() *MockPlatform_CommandDir_Call
- func (_e *MockPlatform_Expecter) DisableMCP(name interface{}) *MockPlatform_DisableMCP_Call
- func (_e *MockPlatform_Expecter) DisplayName() *MockPlatform_DisplayName_Call
- func (_e *MockPlatform_Expecter) EnableMCP(name interface{}) *MockPlatform_EnableMCP_Call
- func (_e *MockPlatform_Expecter) GetAgent(name interface{}, scope interface{}) *MockPlatform_GetAgent_Call
- func (_e *MockPlatform_Expecter) GetCommand(name interface{}, scope interface{}) *MockPlatform_GetCommand_Call
- func (_e *MockPlatform_Expecter) GetMCP(name interface{}, scope interface{}) *MockPlatform_GetMCP_Call
- func (_e *MockPlatform_Expecter) GetSkill(name interface{}, scope interface{}) *MockPlatform_GetSkill_Call
- func (_e *MockPlatform_Expecter) InstallAgent(agent interface{}, scope interface{}) *MockPlatform_InstallAgent_Call
- func (_e *MockPlatform_Expecter) InstallCommand(cmd interface{}, scope interface{}) *MockPlatform_InstallCommand_Call
- func (_e *MockPlatform_Expecter) InstallSkill(skill interface{}, scope interface{}) *MockPlatform_InstallSkill_Call
- func (_e *MockPlatform_Expecter) IsAvailable() *MockPlatform_IsAvailable_Call
- func (_e *MockPlatform_Expecter) IsLocalConfigIgnored() *MockPlatform_IsLocalConfigIgnored_Call
- func (_e *MockPlatform_Expecter) ListAgents(scope interface{}) *MockPlatform_ListAgents_Call
- func (_e *MockPlatform_Expecter) ListCommands(scope interface{}) *MockPlatform_ListCommands_Call
- func (_e *MockPlatform_Expecter) ListMCP(scope interface{}) *MockPlatform_ListMCP_Call
- func (_e *MockPlatform_Expecter) ListSkills(scope interface{}) *MockPlatform_ListSkills_Call
- func (_e *MockPlatform_Expecter) MCPConfigPath() *MockPlatform_MCPConfigPath_Call
- func (_e *MockPlatform_Expecter) Name() *MockPlatform_Name_Call
- func (_e *MockPlatform_Expecter) RemoveMCP(name interface{}, scope interface{}) *MockPlatform_RemoveMCP_Call
- func (_e *MockPlatform_Expecter) SkillDir() *MockPlatform_SkillDir_Call
- func (_e *MockPlatform_Expecter) UninstallAgent(name interface{}, scope interface{}) *MockPlatform_UninstallAgent_Call
- func (_e *MockPlatform_Expecter) UninstallCommand(name interface{}, scope interface{}) *MockPlatform_UninstallCommand_Call
- func (_e *MockPlatform_Expecter) UninstallSkill(name interface{}, scope interface{}) *MockPlatform_UninstallSkill_Call
- type MockPlatform_GetAgent_Call
- func (_c *MockPlatform_GetAgent_Call) Return(v any, err error) *MockPlatform_GetAgent_Call
- func (_c *MockPlatform_GetAgent_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_GetAgent_Call
- func (_c *MockPlatform_GetAgent_Call) RunAndReturn(run func(name string, scope cli.Scope) (any, error)) *MockPlatform_GetAgent_Call
- type MockPlatform_GetCommand_Call
- func (_c *MockPlatform_GetCommand_Call) Return(v any, err error) *MockPlatform_GetCommand_Call
- func (_c *MockPlatform_GetCommand_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_GetCommand_Call
- func (_c *MockPlatform_GetCommand_Call) RunAndReturn(run func(name string, scope cli.Scope) (any, error)) *MockPlatform_GetCommand_Call
- type MockPlatform_GetMCP_Call
- func (_c *MockPlatform_GetMCP_Call) Return(v any, err error) *MockPlatform_GetMCP_Call
- func (_c *MockPlatform_GetMCP_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_GetMCP_Call
- func (_c *MockPlatform_GetMCP_Call) RunAndReturn(run func(name string, scope cli.Scope) (any, error)) *MockPlatform_GetMCP_Call
- type MockPlatform_GetSkill_Call
- func (_c *MockPlatform_GetSkill_Call) Return(v any, err error) *MockPlatform_GetSkill_Call
- func (_c *MockPlatform_GetSkill_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_GetSkill_Call
- func (_c *MockPlatform_GetSkill_Call) RunAndReturn(run func(name string, scope cli.Scope) (any, error)) *MockPlatform_GetSkill_Call
- type MockPlatform_InstallAgent_Call
- func (_c *MockPlatform_InstallAgent_Call) Return(err error) *MockPlatform_InstallAgent_Call
- func (_c *MockPlatform_InstallAgent_Call) Run(run func(agent any, scope cli.Scope)) *MockPlatform_InstallAgent_Call
- func (_c *MockPlatform_InstallAgent_Call) RunAndReturn(run func(agent any, scope cli.Scope) error) *MockPlatform_InstallAgent_Call
- type MockPlatform_InstallCommand_Call
- func (_c *MockPlatform_InstallCommand_Call) Return(err error) *MockPlatform_InstallCommand_Call
- func (_c *MockPlatform_InstallCommand_Call) Run(run func(cmd any, scope cli.Scope)) *MockPlatform_InstallCommand_Call
- func (_c *MockPlatform_InstallCommand_Call) RunAndReturn(run func(cmd any, scope cli.Scope) error) *MockPlatform_InstallCommand_Call
- type MockPlatform_InstallSkill_Call
- func (_c *MockPlatform_InstallSkill_Call) Return(err error) *MockPlatform_InstallSkill_Call
- func (_c *MockPlatform_InstallSkill_Call) Run(run func(skill any, scope cli.Scope)) *MockPlatform_InstallSkill_Call
- func (_c *MockPlatform_InstallSkill_Call) RunAndReturn(run func(skill any, scope cli.Scope) error) *MockPlatform_InstallSkill_Call
- type MockPlatform_IsAvailable_Call
- type MockPlatform_IsLocalConfigIgnored_Call
- func (_c *MockPlatform_IsLocalConfigIgnored_Call) Return(b bool, err error) *MockPlatform_IsLocalConfigIgnored_Call
- func (_c *MockPlatform_IsLocalConfigIgnored_Call) Run(run func()) *MockPlatform_IsLocalConfigIgnored_Call
- func (_c *MockPlatform_IsLocalConfigIgnored_Call) RunAndReturn(run func() (bool, error)) *MockPlatform_IsLocalConfigIgnored_Call
- type MockPlatform_ListAgents_Call
- func (_c *MockPlatform_ListAgents_Call) Return(agentInfos []cli.AgentInfo, err error) *MockPlatform_ListAgents_Call
- func (_c *MockPlatform_ListAgents_Call) Run(run func(scope cli.Scope)) *MockPlatform_ListAgents_Call
- func (_c *MockPlatform_ListAgents_Call) RunAndReturn(run func(scope cli.Scope) ([]cli.AgentInfo, error)) *MockPlatform_ListAgents_Call
- type MockPlatform_ListCommands_Call
- func (_c *MockPlatform_ListCommands_Call) Return(commandInfos []cli.CommandInfo, err error) *MockPlatform_ListCommands_Call
- func (_c *MockPlatform_ListCommands_Call) Run(run func(scope cli.Scope)) *MockPlatform_ListCommands_Call
- func (_c *MockPlatform_ListCommands_Call) RunAndReturn(run func(scope cli.Scope) ([]cli.CommandInfo, error)) *MockPlatform_ListCommands_Call
- type MockPlatform_ListMCP_Call
- func (_c *MockPlatform_ListMCP_Call) Return(mCPInfos []cli.MCPInfo, err error) *MockPlatform_ListMCP_Call
- func (_c *MockPlatform_ListMCP_Call) Run(run func(scope cli.Scope)) *MockPlatform_ListMCP_Call
- func (_c *MockPlatform_ListMCP_Call) RunAndReturn(run func(scope cli.Scope) ([]cli.MCPInfo, error)) *MockPlatform_ListMCP_Call
- type MockPlatform_ListSkills_Call
- func (_c *MockPlatform_ListSkills_Call) Return(skillInfos []cli.SkillInfo, err error) *MockPlatform_ListSkills_Call
- func (_c *MockPlatform_ListSkills_Call) Run(run func(scope cli.Scope)) *MockPlatform_ListSkills_Call
- func (_c *MockPlatform_ListSkills_Call) RunAndReturn(run func(scope cli.Scope) ([]cli.SkillInfo, error)) *MockPlatform_ListSkills_Call
- type MockPlatform_MCPConfigPath_Call
- type MockPlatform_Name_Call
- type MockPlatform_RemoveMCP_Call
- func (_c *MockPlatform_RemoveMCP_Call) Return(err error) *MockPlatform_RemoveMCP_Call
- func (_c *MockPlatform_RemoveMCP_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_RemoveMCP_Call
- func (_c *MockPlatform_RemoveMCP_Call) RunAndReturn(run func(name string, scope cli.Scope) error) *MockPlatform_RemoveMCP_Call
- type MockPlatform_SkillDir_Call
- type MockPlatform_UninstallAgent_Call
- func (_c *MockPlatform_UninstallAgent_Call) Return(err error) *MockPlatform_UninstallAgent_Call
- func (_c *MockPlatform_UninstallAgent_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_UninstallAgent_Call
- func (_c *MockPlatform_UninstallAgent_Call) RunAndReturn(run func(name string, scope cli.Scope) error) *MockPlatform_UninstallAgent_Call
- type MockPlatform_UninstallCommand_Call
- func (_c *MockPlatform_UninstallCommand_Call) Return(err error) *MockPlatform_UninstallCommand_Call
- func (_c *MockPlatform_UninstallCommand_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_UninstallCommand_Call
- func (_c *MockPlatform_UninstallCommand_Call) RunAndReturn(run func(name string, scope cli.Scope) error) *MockPlatform_UninstallCommand_Call
- type MockPlatform_UninstallSkill_Call
- func (_c *MockPlatform_UninstallSkill_Call) Return(err error) *MockPlatform_UninstallSkill_Call
- func (_c *MockPlatform_UninstallSkill_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_UninstallSkill_Call
- func (_c *MockPlatform_UninstallSkill_Call) RunAndReturn(run func(name string, scope cli.Scope) error) *MockPlatform_UninstallSkill_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPlatform ¶
MockPlatform is an autogenerated mock type for the Platform type
func NewMockPlatform ¶
func NewMockPlatform(t interface {
mock.TestingT
Cleanup(func())
}) *MockPlatform
NewMockPlatform creates a new instance of MockPlatform. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockPlatform) AddMCP ¶
func (_mock *MockPlatform) AddMCP(server any, scope cli.Scope) error
AddMCP provides a mock function for the type MockPlatform
func (*MockPlatform) AgentDir ¶
func (_mock *MockPlatform) AgentDir() string
AgentDir provides a mock function for the type MockPlatform
func (*MockPlatform) BackupPaths ¶
func (_mock *MockPlatform) BackupPaths() []string
BackupPaths provides a mock function for the type MockPlatform
func (*MockPlatform) CommandDir ¶
func (_mock *MockPlatform) CommandDir() string
CommandDir provides a mock function for the type MockPlatform
func (*MockPlatform) DisableMCP ¶
func (_mock *MockPlatform) DisableMCP(name string) error
DisableMCP provides a mock function for the type MockPlatform
func (*MockPlatform) DisplayName ¶
func (_mock *MockPlatform) DisplayName() string
DisplayName provides a mock function for the type MockPlatform
func (*MockPlatform) EXPECT ¶
func (_m *MockPlatform) EXPECT() *MockPlatform_Expecter
func (*MockPlatform) EnableMCP ¶
func (_mock *MockPlatform) EnableMCP(name string) error
EnableMCP provides a mock function for the type MockPlatform
func (*MockPlatform) GetCommand ¶
GetCommand provides a mock function for the type MockPlatform
func (*MockPlatform) InstallAgent ¶
func (_mock *MockPlatform) InstallAgent(agent any, scope cli.Scope) error
InstallAgent provides a mock function for the type MockPlatform
func (*MockPlatform) InstallCommand ¶
func (_mock *MockPlatform) InstallCommand(cmd any, scope cli.Scope) error
InstallCommand provides a mock function for the type MockPlatform
func (*MockPlatform) InstallSkill ¶
func (_mock *MockPlatform) InstallSkill(skill any, scope cli.Scope) error
InstallSkill provides a mock function for the type MockPlatform
func (*MockPlatform) IsAvailable ¶
func (_mock *MockPlatform) IsAvailable() bool
IsAvailable provides a mock function for the type MockPlatform
func (*MockPlatform) IsLocalConfigIgnored ¶
func (_mock *MockPlatform) IsLocalConfigIgnored() (bool, error)
IsLocalConfigIgnored provides a mock function for the type MockPlatform
func (*MockPlatform) ListAgents ¶
ListAgents provides a mock function for the type MockPlatform
func (*MockPlatform) ListCommands ¶
func (_mock *MockPlatform) ListCommands(scope cli.Scope) ([]cli.CommandInfo, error)
ListCommands provides a mock function for the type MockPlatform
func (*MockPlatform) ListSkills ¶
ListSkills provides a mock function for the type MockPlatform
func (*MockPlatform) MCPConfigPath ¶
func (_mock *MockPlatform) MCPConfigPath() string
MCPConfigPath provides a mock function for the type MockPlatform
func (*MockPlatform) Name ¶
func (_mock *MockPlatform) Name() string
Name provides a mock function for the type MockPlatform
func (*MockPlatform) RemoveMCP ¶
func (_mock *MockPlatform) RemoveMCP(name string, scope cli.Scope) error
RemoveMCP provides a mock function for the type MockPlatform
func (*MockPlatform) SkillDir ¶
func (_mock *MockPlatform) SkillDir() string
SkillDir provides a mock function for the type MockPlatform
func (*MockPlatform) UninstallAgent ¶
func (_mock *MockPlatform) UninstallAgent(name string, scope cli.Scope) error
UninstallAgent provides a mock function for the type MockPlatform
func (*MockPlatform) UninstallCommand ¶
func (_mock *MockPlatform) UninstallCommand(name string, scope cli.Scope) error
UninstallCommand provides a mock function for the type MockPlatform
func (*MockPlatform) UninstallSkill ¶
func (_mock *MockPlatform) UninstallSkill(name string, scope cli.Scope) error
UninstallSkill provides a mock function for the type MockPlatform
type MockPlatform_AddMCP_Call ¶
MockPlatform_AddMCP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddMCP'
func (*MockPlatform_AddMCP_Call) Return ¶
func (_c *MockPlatform_AddMCP_Call) Return(err error) *MockPlatform_AddMCP_Call
func (*MockPlatform_AddMCP_Call) Run ¶
func (_c *MockPlatform_AddMCP_Call) Run(run func(server any, scope cli.Scope)) *MockPlatform_AddMCP_Call
func (*MockPlatform_AddMCP_Call) RunAndReturn ¶
func (_c *MockPlatform_AddMCP_Call) RunAndReturn(run func(server any, scope cli.Scope) error) *MockPlatform_AddMCP_Call
type MockPlatform_AgentDir_Call ¶
MockPlatform_AgentDir_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AgentDir'
func (*MockPlatform_AgentDir_Call) Return ¶
func (_c *MockPlatform_AgentDir_Call) Return(s string) *MockPlatform_AgentDir_Call
func (*MockPlatform_AgentDir_Call) Run ¶
func (_c *MockPlatform_AgentDir_Call) Run(run func()) *MockPlatform_AgentDir_Call
func (*MockPlatform_AgentDir_Call) RunAndReturn ¶
func (_c *MockPlatform_AgentDir_Call) RunAndReturn(run func() string) *MockPlatform_AgentDir_Call
type MockPlatform_BackupPaths_Call ¶
MockPlatform_BackupPaths_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BackupPaths'
func (*MockPlatform_BackupPaths_Call) Return ¶
func (_c *MockPlatform_BackupPaths_Call) Return(strings []string) *MockPlatform_BackupPaths_Call
func (*MockPlatform_BackupPaths_Call) Run ¶
func (_c *MockPlatform_BackupPaths_Call) Run(run func()) *MockPlatform_BackupPaths_Call
func (*MockPlatform_BackupPaths_Call) RunAndReturn ¶
func (_c *MockPlatform_BackupPaths_Call) RunAndReturn(run func() []string) *MockPlatform_BackupPaths_Call
type MockPlatform_CommandDir_Call ¶
MockPlatform_CommandDir_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CommandDir'
func (*MockPlatform_CommandDir_Call) Return ¶
func (_c *MockPlatform_CommandDir_Call) Return(s string) *MockPlatform_CommandDir_Call
func (*MockPlatform_CommandDir_Call) Run ¶
func (_c *MockPlatform_CommandDir_Call) Run(run func()) *MockPlatform_CommandDir_Call
func (*MockPlatform_CommandDir_Call) RunAndReturn ¶
func (_c *MockPlatform_CommandDir_Call) RunAndReturn(run func() string) *MockPlatform_CommandDir_Call
type MockPlatform_DisableMCP_Call ¶
MockPlatform_DisableMCP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisableMCP'
func (*MockPlatform_DisableMCP_Call) Return ¶
func (_c *MockPlatform_DisableMCP_Call) Return(err error) *MockPlatform_DisableMCP_Call
func (*MockPlatform_DisableMCP_Call) Run ¶
func (_c *MockPlatform_DisableMCP_Call) Run(run func(name string)) *MockPlatform_DisableMCP_Call
func (*MockPlatform_DisableMCP_Call) RunAndReturn ¶
func (_c *MockPlatform_DisableMCP_Call) RunAndReturn(run func(name string) error) *MockPlatform_DisableMCP_Call
type MockPlatform_DisplayName_Call ¶
MockPlatform_DisplayName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisplayName'
func (*MockPlatform_DisplayName_Call) Return ¶
func (_c *MockPlatform_DisplayName_Call) Return(s string) *MockPlatform_DisplayName_Call
func (*MockPlatform_DisplayName_Call) Run ¶
func (_c *MockPlatform_DisplayName_Call) Run(run func()) *MockPlatform_DisplayName_Call
func (*MockPlatform_DisplayName_Call) RunAndReturn ¶
func (_c *MockPlatform_DisplayName_Call) RunAndReturn(run func() string) *MockPlatform_DisplayName_Call
type MockPlatform_EnableMCP_Call ¶
MockPlatform_EnableMCP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnableMCP'
func (*MockPlatform_EnableMCP_Call) Return ¶
func (_c *MockPlatform_EnableMCP_Call) Return(err error) *MockPlatform_EnableMCP_Call
func (*MockPlatform_EnableMCP_Call) Run ¶
func (_c *MockPlatform_EnableMCP_Call) Run(run func(name string)) *MockPlatform_EnableMCP_Call
func (*MockPlatform_EnableMCP_Call) RunAndReturn ¶
func (_c *MockPlatform_EnableMCP_Call) RunAndReturn(run func(name string) error) *MockPlatform_EnableMCP_Call
type MockPlatform_Expecter ¶
type MockPlatform_Expecter struct {
// contains filtered or unexported fields
}
func (*MockPlatform_Expecter) AddMCP ¶
func (_e *MockPlatform_Expecter) AddMCP(server interface{}, scope interface{}) *MockPlatform_AddMCP_Call
AddMCP is a helper method to define mock.On call
- server any
- scope cli.Scope
func (*MockPlatform_Expecter) AgentDir ¶
func (_e *MockPlatform_Expecter) AgentDir() *MockPlatform_AgentDir_Call
AgentDir is a helper method to define mock.On call
func (*MockPlatform_Expecter) BackupPaths ¶
func (_e *MockPlatform_Expecter) BackupPaths() *MockPlatform_BackupPaths_Call
BackupPaths is a helper method to define mock.On call
func (*MockPlatform_Expecter) CommandDir ¶
func (_e *MockPlatform_Expecter) CommandDir() *MockPlatform_CommandDir_Call
CommandDir is a helper method to define mock.On call
func (*MockPlatform_Expecter) DisableMCP ¶
func (_e *MockPlatform_Expecter) DisableMCP(name interface{}) *MockPlatform_DisableMCP_Call
DisableMCP is a helper method to define mock.On call
- name string
func (*MockPlatform_Expecter) DisplayName ¶
func (_e *MockPlatform_Expecter) DisplayName() *MockPlatform_DisplayName_Call
DisplayName is a helper method to define mock.On call
func (*MockPlatform_Expecter) EnableMCP ¶
func (_e *MockPlatform_Expecter) EnableMCP(name interface{}) *MockPlatform_EnableMCP_Call
EnableMCP is a helper method to define mock.On call
- name string
func (*MockPlatform_Expecter) GetAgent ¶
func (_e *MockPlatform_Expecter) GetAgent(name interface{}, scope interface{}) *MockPlatform_GetAgent_Call
GetAgent is a helper method to define mock.On call
- name string
- scope cli.Scope
func (*MockPlatform_Expecter) GetCommand ¶
func (_e *MockPlatform_Expecter) GetCommand(name interface{}, scope interface{}) *MockPlatform_GetCommand_Call
GetCommand is a helper method to define mock.On call
- name string
- scope cli.Scope
func (*MockPlatform_Expecter) GetMCP ¶
func (_e *MockPlatform_Expecter) GetMCP(name interface{}, scope interface{}) *MockPlatform_GetMCP_Call
GetMCP is a helper method to define mock.On call
- name string
- scope cli.Scope
func (*MockPlatform_Expecter) GetSkill ¶
func (_e *MockPlatform_Expecter) GetSkill(name interface{}, scope interface{}) *MockPlatform_GetSkill_Call
GetSkill is a helper method to define mock.On call
- name string
- scope cli.Scope
func (*MockPlatform_Expecter) InstallAgent ¶
func (_e *MockPlatform_Expecter) InstallAgent(agent interface{}, scope interface{}) *MockPlatform_InstallAgent_Call
InstallAgent is a helper method to define mock.On call
- agent any
- scope cli.Scope
func (*MockPlatform_Expecter) InstallCommand ¶
func (_e *MockPlatform_Expecter) InstallCommand(cmd interface{}, scope interface{}) *MockPlatform_InstallCommand_Call
InstallCommand is a helper method to define mock.On call
- cmd any
- scope cli.Scope
func (*MockPlatform_Expecter) InstallSkill ¶
func (_e *MockPlatform_Expecter) InstallSkill(skill interface{}, scope interface{}) *MockPlatform_InstallSkill_Call
InstallSkill is a helper method to define mock.On call
- skill any
- scope cli.Scope
func (*MockPlatform_Expecter) IsAvailable ¶
func (_e *MockPlatform_Expecter) IsAvailable() *MockPlatform_IsAvailable_Call
IsAvailable is a helper method to define mock.On call
func (*MockPlatform_Expecter) IsLocalConfigIgnored ¶
func (_e *MockPlatform_Expecter) IsLocalConfigIgnored() *MockPlatform_IsLocalConfigIgnored_Call
IsLocalConfigIgnored is a helper method to define mock.On call
func (*MockPlatform_Expecter) ListAgents ¶
func (_e *MockPlatform_Expecter) ListAgents(scope interface{}) *MockPlatform_ListAgents_Call
ListAgents is a helper method to define mock.On call
- scope cli.Scope
func (*MockPlatform_Expecter) ListCommands ¶
func (_e *MockPlatform_Expecter) ListCommands(scope interface{}) *MockPlatform_ListCommands_Call
ListCommands is a helper method to define mock.On call
- scope cli.Scope
func (*MockPlatform_Expecter) ListMCP ¶
func (_e *MockPlatform_Expecter) ListMCP(scope interface{}) *MockPlatform_ListMCP_Call
ListMCP is a helper method to define mock.On call
- scope cli.Scope
func (*MockPlatform_Expecter) ListSkills ¶
func (_e *MockPlatform_Expecter) ListSkills(scope interface{}) *MockPlatform_ListSkills_Call
ListSkills is a helper method to define mock.On call
- scope cli.Scope
func (*MockPlatform_Expecter) MCPConfigPath ¶
func (_e *MockPlatform_Expecter) MCPConfigPath() *MockPlatform_MCPConfigPath_Call
MCPConfigPath is a helper method to define mock.On call
func (*MockPlatform_Expecter) Name ¶
func (_e *MockPlatform_Expecter) Name() *MockPlatform_Name_Call
Name is a helper method to define mock.On call
func (*MockPlatform_Expecter) RemoveMCP ¶
func (_e *MockPlatform_Expecter) RemoveMCP(name interface{}, scope interface{}) *MockPlatform_RemoveMCP_Call
RemoveMCP is a helper method to define mock.On call
- name string
- scope cli.Scope
func (*MockPlatform_Expecter) SkillDir ¶
func (_e *MockPlatform_Expecter) SkillDir() *MockPlatform_SkillDir_Call
SkillDir is a helper method to define mock.On call
func (*MockPlatform_Expecter) UninstallAgent ¶
func (_e *MockPlatform_Expecter) UninstallAgent(name interface{}, scope interface{}) *MockPlatform_UninstallAgent_Call
UninstallAgent is a helper method to define mock.On call
- name string
- scope cli.Scope
func (*MockPlatform_Expecter) UninstallCommand ¶
func (_e *MockPlatform_Expecter) UninstallCommand(name interface{}, scope interface{}) *MockPlatform_UninstallCommand_Call
UninstallCommand is a helper method to define mock.On call
- name string
- scope cli.Scope
func (*MockPlatform_Expecter) UninstallSkill ¶
func (_e *MockPlatform_Expecter) UninstallSkill(name interface{}, scope interface{}) *MockPlatform_UninstallSkill_Call
UninstallSkill is a helper method to define mock.On call
- name string
- scope cli.Scope
type MockPlatform_GetAgent_Call ¶
MockPlatform_GetAgent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAgent'
func (*MockPlatform_GetAgent_Call) Return ¶
func (_c *MockPlatform_GetAgent_Call) Return(v any, err error) *MockPlatform_GetAgent_Call
func (*MockPlatform_GetAgent_Call) Run ¶
func (_c *MockPlatform_GetAgent_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_GetAgent_Call
func (*MockPlatform_GetAgent_Call) RunAndReturn ¶
func (_c *MockPlatform_GetAgent_Call) RunAndReturn(run func(name string, scope cli.Scope) (any, error)) *MockPlatform_GetAgent_Call
type MockPlatform_GetCommand_Call ¶
MockPlatform_GetCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCommand'
func (*MockPlatform_GetCommand_Call) Return ¶
func (_c *MockPlatform_GetCommand_Call) Return(v any, err error) *MockPlatform_GetCommand_Call
func (*MockPlatform_GetCommand_Call) Run ¶
func (_c *MockPlatform_GetCommand_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_GetCommand_Call
func (*MockPlatform_GetCommand_Call) RunAndReturn ¶
func (_c *MockPlatform_GetCommand_Call) RunAndReturn(run func(name string, scope cli.Scope) (any, error)) *MockPlatform_GetCommand_Call
type MockPlatform_GetMCP_Call ¶
MockPlatform_GetMCP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMCP'
func (*MockPlatform_GetMCP_Call) Return ¶
func (_c *MockPlatform_GetMCP_Call) Return(v any, err error) *MockPlatform_GetMCP_Call
func (*MockPlatform_GetMCP_Call) Run ¶
func (_c *MockPlatform_GetMCP_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_GetMCP_Call
func (*MockPlatform_GetMCP_Call) RunAndReturn ¶
func (_c *MockPlatform_GetMCP_Call) RunAndReturn(run func(name string, scope cli.Scope) (any, error)) *MockPlatform_GetMCP_Call
type MockPlatform_GetSkill_Call ¶
MockPlatform_GetSkill_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSkill'
func (*MockPlatform_GetSkill_Call) Return ¶
func (_c *MockPlatform_GetSkill_Call) Return(v any, err error) *MockPlatform_GetSkill_Call
func (*MockPlatform_GetSkill_Call) Run ¶
func (_c *MockPlatform_GetSkill_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_GetSkill_Call
func (*MockPlatform_GetSkill_Call) RunAndReturn ¶
func (_c *MockPlatform_GetSkill_Call) RunAndReturn(run func(name string, scope cli.Scope) (any, error)) *MockPlatform_GetSkill_Call
type MockPlatform_InstallAgent_Call ¶
MockPlatform_InstallAgent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InstallAgent'
func (*MockPlatform_InstallAgent_Call) Return ¶
func (_c *MockPlatform_InstallAgent_Call) Return(err error) *MockPlatform_InstallAgent_Call
func (*MockPlatform_InstallAgent_Call) Run ¶
func (_c *MockPlatform_InstallAgent_Call) Run(run func(agent any, scope cli.Scope)) *MockPlatform_InstallAgent_Call
func (*MockPlatform_InstallAgent_Call) RunAndReturn ¶
func (_c *MockPlatform_InstallAgent_Call) RunAndReturn(run func(agent any, scope cli.Scope) error) *MockPlatform_InstallAgent_Call
type MockPlatform_InstallCommand_Call ¶
MockPlatform_InstallCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InstallCommand'
func (*MockPlatform_InstallCommand_Call) Return ¶
func (_c *MockPlatform_InstallCommand_Call) Return(err error) *MockPlatform_InstallCommand_Call
func (*MockPlatform_InstallCommand_Call) Run ¶
func (_c *MockPlatform_InstallCommand_Call) Run(run func(cmd any, scope cli.Scope)) *MockPlatform_InstallCommand_Call
func (*MockPlatform_InstallCommand_Call) RunAndReturn ¶
func (_c *MockPlatform_InstallCommand_Call) RunAndReturn(run func(cmd any, scope cli.Scope) error) *MockPlatform_InstallCommand_Call
type MockPlatform_InstallSkill_Call ¶
MockPlatform_InstallSkill_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InstallSkill'
func (*MockPlatform_InstallSkill_Call) Return ¶
func (_c *MockPlatform_InstallSkill_Call) Return(err error) *MockPlatform_InstallSkill_Call
func (*MockPlatform_InstallSkill_Call) Run ¶
func (_c *MockPlatform_InstallSkill_Call) Run(run func(skill any, scope cli.Scope)) *MockPlatform_InstallSkill_Call
func (*MockPlatform_InstallSkill_Call) RunAndReturn ¶
func (_c *MockPlatform_InstallSkill_Call) RunAndReturn(run func(skill any, scope cli.Scope) error) *MockPlatform_InstallSkill_Call
type MockPlatform_IsAvailable_Call ¶
MockPlatform_IsAvailable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAvailable'
func (*MockPlatform_IsAvailable_Call) Return ¶
func (_c *MockPlatform_IsAvailable_Call) Return(b bool) *MockPlatform_IsAvailable_Call
func (*MockPlatform_IsAvailable_Call) Run ¶
func (_c *MockPlatform_IsAvailable_Call) Run(run func()) *MockPlatform_IsAvailable_Call
func (*MockPlatform_IsAvailable_Call) RunAndReturn ¶
func (_c *MockPlatform_IsAvailable_Call) RunAndReturn(run func() bool) *MockPlatform_IsAvailable_Call
type MockPlatform_IsLocalConfigIgnored_Call ¶
MockPlatform_IsLocalConfigIgnored_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsLocalConfigIgnored'
func (*MockPlatform_IsLocalConfigIgnored_Call) Return ¶
func (_c *MockPlatform_IsLocalConfigIgnored_Call) Return(b bool, err error) *MockPlatform_IsLocalConfigIgnored_Call
func (*MockPlatform_IsLocalConfigIgnored_Call) Run ¶
func (_c *MockPlatform_IsLocalConfigIgnored_Call) Run(run func()) *MockPlatform_IsLocalConfigIgnored_Call
func (*MockPlatform_IsLocalConfigIgnored_Call) RunAndReturn ¶
func (_c *MockPlatform_IsLocalConfigIgnored_Call) RunAndReturn(run func() (bool, error)) *MockPlatform_IsLocalConfigIgnored_Call
type MockPlatform_ListAgents_Call ¶
MockPlatform_ListAgents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAgents'
func (*MockPlatform_ListAgents_Call) Return ¶
func (_c *MockPlatform_ListAgents_Call) Return(agentInfos []cli.AgentInfo, err error) *MockPlatform_ListAgents_Call
func (*MockPlatform_ListAgents_Call) Run ¶
func (_c *MockPlatform_ListAgents_Call) Run(run func(scope cli.Scope)) *MockPlatform_ListAgents_Call
func (*MockPlatform_ListAgents_Call) RunAndReturn ¶
func (_c *MockPlatform_ListAgents_Call) RunAndReturn(run func(scope cli.Scope) ([]cli.AgentInfo, error)) *MockPlatform_ListAgents_Call
type MockPlatform_ListCommands_Call ¶
MockPlatform_ListCommands_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListCommands'
func (*MockPlatform_ListCommands_Call) Return ¶
func (_c *MockPlatform_ListCommands_Call) Return(commandInfos []cli.CommandInfo, err error) *MockPlatform_ListCommands_Call
func (*MockPlatform_ListCommands_Call) Run ¶
func (_c *MockPlatform_ListCommands_Call) Run(run func(scope cli.Scope)) *MockPlatform_ListCommands_Call
func (*MockPlatform_ListCommands_Call) RunAndReturn ¶
func (_c *MockPlatform_ListCommands_Call) RunAndReturn(run func(scope cli.Scope) ([]cli.CommandInfo, error)) *MockPlatform_ListCommands_Call
type MockPlatform_ListMCP_Call ¶
MockPlatform_ListMCP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListMCP'
func (*MockPlatform_ListMCP_Call) Return ¶
func (_c *MockPlatform_ListMCP_Call) Return(mCPInfos []cli.MCPInfo, err error) *MockPlatform_ListMCP_Call
func (*MockPlatform_ListMCP_Call) Run ¶
func (_c *MockPlatform_ListMCP_Call) Run(run func(scope cli.Scope)) *MockPlatform_ListMCP_Call
func (*MockPlatform_ListMCP_Call) RunAndReturn ¶
func (_c *MockPlatform_ListMCP_Call) RunAndReturn(run func(scope cli.Scope) ([]cli.MCPInfo, error)) *MockPlatform_ListMCP_Call
type MockPlatform_ListSkills_Call ¶
MockPlatform_ListSkills_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSkills'
func (*MockPlatform_ListSkills_Call) Return ¶
func (_c *MockPlatform_ListSkills_Call) Return(skillInfos []cli.SkillInfo, err error) *MockPlatform_ListSkills_Call
func (*MockPlatform_ListSkills_Call) Run ¶
func (_c *MockPlatform_ListSkills_Call) Run(run func(scope cli.Scope)) *MockPlatform_ListSkills_Call
func (*MockPlatform_ListSkills_Call) RunAndReturn ¶
func (_c *MockPlatform_ListSkills_Call) RunAndReturn(run func(scope cli.Scope) ([]cli.SkillInfo, error)) *MockPlatform_ListSkills_Call
type MockPlatform_MCPConfigPath_Call ¶
MockPlatform_MCPConfigPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MCPConfigPath'
func (*MockPlatform_MCPConfigPath_Call) Return ¶
func (_c *MockPlatform_MCPConfigPath_Call) Return(s string) *MockPlatform_MCPConfigPath_Call
func (*MockPlatform_MCPConfigPath_Call) Run ¶
func (_c *MockPlatform_MCPConfigPath_Call) Run(run func()) *MockPlatform_MCPConfigPath_Call
func (*MockPlatform_MCPConfigPath_Call) RunAndReturn ¶
func (_c *MockPlatform_MCPConfigPath_Call) RunAndReturn(run func() string) *MockPlatform_MCPConfigPath_Call
type MockPlatform_Name_Call ¶
MockPlatform_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*MockPlatform_Name_Call) Return ¶
func (_c *MockPlatform_Name_Call) Return(s string) *MockPlatform_Name_Call
func (*MockPlatform_Name_Call) Run ¶
func (_c *MockPlatform_Name_Call) Run(run func()) *MockPlatform_Name_Call
func (*MockPlatform_Name_Call) RunAndReturn ¶
func (_c *MockPlatform_Name_Call) RunAndReturn(run func() string) *MockPlatform_Name_Call
type MockPlatform_RemoveMCP_Call ¶
MockPlatform_RemoveMCP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveMCP'
func (*MockPlatform_RemoveMCP_Call) Return ¶
func (_c *MockPlatform_RemoveMCP_Call) Return(err error) *MockPlatform_RemoveMCP_Call
func (*MockPlatform_RemoveMCP_Call) Run ¶
func (_c *MockPlatform_RemoveMCP_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_RemoveMCP_Call
func (*MockPlatform_RemoveMCP_Call) RunAndReturn ¶
func (_c *MockPlatform_RemoveMCP_Call) RunAndReturn(run func(name string, scope cli.Scope) error) *MockPlatform_RemoveMCP_Call
type MockPlatform_SkillDir_Call ¶
MockPlatform_SkillDir_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SkillDir'
func (*MockPlatform_SkillDir_Call) Return ¶
func (_c *MockPlatform_SkillDir_Call) Return(s string) *MockPlatform_SkillDir_Call
func (*MockPlatform_SkillDir_Call) Run ¶
func (_c *MockPlatform_SkillDir_Call) Run(run func()) *MockPlatform_SkillDir_Call
func (*MockPlatform_SkillDir_Call) RunAndReturn ¶
func (_c *MockPlatform_SkillDir_Call) RunAndReturn(run func() string) *MockPlatform_SkillDir_Call
type MockPlatform_UninstallAgent_Call ¶
MockPlatform_UninstallAgent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UninstallAgent'
func (*MockPlatform_UninstallAgent_Call) Return ¶
func (_c *MockPlatform_UninstallAgent_Call) Return(err error) *MockPlatform_UninstallAgent_Call
func (*MockPlatform_UninstallAgent_Call) Run ¶
func (_c *MockPlatform_UninstallAgent_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_UninstallAgent_Call
func (*MockPlatform_UninstallAgent_Call) RunAndReturn ¶
func (_c *MockPlatform_UninstallAgent_Call) RunAndReturn(run func(name string, scope cli.Scope) error) *MockPlatform_UninstallAgent_Call
type MockPlatform_UninstallCommand_Call ¶
MockPlatform_UninstallCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UninstallCommand'
func (*MockPlatform_UninstallCommand_Call) Return ¶
func (_c *MockPlatform_UninstallCommand_Call) Return(err error) *MockPlatform_UninstallCommand_Call
func (*MockPlatform_UninstallCommand_Call) Run ¶
func (_c *MockPlatform_UninstallCommand_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_UninstallCommand_Call
func (*MockPlatform_UninstallCommand_Call) RunAndReturn ¶
func (_c *MockPlatform_UninstallCommand_Call) RunAndReturn(run func(name string, scope cli.Scope) error) *MockPlatform_UninstallCommand_Call
type MockPlatform_UninstallSkill_Call ¶
MockPlatform_UninstallSkill_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UninstallSkill'
func (*MockPlatform_UninstallSkill_Call) Return ¶
func (_c *MockPlatform_UninstallSkill_Call) Return(err error) *MockPlatform_UninstallSkill_Call
func (*MockPlatform_UninstallSkill_Call) Run ¶
func (_c *MockPlatform_UninstallSkill_Call) Run(run func(name string, scope cli.Scope)) *MockPlatform_UninstallSkill_Call
func (*MockPlatform_UninstallSkill_Call) RunAndReturn ¶
func (_c *MockPlatform_UninstallSkill_Call) RunAndReturn(run func(name string, scope cli.Scope) error) *MockPlatform_UninstallSkill_Call