Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStatus ¶
MockStatus is an autogenerated mock type for the Status type
func NewMockStatus ¶
func NewMockStatus(t interface { mock.TestingT Cleanup(func()) }) *MockStatus
NewMockStatus creates a new instance of MockStatus. 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 (*MockStatus) EXPECT ¶
func (_m *MockStatus) EXPECT() *MockStatus_Expecter
func (*MockStatus) Register ¶
func (_m *MockStatus) Register(_a0 string, _a1 interface{})
Register provides a mock function with given fields: _a0, _a1
type MockStatus_Expecter ¶
type MockStatus_Expecter struct {
// contains filtered or unexported fields
}
func (*MockStatus_Expecter) Register ¶
func (_e *MockStatus_Expecter) Register(_a0 interface{}, _a1 interface{}) *MockStatus_Register_Call
Register is a helper method to define mock.On call
- _a0 string
- _a1 interface{}
type MockStatus_Register_Call ¶
MockStatus_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'
func (*MockStatus_Register_Call) Return ¶
func (_c *MockStatus_Register_Call) Return() *MockStatus_Register_Call
func (*MockStatus_Register_Call) Run ¶
func (_c *MockStatus_Register_Call) Run(run func(_a0 string, _a1 interface{})) *MockStatus_Register_Call
func (*MockStatus_Register_Call) RunAndReturn ¶
func (_c *MockStatus_Register_Call) RunAndReturn(run func(string, interface{})) *MockStatus_Register_Call
type MockWarning ¶
MockWarning is an autogenerated mock type for the Warning type
func NewMockWarning ¶
func NewMockWarning(t interface { mock.TestingT Cleanup(func()) }) *MockWarning
NewMockWarning creates a new instance of MockWarning. 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 (*MockWarning) EXPECT ¶
func (_m *MockWarning) EXPECT() *MockWarning_Expecter
func (*MockWarning) Register ¶
func (_m *MockWarning) Register(_a0 string, _a1 interface{})
Register provides a mock function with given fields: _a0, _a1
type MockWarning_Expecter ¶
type MockWarning_Expecter struct {
// contains filtered or unexported fields
}
func (*MockWarning_Expecter) Register ¶
func (_e *MockWarning_Expecter) Register(_a0 interface{}, _a1 interface{}) *MockWarning_Register_Call
Register is a helper method to define mock.On call
- _a0 string
- _a1 interface{}
type MockWarning_Register_Call ¶
MockWarning_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'
func (*MockWarning_Register_Call) Return ¶
func (_c *MockWarning_Register_Call) Return() *MockWarning_Register_Call
func (*MockWarning_Register_Call) Run ¶
func (_c *MockWarning_Register_Call) Run(run func(_a0 string, _a1 interface{})) *MockWarning_Register_Call
func (*MockWarning_Register_Call) RunAndReturn ¶
func (_c *MockWarning_Register_Call) RunAndReturn(run func(string, interface{})) *MockWarning_Register_Call