Documentation
¶
Index ¶
- Variables
- type Output
- type ProtocolMessage
- func (*ProtocolMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ProtocolMessage) GetMessage() isProtocolMessage_Message
- func (x *ProtocolMessage) GetOutput() *Output
- func (x *ProtocolMessage) GetRequest() *Request
- func (x *ProtocolMessage) GetResult() *Result
- func (*ProtocolMessage) ProtoMessage()
- func (x *ProtocolMessage) ProtoReflect() protoreflect.Message
- func (x *ProtocolMessage) Reset()
- func (x *ProtocolMessage) String() string
- type ProtocolMessage_Output
- type ProtocolMessage_Request
- type ProtocolMessage_Result
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetCommand() string
- func (x *Request) GetCwd() string
- func (x *Request) GetEnv() map[string]string
- func (x *Request) GetTimeoutSeconds() uint32
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetExitCode() int32
- func (x *Result) GetKillCause() string
- func (x *Result) GetState() string
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type Stream
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Stream_name = map[int32]string{ 0: "STREAM_UNSPECIFIED", 1: "STREAM_STDOUT", 2: "STREAM_STDERR", } Stream_value = map[string]int32{ "STREAM_UNSPECIFIED": 0, "STREAM_STDOUT": 1, "STREAM_STDERR": 2, } )
Enum value maps for Stream.
View Source
var File_aop_exec_protocol_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Output ¶
type Output struct {
Stream Stream `protobuf:"varint,1,opt,name=stream,proto3,enum=aop.exec.Stream" json:"stream,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,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 ProtocolMessage ¶
type ProtocolMessage struct {
// Types that are valid to be assigned to Message:
//
// *ProtocolMessage_Request
// *ProtocolMessage_Output
// *ProtocolMessage_Result
Message isProtocolMessage_Message `protobuf_oneof:"message"`
// contains filtered or unexported fields
}
func (*ProtocolMessage) Descriptor
deprecated
func (*ProtocolMessage) Descriptor() ([]byte, []int)
Deprecated: Use ProtocolMessage.ProtoReflect.Descriptor instead.
func (*ProtocolMessage) GetMessage ¶
func (x *ProtocolMessage) GetMessage() isProtocolMessage_Message
func (*ProtocolMessage) GetOutput ¶
func (x *ProtocolMessage) GetOutput() *Output
func (*ProtocolMessage) GetRequest ¶
func (x *ProtocolMessage) GetRequest() *Request
func (*ProtocolMessage) GetResult ¶
func (x *ProtocolMessage) GetResult() *Result
func (*ProtocolMessage) ProtoMessage ¶
func (*ProtocolMessage) ProtoMessage()
func (*ProtocolMessage) ProtoReflect ¶
func (x *ProtocolMessage) ProtoReflect() protoreflect.Message
func (*ProtocolMessage) Reset ¶
func (x *ProtocolMessage) Reset()
func (*ProtocolMessage) String ¶
func (x *ProtocolMessage) String() string
type ProtocolMessage_Output ¶
type ProtocolMessage_Output struct {
Output *Output `protobuf:"bytes,11,opt,name=output,proto3,oneof"`
}
type ProtocolMessage_Request ¶
type ProtocolMessage_Request struct {
Request *Request `protobuf:"bytes,10,opt,name=request,proto3,oneof"`
}
type ProtocolMessage_Result ¶
type ProtocolMessage_Result struct {
Result *Result `protobuf:"bytes,12,opt,name=result,proto3,oneof"`
}
type Request ¶
type Request struct {
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
Cwd string `protobuf:"bytes,2,opt,name=cwd,proto3" json:"cwd,omitempty"`
TimeoutSeconds uint32 `protobuf:"varint,3,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
Env map[string]string `` /* 133-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Request) Descriptor
deprecated
func (*Request) GetCommand ¶
func (*Request) GetTimeoutSeconds ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Result ¶
type Result struct {
ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
KillCause string `protobuf:"bytes,3,opt,name=kill_cause,json=killCause,proto3" json:"kill_cause,omitempty"`
// contains filtered or unexported fields
}
func (*Result) Descriptor
deprecated
func (*Result) GetExitCode ¶
func (*Result) GetKillCause ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type Stream ¶
type Stream int32
func (Stream) Descriptor ¶
func (Stream) Descriptor() protoreflect.EnumDescriptor
func (Stream) EnumDescriptor
deprecated
func (Stream) Number ¶
func (x Stream) Number() protoreflect.EnumNumber
func (Stream) Type ¶
func (Stream) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.