const testContainerName … const testPodUID … var testContainerID … func getTestRunningStatus() v1.PodStatus { … } func getTestRunningStatusWithStarted(started bool) v1.PodStatus { … } func getTestPod() *v1.Pod { … } func setTestProbe(pod *v1.Pod, probeType probeType, probeSpec v1.Probe) { … } func newTestManager() *manager { … } func newTestWorker(m *manager, probeType probeType, probeSpec v1.Probe) *worker { … } type fakeExecProber … func (p fakeExecProber) Probe(c exec.Cmd) (probe.Result, string, error) { … } type syncExecProber … func (p *syncExecProber) set(result probe.Result, err error) { … } func (p *syncExecProber) Probe(cmd exec.Cmd) (probe.Result, string, error) { … }