plat

package
v0.4.1-119-ge95ea0d Latest Latest
Warning

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

Go to latest
Published: Mar 29, 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 PlatformConfig

Types

type Platform

type Platform interface {
	component.Component
}

type PlatformConfig

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

func (PlatformConfig) IsUnpacked added in v0.4.0

func (pc PlatformConfig) IsUnpacked() bool

func (PlatformConfig) KConfig added in v0.4.0

func (pc PlatformConfig) KConfig() kconfig.KeyValueMap

func (PlatformConfig) KConfigTree added in v0.4.0

func (pc PlatformConfig) KConfigTree(env ...*kconfig.KeyValue) (*kconfig.KConfigFile, error)

func (PlatformConfig) Name

func (pc PlatformConfig) Name() string

func (PlatformConfig) Path added in v0.4.0

func (pc PlatformConfig) Path() string

func (PlatformConfig) PrintInfo

func (pc PlatformConfig) PrintInfo(ctx context.Context) string

func (PlatformConfig) Source

func (pc PlatformConfig) Source() string

func (PlatformConfig) Type

func (PlatformConfig) Version

func (pc PlatformConfig) Version() string

Jump to

Keyboard shortcuts

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