1
0
mirror of https://github.com/rancher/types.git synced 2025-09-16 06:49:21 +00:00

Update generated code

This commit is contained in:
Darren Shepherd
2020-03-26 15:46:25 -07:00
parent 5e7b91198f
commit 796254da08
3 changed files with 51 additions and 9 deletions

View File

@@ -3,10 +3,10 @@ package client
const (
DaemonSetUpdateStrategyType = "daemonSetUpdateStrategy"
DaemonSetUpdateStrategyFieldRollingUpdate = "rollingUpdate"
DaemonSetUpdateStrategyFieldType = "type"
DaemonSetUpdateStrategyFieldStrategy = "strategy"
)
type DaemonSetUpdateStrategy struct {
RollingUpdate *RollingUpdateDaemonSet `json:"rollingUpdate,omitempty" yaml:"rollingUpdate,omitempty"`
Type string `json:"type,omitempty" yaml:"type,omitempty"`
Strategy string `json:"strategy,omitempty" yaml:"strategy,omitempty"`
}

View File

@@ -3,10 +3,10 @@ package client
const (
DeploymentStrategyType = "deploymentStrategy"
DeploymentStrategyFieldRollingUpdate = "rollingUpdate"
DeploymentStrategyFieldType = "type"
DeploymentStrategyFieldStrategy = "strategy"
)
type DeploymentStrategy struct {
RollingUpdate *RollingUpdateDeployment `json:"rollingUpdate,omitempty" yaml:"rollingUpdate,omitempty"`
Type string `json:"type,omitempty" yaml:"type,omitempty"`
Strategy string `json:"strategy,omitempty" yaml:"strategy,omitempty"`
}