client

package
v0.0.0-...-fb2e7cc Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Interfaces = iota
	Nodes
	Errors
	Memory
	Threads
)

Index for each TableView. (total of 5 tabs)

View Source
const (
	// RowsPerIface represents number of rows in the xtui table per interface
	RowsPerIface = 11
	// RowsPerMemory represents number of rows in the xtui table per memory.
	RowsPerMemory = 8
)
View Source
const (
	NodeStatNodeName = iota
	NodeStatNodeIndex
	NodeStatNodeClocks
	NodeStatNodeVectors
	NodeStatNodeCalls
	NodeStatNodeSuspends
	NodeStatNodeVC
)

Mapped node stats fields

View Source
const (
	IfaceStatIfaceName = iota
	IfaceStatIfaceIdx
	IfaceStatIfaceState
	IfaceStatIfaceMTUL3
	IfaceStatIfaceMTUIP4
	IfaceStatIfaceMTUIP6
	IfaceStatIfaceMTUMPLS
	IfaceStatIfaceRxPackets
	IfaceStatIfaceRxBytes
	IfaceStatIfaceRxErrors
	IfaceStatIfaceRxUnicastPackets
	IfaceStatIfaceRxUnicastBytes
	IfaceStatIfaceRxMulticastPackets
	IfaceStatIfaceRxMulticastBytes
	IfaceStatIfaceRxBroadcastPackets
	IfaceStatIfaceRxBroadcastBytes
	IfaceStatIfaceTxPackets
	IfaceStatIfaceTxBytes
	IfaceStatIfaceTxErrors
	IfaceStatIfaceTxUnicastMissPackets
	IfaceStatIfaceTxUnicastMissBytes
	IfaceStatIfaceTxMulticastPackets
	IfaceStatIfaceTxMulticastBytes
	IfaceStatIfaceTxBroadcastPackets
	IfaceStatIfaceTxBroadcastBytes
	IfaceStatIfaceDrops
	IfaceStatIfacePunts
	IfaceStatIfaceIP4
	IfaceStatIfaceIP6
)

Mapped interface stats fields

View Source
const (
	ErrorStatErrorCounter = iota
	ErrorStatErrorNodeName
	ErrorStatErrorReason
	ErrorStatErrorSeverity
)

Mapped error stats fields.

View Source
const (
	MemoryStatName = iota
	MemoryStatID
	MemoryStatSize
	MemoryStatObjects
	MemoryStatUsed
	MemoryStatTotal
	MemoryStatFree
	MemoryStatReclaimed
	MemoryStatOverhead
	MemoryStatPages
	MemoryStatPageSize
)
View Source
const NoColumn = -1

NoColumn indicates no column should be used.

Variables

VPP API handler definition list determines supported versions - VPPs supported by Ligato VPP-Agent - VPPs supported by the local implementation

Functions

This section is empty.

Types

type App

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

App groups VPP provider, GUI and caches

func NewApp

func NewApp(lightTheme bool, logFile io.Writer) (*App, error)

func (*App) Init

func (app *App) Init(soc, rAddr string) error

Init initializes app.

func (*App) Run

func (app *App) Run()

Start starts the application.

Jump to

Keyboard shortcuts

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