@flyteorg/flyteidl2 2.0.0-alpha10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/flyteidl2/common/authorization_pb.ts +323 -0
- package/flyteidl2/common/identifier_pb.ts +423 -0
- package/flyteidl2/common/identity_pb.ts +205 -0
- package/flyteidl2/common/list_pb.ts +232 -0
- package/flyteidl2/common/policy_pb.ts +76 -0
- package/flyteidl2/common/role_pb.ts +161 -0
- package/flyteidl2/common/runtime_version_pb.ts +76 -0
- package/flyteidl2/core/artifact_id_pb.ts +400 -0
- package/flyteidl2/core/catalog_pb.ts +215 -0
- package/flyteidl2/core/execution_pb.ts +641 -0
- package/flyteidl2/core/identifier_pb.ts +237 -0
- package/flyteidl2/core/interface_pb.ts +187 -0
- package/flyteidl2/core/literals_pb.ts +673 -0
- package/flyteidl2/core/security_pb.ts +310 -0
- package/flyteidl2/core/tasks_pb.ts +1088 -0
- package/flyteidl2/core/types_pb.ts +592 -0
- package/flyteidl2/imagebuilder/definition_pb.ts +535 -0
- package/flyteidl2/imagebuilder/payload_pb.ts +62 -0
- package/flyteidl2/imagebuilder/service_pb.ts +30 -0
- package/flyteidl2/logs/dataplane/payload_pb.ts +396 -0
- package/flyteidl2/plugins/dask_pb.ts +109 -0
- package/flyteidl2/plugins/ray_pb.ts +189 -0
- package/flyteidl2/plugins/spark_pb.ts +145 -0
- package/flyteidl2/secret/definition_pb.ts +310 -0
- package/flyteidl2/secret/payload_pb.ts +266 -0
- package/flyteidl2/secret/secret_pb.ts +63 -0
- package/flyteidl2/task/common_pb.ts +319 -0
- package/flyteidl2/task/environment_pb.ts +36 -0
- package/flyteidl2/task/run_pb.ts +177 -0
- package/flyteidl2/task/task_definition_pb.ts +417 -0
- package/flyteidl2/task/task_service_pb.ts +248 -0
- package/flyteidl2/trigger/trigger_definition_pb.ts +283 -0
- package/flyteidl2/trigger/trigger_service_pb.ts +451 -0
- package/flyteidl2/workflow/queue_service_pb.ts +245 -0
- package/flyteidl2/workflow/run_definition_pb.ts +1192 -0
- package/flyteidl2/workflow/run_logs_service_pb.ts +106 -0
- package/flyteidl2/workflow/run_service_pb.ts +870 -0
- package/flyteidl2/workflow/state_service_pb.ts +310 -0
- package/flyteidl2/workflow/translator_service_pb.ts +174 -0
- package/package.json +18 -0
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/common/identifier.proto (package flyteidl2.common, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file flyteidl2/common/identifier.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_flyteidl2_common_identifier: GenFile = /*@__PURE__*/
|
|
14
|
+
fileDesc("CiFmbHl0ZWlkbDIvY29tbW9uL2lkZW50aWZpZXIucHJvdG8SEGZseXRlaWRsMi5jb21tb24iYgoRUHJvamVjdElkZW50aWZpZXISHQoMb3JnYW5pemF0aW9uGAEgASgJQge6SARyAhABEhcKBmRvbWFpbhgCIAEoCUIHukgEcgIQARIVCgRuYW1lGAMgASgJQge6SARyAhABIkAKEUNsdXN0ZXJJZGVudGlmaWVyEhQKDG9yZ2FuaXphdGlvbhgBIAEoCRIVCgRuYW1lGAIgASgJQge6SARyAhABIjsKFUNsdXN0ZXJQb29sSWRlbnRpZmllchIUCgxvcmdhbml6YXRpb24YASABKAkSDAoEbmFtZRgCIAEoCSJNChdDbHVzdGVyQ29uZmlnSWRlbnRpZmllchIdCgxvcmdhbml6YXRpb24YASABKAlCB7pIBHICEA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ZW50aWZpZXJCBrpIA8gBARIYCgdhdHRlbXB0GAIgASgNQge6SAQqAiAAIpUBCgtUcmlnZ2VyTmFtZRIWCgNvcmcYASABKAlCCbpIBnIEEAEYPxIaCgdwcm9qZWN0GAIgASgJQgm6SAZyBBABGD8SGQoGZG9tYWluGAMgASgJQgm6SAZyBBABGD8SGAoEbmFtZRgEIAEoCUIKukgHcgUQARj/ARIdCgl0YXNrX25hbWUYBSABKAlCCrpIB3IFEAEY/wEiYwoRVHJpZ2dlcklkZW50aWZpZXISMwoEbmFtZRgBIAEoCzIdLmZseXRlaWRsMi5jb21tb24uVHJpZ2dlck5hbWVCBrpIA8gBARIZCghyZXZpc2lvbhgCIAEoBEIHukgEMgIgAELAAQoUY29tLmZseXRlaWRsMi5jb21tb25CD0lkZW50aWZpZXJQcm90b0gCUAFaNGdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9jb21tb26iAgNGQ1iqAhBGbHl0ZWlkbDIuQ29tbW9uygIQRmx5dGVpZGwyXENvbW1vbuICHEZseXRlaWRsMlxDb21tb25cR1BCTWV0YWRhdGHqAhFGbHl0ZWlkbDI6OkNvbW1vbmIGcHJvdG8z", [file_buf_validate_validate]);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @generated from message flyteidl2.common.ProjectIdentifier
|
|
18
|
+
*/
|
|
19
|
+
export type ProjectIdentifier = Message<"flyteidl2.common.ProjectIdentifier"> & {
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: string organization = 1;
|
|
22
|
+
*/
|
|
23
|
+
organization: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: string domain = 2;
|
|
27
|
+
*/
|
|
28
|
+
domain: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @generated from field: string name = 3;
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message flyteidl2.common.ProjectIdentifier.
|
|
38
|
+
* Use `create(ProjectIdentifierSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const ProjectIdentifierSchema: GenMessage<ProjectIdentifier> = /*@__PURE__*/
|
|
41
|
+
messageDesc(file_flyteidl2_common_identifier, 0);
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from message flyteidl2.common.ClusterIdentifier
|
|
45
|
+
*/
|
|
46
|
+
export type ClusterIdentifier = Message<"flyteidl2.common.ClusterIdentifier"> & {
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: string organization = 1;
|
|
49
|
+
*/
|
|
50
|
+
organization: string;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @generated from field: string name = 2;
|
|
54
|
+
*/
|
|
55
|
+
name: string;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message flyteidl2.common.ClusterIdentifier.
|
|
60
|
+
* Use `create(ClusterIdentifierSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export const ClusterIdentifierSchema: GenMessage<ClusterIdentifier> = /*@__PURE__*/
|
|
63
|
+
messageDesc(file_flyteidl2_common_identifier, 1);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from message flyteidl2.common.ClusterPoolIdentifier
|
|
67
|
+
*/
|
|
68
|
+
export type ClusterPoolIdentifier = Message<"flyteidl2.common.ClusterPoolIdentifier"> & {
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: string organization = 1;
|
|
71
|
+
*/
|
|
72
|
+
organization: string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: string name = 2;
|
|
76
|
+
*/
|
|
77
|
+
name: string;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Describes the message flyteidl2.common.ClusterPoolIdentifier.
|
|
82
|
+
* Use `create(ClusterPoolIdentifierSchema)` to create a new message.
|
|
83
|
+
*/
|
|
84
|
+
export const ClusterPoolIdentifierSchema: GenMessage<ClusterPoolIdentifier> = /*@__PURE__*/
|
|
85
|
+
messageDesc(file_flyteidl2_common_identifier, 2);
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @generated from message flyteidl2.common.ClusterConfigIdentifier
|
|
89
|
+
*/
|
|
90
|
+
export type ClusterConfigIdentifier = Message<"flyteidl2.common.ClusterConfigIdentifier"> & {
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: string organization = 1;
|
|
93
|
+
*/
|
|
94
|
+
organization: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: string id = 2;
|
|
98
|
+
*/
|
|
99
|
+
id: string;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Describes the message flyteidl2.common.ClusterConfigIdentifier.
|
|
104
|
+
* Use `create(ClusterConfigIdentifierSchema)` to create a new message.
|
|
105
|
+
*/
|
|
106
|
+
export const ClusterConfigIdentifierSchema: GenMessage<ClusterConfigIdentifier> = /*@__PURE__*/
|
|
107
|
+
messageDesc(file_flyteidl2_common_identifier, 3);
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @generated from message flyteidl2.common.ClusterNodepoolIdentifier
|
|
111
|
+
*/
|
|
112
|
+
export type ClusterNodepoolIdentifier = Message<"flyteidl2.common.ClusterNodepoolIdentifier"> & {
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: string organization = 1;
|
|
115
|
+
*/
|
|
116
|
+
organization: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: string cluster_name = 2;
|
|
120
|
+
*/
|
|
121
|
+
clusterName: string;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: string name = 3;
|
|
125
|
+
*/
|
|
126
|
+
name: string;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message flyteidl2.common.ClusterNodepoolIdentifier.
|
|
131
|
+
* Use `create(ClusterNodepoolIdentifierSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export const ClusterNodepoolIdentifierSchema: GenMessage<ClusterNodepoolIdentifier> = /*@__PURE__*/
|
|
134
|
+
messageDesc(file_flyteidl2_common_identifier, 4);
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* @generated from message flyteidl2.common.UserIdentifier
|
|
138
|
+
*/
|
|
139
|
+
export type UserIdentifier = Message<"flyteidl2.common.UserIdentifier"> & {
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: string subject = 1;
|
|
142
|
+
*/
|
|
143
|
+
subject: string;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Describes the message flyteidl2.common.UserIdentifier.
|
|
148
|
+
* Use `create(UserIdentifierSchema)` to create a new message.
|
|
149
|
+
*/
|
|
150
|
+
export const UserIdentifierSchema: GenMessage<UserIdentifier> = /*@__PURE__*/
|
|
151
|
+
messageDesc(file_flyteidl2_common_identifier, 5);
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @generated from message flyteidl2.common.ApplicationIdentifier
|
|
155
|
+
*/
|
|
156
|
+
export type ApplicationIdentifier = Message<"flyteidl2.common.ApplicationIdentifier"> & {
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: string subject = 1;
|
|
159
|
+
*/
|
|
160
|
+
subject: string;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Describes the message flyteidl2.common.ApplicationIdentifier.
|
|
165
|
+
* Use `create(ApplicationIdentifierSchema)` to create a new message.
|
|
166
|
+
*/
|
|
167
|
+
export const ApplicationIdentifierSchema: GenMessage<ApplicationIdentifier> = /*@__PURE__*/
|
|
168
|
+
messageDesc(file_flyteidl2_common_identifier, 6);
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @generated from message flyteidl2.common.RoleIdentifier
|
|
172
|
+
*/
|
|
173
|
+
export type RoleIdentifier = Message<"flyteidl2.common.RoleIdentifier"> & {
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: string organization = 1;
|
|
176
|
+
*/
|
|
177
|
+
organization: string;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Unique name for this role within the organization
|
|
181
|
+
*
|
|
182
|
+
* @generated from field: string name = 2;
|
|
183
|
+
*/
|
|
184
|
+
name: string;
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Describes the message flyteidl2.common.RoleIdentifier.
|
|
189
|
+
* Use `create(RoleIdentifierSchema)` to create a new message.
|
|
190
|
+
*/
|
|
191
|
+
export const RoleIdentifierSchema: GenMessage<RoleIdentifier> = /*@__PURE__*/
|
|
192
|
+
messageDesc(file_flyteidl2_common_identifier, 7);
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @generated from message flyteidl2.common.OrgIdentifier
|
|
196
|
+
*/
|
|
197
|
+
export type OrgIdentifier = Message<"flyteidl2.common.OrgIdentifier"> & {
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: string name = 1;
|
|
200
|
+
*/
|
|
201
|
+
name: string;
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Describes the message flyteidl2.common.OrgIdentifier.
|
|
206
|
+
* Use `create(OrgIdentifierSchema)` to create a new message.
|
|
207
|
+
*/
|
|
208
|
+
export const OrgIdentifierSchema: GenMessage<OrgIdentifier> = /*@__PURE__*/
|
|
209
|
+
messageDesc(file_flyteidl2_common_identifier, 8);
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* @generated from message flyteidl2.common.ManagedClusterIdentifier
|
|
213
|
+
*/
|
|
214
|
+
export type ManagedClusterIdentifier = Message<"flyteidl2.common.ManagedClusterIdentifier"> & {
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: string name = 2;
|
|
217
|
+
*/
|
|
218
|
+
name: string;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: flyteidl2.common.OrgIdentifier org = 3;
|
|
222
|
+
*/
|
|
223
|
+
org?: OrgIdentifier;
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Describes the message flyteidl2.common.ManagedClusterIdentifier.
|
|
228
|
+
* Use `create(ManagedClusterIdentifierSchema)` to create a new message.
|
|
229
|
+
*/
|
|
230
|
+
export const ManagedClusterIdentifierSchema: GenMessage<ManagedClusterIdentifier> = /*@__PURE__*/
|
|
231
|
+
messageDesc(file_flyteidl2_common_identifier, 9);
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* @generated from message flyteidl2.common.PolicyIdentifier
|
|
235
|
+
*/
|
|
236
|
+
export type PolicyIdentifier = Message<"flyteidl2.common.PolicyIdentifier"> & {
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: string organization = 1;
|
|
239
|
+
*/
|
|
240
|
+
organization: string;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Unique name for this policy within the organization
|
|
244
|
+
*
|
|
245
|
+
* @generated from field: string name = 2;
|
|
246
|
+
*/
|
|
247
|
+
name: string;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Describes the message flyteidl2.common.PolicyIdentifier.
|
|
252
|
+
* Use `create(PolicyIdentifierSchema)` to create a new message.
|
|
253
|
+
*/
|
|
254
|
+
export const PolicyIdentifierSchema: GenMessage<PolicyIdentifier> = /*@__PURE__*/
|
|
255
|
+
messageDesc(file_flyteidl2_common_identifier, 10);
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Unique identifier of a run.
|
|
259
|
+
*
|
|
260
|
+
* @generated from message flyteidl2.common.RunIdentifier
|
|
261
|
+
*/
|
|
262
|
+
export type RunIdentifier = Message<"flyteidl2.common.RunIdentifier"> & {
|
|
263
|
+
/**
|
|
264
|
+
* Org this run belongs to.
|
|
265
|
+
*
|
|
266
|
+
* @generated from field: string org = 1;
|
|
267
|
+
*/
|
|
268
|
+
org: string;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Project this run belongs to.
|
|
272
|
+
*
|
|
273
|
+
* @generated from field: string project = 2;
|
|
274
|
+
*/
|
|
275
|
+
project: string;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Domain this run belongs to.
|
|
279
|
+
*
|
|
280
|
+
* @generated from field: string domain = 3;
|
|
281
|
+
*/
|
|
282
|
+
domain: string;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Name of the run. Must be unique across all runs in this org, project, and domain pairing.
|
|
286
|
+
*
|
|
287
|
+
* @generated from field: string name = 4;
|
|
288
|
+
*/
|
|
289
|
+
name: string;
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Describes the message flyteidl2.common.RunIdentifier.
|
|
294
|
+
* Use `create(RunIdentifierSchema)` to create a new message.
|
|
295
|
+
*/
|
|
296
|
+
export const RunIdentifierSchema: GenMessage<RunIdentifier> = /*@__PURE__*/
|
|
297
|
+
messageDesc(file_flyteidl2_common_identifier, 11);
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Unique identifier of an action.
|
|
301
|
+
*
|
|
302
|
+
* @generated from message flyteidl2.common.ActionIdentifier
|
|
303
|
+
*/
|
|
304
|
+
export type ActionIdentifier = Message<"flyteidl2.common.ActionIdentifier"> & {
|
|
305
|
+
/**
|
|
306
|
+
* Identifier for the run.
|
|
307
|
+
*
|
|
308
|
+
* @generated from field: flyteidl2.common.RunIdentifier run = 1;
|
|
309
|
+
*/
|
|
310
|
+
run?: RunIdentifier;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Name of the action. Must be unique within the run.
|
|
314
|
+
*
|
|
315
|
+
* @generated from field: string name = 2;
|
|
316
|
+
*/
|
|
317
|
+
name: string;
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Describes the message flyteidl2.common.ActionIdentifier.
|
|
322
|
+
* Use `create(ActionIdentifierSchema)` to create a new message.
|
|
323
|
+
*/
|
|
324
|
+
export const ActionIdentifierSchema: GenMessage<ActionIdentifier> = /*@__PURE__*/
|
|
325
|
+
messageDesc(file_flyteidl2_common_identifier, 12);
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Unique identifier of a single action attempt
|
|
329
|
+
*
|
|
330
|
+
* @generated from message flyteidl2.common.ActionAttemptIdentifier
|
|
331
|
+
*/
|
|
332
|
+
export type ActionAttemptIdentifier = Message<"flyteidl2.common.ActionAttemptIdentifier"> & {
|
|
333
|
+
/**
|
|
334
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
335
|
+
*/
|
|
336
|
+
actionId?: ActionIdentifier;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* @generated from field: uint32 attempt = 2;
|
|
340
|
+
*/
|
|
341
|
+
attempt: number;
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Describes the message flyteidl2.common.ActionAttemptIdentifier.
|
|
346
|
+
* Use `create(ActionAttemptIdentifierSchema)` to create a new message.
|
|
347
|
+
*/
|
|
348
|
+
export const ActionAttemptIdentifierSchema: GenMessage<ActionAttemptIdentifier> = /*@__PURE__*/
|
|
349
|
+
messageDesc(file_flyteidl2_common_identifier, 13);
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Identifies trigger within an org, project and domain
|
|
353
|
+
*
|
|
354
|
+
* @generated from message flyteidl2.common.TriggerName
|
|
355
|
+
*/
|
|
356
|
+
export type TriggerName = Message<"flyteidl2.common.TriggerName"> & {
|
|
357
|
+
/**
|
|
358
|
+
* Org this trigger belongs to.
|
|
359
|
+
*
|
|
360
|
+
* @generated from field: string org = 1;
|
|
361
|
+
*/
|
|
362
|
+
org: string;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Project this trigger belongs to.
|
|
366
|
+
*
|
|
367
|
+
* @generated from field: string project = 2;
|
|
368
|
+
*/
|
|
369
|
+
project: string;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Domain this trigger belongs to.
|
|
373
|
+
*
|
|
374
|
+
* @generated from field: string domain = 3;
|
|
375
|
+
*/
|
|
376
|
+
domain: string;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Unique name of the trigger.
|
|
380
|
+
*
|
|
381
|
+
* @generated from field: string name = 4;
|
|
382
|
+
*/
|
|
383
|
+
name: string;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* @generated from field: string task_name = 5;
|
|
387
|
+
*/
|
|
388
|
+
taskName: string;
|
|
389
|
+
};
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* Describes the message flyteidl2.common.TriggerName.
|
|
393
|
+
* Use `create(TriggerNameSchema)` to create a new message.
|
|
394
|
+
*/
|
|
395
|
+
export const TriggerNameSchema: GenMessage<TriggerName> = /*@__PURE__*/
|
|
396
|
+
messageDesc(file_flyteidl2_common_identifier, 14);
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Identifies a trigger revision within an org, project and domain
|
|
400
|
+
*
|
|
401
|
+
* @generated from message flyteidl2.common.TriggerIdentifier
|
|
402
|
+
*/
|
|
403
|
+
export type TriggerIdentifier = Message<"flyteidl2.common.TriggerIdentifier"> & {
|
|
404
|
+
/**
|
|
405
|
+
* @generated from field: flyteidl2.common.TriggerName name = 1;
|
|
406
|
+
*/
|
|
407
|
+
name?: TriggerName;
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Revision of the trigger.
|
|
411
|
+
*
|
|
412
|
+
* @generated from field: uint64 revision = 2;
|
|
413
|
+
*/
|
|
414
|
+
revision: bigint;
|
|
415
|
+
};
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Describes the message flyteidl2.common.TriggerIdentifier.
|
|
419
|
+
* Use `create(TriggerIdentifierSchema)` to create a new message.
|
|
420
|
+
*/
|
|
421
|
+
export const TriggerIdentifierSchema: GenMessage<TriggerIdentifier> = /*@__PURE__*/
|
|
422
|
+
messageDesc(file_flyteidl2_common_identifier, 15);
|
|
423
|
+
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/common/identity.proto (package flyteidl2.common, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { ApplicationIdentifier, UserIdentifier } from "./identifier_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_identifier } from "./identifier_pb.ts";
|
|
10
|
+
import type { Policy } from "./policy_pb.ts";
|
|
11
|
+
import { file_flyteidl2_common_policy } from "./policy_pb.ts";
|
|
12
|
+
import type { Role } from "./role_pb.ts";
|
|
13
|
+
import { file_flyteidl2_common_role } from "./role_pb.ts";
|
|
14
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes the file flyteidl2/common/identity.proto.
|
|
18
|
+
*/
|
|
19
|
+
export const file_flyteidl2_common_identity: GenFile = /*@__PURE__*/
|
|
20
|
+
fileDesc("Ch9mbHl0ZWlkbDIvY29tbW9uL2lkZW50aXR5LnByb3RvEhBmbHl0ZWlkbDIuY29tbW9uIrUBCgRVc2VyEiwKAmlkGAEgASgLMiAuZmx5dGVpZGwyLmNvbW1vbi5Vc2VySWRlbnRpZmllchIoCgRzcGVjGAIgASgLMhouZmx5dGVpZGwyLmNvbW1vbi5Vc2VyU3BlYxIpCgVyb2xlcxgDIAMoCzIWLmZseXRlaWRsMi5jb21tb24uUm9sZUICGAESKgoIcG9saWNpZXMYBCADKAsyGC5mb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2_common_identifier, file_flyteidl2_common_policy, file_flyteidl2_common_role]);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Encapsulates user profile details for a member of an organization.
|
|
24
|
+
*
|
|
25
|
+
* @generated from message flyteidl2.common.User
|
|
26
|
+
*/
|
|
27
|
+
export type User = Message<"flyteidl2.common.User"> & {
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: flyteidl2.common.UserIdentifier id = 1;
|
|
30
|
+
*/
|
|
31
|
+
id?: UserIdentifier;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: flyteidl2.common.UserSpec spec = 2;
|
|
35
|
+
*/
|
|
36
|
+
spec?: UserSpec;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: repeated flyteidl2.common.Role roles = 3 [deprecated = true];
|
|
40
|
+
* @deprecated
|
|
41
|
+
*/
|
|
42
|
+
roles: Role[];
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: repeated flyteidl2.common.Policy policies = 4;
|
|
46
|
+
*/
|
|
47
|
+
policies: Policy[];
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message flyteidl2.common.User.
|
|
52
|
+
* Use `create(UserSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const UserSchema: GenMessage<User> = /*@__PURE__*/
|
|
55
|
+
messageDesc(file_flyteidl2_common_identity, 0);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @generated from message flyteidl2.common.UserSpec
|
|
59
|
+
*/
|
|
60
|
+
export type UserSpec = Message<"flyteidl2.common.UserSpec"> & {
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: string first_name = 1;
|
|
63
|
+
*/
|
|
64
|
+
firstName: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: string last_name = 2;
|
|
68
|
+
*/
|
|
69
|
+
lastName: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: string email = 3;
|
|
73
|
+
*/
|
|
74
|
+
email: string;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: string organization = 4;
|
|
78
|
+
*/
|
|
79
|
+
organization: string;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: string user_handle = 5;
|
|
83
|
+
*/
|
|
84
|
+
userHandle: string;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: repeated string groups = 6;
|
|
88
|
+
*/
|
|
89
|
+
groups: string[];
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: string photo_url = 7;
|
|
93
|
+
*/
|
|
94
|
+
photoUrl: string;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Describes the message flyteidl2.common.UserSpec.
|
|
99
|
+
* Use `create(UserSpecSchema)` to create a new message.
|
|
100
|
+
*/
|
|
101
|
+
export const UserSpecSchema: GenMessage<UserSpec> = /*@__PURE__*/
|
|
102
|
+
messageDesc(file_flyteidl2_common_identity, 1);
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @generated from message flyteidl2.common.Application
|
|
106
|
+
*/
|
|
107
|
+
export type Application = Message<"flyteidl2.common.Application"> & {
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: flyteidl2.common.ApplicationIdentifier id = 1;
|
|
110
|
+
*/
|
|
111
|
+
id?: ApplicationIdentifier;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: flyteidl2.common.AppSpec spec = 2;
|
|
115
|
+
*/
|
|
116
|
+
spec?: AppSpec;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message flyteidl2.common.Application.
|
|
121
|
+
* Use `create(ApplicationSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export const ApplicationSchema: GenMessage<Application> = /*@__PURE__*/
|
|
124
|
+
messageDesc(file_flyteidl2_common_identity, 2);
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from message flyteidl2.common.AppSpec
|
|
128
|
+
*/
|
|
129
|
+
export type AppSpec = Message<"flyteidl2.common.AppSpec"> & {
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: string name = 1;
|
|
132
|
+
*/
|
|
133
|
+
name: string;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: string organization = 2;
|
|
137
|
+
*/
|
|
138
|
+
organization: string;
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Describes the message flyteidl2.common.AppSpec.
|
|
143
|
+
* Use `create(AppSpecSchema)` to create a new message.
|
|
144
|
+
*/
|
|
145
|
+
export const AppSpecSchema: GenMessage<AppSpec> = /*@__PURE__*/
|
|
146
|
+
messageDesc(file_flyteidl2_common_identity, 3);
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @generated from message flyteidl2.common.EnrichedIdentity
|
|
150
|
+
*/
|
|
151
|
+
export type EnrichedIdentity = Message<"flyteidl2.common.EnrichedIdentity"> & {
|
|
152
|
+
/**
|
|
153
|
+
* @generated from oneof flyteidl2.common.EnrichedIdentity.principal
|
|
154
|
+
*/
|
|
155
|
+
principal: {
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: flyteidl2.common.User user = 1;
|
|
158
|
+
*/
|
|
159
|
+
value: User;
|
|
160
|
+
case: "user";
|
|
161
|
+
} | {
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: flyteidl2.common.Application application = 2;
|
|
164
|
+
*/
|
|
165
|
+
value: Application;
|
|
166
|
+
case: "application";
|
|
167
|
+
} | { case: undefined; value?: undefined };
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Describes the message flyteidl2.common.EnrichedIdentity.
|
|
172
|
+
* Use `create(EnrichedIdentitySchema)` to create a new message.
|
|
173
|
+
*/
|
|
174
|
+
export const EnrichedIdentitySchema: GenMessage<EnrichedIdentity> = /*@__PURE__*/
|
|
175
|
+
messageDesc(file_flyteidl2_common_identity, 4);
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @generated from message flyteidl2.common.Identity
|
|
179
|
+
*/
|
|
180
|
+
export type Identity = Message<"flyteidl2.common.Identity"> & {
|
|
181
|
+
/**
|
|
182
|
+
* @generated from oneof flyteidl2.common.Identity.principal
|
|
183
|
+
*/
|
|
184
|
+
principal: {
|
|
185
|
+
/**
|
|
186
|
+
* @generated from field: flyteidl2.common.UserIdentifier user_id = 1;
|
|
187
|
+
*/
|
|
188
|
+
value: UserIdentifier;
|
|
189
|
+
case: "userId";
|
|
190
|
+
} | {
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: flyteidl2.common.ApplicationIdentifier application_id = 2;
|
|
193
|
+
*/
|
|
194
|
+
value: ApplicationIdentifier;
|
|
195
|
+
case: "applicationId";
|
|
196
|
+
} | { case: undefined; value?: undefined };
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Describes the message flyteidl2.common.Identity.
|
|
201
|
+
* Use `create(IdentitySchema)` to create a new message.
|
|
202
|
+
*/
|
|
203
|
+
export const IdentitySchema: GenMessage<Identity> = /*@__PURE__*/
|
|
204
|
+
messageDesc(file_flyteidl2_common_identity, 5);
|
|
205
|
+
|