clojusc.mesomatic.examples.util

cwd

(cwd)

finish

(finish & {:keys [exit-code]})

get-agent-id

(get-agent-id offer)

get-docstring

(get-docstring an-ns fn-name)

get-exec-info

(get-exec-info state)

get-meta

(get-meta an-ns rest)

Takes the same form as the general get-in function:

(get-meta ’my.name.space [’my-func :doc])

get-metas

(get-metas an-ns)

get-uuid

(get-uuid)

A Mesos/protobufs-friendly UUID wrapper.

keys->keyword

(keys->keyword m)

Convert all the keys in a map from strings to lower-cased keywords.

lower-key

(lower-key str)

Convert a string to a lower-cased keyword.

make-env

(make-env)

Convert the OS environment variables to a Mesos-ready map.