Merge pull request #7568 from yujuhong/rm_getcontainers

Remove GetContainers from Runtime interface
This commit is contained in:
CJ Cullen 2015-04-30 12:01:58 -07:00
commit 015c0656a6

View File

@ -55,10 +55,6 @@ type Runtime interface {
// GetPodStatus retrieves the status of the pod, including the information of // GetPodStatus retrieves the status of the pod, including the information of
// all containers in the pod. // all containers in the pod.
GetPodStatus(*api.Pod) (api.PodStatus, error) 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. // TODO(vmarmol): Merge RunInContainer and ExecInContainer.
// Runs the command in the container of the specified pod using nsinit. // Runs the command in the container of the specified pod using nsinit.
// TODO(yifan): Use strong type for containerID. // TODO(yifan): Use strong type for containerID.