Documentation
¶
Index ¶
- func DumpLogs(conn govppapi.Connection) ([]string, error)
- func DumpLogsChan(ch govppapi.Channel) ([]string, error)
- func DumpLogsSince(conn govppapi.Connection, t time.Time) ([]string, error)
- func DumpLogsSinceChan(ch govppapi.Channel, t time.Time) ([]string, error)
- func GetPID(conn govppapi.Connection) (int, error)
- func GetPIDChan(ch govppapi.Channel) (int, error)
- func GetSystemInfo(conn govppapi.Connection) (*api.RuntimeInfo, error)
- func GetSystemInfoChan(ch govppapi.Channel) (*api.RuntimeInfo, error)
- func GetSystemTime(conn govppapi.Connection) (time.Duration, error)
- func GetSystemTimeChan(ch govppapi.Channel) (time.Duration, error)
- func GetVersion(conn govppapi.Connection) (string, error)
- func GetVersionChan(ch govppapi.Channel) (string, error)
- func GetVersionInfo(conn govppapi.Connection) (*api.BuildInfo, error)
- func GetVersionInfoChan(ch govppapi.Channel) (*api.BuildInfo, error)
- func ListInterfaces(conn govppapi.Connection) ([]*api.Interface, error)
- func ListInterfacesChan(ch govppapi.Channel) ([]*api.Interface, error)
- func RunCliChan(ch govppapi.Channel, cmd string) (string, error)
- type Client
- type ShowVersionData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpLogsSince ¶
func GetSystemInfo ¶
func GetSystemInfo(conn govppapi.Connection) (*api.RuntimeInfo, error)
func GetSystemInfoChan ¶
func GetSystemInfoChan(ch govppapi.Channel) (*api.RuntimeInfo, error)
func GetSystemTime ¶
func GetSystemTime(conn govppapi.Connection) (time.Duration, error)
func GetVersion ¶
func GetVersion(conn govppapi.Connection) (string, error)
func GetVersionInfo ¶
func GetVersionInfo(conn govppapi.Connection) (*api.BuildInfo, error)
func ListInterfaces ¶
func ListInterfaces(conn govppapi.Connection) ([]*api.Interface, error)
Types ¶
type ShowVersionData ¶
type ShowVersionData struct { Program string Version string BuildDate string BuildDirectory string }
func ShowVersion ¶
func ShowVersion(ch govppapi.Channel) (*ShowVersionData, error)
Click to show internal directories.
Click to hide internal directories.