Update the env data
This commit is contained in:
parent
26dc36ae71
commit
c6df6964e8
@ -17,6 +17,7 @@ service Environments {
|
||||
|
||||
/**
|
||||
* Represents a environment UUID only
|
||||
* I don't think we need it
|
||||
*/
|
||||
message EnvironmentId {
|
||||
string id = 1; // Contour ID: UUID
|
||||
@ -25,6 +26,8 @@ message EnvironmentId {
|
||||
message EnvironmentData {
|
||||
string name = 1; // Environment name
|
||||
Provider provider = 2; // Provide
|
||||
Kubernetes kubernetes = 3;
|
||||
HetznerOptions hetzner_options = 4;
|
||||
}
|
||||
|
||||
enum Provider {
|
||||
@ -32,6 +35,16 @@ enum Provider {
|
||||
PROVIDER_HETZNER = 1;
|
||||
}
|
||||
|
||||
enum Kubernetes {
|
||||
KUBERNETES_UNSPECIFIED = 0;
|
||||
KUBERNETES_K3S = 1;
|
||||
}
|
||||
|
||||
message HetznerOptions {
|
||||
string server_type = 1;
|
||||
string server_location = 2;
|
||||
}
|
||||
|
||||
message EnvironmentFull {
|
||||
EnvironmentId id = 1;
|
||||
EnvironmentData data = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user