Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tryToUnmarshalStringToYAML (0.3 sec)

  1. operator/pkg/tpath/tree.go

    	if vv.Kind() == reflect.Interface {
    		vv = vv.Elem()
    	}
    	return vv.Kind() == reflect.Map
    }
    
    // tryToUnmarshalStringToYAML tries to unmarshal something that may be a YAML list or map into a structure. If not
    // possible, returns original scalar value.
    func tryToUnmarshalStringToYAML(s any) (any, bool) {
    	// If value type is a string it could either be a literal string or a map type passed as a string. Try to unmarshal
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 17.5K bytes
    - Viewed (0)
Back to top