Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APICatalogCmd ¶
type APICatalogCmd struct {
Poller string `required:"" name:"poller" help:"Poller name from config to download swagger from (e.g. dc1)"`
Output string `name:"output" default:"conf/ontap_api_catalog.json" help:"Destination path for the generated catalog JSON"`
}
func (*APICatalogCmd) Run ¶
func (c *APICatalogCmd) Run(cli *CLI) error
type CLI ¶
type CLI struct {
Globals
Start StartCmd `cmd:"" help:"Start ONTAP MCP server"`
Generate GenerateCmd `cmd:"" help:"Generate ONTAP MCP artifacts"`
}
type GenerateCmd ¶
type GenerateCmd struct {
APICatalog APICatalogCmd `cmd:"api-catalog" help:"Generate API catalog JSON by downloading swagger from an ONTAP cluster"`
}
type StartCmd ¶
type StartCmd struct {
Host string `default:"localhost" help:"Listening address"`
Port int `default:"8080" help:"Listening port" env:"ONTAP_MCP_PORT"`
InspectTraffic bool `default:"false" help:"Inspect MCP HTTP traffic"`
ReadOnly bool `default:"false" help:"Run MCP in read-only mode. This disables all tool calls that modify ONTAP state."`
Stateless bool `` /* 203-byte string literal not displayed */
JSONResponse bool `` /* 206-byte string literal not displayed */
}
Click to show internal directories.
Click to hide internal directories.