Versions in this module Expand all Collapse all v1 v1.0.0 Aug 26, 2026 Changes in this version + const DefaultCommandLifetime + const FailureCanceled + const FailureDeadlineExceeded + const FailureDispatch + const FailureInvalidDispatchResult + const FailureOutcomeUnknown + const MaxBulkSelection + const MaxCommandLifetime + const MaxFailureBytes + const MaxIdentityBytes + const MaxReasonBytes + const MaxScaleReplicas + func NewCommandID() (string, error) + type Action string + const ActionBulkRetry + const ActionDelete + const ActionDrain + const ActionPause + const ActionPurge + const ActionReplay + const ActionResume + const ActionRetry + const ActionScale + const ActionTerminate + type Command struct + Action Action + Actor string + AuthenticationMethod string + Capability string + CommandID string + Confirmed bool + Deadline time.Time + IdempotencyKey string + Reason string + Replay *Replay + RequestedAt time.Time + Scale *Scale + Selection *Selection + Target Target + TenantID string + func (c Command) Validate() error + type CommandResult struct + AcknowledgedAt time.Time + CapabilityAvailable *bool + CommandID string + CompletedAt time.Time + DispatchedAt time.Time + Failure string + IdempotencyKey string + Protocol *ProtocolVersion + Status CommandStatus + TenantID string + WorkerID string + func (r CommandResult) Validate() error + type CommandStatus string + const CommandAccepted + const CommandAcknowledged + const CommandCanceled + const CommandDispatched + const CommandFailed + const CommandPartial + const CommandPending + const CommandSucceeded + const CommandTimedOut + const CommandUnknown + const CommandUnsupported + type Permission string + const PermissionAuditView + const PermissionBulkRetry + const PermissionDelete + const PermissionDiagnosticsView + const PermissionDrain + const PermissionPause + const PermissionPayloadView + const PermissionPurge + const PermissionRecordInspect + const PermissionRecordList + const PermissionReplay + const PermissionResume + const PermissionRetentionConfigure + const PermissionRetry + const PermissionScale + const PermissionTerminate + const PermissionView + type ProtocolVersion struct + Major uint16 + Minor uint16 + type Replay struct + Destination string + IdempotencyPolicy ReplayPolicy + type ReplayPolicy string + const ReplayRejectDuplicate + const ReplayReplaceDuplicate + type Scale struct + Replicas uint32 + type Selection struct + Limit uint32 + type SensitiveAccess struct + Actor string + CommandID string + OccurredAt time.Time + Permission Permission + Target Target + TenantID string + func (a SensitiveAccess) Validate() error + type Target struct + Kind TargetKind + Name string + type TargetKind string + const TargetDeadLetter + const TargetFailure + const TargetQueue + const TargetWorker + const TargetWorkerGroup + const TargetWorkload + type ValidationError struct + Field string + Problem string + func (e *ValidationError) Error() string