elfloader

package
v0.6.4-206-ga9db5ac Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: BSD-3-Clause Imports: 11 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.

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

View Source
const (
	PrebuiltRegistry = "loaders.unikraft.org"
	DefaultPrebuilt  = "loaders.unikraft.org/default:latest"
)

Variables

This section is empty.

Functions

This section is empty.

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) Command

func (elfloader *ELFLoader) Command() []string

Command implements kraftkit.sh/unikraft.target.Target

func (*ELFLoader) ConfigFilename

func (elfloader *ELFLoader) ConfigFilename() string

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) Kernel

func (elfloader *ELFLoader) Kernel() string

Kernel implements kraftkit.sh/unikraft.target.Target

func (*ELFLoader) KernelDbg

func (elfloader *ELFLoader) KernelDbg() string

KernelDbg implements kraftkit.sh/unikraft.target.Target

func (*ELFLoader) Metadata

func (elfloader *ELFLoader) Metadata() any

Metadata implements kraftkit.sh/pack.Package

func (*ELFLoader) Name

func (ocipack *ELFLoader) Name() string

Name implements kraftkit.sh/unikraft.Nameable

func (*ELFLoader) Platform

func (elfloader *ELFLoader) Platform() plat.Platform

Platform implements kraftkit.sh/unikraft.target.Target

func (*ELFLoader) Pull

func (elfloader *ELFLoader) Pull(ctx context.Context, opts ...pack.PullOption) error

Pull implements kraftkit.sh/pack.Package

func (*ELFLoader) Push

func (elfloader *ELFLoader) Push(ctx context.Context, opts ...pack.PushOption) error

Push implements kraftkit.sh/pack.Package

func (*ELFLoader) Type

func (ocipack *ELFLoader) Type() unikraft.ComponentType

Type implements kraftkit.sh/unikraft.Nameable

func (*ELFLoader) Version

func (ocipack *ELFLoader) Version() string

Version implements kraftkit.sh/unikraft.Nameable

type ELFLoaderPrebuiltOption

type ELFLoaderPrebuiltOption func(*ELFLoader) error

ELFLoaderPrebuiltOption ...

Jump to

Keyboard shortcuts

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