Documentation ¶
Overview ¶
Handlers for pod lifecycle events.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandlerRunner ¶
func NewHandlerRunner(httpGetter kubetypes.HttpGetter, commandRunner kubecontainer.ContainerCommandRunner, containerManager podStatusProvider) kubecontainer.HandlerRunner
Types ¶
type FakeHandlerRunner ¶ added in v1.3.0
func NewFakeHandlerRunner ¶ added in v1.3.0
func NewFakeHandlerRunner() *FakeHandlerRunner
func (*FakeHandlerRunner) Reset ¶ added in v1.3.0
func (hr *FakeHandlerRunner) Reset()
func (*FakeHandlerRunner) Run ¶ added in v1.3.0
func (hr *FakeHandlerRunner) Run(containerID kubecontainer.ContainerID, pod *api.Pod, container *api.Container, handler *api.Handler) error
type HandlerRunner ¶
type HandlerRunner struct {
// contains filtered or unexported fields
}
func (*HandlerRunner) Run ¶
func (hr *HandlerRunner) Run(containerID kubecontainer.ContainerID, pod *api.Pod, container *api.Container, handler *api.Handler) error
Click to show internal directories.
Click to hide internal directories.