Documentation
¶
Index ¶
- func BuildExampleImage(daemonUrl, exampleName, compiler, provider string, mounts []string) (*types.Image, error)
- func BuildTestImage(daemonUrl, appDir, compiler, provider string, mounts []string) (*types.Image, error)
- func CreateExampleVolume(daemonUrl, volumeName, provider string, size int) (*types.Volume, error)
- func CreateTestDataVolume(daemonUrl, volumeName, provider string) (*types.Volume, error)
- func GetProjectRoot() string
- func MakeContainers(projectRoot string) error
- func NewAwsConfig() (_ config.Aws, err error)
- func NewQemuConfig() (_ config.Qemu, err error)
- func NewTestConfig() (cfg config.DaemonConfig)
- func NewVirtualboxConfig() (_ config.Virtualbox, err error)
- func NewVsphereConfig() (_ config.Vsphere, err error)
- func NewXenConfig() (_ config.Xen, err error)
- func RemoveContainers(projectRoot string) error
- func RunExampleInstance(daemonUrl, instanceName, imageName string, mountPointsToVols map[string]string) (*types.Instance, error)
- func TarExampleApp(appDir string) (*os.File, error)
- func TarTestApp(appDir string) (*os.File, error)
- func TarTestVolume() (*os.File, error)
- func WaitForIp(daemonUrl, instanceId string, timeout time.Duration) (string, error)
- type TempUnikHome
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildExampleImage ¶
func BuildTestImage ¶
func CreateExampleVolume ¶
func CreateTestDataVolume ¶
func GetProjectRoot ¶
func GetProjectRoot() string
func MakeContainers ¶
func NewAwsConfig ¶
func NewQemuConfig ¶
func NewTestConfig ¶
func NewTestConfig() (cfg config.DaemonConfig)
func NewVirtualboxConfig ¶
func NewVirtualboxConfig() (_ config.Virtualbox, err error)
func NewVsphereConfig ¶
func NewXenConfig ¶
func RemoveContainers ¶
func RunExampleInstance ¶
func TarTestVolume ¶
Types ¶
type TempUnikHome ¶
type TempUnikHome struct {
Dir string
}
func (*TempUnikHome) SetupUnik ¶
func (t *TempUnikHome) SetupUnik()
func (*TempUnikHome) TearDownUnik ¶
func (t *TempUnikHome) TearDownUnik()
Click to show internal directories.
Click to hide internal directories.