Documentation ¶
Overview ¶
Package pipeline provides the defined CLI pipeline actions for Vela.
Usage:
import "github.com/go-vela/cli/action/pipeline"
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) Get(client *vela.Client) 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 TemplateFiles []string Local bool Remote bool Volumes []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
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.
func (*Config) Expand ¶ added in v0.7.0
Expand expands a pipeline based off the provided configuration.
func (*Config) Get ¶ added in v0.14.0
Get captures a list of pipelines based on 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.
Click to show internal directories.
Click to hide internal directories.