Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
181 changes: 71 additions & 110 deletions api/mesh/v1alpha1/instance.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 7 additions & 9 deletions api/mesh/v1alpha1/instance.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package dubbo.mesh.v1alpha1;
option go_package = "github.com/apache/dubbo-admin/api/mesh/v1alpha1";

import "api/mesh/options.proto";
import "api/mesh/v1alpha1/runtime_instance.proto";

// Instance is merged from RuntimeInstance and RPCInstance, indicates a runtime entity of a specific dubbo application
message Instance {
Expand All @@ -13,19 +14,14 @@ message Instance {
option (dubbo.mesh.resource).package = "mesh";
option (dubbo.mesh.resource).is_experimental = true;

message Probe {
string type = 1;
int32 port = 2;
}
string name = 1;

string ip = 2;

/*
FROM RPCInstance
*/

string name = 1;

string ip = 2;

int32 rpcPort = 3;

int32 qosPort = 4;
Expand Down Expand Up @@ -68,5 +64,7 @@ message Instance {

repeated Probe probes = 59;

reserved 60 to 100;
repeated Condition conditions = 60;

reserved 61 to 100;
}
Loading
Loading