-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathpublisher.proto
45 lines (40 loc) · 1.04 KB
/
publisher.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
syntax = "proto3";
package v1.publisher;
option go_package = "github.com/kubearmor/discovery-engine/src/protobuf/v1/publisher";
service Publisher {
rpc GetSummary (SummaryRequest) returns (stream SummaryResponse);
}
message SummaryRequest{
string ClusterName = 1;
string Namespace = 2;
string Labels = 3;
string PodName = 4;
string DeploymentName = 5;
string Operation = 6;
}
message SummaryResponse{
string ClusterName = 1;
int32 ClusterId = 2;
string NamespaceName = 3;
int32 NamespaceId = 4;
string ContainerName = 5;
string ContainerImage = 6;
string ContainerId = 7;
string PodName = 8;
int32 PodId = 9;
string Operation = 10;
string Labels = 11;
string DeploymentName = 12;
string Source = 13;
string Destination = 14;
string DestNamespace = 15;
string DestLabels = 16;
string NwType = 17;
string IP = 18;
int32 Port = 19;
string Protocol = 20;
string Action = 21;
int32 Count = 22;
int64 UpdatedTime = 23;
int32 WorkspaceId = 24;
}