manifest

package
v6.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2014 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManifest

func NewManifest(basePath string, data generic.Map) (m *Manifest, errs ManifestErrors)

Types

type Manifest

type Manifest struct {
	Applications []models.AppParams
}

func NewEmptyManifest

func NewEmptyManifest() (m *Manifest)

type ManifestDiskRepository

type ManifestDiskRepository struct{}

func (ManifestDiskRepository) ReadManifest

func (repo ManifestDiskRepository) ReadManifest(inputPath string) (m *Manifest, manifestPath string, errs ManifestErrors)

type ManifestErrors

type ManifestErrors []error

func (ManifestErrors) Empty

func (errs ManifestErrors) Empty() bool

func (ManifestErrors) Error

func (errs ManifestErrors) Error() (errorMessage string)

func (ManifestErrors) String

func (errs ManifestErrors) String() string

type ManifestRepository

type ManifestRepository interface {
	ReadManifest(string) (manifest *Manifest, path string, errors ManifestErrors)
}

func NewManifestDiskRepository

func NewManifestDiskRepository() (repo ManifestRepository)

Jump to

Keyboard shortcuts

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