Documentation ¶
Index ¶
- type Action
- type Controller
- type MockAction
- type MockAction_AddStepSummary_Call
- type MockAction_Expecter
- func (_e *MockAction_Expecter) AddStepSummary(markdown interface{}) *MockAction_AddStepSummary_Call
- func (_e *MockAction_Expecter) Infof(msg interface{}, args ...interface{}) *MockAction_Infof_Call
- func (_e *MockAction_Expecter) SetEnv(k interface{}, v interface{}) *MockAction_SetEnv_Call
- func (_e *MockAction_Expecter) SetOutput(k interface{}, v interface{}) *MockAction_SetOutput_Call
- type MockAction_Infof_Call
- type MockAction_SetEnv_Call
- type MockAction_SetOutput_Call
- type Param
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
type MockAction ¶ added in v0.1.5
MockAction is an autogenerated mock type for the Action type
func NewMockAction ¶ added in v0.1.5
func NewMockAction(t mockConstructorTestingTNewMockAction) *MockAction
NewMockAction creates a new instance of MockAction. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockAction) AddStepSummary ¶ added in v0.1.5
func (_m *MockAction) AddStepSummary(markdown string)
AddStepSummary provides a mock function with given fields: markdown
func (*MockAction) EXPECT ¶ added in v0.1.5
func (_m *MockAction) EXPECT() *MockAction_Expecter
func (*MockAction) Infof ¶ added in v0.1.5
func (_m *MockAction) Infof(msg string, args ...interface{})
Infof provides a mock function with given fields: msg, args
func (*MockAction) SetEnv ¶ added in v0.1.5
func (_m *MockAction) SetEnv(k string, v string)
SetEnv provides a mock function with given fields: k, v
func (*MockAction) SetOutput ¶ added in v0.1.5
func (_m *MockAction) SetOutput(k string, v string)
SetOutput provides a mock function with given fields: k, v
type MockAction_AddStepSummary_Call ¶ added in v0.1.5
MockAction_AddStepSummary_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddStepSummary'
func (*MockAction_AddStepSummary_Call) Return ¶ added in v0.1.5
func (_c *MockAction_AddStepSummary_Call) Return() *MockAction_AddStepSummary_Call
func (*MockAction_AddStepSummary_Call) Run ¶ added in v0.1.5
func (_c *MockAction_AddStepSummary_Call) Run(run func(markdown string)) *MockAction_AddStepSummary_Call
func (*MockAction_AddStepSummary_Call) RunAndReturn ¶ added in v0.1.5
func (_c *MockAction_AddStepSummary_Call) RunAndReturn(run func(string)) *MockAction_AddStepSummary_Call
type MockAction_Expecter ¶ added in v0.1.5
type MockAction_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAction_Expecter) AddStepSummary ¶ added in v0.1.5
func (_e *MockAction_Expecter) AddStepSummary(markdown interface{}) *MockAction_AddStepSummary_Call
AddStepSummary is a helper method to define mock.On call
- markdown string
func (*MockAction_Expecter) Infof ¶ added in v0.1.5
func (_e *MockAction_Expecter) Infof(msg interface{}, args ...interface{}) *MockAction_Infof_Call
Infof is a helper method to define mock.On call
- msg string
- args ...interface{}
func (*MockAction_Expecter) SetEnv ¶ added in v0.1.5
func (_e *MockAction_Expecter) SetEnv(k interface{}, v interface{}) *MockAction_SetEnv_Call
SetEnv is a helper method to define mock.On call
- k string
- v string
func (*MockAction_Expecter) SetOutput ¶ added in v0.1.5
func (_e *MockAction_Expecter) SetOutput(k interface{}, v interface{}) *MockAction_SetOutput_Call
SetOutput is a helper method to define mock.On call
- k string
- v string
type MockAction_Infof_Call ¶ added in v0.1.5
MockAction_Infof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Infof'
func (*MockAction_Infof_Call) Return ¶ added in v0.1.5
func (_c *MockAction_Infof_Call) Return() *MockAction_Infof_Call
func (*MockAction_Infof_Call) Run ¶ added in v0.1.5
func (_c *MockAction_Infof_Call) Run(run func(msg string, args ...interface{})) *MockAction_Infof_Call
func (*MockAction_Infof_Call) RunAndReturn ¶ added in v0.1.5
func (_c *MockAction_Infof_Call) RunAndReturn(run func(string, ...interface{})) *MockAction_Infof_Call
type MockAction_SetEnv_Call ¶ added in v0.1.5
MockAction_SetEnv_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEnv'
func (*MockAction_SetEnv_Call) Return ¶ added in v0.1.5
func (_c *MockAction_SetEnv_Call) Return() *MockAction_SetEnv_Call
func (*MockAction_SetEnv_Call) Run ¶ added in v0.1.5
func (_c *MockAction_SetEnv_Call) Run(run func(k string, v string)) *MockAction_SetEnv_Call
func (*MockAction_SetEnv_Call) RunAndReturn ¶ added in v0.1.5
func (_c *MockAction_SetEnv_Call) RunAndReturn(run func(string, string)) *MockAction_SetEnv_Call
type MockAction_SetOutput_Call ¶ added in v0.1.5
MockAction_SetOutput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOutput'
func (*MockAction_SetOutput_Call) Return ¶ added in v0.1.5
func (_c *MockAction_SetOutput_Call) Return() *MockAction_SetOutput_Call
func (*MockAction_SetOutput_Call) Run ¶ added in v0.1.5
func (_c *MockAction_SetOutput_Call) Run(run func(k string, v string)) *MockAction_SetOutput_Call
func (*MockAction_SetOutput_Call) RunAndReturn ¶ added in v0.1.5
func (_c *MockAction_SetOutput_Call) RunAndReturn(run func(string, string)) *MockAction_SetOutput_Call