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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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