Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrMissingMaxFails returned error when the ingress does not contains the // max-fails annotation ErrMissingMaxFails = errors.New("max-fails annotations is missing") // ErrMissingFailTimeout returned error when the ingress does not contains // the fail-timeout annotation ErrMissingFailTimeout = errors.New("fail-timeout annotations is missing") // ErrInvalidNumber returned ErrInvalidNumber = errors.New("the annotation does not contains a number") )
Functions ¶
This section is empty.
Types ¶
type Upstream ¶
Upstream returns the URL and method to use check the status of the upstream server/s
func ParseAnnotations ¶
func ParseAnnotations(cfg config.Configuration, ing *extensions.Ingress) *Upstream
ParseAnnotations parses the annotations contained in the ingress rule used to configure upstream check parameters
Click to show internal directories.
Click to hide internal directories.