istio: Index | Files

package util

import ""


Package Files

listeners.go server_info.go stats.go util.go

func GetInboundListeningPorts Uses

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

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

func GetServerInfo Uses

func GetServerInfo(localHostAddr string, adminPort uint16) (*admin.ServerInfo, error)

type Stats Uses

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

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

func GetStats Uses

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

GetStats from Envoy.

func (*Stats) String Uses

func (s *Stats) String() string

String representation of the Stats.

Package util imports 12 packages (graph) and is imported by 2 packages. Updated 2019-10-09. Refresh now. Tools for package owners.