analysis

package
v0.0.0-...-63a22fc Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyser

type Analyser interface {
	Analysis() []*Observation
}

Analyser is the main interface all probes need to implement

type Displayer

type Displayer interface {
	Display() string
}

Displayer

type Observation

type Observation struct {
	Type    ObservationType
	Message string
}

func (*Observation) Format

func (o *Observation) Format() string

func (*Observation) String

func (o *Observation) String() string

type ObservationType

type ObservationType int64
const (
	Learn ObservationType = iota
	Hint
	Note
	Warning
	Issue
)

type Probe

type Probe interface {
	Displayer
	Analyser
}

Probe represents probes looking into different aspects of the machine or a process

Jump to

Keyboard shortcuts

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