Documentation
¶
Index ¶
- Variables
- func NewModuleRegistry(config *config.McpServerConfig, tsg *toolsets.ToolsetGroup) *commonModules.ModuleRegistry
- func RegisterACM(config *config.McpServerConfig, tsg *toolsets.ToolsetGroup) error
- func RegisterDefaultToolsets(config *config.McpServerConfig, tsg *toolsets.ToolsetGroup) error
- func RegisterLogs(config *config.McpServerConfig, tsg *toolsets.ToolsetGroup) error
- type ACMModule
- type ExtendedCoreModule
- type ExternalClientProvider
- func (p *ExternalClientProvider) CreateClient(config *config.McpServerConfig, service string, timeout ...time.Duration) (*commonClient.Client, error)
- func (p *ExternalClientProvider) CreateClientWithIdentity(config *config.McpServerConfig, service string, serviceIdentity string, ...) (*commonClient.Client, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceToPathMap = map[string]string{
"acm": "autoai",
"ngMan": "ng/api",
"harnessManager": "ng/api",
"nextgen": "",
"commOrch": "lw/co/api",
"chaos": "chaos/manager/api",
"loadtest": "loadTest/manager/api",
"code": "code",
"pipelines": "pipeline",
"dashboards": "dashboard",
"audit": "audit",
"gateway/log-service": "gateway/log-service",
"log-service": "log-service",
"templates": "template",
"acl": "authz",
"resourcegroup": "resourcegroup",
"ar": "har/api",
"idp": "",
"sei": "/gateway/sei/api/",
"scs": "ssca-manager",
"sto": "sto",
"gitops": "gateway/gitops/api/v1",
}
Functions ¶
func NewModuleRegistry ¶
func NewModuleRegistry(config *config.McpServerConfig, tsg *toolsets.ToolsetGroup) *commonModules.ModuleRegistry
NewModuleRegistry creates a new module registry with all available modules
func RegisterACM ¶
func RegisterACM(config *config.McpServerConfig, tsg *toolsets.ToolsetGroup) error
RegisterACM registers the ACM toolset
func RegisterDefaultToolsets ¶
func RegisterDefaultToolsets(config *config.McpServerConfig, tsg *toolsets.ToolsetGroup) error
func RegisterLogs ¶
func RegisterLogs(config *config.McpServerConfig, tsg *toolsets.ToolsetGroup) error
RegisterLogs registers the logs toolset
Types ¶
type ACMModule ¶
type ACMModule struct {
// contains filtered or unexported fields
}
ACMModule implements the Module interface for Autonomous Code Maintenance
func NewACMModule ¶
func NewACMModule(config *config.McpServerConfig, tsg *toolsets.ToolsetGroup) *ACMModule
NewACMModule creates a new instance of ACMModule
func (*ACMModule) EnableToolsets ¶
func (m *ACMModule) EnableToolsets(tsg *toolsets.ToolsetGroup) error
EnableToolsets enables all toolsets in this module
func (*ACMModule) RegisterToolsets ¶
RegisterToolsets registers all toolsets in this module
type ExtendedCoreModule ¶
type ExtendedCoreModule struct {
*commonModules.CoreModule // Embed the common CoreModule
// contains filtered or unexported fields
}
ExtendedCoreModule extends the common CoreModule with internal-only toolsets
func NewExtendedCoreModule ¶
func NewExtendedCoreModule(config *config.McpServerConfig, tsg *toolsets.ToolsetGroup) *ExtendedCoreModule
NewExtendedCoreModule creates a new instance of ExtendedCoreModule
func (*ExtendedCoreModule) RegisterToolsets ¶
func (m *ExtendedCoreModule) RegisterToolsets() error
func (*ExtendedCoreModule) Toolsets ¶
func (m *ExtendedCoreModule) Toolsets() []string
Toolsets returns all toolsets (common + internal)
type ExternalClientProvider ¶
type ExternalClientProvider struct{}
ExternalClientProvider implements ClientProvider for external mode
func (*ExternalClientProvider) CreateClient ¶
func (p *ExternalClientProvider) CreateClient(config *config.McpServerConfig, service string, timeout ...time.Duration) (*commonClient.Client, error)
func (*ExternalClientProvider) CreateClientWithIdentity ¶
func (p *ExternalClientProvider) CreateClientWithIdentity(config *config.McpServerConfig, service string, serviceIdentity string, timeout ...time.Duration) (*commonClient.Client, error)
Click to show internal directories.
Click to hide internal directories.