More server related values

This commit is contained in:
Nikolai Rodionov 2024-04-29 17:48:18 +02:00
parent 06cfef6ba2
commit b864dbcd8c
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -91,12 +91,29 @@ enum Provider {
PROVIDER_HETZNER = 1; 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 { enum Kubernetes {
KUBERNETES_UNSPECIFIED = 0; KUBERNETES_UNSPECIFIED = 0;
KUBERNETES_K3S = 1; KUBERNETES_K3S = 1;
} }
message HetznerOptions { message HetznerOptions {
string server_type = 1; ServerType server_type = 1;
string server_location = 2; HetznerLocation server_location = 2;
} }