Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecOptions ¶
type ExecOptions struct {
// VMId is the unique identifier for this VM
VMId string
// NetworkNamespace is the path to the network namespace (e.g., /run/netns/vm-xxx)
NetworkNamespace string
// SocketPath is the path to the firecracker API socket
SocketPath string
// FirecrackerArgs are additional arguments to pass to firecracker
FirecrackerArgs []string
// Stdin, Stdout, Stderr for the firecracker process
Stdin *os.File
Stdout *os.File
Stderr *os.File
}
ExecOptions contains options for executing firecracker in a jailed environment
type Jailer ¶
type Jailer struct {
// contains filtered or unexported fields
}
Jailer provides functionality similar to firecracker's jailer but integrated into metald
func NewJailer ¶
func NewJailer(logger *slog.Logger, config *config.JailerConfig) *Jailer
NewJailer creates a new integrated jailer
Click to show internal directories.
Click to hide internal directories.