probing

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(ctx context.Context, packageProbes []corev1alpha1.ObjectSetProbe) (probing.Prober, error)

Parse takes a list of ObjectSetProbes (commonly defined within a ObjectSetPhaseSpec) and compiles a single Prober to test objects with.

func ParseProbes

func ParseProbes(_ context.Context, probeSpecs []corev1alpha1.Probe) (probing.Prober, error)

ParseProbes takes a []corev1alpha1.Probe and compiles it into a Prober.

func ParseSelector

func ParseSelector(_ context.Context, selector corev1alpha1.ProbeSelector, probe probing.Prober) (probing.Prober, error)

ParseSelector reads a corev1alpha1.ProbeSelector and wraps a Prober, only executing the Prober when the selector criteria match.

Types

This section is empty.

Jump to

Keyboard shortcuts

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