manifest

package
v6.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2015 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppManifest

type AppManifest interface {
	Memory(string, int64)
	Service(string, string)
	StartupCommand(string, string)
	EnvironmentVars(string, string, string)
	HealthCheckTimeout(string, int)
	Instances(string, int)
	Domain(string, string, string)
	GetContents() []models.Application
	FileSavePath(string)
	Save() error
}

func NewGenerator

func NewGenerator() AppManifest

type Manifest

type Manifest struct {
	Path string
	Data generic.Map
}

func NewEmptyManifest

func NewEmptyManifest() (m *Manifest)

func (Manifest) Applications

func (m Manifest) Applications() (apps []models.AppParams, err error)

type ManifestDiskRepository

type ManifestDiskRepository struct{}

func (ManifestDiskRepository) ReadManifest

func (repo ManifestDiskRepository) ReadManifest(inputPath string) (*Manifest, error)

type ManifestRepository

type ManifestRepository interface {
	ReadManifest(string) (*Manifest, error)
}

func NewManifestDiskRepository

func NewManifestDiskRepository() (repo ManifestRepository)

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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