Liking cljdoc? Tell your friends :D

exoscale.compute.api.vm

Higher order functions to manipulate VMs

Higher order functions to manipulate VMs
raw docstring

by-nameclj

(by-name config vm)

The infamous name resolver, using listVirtualMachines since Cloudstack does not allow singular get calls

The infamous name resolver, using listVirtualMachines since
Cloudstack does not allow singular get calls
sourceraw docstring

deployclj

(deploy config params)

Deploy virtual machine

Deploy virtual machine
sourceraw docstring

destroyclj

(destroy config target)

Destroy virtual machine

Destroy virtual machine
sourceraw docstring

ensure-upclj

(ensure-up config target timeout)

Wait for machine to be up by probbing the SSH port. This assumes that inbound SSH is authorized

Wait for machine to be up by probbing the SSH port. This assumes that
inbound SSH is authorized
sourceraw docstring

get-passwordclj

(get-password config target)

Fetch encrypted password

Fetch encrypted password
sourceraw docstring

listclj

(list config & [params])

List virtual machines

List virtual machines
sourceraw docstring

rebootclj

(reboot config target & [params])

Reboot virtual machine.

Reboot virtual machine.
sourceraw docstring

reset-passwordclj

(reset-password config target & [params])

Reset-password virtual machine.

Reset-password virtual machine.
sourceraw docstring

resolve-idclj

(resolve-id config target)

Yield a target VM id from a target definition (name, ID, or vm return)

Yield a target VM id from a target definition (name, ID, or vm return)
sourceraw docstring

resolve-indirect-paramsclj

(resolve-indirect-params config {:keys [zoneid zone serviceoffering template]})
sourceraw docstring

sanitize-agclj

(sanitize-ag group)

Parse affinitygroup UUID

Parse affinitygroup UUID
sourceraw docstring

sanitize-nicclj

(sanitize-nic {:keys [macaddress ipaddress ip6address] :as nic})

Keep relevant information for public NICs. We do not keep network IDs and name since this isn't actionable information.

Keep relevant information for public NICs.
We do not keep network IDs and name since this isn't
actionable information.
sourceraw docstring

sanitize-nicsclj

(sanitize-nics nics)

Keep relevant information for private network NICs

Keep relevant information for private network NICs
sourceraw docstring

sanitize-publicclj

(sanitize-public nics)

Filter out public NIC and show relevant information

Filter out public NIC and show relevant information
sourceraw docstring

sanitize-sgclj

(sanitize-sg {:keys [id name]})

Keep relevant information for security groups

Keep relevant information for security groups
sourceraw docstring

sanitize-templateclj

(sanitize-template {:keys [templatename templateid]})

Rewrite template information to contain UUIDs

Rewrite template information to contain UUIDs
sourceraw docstring

sanitize-vmclj

(sanitize-vm resp)

Coerce API response into something a bit more useful

Coerce API response into something a bit more useful
sourceraw docstring

sshclj

(ssh config target command)

Asynchronously reach out to a machine to execute an ssh command

Asynchronously reach out to a machine to execute an ssh command
sourceraw docstring

startclj

(start config target & [params])

Start virtual machine.

Start virtual machine.
sourceraw docstring

stopclj

(stop config target & [params])

Stop virtual machine.

Stop virtual machine.
sourceraw docstring

updateclj

(update config target & [params])

Update virtual machine.

Update virtual machine.
sourceraw docstring

vmdef?clj

(vmdef? x)

Predicate to test against a valid VM definition

Predicate to test against a valid VM definition
sourceraw docstring

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

× close