Documentation ¶
Overview ¶
Package mock_template is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExecutor ¶
type MockExecutor struct {
// contains filtered or unexported fields
}
MockExecutor is a mock of Executor interface.
func NewMockExecutor ¶
func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor
NewMockExecutor creates a new mock instance.
func (*MockExecutor) EXPECT ¶
func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExecutor) Execute ¶
func (m *MockExecutor) Execute(arg0 string, arg1 interface{}) (string, error)
Execute mocks base method.
func (*MockExecutor) ExecuteByTpl ¶
func (m *MockExecutor) ExecuteByTpl(arg0 *template0.Template, arg1 interface{}) (string, error)
ExecuteByTpl mocks base method.
func (*MockExecutor) Parse ¶
func (m *MockExecutor) Parse(arg0 string) template.ParsedTemplate
Parse mocks base method.
type MockExecutorMockRecorder ¶
type MockExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockExecutorMockRecorder is the mock recorder for MockExecutor.
func (*MockExecutorMockRecorder) Execute ¶
func (mr *MockExecutorMockRecorder) Execute(arg0, arg1 interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockExecutorMockRecorder) ExecuteByTpl ¶
func (mr *MockExecutorMockRecorder) ExecuteByTpl(arg0, arg1 interface{}) *gomock.Call
ExecuteByTpl indicates an expected call of ExecuteByTpl.
func (*MockExecutorMockRecorder) Parse ¶
func (mr *MockExecutorMockRecorder) Parse(arg0 interface{}) *gomock.Call
Parse indicates an expected call of Parse.
Click to show internal directories.
Click to hide internal directories.