checks

package
v0.3.0-4 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cpu

type Cpu struct {
}

Cpu collects inspection information on the host machines CPU cores and architecture

func (*Cpu) Describe

func (*Cpu) Describe() string

Describe provides a textual description of the info this check gathers

func (*Cpu) Run

func (cpu *Cpu) Run() <-chan []framework.CheckResult

Run executes the CPU inspection checks

type Follower

type Follower struct {
}

Follower implements a inspection check for the FOLLOWER environment variable.

func (*Follower) Describe

func (*Follower) Describe() string

Describe provides a textual description of what this check gathers info on

func (*Follower) Run

func (follower *Follower) Run() <-chan []framework.CheckResult

Run executes the check

type Host

type Host struct{}

Host collects inspection information on the host machine's metadata, such as the operating system

func (*Host) Describe

func (*Host) Describe() string

Describe provides a textual description of what this check gathers

func (*Host) Run

func (host *Host) Run() <-chan []framework.CheckResult

Run executes the Host inspection checks

type LeaderPort

type LeaderPort struct {
	PortName string
	Port     string
	IsOpen   bool
}

LeaderPort is the port that the follower listens on

type Memory

type Memory struct{}

Memory collects inspection information on the host machine's memory availability and usage

func (*Memory) Describe

func (*Memory) Describe() string

Describe provides a textual description of what this check gathers info on

func (*Memory) Run

func (memory *Memory) Run() <-chan []framework.CheckResult

Run executes the Memory inspection checks

Directories

Path Synopsis
fio

Jump to

Keyboard shortcuts

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