Documentation
¶
Index ¶
- func Examples[T any](examples ...T) mcp.PropertyOption
- func RequiredPermissionsFromTool(tool mcp.Tool) []string
- func WithRequiredPermissions(permissions ...string) mcp.ToolOption
- type KubernetesListClusters
- type KubernetesListCronjobs
- type KubernetesListNodes
- type KubernetesListPodContainers
- type KubernetesListWorkloads
- type ToolGenerateSysql
- type ToolGetEventInfo
- type ToolGetEventProcessTree
- type ToolListRuntimeEvents
- type ToolRunSysql
- type TroubleshootKubernetesListCountPodsPerCluster
- type TroubleshootKubernetesListTop400500HttpErrorsInPods
- type TroubleshootKubernetesListTopCPUConsumedByContainer
- type TroubleshootKubernetesListTopCPUConsumedByWorkload
- type TroubleshootKubernetesListTopMemoryConsumedByContainer
- type TroubleshootKubernetesListTopMemoryConsumedByWorkload
- type TroubleshootKubernetesListTopNetworkErrorsInPods
- type TroubleshootKubernetesListTopRestartedPods
- type TroubleshootKubernetesListTopUnavailablePods
- type TroubleshootKubernetesListUnderutilizedPodsByCPUQuota
- type TroubleshootKubernetesListUnderutilizedPodsByMemoryQuota
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Examples ¶
func Examples[T any](examples ...T) mcp.PropertyOption
func WithRequiredPermissions ¶
func WithRequiredPermissions(permissions ...string) mcp.ToolOption
Types ¶
type KubernetesListClusters ¶
type KubernetesListClusters struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewKubernetesListClusters ¶
func NewKubernetesListClusters(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *KubernetesListClusters
func (*KubernetesListClusters) RegisterInServer ¶
func (t *KubernetesListClusters) RegisterInServer(s *server.MCPServer)
type KubernetesListCronjobs ¶
type KubernetesListCronjobs struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewKubernetesListCronjobs ¶
func NewKubernetesListCronjobs(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *KubernetesListCronjobs
func (*KubernetesListCronjobs) RegisterInServer ¶
func (t *KubernetesListCronjobs) RegisterInServer(s *server.MCPServer)
type KubernetesListNodes ¶
type KubernetesListNodes struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewKubernetesListNodes ¶
func NewKubernetesListNodes(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *KubernetesListNodes
func (*KubernetesListNodes) RegisterInServer ¶
func (t *KubernetesListNodes) RegisterInServer(s *server.MCPServer)
type KubernetesListPodContainers ¶
type KubernetesListPodContainers struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewKubernetesListPodContainers ¶
func NewKubernetesListPodContainers(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *KubernetesListPodContainers
func (*KubernetesListPodContainers) RegisterInServer ¶
func (t *KubernetesListPodContainers) RegisterInServer(s *server.MCPServer)
type KubernetesListWorkloads ¶
type KubernetesListWorkloads struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewKubernetesListWorkloads ¶
func NewKubernetesListWorkloads(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *KubernetesListWorkloads
func (*KubernetesListWorkloads) RegisterInServer ¶
func (t *KubernetesListWorkloads) RegisterInServer(s *server.MCPServer)
type ToolGenerateSysql ¶
type ToolGenerateSysql struct {
// contains filtered or unexported fields
}
func NewToolGenerateSysql ¶
func NewToolGenerateSysql(client sysdig.ExtendedClientWithResponsesInterface) *ToolGenerateSysql
func (*ToolGenerateSysql) RegisterInServer ¶
func (h *ToolGenerateSysql) RegisterInServer(s *server.MCPServer)
type ToolGetEventInfo ¶
type ToolGetEventInfo struct {
// contains filtered or unexported fields
}
func NewToolGetEventInfo ¶
func NewToolGetEventInfo(client sysdig.ExtendedClientWithResponsesInterface) *ToolGetEventInfo
func (*ToolGetEventInfo) RegisterInServer ¶
func (h *ToolGetEventInfo) RegisterInServer(s *server.MCPServer)
type ToolGetEventProcessTree ¶
type ToolGetEventProcessTree struct {
// contains filtered or unexported fields
}
func NewToolGetEventProcessTree ¶
func NewToolGetEventProcessTree(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *ToolGetEventProcessTree
func (*ToolGetEventProcessTree) RegisterInServer ¶
func (h *ToolGetEventProcessTree) RegisterInServer(s *server.MCPServer)
type ToolListRuntimeEvents ¶
type ToolListRuntimeEvents struct {
// contains filtered or unexported fields
}
func NewToolListRuntimeEvents ¶
func NewToolListRuntimeEvents(client sysdig.ExtendedClientWithResponsesInterface, clock clock.Clock) *ToolListRuntimeEvents
func (*ToolListRuntimeEvents) RegisterInServer ¶
func (h *ToolListRuntimeEvents) RegisterInServer(s *server.MCPServer)
type ToolRunSysql ¶
type ToolRunSysql struct {
// contains filtered or unexported fields
}
func NewToolRunSysql ¶
func NewToolRunSysql(client sysdig.ExtendedClientWithResponsesInterface) *ToolRunSysql
func (*ToolRunSysql) RegisterInServer ¶
func (h *ToolRunSysql) RegisterInServer(s *server.MCPServer)
type TroubleshootKubernetesListCountPodsPerCluster ¶
type TroubleshootKubernetesListCountPodsPerCluster struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewTroubleshootKubernetesListCountPodsPerCluster ¶
func NewTroubleshootKubernetesListCountPodsPerCluster(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *TroubleshootKubernetesListCountPodsPerCluster
func (*TroubleshootKubernetesListCountPodsPerCluster) RegisterInServer ¶
func (t *TroubleshootKubernetesListCountPodsPerCluster) RegisterInServer(s *server.MCPServer)
type TroubleshootKubernetesListTop400500HttpErrorsInPods ¶
type TroubleshootKubernetesListTop400500HttpErrorsInPods struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewTroubleshootKubernetesListTop400500HttpErrorsInPods ¶
func NewTroubleshootKubernetesListTop400500HttpErrorsInPods(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *TroubleshootKubernetesListTop400500HttpErrorsInPods
func (*TroubleshootKubernetesListTop400500HttpErrorsInPods) RegisterInServer ¶
func (t *TroubleshootKubernetesListTop400500HttpErrorsInPods) RegisterInServer(s *server.MCPServer)
type TroubleshootKubernetesListTopCPUConsumedByContainer ¶
type TroubleshootKubernetesListTopCPUConsumedByContainer struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewTroubleshootKubernetesListTopCPUConsumedByContainer ¶
func NewTroubleshootKubernetesListTopCPUConsumedByContainer(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *TroubleshootKubernetesListTopCPUConsumedByContainer
func (*TroubleshootKubernetesListTopCPUConsumedByContainer) RegisterInServer ¶
func (t *TroubleshootKubernetesListTopCPUConsumedByContainer) RegisterInServer(s *server.MCPServer)
type TroubleshootKubernetesListTopCPUConsumedByWorkload ¶
type TroubleshootKubernetesListTopCPUConsumedByWorkload struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewTroubleshootKubernetesListTopCPUConsumedByWorkload ¶
func NewTroubleshootKubernetesListTopCPUConsumedByWorkload(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *TroubleshootKubernetesListTopCPUConsumedByWorkload
func (*TroubleshootKubernetesListTopCPUConsumedByWorkload) RegisterInServer ¶
func (t *TroubleshootKubernetesListTopCPUConsumedByWorkload) RegisterInServer(s *server.MCPServer)
type TroubleshootKubernetesListTopMemoryConsumedByContainer ¶
type TroubleshootKubernetesListTopMemoryConsumedByContainer struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewTroubleshootKubernetesListTopMemoryConsumedByContainer ¶
func NewTroubleshootKubernetesListTopMemoryConsumedByContainer(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *TroubleshootKubernetesListTopMemoryConsumedByContainer
func (*TroubleshootKubernetesListTopMemoryConsumedByContainer) RegisterInServer ¶
func (t *TroubleshootKubernetesListTopMemoryConsumedByContainer) RegisterInServer(s *server.MCPServer)
type TroubleshootKubernetesListTopMemoryConsumedByWorkload ¶
type TroubleshootKubernetesListTopMemoryConsumedByWorkload struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewTroubleshootKubernetesListTopMemoryConsumedByWorkload ¶
func NewTroubleshootKubernetesListTopMemoryConsumedByWorkload(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *TroubleshootKubernetesListTopMemoryConsumedByWorkload
func (*TroubleshootKubernetesListTopMemoryConsumedByWorkload) RegisterInServer ¶
func (t *TroubleshootKubernetesListTopMemoryConsumedByWorkload) RegisterInServer(s *server.MCPServer)
type TroubleshootKubernetesListTopNetworkErrorsInPods ¶
type TroubleshootKubernetesListTopNetworkErrorsInPods struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewTroubleshootKubernetesListTopNetworkErrorsInPods ¶
func NewTroubleshootKubernetesListTopNetworkErrorsInPods(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *TroubleshootKubernetesListTopNetworkErrorsInPods
func (*TroubleshootKubernetesListTopNetworkErrorsInPods) RegisterInServer ¶
func (t *TroubleshootKubernetesListTopNetworkErrorsInPods) RegisterInServer(s *server.MCPServer)
type TroubleshootKubernetesListTopRestartedPods ¶
type TroubleshootKubernetesListTopRestartedPods struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewTroubleshootKubernetesListTopRestartedPods ¶
func NewTroubleshootKubernetesListTopRestartedPods(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *TroubleshootKubernetesListTopRestartedPods
func (*TroubleshootKubernetesListTopRestartedPods) RegisterInServer ¶
func (t *TroubleshootKubernetesListTopRestartedPods) RegisterInServer(s *server.MCPServer)
type TroubleshootKubernetesListTopUnavailablePods ¶
type TroubleshootKubernetesListTopUnavailablePods struct {
}
func NewTroubleshootKubernetesListTopUnavailablePods ¶
func NewTroubleshootKubernetesListTopUnavailablePods(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *TroubleshootKubernetesListTopUnavailablePods
func (*TroubleshootKubernetesListTopUnavailablePods) RegisterInServer ¶
func (t *TroubleshootKubernetesListTopUnavailablePods) RegisterInServer(s *server.MCPServer)
type TroubleshootKubernetesListUnderutilizedPodsByCPUQuota ¶
type TroubleshootKubernetesListUnderutilizedPodsByCPUQuota struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewTroubleshootKubernetesListUnderutilizedPodsByCPUQuota ¶
func NewTroubleshootKubernetesListUnderutilizedPodsByCPUQuota(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *TroubleshootKubernetesListUnderutilizedPodsByCPUQuota
func (*TroubleshootKubernetesListUnderutilizedPodsByCPUQuota) RegisterInServer ¶
func (t *TroubleshootKubernetesListUnderutilizedPodsByCPUQuota) RegisterInServer(s *server.MCPServer)
type TroubleshootKubernetesListUnderutilizedPodsByMemoryQuota ¶
type TroubleshootKubernetesListUnderutilizedPodsByMemoryQuota struct {
SysdigClient sysdig.ExtendedClientWithResponsesInterface
}
func NewTroubleshootKubernetesListUnderutilizedPodsByMemoryQuota ¶
func NewTroubleshootKubernetesListUnderutilizedPodsByMemoryQuota(sysdigClient sysdig.ExtendedClientWithResponsesInterface) *TroubleshootKubernetesListUnderutilizedPodsByMemoryQuota
func (*TroubleshootKubernetesListUnderutilizedPodsByMemoryQuota) RegisterInServer ¶
func (t *TroubleshootKubernetesListUnderutilizedPodsByMemoryQuota) RegisterInServer(s *server.MCPServer)
Source Files
¶
- tool_generate_sysql.go
- tool_get_event_info.go
- tool_get_event_process_tree.go
- tool_kubernetes_list_clusters.go
- tool_kubernetes_list_cronjobs.go
- tool_kubernetes_list_nodes.go
- tool_kubernetes_list_pod_containers.go
- tool_kubernetes_list_workloads.go
- tool_list_runtime_events.go
- tool_run_sysql.go
- tool_troubleshoot_kubernetes_list_count_pods_per_cluster.go
- tool_troubleshoot_kubernetes_list_top_400_500_http_errors_in_pods.go
- tool_troubleshoot_kubernetes_list_top_cpu_consumed_by_container.go
- tool_troubleshoot_kubernetes_list_top_cpu_consumed_by_workload.go
- tool_troubleshoot_kubernetes_list_top_memory_consumed_by_container.go
- tool_troubleshoot_kubernetes_list_top_memory_consumed_by_workload.go
- tool_troubleshoot_kubernetes_list_top_network_errors_in_pods.go
- tool_troubleshoot_kubernetes_list_top_restarted_pods.go
- tool_troubleshoot_kubernetes_list_top_unavailable_pods.go
- tool_troubleshoot_kubernetes_list_underutilized_pods_by_cpu_quota.go
- tool_troubleshoot_kubernetes_list_underutilized_pods_by_memory_quota.go
- utils.go
Click to show internal directories.
Click to hide internal directories.