Documentation
¶
Overview ¶
Package groupreleases implements MCP tool handlers for listing releases across all projects in a GitLab group.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatListMarkdown ¶
func FormatListMarkdown(out ListOutput) string
FormatListMarkdown renders a paginated list of group releases as Markdown.
func RegisterTools ¶
func RegisterTools(server *mcp.Server, client *gitlabclient.Client)
RegisterTools registers group releases tools on the MCP server.
Types ¶
type ListInput ¶
type ListInput struct {
GroupID toolutil.StringOrInt `json:"group_id" jsonschema:"Group ID or URL-encoded path,required"`
Simple bool `json:"simple,omitempty" jsonschema:"Return only limited fields"`
toolutil.PaginationInput
}
ListInput defines parameters for the List action which retrieves all releases across projects in a group.
type ListOutput ¶
type ListOutput struct {
toolutil.HintableOutput
Releases []Output `json:"releases"`
Pagination toolutil.PaginationOutput `json:"pagination"`
}
ListOutput holds a paginated list of group releases.
func List ¶
func List(ctx context.Context, client *gitlabclient.Client, input ListInput) (ListOutput, error)
List retrieves all releases across projects in a group.
type Output ¶
type Output struct {
TagName string `json:"tag_name"`
Name string `json:"name"`
Description string `json:"description,omitempty"`
CreatedAt string `json:"created_at"`
ReleasedAt string `json:"released_at,omitempty"`
Author string `json:"author,omitempty"`
UpcomingRelease bool `json:"upcoming_release,omitempty"`
WebURL string `json:"web_url,omitempty"`
}
Output represents a release of a project within a group.
Click to show internal directories.
Click to hide internal directories.