Documentation ¶
Index ¶
- Variables
- type Output
- type Parameter
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetCommand() string
- func (x *Request) GetInstance() uint64
- func (x *Request) GetParameter() []*Parameter
- func (x *Request) GetType() uint32
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetInstance() uint64
- func (x *Response) GetOutput() *Output
- func (x *Response) GetStatus() int32
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pkg_util_request_proto protoreflect.FileDescriptor
View Source
var File_pkg_util_response_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Output ¶
type Output struct { Stdout string `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` Stderr *string `protobuf:"bytes,2,opt,name=stderr,proto3,oneof" json:"stderr,omitempty"` // contains filtered or unexported fields }
func (*Output) Descriptor
deprecated
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (*Output) ProtoReflect ¶
func (x *Output) ProtoReflect() protoreflect.Message
type Parameter ¶
type Parameter struct { Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Parameter) Descriptor
deprecated
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
func (*Parameter) ProtoReflect ¶
func (x *Parameter) ProtoReflect() protoreflect.Message
type Request ¶
type Request struct { Instance uint64 `protobuf:"varint,1,opt,name=instance,proto3" json:"instance,omitempty"` Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"` Parameter []*Parameter `protobuf:"bytes,4,rep,name=parameter,proto3" json:"parameter,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) GetCommand ¶
func (*Request) GetInstance ¶
func (*Request) GetParameter ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { Instance uint64 `protobuf:"varint,1,opt,name=instance,proto3" json:"instance,omitempty"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Output *Output `protobuf:"bytes,3,opt,name=output,proto3,oneof" json:"output,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetInstance ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.