parser

package
v0.10.0 Latest Latest
Warning

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

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

README

parser package

Parses provided task file

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseEnv

func ParseEnv(kvpairs []string) (envs []core.Env, err error)

ParseEnv should parse given string slice flags to []core.Env.

func ParseFile

func ParseFile(fpath string) (jobs []*core.Job, err error)

ParseFile ...

func ParseIncludes added in v0.4.0

func ParseIncludes(kvpairs []string) core.Includes

ParseIncludes ...

func ParseRowReader

func ParseRowReader(r *csv.Reader, prefix string) (jobs []*core.Job, err error)

ParseRowReader ...

func ParseSharedData

func ParseSharedData(kvpairs []string) (inputs core.Inputs, err error)

ParseSharedData ...

Types

type Column

type Column struct {
	Type string
	Name string
}

Column ...

func (Column) Bind

func (c Column) Bind(job *core.Job, value string) error

Bind ...

Jump to

Keyboard shortcuts

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