mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 12:16:45 +00:00
feat(hetzner): add endpoints and UI for attaching firewalls and internal networks to the Server Creation dialog
This commit is contained in:
1 parent
3a8f52ce16
commit
a4b27641c8
7 files changed
+516
-1
No files matched your search
@@ -117,6 +117,16 @@ class HetznerService
|
||||
return $this->requestPaginated('get', '/ssh_keys', 'ssh_keys');
|
||||
}
|
||||
|
||||
public function getFirewalls(): array
|
||||
{
|
||||
return $this->requestPaginated('get', '/firewalls', 'firewalls');
|
||||
}
|
||||
|
||||
public function getNetworks(): array
|
||||
{
|
||||
return $this->requestPaginated('get', '/networks', 'networks');
|
||||
}
|
||||
|
||||
public function uploadSshKey(string $name, string $publicKey): array
|
||||
{
|
||||
$response = $this->request('post', '/ssh_keys', [
|
||||
|
||||
Reference in new issue
Block a user