Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeProcess ¶
NodeProcess is an autogenerated mock type for the NodeProcess type
func NewNodeProcess ¶
func NewNodeProcess(t interface {
mock.TestingT
Cleanup(func())
}) *NodeProcess
NewNodeProcess creates a new instance of NodeProcess. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*NodeProcess) EXPECT ¶ added in v1.9.0
func (_m *NodeProcess) EXPECT() *NodeProcess_Expecter
func (*NodeProcess) Status ¶
func (_mock *NodeProcess) Status() status.Status
Status provides a mock function for the type NodeProcess
type NodeProcess_Expecter ¶ added in v1.9.0
type NodeProcess_Expecter struct {
// contains filtered or unexported fields
}
func (*NodeProcess_Expecter) Status ¶ added in v1.9.0
func (_e *NodeProcess_Expecter) Status() *NodeProcess_Status_Call
Status is a helper method to define mock.On call
func (*NodeProcess_Expecter) Stop ¶ added in v1.9.0
func (_e *NodeProcess_Expecter) Stop(ctx interface{}) *NodeProcess_Stop_Call
Stop is a helper method to define mock.On call
- ctx context.Context
type NodeProcess_Status_Call ¶ added in v1.9.0
NodeProcess_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*NodeProcess_Status_Call) Return ¶ added in v1.9.0
func (_c *NodeProcess_Status_Call) Return(status1 status.Status) *NodeProcess_Status_Call
func (*NodeProcess_Status_Call) Run ¶ added in v1.9.0
func (_c *NodeProcess_Status_Call) Run(run func()) *NodeProcess_Status_Call
func (*NodeProcess_Status_Call) RunAndReturn ¶ added in v1.9.0
func (_c *NodeProcess_Status_Call) RunAndReturn(run func() status.Status) *NodeProcess_Status_Call
type NodeProcess_Stop_Call ¶ added in v1.9.0
NodeProcess_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*NodeProcess_Stop_Call) Return ¶ added in v1.9.0
func (_c *NodeProcess_Stop_Call) Return(n int) *NodeProcess_Stop_Call
func (*NodeProcess_Stop_Call) Run ¶ added in v1.9.0
func (_c *NodeProcess_Stop_Call) Run(run func(ctx context.Context)) *NodeProcess_Stop_Call
func (*NodeProcess_Stop_Call) RunAndReturn ¶ added in v1.9.0
func (_c *NodeProcess_Stop_Call) RunAndReturn(run func(ctx context.Context) int) *NodeProcess_Stop_Call