Documentation ¶
Index ¶
- Variables
- func VerifyChecksums(mounter Mounter, vmi *v1.VirtualMachineInstance) error
- type DiskChecksums
- type KernelBootChecksum
- type MockMounter
- func (_m *MockMounter) ComputeChecksums(vmi *v1.VirtualMachineInstance) (*DiskChecksums, error)
- 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 ¶
Functions ¶
func VerifyChecksums ¶ added in v1.1.1
func VerifyChecksums(mounter Mounter, vmi *v1.VirtualMachineInstance) error
Types ¶
type DiskChecksums ¶ added in v1.1.1
type DiskChecksums struct { KernelBootChecksum KernelBootChecksum ContainerDiskChecksums map[string]uint32 }
type KernelBootChecksum ¶ added in v1.1.1
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) ComputeChecksums ¶ added in v1.1.1
func (_m *MockMounter) ComputeChecksums(vmi *v1.VirtualMachineInstance) (*DiskChecksums, error)
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 ComputeChecksums(vmi *v1.VirtualMachineInstance) (*DiskChecksums, 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.