Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateInternalName ¶ added in v0.1.11
GenerateInternalName converts a server name to a DNS-1123 compliant name that can be used as a Docker Compose service name or Kubernetes resource name. Export this function so that the runtime can use this to construct the name of MCP to connect to
func GenerateInternalNameForDeployment ¶ added in v0.2.1
GenerateInternalNameForDeployment returns an internal runtime-safe name scoped to a deployment ID when provided.
Types ¶
type AgentRunRequest ¶
type MCPServerRunRequest ¶
type Translator ¶
type Translator interface {
TranslateMCPServer(
ctx context.Context,
req *MCPServerRunRequest,
) (*api.MCPServer, error)
TranslateAgent(
ctx context.Context,
req *AgentRunRequest,
) (*api.Agent, error)
}
Translator is the interface for translating MCPServer objects to AgentGateway objects.
func NewTranslator ¶
func NewTranslator() Translator
Click to show internal directories.
Click to hide internal directories.