testing

package
v0.0.0-...-3388463 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeManager

type FakeManager struct{}

FakeManager simulates a prober.Manager for testing.

func (FakeManager) AddPod

func (FakeManager) AddPod(_ *v1.Pod)

AddPod simulates adding a Pod.

func (FakeManager) CleanupPods

func (FakeManager) CleanupPods(_ map[types.UID]sets.Empty)

CleanupPods simulates cleaning up Pods.

func (FakeManager) RemovePod

func (FakeManager) RemovePod(_ *v1.Pod)

RemovePod simulates removing a Pod.

func (FakeManager) Start

func (FakeManager) Start()

Start simulates start syncing the probe status

func (FakeManager) StopLivenessAndStartup

func (FakeManager) StopLivenessAndStartup(_ *v1.Pod)

Simulated stopping liveness and startup probes.

func (FakeManager) UpdatePodStatus

func (FakeManager) UpdatePodStatus(_ types.UID, podStatus *v1.PodStatus)

UpdatePodStatus simulates updating the Pod Status.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL