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.
Click to show internal directories.
Click to hide internal directories.