[−][src]Module transistor::docker
Docker Client module. It contains the DockerClient
for Docker.
DockerClient
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
requests 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.entity_tx
requests endpoint/entity-tx
viaPOST
. A serializedCruxId
, serializedEdn::Key
or a String containing akeyword
must be passed as argument.entity_history
requests endpoint/entity-history
viaGET
. Arguments are thecrux.db/id
as aString
, an ordering argument defined by the enumdocker::Order
(Asc
orDesc
) and a boolean for thewith-docs?
flag (this returns values for the field:crux.db/doc
).query
requests endpoint/query
viaPOST
. Argument is aquery
of the typeQuery
. Retrives a Set containing a vector of the values defined by the functionQuery::find
.
Enum Action
is available in this module.
Enum Order
is available in this module to be used with entity_history
.
Examples can be found in the examples directory.
Structs
DockerClient |
|
Enums
Action | Action to perform in Crux. Receives a serialized Edn. |
Order |