project

package
v0.0.0-...-f05ad83 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	Name     string
	Image    string
	Binaries *binaries
}

Project represents a project

func Load

func Load(dir string) (*Project, error)

Load will load a project from a given directory

func New

func New(name string) *Project

New will create a new project in the given directory.

func Parse

func Parse(r io.Reader) (*Project, error)

Parse parses a manifest.

func (*Project) Save

func (p *Project) Save(path string) error

Save serializes the project data on disk

func (*Project) Validate

func (p *Project) Validate() error

Validate runs sanity checks against the project

Jump to

Keyboard shortcuts

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