Versions in this module Expand all Collapse all v0 v0.2.2 Jan 15, 2025 Changes in this version + var ErrEmptyRootFS = errors.New("RootFS of the container creation data cannot be empty") + func WithCPUCount(cru uint) oci.SpecOpts + func WithMemoryLimit(limit uint64) oci.SpecOpts + func WithRootfsPropagation(rootfsPropagation pkg.RootFSPropagation) oci.SpecOpts + type Module struct + func New(client zbus.Client, root string, containerd string) *Module + func (c *Module) Delete(ns string, id pkg.ContainerID) error + func (c *Module) Exec(ns string, containerID string, timeout time.Duration, args ...string) error + func (c *Module) Inspect(ns string, id pkg.ContainerID) (result pkg.Container, err error) + func (c *Module) List(ns string) ([]pkg.ContainerID, error) + func (c *Module) ListNS() ([]string, error) + func (c *Module) Logs(ns string, containerID string) (logs string, err error) + func (c *Module) Run(ns string, data pkg.Container) (id pkg.ContainerID, err error) + func (c *Module) SignalDelete(ns string, id pkg.ContainerID) error + func (c *Module) Watch(ctx context.Context)