quin

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PingPeers

func PingPeers(endpoints *Poller, port int, debug bool)

PingPeers ping all nodes we've found

func RegisterMetrics

func RegisterMetrics(debug bool)

RegisterMetrics initiate prometheus exported labels

func RunServer

func RunServer(port int)

RunServer handle traffic

Types

type Poller

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

Poller containing poll data

func NewEndpointGrabber

func NewEndpointGrabber(clusterConfig string, peerPollSec int, kubernetesInternal bool) *Poller

NewEndpointGrabber this returns endpoints to use for operations

Jump to

Keyboard shortcuts

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