Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsValueNil (0.39 sec)

  1. operator/pkg/translate/translate.go

    func (t *Translator) ProtoToHelmValues(node any, root map[string]any, path util.Path) (errs util.Errors) {
    	scope.Debugf("ProtoToHelmValues with path %s, %v (%T)", path, node, node)
    	if util.IsValueNil(node) {
    		return nil
    	}
    
    	vv := reflect.ValueOf(node)
    	vt := reflect.TypeOf(node)
    	switch vt.Kind() {
    	case reflect.Ptr:
    		if !util.IsNilOrInvalidValue(vv.Elem()) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top