This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
/
execution.pb.go
1838 lines (1623 loc) · 74 KB
/
execution.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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: flyteidl/admin/execution.proto
package admin
import (
fmt "fmt"
core "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"
proto "github.com/golang/protobuf/proto"
duration "github.com/golang/protobuf/ptypes/duration"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
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
// The state of the execution is used to control its visibility in the UI/CLI.
type ExecutionState int32
const (
// By default, all executions are considered active.
ExecutionState_EXECUTION_ACTIVE ExecutionState = 0
// Archived executions are no longer visible in the UI.
ExecutionState_EXECUTION_ARCHIVED ExecutionState = 1
)
var ExecutionState_name = map[int32]string{
0: "EXECUTION_ACTIVE",
1: "EXECUTION_ARCHIVED",
}
var ExecutionState_value = map[string]int32{
"EXECUTION_ACTIVE": 0,
"EXECUTION_ARCHIVED": 1,
}
func (x ExecutionState) String() string {
return proto.EnumName(ExecutionState_name, int32(x))
}
func (ExecutionState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_4e2785d91b3809ec, []int{0}
}
// The method by which this execution was launched.
type ExecutionMetadata_ExecutionMode int32
const (
// The default execution mode, MANUAL implies that an execution was launched by an individual.
ExecutionMetadata_MANUAL ExecutionMetadata_ExecutionMode = 0
// A schedule triggered this execution launch.
ExecutionMetadata_SCHEDULED ExecutionMetadata_ExecutionMode = 1
// A system process was responsible for launching this execution rather an individual.
ExecutionMetadata_SYSTEM ExecutionMetadata_ExecutionMode = 2
// This execution was launched with identical inputs as a previous execution.
ExecutionMetadata_RELAUNCH ExecutionMetadata_ExecutionMode = 3
// This execution was triggered by another execution.
ExecutionMetadata_CHILD_WORKFLOW ExecutionMetadata_ExecutionMode = 4
// This execution was recovered from another execution.
ExecutionMetadata_RECOVERED ExecutionMetadata_ExecutionMode = 5
)
var ExecutionMetadata_ExecutionMode_name = map[int32]string{
0: "MANUAL",
1: "SCHEDULED",
2: "SYSTEM",
3: "RELAUNCH",
4: "CHILD_WORKFLOW",
5: "RECOVERED",
}
var ExecutionMetadata_ExecutionMode_value = map[string]int32{
"MANUAL": 0,
"SCHEDULED": 1,
"SYSTEM": 2,
"RELAUNCH": 3,
"CHILD_WORKFLOW": 4,
"RECOVERED": 5,
}
func (x ExecutionMetadata_ExecutionMode) String() string {
return proto.EnumName(ExecutionMetadata_ExecutionMode_name, int32(x))
}
func (ExecutionMetadata_ExecutionMode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_4e2785d91b3809ec, []int{11, 0}
}
// Request to launch an execution with the given project, domain and optionally-assigned name.
type ExecutionCreateRequest struct {
// Name of the project the execution belongs to.
// +required
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Name of the domain the execution belongs to.
// A domain can be considered as a subset within a specific project.
// +required
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
// User provided value for the resource.
// If none is provided the system will generate a unique string.
// +optional
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Additional fields necessary to launch the execution.
// +optional
Spec *ExecutionSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
// The inputs required to start the execution. All required inputs must be
// included in this map. If not required and not provided, defaults apply.
// +optional
Inputs *core.LiteralMap `protobuf:"bytes,5,opt,name=inputs,proto3" json:"inputs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExecutionCreateRequest) Reset() { *m = ExecutionCreateRequest{} }
func (m *ExecutionCreateRequest) String() string { return proto.CompactTextString(m) }
func (*ExecutionCreateRequest) ProtoMessage() {}
func (*ExecutionCreateRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4e2785d91b3809ec, []int{0}
}
func (m *ExecutionCreateRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecutionCreateRequest.Unmarshal(m, b)
}
func (m *ExecutionCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExecutionCreateRequest.Marshal(b, m, deterministic)
}
func (m *ExecutionCreateRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExecutionCreateRequest.Merge(m, src)
}
func (m *ExecutionCreateRequest) XXX_Size() int {
return xxx_messageInfo_ExecutionCreateRequest.Size(m)
}
func (m *ExecutionCreateRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ExecutionCreateRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ExecutionCreateRequest proto.InternalMessageInfo
func (m *ExecutionCreateRequest) GetProject() string {
if m != nil {
return m.Project
}
return ""
}
func (m *ExecutionCreateRequest) GetDomain() string {
if m != nil {
return m.Domain
}
return ""
}
func (m *ExecutionCreateRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ExecutionCreateRequest) GetSpec() *ExecutionSpec {
if m != nil {
return m.Spec
}
return nil
}
func (m *ExecutionCreateRequest) GetInputs() *core.LiteralMap {
if m != nil {
return m.Inputs
}
return nil
}
// Request to relaunch the referenced execution.
type ExecutionRelaunchRequest struct {
// Identifier of the workflow execution to relaunch.
// +required
Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// User provided value for the relaunched execution.
// If none is provided the system will generate a unique string.
// +optional
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
// If enabled, all calculations are performed even if cached results would be available, overwriting the stored
// data once execution finishes successfully.
OverwriteCache bool `protobuf:"varint,4,opt,name=overwrite_cache,json=overwriteCache,proto3" json:"overwrite_cache,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExecutionRelaunchRequest) Reset() { *m = ExecutionRelaunchRequest{} }
func (m *ExecutionRelaunchRequest) String() string { return proto.CompactTextString(m) }
func (*ExecutionRelaunchRequest) ProtoMessage() {}
func (*ExecutionRelaunchRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4e2785d91b3809ec, []int{1}
}
func (m *ExecutionRelaunchRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecutionRelaunchRequest.Unmarshal(m, b)
}
func (m *ExecutionRelaunchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExecutionRelaunchRequest.Marshal(b, m, deterministic)
}
func (m *ExecutionRelaunchRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExecutionRelaunchRequest.Merge(m, src)
}
func (m *ExecutionRelaunchRequest) XXX_Size() int {
return xxx_messageInfo_ExecutionRelaunchRequest.Size(m)
}
func (m *ExecutionRelaunchRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ExecutionRelaunchRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ExecutionRelaunchRequest proto.InternalMessageInfo
func (m *ExecutionRelaunchRequest) GetId() *core.WorkflowExecutionIdentifier {
if m != nil {
return m.Id
}
return nil
}
func (m *ExecutionRelaunchRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ExecutionRelaunchRequest) GetOverwriteCache() bool {
if m != nil {
return m.OverwriteCache
}
return false
}
// Request to recover the referenced execution.
type ExecutionRecoverRequest struct {
// Identifier of the workflow execution to recover.
Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// User provided value for the recovered execution.
// If none is provided the system will generate a unique string.
// +optional
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Additional metadata which will be used to overwrite any metadata in the reference execution when triggering a recovery execution.
Metadata *ExecutionMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExecutionRecoverRequest) Reset() { *m = ExecutionRecoverRequest{} }
func (m *ExecutionRecoverRequest) String() string { return proto.CompactTextString(m) }
func (*ExecutionRecoverRequest) ProtoMessage() {}
func (*ExecutionRecoverRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4e2785d91b3809ec, []int{2}
}
func (m *ExecutionRecoverRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecutionRecoverRequest.Unmarshal(m, b)
}
func (m *ExecutionRecoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExecutionRecoverRequest.Marshal(b, m, deterministic)
}
func (m *ExecutionRecoverRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExecutionRecoverRequest.Merge(m, src)
}
func (m *ExecutionRecoverRequest) XXX_Size() int {
return xxx_messageInfo_ExecutionRecoverRequest.Size(m)
}
func (m *ExecutionRecoverRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ExecutionRecoverRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ExecutionRecoverRequest proto.InternalMessageInfo
func (m *ExecutionRecoverRequest) GetId() *core.WorkflowExecutionIdentifier {
if m != nil {
return m.Id
}
return nil
}
func (m *ExecutionRecoverRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ExecutionRecoverRequest) GetMetadata() *ExecutionMetadata {
if m != nil {
return m.Metadata
}
return nil
}
// The unique identifier for a successfully created execution.
// If the name was *not* specified in the create request, this identifier will include a generated name.
type ExecutionCreateResponse struct {
Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExecutionCreateResponse) Reset() { *m = ExecutionCreateResponse{} }
func (m *ExecutionCreateResponse) String() string { return proto.CompactTextString(m) }
func (*ExecutionCreateResponse) ProtoMessage() {}
func (*ExecutionCreateResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4e2785d91b3809ec, []int{3}
}
func (m *ExecutionCreateResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecutionCreateResponse.Unmarshal(m, b)
}
func (m *ExecutionCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExecutionCreateResponse.Marshal(b, m, deterministic)
}
func (m *ExecutionCreateResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExecutionCreateResponse.Merge(m, src)
}
func (m *ExecutionCreateResponse) XXX_Size() int {
return xxx_messageInfo_ExecutionCreateResponse.Size(m)
}
func (m *ExecutionCreateResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ExecutionCreateResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ExecutionCreateResponse proto.InternalMessageInfo
func (m *ExecutionCreateResponse) GetId() *core.WorkflowExecutionIdentifier {
if m != nil {
return m.Id
}
return nil
}
// A message used to fetch a single workflow execution entity.
// See :ref:`ref_flyteidl.admin.Execution` for more details
type WorkflowExecutionGetRequest struct {
// Uniquely identifies an individual workflow execution.
Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WorkflowExecutionGetRequest) Reset() { *m = WorkflowExecutionGetRequest{} }
func (m *WorkflowExecutionGetRequest) String() string { return proto.CompactTextString(m) }
func (*WorkflowExecutionGetRequest) ProtoMessage() {}
func (*WorkflowExecutionGetRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4e2785d91b3809ec, []int{4}
}
func (m *WorkflowExecutionGetRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WorkflowExecutionGetRequest.Unmarshal(m, b)
}
func (m *WorkflowExecutionGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WorkflowExecutionGetRequest.Marshal(b, m, deterministic)
}
func (m *WorkflowExecutionGetRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_WorkflowExecutionGetRequest.Merge(m, src)
}
func (m *WorkflowExecutionGetRequest) XXX_Size() int {
return xxx_messageInfo_WorkflowExecutionGetRequest.Size(m)
}
func (m *WorkflowExecutionGetRequest) XXX_DiscardUnknown() {
xxx_messageInfo_WorkflowExecutionGetRequest.DiscardUnknown(m)
}
var xxx_messageInfo_WorkflowExecutionGetRequest proto.InternalMessageInfo
func (m *WorkflowExecutionGetRequest) GetId() *core.WorkflowExecutionIdentifier {
if m != nil {
return m.Id
}
return nil
}
// A workflow execution represents an instantiated workflow, including all inputs and additional
// metadata as well as computed results included state, outputs, and duration-based attributes.
// Used as a response object used in Get and List execution requests.
type Execution struct {
// Unique identifier of the workflow execution.
Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// User-provided configuration and inputs for launching the execution.
Spec *ExecutionSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// Execution results.
Closure *ExecutionClosure `protobuf:"bytes,3,opt,name=closure,proto3" json:"closure,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Execution) Reset() { *m = Execution{} }
func (m *Execution) String() string { return proto.CompactTextString(m) }
func (*Execution) ProtoMessage() {}
func (*Execution) Descriptor() ([]byte, []int) {
return fileDescriptor_4e2785d91b3809ec, []int{5}
}
func (m *Execution) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Execution.Unmarshal(m, b)
}
func (m *Execution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Execution.Marshal(b, m, deterministic)
}
func (m *Execution) XXX_Merge(src proto.Message) {
xxx_messageInfo_Execution.Merge(m, src)
}
func (m *Execution) XXX_Size() int {
return xxx_messageInfo_Execution.Size(m)
}
func (m *Execution) XXX_DiscardUnknown() {
xxx_messageInfo_Execution.DiscardUnknown(m)
}
var xxx_messageInfo_Execution proto.InternalMessageInfo
func (m *Execution) GetId() *core.WorkflowExecutionIdentifier {
if m != nil {
return m.Id
}
return nil
}
func (m *Execution) GetSpec() *ExecutionSpec {
if m != nil {
return m.Spec
}
return nil
}
func (m *Execution) GetClosure() *ExecutionClosure {
if m != nil {
return m.Closure
}
return nil
}
// Used as a response for request to list executions.
// See :ref:`ref_flyteidl.admin.Execution` for more details
type ExecutionList struct {
Executions []*Execution `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"`
// In the case of multiple pages of results, the server-provided token can be used to fetch the next page
// in a query. If there are no more results, this value will be empty.
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExecutionList) Reset() { *m = ExecutionList{} }
func (m *ExecutionList) String() string { return proto.CompactTextString(m) }
func (*ExecutionList) ProtoMessage() {}
func (*ExecutionList) Descriptor() ([]byte, []int) {
return fileDescriptor_4e2785d91b3809ec, []int{6}
}
func (m *ExecutionList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecutionList.Unmarshal(m, b)
}
func (m *ExecutionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExecutionList.Marshal(b, m, deterministic)
}
func (m *ExecutionList) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExecutionList.Merge(m, src)
}
func (m *ExecutionList) XXX_Size() int {
return xxx_messageInfo_ExecutionList.Size(m)
}
func (m *ExecutionList) XXX_DiscardUnknown() {
xxx_messageInfo_ExecutionList.DiscardUnknown(m)
}
var xxx_messageInfo_ExecutionList proto.InternalMessageInfo
func (m *ExecutionList) GetExecutions() []*Execution {
if m != nil {
return m.Executions
}
return nil
}
func (m *ExecutionList) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
// Input/output data can represented by actual values or a link to where values are stored
type LiteralMapBlob struct {
// Types that are valid to be assigned to Data:
// *LiteralMapBlob_Values
// *LiteralMapBlob_Uri
Data isLiteralMapBlob_Data `protobuf_oneof:"data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LiteralMapBlob) Reset() { *m = LiteralMapBlob{} }
func (m *LiteralMapBlob) String() string { return proto.CompactTextString(m) }
func (*LiteralMapBlob) ProtoMessage() {}
func (*LiteralMapBlob) Descriptor() ([]byte, []int) {
return fileDescriptor_4e2785d91b3809ec, []int{7}
}
func (m *LiteralMapBlob) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LiteralMapBlob.Unmarshal(m, b)
}
func (m *LiteralMapBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LiteralMapBlob.Marshal(b, m, deterministic)
}
func (m *LiteralMapBlob) XXX_Merge(src proto.Message) {
xxx_messageInfo_LiteralMapBlob.Merge(m, src)
}
func (m *LiteralMapBlob) XXX_Size() int {
return xxx_messageInfo_LiteralMapBlob.Size(m)
}
func (m *LiteralMapBlob) XXX_DiscardUnknown() {
xxx_messageInfo_LiteralMapBlob.DiscardUnknown(m)
}
var xxx_messageInfo_LiteralMapBlob proto.InternalMessageInfo
type isLiteralMapBlob_Data interface {
isLiteralMapBlob_Data()
}
type LiteralMapBlob_Values struct {
Values *core.LiteralMap `protobuf:"bytes,1,opt,name=values,proto3,oneof"`
}
type LiteralMapBlob_Uri struct {
Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"`
}
func (*LiteralMapBlob_Values) isLiteralMapBlob_Data() {}
func (*LiteralMapBlob_Uri) isLiteralMapBlob_Data() {}
func (m *LiteralMapBlob) GetData() isLiteralMapBlob_Data {
if m != nil {
return m.Data
}
return nil
}
// Deprecated: Do not use.
func (m *LiteralMapBlob) GetValues() *core.LiteralMap {
if x, ok := m.GetData().(*LiteralMapBlob_Values); ok {
return x.Values
}
return nil
}
func (m *LiteralMapBlob) GetUri() string {
if x, ok := m.GetData().(*LiteralMapBlob_Uri); ok {
return x.Uri
}
return ""
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*LiteralMapBlob) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*LiteralMapBlob_Values)(nil),
(*LiteralMapBlob_Uri)(nil),
}
}
// Specifies metadata around an aborted workflow execution.
type AbortMetadata struct {
// In the case of a user-specified abort, this will pass along the user-supplied cause.
Cause string `protobuf:"bytes,1,opt,name=cause,proto3" json:"cause,omitempty"`
// Identifies the entity (if any) responsible for terminating the execution
Principal string `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AbortMetadata) Reset() { *m = AbortMetadata{} }
func (m *AbortMetadata) String() string { return proto.CompactTextString(m) }
func (*AbortMetadata) ProtoMessage() {}
func (*AbortMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_4e2785d91b3809ec, []int{8}
}
func (m *AbortMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AbortMetadata.Unmarshal(m, b)
}
func (m *AbortMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AbortMetadata.Marshal(b, m, deterministic)
}
func (m *AbortMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_AbortMetadata.Merge(m, src)
}
func (m *AbortMetadata) XXX_Size() int {
return xxx_messageInfo_AbortMetadata.Size(m)
}
func (m *AbortMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_AbortMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_AbortMetadata proto.InternalMessageInfo
func (m *AbortMetadata) GetCause() string {
if m != nil {
return m.Cause
}
return ""
}
func (m *AbortMetadata) GetPrincipal() string {
if m != nil {
return m.Principal
}
return ""
}
// Encapsulates the results of the Execution
type ExecutionClosure struct {
// A result produced by a terminated execution.
// A pending (non-terminal) execution will not have any output result.
//
// Types that are valid to be assigned to OutputResult:
// *ExecutionClosure_Outputs
// *ExecutionClosure_Error
// *ExecutionClosure_AbortCause
// *ExecutionClosure_AbortMetadata
// *ExecutionClosure_OutputData
OutputResult isExecutionClosure_OutputResult `protobuf_oneof:"output_result"`
// Inputs computed and passed for execution.
// computed_inputs depends on inputs in ExecutionSpec, fixed and default inputs in launch plan
ComputedInputs *core.LiteralMap `protobuf:"bytes,3,opt,name=computed_inputs,json=computedInputs,proto3" json:"computed_inputs,omitempty"` // Deprecated: Do not use.
// Most recent recorded phase for the execution.
Phase core.WorkflowExecution_Phase `protobuf:"varint,4,opt,name=phase,proto3,enum=flyteidl.core.WorkflowExecution_Phase" json:"phase,omitempty"`
// Reported time at which the execution began running.
StartedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
// The amount of time the execution spent running.
Duration *duration.Duration `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"`
// Reported time at which the execution was created.
CreatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// Reported time at which the execution was last updated.
UpdatedAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// The notification settings to use after merging the CreateExecutionRequest and the launch plan
// notification settings. An execution launched with notifications will always prefer that definition
// to notifications defined statically in a launch plan.
Notifications []*Notification `protobuf:"bytes,9,rep,name=notifications,proto3" json:"notifications,omitempty"`
// Identifies the workflow definition for this execution.
WorkflowId *core.Identifier `protobuf:"bytes,11,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
// Provides the details of the last stage change
StateChangeDetails *ExecutionStateChangeDetails `protobuf:"bytes,14,opt,name=state_change_details,json=stateChangeDetails,proto3" json:"state_change_details,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExecutionClosure) Reset() { *m = ExecutionClosure{} }
func (m *ExecutionClosure) String() string { return proto.CompactTextString(m) }
func (*ExecutionClosure) ProtoMessage() {}
func (*ExecutionClosure) Descriptor() ([]byte, []int) {
return fileDescriptor_4e2785d91b3809ec, []int{9}
}
func (m *ExecutionClosure) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecutionClosure.Unmarshal(m, b)
}
func (m *ExecutionClosure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExecutionClosure.Marshal(b, m, deterministic)
}
func (m *ExecutionClosure) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExecutionClosure.Merge(m, src)
}
func (m *ExecutionClosure) XXX_Size() int {
return xxx_messageInfo_ExecutionClosure.Size(m)
}
func (m *ExecutionClosure) XXX_DiscardUnknown() {
xxx_messageInfo_ExecutionClosure.DiscardUnknown(m)
}
var xxx_messageInfo_ExecutionClosure proto.InternalMessageInfo
type isExecutionClosure_OutputResult interface {
isExecutionClosure_OutputResult()
}
type ExecutionClosure_Outputs struct {
Outputs *LiteralMapBlob `protobuf:"bytes,1,opt,name=outputs,proto3,oneof"`
}
type ExecutionClosure_Error struct {
Error *core.ExecutionError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type ExecutionClosure_AbortCause struct {
AbortCause string `protobuf:"bytes,10,opt,name=abort_cause,json=abortCause,proto3,oneof"`
}
type ExecutionClosure_AbortMetadata struct {
AbortMetadata *AbortMetadata `protobuf:"bytes,12,opt,name=abort_metadata,json=abortMetadata,proto3,oneof"`
}
type ExecutionClosure_OutputData struct {
OutputData *core.LiteralMap `protobuf:"bytes,13,opt,name=output_data,json=outputData,proto3,oneof"`
}
func (*ExecutionClosure_Outputs) isExecutionClosure_OutputResult() {}
func (*ExecutionClosure_Error) isExecutionClosure_OutputResult() {}
func (*ExecutionClosure_AbortCause) isExecutionClosure_OutputResult() {}
func (*ExecutionClosure_AbortMetadata) isExecutionClosure_OutputResult() {}
func (*ExecutionClosure_OutputData) isExecutionClosure_OutputResult() {}
func (m *ExecutionClosure) GetOutputResult() isExecutionClosure_OutputResult {
if m != nil {
return m.OutputResult
}
return nil
}
// Deprecated: Do not use.
func (m *ExecutionClosure) GetOutputs() *LiteralMapBlob {
if x, ok := m.GetOutputResult().(*ExecutionClosure_Outputs); ok {
return x.Outputs
}
return nil
}
func (m *ExecutionClosure) GetError() *core.ExecutionError {
if x, ok := m.GetOutputResult().(*ExecutionClosure_Error); ok {
return x.Error
}
return nil
}
// Deprecated: Do not use.
func (m *ExecutionClosure) GetAbortCause() string {
if x, ok := m.GetOutputResult().(*ExecutionClosure_AbortCause); ok {
return x.AbortCause
}
return ""
}
func (m *ExecutionClosure) GetAbortMetadata() *AbortMetadata {
if x, ok := m.GetOutputResult().(*ExecutionClosure_AbortMetadata); ok {
return x.AbortMetadata
}
return nil
}
// Deprecated: Do not use.
func (m *ExecutionClosure) GetOutputData() *core.LiteralMap {
if x, ok := m.GetOutputResult().(*ExecutionClosure_OutputData); ok {
return x.OutputData
}
return nil
}
// Deprecated: Do not use.
func (m *ExecutionClosure) GetComputedInputs() *core.LiteralMap {
if m != nil {
return m.ComputedInputs
}
return nil
}
func (m *ExecutionClosure) GetPhase() core.WorkflowExecution_Phase {
if m != nil {
return m.Phase
}
return core.WorkflowExecution_UNDEFINED
}
func (m *ExecutionClosure) GetStartedAt() *timestamp.Timestamp {
if m != nil {
return m.StartedAt
}
return nil
}
func (m *ExecutionClosure) GetDuration() *duration.Duration {
if m != nil {
return m.Duration
}
return nil
}
func (m *ExecutionClosure) GetCreatedAt() *timestamp.Timestamp {
if m != nil {
return m.CreatedAt
}
return nil
}
func (m *ExecutionClosure) GetUpdatedAt() *timestamp.Timestamp {
if m != nil {
return m.UpdatedAt
}
return nil
}
func (m *ExecutionClosure) GetNotifications() []*Notification {
if m != nil {
return m.Notifications
}
return nil
}
func (m *ExecutionClosure) GetWorkflowId() *core.Identifier {
if m != nil {
return m.WorkflowId
}
return nil
}
func (m *ExecutionClosure) GetStateChangeDetails() *ExecutionStateChangeDetails {
if m != nil {
return m.StateChangeDetails
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*ExecutionClosure) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*ExecutionClosure_Outputs)(nil),
(*ExecutionClosure_Error)(nil),
(*ExecutionClosure_AbortCause)(nil),
(*ExecutionClosure_AbortMetadata)(nil),
(*ExecutionClosure_OutputData)(nil),
}
}
// Represents system, rather than user-facing, metadata about an execution.
type SystemMetadata struct {
// Which execution cluster this execution ran on.
ExecutionCluster string `protobuf:"bytes,1,opt,name=execution_cluster,json=executionCluster,proto3" json:"execution_cluster,omitempty"`
// Which kubernetes namespace the execution ran under.
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SystemMetadata) Reset() { *m = SystemMetadata{} }
func (m *SystemMetadata) String() string { return proto.CompactTextString(m) }
func (*SystemMetadata) ProtoMessage() {}
func (*SystemMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_4e2785d91b3809ec, []int{10}
}
func (m *SystemMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SystemMetadata.Unmarshal(m, b)
}
func (m *SystemMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SystemMetadata.Marshal(b, m, deterministic)
}
func (m *SystemMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_SystemMetadata.Merge(m, src)
}
func (m *SystemMetadata) XXX_Size() int {
return xxx_messageInfo_SystemMetadata.Size(m)
}
func (m *SystemMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_SystemMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_SystemMetadata proto.InternalMessageInfo
func (m *SystemMetadata) GetExecutionCluster() string {
if m != nil {
return m.ExecutionCluster
}
return ""
}
func (m *SystemMetadata) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
// Represents attributes about an execution which are not required to launch the execution but are useful to record.
// These attributes are assigned at launch time and do not change.
type ExecutionMetadata struct {
Mode ExecutionMetadata_ExecutionMode `protobuf:"varint,1,opt,name=mode,proto3,enum=flyteidl.admin.ExecutionMetadata_ExecutionMode" json:"mode,omitempty"`
// Identifier of the entity that triggered this execution.
// For systems using back-end authentication any value set here will be discarded in favor of the
// authenticated user context.
Principal string `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
// Indicates the nestedness of this execution.
// If a user launches a workflow execution, the default nesting is 0.
// If this execution further launches a workflow (child workflow), the nesting level is incremented by 0 => 1
// Generally, if workflow at nesting level k launches a workflow then the child workflow will have
// nesting = k + 1.
Nesting uint32 `protobuf:"varint,3,opt,name=nesting,proto3" json:"nesting,omitempty"`
// For scheduled executions, the requested time for execution for this specific schedule invocation.
ScheduledAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=scheduled_at,json=scheduledAt,proto3" json:"scheduled_at,omitempty"`
// Which subworkflow node (if any) launched this execution
ParentNodeExecution *core.NodeExecutionIdentifier `protobuf:"bytes,5,opt,name=parent_node_execution,json=parentNodeExecution,proto3" json:"parent_node_execution,omitempty"`
// Optional, a reference workflow execution related to this execution.
// In the case of a relaunch, this references the original workflow execution.
ReferenceExecution *core.WorkflowExecutionIdentifier `protobuf:"bytes,16,opt,name=reference_execution,json=referenceExecution,proto3" json:"reference_execution,omitempty"`
// Optional, platform-specific metadata about the execution.
// In this the future this may be gated behind an ACL or some sort of authorization.
SystemMetadata *SystemMetadata `protobuf:"bytes,17,opt,name=system_metadata,json=systemMetadata,proto3" json:"system_metadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExecutionMetadata) Reset() { *m = ExecutionMetadata{} }
func (m *ExecutionMetadata) String() string { return proto.CompactTextString(m) }
func (*ExecutionMetadata) ProtoMessage() {}
func (*ExecutionMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_4e2785d91b3809ec, []int{11}
}
func (m *ExecutionMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecutionMetadata.Unmarshal(m, b)
}
func (m *ExecutionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExecutionMetadata.Marshal(b, m, deterministic)
}
func (m *ExecutionMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExecutionMetadata.Merge(m, src)
}
func (m *ExecutionMetadata) XXX_Size() int {
return xxx_messageInfo_ExecutionMetadata.Size(m)
}
func (m *ExecutionMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_ExecutionMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_ExecutionMetadata proto.InternalMessageInfo
func (m *ExecutionMetadata) GetMode() ExecutionMetadata_ExecutionMode {
if m != nil {
return m.Mode
}
return ExecutionMetadata_MANUAL
}
func (m *ExecutionMetadata) GetPrincipal() string {
if m != nil {
return m.Principal
}
return ""
}
func (m *ExecutionMetadata) GetNesting() uint32 {
if m != nil {
return m.Nesting
}
return 0
}
func (m *ExecutionMetadata) GetScheduledAt() *timestamp.Timestamp {
if m != nil {
return m.ScheduledAt
}
return nil
}
func (m *ExecutionMetadata) GetParentNodeExecution() *core.NodeExecutionIdentifier {
if m != nil {
return m.ParentNodeExecution
}
return nil
}
func (m *ExecutionMetadata) GetReferenceExecution() *core.WorkflowExecutionIdentifier {
if m != nil {
return m.ReferenceExecution
}
return nil
}
func (m *ExecutionMetadata) GetSystemMetadata() *SystemMetadata {
if m != nil {