- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for deepCopyStringMap (0.21 sec)
-
pkg/apis/autoscaling/helpers.go
if hasMetricsSpecs || hasBehaviorSpecs || hasMetricsStatuses || hasConditions { out = DeepCopyStringMap(in) delete(out, MetricSpecsAnnotation) delete(out, BehaviorSpecsAnnotation) delete(out, MetricStatusesAnnotation) delete(out, HorizontalPodAutoscalerConditionsAnnotation) return out, true } return in, false } // DeepCopyStringMap returns a copy of the input map. // If input is nil, an empty map is returned.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 2.2K bytes - Viewed (0) -
pkg/apis/apps/v1/conversion.go
return err } else { out.Spec.TemplateGeneration = value64 out.Annotations = deepCopyStringMap(out.Annotations) delete(out.Annotations, appsv1.DeprecatedTemplateGeneration) } } return nil } func deepCopyStringMap(m map[string]string) map[string]string { ret := make(map[string]string, len(m)) for k, v := range m { ret[k] = v } return ret
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 23:36:24 UTC 2022 - 6.2K bytes - Viewed (0) -
pkg/apis/apps/v1beta2/conversion.go
return err } else { out.Spec.TemplateGeneration = value64 out.Annotations = deepCopyStringMap(out.Annotations) delete(out.Annotations, appsv1beta2.DeprecatedTemplateGeneration) } } return nil } func deepCopyStringMap(m map[string]string) map[string]string { ret := make(map[string]string, len(m)) for k, v := range m { ret[k] = v }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 23:36:24 UTC 2022 - 8.3K bytes - Viewed (0)