Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(r io.Reader) (*api.Job, error)

Parse parses the job spec from the given io.Reader.

Due to current internal limitations, the entire contents of the io.Reader will be copied into memory first before parsing.

func ParseFile

func ParseFile(path string) (*api.Job, error)

ParseFile parses the given path as a job spec.

func ParseNetwork

func ParseNetwork(o *ast.ObjectList) (*api.NetworkResource, error)

ParseNetwork parses a collection containing exactly one NetworkResource

Types

This section is empty.