prober

package
v0.29.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, p Prober, target string, registry *prometheus.Registry, logger logger.Logger) (bool, float64)

Types

type Prober

type Prober interface {
	Name() string
	Probe(ctx context.Context, target string, registry *prometheus.Registry, logger logger.Logger) (bool, float64)
}

type ProberFactory added in v0.16.0

type ProberFactory interface {
	New(ctx context.Context, logger zerolog.Logger, check model.Check) (Prober, string, error)
}

func NewProberFactory added in v0.16.0

func NewProberFactory(runner k6runner.Runner, probeId int64, features feature.Collection) ProberFactory

Directories

Path Synopsis
dns
nolint
nolint

Jump to

Keyboard shortcuts

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