mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
27 lines
515 B
Go
27 lines
515 B
Go
package v1beta3
|
|
|
|
type DevProperties struct {
|
|
// +optional
|
|
Debug bool `json:"debug"`
|
|
// +optional
|
|
Dev bool `json:"dev"`
|
|
}
|
|
|
|
type Resource struct {
|
|
Cpu string `json:"cpu,omitempty"`
|
|
Memory string `json:"memory,omitempty"`
|
|
}
|
|
|
|
type ResourceProperties struct {
|
|
// +optional
|
|
Request *Resource `json:"request,omitempty"`
|
|
// +optional
|
|
Limits *Resource `json:"limits,omitempty"`
|
|
}
|
|
|
|
type CommonServiceProperties struct {
|
|
DevProperties `json:",inline"`
|
|
// +optional
|
|
Disabled *bool `json:"disabled,omitempty"`
|
|
}
|