Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type FakeFileInfoIno1
- type FakeFileInfoIno2
- type MockInterface
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetMountRefs(arg0 string) ([]string, error)
- func (m *MockInterface) IsLikelyNotMountPoint(arg0 string) (bool, error)
- func (m *MockInterface) List() ([]mount.MountPoint, error)
- func (m *MockInterface) Mount(arg0, arg1, arg2 string, arg3 []string) error
- func (m *MockInterface) MountSensitive(arg0, arg1, arg2 string, arg3, arg4 []string) error
- func (m *MockInterface) Unmount(arg0 string) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) GetMountRefs(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) IsLikelyNotMountPoint(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) List() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Mount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) MountSensitive(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Unmount(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFileInfoIno1 ¶
type FakeFileInfoIno1 struct { }
func (FakeFileInfoIno1) IsDir ¶
func (f FakeFileInfoIno1) IsDir() bool
func (FakeFileInfoIno1) ModTime ¶
func (f FakeFileInfoIno1) ModTime() time.Time
func (FakeFileInfoIno1) Mode ¶
func (f FakeFileInfoIno1) Mode() fs.FileMode
func (FakeFileInfoIno1) Name ¶
func (f FakeFileInfoIno1) Name() string
func (FakeFileInfoIno1) Size ¶
func (f FakeFileInfoIno1) Size() int64
func (FakeFileInfoIno1) Sys ¶
func (f FakeFileInfoIno1) Sys() interface{}
type FakeFileInfoIno2 ¶
type FakeFileInfoIno2 struct { }
func (FakeFileInfoIno2) IsDir ¶
func (f FakeFileInfoIno2) IsDir() bool
func (FakeFileInfoIno2) ModTime ¶
func (f FakeFileInfoIno2) ModTime() time.Time
func (FakeFileInfoIno2) Mode ¶
func (f FakeFileInfoIno2) Mode() fs.FileMode
func (FakeFileInfoIno2) Name ¶
func (f FakeFileInfoIno2) Name() string
func (FakeFileInfoIno2) Size ¶
func (f FakeFileInfoIno2) Size() int64
func (FakeFileInfoIno2) Sys ¶
func (f FakeFileInfoIno2) Sys() interface{}
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetMountRefs ¶
func (m *MockInterface) GetMountRefs(arg0 string) ([]string, error)
GetMountRefs mocks base method.
func (*MockInterface) IsLikelyNotMountPoint ¶
func (m *MockInterface) IsLikelyNotMountPoint(arg0 string) (bool, error)
IsLikelyNotMountPoint mocks base method.
func (*MockInterface) List ¶
func (m *MockInterface) List() ([]mount.MountPoint, error)
List mocks base method.
func (*MockInterface) Mount ¶
func (m *MockInterface) Mount(arg0, arg1, arg2 string, arg3 []string) error
Mount mocks base method.
func (*MockInterface) MountSensitive ¶
func (m *MockInterface) MountSensitive(arg0, arg1, arg2 string, arg3, arg4 []string) error
MountSensitive mocks base method.
func (*MockInterface) Unmount ¶
func (m *MockInterface) Unmount(arg0 string) error
Unmount mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) GetMountRefs ¶
func (mr *MockInterfaceMockRecorder) GetMountRefs(arg0 interface{}) *gomock.Call
GetMountRefs indicates an expected call of GetMountRefs.
func (*MockInterfaceMockRecorder) IsLikelyNotMountPoint ¶
func (mr *MockInterfaceMockRecorder) IsLikelyNotMountPoint(arg0 interface{}) *gomock.Call
IsLikelyNotMountPoint indicates an expected call of IsLikelyNotMountPoint.
func (*MockInterfaceMockRecorder) List ¶
func (mr *MockInterfaceMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*MockInterfaceMockRecorder) Mount ¶
func (mr *MockInterfaceMockRecorder) Mount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Mount indicates an expected call of Mount.
func (*MockInterfaceMockRecorder) MountSensitive ¶
func (mr *MockInterfaceMockRecorder) MountSensitive(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
MountSensitive indicates an expected call of MountSensitive.
func (*MockInterfaceMockRecorder) Unmount ¶
func (mr *MockInterfaceMockRecorder) Unmount(arg0 interface{}) *gomock.Call
Unmount indicates an expected call of Unmount.