Documentation
¶
Overview ¶
Package gatewaysurface declares the public surface (flags and MCP inputs) of the `klausctl gateway` command group.
Both the Cobra command (cmd/gateway.go) and the MCP tool registration (internal/tools/gateway) consume this package so the two surfaces cannot drift. A parity test in cmd/gateway_parity_test.go asserts every CLI flag has an MCP equivalent and vice versa.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StartFlags = []Flag{
{CLIFlag: "with-agentgateway", MCPKey: "withAgentgateway", Kind: "bool", Description: "Also start agentgateway in front of klaus-gateway."},
{CLIFlag: "port", MCPKey: "port", Kind: "int", Description: "Override the klaus-gateway listen port."},
{CLIFlag: "agentgateway-port", MCPKey: "agentgatewayPort", Kind: "int", Description: "Override the agentgateway listen port."},
{CLIFlag: "klaus-gateway-bin", MCPKey: "klausGatewayBin", Kind: "string", Description: "Path to the klaus-gateway host binary (overrides KLAUS_GATEWAY_BIN)."},
{CLIFlag: "agentgateway-bin", MCPKey: "agentgatewayBin", Kind: "string", Description: "Path to the agentgateway host binary (overrides KLAUS_AGENTGATEWAY_BIN)."},
{CLIFlag: "log-level", MCPKey: "logLevel", Kind: "string", Description: "Gateway log level (debug, info, warn, error)."},
}
StartFlags lists the inputs accepted by `gateway start` and the `klaus_gateway_start` MCP tool.
View Source
var StatusFlags = []Flag{
{CLIFlag: "output", MCPKey: "output", Kind: "string", Description: `Output format: "text" (default) or "json".`},
}
StatusFlags lists the inputs accepted by `gateway status` and the `klaus_gateway_status` MCP tool.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.