mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-04 05:00:24 +08:00
25 lines
485 B
Protocol Buffer
25 lines
485 B
Protocol Buffer
syntax = "proto3";
|
|
option go_package = "./pb";
|
|
|
|
package pb;
|
|
|
|
import "model_node_cluster.proto";
|
|
import "model_node_login.proto";
|
|
import "model_node_install_status.proto";
|
|
|
|
message Node {
|
|
int64 id = 1;
|
|
string name = 2;
|
|
string status = 3;
|
|
string installDir = 4;
|
|
bool isInstalled = 5;
|
|
string code = 6;
|
|
string uniqueId = 7;
|
|
string secret = 8;
|
|
int64 version = 9;
|
|
int64 latestVersion = 10;
|
|
|
|
NodeCluster cluster = 32;
|
|
NodeLogin login = 33;
|
|
NodeInstallStatus installStatus = 34;
|
|
} |