Documentation ¶
Index ¶
- func CleanupEphemeralDisks(vm *v1.VirtualMachine) error
- func CleanupOrphanedEphemeralDisks(indexer cache.Store) error
- func GenerateContainers(vm *v1.VirtualMachine) ([]kubev1.Container, []kubev1.Volume, error)
- func MapRegistryDisks(vm *v1.VirtualMachine) (*v1.VirtualMachine, error)
- func SetLocalDataOwner(user string)
- func SetLocalDirectory(dir string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupEphemeralDisks ¶ added in v0.0.3
func CleanupEphemeralDisks(vm *v1.VirtualMachine) error
func CleanupOrphanedEphemeralDisks ¶ added in v0.0.4
func GenerateContainers ¶
The controller uses this function to generate the container specs for hosting the container registry disks.
func MapRegistryDisks ¶
func MapRegistryDisks(vm *v1.VirtualMachine) (*v1.VirtualMachine, error)
The virt-handler converts registry disks to their corresponding iscsi network disks when the VM spec is being defined as a domain with libvirt. The ports and host of the iscsi disks are already provided here by the controller.
func SetLocalDataOwner ¶ added in v0.0.3
func SetLocalDataOwner(user string)
The unit test suite uses this function
func SetLocalDirectory ¶ added in v0.0.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.