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 ¶
- func TransformFromSchema(ctx context.Context, data interface{}) (interface{}, error)
- type Platform
- type PlatformConfig
- func (pc PlatformConfig) IsUnpacked() bool
- func (pc PlatformConfig) KConfig() kconfig.KeyValueMap
- func (pc PlatformConfig) KConfigTree(env ...*kconfig.KeyValue) (*kconfig.KConfigFile, error)
- func (pc PlatformConfig) Name() string
- func (pc PlatformConfig) Path() string
- func (pc PlatformConfig) PrintInfo(ctx context.Context) string
- func (pc PlatformConfig) Source() string
- func (pc PlatformConfig) Type() unikraft.ComponentType
- func (pc PlatformConfig) Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TransformFromSchema ¶ added in v0.4.0
TransformFromSchema parses an input schema and returns an instantiated PlatformConfig
Types ¶
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) Source ¶
func (pc PlatformConfig) Source() string
func (PlatformConfig) Type ¶
func (pc PlatformConfig) Type() unikraft.ComponentType
func (PlatformConfig) Version ¶
func (pc PlatformConfig) Version() string
Click to show internal directories.
Click to hide internal directories.