|
|
|
|
@ -2,9 +2,9 @@
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.36.11
|
|
|
|
|
// protoc (unknown)
|
|
|
|
|
// source: clodrun/v1/exec.proto
|
|
|
|
|
// source: crush/v1/exec.proto
|
|
|
|
|
|
|
|
|
|
package clodrunv1
|
|
|
|
|
package crushv1
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
|
@ -57,11 +57,11 @@ func (x Signal) String() string {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (Signal) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
|
return file_clodrun_v1_exec_proto_enumTypes[0].Descriptor()
|
|
|
|
|
return file_crush_v1_exec_proto_enumTypes[0].Descriptor()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (Signal) Type() protoreflect.EnumType {
|
|
|
|
|
return &file_clodrun_v1_exec_proto_enumTypes[0]
|
|
|
|
|
return &file_crush_v1_exec_proto_enumTypes[0]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x Signal) Number() protoreflect.EnumNumber {
|
|
|
|
|
@ -70,7 +70,7 @@ func (x Signal) Number() protoreflect.EnumNumber {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use Signal.Descriptor instead.
|
|
|
|
|
func (Signal) EnumDescriptor() ([]byte, []int) {
|
|
|
|
|
return file_clodrun_v1_exec_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
return file_crush_v1_exec_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type WindowSize struct {
|
|
|
|
|
@ -83,7 +83,7 @@ type WindowSize struct {
|
|
|
|
|
|
|
|
|
|
func (x *WindowSize) Reset() {
|
|
|
|
|
*x = WindowSize{}
|
|
|
|
|
mi := &file_clodrun_v1_exec_proto_msgTypes[0]
|
|
|
|
|
mi := &file_crush_v1_exec_proto_msgTypes[0]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -95,7 +95,7 @@ func (x *WindowSize) String() string {
|
|
|
|
|
func (*WindowSize) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *WindowSize) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_clodrun_v1_exec_proto_msgTypes[0]
|
|
|
|
|
mi := &file_crush_v1_exec_proto_msgTypes[0]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -108,7 +108,7 @@ func (x *WindowSize) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use WindowSize.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*WindowSize) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_clodrun_v1_exec_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
return file_crush_v1_exec_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *WindowSize) GetRows() uint32 {
|
|
|
|
|
@ -140,7 +140,7 @@ type ExecRequest struct {
|
|
|
|
|
|
|
|
|
|
func (x *ExecRequest) Reset() {
|
|
|
|
|
*x = ExecRequest{}
|
|
|
|
|
mi := &file_clodrun_v1_exec_proto_msgTypes[1]
|
|
|
|
|
mi := &file_crush_v1_exec_proto_msgTypes[1]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -152,7 +152,7 @@ func (x *ExecRequest) String() string {
|
|
|
|
|
func (*ExecRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ExecRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_clodrun_v1_exec_proto_msgTypes[1]
|
|
|
|
|
mi := &file_crush_v1_exec_proto_msgTypes[1]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -165,7 +165,7 @@ func (x *ExecRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ExecRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_clodrun_v1_exec_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
return file_crush_v1_exec_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecRequest) GetRequest() isExecRequest_Request {
|
|
|
|
|
@ -224,7 +224,7 @@ type ExecRequest_Stdin struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ExecRequest_Signal struct {
|
|
|
|
|
Signal Signal `protobuf:"varint,3,opt,name=signal,proto3,enum=clodrun.v1.Signal,oneof"`
|
|
|
|
|
Signal Signal `protobuf:"varint,3,opt,name=signal,proto3,enum=crush.v1.Signal,oneof"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ExecRequest_Resize struct {
|
|
|
|
|
@ -251,7 +251,7 @@ type StartRequest struct {
|
|
|
|
|
|
|
|
|
|
func (x *StartRequest) Reset() {
|
|
|
|
|
*x = StartRequest{}
|
|
|
|
|
mi := &file_clodrun_v1_exec_proto_msgTypes[2]
|
|
|
|
|
mi := &file_crush_v1_exec_proto_msgTypes[2]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -263,7 +263,7 @@ func (x *StartRequest) String() string {
|
|
|
|
|
func (*StartRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *StartRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_clodrun_v1_exec_proto_msgTypes[2]
|
|
|
|
|
mi := &file_crush_v1_exec_proto_msgTypes[2]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -276,7 +276,7 @@ func (x *StartRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*StartRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_clodrun_v1_exec_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
return file_crush_v1_exec_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StartRequest) GetCommand() []string {
|
|
|
|
|
@ -321,7 +321,7 @@ type ExecResponse struct {
|
|
|
|
|
|
|
|
|
|
func (x *ExecResponse) Reset() {
|
|
|
|
|
*x = ExecResponse{}
|
|
|
|
|
mi := &file_clodrun_v1_exec_proto_msgTypes[3]
|
|
|
|
|
mi := &file_crush_v1_exec_proto_msgTypes[3]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -333,7 +333,7 @@ func (x *ExecResponse) String() string {
|
|
|
|
|
func (*ExecResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ExecResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_clodrun_v1_exec_proto_msgTypes[3]
|
|
|
|
|
mi := &file_crush_v1_exec_proto_msgTypes[3]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -346,7 +346,7 @@ func (x *ExecResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ExecResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_clodrun_v1_exec_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
return file_crush_v1_exec_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExecResponse) GetResponse() isExecResponse_Response {
|
|
|
|
|
@ -415,7 +415,7 @@ type ExitStatus struct {
|
|
|
|
|
|
|
|
|
|
func (x *ExitStatus) Reset() {
|
|
|
|
|
*x = ExitStatus{}
|
|
|
|
|
mi := &file_clodrun_v1_exec_proto_msgTypes[4]
|
|
|
|
|
mi := &file_crush_v1_exec_proto_msgTypes[4]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
@ -427,7 +427,7 @@ func (x *ExitStatus) String() string {
|
|
|
|
|
func (*ExitStatus) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ExitStatus) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_clodrun_v1_exec_proto_msgTypes[4]
|
|
|
|
|
mi := &file_crush_v1_exec_proto_msgTypes[4]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
@ -440,7 +440,7 @@ func (x *ExitStatus) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ExitStatus.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ExitStatus) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_clodrun_v1_exec_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
return file_crush_v1_exec_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ExitStatus) GetCode() int32 {
|
|
|
|
|
@ -457,35 +457,34 @@ func (x *ExitStatus) GetError() string {
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var File_clodrun_v1_exec_proto protoreflect.FileDescriptor
|
|
|
|
|
var File_crush_v1_exec_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
const file_clodrun_v1_exec_proto_rawDesc = "" +
|
|
|
|
|
const file_crush_v1_exec_proto_rawDesc = "" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"\x15clodrun/v1/exec.proto\x12\n" +
|
|
|
|
|
"clodrun.v1\"4\n" +
|
|
|
|
|
"\x13crush/v1/exec.proto\x12\bcrush.v1\"4\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"WindowSize\x12\x12\n" +
|
|
|
|
|
"\x04rows\x18\x01 \x01(\rR\x04rows\x12\x12\n" +
|
|
|
|
|
"\x04cols\x18\x02 \x01(\rR\x04cols\"\xc2\x01\n" +
|
|
|
|
|
"\vExecRequest\x120\n" +
|
|
|
|
|
"\x05start\x18\x01 \x01(\v2\x18.clodrun.v1.StartRequestH\x00R\x05start\x12\x16\n" +
|
|
|
|
|
"\x05stdin\x18\x02 \x01(\fH\x00R\x05stdin\x12,\n" +
|
|
|
|
|
"\x06signal\x18\x03 \x01(\x0e2\x12.clodrun.v1.SignalH\x00R\x06signal\x120\n" +
|
|
|
|
|
"\x06resize\x18\x04 \x01(\v2\x16.clodrun.v1.WindowSizeH\x00R\x06resizeB\t\n" +
|
|
|
|
|
"\arequest\"\xe0\x01\n" +
|
|
|
|
|
"\x04cols\x18\x02 \x01(\rR\x04cols\"\xbc\x01\n" +
|
|
|
|
|
"\vExecRequest\x12.\n" +
|
|
|
|
|
"\x05start\x18\x01 \x01(\v2\x16.crush.v1.StartRequestH\x00R\x05start\x12\x16\n" +
|
|
|
|
|
"\x05stdin\x18\x02 \x01(\fH\x00R\x05stdin\x12*\n" +
|
|
|
|
|
"\x06signal\x18\x03 \x01(\x0e2\x10.crush.v1.SignalH\x00R\x06signal\x12.\n" +
|
|
|
|
|
"\x06resize\x18\x04 \x01(\v2\x14.crush.v1.WindowSizeH\x00R\x06resizeB\t\n" +
|
|
|
|
|
"\arequest\"\xdc\x01\n" +
|
|
|
|
|
"\fStartRequest\x12\x18\n" +
|
|
|
|
|
"\acommand\x18\x01 \x03(\tR\acommand\x123\n" +
|
|
|
|
|
"\x03env\x18\x02 \x03(\v2!.clodrun.v1.StartRequest.EnvEntryR\x03env\x12\x1f\n" +
|
|
|
|
|
"\acommand\x18\x01 \x03(\tR\acommand\x121\n" +
|
|
|
|
|
"\x03env\x18\x02 \x03(\v2\x1f.crush.v1.StartRequest.EnvEntryR\x03env\x12\x1f\n" +
|
|
|
|
|
"\vworking_dir\x18\x03 \x01(\tR\n" +
|
|
|
|
|
"workingDir\x12(\n" +
|
|
|
|
|
"\x03pty\x18\x04 \x01(\v2\x16.clodrun.v1.WindowSizeR\x03pty\x1a6\n" +
|
|
|
|
|
"workingDir\x12&\n" +
|
|
|
|
|
"\x03pty\x18\x04 \x01(\v2\x14.crush.v1.WindowSizeR\x03pty\x1a6\n" +
|
|
|
|
|
"\bEnvEntry\x12\x10\n" +
|
|
|
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
|
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x89\x01\n" +
|
|
|
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x87\x01\n" +
|
|
|
|
|
"\fExecResponse\x12\x18\n" +
|
|
|
|
|
"\x06stdout\x18\x01 \x01(\fH\x00R\x06stdout\x12\x18\n" +
|
|
|
|
|
"\x06stderr\x18\x02 \x01(\fH\x00R\x06stderr\x129\n" +
|
|
|
|
|
"\vexit_status\x18\x03 \x01(\v2\x16.clodrun.v1.ExitStatusH\x00R\n" +
|
|
|
|
|
"\x06stderr\x18\x02 \x01(\fH\x00R\x06stderr\x127\n" +
|
|
|
|
|
"\vexit_status\x18\x03 \x01(\v2\x14.crush.v1.ExitStatusH\x00R\n" +
|
|
|
|
|
"exitStatusB\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"\bresponse\"6\n" +
|
|
|
|
|
@ -498,45 +497,43 @@ const file_clodrun_v1_exec_proto_rawDesc = "" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"SIGNAL_INT\x10\x01\x12\x0f\n" +
|
|
|
|
|
"\vSIGNAL_TERM\x10\x02\x12\x0f\n" +
|
|
|
|
|
"\vSIGNAL_KILL\x10\x032L\n" +
|
|
|
|
|
"\vExecService\x12=\n" +
|
|
|
|
|
"\x04Exec\x12\x17.clodrun.v1.ExecRequest\x1a\x18.clodrun.v1.ExecResponse(\x010\x01B\x9b\x01\n" +
|
|
|
|
|
"\x0ecom.clodrun.v1B\tExecProtoP\x01Z5github.com/imjasonh/clod-run/gen/clodrun/v1;clodrunv1\xa2\x02\x03CXX\xaa\x02\n" +
|
|
|
|
|
"Clodrun.V1\xca\x02\n" +
|
|
|
|
|
"Clodrun\\V1\xe2\x02\x16Clodrun\\V1\\GPBMetadata\xea\x02\vClodrun::V1b\x06proto3"
|
|
|
|
|
"\vSIGNAL_KILL\x10\x032H\n" +
|
|
|
|
|
"\vExecService\x129\n" +
|
|
|
|
|
"\x04Exec\x12\x15.crush.v1.ExecRequest\x1a\x16.crush.v1.ExecResponse(\x010\x01B\x8a\x01\n" +
|
|
|
|
|
"\fcom.crush.v1B\tExecProtoP\x01Z.github.com/imjasonh/crush/gen/crush/v1;crushv1\xa2\x02\x03CXX\xaa\x02\bCrush.V1\xca\x02\bCrush\\V1\xe2\x02\x14Crush\\V1\\GPBMetadata\xea\x02\tCrush::V1b\x06proto3"
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
file_clodrun_v1_exec_proto_rawDescOnce sync.Once
|
|
|
|
|
file_clodrun_v1_exec_proto_rawDescData []byte
|
|
|
|
|
file_crush_v1_exec_proto_rawDescOnce sync.Once
|
|
|
|
|
file_crush_v1_exec_proto_rawDescData []byte
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func file_clodrun_v1_exec_proto_rawDescGZIP() []byte {
|
|
|
|
|
file_clodrun_v1_exec_proto_rawDescOnce.Do(func() {
|
|
|
|
|
file_clodrun_v1_exec_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_clodrun_v1_exec_proto_rawDesc), len(file_clodrun_v1_exec_proto_rawDesc)))
|
|
|
|
|
func file_crush_v1_exec_proto_rawDescGZIP() []byte {
|
|
|
|
|
file_crush_v1_exec_proto_rawDescOnce.Do(func() {
|
|
|
|
|
file_crush_v1_exec_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_crush_v1_exec_proto_rawDesc), len(file_crush_v1_exec_proto_rawDesc)))
|
|
|
|
|
})
|
|
|
|
|
return file_clodrun_v1_exec_proto_rawDescData
|
|
|
|
|
return file_crush_v1_exec_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_clodrun_v1_exec_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
|
|
|
var file_clodrun_v1_exec_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
|
|
|
var file_clodrun_v1_exec_proto_goTypes = []any{
|
|
|
|
|
(Signal)(0), // 0: clodrun.v1.Signal
|
|
|
|
|
(*WindowSize)(nil), // 1: clodrun.v1.WindowSize
|
|
|
|
|
(*ExecRequest)(nil), // 2: clodrun.v1.ExecRequest
|
|
|
|
|
(*StartRequest)(nil), // 3: clodrun.v1.StartRequest
|
|
|
|
|
(*ExecResponse)(nil), // 4: clodrun.v1.ExecResponse
|
|
|
|
|
(*ExitStatus)(nil), // 5: clodrun.v1.ExitStatus
|
|
|
|
|
nil, // 6: clodrun.v1.StartRequest.EnvEntry
|
|
|
|
|
var file_crush_v1_exec_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
|
|
|
var file_crush_v1_exec_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
|
|
|
var file_crush_v1_exec_proto_goTypes = []any{
|
|
|
|
|
(Signal)(0), // 0: crush.v1.Signal
|
|
|
|
|
(*WindowSize)(nil), // 1: crush.v1.WindowSize
|
|
|
|
|
(*ExecRequest)(nil), // 2: crush.v1.ExecRequest
|
|
|
|
|
(*StartRequest)(nil), // 3: crush.v1.StartRequest
|
|
|
|
|
(*ExecResponse)(nil), // 4: crush.v1.ExecResponse
|
|
|
|
|
(*ExitStatus)(nil), // 5: crush.v1.ExitStatus
|
|
|
|
|
nil, // 6: crush.v1.StartRequest.EnvEntry
|
|
|
|
|
}
|
|
|
|
|
var file_clodrun_v1_exec_proto_depIdxs = []int32{
|
|
|
|
|
3, // 0: clodrun.v1.ExecRequest.start:type_name -> clodrun.v1.StartRequest
|
|
|
|
|
0, // 1: clodrun.v1.ExecRequest.signal:type_name -> clodrun.v1.Signal
|
|
|
|
|
1, // 2: clodrun.v1.ExecRequest.resize:type_name -> clodrun.v1.WindowSize
|
|
|
|
|
6, // 3: clodrun.v1.StartRequest.env:type_name -> clodrun.v1.StartRequest.EnvEntry
|
|
|
|
|
1, // 4: clodrun.v1.StartRequest.pty:type_name -> clodrun.v1.WindowSize
|
|
|
|
|
5, // 5: clodrun.v1.ExecResponse.exit_status:type_name -> clodrun.v1.ExitStatus
|
|
|
|
|
2, // 6: clodrun.v1.ExecService.Exec:input_type -> clodrun.v1.ExecRequest
|
|
|
|
|
4, // 7: clodrun.v1.ExecService.Exec:output_type -> clodrun.v1.ExecResponse
|
|
|
|
|
var file_crush_v1_exec_proto_depIdxs = []int32{
|
|
|
|
|
3, // 0: crush.v1.ExecRequest.start:type_name -> crush.v1.StartRequest
|
|
|
|
|
0, // 1: crush.v1.ExecRequest.signal:type_name -> crush.v1.Signal
|
|
|
|
|
1, // 2: crush.v1.ExecRequest.resize:type_name -> crush.v1.WindowSize
|
|
|
|
|
6, // 3: crush.v1.StartRequest.env:type_name -> crush.v1.StartRequest.EnvEntry
|
|
|
|
|
1, // 4: crush.v1.StartRequest.pty:type_name -> crush.v1.WindowSize
|
|
|
|
|
5, // 5: crush.v1.ExecResponse.exit_status:type_name -> crush.v1.ExitStatus
|
|
|
|
|
2, // 6: crush.v1.ExecService.Exec:input_type -> crush.v1.ExecRequest
|
|
|
|
|
4, // 7: crush.v1.ExecService.Exec:output_type -> crush.v1.ExecResponse
|
|
|
|
|
7, // [7:8] is the sub-list for method output_type
|
|
|
|
|
6, // [6:7] is the sub-list for method input_type
|
|
|
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
|
|
|
@ -544,18 +541,18 @@ var file_clodrun_v1_exec_proto_depIdxs = []int32{
|
|
|
|
|
0, // [0:6] is the sub-list for field type_name
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_clodrun_v1_exec_proto_init() }
|
|
|
|
|
func file_clodrun_v1_exec_proto_init() {
|
|
|
|
|
if File_clodrun_v1_exec_proto != nil {
|
|
|
|
|
func init() { file_crush_v1_exec_proto_init() }
|
|
|
|
|
func file_crush_v1_exec_proto_init() {
|
|
|
|
|
if File_crush_v1_exec_proto != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
file_clodrun_v1_exec_proto_msgTypes[1].OneofWrappers = []any{
|
|
|
|
|
file_crush_v1_exec_proto_msgTypes[1].OneofWrappers = []any{
|
|
|
|
|
(*ExecRequest_Start)(nil),
|
|
|
|
|
(*ExecRequest_Stdin)(nil),
|
|
|
|
|
(*ExecRequest_Signal)(nil),
|
|
|
|
|
(*ExecRequest_Resize)(nil),
|
|
|
|
|
}
|
|
|
|
|
file_clodrun_v1_exec_proto_msgTypes[3].OneofWrappers = []any{
|
|
|
|
|
file_crush_v1_exec_proto_msgTypes[3].OneofWrappers = []any{
|
|
|
|
|
(*ExecResponse_Stdout)(nil),
|
|
|
|
|
(*ExecResponse_Stderr)(nil),
|
|
|
|
|
(*ExecResponse_ExitStatus)(nil),
|
|
|
|
|
@ -564,18 +561,18 @@ func file_clodrun_v1_exec_proto_init() {
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_clodrun_v1_exec_proto_rawDesc), len(file_clodrun_v1_exec_proto_rawDesc)),
|
|
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_crush_v1_exec_proto_rawDesc), len(file_crush_v1_exec_proto_rawDesc)),
|
|
|
|
|
NumEnums: 1,
|
|
|
|
|
NumMessages: 6,
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 1,
|
|
|
|
|
},
|
|
|
|
|
GoTypes: file_clodrun_v1_exec_proto_goTypes,
|
|
|
|
|
DependencyIndexes: file_clodrun_v1_exec_proto_depIdxs,
|
|
|
|
|
EnumInfos: file_clodrun_v1_exec_proto_enumTypes,
|
|
|
|
|
MessageInfos: file_clodrun_v1_exec_proto_msgTypes,
|
|
|
|
|
GoTypes: file_crush_v1_exec_proto_goTypes,
|
|
|
|
|
DependencyIndexes: file_crush_v1_exec_proto_depIdxs,
|
|
|
|
|
EnumInfos: file_crush_v1_exec_proto_enumTypes,
|
|
|
|
|
MessageInfos: file_crush_v1_exec_proto_msgTypes,
|
|
|
|
|
}.Build()
|
|
|
|
|
File_clodrun_v1_exec_proto = out.File
|
|
|
|
|
file_clodrun_v1_exec_proto_goTypes = nil
|
|
|
|
|
file_clodrun_v1_exec_proto_depIdxs = nil
|
|
|
|
|
File_crush_v1_exec_proto = out.File
|
|
|
|
|
file_crush_v1_exec_proto_goTypes = nil
|
|
|
|
|
file_crush_v1_exec_proto_depIdxs = nil
|
|
|
|
|
}
|