kata

package
v0.0.0-...-5c92047 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2026 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler manages the Kata shim and VM lifecycle.

func NewHandler

func NewHandler(cfg config.Config, binary string, loader runtimecore.OciLoader) (*Handler, error)

func (*Handler) Delete

func (k *Handler) Delete(ctx context.Context, sandboxID string) error

func (*Handler) HostResources

func (handler *Handler) HostResources(
	resource *runtime.LinuxSandboxResources,
) *runtime.LinuxSandboxResources

func (*Handler) List

func (k *Handler) List(ctx context.Context) ([]*runtimecore.State, error)

func (*Handler) SandboxDefaults

func (handler *Handler) SandboxDefaults() runtimecore.SandboxDefaults

func (*Handler) Start

func (k *Handler) Start(ctx context.Context, startConfig runtimecore.StartConfig) error

func (*Handler) Wait

func (k *Handler) Wait(ctx context.Context, sandboxID string) (runtimecore.Exit, error)

Jump to

Keyboard shortcuts

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