registrydisk

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: Apache-2.0 Imports: 9 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 GetFilePath added in v0.2.0

func GetFilePath(vm *v1.VirtualMachine, volumeName string) (string, string, error)

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

func TakeOverRegistryDisks added in v0.2.0

func TakeOverRegistryDisks(vm *v1.VirtualMachine) error

The virt-handler renames all registry disks in order to indicate to virt-launcher that it took the ownership of the image

Types

This section is empty.

Jump to

Keyboard shortcuts

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