[−][src]Module transistor::docker
Docker Client module. It has the basic struct Crux
which contains the CruxClient
for Docker.
Contains the following functions:
state
queries endpoint/
with aGET
. No args.tx_log
requests endpoint/tx-log
viaPOST
. A Vector ofAction
is expected as argument.tx_logs
resquests endpoint/tx-log
viaGET
. No args.entity
requests endpoint/entity
viaPOST
. A serializedCruxId
, serializedEdn::Key
or a String containing akeyword
must be passed as argument.document_by_id
resquests endpoint/document/{:content-hash}
viaGET
.{:content-hash}
can be obtained with functionentity_tx
.documents
resquests endpoint/documents
viaPOST
. The argument of this reuqest is a vector ofcontent-hashes
that converts to an edn set as a body.
Enum Action
is available in this module
Structs
Crux | Struct to connect define parameters to connect to Crux
|
CruxClient |
|
Enums
Action | Action to perform in Crux. Receives a serialized Edn
First field of your edn should be |