Versions in this module Expand all Collapse all v0 v0.4.0 Dec 4, 2020 Changes in this version + const UVMContainerID — linux/amd64 + type Container struct — linux/amd64 + func (c *Container) Delete(ctx context.Context) error + func (c *Container) ExecProcess(ctx context.Context, process *oci.Process, ...) (int, error) + func (c *Container) GetAllProcessPids(ctx context.Context) ([]int, error) + func (c *Container) GetProcess(pid uint32) (Process, error) + func (c *Container) GetStats(ctx context.Context) (*v1.Metrics, error) + func (c *Container) Kill(ctx context.Context, signal syscall.Signal) error + func (c *Container) Start(ctx context.Context, conSettings stdio.ConnectionSettings) (int, error) + func (c *Container) Update(ctx context.Context, resources string) error + func (c *Container) Wait() prot.NotificationType + type Host struct — linux/amd64 + func NewHost(rtime runtime.Runtime, vsock transport.Transport) *Host + func (h *Host) CreateContainer(ctx context.Context, id string, settings *prot.VMHostedContainerSettingsV2) (_ *Container, err error) + func (h *Host) GetContainer(id string) (*Container, error) + func (h *Host) GetExternalProcess(pid int) (Process, error) + func (h *Host) ModifyHostSettings(ctx context.Context, settings *prot.ModifySettingRequest) error + func (h *Host) RemoveContainer(id string) + func (h *Host) RunExternalProcess(ctx context.Context, params prot.ProcessParameters, ...) (_ int, err error) + func (h *Host) Shutdown() + type Process interface — linux/amd64 + Kill func(ctx context.Context, signal syscall.Signal) error + Pid func() int + ResizeConsole func(ctx context.Context, height, width uint16) error + Wait func() (<-chan int, chan<- bool)