container_disk

package
v0.59.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL