core

package
v0.1.1-18-gd4c3523 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MakeArgs

type MakeArgs struct {
	OutputDir      string    `export:"O,omitempty"`
	ApplicationDir string    `export:"A"`
	PlatformDirs   string    `export:"P,omitempty"`
	LibraryDirs    string    `export:"L,omitempty"`
	Verbosity      Verbosity `export:"V,omitempty" default:"0"`
	ConfigPath     string    `export:"C,omitempty"`
}

type Unikraft

type Unikraft interface {
	component.Component
}

type UnikraftConfig

type UnikraftConfig struct {
	component.ComponentConfig
}

func ParseUnikraftConfig

func ParseUnikraftConfig(version string) (UnikraftConfig, error)

ParseUnikraftConfig parse short syntax for UnikraftConfig

func (UnikraftConfig) Component

func (uc UnikraftConfig) Component() component.ComponentConfig

func (UnikraftConfig) KConfigMenu

func (uc UnikraftConfig) KConfigMenu() (*kconfig.KConfigFile, error)

func (UnikraftConfig) KConfigValues

func (uc UnikraftConfig) KConfigValues() (kconfig.KConfigValues, error)

func (UnikraftConfig) Name

func (uc UnikraftConfig) Name() string

func (UnikraftConfig) PrintInfo

func (uc UnikraftConfig) PrintInfo(io *iostreams.IOStreams) error

func (UnikraftConfig) Source

func (uc UnikraftConfig) Source() string

func (UnikraftConfig) Type

func (UnikraftConfig) Version

func (uc UnikraftConfig) Version() string

type Verbosity

type Verbosity string
const (
	VerboseQuiet Verbosity = "0"
	VerboseBuild Verbosity = "1"
	VerboseExtra Verbosity = "2"

	// The delimeter used within Unikraft's build system
	MakeDelimeter = ":"
)

Jump to

Keyboard shortcuts

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