core

package
v0.3.0-17-g4ff5271 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: BSD-3-Clause Imports: 7 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 expect in compliance with the License.

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"`
	Name           string `export:"N,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() string

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