workflow

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParsedWorkflow

type ParsedWorkflow struct {
	Name      string                       `yaml:"name,omitempty"`
	Jobs      map[string]ParsedWorkflowJob `yaml:"jobs"`
	Platforms []string
}

func Parse

func Parse(workflowContent []byte) (*ParsedWorkflow, error)

type ParsedWorkflowJob

type ParsedWorkflowJob struct {
	Name   string              `yaml:"name,omitempty"`
	RunsOn string              `yaml:"runs-on,omitempty"`
	Steps  []ParsedWorklowStep `yaml:"steps,omitempty"`
}

type ParsedWorklowStep

type ParsedWorklowStep struct {
	Uses string `yaml:"uses,omitempty"`
}

Jump to

Keyboard shortcuts

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