Documentation ¶
Index ¶
- type MockGenerator
- type MockGeneratorFactory
- type MockGeneratorFactoryMockRecorder
- type MockGeneratorMockRecorder
- type MockScript
- type MockScriptLoader
- type MockScriptLoaderMockRecorder
- type MockScriptMockRecorder
- type MockUI
- func (_m *MockUI) Confirm(msg string) (bool, error)
- func (_m *MockUI) EXPECT() *MockUIMockRecorder
- func (_m *MockUI) Error(msg string)
- func (_m *MockUI) ItemFailure(msg string)
- func (_m *MockUI) ItemSkipped(msg string)
- func (_m *MockUI) ItemSuccess(msg string)
- func (_m *MockUI) Output(msg string)
- func (_m *MockUI) Section(msg string)
- func (_m *MockUI) Subsection(msg string)
- func (_m *MockUI) Warn(msg string)
- type MockUIMockRecorder
- func (_mr *MockUIMockRecorder) Confirm(arg0 interface{}) *gomock.Call
- func (_mr *MockUIMockRecorder) Error(arg0 interface{}) *gomock.Call
- func (_mr *MockUIMockRecorder) ItemFailure(arg0 interface{}) *gomock.Call
- func (_mr *MockUIMockRecorder) ItemSkipped(arg0 interface{}) *gomock.Call
- func (_mr *MockUIMockRecorder) ItemSuccess(arg0 interface{}) *gomock.Call
- func (_mr *MockUIMockRecorder) Output(arg0 interface{}) *gomock.Call
- func (_mr *MockUIMockRecorder) Section(arg0 interface{}) *gomock.Call
- func (_mr *MockUIMockRecorder) Subsection(arg0 interface{}) *gomock.Call
- func (_mr *MockUIMockRecorder) Warn(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGenerator ¶
type MockGenerator struct {
// contains filtered or unexported fields
}
MockGenerator is a mock of Generator interface
func NewMockGenerator ¶
func NewMockGenerator(ctrl *gomock.Controller) *MockGenerator
NewMockGenerator creates a new mock instance
func (*MockGenerator) Destroy ¶
func (_m *MockGenerator) Destroy(dir string, data interface{}) error
Destroy mocks base method
func (*MockGenerator) EXPECT ¶
func (_m *MockGenerator) EXPECT() *MockGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGenerator) Generate ¶
func (_m *MockGenerator) Generate(dir string, data interface{}) error
Generate mocks base method
type MockGeneratorFactory ¶
type MockGeneratorFactory struct {
// contains filtered or unexported fields
}
MockGeneratorFactory is a mock of GeneratorFactory interface
func NewMockGeneratorFactory ¶
func NewMockGeneratorFactory(ctrl *gomock.Controller) *MockGeneratorFactory
NewMockGeneratorFactory creates a new mock instance
func (*MockGeneratorFactory) Command ¶
func (_m *MockGeneratorFactory) Command() Generator
Command mocks base method
func (*MockGeneratorFactory) EXPECT ¶
func (_m *MockGeneratorFactory) EXPECT() *MockGeneratorFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGeneratorFactory) Project ¶
func (_m *MockGeneratorFactory) Project() Generator
Project mocks base method
func (*MockGeneratorFactory) Service ¶
func (_m *MockGeneratorFactory) Service() Generator
Service mocks base method
type MockGeneratorFactoryMockRecorder ¶
type MockGeneratorFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockGeneratorFactoryMockRecorder is the mock recorder for MockGeneratorFactory
func (*MockGeneratorFactoryMockRecorder) Command ¶
func (_mr *MockGeneratorFactoryMockRecorder) Command() *gomock.Call
Command indicates an expected call of Command
func (*MockGeneratorFactoryMockRecorder) Project ¶
func (_mr *MockGeneratorFactoryMockRecorder) Project() *gomock.Call
Project indicates an expected call of Project
func (*MockGeneratorFactoryMockRecorder) Service ¶
func (_mr *MockGeneratorFactoryMockRecorder) Service() *gomock.Call
Service indicates an expected call of Service
type MockGeneratorMockRecorder ¶
type MockGeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockGeneratorMockRecorder is the mock recorder for MockGenerator
func (*MockGeneratorMockRecorder) Destroy ¶
func (_mr *MockGeneratorMockRecorder) Destroy(arg0, arg1 interface{}) *gomock.Call
Destroy indicates an expected call of Destroy
func (*MockGeneratorMockRecorder) Generate ¶
func (_mr *MockGeneratorMockRecorder) Generate(arg0, arg1 interface{}) *gomock.Call
Generate indicates an expected call of Generate
type MockScript ¶ added in v0.1.4
type MockScript struct {
// contains filtered or unexported fields
}
MockScript is a mock of Script interface
func NewMockScript ¶ added in v0.1.4
func NewMockScript(ctrl *gomock.Controller) *MockScript
NewMockScript creates a new mock instance
func (*MockScript) Build ¶ added in v0.1.4
func (_m *MockScript) Build(args ...string) error
Build mocks base method
func (*MockScript) EXPECT ¶ added in v0.1.4
func (_m *MockScript) EXPECT() *MockScriptMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockScript) Name ¶ added in v0.1.4
func (_m *MockScript) Name() string
Name mocks base method
func (*MockScript) Run ¶ added in v0.1.4
func (_m *MockScript) Run(args ...string) error
Run mocks base method
type MockScriptLoader ¶ added in v0.1.4
type MockScriptLoader struct {
// contains filtered or unexported fields
}
MockScriptLoader is a mock of ScriptLoader interface
func NewMockScriptLoader ¶ added in v0.1.4
func NewMockScriptLoader(ctrl *gomock.Controller) *MockScriptLoader
NewMockScriptLoader creates a new mock instance
func (*MockScriptLoader) EXPECT ¶ added in v0.1.4
func (_m *MockScriptLoader) EXPECT() *MockScriptLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockScriptLoader) Get ¶ added in v0.1.4
func (_m *MockScriptLoader) Get(name string) (Script, bool)
Get mocks base method
func (*MockScriptLoader) Load ¶ added in v0.1.4
func (_m *MockScriptLoader) Load(dir string) error
Load mocks base method
func (*MockScriptLoader) Names ¶ added in v0.1.4
func (_m *MockScriptLoader) Names() []string
Names mocks base method
type MockScriptLoaderMockRecorder ¶ added in v0.1.4
type MockScriptLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockScriptLoaderMockRecorder is the mock recorder for MockScriptLoader
func (*MockScriptLoaderMockRecorder) Get ¶ added in v0.1.4
func (_mr *MockScriptLoaderMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockScriptLoaderMockRecorder) Load ¶ added in v0.1.4
func (_mr *MockScriptLoaderMockRecorder) Load(arg0 interface{}) *gomock.Call
Load indicates an expected call of Load
func (*MockScriptLoaderMockRecorder) Names ¶ added in v0.1.4
func (_mr *MockScriptLoaderMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names
type MockScriptMockRecorder ¶ added in v0.1.4
type MockScriptMockRecorder struct {
// contains filtered or unexported fields
}
MockScriptMockRecorder is the mock recorder for MockScript
func (*MockScriptMockRecorder) Build ¶ added in v0.1.4
func (_mr *MockScriptMockRecorder) Build(arg0 ...interface{}) *gomock.Call
Build indicates an expected call of Build
func (*MockScriptMockRecorder) Name ¶ added in v0.1.4
func (_mr *MockScriptMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockScriptMockRecorder) Run ¶ added in v0.1.4
func (_mr *MockScriptMockRecorder) Run(arg0 ...interface{}) *gomock.Call
Run indicates an expected call of Run
type MockUI ¶
type MockUI struct {
// contains filtered or unexported fields
}
MockUI is a mock of UI interface
func NewMockUI ¶
func NewMockUI(ctrl *gomock.Controller) *MockUI
NewMockUI creates a new mock instance
func (*MockUI) EXPECT ¶
func (_m *MockUI) EXPECT() *MockUIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUI) ItemFailure ¶
ItemFailure mocks base method
func (*MockUI) ItemSkipped ¶
ItemSkipped mocks base method
func (*MockUI) ItemSuccess ¶
ItemSuccess mocks base method
type MockUIMockRecorder ¶
type MockUIMockRecorder struct {
// contains filtered or unexported fields
}
MockUIMockRecorder is the mock recorder for MockUI
func (*MockUIMockRecorder) Confirm ¶
func (_mr *MockUIMockRecorder) Confirm(arg0 interface{}) *gomock.Call
Confirm indicates an expected call of Confirm
func (*MockUIMockRecorder) Error ¶
func (_mr *MockUIMockRecorder) Error(arg0 interface{}) *gomock.Call
Error indicates an expected call of Error
func (*MockUIMockRecorder) ItemFailure ¶
func (_mr *MockUIMockRecorder) ItemFailure(arg0 interface{}) *gomock.Call
ItemFailure indicates an expected call of ItemFailure
func (*MockUIMockRecorder) ItemSkipped ¶
func (_mr *MockUIMockRecorder) ItemSkipped(arg0 interface{}) *gomock.Call
ItemSkipped indicates an expected call of ItemSkipped
func (*MockUIMockRecorder) ItemSuccess ¶
func (_mr *MockUIMockRecorder) ItemSuccess(arg0 interface{}) *gomock.Call
ItemSuccess indicates an expected call of ItemSuccess
func (*MockUIMockRecorder) Output ¶
func (_mr *MockUIMockRecorder) Output(arg0 interface{}) *gomock.Call
Output indicates an expected call of Output
func (*MockUIMockRecorder) Section ¶
func (_mr *MockUIMockRecorder) Section(arg0 interface{}) *gomock.Call
Section indicates an expected call of Section
func (*MockUIMockRecorder) Subsection ¶
func (_mr *MockUIMockRecorder) Subsection(arg0 interface{}) *gomock.Call
Subsection indicates an expected call of Subsection
func (*MockUIMockRecorder) Warn ¶
func (_mr *MockUIMockRecorder) Warn(arg0 interface{}) *gomock.Call
Warn indicates an expected call of Warn