target

package
v0.2.2-2-g52bb9ff Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 License: BSD-3-Clause Imports: 7 Imported by: 1

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 Command

type Command []string

type TargetConfig

type TargetConfig struct {
	component.ComponentConfig

	Architecture arch.ArchitectureConfig `yaml:",omitempty" json:"architecture,omitempty"`
	Platform     plat.PlatformConfig     `yaml:",omitempty" json:"platform,omitempty"`
	Format       string                  `yaml:",omitempty" json:"format,omitempty"`
	Kernel       string                  `yaml:",omitempty" json:"kernel,omitempty"`
	KernelDbg    string                  `yaml:",omitempty" json:"kerneldbg,omitempty"`
	Initrd       *initrd.InitrdConfig    `yaml:",omitempty" json:"initrd,omitempty"`
	Command      []string                `yaml:",omitempty" json:"commands"`

	Extensions map[string]interface{} `yaml:",inline" json:"-"`
}

func (*TargetConfig) ArchPlatString

func (tc *TargetConfig) ArchPlatString() string

ArchPlatString returns the canonical name for platform architecture string combination

func (TargetConfig) Component

func (tc TargetConfig) Component() component.ComponentConfig

func (TargetConfig) KConfigMenu

func (tc TargetConfig) KConfigMenu() (*kconfig.KConfigFile, error)

func (TargetConfig) KConfigValues

func (tc TargetConfig) KConfigValues() (kconfig.KConfigValues, error)

func (TargetConfig) Name

func (tc TargetConfig) Name() string

func (TargetConfig) PrintInfo

func (tc TargetConfig) PrintInfo() string

func (TargetConfig) Source

func (tc TargetConfig) Source() string

func (TargetConfig) Type

func (TargetConfig) Version

func (tc TargetConfig) Version() string

type Targets

type Targets []TargetConfig

Jump to

Keyboard shortcuts

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