pipeline

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 9 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
	File     string
	Path     string
	Type     string
	Stages   bool
	Template bool
	Output   string
}

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

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

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

ValidateFile verifies 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