Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInboundListeningPorts

func GetInboundListeningPorts(adminPort uint16) (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.