Documentation ¶
Index ¶
- func GenerateContainers(vm *v1.VirtualMachine, podVolumeName string, podVolumeMountDir string) ([]kubev1.Container, error)
- func GetFilePath(vm *v1.VirtualMachine, volumeName string) (string, string, error)
- func SetFilePermissions(vm *v1.VirtualMachine) 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(vm *v1.VirtualMachine, podVolumeName string, podVolumeMountDir string) ([]kubev1.Container, 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 SetFilePermissions ¶ added in v0.3.0
func SetFilePermissions(vm *v1.VirtualMachine) 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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.