From 392ccdf11ebd6edf988250df02e653424a122386 Mon Sep 17 00:00:00 2001 From: "jackdaw@loafle.com" Date: Thu, 13 Apr 2017 12:00:28 +0900 Subject: [PATCH] grpc proto file --- grpc/grpc.pb.go | 93 ++++++++++++++++++++++++++++++------------------- grpc/grpc.proto | 8 ++++- 2 files changed, 64 insertions(+), 37 deletions(-) diff --git a/grpc/grpc.pb.go b/grpc/grpc.pb.go index cb5def6..d8995b8 100644 --- a/grpc/grpc.pb.go +++ b/grpc/grpc.pb.go @@ -58,12 +58,18 @@ const ( Crawlers_HEALTH_SMB Crawlers = 16 Crawlers_HEALTH_SMTP Crawlers = 17 Crawlers_HEALTH_SNMPV2C Crawlers = 18 - Crawlers_HEALTH_SNMPV3 Crawlers = 29 + Crawlers_HEALTH_SNMPV3 Crawlers = 19 Crawlers_HEALTH_SSH Crawlers = 20 Crawlers_HEALTH_TELNET Crawlers = 21 Crawlers_HEALTH_WMI Crawlers = 22 Crawlers_HEALTH_CASSANDRA Crawlers = 23 Crawlers_HEALTH_HTTP Crawlers = 24 + Crawlers_SQL Crawlers = 25 + Crawlers_SNMP Crawlers = 26 + Crawlers_WMI Crawlers = 27 + Crawlers_JMX Crawlers = 28 + Crawlers_REDIS Crawlers = 29 + Crawlers_MONGO Crawlers = 30 ) var Crawlers_name = map[int32]string{ @@ -86,12 +92,18 @@ var Crawlers_name = map[int32]string{ 16: "HEALTH_SMB", 17: "HEALTH_SMTP", 18: "HEALTH_SNMPV2C", - 29: "HEALTH_SNMPV3", + 19: "HEALTH_SNMPV3", 20: "HEALTH_SSH", 21: "HEALTH_TELNET", 22: "HEALTH_WMI", 23: "HEALTH_CASSANDRA", 24: "HEALTH_HTTP", + 25: "SQL", + 26: "SNMP", + 27: "WMI", + 28: "JMX", + 29: "REDIS", + 30: "MONGO", } var Crawlers_value = map[string]int32{ "HEALTH_ACTIVEDIRECTORY": 0, @@ -113,12 +125,18 @@ var Crawlers_value = map[string]int32{ "HEALTH_SMB": 16, "HEALTH_SMTP": 17, "HEALTH_SNMPV2C": 18, - "HEALTH_SNMPV3": 29, + "HEALTH_SNMPV3": 19, "HEALTH_SSH": 20, "HEALTH_TELNET": 21, "HEALTH_WMI": 22, "HEALTH_CASSANDRA": 23, "HEALTH_HTTP": 24, + "SQL": 25, + "SNMP": 26, + "WMI": 27, + "JMX": 28, + "REDIS": 29, + "MONGO": 30, } func (x Crawlers) String() string { @@ -190,7 +208,7 @@ func (m *Input) GetId() string { return "" } -// The response message containing the greetings +// response models type Output struct { StartDate int64 `protobuf:"varint,1,opt,name=startDate" json:"startDate,omitempty"` EndDate int64 `protobuf:"varint,2,opt,name=endDate" json:"endDate,omitempty"` @@ -237,7 +255,7 @@ var _ grpc1.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc1.SupportPackageIsVersion3 +const _ = grpc1.SupportPackageIsVersion4 // Client API for Config service @@ -436,35 +454,38 @@ var _Data_serviceDesc = grpc1.ServiceDesc{ func init() { proto.RegisterFile("grpc.proto", fileDescriptor0) } var fileDescriptor0 = []byte{ - // 479 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xcf, 0x6a, 0xdb, 0x40, - 0x10, 0xc6, 0x23, 0xc9, 0x96, 0xe3, 0xb1, 0xe3, 0x4c, 0x96, 0x24, 0x15, 0x69, 0x53, 0x8c, 0x7b, - 0x31, 0x3d, 0xe8, 0x60, 0x43, 0xa1, 0xc7, 0xb5, 0xa4, 0xda, 0x02, 0xfd, 0xeb, 0xee, 0x92, 0x92, - 0x53, 0xd8, 0x56, 0x6a, 0x2a, 0x68, 0x64, 0xa3, 0x6c, 0x5a, 0xfa, 0x9c, 0x7d, 0xa1, 0x22, 0x45, - 0xc6, 0x7b, 0x08, 0xf4, 0x36, 0xf3, 0x9b, 0xf9, 0xbe, 0x99, 0x85, 0x59, 0x80, 0xfb, 0x7a, 0xf7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0xee, 0xe1, 0x2f, 0x68, 0xf5, - 0xc5, 0x14, 0x7a, 0xbe, 0x54, 0xb2, 0xb1, 0x5f, 0x17, 0xea, 0x05, 0x87, 0xaf, 0x76, 0xfb, 0x9b, - 0x96, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xd6, 0x72, 0x43, 0xd0, 0x5b, 0x03, 0x00, 0x00, + // 516 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0x4d, 0x6f, 0xd3, 0x4c, + 0x10, 0xc7, 0xeb, 0x97, 0x38, 0xcd, 0xa4, 0x4d, 0xa7, 0xfb, 0xb4, 0x7d, 0x4c, 0xfa, 0xa2, 0x28, + 0x5c, 0x22, 0x0e, 0x3e, 0x24, 0x12, 0x12, 0xc7, 0x8d, 0x6d, 0x12, 0xa3, 0xf8, 0x85, 0x5d, 0xab, + 0xd0, 0x53, 0x65, 0xb0, 0x29, 0x96, 0xa8, 0x13, 0xb9, 0x5b, 0x10, 0x5f, 0x82, 0xcf, 0x8c, 0xd6, + 0x71, 0x94, 0x3d, 0x54, 0xe2, 0x36, 0xf3, 0x9b, 0xf9, 0xff, 0x67, 0xd7, 0xde, 0x01, 0x78, 0xa8, + 0x37, 0x5f, 0x9d, 0x4d, 0xbd, 0x16, 0xeb, 0xf1, 0x6b, 0x80, 0xa0, 0xda, 0x3c, 0x0b, 0x5a, 0xd7, + 0xd9, 0x6f, 0x72, 0x0e, 0x7a, 0x59, 0xd9, 0xda, 0xc8, 0x98, 0xf4, 0xa7, 0x1d, 0x27, 0xa8, 0x4a, + 0xc1, 0xf4, 0xb2, 0x1a, 0xbf, 0x03, 0x53, 0xc6, 0xe4, 0x1a, 0xcc, 0x2a, 0x7b, 0x2c, 0x6c, 0x6d, + 0xa4, 0x4d, 0x06, 0xd3, 0x9e, 0xe3, 0xd6, 0xd9, 0xaf, 0x1f, 0x45, 0xfd, 0xc4,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xee, 0xca, 0xc7, 0x23, 0xe5, 0x54, 0x49, 0x9c, 0xcc, 0xf0, 0x58, 0x71, 0x62, + 0xbe, 0x17, 0x70, 0x1c, 0x28, 0x57, 0x65, 0x61, 0x80, 0x27, 0x4a, 0xce, 0xc3, 0x39, 0xa2, 0x62, + 0xc1, 0xc3, 0x34, 0xc1, 0x53, 0x65, 0x34, 0x8f, 0xc2, 0xe4, 0x76, 0xea, 0x22, 0x51, 0x46, 0x37, + 0x6c, 0x86, 0xff, 0xa9, 0x3e, 0x7c, 0x89, 0x67, 0x4a, 0x4b, 0xea, 0xaf, 0x22, 0x3f, 0xc5, 0x73, + 0xa5, 0xe5, 0x53, 0x18, 0xe0, 0x05, 0x39, 0x03, 0x6c, 0x73, 0x97, 0x72, 0x4e, 0x23, 0x8f, 0x51, + 0xfc, 0x5f, 0x39, 0xc0, 0x32, 0x4d, 0x13, 0xb4, 0x49, 0x17, 0x0c, 0xf9, 0x11, 0x5e, 0x91, 0x43, + 0x30, 0xe5, 0x38, 0x1c, 0x4a, 0x24, 0x2d, 0x2e, 0x65, 0xf0, 0x21, 0xfc, 0x8c, 0x57, 0xa4, 0x07, + 0x9d, 0xed, 0x0d, 0xaf, 0x65, 0xd8, 0xfc, 0x02, 0xbc, 0x99, 0xde, 0x83, 0xe5, 0xae, 0xab, 0x6f, + 0xe5, 0x03, 0xb1, 0xc1, 0xa0, 0x79, 0x4e, 0x2c, 0xa7, 0x79, 0xae, 0xc3, 0xae, 0xb3, 0x7d, 0x7e, + 0xe3, 0x03, 0x72, 0x09, 0x16, 0x2b, 0x1e, 0xd7, 0x3f, 0x8b, 0x97, 0x8a, 0x37, 0xed, 0x6a, 0xf4, + 0x9d, 0xfd, 0x1a, 0x29, 0xf5, 0xe9, 0x08, 0x4c, 0x2f, 0x13, 0x99, 0xb4, 0x5f, 0x14, 0xe2, 0x05, + 0x87, 0x2f, 0x56, 0xb3, 0x88, 0xb3, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5f, 0x0d, 0xd6, 0xcd, + 0x96, 0x03, 0x00, 0x00, } diff --git a/grpc/grpc.proto b/grpc/grpc.proto index 1bb76d8..28f727c 100644 --- a/grpc/grpc.proto +++ b/grpc/grpc.proto @@ -21,12 +21,18 @@ enum Crawlers { HEALTH_SMB = 16; HEALTH_SMTP = 17; HEALTH_SNMPV2C = 18; - HEALTH_SNMPV3 = 29; + HEALTH_SNMPV3 = 19; HEALTH_SSH = 20; HEALTH_TELNET = 21; HEALTH_WMI = 22; HEALTH_CASSANDRA = 23; HEALTH_HTTP = 24; + SQL = 25; + SNMP = 26; + WMI = 27; + JMX = 28; + REDIS = 29; + MONGO = 30; } // services