exec

package
v0.0.0-...-d5c29ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Output.ProtoReflect.Descriptor instead.

func (*Output) GetData

func (x *Output) GetData() []byte

func (*Output) GetStream

func (x *Output) GetStream() Stream

func (*Output) ProtoMessage

func (*Output) ProtoMessage()

func (*Output) ProtoReflect

func (x *Output) ProtoReflect() protoreflect.Message

func (*Output) Reset

func (x *Output) Reset()

func (*Output) String

func (x *Output) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetCommand

func (x *Request) GetCommand() string

func (*Request) GetCwd

func (x *Request) GetCwd() string

func (*Request) GetEnv

func (x *Request) GetEnv() map[string]string

func (*Request) GetTimeoutSeconds

func (x *Request) GetTimeoutSeconds() uint32

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetExitCode

func (x *Result) GetExitCode() int32

func (*Result) GetKillCause

func (x *Result) GetKillCause() string

func (*Result) GetState

func (x *Result) GetState() string

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

func (x *Result) ProtoReflect() protoreflect.Message

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type Stream

type Stream int32
const (
	Stream_STREAM_UNSPECIFIED Stream = 0
	Stream_STREAM_STDOUT      Stream = 1
	Stream_STREAM_STDERR      Stream = 2
)

func (Stream) Descriptor

func (Stream) Descriptor() protoreflect.EnumDescriptor

func (Stream) Enum

func (x Stream) Enum() *Stream

func (Stream) EnumDescriptor deprecated

func (Stream) EnumDescriptor() ([]byte, []int)

Deprecated: Use Stream.Descriptor instead.

func (Stream) Number

func (x Stream) Number() protoreflect.EnumNumber

func (Stream) String

func (x Stream) String() string

func (Stream) Type

func (Stream) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL