-
Notifications
You must be signed in to change notification settings - Fork 1
/
exec.pb.go
164 lines (142 loc) · 5.48 KB
/
exec.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: exec.proto
package proto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type ExecRequest struct {
Executable string `protobuf:"bytes,1,opt,name=executable,proto3" json:"executable,omitempty"`
Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"`
Env []string `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExecRequest) Reset() { *m = ExecRequest{} }
func (m *ExecRequest) String() string { return proto.CompactTextString(m) }
func (*ExecRequest) ProtoMessage() {}
func (*ExecRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4d737c7315c25422, []int{0}
}
func (m *ExecRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecRequest.Unmarshal(m, b)
}
func (m *ExecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExecRequest.Marshal(b, m, deterministic)
}
func (m *ExecRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExecRequest.Merge(m, src)
}
func (m *ExecRequest) XXX_Size() int {
return xxx_messageInfo_ExecRequest.Size(m)
}
func (m *ExecRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ExecRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ExecRequest proto.InternalMessageInfo
func (m *ExecRequest) GetExecutable() string {
if m != nil {
return m.Executable
}
return ""
}
func (m *ExecRequest) GetArgs() []string {
if m != nil {
return m.Args
}
return nil
}
func (m *ExecRequest) GetStdin() []byte {
if m != nil {
return m.Stdin
}
return nil
}
func (m *ExecRequest) GetEnv() []string {
if m != nil {
return m.Env
}
return nil
}
type ExecResult struct {
ReturnCode int32 `protobuf:"varint,1,opt,name=returnCode,proto3" json:"returnCode,omitempty"`
Stdout string `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"`
Stderr string `protobuf:"bytes,3,opt,name=stderr,proto3" json:"stderr,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExecResult) Reset() { *m = ExecResult{} }
func (m *ExecResult) String() string { return proto.CompactTextString(m) }
func (*ExecResult) ProtoMessage() {}
func (*ExecResult) Descriptor() ([]byte, []int) {
return fileDescriptor_4d737c7315c25422, []int{1}
}
func (m *ExecResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecResult.Unmarshal(m, b)
}
func (m *ExecResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExecResult.Marshal(b, m, deterministic)
}
func (m *ExecResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExecResult.Merge(m, src)
}
func (m *ExecResult) XXX_Size() int {
return xxx_messageInfo_ExecResult.Size(m)
}
func (m *ExecResult) XXX_DiscardUnknown() {
xxx_messageInfo_ExecResult.DiscardUnknown(m)
}
var xxx_messageInfo_ExecResult proto.InternalMessageInfo
func (m *ExecResult) GetReturnCode() int32 {
if m != nil {
return m.ReturnCode
}
return 0
}
func (m *ExecResult) GetStdout() string {
if m != nil {
return m.Stdout
}
return ""
}
func (m *ExecResult) GetStderr() string {
if m != nil {
return m.Stderr
}
return ""
}
func init() {
proto.RegisterType((*ExecRequest)(nil), "gofigure.ExecRequest")
proto.RegisterType((*ExecResult)(nil), "gofigure.ExecResult")
}
func init() { proto.RegisterFile("exec.proto", fileDescriptor_4d737c7315c25422) }
var fileDescriptor_4d737c7315c25422 = []byte{
// 210 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x8f, 0x4f, 0x4b, 0xc4, 0x30,
0x10, 0xc5, 0xe9, 0x76, 0x77, 0x71, 0x47, 0x0f, 0x12, 0x44, 0x72, 0x92, 0xb2, 0x22, 0xf4, 0xd4,
0x1e, 0x3c, 0x78, 0x57, 0xfc, 0x02, 0x39, 0x8a, 0x97, 0xfe, 0x19, 0xd3, 0x40, 0x4d, 0x74, 0x32,
0x23, 0xfd, 0xf8, 0x62, 0x52, 0xa1, 0xa7, 0xcc, 0xfb, 0xf1, 0xe0, 0x97, 0x07, 0x80, 0x0b, 0x0e,
0xcd, 0x17, 0x05, 0x0e, 0xea, 0xc2, 0x86, 0x0f, 0x67, 0x85, 0xf0, 0xec, 0xe0, 0xf2, 0x75, 0xc1,
0xc1, 0xe0, 0xb7, 0x60, 0x64, 0x75, 0x97, 0x6b, 0xc2, 0x5d, 0x3f, 0xa3, 0x2e, 0xaa, 0xa2, 0x3e,
0x99, 0x0d, 0x51, 0x0a, 0xf6, 0x1d, 0xd9, 0xa8, 0x77, 0x55, 0x59, 0x9f, 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