Commit 06c0a471 authored by Michail Kargakis's avatar Michail Kargakis

extensions: generated code for paused deployments

parent 436d2677
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -2760,6 +2760,7 @@ func autoConvert_extensions_DeploymentSpec_To_v1beta1_DeploymentSpec(in *extensi ...@@ -2760,6 +2760,7 @@ func autoConvert_extensions_DeploymentSpec_To_v1beta1_DeploymentSpec(in *extensi
if err := s.Convert(&in.UniqueLabelKey, &out.UniqueLabelKey, 0); err != nil { if err := s.Convert(&in.UniqueLabelKey, &out.UniqueLabelKey, 0); err != nil {
return err return err
} }
out.Paused = in.Paused
return nil return nil
} }
...@@ -3935,6 +3936,7 @@ func autoConvert_v1beta1_DeploymentSpec_To_extensions_DeploymentSpec(in *Deploym ...@@ -3935,6 +3936,7 @@ func autoConvert_v1beta1_DeploymentSpec_To_extensions_DeploymentSpec(in *Deploym
return err return err
} }
// in.UniqueLabelKey has no peer in out // in.UniqueLabelKey has no peer in out
out.Paused = in.Paused
return nil return nil
} }
......
...@@ -1196,6 +1196,7 @@ func deepCopy_v1beta1_DeploymentSpec(in DeploymentSpec, out *DeploymentSpec, c * ...@@ -1196,6 +1196,7 @@ func deepCopy_v1beta1_DeploymentSpec(in DeploymentSpec, out *DeploymentSpec, c *
} else { } else {
out.UniqueLabelKey = nil out.UniqueLabelKey = nil
} }
out.Paused = in.Paused
return nil return nil
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -175,6 +175,7 @@ var map_DeploymentSpec = map[string]string{ ...@@ -175,6 +175,7 @@ var map_DeploymentSpec = map[string]string{
"template": "Template describes the pods that will be created.", "template": "Template describes the pods that will be created.",
"strategy": "The deployment strategy to use to replace existing pods with new ones.", "strategy": "The deployment strategy to use to replace existing pods with new ones.",
"uniqueLabelKey": "Key of the selector that is added to existing RCs (and label key that is added to its pods) to prevent the existing RCs to select new pods (and old pods being selected by new RC). Users can set this to an empty string to indicate that the system should not add any selector and label. If unspecified, system uses DefaultDeploymentUniqueLabelKey(\"deployment.kubernetes.io/podTemplateHash\"). Value of this key is hash of DeploymentSpec.PodTemplateSpec. No label is added if this is set to empty string.", "uniqueLabelKey": "Key of the selector that is added to existing RCs (and label key that is added to its pods) to prevent the existing RCs to select new pods (and old pods being selected by new RC). Users can set this to an empty string to indicate that the system should not add any selector and label. If unspecified, system uses DefaultDeploymentUniqueLabelKey(\"deployment.kubernetes.io/podTemplateHash\"). Value of this key is hash of DeploymentSpec.PodTemplateSpec. No label is added if this is set to empty string.",
"paused": "Indicates that the deployment is paused and will not be processed by the deployment controller.",
} }
func (DeploymentSpec) SwaggerDoc() map[string]string { func (DeploymentSpec) SwaggerDoc() map[string]string {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment