mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Merge pull request #7568 from yujuhong/rm_getcontainers
Remove GetContainers from Runtime interface
This commit is contained in:
commit
015c0656a6
@ -55,10 +55,6 @@ type Runtime interface {
|
||||
// GetPodStatus retrieves the status of the pod, including the information of
|
||||
// all containers in the pod.
|
||||
GetPodStatus(*api.Pod) (api.PodStatus, error)
|
||||
// GetContainers returns all containers on the node, including those are
|
||||
// not managed by kubelet. If 'all' is false, then only running containers
|
||||
// are returned.
|
||||
GetContainers(all bool) ([]*Container, error)
|
||||
// TODO(vmarmol): Merge RunInContainer and ExecInContainer.
|
||||
// Runs the command in the container of the specified pod using nsinit.
|
||||
// TODO(yifan): Use strong type for containerID.
|
||||
|
Loading…
Reference in New Issue
Block a user