Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for execFunc (0.1 sec)

  1. pkg/kubelet/kuberuntime/instrumented_services.go

    	recordError(operation, err)
    	return err
    }
    
    func (in instrumentedRuntimeService) ExecSync(ctx context.Context, containerID string, cmd []string, timeout time.Duration) ([]byte, []byte, error) {
    	const operation = "exec_sync"
    	defer recordOperation(operation, time.Now())
    
    	stdout, stderr, err := in.service.ExecSync(ctx, containerID, cmd, timeout)
    	recordError(operation, err)
    	return stdout, stderr, err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. src/text/template/funcs.go

    func findFunction(name string, tmpl *Template) (v reflect.Value, isBuiltin, ok bool) {
    	if tmpl != nil && tmpl.common != nil {
    		tmpl.muFuncs.RLock()
    		defer tmpl.muFuncs.RUnlock()
    		if fn := tmpl.execFuncs[name]; fn.IsValid() {
    			return fn, false, true
    		}
    	}
    	if fn := builtinFuncs()[name]; fn.IsValid() {
    		return fn, true, true
    	}
    	return reflect.Value{}, false, false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top