func autoConvert_v1_RouteIngressCondition_To_api_RouteIngressCondition(in *RouteIngressCondition, out *route_api.RouteIngressCondition, s conversion.Scope) error { out.Type = route_api.RouteIngressConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) out.Reason = in.Reason out.Message = in.Message out.LastTransitionTime = in.LastTransitionTime return nil }
func autoConvert_v1_RouteIngressCondition_To_api_RouteIngressCondition(in *RouteIngressCondition, out *api.RouteIngressCondition, s conversion.Scope) error { out.Type = api.RouteIngressConditionType(in.Type) out.Status = pkg_api.ConditionStatus(in.Status) out.Reason = in.Reason out.Message = in.Message out.LastTransitionTime = (*unversioned.Time)(unsafe.Pointer(in.LastTransitionTime)) return nil }
func autoConvert_v1_JobCondition_To_batch_JobCondition(in *JobCondition, out *batch.JobCondition, s conversion.Scope) error { out.Type = batch.JobConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) out.LastProbeTime = in.LastProbeTime out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil }
func autoConvert_v1beta1_ClusterCondition_To_federation_ClusterCondition(in *ClusterCondition, out *federation.ClusterCondition, s conversion.Scope) error { out.Type = federation.ClusterConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) out.LastProbeTime = in.LastProbeTime out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil }
func autoConvert_v1_TagEventCondition_To_api_TagEventCondition(in *TagEventCondition, out *api.TagEventCondition, s conversion.Scope) error { out.Type = api.TagEventConditionType(in.Type) out.Status = pkg_api.ConditionStatus(in.Status) out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message out.Generation = in.Generation return nil }
func autoConvert_v1_SignatureCondition_To_api_SignatureCondition(in *SignatureCondition, out *api.SignatureCondition, s conversion.Scope) error { out.Type = api.SignatureConditionType(in.Type) out.Status = pkg_api.ConditionStatus(in.Status) out.LastProbeTime = in.LastProbeTime out.LastTransitionTime = in.LastTransitionTime out.Reason = in.Reason out.Message = in.Message return nil }
func autoConvert_v1_DeploymentCondition_To_api_DeploymentCondition(in *DeploymentCondition, out *api.DeploymentCondition, s conversion.Scope) error { out.Type = api.DeploymentConditionType(in.Type) out.Status = pkg_api.ConditionStatus(in.Status) if err := pkg_api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { return err } out.Reason = in.Reason out.Message = in.Message return nil }
func autoConvert_v1_TagEventCondition_To_api_TagEventCondition(in *TagEventCondition, out *image_api.TagEventCondition, s conversion.Scope) error { out.Type = image_api.TagEventConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { return err } out.Reason = in.Reason out.Message = in.Message out.Generation = in.Generation return nil }
func autoConvert_v1alpha1_ClusterCondition_To_federation_ClusterCondition(in *ClusterCondition, out *federation.ClusterCondition, s conversion.Scope) error { out.Type = federation.ClusterConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { return err } if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { return err } out.Reason = in.Reason out.Message = in.Message return nil }
func autoConvert_v1_JobCondition_To_batch_JobCondition(in *JobCondition, out *batch.JobCondition, s conversion.Scope) error { out.Type = batch.JobConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { return err } if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { return err } out.Reason = in.Reason out.Message = in.Message return nil }
func autoConvert_v1_TagEventCondition_To_api_TagEventCondition(in *TagEventCondition, out *image_api.TagEventCondition, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*TagEventCondition))(in) } out.Type = image_api.TagEventConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { return err } out.Reason = in.Reason out.Message = in.Message out.Generation = in.Generation return nil }
func autoConvert_v1_RouteIngressCondition_To_api_RouteIngressCondition(in *RouteIngressCondition, out *route_api.RouteIngressCondition, s conversion.Scope) error { out.Type = route_api.RouteIngressConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) out.Reason = in.Reason out.Message = in.Message if in.LastTransitionTime != nil { in, out := &in.LastTransitionTime, &out.LastTransitionTime *out = new(unversioned.Time) if err := api.Convert_unversioned_Time_To_unversioned_Time(*in, *out, s); err != nil { return err } } else { out.LastTransitionTime = nil } return nil }
func autoConvert_v1alpha1_ClusterCondition_To_federation_ClusterCondition(in *ClusterCondition, out *federation.ClusterCondition, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*ClusterCondition))(in) } out.Type = federation.ClusterConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastProbeTime, &out.LastProbeTime, s); err != nil { return err } if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTransitionTime, &out.LastTransitionTime, s); err != nil { return err } out.Reason = in.Reason out.Message = in.Message return nil }
func autoConvert_v1_RouteIngressCondition_To_api_RouteIngressCondition(in *RouteIngressCondition, out *route_api.RouteIngressCondition, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*RouteIngressCondition))(in) } out.Type = route_api.RouteIngressConditionType(in.Type) out.Status = api.ConditionStatus(in.Status) out.Reason = in.Reason out.Message = in.Message if in.LastTransitionTime != nil { in, out := &in.LastTransitionTime, &out.LastTransitionTime *out = new(unversioned.Time) if err := api.Convert_unversioned_Time_To_unversioned_Time(*in, *out, s); err != nil { return err } } else { out.LastTransitionTime = nil } return nil }