rump

package
v0.0.0-...-79d498c Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	BootstrapTypeEC2 = "ec2"
	BootstrapTypeUDP = "udp"
)

Variables

This section is empty.

Functions

func BuildBootableImage

func BuildBootableImage(kernel, cmdline string, usePartitionTables, noCleanup bool) (string, error)

func CreateImageAws

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

func CreateImageAwsAddStub

func CreateImageAwsAddStub(kernel, 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)

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 RumpGoCompiler

type RumpGoCompiler struct {
	RumCompilerBase
}

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 (*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