Documentation
¶
Index ¶
- func NewServer(cfg *config.Config, pSvc *service.PipelineService, jSvc *service.JobService, ...) *mcp.Server
- type CreateMRInput
- type JobActionInput
- type ListBranchesInput
- type ListJobsInput
- type ListMergeRequestsInput
- type ListPipelineCommitsInput
- type ListPipelinesInput
- type ListProjectsInput
- type MRInput
- type SearchProjectsInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(cfg *config.Config, pSvc *service.PipelineService, jSvc *service.JobService, mrSvc *service.MergeRequestService, version string) *mcp.Server
Types ¶
type CreateMRInput ¶ added in v0.4.0
type CreateMRInput struct {
ProjectID int `json:"project_id" jsonschema:"GitLab project ID"`
SourceBranch string `json:"source_branch" jsonschema:"source branch name"`
TargetBranch string `json:"target_branch" jsonschema:"target branch name"`
Title string `json:"title" jsonschema:"merge request title"`
Description string `json:"description,omitempty" jsonschema:"merge request description"`
Draft bool `json:"draft,omitempty" jsonschema:"create as draft MR"`
}
type JobActionInput ¶
type ListBranchesInput ¶ added in v0.4.2
type ListJobsInput ¶
type ListMergeRequestsInput ¶ added in v0.4.0
type ListPipelineCommitsInput ¶ added in v0.4.0
type ListPipelinesInput ¶
type ListPipelinesInput struct {
Project string `json:"project,omitempty" jsonschema:"project path to filter by"`
Status string `json:"status,omitempty" jsonschema:"pipeline status filter (running/pending/success/failed/canceled)"`
Ref string `json:"ref,omitempty" jsonschema:"git ref (branch/tag) to filter by"`
Limit int `json:"limit,omitempty" jsonschema:"max number of pipelines to return"`
}
type ListProjectsInput ¶
type ListProjectsInput struct{}
type SearchProjectsInput ¶
type SearchProjectsInput struct {
Query string `json:"query" jsonschema:"search query for project name or path"`
}
Click to show internal directories.
Click to hide internal directories.