Update some env related apis
This commit is contained in:
@ -11,20 +11,19 @@ service Environments {
|
||||
rpc Create(EnvironmentData) returns (EnvironmentFull) {}
|
||||
rpc Update(EnvironmentFull) returns (EnvironmentFull) {}
|
||||
rpc Delete(EnvironmentFull) returns (google.protobuf.Empty) {}
|
||||
rpc Get(EnvironmentId) returns (EnvironmentFull) {}
|
||||
rpc List(google.protobuf.Empty) returns (stream EnvironmentFull) {}
|
||||
rpc Get(EnvironmentName) returns (EnvironmentFull) {}
|
||||
rpc List(google.protobuf.Empty) returns (stream EnvironmentName) {}
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a environment UUID only
|
||||
* I don't think we need it
|
||||
*/
|
||||
message EnvironmentId {
|
||||
string id = 1; // Contour ID: UUID
|
||||
message EnvironmentName {
|
||||
string name = 1; // Contour ID: UUID
|
||||
}
|
||||
|
||||
message EnvironmentData {
|
||||
string name = 1; // Environment name
|
||||
Provider provider = 2; // Provide
|
||||
Kubernetes kubernetes = 3;
|
||||
HetznerOptions hetzner_options = 4;
|
||||
|
Reference in New Issue
Block a user