2022-11-04 00:49:07 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2023-06-01 23:01:43 +08:00
|
|
|
message Error {
|
|
|
|
string details = 1;
|
2022-11-04 00:49:07 +08:00
|
|
|
}
|
|
|
|
|
2023-02-28 00:45:14 +08:00
|
|
|
message Secret {
|
|
|
|
string name = 1;
|
|
|
|
string value = 2;
|
|
|
|
}
|
|
|
|
|
2022-12-27 08:16:47 +08:00
|
|
|
message SecretCreated {
|
|
|
|
string name = 1;
|
|
|
|
string value = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SecretUpdated {
|
|
|
|
string name = 1;
|
|
|
|
string value = 2;
|
|
|
|
}
|
|
|
|
|
2023-02-28 00:45:14 +08:00
|
|
|
message SecretDeleted {
|
|
|
|
string name = 1;
|
|
|
|
}
|
|
|
|
|
2023-08-23 05:25:14 +08:00
|
|
|
message FileSystem {
|
|
|
|
string id = 1;
|
|
|
|
string name = 2;
|
|
|
|
string type = 3;
|
|
|
|
string value = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message FileSystemCreated {
|
|
|
|
string id = 1;
|
|
|
|
string name = 2;
|
|
|
|
string type = 3;
|
|
|
|
string value = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message FileSystemUpdated {
|
|
|
|
string id = 1;
|
|
|
|
string name = 2;
|
|
|
|
string type = 3;
|
|
|
|
string value = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message FileSystemDeleted {
|
|
|
|
string id = 1;
|
|
|
|
}
|
|
|
|
|
2023-06-06 19:49:09 +08:00
|
|
|
message UserConnected {
|
2023-01-07 03:14:44 +08:00
|
|
|
string name = 1;
|
2023-06-01 23:01:43 +08:00
|
|
|
repeated Secret secrets = 2;
|
2023-08-23 05:25:14 +08:00
|
|
|
repeated FileSystem file_systems = 3;
|
2022-11-04 00:49:07 +08:00
|
|
|
}
|
2022-12-27 08:16:47 +08:00
|
|
|
|
|
|
|
message Event {
|
|
|
|
oneof type {
|
2023-06-01 23:01:43 +08:00
|
|
|
SecretCreated secret_created = 1;
|
|
|
|
SecretUpdated secret_updated = 2;
|
|
|
|
SecretDeleted secret_deleted = 3;
|
2023-06-06 19:49:09 +08:00
|
|
|
UserConnected user_connected = 4;
|
2023-08-23 05:25:14 +08:00
|
|
|
FileSystemCreated file_system_created = 5;
|
|
|
|
FileSystemUpdated file_system_updated = 6;
|
|
|
|
FileSystemDeleted file_system_deleted = 7;
|
2022-12-27 08:16:47 +08:00
|
|
|
}
|
|
|
|
}
|