const probeTestInitialDelaySeconds …
const defaultObservationTimeout …
var _ …
var _ …
func waitForPodStatusByInformer(ctx context.Context, c clientset.Interface, podNamespace, podName string, timeout time.Duration, condition func(pod *v1.Pod) (bool, error)) error { … }
func newInformerWatchPod(ctx context.Context, c clientset.Interface, podNamespace, podName string, checkPodStatusFunc func(p *v1.Pod)) cache.Controller { … }
func GetContainerStartedTime(p *v1.Pod, containerName string) (time.Time, error) { … }
func GetTransitionTimeForReadyCondition(p *v1.Pod) (time.Time, error) { … }
func getRestartCount(p *v1.Pod) int { … }
func testWebServerPodSpec(readinessProbe, livenessProbe *v1.Probe, containerName string, port int) *v1.Pod { … }
func busyBoxPodSpec(readinessProbe, livenessProbe *v1.Probe, cmd []string) *v1.Pod { … }
func livenessPodSpec(namespace string, readinessProbe, livenessProbe *v1.Probe) *v1.Pod { … }
func startupPodSpec(startupProbe, readinessProbe, livenessProbe *v1.Probe, cmd []string) *v1.Pod { … }
func execHandler(cmd []string) v1.ProbeHandler { … }
func httpGetHandler(path string, port int) v1.ProbeHandler { … }
func tcpSocketHandler(port int) v1.ProbeHandler { … }
type webserverProbeBuilder …
func (b webserverProbeBuilder) withFailing() webserverProbeBuilder { … }
func (b webserverProbeBuilder) withInitialDelay() webserverProbeBuilder { … }
func (b webserverProbeBuilder) build() *v1.Probe { … }
func RunLivenessTest(ctx context.Context, f *framework.Framework, pod *v1.Pod, expectNumRestarts int, timeout time.Duration) { … }
func RunSidecarLivenessTest(ctx context.Context, f *framework.Framework, pod *v1.Pod, expectNumRestarts int, timeout time.Duration) { … }
func runLivenessTest(ctx context.Context, f *framework.Framework, pod *v1.Pod, expectNumRestarts int, timeout time.Duration, containerName string) { … }
func runReadinessFailTest(ctx context.Context, f *framework.Framework, pod *v1.Pod, notReadyUntil time.Duration, waitForNotPending bool) { … }
func gRPCServerPodSpec(readinessProbe, livenessProbe *v1.Probe, containerName string) *v1.Pod { … }
func testWebServerSidecarPodSpec(readinessProbe, livenessProbe *v1.Probe, containerName string, port int) *v1.Pod { … }
func busyBoxSidecarPodSpec(readinessProbe, livenessProbe *v1.Probe, cmd []string) *v1.Pod { … }
func livenessSidecarPodSpec(namespace string, readinessProbe, livenessProbe *v1.Probe) *v1.Pod { … }
func startupSidecarPodSpec(startupProbe, readinessProbe, livenessProbe *v1.Probe, cmd []string) *v1.Pod { … }
func gRPCServerSidecarPodSpec(readinessProbe, livenessProbe *v1.Probe, containerName string) *v1.Pod { … }