osv

package
v0.0.0-...-f3b9c16 Latest Latest
Warning

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

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

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)

Jump to

Keyboard shortcuts

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