Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { Name string Comment string // The following two fields are mutually exclusive DockerImages []string Executor string WorkingDirectory string Steps []Step Environment map[string]string }
Job definitions as they appear under config top-level "jobs:" key
type OrbCommandParameters ¶
type Step ¶
type Step struct { Type StepType Comment string Name string // only used for run step Command string // for run steps or orb-defined commands CacheKey string Path string // cache, artifact or test results path Destination string // artifact destination Parameters OrbCommandParameters // for orb-defined steps When WhenType }
Step definitions for Jobs. Go has no sum types, so for now just throw all supported fields under one struct
type Workflow ¶
type Workflow struct { Name string Jobs []WorkflowJob }
type WorkflowJob ¶
WorkflowJob are the references to the jobs that appear in the Workflow definitions For the actual job definitions (that appear under the top-level "jobs:" key) see Job type below
func (WorkflowJob) String ¶
func (wj WorkflowJob) String() string
func (WorkflowJob) YamlNode ¶
func (wj WorkflowJob) YamlNode() *yaml.Node
Click to show internal directories.
Click to hide internal directories.