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.
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
- func RegisterFlags()
- type ELFLoader
- func (elfloader *ELFLoader) Architecture() arch.Architecture
- func (elfloader *ELFLoader) Columns() []tableprinter.Column
- func (elfloader *ELFLoader) Command() []string
- func (elfloader *ELFLoader) ConfigFilename() string
- func (elfloader *ELFLoader) Delete(ctx context.Context) error
- func (elfloader *ELFLoader) Format() pack.PackageFormat
- func (elfloader *ELFLoader) Initrd() *initrd.InitrdConfig
- func (elfloader *ELFLoader) Kernel() string
- func (elfloader *ELFLoader) KernelDbg() string
- func (elfloader *ELFLoader) Metadata() interface{}
- func (ocipack *ELFLoader) Name() string
- func (elfloader *ELFLoader) Platform() plat.Platform
- func (elfloader *ELFLoader) Pull(ctx context.Context, opts ...pack.PullOption) error
- func (elfloader *ELFLoader) Push(ctx context.Context, opts ...pack.PushOption) error
- func (ocipack *ELFLoader) String() string
- func (ocipack *ELFLoader) Type() unikraft.ComponentType
- func (ocipack *ELFLoader) Version() string
- type ELFLoaderPrebuiltOption
Constants ¶
const ( PrebuiltRegistry = "loaders.unikraft.org" DefaultPrebuilt = "loaders.unikraft.org/default:latest" )
Variables ¶
This section is empty.
Functions ¶
func RegisterFlags ¶ added in v0.6.7
func RegisterFlags()
Types ¶
type ELFLoader ¶
type ELFLoader struct {
// contains filtered or unexported fields
}
func NewELFLoaderFromPrebuilt ¶
func NewELFLoaderFromPrebuilt(ctx context.Context, linuxu string, pbopts ...ELFLoaderPrebuiltOption) (*ELFLoader, error)
NewELFLoaderFromPrebuilt ...
func (*ELFLoader) Architecture ¶
func (elfloader *ELFLoader) Architecture() arch.Architecture
Architecture implements kraftkit.sh/unikraft.target.Target
func (*ELFLoader) Columns ¶
func (elfloader *ELFLoader) Columns() []tableprinter.Column
Columns implements kraftkit.sh/pack.Package
func (*ELFLoader) ConfigFilename ¶
ConfigFilename implements kraftkit.sh/unikraft.target.Target
func (*ELFLoader) Format ¶
func (elfloader *ELFLoader) Format() pack.PackageFormat
Format implements kraftkit.sh/unikraft.component.Component
func (*ELFLoader) Initrd ¶
func (elfloader *ELFLoader) Initrd() *initrd.InitrdConfig
Initrd implements kraftkit.sh/unikraft.target.Target
func (*ELFLoader) Metadata ¶
func (elfloader *ELFLoader) Metadata() interface{}
Metadata implements kraftkit.sh/pack.Package
func (*ELFLoader) Type ¶
func (ocipack *ELFLoader) Type() unikraft.ComponentType
Type implements kraftkit.sh/unikraft.Nameable
type ELFLoaderPrebuiltOption ¶
ELFLoaderPrebuiltOption ...