pipeline

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(reg *registry.Registry, client *gitlab.Client)

Register はパイプライン関連ツールを登録する

Types

type GetJobsInput

type GetJobsInput struct {
	ProjectID  string `json:"project_id" jsonschema:"description:Project ID or URL-encoded path"`
	PipelineID int    `json:"pipeline_id" jsonschema:"description:Pipeline ID"`
	Page       int    `json:"page,omitempty" jsonschema:"description:Page number (default: 1)"`
	PerPage    int    `json:"per_page,omitempty" jsonschema:"description:Number of items per page (default: 100, max: 100)"`
}

GetJobsInput は get_pipeline_jobs の入力パラメータ

type GetJobsOutput

type GetJobsOutput struct {
	Jobs []JobInfo `json:"jobs"`
}

GetJobsOutput は get_pipeline_jobs の出力

type JobInfo

type JobInfo struct {
	ID     int64  `json:"id"`
	Name   string `json:"name"`
	Stage  string `json:"stage"`
	Status string `json:"status"`
}

JobInfo はジョブ情報

type ListPipelinesInput

type ListPipelinesInput struct {
	ProjectID       string `json:"project_id" jsonschema:"description:Project ID or URL-encoded path"`
	MergeRequestIID int    `json:"merge_request_iid" jsonschema:"description:Merge Request IID"`
}

ListPipelinesInput は list_merge_request_pipelines の入力パラメータ

type ListPipelinesOutput

type ListPipelinesOutput struct {
	Pipelines []PipelineInfo `json:"pipelines"`
}

ListPipelinesOutput は list_merge_request_pipelines の出力

type PipelineInfo

type PipelineInfo struct {
	ID        int64  `json:"id"`
	Status    string `json:"status"`
	Ref       string `json:"ref"`
	SHA       string `json:"sha"`
	WebURL    string `json:"web_url"`
	CreatedAt string `json:"created_at,omitempty"`
}

PipelineInfo はパイプライン情報

Jump to

Keyboard shortcuts

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