Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProvider ¶
MockProvider is an autogenerated mock type for the Provider type
func NewMockProvider ¶
func NewMockProvider(t interface { mock.TestingT Cleanup(func()) }) *MockProvider
NewMockProvider creates a new instance of MockProvider. 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 (*MockProvider) EXPECT ¶
func (_m *MockProvider) EXPECT() *MockProvider_Expecter
type MockProvider_Expecter ¶
type MockProvider_Expecter struct {
// contains filtered or unexported fields
}
func (*MockProvider_Expecter) Shutdown ¶
func (_e *MockProvider_Expecter) Shutdown(_a0 interface{}) *MockProvider_Shutdown_Call
Shutdown is a helper method to define mock.On call
- _a0 context.Context
func (*MockProvider_Expecter) Start ¶
func (_e *MockProvider_Expecter) Start(_a0 interface{}) *MockProvider_Start_Call
Start is a helper method to define mock.On call
- _a0 context.Context
type MockProvider_Shutdown_Call ¶
MockProvider_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*MockProvider_Shutdown_Call) Return ¶
func (_c *MockProvider_Shutdown_Call) Return(_a0 error) *MockProvider_Shutdown_Call
func (*MockProvider_Shutdown_Call) Run ¶
func (_c *MockProvider_Shutdown_Call) Run(run func(_a0 context.Context)) *MockProvider_Shutdown_Call
func (*MockProvider_Shutdown_Call) RunAndReturn ¶
func (_c *MockProvider_Shutdown_Call) RunAndReturn(run func(context.Context) error) *MockProvider_Shutdown_Call
type MockProvider_Start_Call ¶
MockProvider_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*MockProvider_Start_Call) Return ¶
func (_c *MockProvider_Start_Call) Return(_a0 error) *MockProvider_Start_Call
func (*MockProvider_Start_Call) Run ¶
func (_c *MockProvider_Start_Call) Run(run func(_a0 context.Context)) *MockProvider_Start_Call
func (*MockProvider_Start_Call) RunAndReturn ¶
func (_c *MockProvider_Start_Call) RunAndReturn(run func(context.Context) error) *MockProvider_Start_Call
Click to show internal directories.
Click to hide internal directories.