run

package
v0.4.2-98-gf5f5c1a Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: BSD-3-Clause Imports: 26 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2022, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.2.0

func New() *cobra.Command

Types

type Run added in v0.2.0

type Run struct {
	Architecture  string `long:"arch" short:"m" usage:"Set the architecture"`
	Detach        bool   `long:"detach" short:"d" usage:"Run unikernel in background"`
	DisableAccel  bool   `long:"disable-acceleration" short:"W" usage:"Disable acceleration of CPU (usually enables TCG)"`
	Hypervisor    string
	InitRd        string `long:"initrd" short:"i" usage:"Use the specified initrd"`
	Memory        int    `long:"memory" short:"M" usage:"Assign MB memory to the unikernel"`
	Name          string `long:"name" short:"n" usage:"Name of the instance"`
	Platform      string `long:"plat" short:"p" usage:"Set the platform"`
	Remove        bool   `long:"rm" usage:"Automatically remove the unikernel when it shutsdown"`
	Target        string `long:"target" short:"t" usage:"Explicitly use the defined project target"`
	WithKernelDbg bool   `long:"symbolic" usage:"Use the debuggable (symbolic) unikernel"`
}

func (*Run) Pre added in v0.2.0

func (opts *Run) Pre(cmd *cobra.Command, args []string) error

func (*Run) Run added in v0.2.0

func (opts *Run) Run(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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