增加lua调试功能
This commit is contained in:
23
cmd.pb.go
23
cmd.pb.go
@@ -2871,8 +2871,9 @@ func (x *BindError) GetReason() string {
|
||||
type ScriptRunRes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
PrintOutput string `protobuf:"bytes,1,opt,name=print_output,json=printOutput,proto3" json:"print_output,omitempty"` // print输出
|
||||
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // 错误信息
|
||||
ErrorOutput string `protobuf:"bytes,2,opt,name=error_output,json=errorOutput,proto3" json:"error_output,omitempty"` // 错误信息
|
||||
TargetsOutput string `protobuf:"bytes,3,opt,name=targets_output,json=targetsOutput,proto3" json:"targets_output,omitempty"` // 策略输出
|
||||
DataspaceOut string `protobuf:"bytes,4,opt,name=dataspace_out,json=dataspaceOut,proto3" json:"dataspace_out,omitempty"` // 数据区输出
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -2914,9 +2915,9 @@ func (x *ScriptRunRes) GetPrintOutput() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ScriptRunRes) GetError() string {
|
||||
func (x *ScriptRunRes) GetErrorOutput() string {
|
||||
if x != nil {
|
||||
return x.Error
|
||||
return x.ErrorOutput
|
||||
}
|
||||
return ""
|
||||
}
|
||||
@@ -2928,6 +2929,13 @@ func (x *ScriptRunRes) GetTargetsOutput() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ScriptRunRes) GetDataspaceOut() string {
|
||||
if x != nil {
|
||||
return x.DataspaceOut
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// ScriptUpdateRes 升级脚本返回
|
||||
type ScriptUpdateRes struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
@@ -3158,11 +3166,12 @@ const file_cmd_proto_rawDesc = "" +
|
||||
"\tBindError\x12\x17\n" +
|
||||
"\abind_id\x18\x01 \x01(\x03R\x06bindId\x12\x1b\n" +
|
||||
"\tbind_type\x18\x02 \x01(\x05R\bbindType\x12\x16\n" +
|
||||
"\x06reason\x18\x03 \x01(\tR\x06reason\"n\n" +
|
||||
"\x06reason\x18\x03 \x01(\tR\x06reason\"\xa0\x01\n" +
|
||||
"\fScriptRunRes\x12!\n" +
|
||||
"\fprint_output\x18\x01 \x01(\tR\vprintOutput\x12\x14\n" +
|
||||
"\x05error\x18\x02 \x01(\tR\x05error\x12%\n" +
|
||||
"\x0etargets_output\x18\x03 \x01(\tR\rtargetsOutput\"\x11\n" +
|
||||
"\fprint_output\x18\x01 \x01(\tR\vprintOutput\x12!\n" +
|
||||
"\ferror_output\x18\x02 \x01(\tR\verrorOutput\x12%\n" +
|
||||
"\x0etargets_output\x18\x03 \x01(\tR\rtargetsOutput\x12#\n" +
|
||||
"\rdataspace_out\x18\x04 \x01(\tR\fdataspaceOut\"\x11\n" +
|
||||
"\x0fScriptUpdateRes*=\n" +
|
||||
"\bBindType\x12\x13\n" +
|
||||
"\x0fUnknownBindType\x10\x00\x12\r\n" +
|
||||
|
||||
Reference in New Issue
Block a user