probes

package
v1.8.17 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAndStart

func InitAndStart(port string, condition *bool)

InitAndStart initializes the default probes and starts the http listening port.

func InitHealthProbe

func InitHealthProbe(condition *bool)

InitHealthProbe - sets up a health probe which responds with success (200 - OK) once its initialized. The contents of the healthz endpoint will be the string "Active" if the condition is satisfied. The condition is set to true when the sync cycle has become active in case of MIC and the iptables rules set in case of NMI.

func Start

func Start(port string)

Start starts the required http server to start the probe to respond.

Types

This section is empty.

Jump to

Keyboard shortcuts

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