Documentation ¶
Index ¶
- type MockMounter
- func (_m *MockMounter) ContainerDisksReady(vmi *v1.VirtualMachineInstance, notInitializedSince time.Time) (bool, error)
- func (_m *MockMounter) EXPECT() *_MockMounterRecorder
- func (_m *MockMounter) MountAndVerify(vmi *v1.VirtualMachineInstance) (map[string]*container_disk.DiskInfo, error)
- func (_m *MockMounter) Unmount(vmi *v1.VirtualMachineInstance) error
- type Mounter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMounter ¶ added in v0.30.6
type MockMounter struct {
// contains filtered or unexported fields
}
Mock of Mounter interface
func NewMockMounter ¶ added in v0.30.6
func NewMockMounter(ctrl *gomock.Controller) *MockMounter
func (*MockMounter) ContainerDisksReady ¶ added in v0.30.6
func (_m *MockMounter) ContainerDisksReady(vmi *v1.VirtualMachineInstance, notInitializedSince time.Time) (bool, error)
func (*MockMounter) EXPECT ¶ added in v0.30.6
func (_m *MockMounter) EXPECT() *_MockMounterRecorder
func (*MockMounter) MountAndVerify ¶ added in v0.46.0
func (_m *MockMounter) MountAndVerify(vmi *v1.VirtualMachineInstance) (map[string]*container_disk.DiskInfo, error)
func (*MockMounter) Unmount ¶ added in v0.30.6
func (_m *MockMounter) Unmount(vmi *v1.VirtualMachineInstance) error
type Mounter ¶
type Mounter interface { ContainerDisksReady(vmi *v1.VirtualMachineInstance, notInitializedSince time.Time) (bool, error) MountAndVerify(vmi *v1.VirtualMachineInstance) (map[string]*containerdisk.DiskInfo, error) Unmount(vmi *v1.VirtualMachineInstance) error }
func NewMounter ¶ added in v0.29.0
func NewMounter(isoDetector isolation.PodIsolationDetector, mountStateDir string, clusterConfig *virtconfig.ClusterConfig) Mounter
Click to show internal directories.
Click to hide internal directories.