kata

package
v0.0.0-...-13d8f12 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 32 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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