pipeline

package
v3.15.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MigrationEndpoint = "https://m4vrh5pvtd.execute-api.us-east-1.amazonaws.com/production/migrate"

MigrationEndpoint is the API endpoint for pipeline migration It can be overridden at build time using ldflags: -X github.com/buildkite/cli/v3/pkg/cmd/pipeline.MigrationEndpoint=https://example.com/migrate

Functions

func NewCmdPipeline

func NewCmdPipeline(f *factory.Factory) *cobra.Command

func NewCmdPipelineCreate

func NewCmdPipelineCreate(f *factory.Factory) *cobra.Command

func NewCmdPipelineList added in v3.13.0

func NewCmdPipelineList(f *factory.Factory) *cobra.Command

func NewCmdPipelineMigrate added in v3.14.0

func NewCmdPipelineMigrate(f *factory.Factory) *cobra.Command

func NewCmdPipelineValidate added in v3.7.0

func NewCmdPipelineValidate(f *factory.Factory) *cobra.Command

func NewCmdPipelineView

func NewCmdPipelineView(f *factory.Factory) *cobra.Command

Types

type PipelineDryRun added in v3.15.0

type PipelineDryRun struct {
	ID                              string               `json:"id"`
	GraphQLID                       string               `json:"graphql_id"`
	URL                             string               `json:"url"`
	WebURL                          string               `json:"web_url"`
	Name                            string               `json:"name"`
	Description                     string               `json:"description"`
	Slug                            string               `json:"slug"`
	Repository                      string               `json:"repository"`
	ClusterID                       string               `json:"cluster_id"`
	ClusterURL                      string               `json:"cluster_url"`
	BranchConfiguration             string               `json:"branch_configuration"`
	DefaultBranch                   string               `json:"default_branch"`
	SkipQueuedBranchBuilds          bool                 `json:"skip_queued_branch_builds"`
	SkipQueuedBranchBuildsFilter    string               `json:"skip_queued_branch_builds_filter"`
	CancelRunningBranchBuilds       bool                 `json:"cancel_running_branch_builds"`
	CancelRunningBranchBuildsFilter string               `json:"cancel_running_branch_builds_filter"`
	BuildsURL                       string               `json:"builds_url"`
	BadgeURL                        string               `json:"badge_url"`
	CreatedAt                       *buildkite.Timestamp `json:"created_at"`
	Env                             map[string]any       `json:"env"`
	ScheduledBuildsCount            int                  `json:"scheduled_builds_count"`
	RunningBuildsCount              int                  `json:"running_builds_count"`
	ScheduledJobsCount              int                  `json:"scheduled_jobs_count"`
	RunningJobsCount                int                  `json:"running_jobs_count"`
	WaitingJobsCount                int                  `json:"waiting_jobs_count"`
	Visibility                      string               `json:"visibility"`
	Tags                            []string             `json:"tags"`
	Configuration                   string               `json:"configuration"`
	Steps                           []buildkite.Step     `json:"steps"`
	Provider                        buildkite.Provider   `json:"provider"`
	PipelineTemplateUUID            string               `json:"pipeline_template_uuid"`
	AllowRebuilds                   bool                 `json:"allow_rebuilds"`
	Emoji                           *string              `json:"emoji"`
	Color                           *string              `json:"color"`
	CreatedBy                       *buildkite.User      `json:"created_by"`
}

PipelineDryRun is a custom struct for dry-run output that includes all fields without omitempty tags, ensuring empty strings and zero values are included in JSON output

Jump to

Keyboard shortcuts

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