1 Commits

Author SHA1 Message Date
loveckiy.ivan
2af5e5f466 [dev] regen 2025-11-10 11:19:54 +03:00
2 changed files with 31 additions and 23 deletions

View File

@@ -181,7 +181,7 @@ type ListOut struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` List map[string]string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
} }
func (x *ListOut) Reset() { func (x *ListOut) Reset() {
@@ -216,7 +216,7 @@ func (*ListOut) Descriptor() ([]byte, []int) {
return file_plugin_proto_rawDescGZIP(), []int{3} return file_plugin_proto_rawDescGZIP(), []int{3}
} }
func (x *ListOut) GetList() []string { func (x *ListOut) GetList() map[string]string {
if x != nil { if x != nil {
return x.List return x.List
} }
@@ -236,15 +236,21 @@ var file_plugin_proto_rawDesc = []byte{
0x65, 0x63, 0x4f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x65, 0x63, 0x4f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a,
0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x08, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x08, 0x0a,
0x06, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x22, 0x1d, 0x0a, 0x07, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x06, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x22, 0x71, 0x0a, 0x07, 0x4c, 0x69, 0x73, 0x74, 0x4f,
0x75, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x75, 0x74, 0x12, 0x2d, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x32, 0x5a, 0x0a, 0x06, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x32, 0x19, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x75,
0x12, 0x27, 0x0a, 0x04, 0x45, 0x78, 0x65, 0x63, 0x12, 0x0e, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6c, 0x69, 0x73,
0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x49, 0x6e, 0x1a, 0x0f, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x74, 0x1a, 0x37, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x4f, 0x75, 0x74, 0x12, 0x27, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
0x74, 0x12, 0x0e, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x6e, 0x1a, 0x0f, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0x5a, 0x0a, 0x06, 0x50, 0x6c,
0x75, 0x74, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x27, 0x0a, 0x04, 0x45, 0x78, 0x65, 0x63, 0x12, 0x0e, 0x2e, 0x70,
0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x49, 0x6e, 0x1a, 0x0f, 0x2e, 0x70,
0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x4f, 0x75, 0x74, 0x12, 0x27, 0x0a,
0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0e, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x4c,
0x69, 0x73, 0x74, 0x49, 0x6e, 0x1a, 0x0f, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x4c,
0x69, 0x73, 0x74, 0x4f, 0x75, 0x74, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
} }
var ( var (
@@ -259,23 +265,25 @@ func file_plugin_proto_rawDescGZIP() []byte {
return file_plugin_proto_rawDescData return file_plugin_proto_rawDescData
} }
var file_plugin_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_plugin_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_plugin_proto_goTypes = []interface{}{ var file_plugin_proto_goTypes = []interface{}{
(*ExecIn)(nil), // 0: plugin.ExecIn (*ExecIn)(nil), // 0: plugin.ExecIn
(*ExecOut)(nil), // 1: plugin.ExecOut (*ExecOut)(nil), // 1: plugin.ExecOut
(*ListIn)(nil), // 2: plugin.ListIn (*ListIn)(nil), // 2: plugin.ListIn
(*ListOut)(nil), // 3: plugin.ListOut (*ListOut)(nil), // 3: plugin.ListOut
nil, // 4: plugin.ListOut.ListEntry
} }
var file_plugin_proto_depIdxs = []int32{ var file_plugin_proto_depIdxs = []int32{
0, // 0: plugin.Plugin.Exec:input_type -> plugin.ExecIn 4, // 0: plugin.ListOut.list:type_name -> plugin.ListOut.ListEntry
2, // 1: plugin.Plugin.List:input_type -> plugin.ListIn 0, // 1: plugin.Plugin.Exec:input_type -> plugin.ExecIn
1, // 2: plugin.Plugin.Exec:output_type -> plugin.ExecOut 2, // 2: plugin.Plugin.List:input_type -> plugin.ListIn
3, // 3: plugin.Plugin.List:output_type -> plugin.ListOut 1, // 3: plugin.Plugin.Exec:output_type -> plugin.ExecOut
2, // [2:4] is the sub-list for method output_type 3, // 4: plugin.Plugin.List:output_type -> plugin.ListOut
0, // [0:2] is the sub-list for method input_type 3, // [3:5] is the sub-list for method output_type
0, // [0:0] is the sub-list for extension type_name 1, // [1:3] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension extendee 1, // [1:1] is the sub-list for extension type_name
0, // [0:0] is the sub-list for field type_name 1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
} }
func init() { file_plugin_proto_init() } func init() { file_plugin_proto_init() }
@@ -339,7 +347,7 @@ func file_plugin_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_plugin_proto_rawDesc, RawDescriptor: file_plugin_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 4, NumMessages: 5,
NumExtensions: 0, NumExtensions: 0,
NumServices: 1, NumServices: 1,
}, },

View File

@@ -19,7 +19,7 @@ message ListIn {
} }
message ListOut { message ListOut {
repeated string list = 1; map<string, string> list = 1;
} }
service Plugin { service Plugin {