rump

package
v0.0.0-...-727be20 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2016 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BootstrapTypeEC2    = "ec2"
	BootstrapTypeUDP    = "udp"
	BootstrapTypeGCLOUD = "gcloud"
	BootstrapTypeNoStub = "nostub"
)

Variables

This section is empty.

Functions

func CreateImageGCloud

func CreateImageGCloud(kernel string, args string, mntPoints, bakedEnv []string, noCleanup bool) (*types.RawImage, error)

func CreateImageGCloudAddStub

func CreateImageGCloudAddStub(kernel string, args string, mntPoints, bakedEnv []string, noCleanup bool) (*types.RawImage, error)

func CreateImageQemu

func CreateImageQemu(kernel string, args string, mntPoints, bakedEnv []string, noCleanup bool) (*types.RawImage, error)

func CreateImageVirtualBox

func CreateImageVirtualBox(kernel string, args string, mntPoints, bakedEnv []string, noCleanup bool) (*types.RawImage, error)

func CreateImageVirtualBoxAddStub

func CreateImageVirtualBoxAddStub(kernel string, args string, mntPoints, bakedEnv []string, noCleanup bool) (*types.RawImage, error)

func CreateImageVmware

func CreateImageVmware(kernel string, args string, mntPoints, bakedEnv []string, noCleanup bool) (*types.RawImage, error)

func CreateImageVmwareAddStub

func CreateImageVmwareAddStub(kernel string, args string, mntPoints, bakedEnv []string, noCleanup bool) (*types.RawImage, error)

func CreateImageXen

func CreateImageXen(kernel, args string, mntPoints, bakedEnv []string, noCleanup bool) (*types.RawImage, error)

func CreateImageXenAddStub

func CreateImageXenAddStub(kernel, args string, mntPoints, bakedEnv []string, noCleanup bool) (*types.RawImage, error)

Types

type Method

type Method string
const (
	Static Method = "static"
	DHCP   Method = "dhcp"
)

type RumCompilerBase

type RumCompilerBase struct {
	DockerImage string
	CreateImage func(kernel, args string, mntPoints, bakedEnv []string, noCleanup bool) (*types.RawImage, error)
}

type RumpCCompiler

type RumpCCompiler struct {
	RumCompilerBase
}

compiler for building images from interpreted/scripting languages (python, javascript)

func NewRumpCCompiler

func NewRumpCCompiler(dockerImage string, createImage func(kernel, args string, mntPoints, bakedEnv []string, noCleanup bool) (*types.RawImage, error)) *RumpCCompiler

func (*RumpCCompiler) CompileRawImage

func (r *RumpCCompiler) CompileRawImage(params types.CompileImageParams) (*types.RawImage, error)

type RumpGoCompiler

type RumpGoCompiler struct {
	RumCompilerBase
	BootstrapType string //ec2 | udp | nostub | gcloud
}

func (*RumpGoCompiler) CompileRawImage

func (r *RumpGoCompiler) CompileRawImage(params types.CompileImageParams) (*types.RawImage, error)

type RumpScriptCompiler

type RumpScriptCompiler struct {
	RumCompilerBase

	BootstrapType string //ec2 vs udp
	RunScriptArgs string
	ScriptEnv     []string
}

compiler for building images from interpreted/scripting languages (python, javascript)

func NewRumpJavaCompiler

func NewRumpJavaCompiler(dockerImage string, createImage func(kernel, args string, mntPoints, bakedEnv []string, noCleanup bool) (*types.RawImage, error), bootStrapType string) *RumpScriptCompiler

func NewRumpPythonCompiler

func NewRumpPythonCompiler(dockerImage string, createImage func(kernel, args string, mntPoints, bakedEnv []string, noCleanup bool) (*types.RawImage, error), bootStrapType string) *RumpScriptCompiler

func (*RumpScriptCompiler) CompileRawImage

func (r *RumpScriptCompiler) CompileRawImage(params types.CompileImageParams) (*types.RawImage, error)

Jump to

Keyboard shortcuts

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