checkerx

package
v0.0.0-...-421db18 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: Apache-2.0 Imports: 8 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 interface {
	// CheckHealth
	CheckHealth() error

	// Stop health check loop
	Stop() error

	// Wait until service is ready
	Wait() error
}

HealthChecker represent service check operations

func NewIstioChecker

func NewIstioChecker(timeout, retryDelay, maxWait time.Duration) HealthChecker

NewIstioChecker returns a new IstioProxy interface based on ISTIO_PROXY_ENABLED environment variable If "ISTIO_PROXY_ENABLED" != "true" a mock of the Proxy interface will be returned.

Jump to

Keyboard shortcuts

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