Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandFunc ¶
CommandFunc respresents a function used to mock WinRM commands
type MatcherFunc ¶
MatcherFunc respresents a function used to match WinRM commands
func MatchPattern ¶
func MatchPattern(pattern string) MatcherFunc
MatchPattern return a new MatcherFunc based on pattern matching
func MatchText ¶
func MatchText(text string) MatcherFunc
MatchText return a new MatcherFunc based on text matching
type Remote ¶
Remote respresents a WinRM server
func (*Remote) CommandFunc ¶
func (r *Remote) CommandFunc(m MatcherFunc, f CommandFunc)
CommandFunc adds a WinRM command mock function to the WinRM server
Click to show internal directories.
Click to hide internal directories.