// Convert_apps_DeploymentConfigRollbackSpec_To_v1_DeploymentConfigRollbackSpec is an autogenerated conversion function.
770520
func Convert_apps_DeploymentConfigRollbackSpec_To_v1_DeploymentConfigRollbackSpec(in *apps.DeploymentConfigRollbackSpec, out *v1.DeploymentConfigRollbackSpec, s conversion.Scope) error {
	return autoConvert_apps_DeploymentConfigRollbackSpec_To_v1_DeploymentConfigRollbackSpec(in, out, s)
}
389062
func Convert_config_BuildDefaultsConfig_To_v1_BuildDefaultsConfig(in *config.BuildDefaultsConfig, out *v1.BuildDefaultsConfig, s conversion.Scope) error {
	return autoConvert_config_BuildDefaultsConfig_To_v1_BuildDefaultsConfig(in, out, s)
}
829534
func (c *deployments) Rollback(deploymentRollback *v1beta1.DeploymentRollback) error {
	return c.client.Post().Namespace(c.ns).Resource("deployments").Name(deploymentRollback.Name).SubResource("rollback").Body(deploymentRollback).Do().Error()
}
394825
func Convert_kops_AddonSpec_To_v1alpha2_AddonSpec(in *kops.AddonSpec, out *AddonSpec, s conversion.Scope) error {
	return autoConvert_kops_AddonSpec_To_v1alpha2_AddonSpec(in, out, s)
}
215047
func getRollbackTo(d *apps.Deployment) *extensions.RollbackConfig {
	// Extract the annotation used for round-tripping the deprecated RollbackTo field.
	revision := d.Annotations[apps.DeprecatedRollbackTo]
	if revision == "" {
		return nil
	}
	revision64, err := strconv.ParseInt(revision, 10, 64)
	if err != nil {
		// If it's invalid, ignore it.
		return nil
	}
	return &extensions.RollbackConfig{
		Revision: revision64,
	}
}
1054865
func Convert_apps_DeploymentConfigList_To_v1_DeploymentConfigList(in *apps.DeploymentConfigList, out *v1.DeploymentConfigList, s conversion.Scope) error {
	return autoConvert_apps_DeploymentConfigList_To_v1_DeploymentConfigList(in, out, s)
}
1076304
func Convert_apps_DeploymentRollback_To_v1beta1_DeploymentRollback(in *apps.DeploymentRollback, out *v1beta1.DeploymentRollback, s conversion.Scope) error {
	return autoConvert_apps_DeploymentRollback_To_v1beta1_DeploymentRollback(in, out, s)
}
92676
func Convert_autoscaling_ScaleSpec_To_v1_ScaleSpec(in *autoscaling.ScaleSpec, out *v1.ScaleSpec, s conversion.Scope) error {
	return autoConvert_autoscaling_ScaleSpec_To_v1_ScaleSpec(in, out, s)
}
1111819
func Convert_apps_DeploymentStatus_To_v1_DeploymentStatus(in *apps.DeploymentStatus, out *v1.DeploymentStatus, s conversion.Scope) error {
	return autoConvert_apps_DeploymentStatus_To_v1_DeploymentStatus(in, out, s)
}
133320
func Convert_v1_DeploymentTriggerPolicy_To_apps_DeploymentTriggerPolicy(in *v1.DeploymentTriggerPolicy, out *apps.DeploymentTriggerPolicy, s conversion.Scope) error {
	return autoConvert_v1_DeploymentTriggerPolicy_To_apps_DeploymentTriggerPolicy(in, out, s)
}
627928
func Convert_v1_DeploymentConfigStatus_To_apps_DeploymentConfigStatus(in *v1.DeploymentConfigStatus, out *apps.DeploymentConfigStatus, s conversion.Scope) error {
	return autoConvert_v1_DeploymentConfigStatus_To_apps_DeploymentConfigStatus(in, out, s)
}
290870
func Convert_apps_DeploymentLogOptions_To_v1_DeploymentLogOptions(in *apps.DeploymentLogOptions, out *v1.DeploymentLogOptions, s conversion.Scope) error {
	return autoConvert_apps_DeploymentLogOptions_To_v1_DeploymentLogOptions(in, out, s)
}
1177357
func Convert_config_AggregatorConfig_To_v1_AggregatorConfig(in *config.AggregatorConfig, out *v1.AggregatorConfig, s conversion.Scope) error {
	return autoConvert_config_AggregatorConfig_To_v1_AggregatorConfig(in, out, s)
}
310923
func Convert_config_PolicyConfig_To_v1_PolicyConfig(in *config.PolicyConfig, out *v1.PolicyConfig, s conversion.Scope) error {
	return autoConvert_config_PolicyConfig_To_v1_PolicyConfig(in, out, s)
}
988630
func Convert_apps_DeploymentConfigRollback_To_v1_DeploymentConfigRollback(in *apps.DeploymentConfigRollback, out *v1.DeploymentConfigRollback, s conversion.Scope) error {
	return autoConvert_apps_DeploymentConfigRollback_To_v1_DeploymentConfigRollback(in, out, s)
}
1003645
func Convert_apps_DeploymentList_To_v1beta1_DeploymentList(in *apps.DeploymentList, out *v1beta1.DeploymentList, s conversion.Scope) error {
	return autoConvert_apps_DeploymentList_To_v1beta1_DeploymentList(in, out, s)
}
760787
func Convert_v1_BuildConfigSpec_To_build_BuildConfigSpec(in *v1.BuildConfigSpec, out *build.BuildConfigSpec, s conversion.Scope) error {
	return autoConvert_v1_BuildConfigSpec_To_build_BuildConfigSpec(in, out, s)
}