package
0.0.0-20241231175036-e5a3c7784f22
Repository: https://github.com/firecracker-microvm/firecracker-containerd.git
Documentation: pkg.go.dev

# Functions

NewFCControlClient returns a Firecracker control client for the given socket.
Prepare is a common integration test setup function which ensures isolation and prepares the runtime configuration for firecracker-containerd.
RunTask is a utility function for running a task and returning the result.
ShimBaseDir checks the "SHIM_BASE_DIR" environment variable and returns its value if it exists, else returns the default value.
WithDefaultNetwork is an option to use the default network configuration in the runtime configuration for integration testing.

# Constants

FirecrackerRuntime is the Firecracker-containerd runtime.

# Variables

ContainerdSockPath is the default Firecracker-containerd socket path.
DefaultRuntimeConfig represents a simple firecracker-containerd configuration.
NumberOfVms is the number of VMs used in integration testing set by either environment variable read or defaults to 5 VMs.

# Structs

CommandResult encapsulates the stdout, stderr, and exit code returned from a task.