manifest

package
v6.16.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2016 License: Apache-2.0 Imports: 16 Imported by: 164

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)
	DiskQuota(string, int64)
	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)
	Stack(string, 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() ([]models.AppParams, 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