mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
Merge pull request #24921 from feiskyer/merge-exec
Automatic merge from submit-queue Remove RunInContainer interface in Kubelet Runtime interface According to #24689, we should merge RunInContainer and ExecInContainer in the container runtime interface. @yujuhong @kubernetes/sig-node
This commit is contained in:
@@ -115,9 +115,6 @@ type ContainerAttacher interface {
|
||||
|
||||
// CommandRunner encapsulates the command runner interfaces for testability.
|
||||
type ContainerCommandRunner interface {
|
||||
// TODO(vmarmol): Merge RunInContainer and ExecInContainer.
|
||||
// Runs the command in the container of the specified pod.
|
||||
RunInContainer(containerID ContainerID, cmd []string) ([]byte, error)
|
||||
// Runs the command in the container of the specified pod using nsenter.
|
||||
// Attaches the processes stdin, stdout, and stderr. Optionally uses a
|
||||
// tty.
|
||||
|
||||
Reference in New Issue
Block a user