containerdisk

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

func GetFilePath(vmi *v1.VirtualMachineInstance, volumeName string) (string, string, error)

GetFilePath returns (path to disk image, image type, and error)

func SetFilePermissions

func SetFilePermissions(vmi *v1.VirtualMachineInstance) error

func SetLocalDataOwner

func SetLocalDataOwner(user string)

The unit test suite uses this function

func SetLocalDirectory

func SetLocalDirectory(dir string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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