health_check

package
v1.59.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name       commons.FieldName = "name"
	ResourceId commons.FieldName = "resource_id"
	ProxyAddr  commons.FieldName = "proxy_address"
	ProxyPort  commons.FieldName = "proxy_port"
	Check      commons.FieldName = "check"
	Protocol   commons.FieldName = "protocol"
	Port       commons.FieldName = "port"
	Endpoint   commons.FieldName = "endpoint"
	Interval   commons.FieldName = "interval"
	Timeout    commons.FieldName = "timeout"
	Unhealthy  commons.FieldName = "unhealthy"
	Healthy    commons.FieldName = "healthy"

	// Deprecated: EndPoint is obsolete, exists for backward compatibility only,
	// and should not be used. Please use Endpoint instead.
	EndPoint commons.FieldName = "end_point"

	// Deprecated: TimeOut is obsolete, exists for backward compatibility only,
	// and should not be used. Please use Timeout instead.
	TimeOut commons.FieldName = "time_out"
)

Variables

This section is empty.

Functions

func Setup

func Setup(fieldsMap map[commons.FieldName]*commons.GenericField)

Types

This section is empty.

Jump to

Keyboard shortcuts

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