Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime interface { // GetPodStatus retrieves the status of the pod, including the // information of all containers in the pod that are visible in Runtime. GetPodStatus(uid types.UID, name, namespace string) (*kubeletcontainer.PodStatus, error) // KillContainer kills a container through the following steps: // * Run the pre-stop lifecycle hooks (if applicable). // * Stop the container. KillContainer(pod *v1.Pod, containerID kubeletcontainer.ContainerID, containerName string, message string, gracePeriodOverride *int64) error }
func NewGenericRuntime ¶
func NewGenericRuntime( runtimeName string, runtimeService criapi.RuntimeService, recorder record.EventRecorder, httpClient kubelettypes.HTTPGetter, ) Runtime
Click to show internal directories.
Click to hide internal directories.