pipeline

package
v0.23.3 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package pipeline provides the defined CLI pipeline actions for Vela.

Usage:

import "github.com/go-vela/cli/action/pipeline"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Action           string
	Branch           string
	Comment          string
	Event            string
	Tag              string
	Target           string
	Org              string
	Repo             string
	Ref              string
	File             string
	FileChangeset    []string
	Path             string
	Type             string
	Stages           bool
	TemplateFiles    []string
	Local            bool
	Remote           bool
	Volumes          []string
	PrivilegedImages []string
	Page             int
	PerPage          int
	Output           string
	PipelineType     string
}

Config represents the configuration necessary to perform pipeline related requests with Vela.

func (*Config) Compile added in v0.7.0

func (c *Config) Compile(client *vela.Client) error

Compile compiles a pipeline based off the provided configuration.

func (*Config) Exec added in v0.7.0

func (c *Config) Exec(client compiler.Engine) error

Exec executes a pipeline based off the provided configuration.

func (*Config) Expand added in v0.7.0

func (c *Config) Expand(client *vela.Client) error

Expand expands a pipeline based off the provided configuration.

func (*Config) Generate

func (c *Config) Generate() error

Generate produces a pipeline based off the provided configuration.

func (*Config) Get added in v0.14.0

func (c *Config) Get(client *vela.Client) error

Get captures a list of pipelines based on the provided configuration.

func (*Config) Validate

func (c *Config) Validate() error

Validate verifies the configuration provided.

func (*Config) ValidateLocal added in v0.7.0

func (c *Config) ValidateLocal(client compiler.Engine) error

ValidateLocal verifies a local pipeline based off the provided configuration.

func (*Config) ValidateRemote added in v0.7.0

func (c *Config) ValidateRemote(client *vela.Client) error

ValidateRemote validates a remote pipeline based off the provided configuration.

func (*Config) View added in v0.7.0

func (c *Config) View(client *vela.Client) error

View inspects a pipeline based off the provided configuration.

Jump to

Keyboard shortcuts

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