registrydisk

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 CleanupOrphanedEphemeralDisks(indexer cache.Store) error

func GenerateContainers

func GenerateContainers(vm *v1.VirtualMachine) ([]kubev1.Container, []kubev1.Volume, error)

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

func SetLocalDirectory(dir string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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