Update the env data

This commit is contained in:
Nikolai Rodionov 2024-04-03 18:44:37 +02:00
parent 26dc36ae71
commit c6df6964e8
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -17,6 +17,7 @@ service Environments {
/** /**
* Represents a environment UUID only * Represents a environment UUID only
* I don't think we need it
*/ */
message EnvironmentId { message EnvironmentId {
string id = 1; // Contour ID: UUID string id = 1; // Contour ID: UUID
@ -25,6 +26,8 @@ message EnvironmentId {
message EnvironmentData { message EnvironmentData {
string name = 1; // Environment name string name = 1; // Environment name
Provider provider = 2; // Provide Provider provider = 2; // Provide
Kubernetes kubernetes = 3;
HetznerOptions hetzner_options = 4;
} }
enum Provider { enum Provider {
@ -32,6 +35,16 @@ enum Provider {
PROVIDER_HETZNER = 1; PROVIDER_HETZNER = 1;
} }
enum Kubernetes {
KUBERNETES_UNSPECIFIED = 0;
KUBERNETES_K3S = 1;
}
message HetznerOptions {
string server_type = 1;
string server_location = 2;
}
message EnvironmentFull { message EnvironmentFull {
EnvironmentId id = 1; EnvironmentId id = 1;
EnvironmentData data = 2; EnvironmentData data = 2;