manifest

package
v0.0.0-...-144d7dc Latest Latest
Warning

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

Go to latest
Published: Aug 10, 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 {
	BuildpackUrl(string, string)
	Memory(string, int64)
	Service(string, string)
	StartCommand(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