Documentation ¶
Index ¶
- type MockMaker
- type MockMaker_Expecter
- type MockMaker_MakeSandboxes_Call
- func (_c *MockMaker_MakeSandboxes_Call) Return(_a0 sandboxes.Sandboxes, _a1 error) *MockMaker_MakeSandboxes_Call
- func (_c *MockMaker_MakeSandboxes_Call) Run(run func(rootSandboxes map[string]types.Sandbox, ...)) *MockMaker_MakeSandboxes_Call
- func (_c *MockMaker_MakeSandboxes_Call) RunAndReturn(...) *MockMaker_MakeSandboxes_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMaker ¶
MockMaker is an autogenerated mock type for the Maker type
func NewMockMaker ¶
NewMockMaker creates a new instance of MockMaker. 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 (*MockMaker) EXPECT ¶
func (_m *MockMaker) EXPECT() *MockMaker_Expecter
type MockMaker_Expecter ¶
type MockMaker_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMaker_Expecter) MakeSandboxes ¶
func (_e *MockMaker_Expecter) MakeSandboxes(rootSandboxes interface{}, serverSandboxes interface{}) *MockMaker_MakeSandboxes_Call
MakeSandboxes is a helper method to define mock.On call
- rootSandboxes map[string]types.Sandbox
- serverSandboxes map[string]types.Sandbox
type MockMaker_MakeSandboxes_Call ¶
MockMaker_MakeSandboxes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MakeSandboxes'
func (*MockMaker_MakeSandboxes_Call) Return ¶
func (_c *MockMaker_MakeSandboxes_Call) Return(_a0 sandboxes.Sandboxes, _a1 error) *MockMaker_MakeSandboxes_Call
func (*MockMaker_MakeSandboxes_Call) Run ¶
func (_c *MockMaker_MakeSandboxes_Call) Run(run func(rootSandboxes map[string]types.Sandbox, serverSandboxes map[string]types.Sandbox)) *MockMaker_MakeSandboxes_Call
func (*MockMaker_MakeSandboxes_Call) RunAndReturn ¶
Click to show internal directories.
Click to hide internal directories.