Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addParams (0.07 sec)

  1. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert.go

    		}
    
    		switch {
    		case isValueKind(kind):
    			addParam(result, tag, omitempty, field)
    		case kind == reflect.Array || kind == reflect.Slice:
    			if isValueKind(ft.Elem().Kind()) {
    				addListOfParams(result, tag, omitempty, field)
    			}
    		case isStructKind(kind) && !(zeroValue(field) && omitempty):
    			if marshalValue, ok := customMarshalValue(field); ok {
    				addParam(result, tag, omitempty, marshalValue)
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top