Documentation ¶
Overview ¶
Package container manages spawning containers/sandboxes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Log *slog.Logger DB database.DB // GrainID is the ID of the grain to start GrainID types.GrainID // Api will be provided to the grain as our bootstrap interface. Api grain.SandstormApi // Args will be passed to the grain agent as extra arguments. Args []string }
A Command specifies a task to start in a container.
type Container ¶
type Container struct { Bootstrap capnp.Client // Bootstrap interface for the Container. // contains filtered or unexported fields }
A Container is a reference to a running container/sandboxed grain.
Click to show internal directories.
Click to hide internal directories.