vizhealth

package
v0.0.0-...-73c8340 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 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 Checker

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

Checker runs a remote health check to make sure that Vizier is in a queryable state.

func NewChecker

func NewChecker(signingKey string, vzClient vizierpb.VizierServiceClient) *Checker

NewChecker creates and starts a Vizier Checker. Stop must be called when done to prevent leaking goroutines making requests to Vizier.

func (*Checker) GetStatus

func (c *Checker) GetStatus() (time.Time, error)

GetStatus returns the current status and the last check time.

func (*Checker) Stop

func (c *Checker) Stop()

Stop the checker.

Jump to

Keyboard shortcuts

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