deploy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployment

type Deployment struct {
	Manifest *Manifest
}

func LoadDeployment

func LoadDeployment(manifest []byte) (*Deployment, error)

func LoadDeploymentFromFile

func LoadDeploymentFromFile(file string) (*Deployment, error)

type Manifest

type Manifest struct {
	Modules []*ManifestModule `yaml:"modules"`
}

func ParseManifest

func ParseManifest(data []byte) (*Manifest, error)

func (*Manifest) Validate

func (m *Manifest) Validate() error

type ManifestModule

type ManifestModule struct {
	Name   string `yaml:"name"`
	File   string `yaml:"file"`
	Binary bool   `yaml:"binary"`
}

Jump to

Keyboard shortcuts

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