Documentation
¶
Overview ¶
Package metadata implements MCP tools for the GitLab Metadata API.
The package fetches server version, revision, Enterprise edition status, and Kubernetes Agent Server metadata, then renders those values as structured JSON and Markdown for MCP tool responses.
The package wraps the GitLab Metadata API:
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatGetMarkdown ¶
FormatGetMarkdown renders the instance metadata as the card of one object, with the Kubernetes Agent Server as a nested object of its own: its version and its two addresses belong to KAS rather than to GitLab, and reading "Version" twice in one flat list said otherwise.
Types ¶
type GetOutput ¶
type GetOutput struct {
toolutil.HintableOutput
Version string `json:"version"`
Revision string `json:"revision"`
KAS KASInfo `json:"kas"`
Enterprise bool `json:"enterprise"`
}
GetOutput is the output for metadata.
Click to show internal directories.
Click to hide internal directories.