github.com/cloudfoundry-attic/cli-with-i18n@v6.32.1-0.20171002233121-7401370d3b85+incompatible/util/manifest/raw_manifest_application.go (about)

     1  package manifest
     2  
     3  type rawManifestApplication struct {
     4  	Name                    string             `yaml:"name,omitempty"`
     5  	Buildpack               string             `yaml:"buildpack,omitempty"`
     6  	Command                 string             `yaml:"command,omitempty"`
     7  	DiskQuota               string             `yaml:"disk_quota,omitempty"`
     8  	Docker                  rawDockerInfo      `yaml:"docker,omitempty"`
     9  	EnvironmentVariables    map[string]string  `yaml:"env,omitempty"`
    10  	HealthCheckHTTPEndpoint string             `yaml:"health-check-http-endpoint,omitempty"`
    11  	HealthCheckType         string             `yaml:"health-check-type,omitempty"`
    12  	Instances               *int               `yaml:"instances,omitempty"`
    13  	Memory                  string             `yaml:"memory,omitempty"`
    14  	NoRoute                 bool               `yaml:"no-route,omitempty"`
    15  	Path                    string             `yaml:"path,omitempty"`
    16  	Routes                  []rawManifestRoute `yaml:"routes,omitempty"`
    17  	Services                []string           `yaml:"services,omitempty"`
    18  	StackName               string             `yaml:"stack,omitempty"`
    19  	Timeout                 int                `yaml:"timeout,omitempty"`
    20  }
    21  
    22  type rawManifestRoute struct {
    23  	Route string `yaml:"route"`
    24  }
    25  
    26  type rawDockerInfo struct {
    27  	Image    string `yaml:"image,omitempty"`
    28  	Username string `yaml:"username,omitempty"`
    29  }