Documentation ¶
Overview ¶
debug supports tests that use the noop plugin
Index ¶
Constants ¶
View Source
const EmptyReportResultMessage = "set debug.ReportResult and call debug.WriteDebug() before calling this plugin"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Debug ¶
type Debug struct { // Report* fields allow the test to control the behavior of the no-op plugin ReportResult string ReportError string ReportStderr string ReportVersionSupport []string // Command stores the CNI command that the plugin received Command string // CmdArgs stores the CNI Args and Env Vars that the plugin recieved CmdArgs skel.CmdArgs }
Debug is used to control and record the behavior of the noop plugin
func (*Debug) WriteDebug ¶
WriteDebug will create a debug file to control the noop plugin
Click to show internal directories.
Click to hide internal directories.