Documentation ¶
Index ¶
- type MockTask
- func (_m *MockTask) EXPECT() *MockTask_Expecter
- func (_m *MockTask) Executable() string
- func (_m *MockTask) Id() string
- func (_m *MockTask) Name() string
- func (_m *MockTask) Pid() int
- func (_m *MockTask) PrivateUrl() string
- func (_m *MockTask) PublicUrl() string
- func (_m *MockTask) Type() providers.Type
- type MockTask_Executable_Call
- type MockTask_Expecter
- func (_e *MockTask_Expecter) Executable() *MockTask_Executable_Call
- func (_e *MockTask_Expecter) Id() *MockTask_Id_Call
- func (_e *MockTask_Expecter) Name() *MockTask_Name_Call
- func (_e *MockTask_Expecter) Pid() *MockTask_Pid_Call
- func (_e *MockTask_Expecter) PrivateUrl() *MockTask_PrivateUrl_Call
- func (_e *MockTask_Expecter) PublicUrl() *MockTask_PublicUrl_Call
- func (_e *MockTask_Expecter) Type() *MockTask_Type_Call
- type MockTask_Id_Call
- type MockTask_Name_Call
- type MockTask_Pid_Call
- type MockTask_PrivateUrl_Call
- type MockTask_PublicUrl_Call
- type MockTask_Type_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTask ¶
MockTask is an autogenerated mock type for the Task type
func NewMockTask ¶
NewMockTask creates a new instance of MockTask. 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 (*MockTask) EXPECT ¶
func (_m *MockTask) EXPECT() *MockTask_Expecter
func (*MockTask) Executable ¶
Executable provides a mock function with given fields:
func (*MockTask) PrivateUrl ¶
PrivateUrl provides a mock function with given fields:
type MockTask_Executable_Call ¶
MockTask_Executable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Executable'
func (*MockTask_Executable_Call) Return ¶
func (_c *MockTask_Executable_Call) Return(_a0 string) *MockTask_Executable_Call
func (*MockTask_Executable_Call) Run ¶
func (_c *MockTask_Executable_Call) Run(run func()) *MockTask_Executable_Call
func (*MockTask_Executable_Call) RunAndReturn ¶
func (_c *MockTask_Executable_Call) RunAndReturn(run func() string) *MockTask_Executable_Call
type MockTask_Expecter ¶
type MockTask_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTask_Expecter) Executable ¶
func (_e *MockTask_Expecter) Executable() *MockTask_Executable_Call
Executable is a helper method to define mock.On call
func (*MockTask_Expecter) Id ¶
func (_e *MockTask_Expecter) Id() *MockTask_Id_Call
Id is a helper method to define mock.On call
func (*MockTask_Expecter) Name ¶
func (_e *MockTask_Expecter) Name() *MockTask_Name_Call
Name is a helper method to define mock.On call
func (*MockTask_Expecter) Pid ¶
func (_e *MockTask_Expecter) Pid() *MockTask_Pid_Call
Pid is a helper method to define mock.On call
func (*MockTask_Expecter) PrivateUrl ¶
func (_e *MockTask_Expecter) PrivateUrl() *MockTask_PrivateUrl_Call
PrivateUrl is a helper method to define mock.On call
func (*MockTask_Expecter) PublicUrl ¶
func (_e *MockTask_Expecter) PublicUrl() *MockTask_PublicUrl_Call
PublicUrl is a helper method to define mock.On call
func (*MockTask_Expecter) Type ¶
func (_e *MockTask_Expecter) Type() *MockTask_Type_Call
Type is a helper method to define mock.On call
type MockTask_Id_Call ¶
MockTask_Id_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Id'
func (*MockTask_Id_Call) Return ¶
func (_c *MockTask_Id_Call) Return(_a0 string) *MockTask_Id_Call
func (*MockTask_Id_Call) Run ¶
func (_c *MockTask_Id_Call) Run(run func()) *MockTask_Id_Call
func (*MockTask_Id_Call) RunAndReturn ¶
func (_c *MockTask_Id_Call) RunAndReturn(run func() string) *MockTask_Id_Call
type MockTask_Name_Call ¶
MockTask_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*MockTask_Name_Call) Return ¶
func (_c *MockTask_Name_Call) Return(_a0 string) *MockTask_Name_Call
func (*MockTask_Name_Call) Run ¶
func (_c *MockTask_Name_Call) Run(run func()) *MockTask_Name_Call
func (*MockTask_Name_Call) RunAndReturn ¶
func (_c *MockTask_Name_Call) RunAndReturn(run func() string) *MockTask_Name_Call
type MockTask_Pid_Call ¶
MockTask_Pid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Pid'
func (*MockTask_Pid_Call) Return ¶
func (_c *MockTask_Pid_Call) Return(_a0 int) *MockTask_Pid_Call
func (*MockTask_Pid_Call) Run ¶
func (_c *MockTask_Pid_Call) Run(run func()) *MockTask_Pid_Call
func (*MockTask_Pid_Call) RunAndReturn ¶
func (_c *MockTask_Pid_Call) RunAndReturn(run func() int) *MockTask_Pid_Call
type MockTask_PrivateUrl_Call ¶
MockTask_PrivateUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrivateUrl'
func (*MockTask_PrivateUrl_Call) Return ¶
func (_c *MockTask_PrivateUrl_Call) Return(_a0 string) *MockTask_PrivateUrl_Call
func (*MockTask_PrivateUrl_Call) Run ¶
func (_c *MockTask_PrivateUrl_Call) Run(run func()) *MockTask_PrivateUrl_Call
func (*MockTask_PrivateUrl_Call) RunAndReturn ¶
func (_c *MockTask_PrivateUrl_Call) RunAndReturn(run func() string) *MockTask_PrivateUrl_Call
type MockTask_PublicUrl_Call ¶
MockTask_PublicUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PublicUrl'
func (*MockTask_PublicUrl_Call) Return ¶
func (_c *MockTask_PublicUrl_Call) Return(_a0 string) *MockTask_PublicUrl_Call
func (*MockTask_PublicUrl_Call) Run ¶
func (_c *MockTask_PublicUrl_Call) Run(run func()) *MockTask_PublicUrl_Call
func (*MockTask_PublicUrl_Call) RunAndReturn ¶
func (_c *MockTask_PublicUrl_Call) RunAndReturn(run func() string) *MockTask_PublicUrl_Call
type MockTask_Type_Call ¶
MockTask_Type_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Type'
func (*MockTask_Type_Call) Return ¶
func (_c *MockTask_Type_Call) Return(_a0 providers.Type) *MockTask_Type_Call
func (*MockTask_Type_Call) Run ¶
func (_c *MockTask_Type_Call) Run(run func()) *MockTask_Type_Call
func (*MockTask_Type_Call) RunAndReturn ¶
func (_c *MockTask_Type_Call) RunAndReturn(run func() providers.Type) *MockTask_Type_Call