extensions: generated code for paused deployments

This commit is contained in:
Michail Kargakis
2016-01-26 12:39:37 +01:00
parent 436d2677f9
commit 06c0a4718a
5 changed files with 10243 additions and 10143 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -2760,6 +2760,7 @@ func autoConvert_extensions_DeploymentSpec_To_v1beta1_DeploymentSpec(in *extensi
if err := s.Convert(&in.UniqueLabelKey, &out.UniqueLabelKey, 0); err != nil {
return err
}
out.Paused = in.Paused
return nil
}
@@ -3935,6 +3936,7 @@ func autoConvert_v1beta1_DeploymentSpec_To_extensions_DeploymentSpec(in *Deploym
return err
}
// in.UniqueLabelKey has no peer in out
out.Paused = in.Paused
return nil
}

View File

@@ -1196,6 +1196,7 @@ func deepCopy_v1beta1_DeploymentSpec(in DeploymentSpec, out *DeploymentSpec, c *
} else {
out.UniqueLabelKey = nil
}
out.Paused = in.Paused
return nil
}

File diff suppressed because it is too large Load Diff

View File

@@ -175,6 +175,7 @@ var map_DeploymentSpec = map[string]string{
"template": "Template describes the pods that will be created.",
"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.",
"paused": "Indicates that the deployment is paused and will not be processed by the deployment controller.",
}
func (DeploymentSpec) SwaggerDoc() map[string]string {