kubernetes.v0: gopkg.in/kubernetes/kubernetes.v0/pkg/kubelet/prober Index | Files

package prober

import "gopkg.in/kubernetes/kubernetes.v0/pkg/kubelet/prober"

Index

Package Files

prober.go prober_fake.go

type FakeProber Uses

type FakeProber struct {
}

func (*FakeProber) Probe Uses

func (fp *FakeProber) Probe(pod *api.Pod, status api.PodStatus, container api.Container, containerID string, createdAt int64) (probe.Result, error)

type Prober Uses

type Prober interface {
    Probe(pod *api.Pod, status api.PodStatus, container api.Container, containerID string, createdAt int64) (probe.Result, error)
}

Prober checks the healthiness of a container.

func New Uses

func New(
    runner kubecontainer.ContainerCommandRunner,
    readinessManager *kubecontainer.ReadinessManager,
    refManager *kubecontainer.RefManager,
    recorder record.EventRecorder) Prober

NewProber creates a Prober, it takes a command runner and several container info managers.

func NewTestProber Uses

func NewTestProber(
    exec execprobe.ExecProber,
    readinessManager *kubecontainer.ReadinessManager,
    refManager *kubecontainer.RefManager,
    recorder record.EventRecorder) Prober

New prober for use in tests.

Package prober imports 16 packages (graph). Updated 2016-07-25. Refresh now. Tools for package owners.