package
Version:
v0.0.0-...-c80ec77
Opens a new window with list of versions in this module.
Published: Aug 28, 2017
License: MPL-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type MockUI struct {
SayCount int
AskCount int
MessageCount int
ErrorCount int
MachineCount int
}
MockUI is a mock implementation of Packer's Ui interface (packer/ui.go)
It only includes counter to each of its methods, which will not do anything
Ask counts calls to itself. Mock of the Packer Ui.Ask() method
Error counts calls to itself. Mock of the Packer Ui.Error() method
Machine counts calls to itself. Mock of the Packer Ui.Machine() method
Message counts calls to itself. Mock of the Packer Ui.Message() method
Say counts calls to itself. Mock of the Packer Ui.Say() method
Source Files
¶
Click to show internal directories.
Click to hide internal directories.