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

func CleanupEphemeralDisks(vm *v1.VirtualMachine) error

func CleanupOrphanedEphemeralDisks

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

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

func SetLocalDataOwner

func SetLocalDataOwner(user string)

The unit test suite uses this function

func SetLocalDirectory

func SetLocalDirectory(dir string) error

func TakeOverRegistryDisks

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