Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewNullValue (0.09 sec)

  1. 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)
Back to top