|
|
@ -15,6 +15,7 @@ It has these top-level messages:
|
|
|
|
ProgramInfo
|
|
|
|
ProgramInfo
|
|
|
|
ProgramStatus
|
|
|
|
ProgramStatus
|
|
|
|
StatusResponse
|
|
|
|
StatusResponse
|
|
|
|
|
|
|
|
LogLine
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
package gosuvpb
|
|
|
|
package gosuvpb
|
|
|
|
|
|
|
|
|
|
|
@ -33,7 +34,6 @@ var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
|
|
|
|
type NopRequest struct {
|
|
|
|
type NopRequest struct {
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (m *NopRequest) Reset() { *m = NopRequest{} }
|
|
|
|
func (m *NopRequest) Reset() { *m = NopRequest{} }
|
|
|
@ -41,112 +41,44 @@ func (m *NopRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*NopRequest) ProtoMessage() {}
|
|
|
|
func (*NopRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
type Response struct {
|
|
|
|
type Response struct {
|
|
|
|
Code *int32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
|
|
|
|
Code int32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
|
|
|
|
Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
|
|
|
|
Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (m *Response) Reset() { *m = Response{} }
|
|
|
|
func (m *Response) Reset() { *m = Response{} }
|
|
|
|
func (m *Response) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (m *Response) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Response) ProtoMessage() {}
|
|
|
|
func (*Response) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (m *Response) GetCode() int32 {
|
|
|
|
|
|
|
|
if m != nil && m.Code != nil {
|
|
|
|
|
|
|
|
return *m.Code
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (m *Response) GetMessage() string {
|
|
|
|
|
|
|
|
if m != nil && m.Message != nil {
|
|
|
|
|
|
|
|
return *m.Message
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type Request struct {
|
|
|
|
type Request struct {
|
|
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (m *Request) Reset() { *m = Request{} }
|
|
|
|
func (m *Request) Reset() { *m = Request{} }
|
|
|
|
func (m *Request) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (m *Request) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Request) ProtoMessage() {}
|
|
|
|
func (*Request) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (m *Request) GetName() string {
|
|
|
|
|
|
|
|
if m != nil && m.Name != nil {
|
|
|
|
|
|
|
|
return *m.Name
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type ProgramInfo struct {
|
|
|
|
type ProgramInfo struct {
|
|
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
|
|
Command []string `protobuf:"bytes,2,rep,name=command" json:"command,omitempty"`
|
|
|
|
Command string `protobuf:"bytes,2,opt,name=command" json:"command,omitempty"`
|
|
|
|
Dir *string `protobuf:"bytes,3,req,name=dir" json:"dir,omitempty"`
|
|
|
|
Dir string `protobuf:"bytes,3,opt,name=dir" json:"dir,omitempty"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (m *ProgramInfo) Reset() { *m = ProgramInfo{} }
|
|
|
|
func (m *ProgramInfo) Reset() { *m = ProgramInfo{} }
|
|
|
|
func (m *ProgramInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (m *ProgramInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ProgramInfo) ProtoMessage() {}
|
|
|
|
func (*ProgramInfo) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (m *ProgramInfo) GetName() string {
|
|
|
|
|
|
|
|
if m != nil && m.Name != nil {
|
|
|
|
|
|
|
|
return *m.Name
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (m *ProgramInfo) GetCommand() []string {
|
|
|
|
|
|
|
|
if m != nil {
|
|
|
|
|
|
|
|
return m.Command
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (m *ProgramInfo) GetDir() string {
|
|
|
|
|
|
|
|
if m != nil && m.Dir != nil {
|
|
|
|
|
|
|
|
return *m.Dir
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type ProgramStatus struct {
|
|
|
|
type ProgramStatus struct {
|
|
|
|
Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
|
|
|
Status *string `protobuf:"bytes,2,req,name=status" json:"status,omitempty"`
|
|
|
|
Status string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
|
|
|
|
Extra *string `protobuf:"bytes,3,opt,name=extra" json:"extra,omitempty"`
|
|
|
|
Extra string `protobuf:"bytes,3,opt,name=extra" json:"extra,omitempty"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (m *ProgramStatus) Reset() { *m = ProgramStatus{} }
|
|
|
|
func (m *ProgramStatus) Reset() { *m = ProgramStatus{} }
|
|
|
|
func (m *ProgramStatus) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (m *ProgramStatus) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ProgramStatus) ProtoMessage() {}
|
|
|
|
func (*ProgramStatus) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (m *ProgramStatus) GetName() string {
|
|
|
|
|
|
|
|
if m != nil && m.Name != nil {
|
|
|
|
|
|
|
|
return *m.Name
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (m *ProgramStatus) GetStatus() string {
|
|
|
|
|
|
|
|
if m != nil && m.Status != nil {
|
|
|
|
|
|
|
|
return *m.Status
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (m *ProgramStatus) GetExtra() string {
|
|
|
|
|
|
|
|
if m != nil && m.Extra != nil {
|
|
|
|
|
|
|
|
return *m.Extra
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type StatusResponse struct {
|
|
|
|
type StatusResponse struct {
|
|
|
|
Programs []*ProgramStatus `protobuf:"bytes,1,rep,name=programs" json:"programs,omitempty"`
|
|
|
|
Programs []*ProgramStatus `protobuf:"bytes,1,rep,name=programs" json:"programs,omitempty"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (m *StatusResponse) Reset() { *m = StatusResponse{} }
|
|
|
|
func (m *StatusResponse) Reset() { *m = StatusResponse{} }
|
|
|
@ -160,6 +92,14 @@ func (m *StatusResponse) GetPrograms() []*ProgramStatus {
|
|
|
|
return nil
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type LogLine struct {
|
|
|
|
|
|
|
|
Line string `protobuf:"bytes,1,opt,name=line" json:"line,omitempty"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (m *LogLine) Reset() { *m = LogLine{} }
|
|
|
|
|
|
|
|
func (m *LogLine) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
|
|
|
func (*LogLine) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ context.Context
|
|
|
|
var _ context.Context
|
|
|
|
var _ grpc.ClientConn
|
|
|
|
var _ grpc.ClientConn
|
|
|
|