kubernetes: github.com/erimatnor/kubernetes/pkg/kubelet/lifecycle Index | Files

package lifecycle

import "github.com/erimatnor/kubernetes/pkg/kubelet/lifecycle"

Handlers for pod lifecycle events.

Index

Package Files

doc.go handlers.go

func NewHandlerRunner Uses

func NewHandlerRunner(httpGetter kubeletTypes.HttpGetter, commandRunner prober.ContainerCommandRunner, containerManager podStatusProvider) kubecontainer.HandlerRunner

TODO(yifan): Merge commandRunner and containerManager once containerManager implements the ContainerCommandRunner interface.

type HandlerRunner Uses

type HandlerRunner struct {
    // contains filtered or unexported fields
}

func (*HandlerRunner) Run Uses

func (hr *HandlerRunner) Run(containerID string, pod *api.Pod, container *api.Container, handler *api.Handler) error

TODO(yifan): Use a strong type for containerID.

Package lifecycle imports 9 packages (graph). Updated 2017-05-11. Refresh now. Tools for package owners.