Skip to main content

Module Command

Module Command 

Source
Expand description

Command-domain handlers for CocoonService. RegisterCommand::Fn, ExecuteContributedCommand::Fn, UnregisterCommand::Fn.

Modules§

ExecuteContributedCommand
Look up a contributed command and execute it. Marshals the first protobuf argument oneof into serde_json::Value for the executor.
RegisterCommand
Wire a Cocoon-contributed command into Mountain’s CommandExecutor as a Proxied handler that forwards back to the sidecar.
UnregisterCommand
Remove a previously-registered Cocoon command from the executor.