Update Ids for envs
This commit is contained in:
parent
b4c97beb38
commit
bd6c5ffb2b
@ -39,20 +39,23 @@ message CreateOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
message UpdateOptions {
|
message UpdateOptions {
|
||||||
EnvironmentMetadata metadata = 1;
|
EnvironmentId id = 1;
|
||||||
EnvironmentSpec spec = 2;
|
EnvironmentMetadata metadata = 2;
|
||||||
OwnerId owner_id = 3;
|
EnvironmentSpec spec = 3;
|
||||||
Token token = 4;
|
OwnerId owner_id = 4;
|
||||||
|
Token token = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message DeleteOptions {
|
message DeleteOptions {
|
||||||
EnvironmentMetadata metadata = 1;
|
EnvironmentId id = 1;
|
||||||
|
EnvironmentMetadata metadata = 2;
|
||||||
OwnerId owner_id = 3;
|
OwnerId owner_id = 3;
|
||||||
Token token = 4;
|
Token token = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message GetOptions {
|
message GetOptions {
|
||||||
EnvironmentMetadata metadata = 1;
|
EnvironmentId id = 1;
|
||||||
|
EnvironmentMetadata metadata = 2;
|
||||||
OwnerId owner_id = 3;
|
OwnerId owner_id = 3;
|
||||||
Token token = 4;
|
Token token = 4;
|
||||||
}
|
}
|
||||||
@ -66,10 +69,12 @@ message ListOptions {
|
|||||||
Environment related messages
|
Environment related messages
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
message EnvironmentId {
|
||||||
|
string uuid = 1;
|
||||||
|
}
|
||||||
message EnvironmentMetadata {
|
message EnvironmentMetadata {
|
||||||
string name = 1; // A name of the environment
|
string name = 1; // A name of the environment
|
||||||
string description = 2;
|
string description = 2;
|
||||||
string uuid = 3;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message EnvironmentSpec {
|
message EnvironmentSpec {
|
||||||
@ -82,6 +87,7 @@ message EnvironmentSpec {
|
|||||||
message EnvironmentFull {
|
message EnvironmentFull {
|
||||||
EnvironmentMetadata metadata = 1;
|
EnvironmentMetadata metadata = 1;
|
||||||
EnvironmentSpec spec = 2;
|
EnvironmentSpec spec = 2;
|
||||||
|
EnvironmentId id = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -114,4 +120,4 @@ enum Location {
|
|||||||
enum Kubernetes {
|
enum Kubernetes {
|
||||||
KUBERNETES_UNSPECIFIED = 0;
|
KUBERNETES_UNSPECIFIED = 0;
|
||||||
KUBERNETES_K3S = 1;
|
KUBERNETES_K3S = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user