disk

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IopsCheck

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

IopsCheck is a inspection check to report the read and write IOPs for the directory in which `conjur-inspect` is run.

func NewIopsCheck

func NewIopsCheck(debug bool) *IopsCheck

NewIopsCheck instantiates an Iops check with the default dependencies

func (*IopsCheck) Describe

func (*IopsCheck) Describe() string

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

func (*IopsCheck) Run

func (iopsCheck *IopsCheck) Run() <-chan []framework.CheckResult

Run executes the IopsCheck by running `fio` and processing its output

type LatencyCheck

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

LatencyCheck is a inspection check to report the read, write, and sync latency for the directory in which `conjur-inspect` is run.

func NewLatencyCheck

func NewLatencyCheck(debug bool) *LatencyCheck

NewLatencyCheck instantiates a Latency check with the default dependencies

func (*LatencyCheck) Describe

func (*LatencyCheck) Describe() string

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

func (*LatencyCheck) Run

func (latencyCheck *LatencyCheck) Run() <-chan []framework.CheckResult

Run executes the LatencyCheck by running `fio` and processing its output

type SpaceCheck

type SpaceCheck struct{}

SpaceCheck reports on the available partitions and devices on the current machine, as well as their available disk space.

func (*SpaceCheck) Describe

func (*SpaceCheck) Describe() string

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

func (*SpaceCheck) Run

func (spaceCheck *SpaceCheck) Run() <-chan []framework.CheckResult

Run executes the disk checks and returns their results

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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