net

package
v0.0.0-...-dca2ff9 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package net provides core checks for networking

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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(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

type NetworkCheck

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

NetworkCheck represent a network check

func (*NetworkCheck) Configure

func (c *NetworkCheck) Configure(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