checks

package
v0.0.0-...-bc8dc58 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunChecks

func RunChecks(checks []Checker, ww io.Writer) error

func RunPreChecks

func RunPreChecks() error

Types

type Checker

type Checker interface {
	Check() (warnings, errorList []error)
	Name() string
}

type DnsCheck

type DnsCheck struct {
}

gateway verifies the node gateway.

func (DnsCheck) Check

func (dns DnsCheck) Check() (warnings, errorList []error)

func (DnsCheck) Name

func (DnsCheck) Name() string

Name returns label for GatewayCheck.

type Error

type Error struct {
	Msg string
}

func (*Error) Error

func (e *Error) Error() string

Error implements the standard error interface

type GatewayCheck

type GatewayCheck struct {
	// contains filtered or unexported fields
}

gateway verifies the node gateway.

func (GatewayCheck) Check

func (gw GatewayCheck) Check() (warnings, errorList []error)

func (GatewayCheck) Name

func (GatewayCheck) Name() string

Name returns label for GatewayCheck.

Jump to

Keyboard shortcuts

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