nomad v0.7.1 Nomad.VirtualMachines

Interface for the Nomad Virtual Machines API. All the functions here will call their respective callbacks generated from the desired cloud’s client adapter.

Summary

Functions

Functions

attach_disk(region, instance, disk, device_name, fun \\ &GCloudex.ComputeEngine.Client.attach_disk/3)
attach_disk!(region, instance, disk, device_name, fun \\ &GCloudex.ComputeEngine.Client.attach_disk/3)
create_disk(region, size)

Callback implementation for NomadVirtualMachines.create_disk/2.

create_disk(region, size, image)

Callback implementation for NomadVirtualMachines.create_disk/3.

create_disk!(region, size)

Callback implementation for NomadVirtualMachines.create_disk!/2.

create_disk!(region, size, image)

Callback implementation for NomadVirtualMachines.create_disk!/3.

create_virtual_machine(region, class, image, auto_delete, fun \\ &insert_instance/2)
create_virtual_machine!(region, class, image, auto_delete, fun \\ &insert_instance/2)
delete_disk(region, disk, fun \\ &GCloudex.ComputeEngine.Client.delete_disk/2)
delete_disk!(region, disk, fun \\ &GCloudex.ComputeEngine.Client.delete_disk/2)
delete_virtual_machine(region, instance, fun \\ &delete_instance/2)
delete_virtual_machine!(region, instance, fun \\ &delete_instance/2)
detach_disk(region, instance, disk, fun \\ &GCloudex.ComputeEngine.Client.detach_disk/3)
detach_disk!(region, instance, disk, fun \\ &GCloudex.ComputeEngine.Client.detach_disk/3)
get_disk(region, disk, fun \\ &GCloudex.ComputeEngine.Client.get_disk/3)
get_disk!(region, disk, fun \\ &GCloudex.ComputeEngine.Client.get_disk/3)
get_virtual_machine(region, instance, fun \\ &get_instance/3)
get_virtual_machine!(region, instance, fun \\ &get_instance/3)
list_classes(fun \\ &lc/1)
list_disks(region, fun \\ &GCloudex.ComputeEngine.Client.list_disks/2)
list_disks!(region, fun \\ &GCloudex.ComputeEngine.Client.list_disks/2)
list_regions(fun \\ &GCloudex.ComputeEngine.Client.list_regions/1)
list_regions!(fun \\ &GCloudex.ComputeEngine.Client.list_regions/1)
list_virtual_machines(region, fun \\ &list_instances/2)
list_virtual_machines!(region, fun \\ &list_instances/2)
reboot_virtual_machine(region, instance, fun \\ &reset_instance/2)
reboot_virtual_machine!(region, instance, fun \\ &reset_instance/2)
set_virtual_machine_class(region, instance, class, fun \\ &set_machine_type/3)
set_virtual_machine_class!(region, instance, class, fun \\ &set_machine_type/3)
start_virtual_machine(region, instance, fun \\ &start_instance/2)
start_virtual_machine!(region, instance, fun \\ &start_instance/2)
stop_virtual_machine(region, instance, fun \\ &stop_instance/2)
stop_virtual_machine!(region, instance, fun \\ &stop_instance/2)