util

package
v0.0.0-...-4638b96 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInboundListeningPorts

func GetInboundListeningPorts(adminPort uint16, nodeType model.NodeType) (map[uint16]bool, string, error)

GetInboundListeningPorts returns a map of inbound ports for which Envoy has active listeners.

Types

type Stats

type Stats struct {
	CDSUpdatesSuccess   uint64
	CDSUpdatesRejection uint64
	LDSUpdatesSuccess   uint64
	LDSUpdatesRejection uint64
}

Stats contains values of interest from a poll of Envoy stats.

func GetStats

func GetStats(adminPort uint16) (*Stats, error)

GetStats from Envoy.

func (*Stats) String

func (s *Stats) String() string

String representation of the Stats.

Jump to

Keyboard shortcuts

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