- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewNullValue (0.45 sec)
-
pkg/test/framework/components/istio/istio.go
// abc[100], Tba_a[0]. var listObjRex = regexp.MustCompile(`^([a-zA-Z]?[a-z_A-Z\d]*)\[([ ]*[\d]+)[ ]*\]$`) func getConfigValue(path []string, val map[string]*structpb.Value) *structpb.Value { retVal := structpb.NewNullValue() if len(path) > 0 { match := listObjRex.FindStringSubmatch(path[0]) // valid list index switch len(match) { case 0: // does not match list object selection, should be name of a field, should be struct value
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Oct 30 17:47:34 UTC 2023 - 8K bytes - Viewed (0)