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 ¶
func NewFakeHandlerRunner ¶
func NewFakeHandlerRunner() *FakeHandlerRunner
func (*FakeHandlerRunner) Reset ¶
func (hr *FakeHandlerRunner) Reset()
func (*FakeHandlerRunner) Run ¶
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.