helpers

package
v0.0.0-...-79d498c Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildExampleImage

func BuildExampleImage(daemonUrl, exampleName, compiler, provider string, mounts []string) (*types.Image, error)

func BuildTestImage

func BuildTestImage(daemonUrl, appDir, compiler, provider string, mounts []string) (*types.Image, error)

func ConfigWithAws

func ConfigWithAws(config config.DaemonConfig, aws config.Aws) config.DaemonConfig

func ConfigWithQemu

func ConfigWithQemu(config config.DaemonConfig, qemu config.Qemu) config.DaemonConfig

func ConfigWithVirtualbox

func ConfigWithVirtualbox(config config.DaemonConfig, virtualbox config.Virtualbox) config.DaemonConfig

func ConfigWithVsphere

func ConfigWithVsphere(config config.DaemonConfig, vsphere config.Vsphere) config.DaemonConfig

func CreateExampleVolume

func CreateExampleVolume(daemonUrl, volumeName, provider string, size int) (*types.Volume, error)

func CreateTestDataVolume

func CreateTestDataVolume(daemonUrl, volumeName, provider string) (*types.Volume, error)

func GetProjectRoot

func GetProjectRoot() string

func MakeContainers

func MakeContainers(projectRoot string) error

func NewAwsConfig

func NewAwsConfig() (_ config.Aws, err error)

func NewQemuConfig

func NewQemuConfig() (_ config.Qemu, err error)

func NewTestConfig

func NewTestConfig() (cfg config.DaemonConfig)

func NewVirtualboxConfig

func NewVirtualboxConfig() (_ config.Virtualbox, err error)

func NewVsphereConfig

func NewVsphereConfig() (_ config.Vsphere, err error)

func RemoveContainers

func RemoveContainers(projectRoot string) error

func RunExampleInstance

func RunExampleInstance(daemonUrl, instanceName, imageName string, mountPointsToVols map[string]string) (*types.Instance, error)

func TarExampleApp

func TarExampleApp(appDir string) (*os.File, error)

func TarTestApp

func TarTestApp(appDir string) (*os.File, error)

func TarTestVolume

func TarTestVolume() (*os.File, error)

func WaitForIp

func WaitForIp(daemonUrl, instanceId string, timeout time.Duration) (string, error)

Types

type TempUnikHome

type TempUnikHome struct {
	Dir string
}

func (*TempUnikHome) SetupUnik

func (t *TempUnikHome) SetupUnik()

func (*TempUnikHome) TearDownUnik

func (t *TempUnikHome) TearDownUnik()

Jump to

Keyboard shortcuts

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