es.systems
Systems indexing/searching
all
(all)
return all existing systems
clone
(clone id {:keys [hostname], :as spec})
clones an existing system
create
(create system)
(create system id)
create a system returning its id
get
(get id)
Grabs a system by an id, return nil if missing
get-system-by-host
(get-system-by-host host)
Search for a system using its hostname
keywordize
(keywordize m)
converting ES values back into keywords
missing-systems
(missing-systems systems)
Filter systems that aren't persisted already
partial
(partial id part)
partial update of a system into ES
query
(query query & {:keys [from size], :or {size 100, from 0}})
system-val
(system-val spec ks)
grabbing instance id of spec
update-ip
(update-ip system-id ip)
updates public ip address in the machine persisted data