healthcheck

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

func NewParser() parser.IngressAnnotation

NewParser creates a new health check annotation parser

Types

type Config added in v0.8.1

type Config struct {
	URI       string `json:"uri"`
	Addr      string `json:"addr"`
	Port      string `json:"port"`
	Interval  string `json:"interval"`
	RiseCount string `json:"rise-count"`
	FallCount string `json:"fall-count"`
}

Config contains the health check configuration for a backend

func (*Config) Equal added in v0.8.1

func (b1 *Config) Equal(b2 *Config) bool

Equal tests equality between two Config objects

Jump to

Keyboard shortcuts

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