testing

package
v1.24.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: Apache-2.0 Imports: 3 Imported by: 1

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) 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