probe

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wait

func Wait(ctx context.Context, p Probe) error

Wait until the probe is ready.

Types

type Probe

type Probe interface {
	Check(context.Context) error
	InitialDelay() time.Duration
	Period() time.Duration
}

Probe ...

func NewProbe

func NewProbe(p *config.Probe) Probe

NewProbe creates a new Probe

Jump to

Keyboard shortcuts

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