entrypoint

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package entrypoint runs as PID 1 inside the sim sandbox: it seeds the podman configuration the sandbox needs, starts the background helpers, sources the host-configured setup hooks and finally execs the requested target command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIWait

func APIWait(args []string) int

APIWait is the "sim __apiwait <socket>" child: it waits for the background image import (when images are configured) and then execs the Docker API service, so an API client never sees a half-empty store.

func ImageLoad

func ImageLoad() int

ImageLoad is the "sim __imageload" child: it imports the tars sim exported on the host and records the outcome in the marker files the session gate reads.

func Main

func Main(args []string) int

Main is the entrypoint. args is the target command and its arguments.

Types

This section is empty.

Jump to

Keyboard shortcuts

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