Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanOutput ¶
CleanOutput cleans the CLI output received from VPP: - converts line endings to (CR LF -> LF) - trim leading newlines (CR/LF) - strips banner until the prompt (one of random VPP bugs)
Types ¶
type CmdExecutor ¶
CmdExecutor provides access to CLI by executing it via external command.
func NewCmdExecutor ¶
func NewCmdExecutor(cmd string, args ...string) *CmdExecutor
NewCmdExecutor returns a new CmdExecutor.
Click to show internal directories.
Click to hide internal directories.