@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,266 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/secret/payload.proto (package flyteidl2.secret, 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 { Secret, SecretIdentifier, SecretSpec } from "./definition_pb.ts";
|
|
9
|
+
import { file_flyteidl2_secret_definition } from "./definition_pb.ts";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file flyteidl2/secret/payload.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_flyteidl2_secret_payload: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("Ch5mbHl0ZWlkbDIvc2VjcmV0L3BheWxvYWQucHJvdG8SEGZseXRlaWRsMi5zZWNyZXQigAEKE0NyZWF0ZVNlY3JldFJlcXVlc3QSNgoCaWQYASABKAsyIi5mbHl0ZWlkbDIuc2VjcmV0LlNlY3JldElkZW50aWZpZXJCBrpIA8gBARIxCgtzZWNyZXRfc3BlYxgCIAEoCzIcLmZseXRlaWRsMi5zZWNyZXQuU2VjcmV0U3BlYyIWChRDcmVhdGVTZWNyZXRSZXNwb25zZSKAAQoTVXBkYXRlU2VjcmV0UmVxdWVzdBI2CgJpZBgBIAEoCzIiLmZseXRlaWRsMi5zZWNyZXQuU2VjcmV0SWRlbnRpZmllckIGukgDyAEBEjEKC3NlY3JldF9zcGVjGAIgASgLMhwuZmx5dGVpZGwyLnNlY3JldC5TZWNyZXRTcGVjIhYKFFVwZGF0ZVNlY3JldFJlc3BvbnNlIkoKEEdldFNlY3JldFJlcXVlc3QSNgoCaWQYASABKAsyIi5mbHl0ZWlkbDIuc2VjcmV0LlNlY3JldElkZW50aWZpZXJCBrpIA8gBASI9ChFHZXRTZWNyZXRSZXNwb25zZRIoCgZzZWNyZXQYASABKAsyGC5mbHl0ZWlkbDIuc2VjcmV0LlNlY3JldCJNChNEZWxldGVTZWNyZXRSZXF1ZXN0EjYKAmlkGAEgASgLMiIuZmx5dGVpZGwyLnNlY3JldC5TZWNyZXRJZGVudGlmaWVyQga6SAPIAQEiFgoURGVsZXRlU2VjcmV0UmVzcG9uc2Ui+gEKEkxpc3RTZWNyZXRzUmVxdWVzdBIUCgxvcmdhbml6YXRpb24YASABKAkSDgoGZG9tYWluGAIgASgJEg8KB3Byb2plY3QYAyABKAkSDQoFbGltaXQYBCABKAUSDQoFdG9rZW4YBSABKAkSVgoScGVyX2NsdXN0ZXJfdG9rZW5zGAYgAygLMjouZmx5dGVpZGwyLnNlY3JldC5MaXN0U2VjcmV0c1JlcXVlc3QuUGVyQ2x1c3RlclRva2Vuc0VudHJ5GjcKFVBlckNsdXN0ZXJUb2tlbnNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIuEBChNMaXN0U2VjcmV0c1Jlc3BvbnNlEikKB3NlY3JldHMYASADKAsyGC5mbHl0ZWlkbDIuc2VjcmV0LlNlY3JldBINCgV0b2tlbhgCIAEoCRJXChJwZXJfY2x1c3Rlcl90b2tlbnMYAyADKAsyOy5mbHl0ZWlkbDIuc2VjcmV0Lkxpc3RTZWNyZXRzUmVzcG9uc2UuUGVyQ2x1c3RlclRva2Vuc0VudHJ5GjcKFVBlckNsdXN0ZXJUb2tlbnNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBQr0BChRjb20uZmx5dGVpZGwyLnNlY3JldEIMUGF5bG9hZFByb3RvSAJQAVo0Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3NlY3JldKICA0ZTWKoCEEZseXRlaWRsMi5TZWNyZXTKAhBGbHl0ZWlkbDJcU2VjcmV04gIcRmx5dGVpZGwyXFNlY3JldFxHUEJNZXRhZGF0YeoCEUZseXRlaWRsMjo6U2VjcmV0YgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_secret_definition]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* CreateSecretProxyRequest contains the spec and identifier used for secret creation
|
|
20
|
+
*
|
|
21
|
+
* @generated from message flyteidl2.secret.CreateSecretRequest
|
|
22
|
+
*/
|
|
23
|
+
export type CreateSecretRequest = Message<"flyteidl2.secret.CreateSecretRequest"> & {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: flyteidl2.secret.SecretIdentifier id = 1;
|
|
26
|
+
*/
|
|
27
|
+
id?: SecretIdentifier;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: flyteidl2.secret.SecretSpec secret_spec = 2;
|
|
31
|
+
*/
|
|
32
|
+
secretSpec?: SecretSpec;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message flyteidl2.secret.CreateSecretRequest.
|
|
37
|
+
* Use `create(CreateSecretRequestSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const CreateSecretRequestSchema: GenMessage<CreateSecretRequest> = /*@__PURE__*/
|
|
40
|
+
messageDesc(file_flyteidl2_secret_payload, 0);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* CreateSecretResponse
|
|
44
|
+
*
|
|
45
|
+
* @generated from message flyteidl2.secret.CreateSecretResponse
|
|
46
|
+
*/
|
|
47
|
+
export type CreateSecretResponse = Message<"flyteidl2.secret.CreateSecretResponse"> & {
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message flyteidl2.secret.CreateSecretResponse.
|
|
52
|
+
* Use `create(CreateSecretResponseSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const CreateSecretResponseSchema: GenMessage<CreateSecretResponse> = /*@__PURE__*/
|
|
55
|
+
messageDesc(file_flyteidl2_secret_payload, 1);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* UpdateSecretProxyRequest contains the spec and identifier used for secret updation
|
|
59
|
+
*
|
|
60
|
+
* @generated from message flyteidl2.secret.UpdateSecretRequest
|
|
61
|
+
*/
|
|
62
|
+
export type UpdateSecretRequest = Message<"flyteidl2.secret.UpdateSecretRequest"> & {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: flyteidl2.secret.SecretIdentifier id = 1;
|
|
65
|
+
*/
|
|
66
|
+
id?: SecretIdentifier;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: flyteidl2.secret.SecretSpec secret_spec = 2;
|
|
70
|
+
*/
|
|
71
|
+
secretSpec?: SecretSpec;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Describes the message flyteidl2.secret.UpdateSecretRequest.
|
|
76
|
+
* Use `create(UpdateSecretRequestSchema)` to create a new message.
|
|
77
|
+
*/
|
|
78
|
+
export const UpdateSecretRequestSchema: GenMessage<UpdateSecretRequest> = /*@__PURE__*/
|
|
79
|
+
messageDesc(file_flyteidl2_secret_payload, 2);
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* UpdateSecretResponse returns an empty response if the secret is successfully updated
|
|
83
|
+
*
|
|
84
|
+
* @generated from message flyteidl2.secret.UpdateSecretResponse
|
|
85
|
+
*/
|
|
86
|
+
export type UpdateSecretResponse = Message<"flyteidl2.secret.UpdateSecretResponse"> & {
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message flyteidl2.secret.UpdateSecretResponse.
|
|
91
|
+
* Use `create(UpdateSecretResponseSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export const UpdateSecretResponseSchema: GenMessage<UpdateSecretResponse> = /*@__PURE__*/
|
|
94
|
+
messageDesc(file_flyteidl2_secret_payload, 3);
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* GetSecretRequest contains the identifier used for looking up the secret
|
|
98
|
+
*
|
|
99
|
+
* @generated from message flyteidl2.secret.GetSecretRequest
|
|
100
|
+
*/
|
|
101
|
+
export type GetSecretRequest = Message<"flyteidl2.secret.GetSecretRequest"> & {
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: flyteidl2.secret.SecretIdentifier id = 1;
|
|
104
|
+
*/
|
|
105
|
+
id?: SecretIdentifier;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message flyteidl2.secret.GetSecretRequest.
|
|
110
|
+
* Use `create(GetSecretRequestSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
export const GetSecretRequestSchema: GenMessage<GetSecretRequest> = /*@__PURE__*/
|
|
113
|
+
messageDesc(file_flyteidl2_secret_payload, 4);
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* GetSecretProxyResponse returns the looked up secret from the secret service
|
|
117
|
+
*
|
|
118
|
+
* @generated from message flyteidl2.secret.GetSecretResponse
|
|
119
|
+
*/
|
|
120
|
+
export type GetSecretResponse = Message<"flyteidl2.secret.GetSecretResponse"> & {
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: flyteidl2.secret.Secret secret = 1;
|
|
123
|
+
*/
|
|
124
|
+
secret?: Secret;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Describes the message flyteidl2.secret.GetSecretResponse.
|
|
129
|
+
* Use `create(GetSecretResponseSchema)` to create a new message.
|
|
130
|
+
*/
|
|
131
|
+
export const GetSecretResponseSchema: GenMessage<GetSecretResponse> = /*@__PURE__*/
|
|
132
|
+
messageDesc(file_flyteidl2_secret_payload, 5);
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* DeleteSecretRequest contains the identifier used for looking up the secret for deletion
|
|
136
|
+
*
|
|
137
|
+
* @generated from message flyteidl2.secret.DeleteSecretRequest
|
|
138
|
+
*/
|
|
139
|
+
export type DeleteSecretRequest = Message<"flyteidl2.secret.DeleteSecretRequest"> & {
|
|
140
|
+
/**
|
|
141
|
+
* name to be used for looking up the secret
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: flyteidl2.secret.SecretIdentifier id = 1;
|
|
144
|
+
*/
|
|
145
|
+
id?: SecretIdentifier;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Describes the message flyteidl2.secret.DeleteSecretRequest.
|
|
150
|
+
* Use `create(DeleteSecretRequestSchema)` to create a new message.
|
|
151
|
+
*/
|
|
152
|
+
export const DeleteSecretRequestSchema: GenMessage<DeleteSecretRequest> = /*@__PURE__*/
|
|
153
|
+
messageDesc(file_flyteidl2_secret_payload, 6);
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* DeleteSecretResponse is an empty response right now on successfully deleting the secret.
|
|
157
|
+
*
|
|
158
|
+
* @generated from message flyteidl2.secret.DeleteSecretResponse
|
|
159
|
+
*/
|
|
160
|
+
export type DeleteSecretResponse = Message<"flyteidl2.secret.DeleteSecretResponse"> & {
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Describes the message flyteidl2.secret.DeleteSecretResponse.
|
|
165
|
+
* Use `create(DeleteSecretResponseSchema)` to create a new message.
|
|
166
|
+
*/
|
|
167
|
+
export const DeleteSecretResponseSchema: GenMessage<DeleteSecretResponse> = /*@__PURE__*/
|
|
168
|
+
messageDesc(file_flyteidl2_secret_payload, 7);
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* ListSecretsRequest is used for listing all the secrets accessible to the user at the passed in scope.
|
|
172
|
+
* With org scope, user is given all secrets at org, domain, project-domain level etc
|
|
173
|
+
* And returns paginated results
|
|
174
|
+
*
|
|
175
|
+
* @generated from message flyteidl2.secret.ListSecretsRequest
|
|
176
|
+
*/
|
|
177
|
+
export type ListSecretsRequest = Message<"flyteidl2.secret.ListSecretsRequest"> & {
|
|
178
|
+
/**
|
|
179
|
+
* Only org scoped resources are supported right now
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: string organization = 1;
|
|
182
|
+
*/
|
|
183
|
+
organization: string;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* domain scoped secret
|
|
187
|
+
*
|
|
188
|
+
* @generated from field: string domain = 2;
|
|
189
|
+
*/
|
|
190
|
+
domain: string;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Project-domain scoped secret
|
|
194
|
+
*
|
|
195
|
+
* @generated from field: string project = 3;
|
|
196
|
+
*/
|
|
197
|
+
project: string;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Max page results
|
|
201
|
+
*
|
|
202
|
+
* @generated from field: int32 limit = 4;
|
|
203
|
+
*/
|
|
204
|
+
limit: number;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Leave this empty if you are getting the first set of results. The next_token would be set in the response that can be used to fetch the next set of results.
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: string token = 5;
|
|
210
|
+
*/
|
|
211
|
+
token: string;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Per cluster token. This allows the service to return paginated results per cluster.
|
|
215
|
+
* Service collates the results from all clusters and returns the next token for each cluster.
|
|
216
|
+
* The client can use the next token for each cluster to fetch the next page of results.
|
|
217
|
+
* In multi cluster, inorder to page through next set of results, client needs to send this token in the next request
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: map<string, string> per_cluster_tokens = 6;
|
|
220
|
+
*/
|
|
221
|
+
perClusterTokens: { [key: string]: string };
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Describes the message flyteidl2.secret.ListSecretsRequest.
|
|
226
|
+
* Use `create(ListSecretsRequestSchema)` to create a new message.
|
|
227
|
+
*/
|
|
228
|
+
export const ListSecretsRequestSchema: GenMessage<ListSecretsRequest> = /*@__PURE__*/
|
|
229
|
+
messageDesc(file_flyteidl2_secret_payload, 8);
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* ListSecretsResponse returns paginated results of the accessible secrets at the scope defined in the request.
|
|
233
|
+
*
|
|
234
|
+
* @generated from message flyteidl2.secret.ListSecretsResponse
|
|
235
|
+
*/
|
|
236
|
+
export type ListSecretsResponse = Message<"flyteidl2.secret.ListSecretsResponse"> & {
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: repeated flyteidl2.secret.Secret secrets = 1;
|
|
239
|
+
*/
|
|
240
|
+
secrets: Secret[];
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* next token to use for fetching new page results.
|
|
244
|
+
*
|
|
245
|
+
* @generated from field: string token = 2;
|
|
246
|
+
*/
|
|
247
|
+
token: string;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Per cluster token. This allows the service to return paginated results per cluster.
|
|
251
|
+
* Service collates the results from all clusters and returns the next token for each cluster.
|
|
252
|
+
* The client can use the next token for each cluster to fetch the next page of results.
|
|
253
|
+
* In multi cluster, inorder to page through next set of results, client needs to send this token in the next request
|
|
254
|
+
*
|
|
255
|
+
* @generated from field: map<string, string> per_cluster_tokens = 3;
|
|
256
|
+
*/
|
|
257
|
+
perClusterTokens: { [key: string]: string };
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Describes the message flyteidl2.secret.ListSecretsResponse.
|
|
262
|
+
* Use `create(ListSecretsResponseSchema)` to create a new message.
|
|
263
|
+
*/
|
|
264
|
+
export const ListSecretsResponseSchema: GenMessage<ListSecretsResponse> = /*@__PURE__*/
|
|
265
|
+
messageDesc(file_flyteidl2_secret_payload, 9);
|
|
266
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/secret/secret.proto (package flyteidl2.secret, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import type { CreateSecretRequestSchema, CreateSecretResponseSchema, DeleteSecretRequestSchema, DeleteSecretResponseSchema, GetSecretRequestSchema, GetSecretResponseSchema, ListSecretsRequestSchema, ListSecretsResponseSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema } from "./payload_pb.ts";
|
|
8
|
+
import { file_flyteidl2_secret_payload } from "./payload_pb.ts";
|
|
9
|
+
import { file_google_api_annotations } from "../../google/api/annotations_pb.ts";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file flyteidl2/secret/secret.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_flyteidl2_secret_secret: GenFile = /*@__PURE__*/
|
|
15
|
+
fileDesc("Ch1mbHl0ZWlkbDIvc2VjcmV0L3NlY3JldC5wcm90bxIQZmx5dGVpZGwyLnNlY3JldDKQBQoNU2VjcmV0U2VydmljZRJ5CgxDcmVhdGVTZWNyZXQSJS5mbHl0ZWlkbDIuc2VjcmV0LkNyZWF0ZVNlY3JldFJlcXVlc3QaJi5mbHl0ZWlkbDIuc2VjcmV0LkNyZWF0ZVNlY3JldFJlc3BvbnNlIhqC0+STAhQ6ASoiDy9zZWNyZXRzL2FwaS92MRKIAQoMVXBkYXRlU2VjcmV0EiUuZmx5dGVpZGwyLnNlY3JldC5VcGRhdGVTZWNyZXRSZXF1ZXN0GiYuZmx5dGVpZGwyLnNlY3JldC5VcGRhdGVTZWNyZXRSZXNwb25zZSIpgtPkkwIjOgEqGh4vc2VjcmV0cy9hcGkvdjEvbmFtZS97aWQubmFtZX0SfAoJR2V0U2VjcmV0EiIuZmx5dGVpZGwyLnNlY3JldC5HZXRTZWNyZXRSZXF1ZXN0GiMuZmx5dGVpZGwyLnNlY3JldC5HZXRTZWNyZXRSZXNwb25zZSImgtPkkwIgEh4vc2VjcmV0cy9hcGkvdjEvbmFtZS97aWQubmFtZX0ShQEKDERlbGV0ZVNlY3JldBIlLmZseXRlaWRsMi5zZWNyZXQuRGVsZXRlU2VjcmV0UmVxdWVzdBomLmZseXRlaWRsMi5zZWNyZXQuRGVsZXRlU2VjcmV0UmVzcG9uc2UiJoLT5JMCICoeL3NlY3JldHMvYXBpL3YxL25hbWUve2lkLm5hbWV9EnMKC0xpc3RTZWNyZXRzEiQuZmx5dGVpZGwyLnNlY3JldC5MaXN0U2VjcmV0c1JlcXVlc3QaJS5mbHl0ZWlkbDIuc2VjcmV0Lkxpc3RTZWNyZXRzUmVzcG9uc2UiF4LT5JMCERIPL3NlY3JldHMvYXBpL3YxQrwBChRjb20uZmx5dGVpZGwyLnNlY3JldEILU2VjcmV0UHJvdG9IAlABWjRnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvc2VjcmV0ogIDRlNYqgIQRmx5dGVpZGwyLlNlY3JldMoCEEZseXRlaWRsMlxTZWNyZXTiAhxGbHl0ZWlkbDJcU2VjcmV0XEdQQk1ldGFkYXRh6gIRRmx5dGVpZGwyOjpTZWNyZXRiBnByb3RvMw", [file_flyteidl2_secret_payload, file_google_api_annotations]);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @generated from service flyteidl2.secret.SecretService
|
|
19
|
+
*/
|
|
20
|
+
export const SecretService: GenService<{
|
|
21
|
+
/**
|
|
22
|
+
* @generated from rpc flyteidl2.secret.SecretService.CreateSecret
|
|
23
|
+
*/
|
|
24
|
+
createSecret: {
|
|
25
|
+
methodKind: "unary";
|
|
26
|
+
input: typeof CreateSecretRequestSchema;
|
|
27
|
+
output: typeof CreateSecretResponseSchema;
|
|
28
|
+
},
|
|
29
|
+
/**
|
|
30
|
+
* @generated from rpc flyteidl2.secret.SecretService.UpdateSecret
|
|
31
|
+
*/
|
|
32
|
+
updateSecret: {
|
|
33
|
+
methodKind: "unary";
|
|
34
|
+
input: typeof UpdateSecretRequestSchema;
|
|
35
|
+
output: typeof UpdateSecretResponseSchema;
|
|
36
|
+
},
|
|
37
|
+
/**
|
|
38
|
+
* @generated from rpc flyteidl2.secret.SecretService.GetSecret
|
|
39
|
+
*/
|
|
40
|
+
getSecret: {
|
|
41
|
+
methodKind: "unary";
|
|
42
|
+
input: typeof GetSecretRequestSchema;
|
|
43
|
+
output: typeof GetSecretResponseSchema;
|
|
44
|
+
},
|
|
45
|
+
/**
|
|
46
|
+
* @generated from rpc flyteidl2.secret.SecretService.DeleteSecret
|
|
47
|
+
*/
|
|
48
|
+
deleteSecret: {
|
|
49
|
+
methodKind: "unary";
|
|
50
|
+
input: typeof DeleteSecretRequestSchema;
|
|
51
|
+
output: typeof DeleteSecretResponseSchema;
|
|
52
|
+
},
|
|
53
|
+
/**
|
|
54
|
+
* @generated from rpc flyteidl2.secret.SecretService.ListSecrets
|
|
55
|
+
*/
|
|
56
|
+
listSecrets: {
|
|
57
|
+
methodKind: "unary";
|
|
58
|
+
input: typeof ListSecretsRequestSchema;
|
|
59
|
+
output: typeof ListSecretsResponseSchema;
|
|
60
|
+
},
|
|
61
|
+
}> = /*@__PURE__*/
|
|
62
|
+
serviceDesc(file_flyteidl2_secret_secret, 0);
|
|
63
|
+
|
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/task/common.proto (package flyteidl2.task, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { Parameter } from "../core/interface_pb.ts";
|
|
9
|
+
import { file_flyteidl2_core_interface } from "../core/interface_pb.ts";
|
|
10
|
+
import type { KeyValuePair, Literal } from "../core/literals_pb.ts";
|
|
11
|
+
import { file_flyteidl2_core_literals } from "../core/literals_pb.ts";
|
|
12
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
13
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
14
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes the file flyteidl2/task/common.proto.
|
|
18
|
+
*/
|
|
19
|
+
export const file_flyteidl2_task_common: GenFile = /*@__PURE__*/
|
|
20
|
+
fileDesc("ChtmbHl0ZWlkbDIvdGFzay9jb21tb24ucHJvdG8SDmZseXRlaWRsMi50YXNrIkwKDk5hbWVkUGFyYW1ldGVyEgwKBG5hbWUYASABKAkSLAoJcGFyYW1ldGVyGAIgASgLMhkuZmx5dGVpZGwyLmNvcmUuUGFyYW1ldGVyIooBCglGaXhlZFJhdGUSFgoFdmFsdWUYASABKA1CB7pIBCoCIAASNQoEdW5pdBgCIAEoDjIdLmZseXRlaWRsMi50YXNrLkZpeGVkUmF0ZVVuaXRCCLpIBYIBAiAAEi4KCnN0YXJ0X3RpbWUYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIoUBCghTY2hlZHVsZRIpCgRyYXRlGAEgASgLMhkuZmx5dGVpZGwyLnRhc2suRml4ZWRSYXRlSAASGQoPY3Jvbl9leHByZXNzaW9uGAIgASgJSAASHgoWa2lja29mZl90aW1lX2lucHV0X2FyZxgDIAEoCUITCgpleHByZXNzaW9uEgW6SAIIASLXAQoVVHJpZ2dlckF1dG9tYXRpb25TcGVjEkIKBHR5cGUYASABKA4yKi5mbHl0ZWlkbDIudGFzay5UcmlnZ2VyQXV0b21hdGlvblNwZWMuVHlwZUIIukgFggECIAASLAoIc2NoZWR1bGUYAiABKAsyGC5mbHl0ZWlkbDIudGFzay5TY2hlZHVsZUgAIj4KBFR5cGUSFAoQVFlQRV9VTlNQRUNJRklFRBAAEg0KCVRZUEVfTk9ORRABEhEKDVRZUEVfU0NIRURVTEUQAkIMCgphdXRvbWF0aW9uIkQKDE5hbWVkTGl0ZXJhbBIMCgRuYW1lGAEgASgJEiYKBXZhbHVlGAIgASgLMhcuZmx5dGVpZGwyLmNvcmUuTGl0ZXJhbCI6ChBPdXRwdXRSZWZlcmVuY2VzEhIKCm91dHB1dF91cmkYASABKAkSEgoKcmVwb3J0X3VyaRgCIAEoCSJnCgZJbnB1dHMSLgoIbGl0ZXJhbHMYASADKAsyHC5mbHl0ZWlkbDIudGFzay5OYW1lZExpdGVyYWwSLQoHY29udGV4dBgCIAMoCzIcLmZseXRlaWRsMi5jb3JlLktleVZhbHVlUGFpciI5CgdPdXRwdXRzEi4KCGxpdGVyYWxzGAEgAygLMhwuZmx5dGVpZGwyLnRhc2suTmFtZWRMaXRlcmFsKn8KDUZpeGVkUmF0ZVVuaXQSHwobRklYRURfUkFURV9VTklUX1VOU1BFQ0lGSUVEEAASGgoWRklYRURfUkFURV9VTklUX01JTlVURRABEhgKFEZJWEVEX1JBVEVfVU5JVF9IT1VSEAISFwoTRklYRURfUkFURV9VTklUX0RBWRADQrABChJjb20uZmx5dGVpZGwyLnRhc2tCC0NvbW1vblByb3RvSAJQAVoyZ2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3Rhc2uiAgNGVFiqAg5GbHl0ZWlkbDIuVGFza8oCDkZseXRlaWRsMlxUYXNr4gIaRmx5dGVpZGwyXFRhc2tcR1BCTWV0YWRhdGHqAg9GbHl0ZWlkbDI6OlRhc2tiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_core_interface, file_flyteidl2_core_literals, file_google_protobuf_timestamp]);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from message flyteidl2.task.NamedParameter
|
|
24
|
+
*/
|
|
25
|
+
export type NamedParameter = Message<"flyteidl2.task.NamedParameter"> & {
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: string name = 1;
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: flyteidl2.core.Parameter parameter = 2;
|
|
33
|
+
*/
|
|
34
|
+
parameter?: Parameter;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message flyteidl2.task.NamedParameter.
|
|
39
|
+
* Use `create(NamedParameterSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const NamedParameterSchema: GenMessage<NamedParameter> = /*@__PURE__*/
|
|
42
|
+
messageDesc(file_flyteidl2_task_common, 0);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Option for schedules run at a certain frequency e.g. every 2 minutes.
|
|
46
|
+
*
|
|
47
|
+
* @generated from message flyteidl2.task.FixedRate
|
|
48
|
+
*/
|
|
49
|
+
export type FixedRate = Message<"flyteidl2.task.FixedRate"> & {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: uint32 value = 1;
|
|
52
|
+
*/
|
|
53
|
+
value: number;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: flyteidl2.task.FixedRateUnit unit = 2;
|
|
57
|
+
*/
|
|
58
|
+
unit: FixedRateUnit;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Optional, timestamp after which rate should be calculated. Can be only in future.
|
|
62
|
+
* E.g. We create a rate schedule "every 5 minutes" with start_time="12:00" inactive.
|
|
63
|
+
* Activate it at "12:04".
|
|
64
|
+
* Trigger should fire at "12:05" as it adds 5 minutes to start_time="12:00".
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: google.protobuf.Timestamp start_time = 3;
|
|
67
|
+
*/
|
|
68
|
+
startTime?: Timestamp;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message flyteidl2.task.FixedRate.
|
|
73
|
+
* Use `create(FixedRateSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export const FixedRateSchema: GenMessage<FixedRate> = /*@__PURE__*/
|
|
76
|
+
messageDesc(file_flyteidl2_task_common, 1);
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Defines complete set of information required to trigger an execution on a schedule.
|
|
80
|
+
*
|
|
81
|
+
* @generated from message flyteidl2.task.Schedule
|
|
82
|
+
*/
|
|
83
|
+
export type Schedule = Message<"flyteidl2.task.Schedule"> & {
|
|
84
|
+
/**
|
|
85
|
+
* @generated from oneof flyteidl2.task.Schedule.expression
|
|
86
|
+
*/
|
|
87
|
+
expression: {
|
|
88
|
+
/**
|
|
89
|
+
* Uses AWS syntax: Minutes Hours Day-of-month Month Day-of-week Year
|
|
90
|
+
* e.g. for a schedule that runs every 15 minutes: 0/15 * * * ? *
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: flyteidl2.task.FixedRate rate = 1;
|
|
93
|
+
*/
|
|
94
|
+
value: FixedRate;
|
|
95
|
+
case: "rate";
|
|
96
|
+
} | {
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: string cron_expression = 2;
|
|
99
|
+
*/
|
|
100
|
+
value: string;
|
|
101
|
+
case: "cronExpression";
|
|
102
|
+
} | { case: undefined; value?: undefined };
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Name of the input variable that the kickoff time will be supplied to when the workflow is kicked off.
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: string kickoff_time_input_arg = 3;
|
|
108
|
+
*/
|
|
109
|
+
kickoffTimeInputArg: string;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Describes the message flyteidl2.task.Schedule.
|
|
114
|
+
* Use `create(ScheduleSchema)` to create a new message.
|
|
115
|
+
*/
|
|
116
|
+
export const ScheduleSchema: GenMessage<Schedule> = /*@__PURE__*/
|
|
117
|
+
messageDesc(file_flyteidl2_task_common, 2);
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from message flyteidl2.task.TriggerAutomationSpec
|
|
121
|
+
*/
|
|
122
|
+
export type TriggerAutomationSpec = Message<"flyteidl2.task.TriggerAutomationSpec"> & {
|
|
123
|
+
/**
|
|
124
|
+
* Explicitly defines trigger automation type.
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: flyteidl2.task.TriggerAutomationSpec.Type type = 1;
|
|
127
|
+
*/
|
|
128
|
+
type: TriggerAutomationSpec_Type;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @generated from oneof flyteidl2.task.TriggerAutomationSpec.automation
|
|
132
|
+
*/
|
|
133
|
+
automation: {
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: flyteidl2.task.Schedule schedule = 2;
|
|
136
|
+
*/
|
|
137
|
+
value: Schedule;
|
|
138
|
+
case: "schedule";
|
|
139
|
+
} | { case: undefined; value?: undefined };
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Describes the message flyteidl2.task.TriggerAutomationSpec.
|
|
144
|
+
* Use `create(TriggerAutomationSpecSchema)` to create a new message.
|
|
145
|
+
*/
|
|
146
|
+
export const TriggerAutomationSpecSchema: GenMessage<TriggerAutomationSpec> = /*@__PURE__*/
|
|
147
|
+
messageDesc(file_flyteidl2_task_common, 3);
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Specifies type of the automation attached to trigger if any.
|
|
151
|
+
*
|
|
152
|
+
* @generated from enum flyteidl2.task.TriggerAutomationSpec.Type
|
|
153
|
+
*/
|
|
154
|
+
export enum TriggerAutomationSpec_Type {
|
|
155
|
+
/**
|
|
156
|
+
* @generated from enum value: TYPE_UNSPECIFIED = 0;
|
|
157
|
+
*/
|
|
158
|
+
UNSPECIFIED = 0,
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @generated from enum value: TYPE_NONE = 1;
|
|
162
|
+
*/
|
|
163
|
+
NONE = 1,
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @generated from enum value: TYPE_SCHEDULE = 2;
|
|
167
|
+
*/
|
|
168
|
+
SCHEDULE = 2,
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Describes the enum flyteidl2.task.TriggerAutomationSpec.Type.
|
|
173
|
+
*/
|
|
174
|
+
export const TriggerAutomationSpec_TypeSchema: GenEnum<TriggerAutomationSpec_Type> = /*@__PURE__*/
|
|
175
|
+
enumDesc(file_flyteidl2_task_common, 3, 0);
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Named literal value.
|
|
179
|
+
*
|
|
180
|
+
* @generated from message flyteidl2.task.NamedLiteral
|
|
181
|
+
*/
|
|
182
|
+
export type NamedLiteral = Message<"flyteidl2.task.NamedLiteral"> & {
|
|
183
|
+
/**
|
|
184
|
+
* Name of the literal.
|
|
185
|
+
*
|
|
186
|
+
* @generated from field: string name = 1;
|
|
187
|
+
*/
|
|
188
|
+
name: string;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Literal value.
|
|
192
|
+
*
|
|
193
|
+
* @generated from field: flyteidl2.core.Literal value = 2;
|
|
194
|
+
*/
|
|
195
|
+
value?: Literal;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Describes the message flyteidl2.task.NamedLiteral.
|
|
200
|
+
* Use `create(NamedLiteralSchema)` to create a new message.
|
|
201
|
+
*/
|
|
202
|
+
export const NamedLiteralSchema: GenMessage<NamedLiteral> = /*@__PURE__*/
|
|
203
|
+
messageDesc(file_flyteidl2_task_common, 4);
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Output references.
|
|
207
|
+
*
|
|
208
|
+
* @generated from message flyteidl2.task.OutputReferences
|
|
209
|
+
*/
|
|
210
|
+
export type OutputReferences = Message<"flyteidl2.task.OutputReferences"> & {
|
|
211
|
+
/**
|
|
212
|
+
* The output uri.
|
|
213
|
+
*
|
|
214
|
+
* @generated from field: string output_uri = 1;
|
|
215
|
+
*/
|
|
216
|
+
outputUri: string;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Native URI to HTML report
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: string report_uri = 2;
|
|
222
|
+
*/
|
|
223
|
+
reportUri: string;
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Describes the message flyteidl2.task.OutputReferences.
|
|
228
|
+
* Use `create(OutputReferencesSchema)` to create a new message.
|
|
229
|
+
*/
|
|
230
|
+
export const OutputReferencesSchema: GenMessage<OutputReferences> = /*@__PURE__*/
|
|
231
|
+
messageDesc(file_flyteidl2_task_common, 5);
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Input payload for an action.
|
|
235
|
+
*
|
|
236
|
+
* @generated from message flyteidl2.task.Inputs
|
|
237
|
+
*/
|
|
238
|
+
export type Inputs = Message<"flyteidl2.task.Inputs"> & {
|
|
239
|
+
/**
|
|
240
|
+
* Ordered inputs. THIS FIELD MUST REMAIN FIRST as this would break Run service assumptions if it were to move.
|
|
241
|
+
*
|
|
242
|
+
* @generated from field: repeated flyteidl2.task.NamedLiteral literals = 1;
|
|
243
|
+
*/
|
|
244
|
+
literals: NamedLiteral[];
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Context for the action. If an action receives context, it'll automatically pass it to any actions it spawns.
|
|
248
|
+
* Context will not be used for cache key computation.
|
|
249
|
+
* Examples for context include:
|
|
250
|
+
* - User-provided metadata that is not part of the action's inputs.
|
|
251
|
+
* - Information about the environment the action is running in (e.g. cluster, region, etc.)
|
|
252
|
+
* - Tracing information about the action
|
|
253
|
+
*
|
|
254
|
+
* @generated from field: repeated flyteidl2.core.KeyValuePair context = 2;
|
|
255
|
+
*/
|
|
256
|
+
context: KeyValuePair[];
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Describes the message flyteidl2.task.Inputs.
|
|
261
|
+
* Use `create(InputsSchema)` to create a new message.
|
|
262
|
+
*/
|
|
263
|
+
export const InputsSchema: GenMessage<Inputs> = /*@__PURE__*/
|
|
264
|
+
messageDesc(file_flyteidl2_task_common, 6);
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Output payload for an action.
|
|
268
|
+
*
|
|
269
|
+
* @generated from message flyteidl2.task.Outputs
|
|
270
|
+
*/
|
|
271
|
+
export type Outputs = Message<"flyteidl2.task.Outputs"> & {
|
|
272
|
+
/**
|
|
273
|
+
* Ordered outputs. THIS FIELD MUST REMAIN FIRST as this would break Run service assumptions if it were to move.
|
|
274
|
+
*
|
|
275
|
+
* @generated from field: repeated flyteidl2.task.NamedLiteral literals = 1;
|
|
276
|
+
*/
|
|
277
|
+
literals: NamedLiteral[];
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Describes the message flyteidl2.task.Outputs.
|
|
282
|
+
* Use `create(OutputsSchema)` to create a new message.
|
|
283
|
+
*/
|
|
284
|
+
export const OutputsSchema: GenMessage<Outputs> = /*@__PURE__*/
|
|
285
|
+
messageDesc(file_flyteidl2_task_common, 7);
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Represents a frequency at which to run a schedule.
|
|
289
|
+
*
|
|
290
|
+
* @generated from enum flyteidl2.task.FixedRateUnit
|
|
291
|
+
*/
|
|
292
|
+
export enum FixedRateUnit {
|
|
293
|
+
/**
|
|
294
|
+
* @generated from enum value: FIXED_RATE_UNIT_UNSPECIFIED = 0;
|
|
295
|
+
*/
|
|
296
|
+
UNSPECIFIED = 0,
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* @generated from enum value: FIXED_RATE_UNIT_MINUTE = 1;
|
|
300
|
+
*/
|
|
301
|
+
MINUTE = 1,
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* @generated from enum value: FIXED_RATE_UNIT_HOUR = 2;
|
|
305
|
+
*/
|
|
306
|
+
HOUR = 2,
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* @generated from enum value: FIXED_RATE_UNIT_DAY = 3;
|
|
310
|
+
*/
|
|
311
|
+
DAY = 3,
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Describes the enum flyteidl2.task.FixedRateUnit.
|
|
316
|
+
*/
|
|
317
|
+
export const FixedRateUnitSchema: GenEnum<FixedRateUnit> = /*@__PURE__*/
|
|
318
|
+
enumDesc(file_flyteidl2_task_common, 0);
|
|
319
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/task/environment.proto (package flyteidl2.task, 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/task/environment.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_flyteidl2_task_environment: GenFile = /*@__PURE__*/
|
|
14
|
+
fileDesc("CiBmbHl0ZWlkbDIvdGFzay9lbnZpcm9ubWVudC5wcm90bxIOZmx5dGVpZGwyLnRhc2siJgoLRW52aXJvbm1lbnQSFwoEbmFtZRgBIAEoCUIJukgGcgQQARg/QrUBChJjb20uZmx5dGVpZGwyLnRhc2tCEEVudmlyb25tZW50UHJvdG9IAlABWjJnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvdGFza6ICA0ZUWKoCDkZseXRlaWRsMi5UYXNrygIORmx5dGVpZGwyXFRhc2viAhpGbHl0ZWlkbDJcVGFza1xHUEJNZXRhZGF0YeoCD0ZseXRlaWRsMjo6VGFza2IGcHJvdG8z", [file_buf_validate_validate]);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Environment for a task.
|
|
18
|
+
*
|
|
19
|
+
* @generated from message flyteidl2.task.Environment
|
|
20
|
+
*/
|
|
21
|
+
export type Environment = Message<"flyteidl2.task.Environment"> & {
|
|
22
|
+
/**
|
|
23
|
+
* Name of the environment.
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: string name = 1;
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message flyteidl2.task.Environment.
|
|
32
|
+
* Use `create(EnvironmentSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const EnvironmentSchema: GenMessage<Environment> = /*@__PURE__*/
|
|
35
|
+
messageDesc(file_flyteidl2_task_environment, 0);
|
|
36
|
+
|