pipelinefile

package
v0.0.0-...-9a8ef1a Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2018 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Definition

type Definition struct {
	Stages    []Stage `json:"pipeline"`
	Artifacts string  `json:"artifacts,omitempty"`
}

func Parse

func Parse(file []byte) (*Definition, error)

func (*Definition) StageString

func (b *Definition) StageString() string

type Stage

type Stage struct {
	Name  string   `json:"stage"`
	Image string   `json:"image,omitempty"`
	Steps []string `json:"steps"`
}

Jump to

Keyboard shortcuts

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