arch

package
v0.4.2-47-g7fa5500 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 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 except in compliance with the License.

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 TransformFromSchema added in v0.4.0

func TransformFromSchema(ctx context.Context, data interface{}) (interface{}, error)

TransformFromSchema parses an input schema and returns an instantiated ArchitectureConfig

Types

type Architecture

type Architecture interface {
	component.Component
}

type ArchitectureConfig

type ArchitectureConfig struct {
	// contains filtered or unexported fields
}

func NewArchitectureFromSchema added in v0.4.0

func NewArchitectureFromSchema(value string) (ArchitectureConfig, error)

NewArchitectureFromSchema parse short syntax for architecture configuration

func (ArchitectureConfig) IsUnpacked added in v0.4.0

func (ac ArchitectureConfig) IsUnpacked() bool

func (ArchitectureConfig) KConfig added in v0.4.0

func (ac ArchitectureConfig) KConfig() kconfig.KeyValueMap

func (ArchitectureConfig) KConfigTree added in v0.4.0

func (ac ArchitectureConfig) KConfigTree(env ...*kconfig.KeyValue) (*kconfig.KConfigFile, error)

func (ArchitectureConfig) Name

func (ac ArchitectureConfig) Name() string

func (ArchitectureConfig) Path added in v0.4.0

func (ac ArchitectureConfig) Path() string

func (ArchitectureConfig) PrintInfo

func (ac ArchitectureConfig) PrintInfo(ctx context.Context) string

func (ArchitectureConfig) Source

func (ac ArchitectureConfig) Source() string

func (ArchitectureConfig) Type

func (ArchitectureConfig) Version

func (ac ArchitectureConfig) Version() string

Jump to

Keyboard shortcuts

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