mirror of
https://github.com/FlipsideCrypto/convox.git
synced 2026-02-06 19:07:13 +00:00
25 lines
596 B
Go
25 lines
596 B
Go
package structs
|
|
|
|
type Service struct {
|
|
Count int `json:"count"`
|
|
Cpu int `json:"cpu"`
|
|
Domain string `json:"domain"`
|
|
Memory int `json:"memory"`
|
|
Name string `json:"name"`
|
|
Ports []ServicePort `json:"ports"`
|
|
}
|
|
|
|
type Services []Service
|
|
|
|
type ServicePort struct {
|
|
Balancer int `json:"balancer"`
|
|
Certificate string `json:"certificate"`
|
|
Container int `json:"container"`
|
|
}
|
|
|
|
type ServiceUpdateOptions struct {
|
|
Count *int `flag:"count" param:"count"`
|
|
Cpu *int `flag:"cpu" param:"cpu"`
|
|
Memory *int `flag:"memory" param:"memory"`
|
|
}
|