pipeline

package
v0.10.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

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

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

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.

nolint: funlen // ignore function length due to comments

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) 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