Provider capabilities
What each provider can do, as onctl declares it in pkg/cloud/matrix.go. The
same table prints in your terminal with onctl capabilities, and
onctl capabilities <provider> shows one provider in detail, including the
statuses a paused VM has there.
| Provider | onctl pause | onctl images | onctl sizes | onctl restart |
|---|---|---|---|---|
| ac | ✅ | — | — | — |
| aws | ✅ | — | — | — |
| azure | ✅ | — | — | — |
| boxes | ✅ | ✅ | ✅ | — |
| ch | — | — | — | — |
| fc | ✅ | ✅ | — | ✅ |
| gcp | ✅ | — | ✅ | — |
| hetzner | ✅ | ✅ | ✅ | — |
| openshell | ✅ | — | — | — |
| ovh | ✅ | — | ✅ | — |
| static | — | — | — | — |
| Column | Meaning |
|---|---|
onctl pause | Pausing a VM to stop compute cost, and onctl resume to bring it back. |
onctl images, onctl sizes | Listing the images and sizes onctl create takes. |
onctl restart | Cold-booting a VM again from its own disk. |
Implementation details
onctl capabilities --all (or onctl capabilities <provider> for one)
shows the rest of what pkg/cloud/matrix.go declares, for contributors:
| Column | Meaning |
|---|---|
| PAUSE | What pause does: stop the VM (it keeps its disk), snapshot it with its memory, or snapshot its disk and delete the server (Hetzner, which bills stopped servers). |
| PAUSED IN | Where a paused VM is listed: with the running ones (List), only among paused ones (ListPaused), or both. |
| PAUSED STATUS | The statuses that mean paused on a listed VM (per provider only). |
| SSH READY | How onctl knows ssh is up: a TCP probe, the VM's status, or never (it waits for ssh itself). |
| NO CONFIG | Whether the provider works without an onctl.yaml. |
| --SIZE, --IMAGE | Whether onctl create takes the flag, or through which config key it is set instead. |
| DEAD | Whether a VM can show as dead: a local microVM whose process died, which onctl create replaces. |
| SNAPSHOT RM | Delete a paused VM that is only a snapshot. |
| TUNNEL | VMs are reached through the provider rather than at an IP. |
| ADD KEY | The provider can put your ssh key on a VM made elsewhere. |
Each value is taken from the provider's code. A value marked ? isn't checked yet by the contract suite, which drives every provider's test fakes and fails when a declaration and the provider disagree:
go test -tags contract -run TestContract -v ./pkg/cloud/