Documentation
¶
Overview ¶
Package binary implements a ControllerPlugin that forks an external binary once per operation.
Calling convention ¶
<binary_path> --op <op> [--<key> <value> ...]
The binary writes a single JSON object to stdout and exits. Exit code 0 + empty "error" field = success. Exit code != 0 or non-empty "error" field = failure.
Operations and flags ¶
create
--volume-id <volumeID> pre-generated UUIDv4
--name <name> human-readable label
stdout JSON: {"token":"...","private_data":"...","error":""}
destroy
--volume-id <volumeID>
stdout JSON: {"error":""}
Configuration ¶
The binary reads its own credentials / config from wherever it likes (file, env vars, etc.). CubeMaster only passes the operation-specific fields above.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.