Skip to main content

Module types

Module types 

Source

Structs§

CommandStatusResponse
Response to status queries
CommandTarget
Identifies the specific resource a command is addressed to.
CreateCommandRequest
Request to create a new command
CreateCommandResponse
Response to command creation
Envelope
Commands envelope sent to deployments
LeaseInfo
Lease information
LeaseRequest
Request for acquiring leases
LeaseResponse
Response to lease acquisition
ReleaseRequest
Request to release a lease
ResponseHandling
Response handling configuration for deployments
StorageUpload
Storage upload information
SubmitResponseRequest
Request to submit a command response (from deployment)
TraceContext
W3C Trace Context propagated with a command lease.
UploadCompleteRequest
Request to mark upload as complete
UploadCompleteResponse
Response to upload completion

Enums§

BodySpec
Body specification supporting inline and storage modes
CommandDeliveryMode
How a command is delivered to its target resource.
CommandResponse
Command response from deployment
CommandState
Command states in the Commands protocol lifecycle
CommandTargetType
The kind of command-capable resource a command targets.

Constants§

COMMANDS_INLINE_MAX_BYTES
Default inline size limit in bytes (150 KB) This is the most conservative platform limit (Azure Service Bus Standard at 256KB) with headroom for base64 encoding (~4/3 inflation) and envelope metadata.
COMMANDS_PROTOCOL_VERSION
Protocol version identifier
DEFAULT_DRAIN_TIMEOUT_MS
Time allowed for in-flight handlers to finish before abort and release.
DEFAULT_LEASE_SECONDS
Default lease duration requested per poll, in seconds.
DEFAULT_MAX_LEASES
Default maximum number of leases requested per poll.
DEFAULT_POLL_INTERVAL_SECS
Default interval between lease polls, in seconds.
DEFAULT_POLL_JITTER
Fractional randomization applied to receiver poll sleeps.
DEFAULT_POLL_MAX_INTERVAL_MS
Maximum interval reached by the receiver’s empty/error poll backoff.
WORKER_COMMAND_PUSH_PATH
Runtime-owned HTTP endpoint for pushing commands to Local and Kubernetes Workers. Worker transports handle this path before app HTTP forwarding.