chrony

package
v0.58.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: GPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chrony

type Chrony struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

func New

func New() *Chrony

func (*Chrony) Charts

func (c *Chrony) Charts() *module.Charts

func (*Chrony) Check

func (c *Chrony) Check() bool

func (*Chrony) Cleanup

func (c *Chrony) Cleanup()

func (*Chrony) Collect

func (c *Chrony) Collect() map[string]int64

func (*Chrony) Init

func (c *Chrony) Init() bool

type Config

type Config struct {
	Address string       `yaml:"address"`
	Timeout web.Duration `yaml:"timeout"`
}

Jump to

Keyboard shortcuts

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