manifest

package
v6.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 31, 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(data generic.Map) (m *Manifest, errs ManifestErrors)

Types

type Manifest

type Manifest struct {
	Applications cf.AppSet
}

func NewEmptyManifest

func NewEmptyManifest() (m *Manifest)

type ManifestDiskRepository

type ManifestDiskRepository struct {
}

func (ManifestDiskRepository) ManifestPath

func (repo ManifestDiskRepository) ManifestPath(userSpecifiedPath string) (manifestDir, manifestFilename string, err error)

func (ManifestDiskRepository) ReadManifest

func (repo ManifestDiskRepository) ReadManifest(path string) (m *Manifest, 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(path string) (manifest *Manifest, errs ManifestErrors)
	ManifestPath(userSpecifiedPath string) (manifestDir, manifestFilename string, err error)
}

func NewManifestDiskRepository

func NewManifestDiskRepository() (repo ManifestRepository)

Jump to

Keyboard shortcuts

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