cluster_health_checker

package
v0.0.0-...-01e36a1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MakeRequest = func(url string, client http.Client) (*http.Response, error) {
	return client.Get(url)
}

Functions

This section is empty.

Types

type ClusterHealthChecker

type ClusterHealthChecker interface {
	HealthyCluster() bool
}

func NewClusterHealthChecker

func NewClusterHealthChecker(ips []string, clusterProbeTimeout int, logger lager.Logger) ClusterHealthChecker

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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