Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RunInContainer (0.33 sec)

  1. pkg/kubelet/container/runtime.go

    }
    
    // CommandRunner interface allows to run command in a container.
    type CommandRunner interface {
    	// RunInContainer synchronously executes the command in the container, and returns the output.
    	// If the command completes with a non-0 exit code, a k8s.io/utils/exec.ExitError will be returned.
    	RunInContainer(ctx context.Context, id ContainerID, cmd []string, timeout time.Duration) ([]byte, error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top