buildyaml

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildYaml

type BuildYaml struct {
	Name  string `yaml:"name"`
	Kind  string `yaml:"kind"`
	Tasks []Task `yaml:"tasks"`
}

type BuildYamlSvc

type BuildYamlSvc struct {
	YamlFile string
}

func NewBuildYamlSvc

func NewBuildYamlSvc() *BuildYamlSvc

func (*BuildYamlSvc) Parse

func (b *BuildYamlSvc) Parse() (*BuildYaml, error)

func (*BuildYamlSvc) SetYamlFile

func (b *BuildYamlSvc) SetYamlFile(yamlFileName string) *BuildYamlSvc

type Task

type Task struct {
	Name    string   `yaml:"name"`
	Command []string `yaml:"command"`
	Timeout string   `yaml:"timeout"`
}

Jump to

Keyboard shortcuts

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