- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Convert_v1beta2_ScaleStatus_To_autoscaling_ScaleStatus (0.32 sec)
-
pkg/apis/apps/v1beta2/conversion.go
if err != nil { return fmt.Errorf("failed to parse selector: %v", err) } if len(selector.MatchExpressions) == 0 { out.Selector = selector.MatchLabels } return nil } func Convert_v1beta2_ScaleStatus_To_autoscaling_ScaleStatus(in *appsv1beta2.ScaleStatus, out *autoscaling.ScaleStatus, s conversion.Scope) error { out.Replicas = in.Replicas // Normally when 2 fields map to the same internal value we favor the old field, since
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 23:36:24 UTC 2022 - 8.3K bytes - Viewed (0) -
pkg/apis/apps/v1beta2/zz_generated.conversion.go
}); err != nil { return err } if err := s.AddConversionFunc((*v1beta2.ScaleStatus)(nil), (*autoscaling.ScaleStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1beta2_ScaleStatus_To_autoscaling_ScaleStatus(a.(*v1beta2.ScaleStatus), b.(*autoscaling.ScaleStatus), scope) }); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 15:48:09 UTC 2022 - 74.2K bytes - Viewed (0)