Documentation
¶
Index ¶
Constants ¶
const ( // NamespaceArg namespace argument. NamespaceArg = "namespace" // SettingsArg settings argument. SettingsArg = "setting" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigTools ¶
type ConfigTools struct {
// contains filtered or unexported fields
}
ConfigTools represents a set of tools for managing the TSSC configuration in a Kubernetes cluster via MCP tools. Each tool is a function that handles a specific role in the TSSC configuration lifecycle. Analogous to the "tssc config" subcommand it uses the ConfigManager to manage the TSSC configuration in the cluster.
func NewConfigTools ¶
func NewConfigTools( logger *slog.Logger, kube *k8s.Kube, cm *config.ConfigMapManager, ) (*ConfigTools, error)
NewConfigTools instantiates a new ConfigTools.
func (*ConfigTools) Init ¶
func (c *ConfigTools) Init(s *server.MCPServer)
Init registers the ConfigTools on the provided MCP server instance.
type DeployTools ¶
type DeployTools struct {
// contains filtered or unexported fields
}
DeployTools represents the tools used for deploying the TSSC using the installer on a container image, and running in the cluster, using a Kubernetes Job.
func NewDeployTools ¶
func NewDeployTools( cm *config.ConfigMapManager, job *installer.Job, image string, ) *DeployTools
NewDeployTools creates a new DeployTools instance.l
func (*DeployTools) Init ¶
func (d *DeployTools) Init(s *server.MCPServer)
Init registers the deployment tools on the MCP server.
type IntegrationTools ¶
type IntegrationTools struct {
// contains filtered or unexported fields
}
func NewIntegrationTools ¶
func NewIntegrationTools(integrationCmd *cobra.Command) *IntegrationTools
func (*IntegrationTools) Init ¶
func (i *IntegrationTools) Init(s *server.MCPServer)