Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pod ¶
Pod is an autogenerated mock type for the Pod type
func NewPod ¶
func NewPod(t mockConstructorTestingTNewPod) *Pod
NewPod creates a new instance of Pod. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Pod) EXPECT ¶
func (_m *Pod) EXPECT() *Pod_Expecter
func (*Pod) ExecInteractive ¶
ExecInteractive provides a mock function with given fields: cmd
type Pod_Close_Call ¶
Pod_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*Pod_Close_Call) Return ¶
func (_c *Pod_Close_Call) Return(_a0 error) *Pod_Close_Call
func (*Pod_Close_Call) Run ¶
func (_c *Pod_Close_Call) Run(run func()) *Pod_Close_Call
func (*Pod_Close_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pod_Close_Call) RunAndReturn(run func() error) *Pod_Close_Call
type Pod_Delete_Call ¶
Pod_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Pod_Delete_Call) Return ¶
func (_c *Pod_Delete_Call) Return(_a0 error) *Pod_Delete_Call
func (*Pod_Delete_Call) Run ¶
func (_c *Pod_Delete_Call) Run(run func()) *Pod_Delete_Call
func (*Pod_Delete_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pod_Delete_Call) RunAndReturn(run func() error) *Pod_Delete_Call
type Pod_ExecInteractive_Call ¶
Pod_ExecInteractive_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecInteractive'
func (*Pod_ExecInteractive_Call) Return ¶
func (_c *Pod_ExecInteractive_Call) Return(_a0 error) *Pod_ExecInteractive_Call
func (*Pod_ExecInteractive_Call) Run ¶
func (_c *Pod_ExecInteractive_Call) Run(run func(cmd []string)) *Pod_ExecInteractive_Call
func (*Pod_ExecInteractive_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pod_ExecInteractive_Call) RunAndReturn(run func([]string) error) *Pod_ExecInteractive_Call
type Pod_Exec_Call ¶
Pod_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*Pod_Exec_Call) Return ¶
func (_c *Pod_Exec_Call) Return(_a0 error) *Pod_Exec_Call
func (*Pod_Exec_Call) Run ¶
func (_c *Pod_Exec_Call) Run(run func(cmd []string)) *Pod_Exec_Call
func (*Pod_Exec_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Pod_Exec_Call) RunAndReturn(run func([]string) error) *Pod_Exec_Call
type Pod_Expecter ¶
type Pod_Expecter struct {
// contains filtered or unexported fields
}
func (*Pod_Expecter) Close ¶
func (_e *Pod_Expecter) Close() *Pod_Close_Call
Close is a helper method to define mock.On call
func (*Pod_Expecter) Delete ¶
func (_e *Pod_Expecter) Delete() *Pod_Delete_Call
Delete is a helper method to define mock.On call
func (*Pod_Expecter) Exec ¶
func (_e *Pod_Expecter) Exec(cmd interface{}) *Pod_Exec_Call
Exec is a helper method to define mock.On call
- cmd []string
func (*Pod_Expecter) ExecInteractive ¶
func (_e *Pod_Expecter) ExecInteractive(cmd interface{}) *Pod_ExecInteractive_Call
ExecInteractive is a helper method to define mock.On call
- cmd []string
type Runner ¶
Runner is an autogenerated mock type for the Runner type
func NewRunner ¶
func NewRunner(t mockConstructorTestingTNewRunner) *Runner
NewRunner creates a new instance of Runner. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Runner) EXPECT ¶
func (_m *Runner) EXPECT() *Runner_Expecter
type Runner_Cleanup_Call ¶
Runner_Cleanup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cleanup'
func (*Runner_Cleanup_Call) Return ¶
func (_c *Runner_Cleanup_Call) Return(_a0 error) *Runner_Cleanup_Call
func (*Runner_Cleanup_Call) Run ¶
func (_c *Runner_Cleanup_Call) Run(run func()) *Runner_Cleanup_Call
func (*Runner_Cleanup_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Runner_Cleanup_Call) RunAndReturn(run func() error) *Runner_Cleanup_Call
type Runner_Create_Call ¶
Runner_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Runner_Create_Call) Return ¶
func (_c *Runner_Create_Call) Return(_a0 podrun.Pod, _a1 error) *Runner_Create_Call
func (*Runner_Create_Call) Run ¶
func (_c *Runner_Create_Call) Run(run func(_a0 podrun.Spec)) *Runner_Create_Call
func (*Runner_Create_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Runner_Create_Call) RunAndReturn(run func(podrun.Spec) (podrun.Pod, error)) *Runner_Create_Call
type Runner_Expecter ¶
type Runner_Expecter struct {
// contains filtered or unexported fields
}
func (*Runner_Expecter) Cleanup ¶
func (_e *Runner_Expecter) Cleanup() *Runner_Cleanup_Call
Cleanup is a helper method to define mock.On call
func (*Runner_Expecter) Create ¶
func (_e *Runner_Expecter) Create(_a0 interface{}) *Runner_Create_Call
Create is a helper method to define mock.On call
- _a0 podrun.Spec