Update the structure a bit
This commit is contained in:
parent
1c1bb4672b
commit
06cfef6ba2
@ -32,33 +32,33 @@ message Token {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
message CreateOptions {
|
message CreateOptions {
|
||||||
EnvironmentName name = 1;
|
EnvironmentMetadata metadata = 1;
|
||||||
EnvironmentData data = 2;
|
EnvironmentSpec spec = 2;
|
||||||
OwnerId owner_id = 3;
|
OwnerId owner_id = 3;
|
||||||
Token token = 4;
|
Token token = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message UpdateOptions {
|
message UpdateOptions {
|
||||||
EnvironmentName name = 1;
|
EnvironmentMetadata metadata = 1;
|
||||||
EnvironmentData data = 2;
|
EnvironmentSpec spec = 2;
|
||||||
OwnerId owner_id = 3;
|
OwnerId owner_id = 3;
|
||||||
Token token = 4;
|
Token token = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message DeleteOptions {
|
message DeleteOptions {
|
||||||
EnvironmentName name = 1;
|
EnvironmentMetadata metadata = 1;
|
||||||
OwnerId owner_id = 3;
|
OwnerId owner_id = 3;
|
||||||
Token token = 4;
|
Token token = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message GetOptions {
|
message GetOptions {
|
||||||
EnvironmentName name = 1;
|
EnvironmentMetadata metadata = 1;
|
||||||
OwnerId owner_id = 3;
|
OwnerId owner_id = 3;
|
||||||
Token token = 4;
|
Token token = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ListOptions {
|
message ListOptions {
|
||||||
EnvironmentName name = 1;
|
EnvironmentMetadata metadata = 1;
|
||||||
OwnerId owner_id = 3;
|
OwnerId owner_id = 3;
|
||||||
Token token = 4;
|
Token token = 4;
|
||||||
}
|
}
|
||||||
@ -66,19 +66,20 @@ message ListOptions {
|
|||||||
Environment related messages
|
Environment related messages
|
||||||
*/
|
*/
|
||||||
|
|
||||||
message EnvironmentName {
|
message EnvironmentMetadata {
|
||||||
string name = 1; // A name of the environment
|
string name = 1; // A name of the environment
|
||||||
|
string description = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message EnvironmentData {
|
message EnvironmentSpec {
|
||||||
Provider provider = 2; // Provide
|
Provider provider = 2; // Provide
|
||||||
Kubernetes kubernetes = 3;
|
Kubernetes kubernetes = 3;
|
||||||
HetznerOptions hetzner_options = 4;
|
HetznerOptions hetzner_options = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message EnvironmentFull {
|
message EnvironmentFull {
|
||||||
EnvironmentName name = 1;
|
EnvironmentMetadata metadata = 1;
|
||||||
EnvironmentData data = 2;
|
EnvironmentSpec spec = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user