convox/pkg/structs/formation.go
David Dollar 473a4937f3
init
2019-08-16 15:49:19 -04:00

15 lines
386 B
Go

package structs
// ProcessFormation represents the formation for a Process
type ProcessFormation struct {
Count int `json:"count"`
CPU int `json:"cpu"`
Hostname string `json:"hostname"`
Name string `json:"name"`
Memory int `json:"memory"`
Ports []int `json:"ports"`
}
// Formation represents the formation for an App
type Formation []ProcessFormation