Refactor providers data
This commit is contained in:
parent
b864dbcd8c
commit
9866a688b8
@ -72,9 +72,10 @@ message EnvironmentMetadata {
|
||||
}
|
||||
|
||||
message EnvironmentSpec {
|
||||
Provider provider = 2; // Provide
|
||||
Kubernetes kubernetes = 3;
|
||||
HetznerOptions hetzner_options = 4;
|
||||
Provider provider = 1; // Provide
|
||||
Kubernetes kubernetes = 2;
|
||||
ServerType server_type = 3;
|
||||
Location server_location = 4;
|
||||
}
|
||||
|
||||
message EnvironmentFull {
|
||||
@ -97,23 +98,19 @@ enum ServerType {
|
||||
SERVER_TYPE_REGULAR = 2;
|
||||
SERVER_TYPE_PLUS = 3;
|
||||
SERVER_TYPE_PRO = 4;
|
||||
SERVER_TYPE_CUSTOM = 5;
|
||||
}
|
||||
|
||||
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 Location {
|
||||
LOCATION_UNSPECIFIED = 0;
|
||||
LOCATION_HETZNER_NUREMBERG = 1;
|
||||
LOCATION_HETZNER_FALKENSTEIN = 2;
|
||||
LOCATION_HETZNER_HELSINKI = 3;
|
||||
LOCATION_HETZNER_HILLSBORO = 4;
|
||||
LOCATION_HETZNER_ASHBURN = 5;
|
||||
}
|
||||
|
||||
enum Kubernetes {
|
||||
KUBERNETES_UNSPECIFIED = 0;
|
||||
KUBERNETES_K3S = 1;
|
||||
}
|
||||
|
||||
message HetznerOptions {
|
||||
ServerType server_type = 1;
|
||||
HetznerLocation server_location = 2;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user