parser

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultRPCEndpoint = "grpc.cirrus-ci.com:443"
)

Variables

View Source
var (
	ErrRPC = errors.New("RPC error")
)

Functions

This section is empty.

Types

type Parser

type Parser struct {
	// RPCEndpoint specifies an alternative RPC endpoint to use. If empty, DefaultRPCEndpoint is used.
	RPCEndpoint string
}

func (*Parser) Parse

func (p *Parser) Parse(config string) (*Result, error)

func (*Parser) ParseFromFile

func (p *Parser) ParseFromFile(path string) (*Result, error)

type Result

type Result struct {
	Errors []string
	Tasks  []*api.Task
}

Jump to

Keyboard shortcuts

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