github.com/thanhphan1147/cloudfoundry-cli@v7.1.0+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  	Buildpacks              []string           `yaml:"buildpacks,omitempty"`
     7  	Command                 string             `yaml:"command,omitempty"`
     8  	DeprecatedDomain        interface{}        `yaml:"domain,omitempty"`
     9  	DeprecatedDomains       interface{}        `yaml:"domains,omitempty"`
    10  	DeprecatedHost          interface{}        `yaml:"host,omitempty"`
    11  	DeprecatedHosts         interface{}        `yaml:"hosts,omitempty"`
    12  	DeprecatedNoHostname    interface{}        `yaml:"no-hostname,omitempty"`
    13  	DiskQuota               string             `yaml:"disk_quota,omitempty"`
    14  	Docker                  rawDockerInfo      `yaml:"docker,omitempty"`
    15  	DropletPath             string             `yaml:"droplet-path,omitempty"`
    16  	EnvironmentVariables    map[string]string  `yaml:"env,omitempty"`
    17  	HealthCheckHTTPEndpoint string             `yaml:"health-check-http-endpoint,omitempty"`
    18  	HealthCheckType         string             `yaml:"health-check-type,omitempty"`
    19  	Instances               *int               `yaml:"instances,omitempty"`
    20  	Memory                  string             `yaml:"memory,omitempty"`
    21  	NoRoute                 bool               `yaml:"no-route,omitempty"`
    22  	Path                    string             `yaml:"path,omitempty"`
    23  	RandomRoute             bool               `yaml:"random-route,omitempty"`
    24  	Routes                  []rawManifestRoute `yaml:"routes,omitempty"`
    25  	Services                []string           `yaml:"services,omitempty"`
    26  	StackName               string             `yaml:"stack,omitempty"`
    27  	Timeout                 uint64             `yaml:"timeout,omitempty"`
    28  }
    29  
    30  type rawManifestRoute struct {
    31  	Route string `yaml:"route"`
    32  }
    33  
    34  type rawDockerInfo struct {
    35  	Image    string `yaml:"image,omitempty"`
    36  	Username string `yaml:"username,omitempty"`
    37  }