icmp

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 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 added in v0.7.0

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