Versions in this module Expand all Collapse all v0 v0.2.0 Nov 9, 2023 Changes in this version + var ErrEmptyAnnotations = errors.New("spec annotations are empty") + var Log = logrus.WithField("subsystem", "unikontainers") + func IsBimaContainer(bundle string) bool + func SendIPCMessage(socketAddress string, message IPCMessage) error + func SockAddrExists(sockAddr string) bool + type IPCMessage string + const AckReexec + const ReexecStarted + const StartExecve + type RootFs struct + BlkDevice disk.PartitionStat + IsBlock bool + Path string + type UnikernelConfig struct + Hypervisor string + UnikernelBinary string + UnikernelCmd string + UnikernelType string + func GetUnikernelConfig(bundleDir string, spec *specs.Spec) (*UnikernelConfig, error) + func (c *UnikernelConfig) Map() map[string]string + type Unikontainer struct + BaseDir string + Spec *specs.Spec + State *specs.State + func Get(containerID string, rootDir string) (*Unikontainer, error) + func New(bundlePath string, containerID string, rootDir string) (*Unikontainer, error) + func (u *Unikontainer) AwaitAckReexec() error + func (u *Unikontainer) AwaitReexecStarted() error + func (u *Unikontainer) AwaitStartExecve() error + func (u *Unikontainer) Create(pid int) error + func (u *Unikontainer) Delete() error + func (u *Unikontainer) Exec() error + func (u *Unikontainer) ExecuteHooks(name string) error + func (u *Unikontainer) InitialSetup() error + func (u *Unikontainer) Kill() error + func (u *Unikontainer) SendAckReexec() error + func (u *Unikontainer) SendReexecStarted() error + func (u *Unikontainer) SendStartExecve() error