1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 12:48:45 +00:00

go generate

This commit is contained in:
gitlawr
2019-01-25 11:19:54 +08:00
committed by Alena Prokharchyk
parent 917273b016
commit c021df3ec2

View File

@@ -4,8 +4,12 @@ const (
StepType = "step"
StepFieldApplyAppConfig = "applyAppConfig"
StepFieldApplyYamlConfig = "applyYamlConfig"
StepFieldCPULimit = "cpuLimit"
StepFieldCPURequest = "cpuRequest"
StepFieldEnv = "env"
StepFieldEnvFrom = "envFrom"
StepFieldMemoryLimit = "memoryLimit"
StepFieldMemoryRequest = "memoryRequest"
StepFieldPrivileged = "privileged"
StepFieldPublishCatalogConfig = "publishCatalogConfig"
StepFieldPublishImageConfig = "publishImageConfig"
@@ -17,8 +21,12 @@ const (
type Step struct {
ApplyAppConfig *ApplyAppConfig `json:"applyAppConfig,omitempty" yaml:"applyAppConfig,omitempty"`
ApplyYamlConfig *ApplyYamlConfig `json:"applyYamlConfig,omitempty" yaml:"applyYamlConfig,omitempty"`
CPULimit string `json:"cpuLimit,omitempty" yaml:"cpuLimit,omitempty"`
CPURequest string `json:"cpuRequest,omitempty" yaml:"cpuRequest,omitempty"`
Env map[string]string `json:"env,omitempty" yaml:"env,omitempty"`
EnvFrom []EnvFrom `json:"envFrom,omitempty" yaml:"envFrom,omitempty"`
MemoryLimit string `json:"memoryLimit,omitempty" yaml:"memoryLimit,omitempty"`
MemoryRequest string `json:"memoryRequest,omitempty" yaml:"memoryRequest,omitempty"`
Privileged bool `json:"privileged,omitempty" yaml:"privileged,omitempty"`
PublishCatalogConfig *PublishCatalogConfig `json:"publishCatalogConfig,omitempty" yaml:"publishCatalogConfig,omitempty"`
PublishImageConfig *PublishImageConfig `json:"publishImageConfig,omitempty" yaml:"publishImageConfig,omitempty"`