const maxProbeRetries …
type prober …
func newProber(
runner kubecontainer.CommandRunner,
recorder record.EventRecorder) *prober { … }
func (pb *prober) recordContainerEvent(pod *v1.Pod, container *v1.Container, eventType, reason, message string, args ...interface{ … }
func (pb *prober) probe(ctx context.Context, probeType probeType, pod *v1.Pod, status v1.PodStatus, container v1.Container, containerID kubecontainer.ContainerID) (results.Result, error) { … }
func (pb *prober) runProbeWithRetries(ctx context.Context, probeType probeType, p *v1.Probe, pod *v1.Pod, status v1.PodStatus, container v1.Container, containerID kubecontainer.ContainerID, retries int) (probe.Result, string, error) { … }
func (pb *prober) runProbe(ctx context.Context, probeType probeType, p *v1.Probe, pod *v1.Pod, status v1.PodStatus, container v1.Container, containerID kubecontainer.ContainerID) (probe.Result, string, error) { … }
type execInContainer …
func (pb *prober) newExecInContainer(ctx context.Context, container v1.Container, containerID kubecontainer.ContainerID, cmd []string, timeout time.Duration) exec.Cmd { … }
func (eic *execInContainer) Run() error { … }
func (eic *execInContainer) CombinedOutput() ([]byte, error) { … }
func (eic *execInContainer) Output() ([]byte, error) { … }
func (eic *execInContainer) SetDir(dir string) { … }
func (eic *execInContainer) SetStdin(in io.Reader) { … }
func (eic *execInContainer) SetStdout(out io.Writer) { … }
func (eic *execInContainer) SetStderr(out io.Writer) { … }
func (eic *execInContainer) SetEnv(env []string) { … }
func (eic *execInContainer) Stop() { … }
func (eic *execInContainer) Start() error { … }
func (eic *execInContainer) Wait() error { … }
func (eic *execInContainer) StdoutPipe() (io.ReadCloser, error) { … }
func (eic *execInContainer) StderrPipe() (io.ReadCloser, error) { … }