Documentation ¶
Index ¶
- func ContainerResources(reqCPU, reqMEM, limCPU, limMEM string) *k8s.ResourceRequirements
- func ConvertLabels(labels []string) (*map[string]*string, error)
- func EnvVarStr(k, v string) *k8s.EnvVar
- func MustChartEnvVarsFromStruct(prefix string, defaults interface{}, s interface{}) *[]*k8s.EnvVar
- func Num(value float64) *float64
- func ShortDur(d time.Duration) *string
- func Str(value string) *string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerResources ¶
func ContainerResources(reqCPU, reqMEM, limCPU, limMEM string) *k8s.ResourceRequirements
ContainerResources container resource requirements
func MustChartEnvVarsFromStruct ¶
MustChartEnvVarsFromStruct parses typed configs into manifest env vars
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.