Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/kubelet/server/server_test.go

    	return nil, nil
    }
    
    func (fk *fakeKubelet) ListPodSandboxMetrics(ctx context.Context) ([]*runtimeapi.PodSandboxMetrics, error) {
    	return nil, nil
    }
    
    type fakeRuntime struct {
    	execFunc        func(string, []string, io.Reader, io.WriteCloser, io.WriteCloser, bool, <-chan remotecommand.TerminalSize) error
    	attachFunc      func(string, io.Reader, io.WriteCloser, io.WriteCloser, bool, <-chan remotecommand.TerminalSize) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container.go

    func (m *kubeGenericRuntimeManager) RunInContainer(ctx context.Context, id kubecontainer.ContainerID, cmd []string, timeout time.Duration) ([]byte, error) {
    	stdout, stderr, err := m.runtimeService.ExecSync(ctx, id.ID, cmd, timeout)
    	// NOTE(tallclair): This does not correctly interleave stdout & stderr, but should be sufficient
    	// for logging purposes. A combined output option will need to be added to the ExecSyncRequest
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
Back to top