package
0.3.1
Repository: https://github.com/tilt-dev/probe.git
Documentation: pkg.go.dev

# Functions

NewExecProber creates an ExecProber.
NewHTTPGetProber creates a HTTPGetProber that will perform an HTTP GET request to determine service status.
NewManager creates a Manager instance to create standard Prober types.
NewTCPSocketProber creates a TCPSocketProber that checks connectivity to a given address to determine service status.

# Constants

Failure indicates that the service is not healthy.
Success indicates that the service is healthy.
Unknown indicates that the prober was unable to determine the service status due to an internal issue.
Warning indicates that the service is healthy but additional diagnostic information might be attached.

# Variables

ErrLimitReached means that the read limit is reached.

# Structs

Manager creates standardized Prober instances from shared instances of underlying implementations for common probe types.

# Interfaces

ExecProber executes a command to check a service status.
HTTPGetProber executes HTTP GET requests to determine service status.
Prober performs a check to determine a service status.
TCPSocketProber establishes a TCP socket to determine service status.

# Type aliases

ProberFunc is a functional version of Prober.
Result is a string used to indicate service status.