Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeProber ¶
type FakeProber struct { }
type Prober ¶
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 ¶
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 ¶
func NewTestProber( exec execprobe.ExecProber, readinessManager *kubecontainer.ReadinessManager, refManager *kubecontainer.RefManager, recorder record.EventRecorder) Prober
New prober for use in tests.
Click to show internal directories.
Click to hide internal directories.