mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Use kubecontainer.Pod instead of api.Pod in KillPod.
We don't need the full api.Pod and the uses today use kubecontainer.Pod.
This commit is contained in:
parent
83093af8b0
commit
1d6913779b
@ -47,7 +47,7 @@ type Runtime interface {
|
|||||||
// RunPod starts all the containers of a pod within a namespace.
|
// RunPod starts all the containers of a pod within a namespace.
|
||||||
RunPod(*api.Pod, map[string]volume.Volume) error
|
RunPod(*api.Pod, map[string]volume.Volume) error
|
||||||
// KillPod kills all the containers of a pod.
|
// KillPod kills all the containers of a pod.
|
||||||
KillPod(*api.Pod) error
|
KillPod(pod Pod) error
|
||||||
// RunContainerInPod starts a container within the same namespace of a pod.
|
// RunContainerInPod starts a container within the same namespace of a pod.
|
||||||
RunContainerInPod(api.Container, *api.Pod, map[string]volume.Volume) error
|
RunContainerInPod(api.Container, *api.Pod, map[string]volume.Volume) error
|
||||||
// KillContainerInPod kills a container in the pod.
|
// KillContainerInPod kills a container in the pod.
|
||||||
|
Loading…
Reference in New Issue
Block a user