Appearance
sdk.container_service
Event-driven open-container lifecycle, indexing, roles, and bounded traversal. Physical identities are stable for one session generation; runtime container ids may be reused by the client and are therefore never exposed as identity.
lua
local M = require("sdk.container_service")Constants
Lua 5.4 has no enums — these are integer (or string) fields on the module.
| Name | Value | Summary |
|---|---|---|
Service | Service | Container service class. |
new
function · new(options?: ContainerServiceOptions): ContainerService?, ErrorMessage?
Create a container tracker with roles and pagination.
Parameters
| Name | Type | Summary |
|---|---|---|
options | ContainerServiceOptions | — |
Returns
| Type | Summary |
|---|---|
ContainerService?, ErrorMessage? | — |
get
function · get(options?: ContainerServiceOptions): ContainerService?, ErrorMessage?
Shared singleton.
Parameters
| Name | Type | Summary |
|---|---|---|
options | ContainerServiceOptions | — |
Returns
| Type | Summary |
|---|---|
ContainerService?, ErrorMessage? | — |
Get
alias · Get(options?: ContainerServiceOptions): ContainerService?, ErrorMessage?
Same as get.
Alias
Same as get.
Parameters
| Name | Type | Summary |
|---|---|---|
options | ContainerServiceOptions | — |
Returns
| Type | Summary |
|---|---|
ContainerService?, ErrorMessage? | — |