Documentation ¶
Index ¶
- func GenerateContainers(vmi *v1.VirtualMachineInstance, podVolumeName string, podVolumeMountDir string) []kubev1.Container
- func GetFilePath(vmi *v1.VirtualMachineInstance, volumeName string) (string, string, error)
- func SetFilePermissions(vmi *v1.VirtualMachineInstance) error
- func SetLocalDataOwner(user string)
- func SetLocalDirectory(dir string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateContainers ¶
func GenerateContainers(vmi *v1.VirtualMachineInstance, podVolumeName string, podVolumeMountDir string) []kubev1.Container
The controller uses this function to generate the container specs for hosting the container registry disks.
func GetFilePath ¶
GetFilePath returns (path to disk image, image type, and error)
func SetFilePermissions ¶
func SetFilePermissions(vmi *v1.VirtualMachineInstance) error
func SetLocalDirectory ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.