checkers

package
v1.8.1-0...-ed8303a Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthChecker

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

HealthChecker is a heals checker.

func NewHealthChecker

func NewHealthChecker(ctx context.Context, client ...httpClient) *HealthChecker

NewHealthChecker creates heals checker.

func (*HealthChecker) Check

func (c *HealthChecker) Check(port uint16) error

Check application using liveness probe.

type LiveChecker

type LiveChecker struct{}

LiveChecker is a liveness checker.

func NewLiveChecker

func NewLiveChecker() *LiveChecker

NewLiveChecker creates liveness checker.

func (*LiveChecker) Check

func (*LiveChecker) Check() error

Check application is alive?

Jump to

Keyboard shortcuts

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