bot

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(appNameValue string, namespaceValue string, kubeconfig string, port int, httpClientTimeOutValue time.Duration,
	retryIntervalValue time.Duration, retryAttemptsValue int, prometheusMetricsPopulateIntervalValue time.Duration,
	prometheusMetricsResetPeriodValue time.Duration, excludedIngressNames string, ingressHealthCheckUrlsAnnotationKeyValue string) *Controller

NewController returns a new controller.

func (*Controller) Run

func (c *Controller) Run() error

Run will run indefinitely to monitor the health of the ingresses in the given namespace.

type Monitor

type Monitor struct {
	Url              string
	Up               bool
	StatusCode       int
	CertValidityDays int
	ResponseTime     time.Duration
}

Jump to

Keyboard shortcuts

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