Documentation ¶
Overview ¶
Package mock_driver is a generated GoMock package.
Index ¶
- type MockVolumeDriver
- func (m *MockVolumeDriver) Create(createRequest *driver.CreateRequest) error
- func (m *MockVolumeDriver) EXPECT() *MockVolumeDriverMockRecorder
- func (m *MockVolumeDriver) IsMounted(volumeName string) bool
- func (m *MockVolumeDriver) Remove(removeRequest *driver.RemoveRequest) error
- func (m *MockVolumeDriver) Setup(volumeName string, volume *types.Volume)
- type MockVolumeDriverMockRecorder
- func (mr *MockVolumeDriverMockRecorder) Create(createRequest interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) IsMounted(volumeName interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Remove(removeRequest interface{}) *gomock.Call
- func (mr *MockVolumeDriverMockRecorder) Setup(volumeName, volume interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVolumeDriver ¶
type MockVolumeDriver struct {
// contains filtered or unexported fields
}
MockVolumeDriver is a mock of VolumeDriver interface.
func NewMockVolumeDriver ¶
func NewMockVolumeDriver(ctrl *gomock.Controller) *MockVolumeDriver
NewMockVolumeDriver creates a new mock instance.
func (*MockVolumeDriver) Create ¶
func (m *MockVolumeDriver) Create(createRequest *driver.CreateRequest) error
Create mocks base method.
func (*MockVolumeDriver) EXPECT ¶
func (m *MockVolumeDriver) EXPECT() *MockVolumeDriverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVolumeDriver) IsMounted ¶
func (m *MockVolumeDriver) IsMounted(volumeName string) bool
IsMounted mocks base method.
func (*MockVolumeDriver) Remove ¶
func (m *MockVolumeDriver) Remove(removeRequest *driver.RemoveRequest) error
Remove mocks base method.
type MockVolumeDriverMockRecorder ¶
type MockVolumeDriverMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumeDriverMockRecorder is the mock recorder for MockVolumeDriver.
func (*MockVolumeDriverMockRecorder) Create ¶
func (mr *MockVolumeDriverMockRecorder) Create(createRequest interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockVolumeDriverMockRecorder) IsMounted ¶
func (mr *MockVolumeDriverMockRecorder) IsMounted(volumeName interface{}) *gomock.Call
IsMounted indicates an expected call of IsMounted.
func (*MockVolumeDriverMockRecorder) Remove ¶
func (mr *MockVolumeDriverMockRecorder) Remove(removeRequest interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockVolumeDriverMockRecorder) Setup ¶
func (mr *MockVolumeDriverMockRecorder) Setup(volumeName, volume interface{}) *gomock.Call
Setup indicates an expected call of Setup.
Click to show internal directories.
Click to hide internal directories.