Versions in this module Expand all Collapse all v0 v0.2.0 Dec 21, 2018 Changes in this version + const LabelRoleMachineImage + func MakePvcVol(name, pvcname string) corev1.Volume + func MakeVolEmptyDirHugePages(name string) corev1.Volume v0.1.0 Aug 24, 2018 Changes in this version + const FinalizerDeletion + const HostStateBaseDir + const LabelApp + const LabelNodeHostname + const LabelRoleMigrate + const LabelRoleNoVNC + const LabelRoleVM + const NameDelimiter + const NamespaceVM + const RancherOUI + var ImageNoVNC = flag.String("image-novnc", "rancher/vm-novnc:latest", "NoVNC Docker Image") + var ImageVM = flag.String("image-vm", "rancher/vm:latest", "VM Docker Image") + var ImageVMTools = flag.String("image-tools", "rancher/vm-tools:latest", "Tools Docker Image") + func IsPodReady(pod *corev1.Pod) bool + func MakeEnvVar(name, value string, valueFrom *corev1.EnvVarSource) corev1.EnvVar + func MakeEnvVarFieldPath(name, fieldPath string) corev1.EnvVar + func MakeHostStateVol(vmName, volName string) corev1.Volume + func MakeVolEmptyDir(name string) corev1.Volume + func MakeVolFieldPath(name, path, fieldPath string) corev1.Volume + func MakeVolHostPath(name, path string) corev1.Volume + func MakeVolumeMount(name, mountPath, subPath string, readOnly bool) corev1.VolumeMount