manifest

package
v6.29.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	BuildpackName string
	Command       string
	// DiskQuota is the disk size in megabytes.
	DiskQuota   uint64
	DockerImage string
	// EnvironmentVariables can be any valid json type (ie, strings not
	// guaranteed, although CLI only ships strings).
	EnvironmentVariables    map[string]string
	HealthCheckHTTPEndpoint string
	// HealthCheckType attribute defines the number of seconds that is allocated
	// for starting an application.
	HealthCheckTimeout int
	HealthCheckType    string
	Instances          int
	// Memory is the amount of memory in megabytes.
	Memory    uint64
	Name      string
	Path      string
	Services  []string
	StackName string
}

func ReadAndMergeManifests

func ReadAndMergeManifests(pathToManifest string) ([]Application, error)

func (Application) String

func (app Application) String() string

func (*Application) UnmarshalYAML

func (app *Application) UnmarshalYAML(unmarshaller func(interface{}) error) error

type Manifest

type Manifest struct {
	Applications []Application `yaml:"applications"`
}

Jump to

Keyboard shortcuts

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