Liking cljdoc? Tell your friends :D

clostack.payload

Functions to work with appropriate cloudstack payloads.

Functions to work with appropriate cloudstack payloads.
raw docstring

build-argsclj

(build-args args)

Build arguments, ready to be signed.

Build arguments, ready to be signed.
sourceraw docstring

build-payloadclj

(build-payload {:keys [api-key api-secret expiration]} args)
(build-payload config opcode args)

Build a signed payload for a given config, opcode and args triplet

Build a signed payload for a given config, opcode and args triplet
sourceraw docstring

default-expirationclj

source

serialize-pairclj

(serialize-pair [k v])

Encode a key/value pair

Encode a key/value pair
sourceraw docstring

signclj

(sign query api-secret)

Sign the given query

Sign the given query
sourceraw docstring

signable-argsclj

(signable-args path)

Transform a string to its expected signable form

Transform a string to its expected signable form
sourceraw docstring

transform-argclj

(transform-arg [k v])

transform argument into a list of key/value pairs.

transform argument into a list of key/value pairs.
sourceraw docstring

transform-argsclj

(transform-args args)

Transform arguments into a vector of key/value pairs.

Transform arguments into a vector of key/value pairs.
sourceraw docstring

transform-mapclj

(transform-map top-k [i m])

Encode a map argument appropriately

Encode a map argument appropriately
sourceraw docstring

transform-mapsclj

(transform-maps k maps)

For a list of maps, produce the expected key/value pairs.

For a list of maps, produce the expected key/value pairs.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close