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 ConfigWithAws(config config.DaemonConfig, aws config.Aws) config.DaemonConfig
- func ConfigWithQemu(config config.DaemonConfig, qemu config.Qemu) config.DaemonConfig
- func ConfigWithVirtualbox(config config.DaemonConfig, virtualbox config.Virtualbox) config.DaemonConfig
- func ConfigWithVsphere(config config.DaemonConfig, vsphere config.Vsphere) config.DaemonConfig
- 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 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 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 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 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.