registrydisk

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyHost

func ApplyHost(vm *v1.VM, pod *kubev1.Pod)

The controller uses this function communicate the IP address of the POD with the containers hosting the registry disks.

func CleanUp

func CleanUp(vm *v1.VM, virtCli kubecli.KubevirtClient) error

func DisksAreReady

func DisksAreReady(pod *kubev1.Pod) bool

func GenerateContainers

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

The controller uses this function to generate the container specs for hosting the container registry disks.

func Initialize

func Initialize(vm *v1.VM, virtCli kubecli.KubevirtClient) error

The controller applies ports to registry disks when a VM spec is introduced into the cluster.

func MapRegistryDisks

func MapRegistryDisks(vm *v1.VM) (*v1.VM, 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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