@flyteorg/flyteidl2 2.0.6 → 2.0.8
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/role_pb.ts +9 -1
- package/flyteidl2/core/tasks_pb.ts +10 -1
- package/flyteidl2/imagebuilder/definition_pb.ts +21 -1
- package/flyteidl2/logs/dataplane/payload_pb.ts +9 -1
- package/flyteidl2/notification/definition_pb.ts +254 -0
- package/flyteidl2/org/domain_definition_pb.ts +68 -0
- package/flyteidl2/org/domain_service_pb.ts +335 -0
- package/flyteidl2/secret/payload_pb.ts +25 -1
- package/flyteidl2/task/run_pb.ts +84 -1
- package/flyteidl2/workflow/events_proxy_service_pb.ts +72 -0
- package/flyteidl2/workflow/internal_run_service_pb.ts +494 -0
- package/package.json +1 -1
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/org/domain_service.proto (package flyteidl2.org, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { Domain } from "./domain_definition_pb.ts";
|
|
9
|
+
import { file_flyteidl2_org_domain_definition } from "./domain_definition_pb.ts";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file flyteidl2/org/domain_service.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_flyteidl2_org_domain_service: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("CiJmbHl0ZWlkbDIvb3JnL2RvbWFpbl9zZXJ2aWNlLnByb3RvEg1mbHl0ZWlkbDI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zUmVzcG9uc2UiA5ACARJZCgxDcmVhdGVEb21haW4SIi5mbHl0ZWlkbDIub3JnLkNyZWF0ZURvbWFpblJlcXVlc3QaIy5mbHl0ZWlkbDIub3JnLkNyZWF0ZURvbWFpblJlc3BvbnNlIgASUwoJR2V0RG9tYWluEh8uZmx5dGVpZGwyLm9yZy5HZXREb21haW5SZXF1ZXN0GiAuZmx5dGVpZGwyLm9yZy5HZXREb21haW5SZXNwb25zZSIDkAIBElkKDFVwZGF0ZURvbWFpbhIiLmZseXRlaWRsMi5vcmcuVXBkYXRlRG9tYWluUmVxdWVzdBojLmZseXRlaWRsMi5vcmcuVXBkYXRlRG9tYWluUmVzcG9uc2UiABJZCgxEZWxldGVEb21haW4SIi5mbHl0ZWlkbDIub3JnLkRlbGV0ZURvbWFpblJlcXVlc3QaIy5mbHl0ZWlkbDIub3JnLkRlbGV0ZURvbWFpblJlc3BvbnNlIgBCsQEKEWNvbS5mbHl0ZWlkbDIub3JnQhJEb21haW5TZXJ2aWNlUHJvdG9IAlABWjFnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvb3JnogIDRk9YqgINRmx5dGVpZGwyLk9yZ8oCDUZseXRlaWRsMlxPcmfiAhlGbHl0ZWlkbDJcT3JnXEdQQk1ldGFkYXRh6gIORmx5dGVpZGwyOjpPcmdiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_org_domain_definition]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* ListDomainsRequest requests all domains for an organization.
|
|
20
|
+
*
|
|
21
|
+
* @generated from message flyteidl2.org.ListDomainsRequest
|
|
22
|
+
*/
|
|
23
|
+
export type ListDomainsRequest = Message<"flyteidl2.org.ListDomainsRequest"> & {
|
|
24
|
+
/**
|
|
25
|
+
* Organization name (required).
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: string org = 1;
|
|
28
|
+
*/
|
|
29
|
+
org: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* If true, include settings for each domain in the response.
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: bool include_settings = 2;
|
|
35
|
+
*/
|
|
36
|
+
includeSettings: boolean;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message flyteidl2.org.ListDomainsRequest.
|
|
41
|
+
* Use `create(ListDomainsRequestSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export const ListDomainsRequestSchema: GenMessage<ListDomainsRequest> = /*@__PURE__*/
|
|
44
|
+
messageDesc(file_flyteidl2_org_domain_service, 0);
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* ListDomainsResponse contains the list of domains.
|
|
48
|
+
*
|
|
49
|
+
* @generated from message flyteidl2.org.ListDomainsResponse
|
|
50
|
+
*/
|
|
51
|
+
export type ListDomainsResponse = Message<"flyteidl2.org.ListDomainsResponse"> & {
|
|
52
|
+
/**
|
|
53
|
+
* List of domains in the organization.
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: repeated flyteidl2.org.Domain domains = 1;
|
|
56
|
+
*/
|
|
57
|
+
domains: Domain[];
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Describes the message flyteidl2.org.ListDomainsResponse.
|
|
62
|
+
* Use `create(ListDomainsResponseSchema)` to create a new message.
|
|
63
|
+
*/
|
|
64
|
+
export const ListDomainsResponseSchema: GenMessage<ListDomainsResponse> = /*@__PURE__*/
|
|
65
|
+
messageDesc(file_flyteidl2_org_domain_service, 1);
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* CreateDomainRequest creates a new domain.
|
|
69
|
+
*
|
|
70
|
+
* @generated from message flyteidl2.org.CreateDomainRequest
|
|
71
|
+
*/
|
|
72
|
+
export type CreateDomainRequest = Message<"flyteidl2.org.CreateDomainRequest"> & {
|
|
73
|
+
/**
|
|
74
|
+
* Organization name (required).
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: string org = 1;
|
|
77
|
+
*/
|
|
78
|
+
org: string;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Domain ID - sanitized identifier (lowercase, hyphenated).
|
|
82
|
+
* Must follow Kubernetes naming conventions.
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: string id = 2;
|
|
85
|
+
*/
|
|
86
|
+
id: string;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Friendly name for display (optional).
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: string friendly_name = 3;
|
|
92
|
+
*/
|
|
93
|
+
friendlyName: string;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message flyteidl2.org.CreateDomainRequest.
|
|
98
|
+
* Use `create(CreateDomainRequestSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export const CreateDomainRequestSchema: GenMessage<CreateDomainRequest> = /*@__PURE__*/
|
|
101
|
+
messageDesc(file_flyteidl2_org_domain_service, 2);
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* CreateDomainResponse contains the created domain.
|
|
105
|
+
*
|
|
106
|
+
* @generated from message flyteidl2.org.CreateDomainResponse
|
|
107
|
+
*/
|
|
108
|
+
export type CreateDomainResponse = Message<"flyteidl2.org.CreateDomainResponse"> & {
|
|
109
|
+
/**
|
|
110
|
+
* The created domain.
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: flyteidl2.org.Domain domain = 1;
|
|
113
|
+
*/
|
|
114
|
+
domain?: Domain;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Describes the message flyteidl2.org.CreateDomainResponse.
|
|
119
|
+
* Use `create(CreateDomainResponseSchema)` to create a new message.
|
|
120
|
+
*/
|
|
121
|
+
export const CreateDomainResponseSchema: GenMessage<CreateDomainResponse> = /*@__PURE__*/
|
|
122
|
+
messageDesc(file_flyteidl2_org_domain_service, 3);
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* GetDomainRequest requests a specific domain.
|
|
126
|
+
*
|
|
127
|
+
* @generated from message flyteidl2.org.GetDomainRequest
|
|
128
|
+
*/
|
|
129
|
+
export type GetDomainRequest = Message<"flyteidl2.org.GetDomainRequest"> & {
|
|
130
|
+
/**
|
|
131
|
+
* Organization name (required).
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: string org = 1;
|
|
134
|
+
*/
|
|
135
|
+
org: string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Domain ID (required).
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: string id = 2;
|
|
141
|
+
*/
|
|
142
|
+
id: string;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* If true, include settings for the domain.
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: bool include_settings = 3;
|
|
148
|
+
*/
|
|
149
|
+
includeSettings: boolean;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Describes the message flyteidl2.org.GetDomainRequest.
|
|
154
|
+
* Use `create(GetDomainRequestSchema)` to create a new message.
|
|
155
|
+
*/
|
|
156
|
+
export const GetDomainRequestSchema: GenMessage<GetDomainRequest> = /*@__PURE__*/
|
|
157
|
+
messageDesc(file_flyteidl2_org_domain_service, 4);
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* GetDomainResponse contains the requested domain.
|
|
161
|
+
*
|
|
162
|
+
* @generated from message flyteidl2.org.GetDomainResponse
|
|
163
|
+
*/
|
|
164
|
+
export type GetDomainResponse = Message<"flyteidl2.org.GetDomainResponse"> & {
|
|
165
|
+
/**
|
|
166
|
+
* The requested domain.
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: flyteidl2.org.Domain domain = 1;
|
|
169
|
+
*/
|
|
170
|
+
domain?: Domain;
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Describes the message flyteidl2.org.GetDomainResponse.
|
|
175
|
+
* Use `create(GetDomainResponseSchema)` to create a new message.
|
|
176
|
+
*/
|
|
177
|
+
export const GetDomainResponseSchema: GenMessage<GetDomainResponse> = /*@__PURE__*/
|
|
178
|
+
messageDesc(file_flyteidl2_org_domain_service, 5);
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* UpdateDomainRequest updates a domain's metadata.
|
|
182
|
+
*
|
|
183
|
+
* @generated from message flyteidl2.org.UpdateDomainRequest
|
|
184
|
+
*/
|
|
185
|
+
export type UpdateDomainRequest = Message<"flyteidl2.org.UpdateDomainRequest"> & {
|
|
186
|
+
/**
|
|
187
|
+
* Organization name (required).
|
|
188
|
+
*
|
|
189
|
+
* @generated from field: string org = 1;
|
|
190
|
+
*/
|
|
191
|
+
org: string;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Domain ID (required).
|
|
195
|
+
*
|
|
196
|
+
* @generated from field: string id = 2;
|
|
197
|
+
*/
|
|
198
|
+
id: string;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* New friendly name (optional, updates if provided).
|
|
202
|
+
*
|
|
203
|
+
* @generated from field: string friendly_name = 3;
|
|
204
|
+
*/
|
|
205
|
+
friendlyName: string;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Describes the message flyteidl2.org.UpdateDomainRequest.
|
|
210
|
+
* Use `create(UpdateDomainRequestSchema)` to create a new message.
|
|
211
|
+
*/
|
|
212
|
+
export const UpdateDomainRequestSchema: GenMessage<UpdateDomainRequest> = /*@__PURE__*/
|
|
213
|
+
messageDesc(file_flyteidl2_org_domain_service, 6);
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* UpdateDomainResponse contains the updated domain.
|
|
217
|
+
*
|
|
218
|
+
* @generated from message flyteidl2.org.UpdateDomainResponse
|
|
219
|
+
*/
|
|
220
|
+
export type UpdateDomainResponse = Message<"flyteidl2.org.UpdateDomainResponse"> & {
|
|
221
|
+
/**
|
|
222
|
+
* The updated domain.
|
|
223
|
+
*
|
|
224
|
+
* @generated from field: flyteidl2.org.Domain domain = 1;
|
|
225
|
+
*/
|
|
226
|
+
domain?: Domain;
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Describes the message flyteidl2.org.UpdateDomainResponse.
|
|
231
|
+
* Use `create(UpdateDomainResponseSchema)` to create a new message.
|
|
232
|
+
*/
|
|
233
|
+
export const UpdateDomainResponseSchema: GenMessage<UpdateDomainResponse> = /*@__PURE__*/
|
|
234
|
+
messageDesc(file_flyteidl2_org_domain_service, 7);
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* @generated from message flyteidl2.org.DeleteDomainRequest
|
|
238
|
+
*/
|
|
239
|
+
export type DeleteDomainRequest = Message<"flyteidl2.org.DeleteDomainRequest"> & {
|
|
240
|
+
/**
|
|
241
|
+
* Organization name (required).
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: string org = 1;
|
|
244
|
+
*/
|
|
245
|
+
org: string;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Domain ID (required).
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: string id = 2;
|
|
251
|
+
*/
|
|
252
|
+
id: string;
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Describes the message flyteidl2.org.DeleteDomainRequest.
|
|
257
|
+
* Use `create(DeleteDomainRequestSchema)` to create a new message.
|
|
258
|
+
*/
|
|
259
|
+
export const DeleteDomainRequestSchema: GenMessage<DeleteDomainRequest> = /*@__PURE__*/
|
|
260
|
+
messageDesc(file_flyteidl2_org_domain_service, 8);
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Delete response is empty
|
|
264
|
+
*
|
|
265
|
+
* @generated from message flyteidl2.org.DeleteDomainResponse
|
|
266
|
+
*/
|
|
267
|
+
export type DeleteDomainResponse = Message<"flyteidl2.org.DeleteDomainResponse"> & {
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Describes the message flyteidl2.org.DeleteDomainResponse.
|
|
272
|
+
* Use `create(DeleteDomainResponseSchema)` to create a new message.
|
|
273
|
+
*/
|
|
274
|
+
export const DeleteDomainResponseSchema: GenMessage<DeleteDomainResponse> = /*@__PURE__*/
|
|
275
|
+
messageDesc(file_flyteidl2_org_domain_service, 9);
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* DomainService provides CRUD operations for domains within an organization.
|
|
279
|
+
* Domains are customizable partitions (e.g., development, staging, production).
|
|
280
|
+
*
|
|
281
|
+
* @generated from service flyteidl2.org.DomainService
|
|
282
|
+
*/
|
|
283
|
+
export const DomainService: GenService<{
|
|
284
|
+
/**
|
|
285
|
+
* ListDomains returns all domains for an organization.
|
|
286
|
+
*
|
|
287
|
+
* @generated from rpc flyteidl2.org.DomainService.ListDomains
|
|
288
|
+
*/
|
|
289
|
+
listDomains: {
|
|
290
|
+
methodKind: "unary";
|
|
291
|
+
input: typeof ListDomainsRequestSchema;
|
|
292
|
+
output: typeof ListDomainsResponseSchema;
|
|
293
|
+
},
|
|
294
|
+
/**
|
|
295
|
+
* CreateDomain creates a new domain within an organization.
|
|
296
|
+
* Domain creation is primarily an administrative operation.
|
|
297
|
+
*
|
|
298
|
+
* @generated from rpc flyteidl2.org.DomainService.CreateDomain
|
|
299
|
+
*/
|
|
300
|
+
createDomain: {
|
|
301
|
+
methodKind: "unary";
|
|
302
|
+
input: typeof CreateDomainRequestSchema;
|
|
303
|
+
output: typeof CreateDomainResponseSchema;
|
|
304
|
+
},
|
|
305
|
+
/**
|
|
306
|
+
* GetDomain returns a specific domain by ID.
|
|
307
|
+
*
|
|
308
|
+
* @generated from rpc flyteidl2.org.DomainService.GetDomain
|
|
309
|
+
*/
|
|
310
|
+
getDomain: {
|
|
311
|
+
methodKind: "unary";
|
|
312
|
+
input: typeof GetDomainRequestSchema;
|
|
313
|
+
output: typeof GetDomainResponseSchema;
|
|
314
|
+
},
|
|
315
|
+
/**
|
|
316
|
+
* UpdateDomain updates a domain's metadata.
|
|
317
|
+
*
|
|
318
|
+
* @generated from rpc flyteidl2.org.DomainService.UpdateDomain
|
|
319
|
+
*/
|
|
320
|
+
updateDomain: {
|
|
321
|
+
methodKind: "unary";
|
|
322
|
+
input: typeof UpdateDomainRequestSchema;
|
|
323
|
+
output: typeof UpdateDomainResponseSchema;
|
|
324
|
+
},
|
|
325
|
+
/**
|
|
326
|
+
* @generated from rpc flyteidl2.org.DomainService.DeleteDomain
|
|
327
|
+
*/
|
|
328
|
+
deleteDomain: {
|
|
329
|
+
methodKind: "unary";
|
|
330
|
+
input: typeof DeleteDomainRequestSchema;
|
|
331
|
+
output: typeof DeleteDomainResponseSchema;
|
|
332
|
+
},
|
|
333
|
+
}> = /*@__PURE__*/
|
|
334
|
+
serviceDesc(file_flyteidl2_org_domain_service, 0);
|
|
335
|
+
|
|
@@ -13,7 +13,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
13
13
|
* Describes the file flyteidl2/secret/payload.proto.
|
|
14
14
|
*/
|
|
15
15
|
export const file_flyteidl2_secret_payload: GenFile = /*@__PURE__*/
|
|
16
|
-
fileDesc("
|
|
16
|
+
fileDesc("Ch5mbHl0ZWlkbDIvc2VjcmV0L3BheWxvYWQucHJvdG8SEGZseXRlaWRsMi5zZWNyZXQigAEKE0NyZWF0ZVNlY3JldFJlcXVlc3QSNgoCaWQYASABKAsyIi5mbHl0ZWlkbDIuc2VjcmV0LlNlY3JldElkZW50aWZpZXJCBrpIA8gBARIxCgtzZWNyZXRfc3BlYxgCIAEoCzIcLmZseXRlaWRsMi5zZWNyZXQuU2VjcmV0U3BlYyIWChRDcmVhdGVTZWNyZXRSZXNwb25zZSKAAQoTVXBkYXRlU2VjcmV0UmVxdWVzdBI2CgJpZBgBIAEoCzIiLmZseXRlaWRsMi5zZWNyZXQuU2VjcmV0SWRlbnRpZmllckIGukgDyAEBEjEKC3NlY3JldF9zcGVjGAIgASgLMhwuZmx5dGVpZGwyLnNlY3JldC5TZWNyZXRTc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XJUb2tlbnNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBQr0BChRjb20uZmx5dGVpZGwyLnNlY3JldEIMUGF5bG9hZFByb3RvSAJQAVo0Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3NlY3JldKICA0ZTWKoCEEZseXRlaWRsMi5TZWNyZXTKAhBGbHl0ZWlkbDJcU2VjcmV04gIcRmx5dGVpZGwyXFNlY3JldFxHUEJNZXRhZGF0YeoCEUZseXRlaWRsMjo6U2VjcmV0YgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_secret_definition]);
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* CreateSecretProxyRequest contains the spec and identifier used for secret creation
|
|
@@ -103,6 +103,14 @@ export type GetSecretRequest = Message<"flyteidl2.secret.GetSecretRequest"> & {
|
|
|
103
103
|
* @generated from field: flyteidl2.secret.SecretIdentifier id = 1;
|
|
104
104
|
*/
|
|
105
105
|
id?: SecretIdentifier;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* If true, system-provisioned secrets (e.g. EAGER_API_KEY, SERVING_API_KEY) will be included.
|
|
109
|
+
* If false (default), system secrets will be hidden and return NotFound.
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: bool include_system_secrets = 2;
|
|
112
|
+
*/
|
|
113
|
+
includeSystemSecrets: boolean;
|
|
106
114
|
};
|
|
107
115
|
|
|
108
116
|
/**
|
|
@@ -143,6 +151,14 @@ export type DeleteSecretRequest = Message<"flyteidl2.secret.DeleteSecretRequest"
|
|
|
143
151
|
* @generated from field: flyteidl2.secret.SecretIdentifier id = 1;
|
|
144
152
|
*/
|
|
145
153
|
id?: SecretIdentifier;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* If true, system-provisioned secrets (e.g. EAGER_API_KEY, SERVING_API_KEY) can be deleted.
|
|
157
|
+
* If false (default), attempting to delete a system secret will return NotFound.
|
|
158
|
+
*
|
|
159
|
+
* @generated from field: bool include_system_secrets = 2;
|
|
160
|
+
*/
|
|
161
|
+
includeSystemSecrets: boolean;
|
|
146
162
|
};
|
|
147
163
|
|
|
148
164
|
/**
|
|
@@ -219,6 +235,14 @@ export type ListSecretsRequest = Message<"flyteidl2.secret.ListSecretsRequest">
|
|
|
219
235
|
* @generated from field: map<string, string> per_cluster_tokens = 6;
|
|
220
236
|
*/
|
|
221
237
|
perClusterTokens: { [key: string]: string };
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* If true, system-provisioned secrets (e.g. EAGER_API_KEY, SERVING_API_KEY) will be included in results.
|
|
241
|
+
* If false (default), system secrets will be filtered out.
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: bool include_system_secrets = 7;
|
|
244
|
+
*/
|
|
245
|
+
includeSystemSecrets: boolean;
|
|
222
246
|
};
|
|
223
247
|
|
|
224
248
|
/**
|
package/flyteidl2/task/run_pb.ts
CHANGED
|
@@ -4,10 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
6
|
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { ActionPhase } from "../common/phase_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_phase } from "../common/phase_pb.ts";
|
|
7
10
|
import type { KeyValuePair } from "../core/literals_pb.ts";
|
|
8
11
|
import { file_flyteidl2_core_literals } from "../core/literals_pb.ts";
|
|
9
12
|
import type { SecurityContext } from "../core/security_pb.ts";
|
|
10
13
|
import { file_flyteidl2_core_security } from "../core/security_pb.ts";
|
|
14
|
+
import type { DeliveryConfigTemplate } from "../notification/definition_pb.ts";
|
|
15
|
+
import { file_flyteidl2_notification_definition } from "../notification/definition_pb.ts";
|
|
11
16
|
import { file_google_protobuf_wrappers } from "@bufbuild/protobuf/wkt";
|
|
12
17
|
import type { Message } from "@bufbuild/protobuf";
|
|
13
18
|
|
|
@@ -15,7 +20,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
15
20
|
* Describes the file flyteidl2/task/run.proto.
|
|
16
21
|
*/
|
|
17
22
|
export const file_flyteidl2_task_run: GenFile = /*@__PURE__*/
|
|
18
|
-
fileDesc("
|
|
23
|
+
fileDesc("ChhmbHl0ZWlkbDIvdGFzay9ydW4ucHJvdG8SDmZseXRlaWRsMi50YXNrImsKBkxhYmVscxIyCgZ2YWx1ZXMYASADKAsyIi5mbHl0ZWlkbDIudGFzay5MYWJlbHMuVmFsdWVzRW50cnkaLQoLVmFsdWVzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASJ1CgtBbm5vdGF0aW9ucxI3CgZ2YWx1ZXMYASADKAsyJy5mbHl0ZWlkbDIudGFzay5Bbm5vdGF0aW9ucy5WYWx1ZXNFbnRyeRotCgtWYWx1ZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIjQKBEVudnMSLAoGdmFsdWVzGAEgAygLMhwuZmx5dGVpZGwyLmNvcmUuS2V5VmFsdWVQYWlyIikKDlJhd0RhdGFTdG9yYWdlEhcKD3Jhd19kYXRhX3ByZWZpeBgBIAEoCSJkCgtDYWNoZUNvbmZpZxIXCg9vdmVyd3JpdGVfY2FjaGUYASABKAgSPAoSY2FjaGVfbG9va3VwX3Njb3BlGAIgASgOMiAuZmx5dGVpZGwyLnRhc2suQ2FjaGVMb29rdXBTY29wZSKJBAoHUnVuU3BlYxImCgZsYWJlbHMYASABKAsyFi5mbHl0ZWlkbDIudGFzay5MYWJlbHMSMAoLYW5ub3RhdGlvbnMYAiABKAsyGy5mbHl0ZWlkbDIudGFzay5Bbm5vdGF0aW9ucxIiCgRlbnZzGAMgASgLMhQuZmx5dGVpZGwyLnRhc2suRW52cxIxCg1pbnRlcnJ1cHRpYmxlGAQgASgL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dW5Qcm90b0gCUAFaMmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi90YXNrogIDRlRYqgIORmx5dGVpZGwyLlRhc2vKAg5GbHl0ZWlkbDJcVGFza+ICGkZseXRlaWRsMlxUYXNrXEdQQk1ldGFkYXRh6gIPRmx5dGVpZGwyOjpUYXNrYgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_common_phase, file_flyteidl2_core_literals, file_flyteidl2_core_security, file_flyteidl2_notification_definition, file_google_protobuf_wrappers]);
|
|
19
24
|
|
|
20
25
|
/**
|
|
21
26
|
* Label values to be applied to an execution resource.
|
|
@@ -204,6 +209,29 @@ export type RunSpec = Message<"flyteidl2.task.RunSpec"> & {
|
|
|
204
209
|
* @generated from field: flyteidl2.task.CacheConfig cache_config = 9;
|
|
205
210
|
*/
|
|
206
211
|
cacheConfig?: CacheConfig;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Optionally, you can send a notification when your run completes.
|
|
215
|
+
*
|
|
216
|
+
* @generated from oneof flyteidl2.task.RunSpec.notification_settings
|
|
217
|
+
*/
|
|
218
|
+
notificationSettings: {
|
|
219
|
+
/**
|
|
220
|
+
* either refer to a previously stored notification rule
|
|
221
|
+
*
|
|
222
|
+
* @generated from field: string notification_rule_name = 10;
|
|
223
|
+
*/
|
|
224
|
+
value: string;
|
|
225
|
+
case: "notificationRuleName";
|
|
226
|
+
} | {
|
|
227
|
+
/**
|
|
228
|
+
* either define an inline one-off rule
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: flyteidl2.task.InlineRuleList notification_rules = 11;
|
|
231
|
+
*/
|
|
232
|
+
value: InlineRuleList;
|
|
233
|
+
case: "notificationRules";
|
|
234
|
+
} | { case: undefined; value?: undefined };
|
|
207
235
|
};
|
|
208
236
|
|
|
209
237
|
/**
|
|
@@ -213,6 +241,61 @@ export type RunSpec = Message<"flyteidl2.task.RunSpec"> & {
|
|
|
213
241
|
export const RunSpecSchema: GenMessage<RunSpec> = /*@__PURE__*/
|
|
214
242
|
messageDesc(file_flyteidl2_task_run, 5);
|
|
215
243
|
|
|
244
|
+
/**
|
|
245
|
+
* @generated from message flyteidl2.task.InlineRuleList
|
|
246
|
+
*/
|
|
247
|
+
export type InlineRuleList = Message<"flyteidl2.task.InlineRuleList"> & {
|
|
248
|
+
/**
|
|
249
|
+
* @generated from field: repeated flyteidl2.task.InlineRule rules = 1;
|
|
250
|
+
*/
|
|
251
|
+
rules: InlineRule[];
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Describes the message flyteidl2.task.InlineRuleList.
|
|
256
|
+
* Use `create(InlineRuleListSchema)` to create a new message.
|
|
257
|
+
*/
|
|
258
|
+
export const InlineRuleListSchema: GenMessage<InlineRuleList> = /*@__PURE__*/
|
|
259
|
+
messageDesc(file_flyteidl2_task_run, 6);
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* @generated from message flyteidl2.task.InlineRule
|
|
263
|
+
*/
|
|
264
|
+
export type InlineRule = Message<"flyteidl2.task.InlineRule"> & {
|
|
265
|
+
/**
|
|
266
|
+
* @generated from field: repeated flyteidl2.common.ActionPhase on_phases = 1;
|
|
267
|
+
*/
|
|
268
|
+
onPhases: ActionPhase[];
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* @generated from oneof flyteidl2.task.InlineRule.delivery
|
|
272
|
+
*/
|
|
273
|
+
delivery: {
|
|
274
|
+
/**
|
|
275
|
+
* (run org + delivery_config_name) will be used as a delivery config id
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: string delivery_config_name = 2;
|
|
278
|
+
*/
|
|
279
|
+
value: string;
|
|
280
|
+
case: "deliveryConfigName";
|
|
281
|
+
} | {
|
|
282
|
+
/**
|
|
283
|
+
* template can only have fields defined in flyteidl2.notification.RunCompletedNotificationTemplateData
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: flyteidl2.notification.DeliveryConfigTemplate delivery_template = 3;
|
|
286
|
+
*/
|
|
287
|
+
value: DeliveryConfigTemplate;
|
|
288
|
+
case: "deliveryTemplate";
|
|
289
|
+
} | { case: undefined; value?: undefined };
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Describes the message flyteidl2.task.InlineRule.
|
|
294
|
+
* Use `create(InlineRuleSchema)` to create a new message.
|
|
295
|
+
*/
|
|
296
|
+
export const InlineRuleSchema: GenMessage<InlineRule> = /*@__PURE__*/
|
|
297
|
+
messageDesc(file_flyteidl2_task_run, 7);
|
|
298
|
+
|
|
216
299
|
/**
|
|
217
300
|
* @generated from enum flyteidl2.task.CacheLookupScope
|
|
218
301
|
*/
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/workflow/events_proxy_service.proto (package flyteidl2.workflow, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { ActionEvent } from "./run_definition_pb.ts";
|
|
9
|
+
import { file_flyteidl2_workflow_run_definition } from "./run_definition_pb.ts";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file flyteidl2/workflow/events_proxy_service.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_flyteidl2_workflow_events_proxy_service: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("Ci1mbHl0ZWlkbDIvd29ya2Zsb3cvZXZlbnRzX3Byb3h5X3NlcnZpY2UucHJvdG8SEmZseXRlaWRsMi53b3JrZmxvdyJKCg1SZWNvcmRSZXF1ZXN0EjkKBmV2ZW50cxgBIAMoCzIfLmZseXRlaWRsMi53b3JrZmxvdy5BY3Rpb25FdmVudEIIukgFkgECCAEiEAoOUmVjb3JkUmVzcG9uc2UyZwoSRXZlbnRzUHJveHlTZXJ2aWNlElEKBlJlY29yZBIhLmZseXRlaWRsMi53b3JrZmxvdy5SZWNvcmRSZXF1ZXN0GiIuZmx5dGVpZGwyLndvcmtmbG93LlJlY29yZFJlc3BvbnNlIgBC1AEKFmNvbS5mbHl0ZWlkbDIud29ya2Zsb3dCF0V2ZW50c1Byb3h5U2VydmljZVByb3RvSAJQAVo2Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3dvcmtmbG93ogIDRldYqgISRmx5dGVpZGwyLldvcmtmbG93ygISRmx5dGVpZGwyXFdvcmtmbG934gIeRmx5dGVpZGwyXFdvcmtmbG93XEdQQk1ldGFkYXRh6gITRmx5dGVpZGwyOjpXb3JrZmxvd2IGcHJvdG8z", [file_buf_validate_validate, file_flyteidl2_workflow_run_definition]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* RecordRequest is the request message for recording the events for the actions.
|
|
20
|
+
*
|
|
21
|
+
* @generated from message flyteidl2.workflow.RecordRequest
|
|
22
|
+
*/
|
|
23
|
+
export type RecordRequest = Message<"flyteidl2.workflow.RecordRequest"> & {
|
|
24
|
+
/**
|
|
25
|
+
* The events to record.
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: repeated flyteidl2.workflow.ActionEvent events = 1;
|
|
28
|
+
*/
|
|
29
|
+
events: ActionEvent[];
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message flyteidl2.workflow.RecordRequest.
|
|
34
|
+
* Use `create(RecordRequestSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const RecordRequestSchema: GenMessage<RecordRequest> = /*@__PURE__*/
|
|
37
|
+
messageDesc(file_flyteidl2_workflow_events_proxy_service, 0);
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* RecordResponse is the response message recording an event for an action.
|
|
41
|
+
*
|
|
42
|
+
* @generated from message flyteidl2.workflow.RecordResponse
|
|
43
|
+
*/
|
|
44
|
+
export type RecordResponse = Message<"flyteidl2.workflow.RecordResponse"> & {
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message flyteidl2.workflow.RecordResponse.
|
|
49
|
+
* Use `create(RecordResponseSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const RecordResponseSchema: GenMessage<RecordResponse> = /*@__PURE__*/
|
|
52
|
+
messageDesc(file_flyteidl2_workflow_events_proxy_service, 1);
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* EventsProxyService provides an interface for forwarding the events to Run Service or Redis stream.
|
|
56
|
+
*
|
|
57
|
+
* @generated from service flyteidl2.workflow.EventsProxyService
|
|
58
|
+
*/
|
|
59
|
+
export const EventsProxyService: GenService<{
|
|
60
|
+
/**
|
|
61
|
+
* record the events for an action.
|
|
62
|
+
*
|
|
63
|
+
* @generated from rpc flyteidl2.workflow.EventsProxyService.Record
|
|
64
|
+
*/
|
|
65
|
+
record: {
|
|
66
|
+
methodKind: "unary";
|
|
67
|
+
input: typeof RecordRequestSchema;
|
|
68
|
+
output: typeof RecordResponseSchema;
|
|
69
|
+
},
|
|
70
|
+
}> = /*@__PURE__*/
|
|
71
|
+
serviceDesc(file_flyteidl2_workflow_events_proxy_service, 0);
|
|
72
|
+
|