healthcheck

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 9 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 {
	*healthcheck.HealthChecker
	// contains filtered or unexported fields
}

HealthChecker wraps Linkerd's main healthchecker, adding extra fields for linkerd-buoyant.

func NewHealthChecker

func NewHealthChecker(
	options *healthcheck.Options,
	k8s k8s.Client,
	http *http.Client,
	bcloudServer string,
) *HealthChecker

NewHealthChecker returns an initialized HealthChecker for linkerd-buoyant. The returned instance does not contain any linkerd-buoyant Categories. Categories are to be explicitly added by using hc.AppendCategories

func (*HealthChecker) L5dBuoyantCategory

func (hc *HealthChecker) L5dBuoyantCategory() *healthcheck.Category

L5dBuoyantCategory returns a healthcheck.Category containing checkers to verify the health of linkerd-buoyant components.

Jump to

Keyboard shortcuts

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