vpp2202

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTelemetryVppHandler

func NewTelemetryVppHandler(c vpp.Client) vppcalls.TelemetryVppAPI

Types

type TelemetryHandler

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

func (*TelemetryHandler) GetBuffersInfo

func (h *TelemetryHandler) GetBuffersInfo(ctx context.Context) (*vppcalls.BuffersInfo, error)

GetBuffersInfo retrieves buffers info from VPP.

func (*TelemetryHandler) GetInterfaceStats

func (h *TelemetryHandler) GetInterfaceStats(context.Context) (*govppapi.InterfaceStats, error)

func (*TelemetryHandler) GetMemory

func (h *TelemetryHandler) GetMemory(ctx context.Context) (*vppcalls.MemoryInfo, error)

GetMemory retrieves `show memory` info.

func (*TelemetryHandler) GetNodeCounters

func (h *TelemetryHandler) GetNodeCounters(ctx context.Context) (*vppcalls.NodeCounterInfo, error)

GetNodeCounters retrieves node counters info.

func (*TelemetryHandler) GetRuntimeInfo

func (h *TelemetryHandler) GetRuntimeInfo(ctx context.Context) (*vppcalls.RuntimeInfo, error)

GetRuntimeInfo retrieves how runtime info.

func (*TelemetryHandler) GetSystemStats

func (h *TelemetryHandler) GetSystemStats(context.Context) (*govppapi.SystemStats, error)

func (*TelemetryHandler) GetThreads

func (h *TelemetryHandler) GetThreads(ctx context.Context) (*vppcalls.ThreadsInfo, error)

GetThreads retrieves info about the VPP threads

Jump to

Keyboard shortcuts

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