MCPcopy Index your code
hub / github.com/cloudfoundry/cli / ApplicationFromSummary

Struct ApplicationFromSummary

cf/api/app_summary.go:24–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24type ApplicationFromSummary struct {
25 GUID string
26 Name string
27 Routes []RouteSummary
28 Services []ServicePlanSummary
29 RunningInstances int `json:"running_instances"`
30 Memory int64
31 Instances int
32 DiskQuota int64 `json:"disk_quota"`
33 URLs []string
34 EnvironmentVars map[string]interface{} `json:"environment_json,omitempty"`
35 HealthCheckTimeout int `json:"health_check_timeout"`
36 HealthCheckType string `json:"health_check_type"`
37 HealthCheckHTTPEndpoint string `json:"health_check_http_endpoint"`
38 State string
39 DetectedStartCommand string `json:"detected_start_command"`
40 SpaceGUID string `json:"space_guid"`
41 StackGUID string `json:"stack_guid"`
42 Command string `json:"command"`
43 PackageState string `json:"package_state"`
44 PackageUpdatedAt *time.Time `json:"package_updated_at"`
45 Buildpack string
46}
47
48func (resource ApplicationFromSummary) ToFields() (app models.ApplicationFields) {
49 app = models.ApplicationFields{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected