Documentation ¶
Index ¶
Constants ¶
View Source
const OSV_AWS_MEMORY = 1024
View Source
const OSV_VIRTUALBOX_MEMORY = 512
View Source
const OSV_VMWARE_MEMORY = 512
Variables ¶
This section is empty.
Functions ¶
func CreateImageJava ¶
func CreateImageJava(params types.CompileImageParams, useEc2Bootstrap bool) (string, error)
CreateImageJava creates OSv image from project source code and returns filepath of it.
Types ¶
type OSvCompilerBase ¶
type OSvCompilerBase struct {
CreateImage func(params types.CompileImageParams, useEc2Bootstrap bool) (string, error)
}
type OsvAwsCompiler ¶
type OsvAwsCompiler struct {
OSvCompilerBase
}
func (*OsvAwsCompiler) CompileRawImage ¶
func (osvCompiler *OsvAwsCompiler) CompileRawImage(params types.CompileImageParams) (_ *types.RawImage, err error)
type OsvVirtualboxCompiler ¶
type OsvVirtualboxCompiler struct {
OSvCompilerBase
}
func (*OsvVirtualboxCompiler) CompileRawImage ¶
func (osvCompiler *OsvVirtualboxCompiler) CompileRawImage(params types.CompileImageParams) (_ *types.RawImage, err error)
type OsvVmwareCompiler ¶
type OsvVmwareCompiler struct {
OSvCompilerBase
}
func (*OsvVmwareCompiler) CompileRawImage ¶
func (osvCompiler *OsvVmwareCompiler) CompileRawImage(params types.CompileImageParams) (_ *types.RawImage, err error)
Click to show internal directories.
Click to hide internal directories.