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