- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetFromStructPath (0.23 sec)
-
operator/pkg/apis/istio/v1alpha1/validation/validation.go
{"meshConfig.defaultConfig.tracing.stackdriver.maxNumberOfMessageEvents", "Istio supported tracers", 0}, } for _, d := range warningSettings { v, f, _ := tpath.GetFromStructPath(iop, d.old) if f { switch t := v.(type) { // need to do conversion for bool value defined in IstioOperator component spec. case *wrappers.BoolValue: v = t.Value } if v != d.def {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 20:02:28 UTC 2024 - 14.9K bytes - Viewed (0) -
operator/pkg/translate/translate.go
} renderedInPath := strings.Replace(inPath, "gressGateways.", "gressGateways."+fmt.Sprint(index)+".", 1) scope.Debugf("Checking for path %s in IstioOperatorSpec", renderedInPath) m, found, err := tpath.GetFromStructPath(iop, renderedInPath) if err != nil { return "", err } if !found { scope.Debugf("path %s not found in IstioOperatorSpec, skip mapping.", renderedInPath) continue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 19:43:09 UTC 2024 - 36.3K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
} var injectedCMValues map[string]any if err := json.Unmarshal([]byte(istioInjectionCM.Data[istioctlutil.ValuesConfigMapKey]), &injectedCMValues); err != nil { return "", err } v, f, err := tpath.GetFromStructPath(injectedCMValues, "global.multiCluster.clusterName") if err != nil { return "", err } vs, ok := v.(string) if !f || !ok {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 25.5K bytes - Viewed (0)