Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkForNilValues (0.17 sec)

  1. tests/fuzz/crd_roundtrip_fuzzer.go

    		legacyproto.NewBuffer(make([]byte, 0, 1024)).DebugPrint("decoded object", data)
    	}
    	return dataString
    }
    
    // checkForNilValues is a helper to check for nil
    // values in the runtime objects.
    // This part only converts the interface to a reflect.Value.
    func checkForNilValues(targetStruct any) error {
    	v := reflect.ValueOf(targetStruct)
    	e := v.Elem()
    	err := checkForNil(e)
    	if err != nil {
    		return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top