health

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrokerHealth

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

BrokerHealth holds logic checking the status of the broker

func NewBrokerProbes

func NewBrokerProbes(port string, etcdURL string) *BrokerHealth

NewBrokerProbes creates a new BrokerHealth

func (*BrokerHealth) Handle

func (b *BrokerHealth) Handle()

Handle exposes broker's status probes

type ControllerHealth

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

ControllerHealth holds logic for controller's probes

func NewControllerProbes

func NewControllerProbes(port string, etcdURL string, client client.Client, livenessProbeNamespace string) *ControllerHealth

NewControllerProbes creates a ControllerHealth

func (*ControllerHealth) Handle

func (c *ControllerHealth) Handle()

Handle handles probes for controller

Jump to

Keyboard shortcuts

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