Back to godoc.org

Package jobspec

v0.7.1
Latest Go to latest

The highest tagged major version is .

Published: Dec 20, 2017 | License: MPL-2.0 | Module: github.com/anuvu/nomad

Index

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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier