kubelatte-ce

Форк
2
Форк от sbertech/kubelatte-ce
482 строки · 14.6 Кб
1
// Code generated by protoc-gen-go. DO NOT EDIT.
2
// versions:
3
// 	protoc-gen-go v1.31.0
4
// 	protoc        v5.26.1
5
// source: Executor.proto
6

7
package proto
8

9
import (
10
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12
	reflect "reflect"
13
	sync "sync"
14
)
15

16
const (
17
	// Verify that this generated code is sufficiently up-to-date.
18
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
19
	// Verify that runtime/protoimpl is sufficiently up-to-date.
20
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
21
)
22

23
type EmptyMes struct {
24
	state         protoimpl.MessageState
25
	sizeCache     protoimpl.SizeCache
26
	unknownFields protoimpl.UnknownFields
27
}
28

29
func (x *EmptyMes) Reset() {
30
	*x = EmptyMes{}
31
	if protoimpl.UnsafeEnabled {
32
		mi := &file_Executor_proto_msgTypes[0]
33
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
34
		ms.StoreMessageInfo(mi)
35
	}
36
}
37

38
func (x *EmptyMes) String() string {
39
	return protoimpl.X.MessageStringOf(x)
40
}
41

42
func (*EmptyMes) ProtoMessage() {}
43

44
func (x *EmptyMes) ProtoReflect() protoreflect.Message {
45
	mi := &file_Executor_proto_msgTypes[0]
46
	if protoimpl.UnsafeEnabled && x != nil {
47
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
48
		if ms.LoadMessageInfo() == nil {
49
			ms.StoreMessageInfo(mi)
50
		}
51
		return ms
52
	}
53
	return mi.MessageOf(x)
54
}
55

56
// Deprecated: Use EmptyMes.ProtoReflect.Descriptor instead.
57
func (*EmptyMes) Descriptor() ([]byte, []int) {
58
	return file_Executor_proto_rawDescGZIP(), []int{0}
59
}
60

61
type SideEffectInfo struct {
62
	state         protoimpl.MessageState
63
	sizeCache     protoimpl.SizeCache
64
	unknownFields protoimpl.UnknownFields
65

66
	Configs *Configs `protobuf:"bytes,1,opt,name=configs,proto3" json:"configs,omitempty"`
67
	SeMode  int32    `protobuf:"varint,2,opt,name=seMode,proto3" json:"seMode,omitempty"`
68
}
69

70
func (x *SideEffectInfo) Reset() {
71
	*x = SideEffectInfo{}
72
	if protoimpl.UnsafeEnabled {
73
		mi := &file_Executor_proto_msgTypes[1]
74
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75
		ms.StoreMessageInfo(mi)
76
	}
77
}
78

79
func (x *SideEffectInfo) String() string {
80
	return protoimpl.X.MessageStringOf(x)
81
}
82

83
func (*SideEffectInfo) ProtoMessage() {}
84

85
func (x *SideEffectInfo) ProtoReflect() protoreflect.Message {
86
	mi := &file_Executor_proto_msgTypes[1]
87
	if protoimpl.UnsafeEnabled && x != nil {
88
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
89
		if ms.LoadMessageInfo() == nil {
90
			ms.StoreMessageInfo(mi)
91
		}
92
		return ms
93
	}
94
	return mi.MessageOf(x)
95
}
96

97
// Deprecated: Use SideEffectInfo.ProtoReflect.Descriptor instead.
98
func (*SideEffectInfo) Descriptor() ([]byte, []int) {
99
	return file_Executor_proto_rawDescGZIP(), []int{1}
100
}
101

102
func (x *SideEffectInfo) GetConfigs() *Configs {
103
	if x != nil {
104
		return x.Configs
105
	}
106
	return nil
107
}
108

109
func (x *SideEffectInfo) GetSeMode() int32 {
110
	if x != nil {
111
		return x.SeMode
112
	}
113
	return 0
114
}
115

116
type Configs struct {
117
	state         protoimpl.MessageState
118
	sizeCache     protoimpl.SizeCache
119
	unknownFields protoimpl.UnknownFields
120

121
	Kind         string      `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
122
	ApiVersion   string      `protobuf:"bytes,2,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
123
	ParentTag    int64       `protobuf:"varint,3,opt,name=parentTag,proto3" json:"parentTag,omitempty"`
124
	Metadata     *Metadata   `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
125
	TriggerRef   *TriggerRef `protobuf:"bytes,5,opt,name=triggerRef,proto3" json:"triggerRef,omitempty"`
126
	TemplateRefs []string    `protobuf:"bytes,6,rep,name=templateRefs,proto3" json:"templateRefs,omitempty"`
127
}
128

129
func (x *Configs) Reset() {
130
	*x = Configs{}
131
	if protoimpl.UnsafeEnabled {
132
		mi := &file_Executor_proto_msgTypes[2]
133
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
134
		ms.StoreMessageInfo(mi)
135
	}
136
}
137

138
func (x *Configs) String() string {
139
	return protoimpl.X.MessageStringOf(x)
140
}
141

142
func (*Configs) ProtoMessage() {}
143

144
func (x *Configs) ProtoReflect() protoreflect.Message {
145
	mi := &file_Executor_proto_msgTypes[2]
146
	if protoimpl.UnsafeEnabled && x != nil {
147
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
148
		if ms.LoadMessageInfo() == nil {
149
			ms.StoreMessageInfo(mi)
150
		}
151
		return ms
152
	}
153
	return mi.MessageOf(x)
154
}
155

156
// Deprecated: Use Configs.ProtoReflect.Descriptor instead.
157
func (*Configs) Descriptor() ([]byte, []int) {
158
	return file_Executor_proto_rawDescGZIP(), []int{2}
159
}
160

161
func (x *Configs) GetKind() string {
162
	if x != nil {
163
		return x.Kind
164
	}
165
	return ""
166
}
167

168
func (x *Configs) GetApiVersion() string {
169
	if x != nil {
170
		return x.ApiVersion
171
	}
172
	return ""
173
}
174

175
func (x *Configs) GetParentTag() int64 {
176
	if x != nil {
177
		return x.ParentTag
178
	}
179
	return 0
180
}
181

182
func (x *Configs) GetMetadata() *Metadata {
183
	if x != nil {
184
		return x.Metadata
185
	}
186
	return nil
187
}
188

189
func (x *Configs) GetTriggerRef() *TriggerRef {
190
	if x != nil {
191
		return x.TriggerRef
192
	}
193
	return nil
194
}
195

196
func (x *Configs) GetTemplateRefs() []string {
197
	if x != nil {
198
		return x.TemplateRefs
199
	}
200
	return nil
201
}
202

203
type Metadata struct {
204
	state         protoimpl.MessageState
205
	sizeCache     protoimpl.SizeCache
206
	unknownFields protoimpl.UnknownFields
207

208
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
209
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
210
}
211

212
func (x *Metadata) Reset() {
213
	*x = Metadata{}
214
	if protoimpl.UnsafeEnabled {
215
		mi := &file_Executor_proto_msgTypes[3]
216
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
217
		ms.StoreMessageInfo(mi)
218
	}
219
}
220

221
func (x *Metadata) String() string {
222
	return protoimpl.X.MessageStringOf(x)
223
}
224

225
func (*Metadata) ProtoMessage() {}
226

227
func (x *Metadata) ProtoReflect() protoreflect.Message {
228
	mi := &file_Executor_proto_msgTypes[3]
229
	if protoimpl.UnsafeEnabled && x != nil {
230
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
231
		if ms.LoadMessageInfo() == nil {
232
			ms.StoreMessageInfo(mi)
233
		}
234
		return ms
235
	}
236
	return mi.MessageOf(x)
237
}
238

239
// Deprecated: Use Metadata.ProtoReflect.Descriptor instead.
240
func (*Metadata) Descriptor() ([]byte, []int) {
241
	return file_Executor_proto_rawDescGZIP(), []int{3}
242
}
243

244
func (x *Metadata) GetNamespace() string {
245
	if x != nil {
246
		return x.Namespace
247
	}
248
	return ""
249
}
250

251
func (x *Metadata) GetName() string {
252
	if x != nil {
253
		return x.Name
254
	}
255
	return ""
256
}
257

258
type TriggerRef struct {
259
	state         protoimpl.MessageState
260
	sizeCache     protoimpl.SizeCache
261
	unknownFields protoimpl.UnknownFields
262

263
	Name             string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
264
	Namespace        string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
265
	SideEffectConfig string `protobuf:"bytes,3,opt,name=sideEffectConfig,proto3" json:"sideEffectConfig,omitempty"`
266
}
267

268
func (x *TriggerRef) Reset() {
269
	*x = TriggerRef{}
270
	if protoimpl.UnsafeEnabled {
271
		mi := &file_Executor_proto_msgTypes[4]
272
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
273
		ms.StoreMessageInfo(mi)
274
	}
275
}
276

277
func (x *TriggerRef) String() string {
278
	return protoimpl.X.MessageStringOf(x)
279
}
280

281
func (*TriggerRef) ProtoMessage() {}
282

283
func (x *TriggerRef) ProtoReflect() protoreflect.Message {
284
	mi := &file_Executor_proto_msgTypes[4]
285
	if protoimpl.UnsafeEnabled && x != nil {
286
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
287
		if ms.LoadMessageInfo() == nil {
288
			ms.StoreMessageInfo(mi)
289
		}
290
		return ms
291
	}
292
	return mi.MessageOf(x)
293
}
294

295
// Deprecated: Use TriggerRef.ProtoReflect.Descriptor instead.
296
func (*TriggerRef) Descriptor() ([]byte, []int) {
297
	return file_Executor_proto_rawDescGZIP(), []int{4}
298
}
299

300
func (x *TriggerRef) GetName() string {
301
	if x != nil {
302
		return x.Name
303
	}
304
	return ""
305
}
306

307
func (x *TriggerRef) GetNamespace() string {
308
	if x != nil {
309
		return x.Namespace
310
	}
311
	return ""
312
}
313

314
func (x *TriggerRef) GetSideEffectConfig() string {
315
	if x != nil {
316
		return x.SideEffectConfig
317
	}
318
	return ""
319
}
320

321
var File_Executor_proto protoreflect.FileDescriptor
322

323
var file_Executor_proto_rawDesc = []byte{
324
	0x0a, 0x0e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
325
	0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0a, 0x0a, 0x08, 0x45, 0x6d, 0x70, 0x74, 0x79,
326
	0x4d, 0x65, 0x73, 0x22, 0x52, 0x0a, 0x0e, 0x53, 0x69, 0x64, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63,
327
	0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,
328
	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43,
329
	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12,
330
	0x16, 0x0a, 0x06, 0x73, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
331
	0x06, 0x73, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0xdf, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x66,
332
	0x69, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
333
	0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65,
334
	0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69,
335
	0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e,
336
	0x74, 0x54, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x61, 0x72, 0x65,
337
	0x6e, 0x74, 0x54, 0x61, 0x67, 0x12, 0x2b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
338
	0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
339
	0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
340
	0x74, 0x61, 0x12, 0x31, 0x0a, 0x0a, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x66,
341
	0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54,
342
	0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x65, 0x66, 0x52, 0x0a, 0x74, 0x72, 0x69, 0x67, 0x67,
343
	0x65, 0x72, 0x52, 0x65, 0x66, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
344
	0x65, 0x52, 0x65, 0x66, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x65, 0x6d,
345
	0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x73, 0x22, 0x3c, 0x0a, 0x08, 0x4d, 0x65, 0x74,
346
	0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
347
	0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70,
348
	0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
349
	0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6a, 0x0a, 0x0a, 0x54, 0x72, 0x69, 0x67, 0x67,
350
	0x65, 0x72, 0x52, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
351
	0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d,
352
	0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61,
353
	0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x69, 0x64, 0x65, 0x45,
354
	0x66, 0x66, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28,
355
	0x09, 0x52, 0x10, 0x73, 0x69, 0x64, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e,
356
	0x66, 0x69, 0x67, 0x32, 0x44, 0x0a, 0x08, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x12,
357
	0x38, 0x0a, 0x0c, 0x44, 0x6f, 0x53, 0x69, 0x64, 0x65, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12,
358
	0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x69, 0x64, 0x65, 0x45, 0x66, 0x66, 0x65,
359
	0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45,
360
	0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x22, 0x00, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x3b, 0x70,
361
	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
362
}
363

364
var (
365
	file_Executor_proto_rawDescOnce sync.Once
366
	file_Executor_proto_rawDescData = file_Executor_proto_rawDesc
367
)
368

369
func file_Executor_proto_rawDescGZIP() []byte {
370
	file_Executor_proto_rawDescOnce.Do(func() {
371
		file_Executor_proto_rawDescData = protoimpl.X.CompressGZIP(file_Executor_proto_rawDescData)
372
	})
373
	return file_Executor_proto_rawDescData
374
}
375

376
var file_Executor_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
377
var file_Executor_proto_goTypes = []interface{}{
378
	(*EmptyMes)(nil),       // 0: proto.EmptyMes
379
	(*SideEffectInfo)(nil), // 1: proto.SideEffectInfo
380
	(*Configs)(nil),        // 2: proto.Configs
381
	(*Metadata)(nil),       // 3: proto.Metadata
382
	(*TriggerRef)(nil),     // 4: proto.TriggerRef
383
}
384
var file_Executor_proto_depIdxs = []int32{
385
	2, // 0: proto.SideEffectInfo.configs:type_name -> proto.Configs
386
	3, // 1: proto.Configs.metadata:type_name -> proto.Metadata
387
	4, // 2: proto.Configs.triggerRef:type_name -> proto.TriggerRef
388
	1, // 3: proto.Executor.DoSideEffect:input_type -> proto.SideEffectInfo
389
	0, // 4: proto.Executor.DoSideEffect:output_type -> proto.EmptyMes
390
	4, // [4:5] is the sub-list for method output_type
391
	3, // [3:4] is the sub-list for method input_type
392
	3, // [3:3] is the sub-list for extension type_name
393
	3, // [3:3] is the sub-list for extension extendee
394
	0, // [0:3] is the sub-list for field type_name
395
}
396

397
func init() { file_Executor_proto_init() }
398
func file_Executor_proto_init() {
399
	if File_Executor_proto != nil {
400
		return
401
	}
402
	if !protoimpl.UnsafeEnabled {
403
		file_Executor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
404
			switch v := v.(*EmptyMes); i {
405
			case 0:
406
				return &v.state
407
			case 1:
408
				return &v.sizeCache
409
			case 2:
410
				return &v.unknownFields
411
			default:
412
				return nil
413
			}
414
		}
415
		file_Executor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
416
			switch v := v.(*SideEffectInfo); i {
417
			case 0:
418
				return &v.state
419
			case 1:
420
				return &v.sizeCache
421
			case 2:
422
				return &v.unknownFields
423
			default:
424
				return nil
425
			}
426
		}
427
		file_Executor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
428
			switch v := v.(*Configs); i {
429
			case 0:
430
				return &v.state
431
			case 1:
432
				return &v.sizeCache
433
			case 2:
434
				return &v.unknownFields
435
			default:
436
				return nil
437
			}
438
		}
439
		file_Executor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
440
			switch v := v.(*Metadata); i {
441
			case 0:
442
				return &v.state
443
			case 1:
444
				return &v.sizeCache
445
			case 2:
446
				return &v.unknownFields
447
			default:
448
				return nil
449
			}
450
		}
451
		file_Executor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
452
			switch v := v.(*TriggerRef); i {
453
			case 0:
454
				return &v.state
455
			case 1:
456
				return &v.sizeCache
457
			case 2:
458
				return &v.unknownFields
459
			default:
460
				return nil
461
			}
462
		}
463
	}
464
	type x struct{}
465
	out := protoimpl.TypeBuilder{
466
		File: protoimpl.DescBuilder{
467
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
468
			RawDescriptor: file_Executor_proto_rawDesc,
469
			NumEnums:      0,
470
			NumMessages:   5,
471
			NumExtensions: 0,
472
			NumServices:   1,
473
		},
474
		GoTypes:           file_Executor_proto_goTypes,
475
		DependencyIndexes: file_Executor_proto_depIdxs,
476
		MessageInfos:      file_Executor_proto_msgTypes,
477
	}.Build()
478
	File_Executor_proto = out.File
479
	file_Executor_proto_rawDesc = nil
480
	file_Executor_proto_goTypes = nil
481
	file_Executor_proto_depIdxs = nil
482
}
483

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.