network

package
v0.0.0-...-663520b Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CheckName is the name of the check
	CheckName = "network"
)

Variables

This section is empty.

Functions

func Factory

func Factory() optional.Option[func() check.Check]

Factory creates a new check factory

Types

type NetworkCheck

type NetworkCheck struct {
	core.CheckBase
	// contains filtered or unexported fields
}

NetworkCheck represent a network check

func (*NetworkCheck) Configure

func (c *NetworkCheck) Configure(senderManager sender.SenderManager, _ uint64, rawInstance integration.Data, rawInitConfig integration.Data, source string) error

Configure configures the network checks

func (*NetworkCheck) Run

func (c *NetworkCheck) Run() error

Run executes the check

Jump to

Keyboard shortcuts

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