From b864dbcd8c2f8bd5d076b0e106677c4d89a37fff Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Mon, 29 Apr 2024 17:48:18 +0200 Subject: [PATCH] More server related values --- proto/environments/environments_v1.proto | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/proto/environments/environments_v1.proto b/proto/environments/environments_v1.proto index df4ca01..5a450c5 100644 --- a/proto/environments/environments_v1.proto +++ b/proto/environments/environments_v1.proto @@ -91,12 +91,29 @@ enum Provider { PROVIDER_HETZNER = 1; } +enum ServerType { + SERVER_TYPE_UNSPECIFIED = 0; + SERVER_TYPE_STARTER = 1; + SERVER_TYPE_REGULAR = 2; + SERVER_TYPE_PLUS = 3; + SERVER_TYPE_PRO = 4; +} + +enum HetznerLocation { + HETZNER_LOCATION_UNSPECIFIED = 0; + HETZNER_LOCATION_NUREMBERG = 1; + HETZNER_LOCATION_FALKENSTEIN = 2; + HETZNER_LOCATION_HELSINKI = 3; + HETZNER_LOCATION_HILLSBORO = 4; + HETZNER_LOCATION_ASHBURN = 5; +} + enum Kubernetes { KUBERNETES_UNSPECIFIED = 0; KUBERNETES_K3S = 1; } message HetznerOptions { - string server_type = 1; - string server_location = 2; + ServerType server_type = 1; + HetznerLocation server_location = 2; }