Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotSupportedUnikernel = errors.New("unikernel is not supported")
Functions ¶
func UnikernelCommand ¶
func UnikernelCommand(unikernelType UnikernelType, data UnikernelParams) (string, error)
Types ¶
type Rumprun ¶
type Rumprun struct { Command string `json:"cmdline"` Net RumprunNet `json:"net"` Blk RumprunBlk `json:"blk"` }
func (Rumprun) CommandString ¶
type RumprunBlk ¶
type RumprunCmd ¶
type RumprunCmd struct {
Cmdline string `json:"cmdline"`
}
type RumprunNet ¶
type RumprunNoNet ¶
type RumprunNoNet struct { Command string `json:"cmdline"` Blk RumprunBlk `json:"blk"` }
type UnikernelParams ¶
type UnikernelParams struct { CmdLine string // The cmdline provided by the image EthDeviceIP string // The eth device IP EthDeviceMask string // The eth device mask EthDeviceGateway string // The eth device gateway }
UnikernelParams holds the data required to build the unikernels commandline
Click to show internal directories.
Click to hide internal directories.