run

package
v0.5.2-79-g9a61729 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: BSD-3-Clause Imports: 25 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)"`
	InitRd       string `long:"initrd" short:"i" usage:"Use the specified initrd"`
	Memory       string `long:"memory" short:"M" usage:"Assign MB memory to the unikernel" default:"64M"`
	Name         string `long:"name" short:"n" usage:"Name of the instance"`

	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"`
	KernelArgs    []string `long:"kernel-arg" short:"a" usage:"Set additional kernel arguments"`
	// contains filtered or unexported fields
}

func (*Run) Pre added in v0.2.0

func (opts *Run) Pre(cmd *cobra.Command, _ []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