Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkPolicyCond (0.18 sec)

  1. cmd/postpolicyform.go

    				condt, reflect.TypeOf(condt).String())
    		}
    	}
    	return parsedPolicy, nil
    }
    
    // checkPolicyCond returns a boolean to indicate if a condition is satisfied according
    // to the passed operator
    func checkPolicyCond(op string, input1, input2 string) bool {
    	switch op {
    	case policyCondEqual:
    		return input1 == input2
    	case policyCondStartsWith:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top