manifest

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Greater

func Greater(v1, v2 string) (bool, error)

Greater return true when v1 is greater than v2

Types

type Component

type Component struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

Component represent apps that are part of voxbox

type Manitest

type Manitest struct {
	Version    string       `json:"version"`
	Components []*Component `json:"components"`
	CreatedAt  time.Time    `json:"created_at"`
	UpdatedAt  time.Time    `json:"updated_at"`
	Error      struct {
		Version string `json:"version"`
		Message string `json:"message"`
	} `json:"error"`
}

Manitest defines the components installed with the voxbox playbook.

func LoadFromPlaybook

func LoadFromPlaybook(playbookPath string) (*Manitest, error)

LoadFromPlaybook loads the manifest by traversing the playbook

Jump to

Keyboard shortcuts

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