Documentation
¶
Index ¶
- type TestCtx
- func (ctx *TestCtx) MustCli(cmd ...string)
- func (ctx *TestCtx) RunCli(cmd string) (string, error)
- func (ctx *TestCtx) RunCmd(cmd string, args ...string) (string, error)
- func (ctx *TestCtx) StatsConn() *govppcore.StatsConnection
- func (ctx *TestCtx) TeardownVPP()
- func (ctx *TestCtx) VPPVersion() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestCtx ¶
type TestCtx struct {
T testing.TB
Context context.Context
Cancel context.CancelFunc
Conn *govppcore.Connection
// contains filtered or unexported fields
}
func (*TestCtx) StatsConn ¶
func (ctx *TestCtx) StatsConn() *govppcore.StatsConnection
func (*TestCtx) TeardownVPP ¶
func (ctx *TestCtx) TeardownVPP()
func (*TestCtx) VPPVersion ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.