healthcheck

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunChecks

func RunChecks(
	ctx context.Context,
	bootstrap config.Source,
	databrokerClient databroker.DataBrokerServiceClient,
) error

Types

type Provider

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

func NewReporter

func NewReporter(
	conn *grpc.ClientConn,
) *Provider

NewReporter creates a new unstarted health check reporter

func (*Provider) ReportError

func (p *Provider) ReportError(check health.Check, err error, attr ...health.Attr)

func (*Provider) ReportOK

func (p *Provider) ReportOK(check health.Check, attr ...health.Attr)

func (*Provider) Run

func (p *Provider) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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