common

package
v0.0.0-...-57ca673 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2016 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const UnikLogsPort = 9876

Variables

This section is empty.

Functions

func CompileInstanceListener

func CompileInstanceListener(sourceDir, instanceListenerPrefix, dockerImage string, createImageFunc func(kernel, args string, mntPoints []string) (*types.RawImage, error)) (*types.RawImage, error)

func ConvertRawImage

func ConvertRawImage(sourceFormat, targetFormat types.ImageFormat, inputFile, outputFile string) error

func GetControllerPortForMnt

func GetControllerPortForMnt(image *types.Image, mntPoint string) (int, error)

func GetDeviceNameForMnt

func GetDeviceNameForMnt(image *types.Image, mntPoint string) (string, error)

func GetImage

func GetImage(p providers.Provider, nameOrIdPrefix string) (*types.Image, error)

func GetInstance

func GetInstance(p providers.Provider, nameOrIdPrefix string) (*types.Instance, error)

func GetInstanceIp

func GetInstanceIp(listenerIp string, listenerPort int, instanceId string) (string, error)

func GetInstanceListenerIp

func GetInstanceListenerIp(dataPrefix string, timeout time.Duration) (string, error)

func GetInstanceLogs

func GetInstanceLogs(instance *types.Instance) (string, error)

func GetVirtualImageSize

func GetVirtualImageSize(imageFile string, imageFormat types.ImageFormat) (int64, error)

func GetVolume

func GetVolume(p providers.Provider, nameOrIdPrefix string) (*types.Volume, error)

func VerifyMntsInput

func VerifyMntsInput(p providers.Provider, image *types.Image, mntPointsToVolumeIds map[string]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