pod

package
v0.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPodTools

func RegisterPodTools(s *mcpserver.MCPServer, sc *server.ServerContext) error

RegisterPodTools registers all pod management tools with the MCP server

Types

type PortForwardResponse added in v0.0.12

type PortForwardResponse struct {
	Success      bool          `json:"success"`
	Message      string        `json:"message"`
	SessionID    string        `json:"sessionId"`
	ResourceType string        `json:"resourceType"`
	ResourceName string        `json:"resourceName"`
	Namespace    string        `json:"namespace"`
	PortMappings []PortMapping `json:"portMappings"`
	Instructions string        `json:"instructions"`
}

PortForwardResponse represents the structured response for port forwarding operations

type PortMapping added in v0.0.12

type PortMapping struct {
	LocalPort  int `json:"localPort"`
	RemotePort int `json:"remotePort"`
}

PortMapping represents a single port mapping

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL