ntp

package
v0.9.1-0...-c5069b5 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func Factory

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

Factory creates a new check factory

Types

type NTPCheck

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

NTPCheck only has sender and config

func (*NTPCheck) Configure

func (c *NTPCheck) Configure(senderManager sender.SenderManager, integrationConfigDigest uint64, data integration.Data, initConfig integration.Data, source string) error

Configure configure the data from the yaml

func (*NTPCheck) Run

func (c *NTPCheck) Run() error

Run runs the check

func (*NTPCheck) String

func (c *NTPCheck) String() string

Jump to

Keyboard shortcuts

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