Documentation ¶
Overview ¶
nolint: dupl // ignore similar code among actions
Package pipeline provides the defined CLI pipeline actions for Vela.
Usage:
import "github.com/go-vela/cli/action/pipeline"
nolint: dupl // ignore similar code among actions
nolint: dupl // ignore similar code among actions
Index ¶
- type Config
- func (c *Config) Compile(client *vela.Client) error
- func (c *Config) Exec(client compiler.Engine) error
- func (c *Config) Expand(client *vela.Client) error
- func (c *Config) Generate() error
- func (c *Config) Validate() error
- func (c *Config) ValidateLocal(client compiler.Engine) error
- func (c *Config) ValidateRemote(client *vela.Client) error
- func (c *Config) View(client *vela.Client) error
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 Path string Type string Stages bool Template bool Local bool Volumes []string Output string PipelineType string }
Config represents the configuration necessary to perform pipeline related requests with Vela.
func (*Config) Compile ¶ added in v0.7.0
Compile compiles a pipeline based off the provided configuration.
func (*Config) Exec ¶ added in v0.7.0
Exec executes a pipeline based off the provided configuration.
nolint: funlen // ignore function length due to comments
func (*Config) Expand ¶ added in v0.7.0
Expand expands a pipeline based off the provided configuration.
func (*Config) ValidateLocal ¶ added in v0.7.0
ValidateLocal verifies a local pipeline based off the provided configuration.
func (*Config) ValidateRemote ¶ added in v0.7.0
ValidateRemote validates a remote pipeline based off the provided configuration.