icmp

package
v0.0.0-...-05b72f9 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	Prober      string
	Timeout     time.Duration
	PacketCount int64
	ICMP        config.ICMPProbe
	Privileged  bool
}

type Prober

type Prober struct {
	// contains filtered or unexported fields
}

func NewProber

func NewProber(check sm.Check) (Prober, error)

func (Prober) Name

func (p Prober) Name() string

func (Prober) Probe

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

Jump to

Keyboard shortcuts

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