github.com/jasonkeene/cli@v6.14.1-0.20160816203908-ca5715166dfb+incompatible/cf/v3/models/models.go (about) 1 package models 2 3 type V3Application struct { 4 Name string `json:"name"` 5 DesiredState string `json:"desired_state"` 6 TotalDesiredInstances int `json:"total_desired_instances"` 7 Links Links `json:"links"` 8 } 9 10 type Links struct { 11 Processes Link `json:"processes"` 12 Routes Link `json:"routes"` 13 } 14 15 type Link struct { 16 Href string `json:"href"` 17 } 18 19 type V3Process struct { 20 Type string `json:"type"` 21 Instances int `json:"instances"` 22 MemoryInMB int64 `json:"memory_in_mb"` 23 DiskInMB int64 `json:"disk_in_mb"` 24 } 25 26 type V3Route struct { 27 Host string `json:"host"` 28 Path string `json:"path"` 29 }