registrydisk

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2018 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(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 GetFilePath(vm *v1.VirtualMachine, volumeName string) (string, string, error)

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

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