plugin

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetCmd

func NewGetCmd(f *cmdutil.Factory) *cobra.Command

func NewListCmd

func NewListCmd(f *cmdutil.Factory) *cobra.Command

func NewPluginCmd

func NewPluginCmd(f *cmdutil.Factory) *cobra.Command

Types

type ActionDetail

type ActionDetail struct {
	ActionType  string            `json:"actionType"`
	Label       string            `json:"label"`
	Description string            `json:"description"`
	Fields      map[string]string `json:"requiredFields,omitempty"`
}

ActionDetail holds a single action's metadata for display.

type Protocol

type Protocol struct {
	Name        string `json:"name"`
	ActionCount int    `json:"actionCount"`
}

Protocol represents a grouped set of actions under one integration.

type ProtocolDetail

type ProtocolDetail struct {
	Name    string         `json:"name"`
	Actions []ActionDetail `json:"actions"`
}

ProtocolDetail holds a protocol name and its actions for the get command.

type SchemaAction

type SchemaAction struct {
	ActionType  string `json:"actionType"`
	Label       string `json:"label"`
	Description string `json:"description"`
	Category    string `json:"category"`
	Integration string `json:"integration"`
}

SchemaAction represents a single action from the schemas API.

type SchemasResponse

type SchemasResponse struct {
	Actions map[string]SchemaAction `json:"actions"`
}

SchemasResponse is the shape of the /api/mcp/schemas response.

Jump to

Keyboard shortcuts

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