Skip to content

Commit

Permalink
fix: add InnerID in resource
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenSheep402 committed Dec 16, 2023
1 parent 09ca978 commit 3338680
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions proto/sync/v1/host.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ message Host {
google.protobuf.Timestamp createdAt = 2; // 创建时间
google.protobuf.Timestamp updatedAt = 3; // 更新时间
google.protobuf.Timestamp deletedAt = 4; // 删除时间
string innerId = 5; // 内部ID 资源id

string label = 11; // 标签
repeated string tags = 12;
Expand Down
2 changes: 2 additions & 0 deletions proto/sync/v1/keychain.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ message SshKey {
google.protobuf.Timestamp createdAt = 2; // 创建时间
google.protobuf.Timestamp updatedAt = 3; // 更新时间
google.protobuf.Timestamp deletedAt = 4; // 删除时间
string innerId = 5; // 内部ID 资源id

string label = 11; // 标签
string privateKey = 12; // 私钥
Expand All @@ -25,6 +26,7 @@ message Identity {
google.protobuf.Timestamp createdAt = 2; // 创建时间
google.protobuf.Timestamp updatedAt = 3; // 更新时间
google.protobuf.Timestamp deletedAt = 4; // 删除时间
string innerId = 5; // 内部ID 资源id

string label = 11; // 标签
string username = 12;
Expand Down
1 change: 1 addition & 0 deletions proto/sync/v1/known_hosts.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ message KnownHost {
google.protobuf.Timestamp createdAt = 2; // 创建时间
google.protobuf.Timestamp updatedAt = 3; // 更新时间
google.protobuf.Timestamp deletedAt = 4; // 删除时间
string innerId = 5; // 内部ID 资源id

string address = 11; // ip或host
string publicKey = 12; // 公钥
Expand Down

0 comments on commit 3338680

Please sign in to comment.