Versions in this module Expand all Collapse all v0 v0.12.4 May 16, 2024 Changes in this version + const UVMContainerID — linux/amd64 + func GetOrAddNetworkNamespace(id string) *namespace — linux/amd64 + func RemoveNetworkNamespace(ctx context.Context, id string) (err error) — 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) ID() string + func (c *Container) InitProcess() Process + 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 interface{}) error + func (c *Container) Wait() prot.NotificationType + type Host struct — linux/amd64 + func NewHost(rtime runtime.Runtime, vsock transport.Transport, ...) *Host + func (*Host) Shutdown() + func (h *Host) AddContainer(id string, c *Container) error + func (h *Host) CreateContainer(ctx context.Context, id string, settings *prot.VMHostedContainerSettingsV2) (_ *Container, err error) + func (h *Host) ExecProcess(ctx context.Context, containerID string, params prot.ProcessParameters, ...) (_ int, err error) + func (h *Host) GetCreatedContainer(id string) (*Container, error) + func (h *Host) GetExternalProcess(pid int) (Process, error) + func (h *Host) GetProperties(ctx context.Context, containerID string, query prot.PropertyQuery) (*prot.PropertiesV2, error) + func (h *Host) GetStacks(ctx context.Context) (string, error) + func (h *Host) InjectFragment(ctx context.Context, fragment *guestresource.LCOWSecurityPolicyFragment) (err error) + func (h *Host) ModifySettings(ctx context.Context, containerID string, req *guestrequest.ModificationRequest) error + func (h *Host) RemoveContainer(id string) + func (h *Host) SecurityPolicyEnforcer() securitypolicy.SecurityPolicyEnforcer + func (h *Host) SetConfidentialUVMOptions(ctx context.Context, r *guestresource.LCOWConfidentialOptions) error + func (h *Host) ShutdownContainer(ctx context.Context, containerID string, graceful bool) error + func (h *Host) SignalContainerProcess(ctx context.Context, containerID string, processID uint32, ...) error + func (h *Host) Transport() transport.Transport + 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)