@flyteorg/flyteidl2 2.0.0-alpha10 → 2.0.0-alpha12
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/app/app_definition_pb.ts +1112 -0
- package/flyteidl2/app/app_logs_payload_pb.ts +161 -0
- package/flyteidl2/app/app_logs_service_pb.ts +30 -0
- package/flyteidl2/app/app_payload_pb.ts +530 -0
- package/flyteidl2/app/app_service_pb.ts +104 -0
- package/flyteidl2/app/replica_definition_pb.ts +140 -0
- package/flyteidl2/core/metrics_pb.ts +47 -0
- package/flyteidl2/core/security_pb.ts +42 -6
- package/flyteidl2/plugins/connector_pb.ts +722 -0
- package/flyteidl2/plugins/pytorch_pb.ts +82 -0
- package/flyteidl2/service/connector_pb.ts +109 -0
- package/flyteidl2/task/common_pb.ts +29 -31
- package/flyteidl2/task/task_definition_pb.ts +32 -5
- package/flyteidl2/task/task_service_pb.ts +127 -2
- package/package.json +1 -1
|
@@ -0,0 +1,1112 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/app/app_definition.proto (package flyteidl2.app, 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 { EnrichedIdentity } from "../common/identity_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_identity } from "../common/identity_pb.ts";
|
|
10
|
+
import type { RuntimeMetadata } from "../common/runtime_version_pb.ts";
|
|
11
|
+
import { file_flyteidl2_common_runtime_version } from "../common/runtime_version_pb.ts";
|
|
12
|
+
import type { ArtifactID, ArtifactQuery } from "../core/artifact_id_pb.ts";
|
|
13
|
+
import { file_flyteidl2_core_artifact_id } from "../core/artifact_id_pb.ts";
|
|
14
|
+
import type { Identity, Secret } from "../core/security_pb.ts";
|
|
15
|
+
import { file_flyteidl2_core_security } from "../core/security_pb.ts";
|
|
16
|
+
import type { Container, ExtendedResources, K8sPod } from "../core/tasks_pb.ts";
|
|
17
|
+
import { file_flyteidl2_core_tasks } from "../core/tasks_pb.ts";
|
|
18
|
+
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
19
|
+
import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the file flyteidl2/app/app_definition.proto.
|
|
24
|
+
*/
|
|
25
|
+
export const file_flyteidl2_app_app_definition: GenFile = /*@__PURE__*/
|
|
26
|
+
fileDesc("CiJmbHl0ZWlkbDIvYXBwL2FwcF9kZWZpbml0aW9uLnByb3RvEg1mbHl0ZWlkbDIuYXBwIpYBCgpJZGVudGlmaWVyEgsKA29yZxgBIAEoCRIYCgdwcm9qZWN0GAIgASgJQge6SARyAhABEhcKBmRvbWFpbhgDIAEoCUIHukgEcgIQARJICgRuYW1lGAQgASgJQjq6SDdyNRABGB4yL15bQS1aYS16MC05XSg/OltBLVphLXowLTktXXswLDYxfVtBLVphLXowLTldKT8kIrABCgRNZXRhEi0KAmlkGAEgASgLMhkuZmx5dGVpZGwyLmFwcC5JZGVudGlmaWVyQga6SAPIAQESGQoIcmV2aXNpb24YAiABKARCB7pIBDICKAASLwoGbGFiZWxzGAMgAygLMh8uZmx5dGVpZGwyLmFwcC5NZXRhLkxhYmVsc0VudHJ5Gi0KC0xhYmVsc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEidQoKQXBwV3JhcHBlchIMCgRob3N0GAEgASgJEiEKA2FwcBgCIAEoCzISLmZseXRlaWRsMi5hcHAuQXBwSAASKwo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V0b3NjYWxpbmdDb25maWcSKQoIcmVwbGljYXMYASABKAsyFy5mbHl0ZWlkbDIuYXBwLlJlcGxpY2FzEjMKEHNjYWxlZG93bl9wZXJpb2QYAiABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24SNAoOc2NhbGluZ19tZXRyaWMYAyABKAsyHC5mbHl0ZWlkbDIuYXBwLlNjYWxpbmdNZXRyaWMihwEKDVNjYWxpbmdNZXRyaWMSMgoMcmVxdWVzdF9yYXRlGAEgASgLMhouZmx5dGVpZGwyLmFwcC5SZXF1ZXN0UmF0ZUgAEjEKC2NvbmN1cnJlbmN5GAIgASgLMhouZmx5dGVpZGwyLmFwcC5Db25jdXJyZW5jeUgAQg8KBm1ldHJpYxIFukgCCAEiLAoLQ29uY3VycmVuY3kSHQoMdGFyZ2V0X3ZhbHVlGAEgASgNQge6SAQqAiAAIiwKC1JlcXVlc3RSYXRlEh0KDHRhcmdldF92YWx1ZRgBIAEoDUIHukgEKgIoACI2CghSZXBsaWNhcxIUCgNtaW4YASABKA1CB7pIBCoCKAASFAoDbWF4GAIgASgNQge6SAQqAigAIlIKDVRpbWVvdXRDb25maWcSQQoPcmVxdWVzdF90aW1lb3V0GAEgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uQg26SAqqAQciAwiQHDIAQrEBChFjb20uZmx5dGVpZGwyLmFwcEISQXBwRGVmaW5pdGlvblByb3RvSAJQAVoxZ2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2FwcKICA0ZBWKoCDUZseXRlaWRsMi5BcHDKAg1GbHl0ZWlkbDJcQXBw4gIZRmx5dGVpZGwyXEFwcFxHUEJNZXRhZGF0YeoCDkZseXRlaWRsMjo6QXBwYgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_common_identity, file_flyteidl2_common_runtime_version, file_flyteidl2_core_artifact_id, file_flyteidl2_core_security, file_flyteidl2_core_tasks, file_google_protobuf_duration, file_google_protobuf_timestamp]);
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from message flyteidl2.app.Identifier
|
|
30
|
+
*/
|
|
31
|
+
export type Identifier = Message<"flyteidl2.app.Identifier"> & {
|
|
32
|
+
/**
|
|
33
|
+
* Org that the app belongs to.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: string org = 1;
|
|
36
|
+
*/
|
|
37
|
+
org: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Project that the app belongs to.
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: string project = 2;
|
|
43
|
+
*/
|
|
44
|
+
project: string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Domain that the app belongs to.
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: string domain = 3;
|
|
50
|
+
*/
|
|
51
|
+
domain: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Name that the user provided for the app.
|
|
55
|
+
*
|
|
56
|
+
* @generated from field: string name = 4;
|
|
57
|
+
*/
|
|
58
|
+
name: string;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message flyteidl2.app.Identifier.
|
|
63
|
+
* Use `create(IdentifierSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const IdentifierSchema: GenMessage<Identifier> = /*@__PURE__*/
|
|
66
|
+
messageDesc(file_flyteidl2_app_app_definition, 0);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from message flyteidl2.app.Meta
|
|
70
|
+
*/
|
|
71
|
+
export type Meta = Message<"flyteidl2.app.Meta"> & {
|
|
72
|
+
/**
|
|
73
|
+
* ID of the app.
|
|
74
|
+
*
|
|
75
|
+
* @generated from field: flyteidl2.app.Identifier id = 1;
|
|
76
|
+
*/
|
|
77
|
+
id?: Identifier;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Revision of the app object.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: uint64 revision = 2;
|
|
83
|
+
*/
|
|
84
|
+
revision: bigint;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Labels for the app.
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: map<string, string> labels = 3;
|
|
90
|
+
*/
|
|
91
|
+
labels: { [key: string]: string };
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Describes the message flyteidl2.app.Meta.
|
|
96
|
+
* Use `create(MetaSchema)` to create a new message.
|
|
97
|
+
*/
|
|
98
|
+
export const MetaSchema: GenMessage<Meta> = /*@__PURE__*/
|
|
99
|
+
messageDesc(file_flyteidl2_app_app_definition, 1);
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* For internal usage only. This message is used to wrap the app message with the host.
|
|
103
|
+
*
|
|
104
|
+
* @generated from message flyteidl2.app.AppWrapper
|
|
105
|
+
*/
|
|
106
|
+
export type AppWrapper = Message<"flyteidl2.app.AppWrapper"> & {
|
|
107
|
+
/**
|
|
108
|
+
* @generated from field: string host = 1;
|
|
109
|
+
*/
|
|
110
|
+
host: string;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @generated from oneof flyteidl2.app.AppWrapper.payload
|
|
114
|
+
*/
|
|
115
|
+
payload: {
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: flyteidl2.app.App app = 2;
|
|
118
|
+
*/
|
|
119
|
+
value: App;
|
|
120
|
+
case: "app";
|
|
121
|
+
} | {
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: flyteidl2.app.Identifier app_id = 3;
|
|
124
|
+
*/
|
|
125
|
+
value: Identifier;
|
|
126
|
+
case: "appId";
|
|
127
|
+
} | { case: undefined; value?: undefined };
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Describes the message flyteidl2.app.AppWrapper.
|
|
132
|
+
* Use `create(AppWrapperSchema)` to create a new message.
|
|
133
|
+
*/
|
|
134
|
+
export const AppWrapperSchema: GenMessage<AppWrapper> = /*@__PURE__*/
|
|
135
|
+
messageDesc(file_flyteidl2_app_app_definition, 2);
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Represents an app with its specification and status.
|
|
139
|
+
*
|
|
140
|
+
* @generated from message flyteidl2.app.App
|
|
141
|
+
*/
|
|
142
|
+
export type App = Message<"flyteidl2.app.App"> & {
|
|
143
|
+
/**
|
|
144
|
+
* Metadata of the app.
|
|
145
|
+
*
|
|
146
|
+
* @generated from field: flyteidl2.app.Meta metadata = 1;
|
|
147
|
+
*/
|
|
148
|
+
metadata?: Meta;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Specification of the app.
|
|
152
|
+
*
|
|
153
|
+
* @generated from field: flyteidl2.app.Spec spec = 2;
|
|
154
|
+
*/
|
|
155
|
+
spec?: Spec;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Status of the app.
|
|
159
|
+
*
|
|
160
|
+
* @generated from field: flyteidl2.app.Status status = 3;
|
|
161
|
+
*/
|
|
162
|
+
status?: Status;
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Describes the message flyteidl2.app.App.
|
|
167
|
+
* Use `create(AppSchema)` to create a new message.
|
|
168
|
+
*/
|
|
169
|
+
export const AppSchema: GenMessage<App> = /*@__PURE__*/
|
|
170
|
+
messageDesc(file_flyteidl2_app_app_definition, 3);
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Represents the condition of an app.
|
|
174
|
+
*
|
|
175
|
+
* @generated from message flyteidl2.app.Condition
|
|
176
|
+
*/
|
|
177
|
+
export type Condition = Message<"flyteidl2.app.Condition"> & {
|
|
178
|
+
/**
|
|
179
|
+
* Last transition time of the condition.
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: google.protobuf.Timestamp last_transition_time = 1;
|
|
182
|
+
*/
|
|
183
|
+
lastTransitionTime?: Timestamp;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Deployment status of the app.
|
|
187
|
+
*
|
|
188
|
+
* @generated from field: flyteidl2.app.Status.DeploymentStatus deployment_status = 2;
|
|
189
|
+
*/
|
|
190
|
+
deploymentStatus: Status_DeploymentStatus;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Message for the condition.
|
|
194
|
+
*
|
|
195
|
+
* @generated from field: string message = 3;
|
|
196
|
+
*/
|
|
197
|
+
message: string;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Revision the Condition applies to. This can be used by consumers
|
|
201
|
+
* to introspect and visualize which revisions are up.
|
|
202
|
+
*
|
|
203
|
+
* @generated from field: uint64 revision = 4;
|
|
204
|
+
*/
|
|
205
|
+
revision: bigint;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Actor is the principal that caused the condition.
|
|
209
|
+
*
|
|
210
|
+
* @generated from field: flyteidl2.common.EnrichedIdentity actor = 5;
|
|
211
|
+
*/
|
|
212
|
+
actor?: EnrichedIdentity;
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Describes the message flyteidl2.app.Condition.
|
|
217
|
+
* Use `create(ConditionSchema)` to create a new message.
|
|
218
|
+
*/
|
|
219
|
+
export const ConditionSchema: GenMessage<Condition> = /*@__PURE__*/
|
|
220
|
+
messageDesc(file_flyteidl2_app_app_definition, 4);
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Represents the status of an app.
|
|
224
|
+
*
|
|
225
|
+
* @generated from message flyteidl2.app.Status
|
|
226
|
+
*/
|
|
227
|
+
export type Status = Message<"flyteidl2.app.Status"> & {
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: string assigned_cluster = 1;
|
|
230
|
+
*/
|
|
231
|
+
assignedCluster: string;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Current number of replicas.
|
|
235
|
+
*
|
|
236
|
+
* @generated from field: uint32 current_replicas = 2;
|
|
237
|
+
*/
|
|
238
|
+
currentReplicas: number;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* List of public URLs for the app.
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: flyteidl2.app.Ingress ingress = 3;
|
|
244
|
+
*/
|
|
245
|
+
ingress?: Ingress;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* CreatedAt is the time when the app was first created
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: google.protobuf.Timestamp created_at = 4;
|
|
251
|
+
*/
|
|
252
|
+
createdAt?: Timestamp;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* LastUpdatedAt is the time when the app was last updated
|
|
256
|
+
*
|
|
257
|
+
* @generated from field: google.protobuf.Timestamp last_updated_at = 5;
|
|
258
|
+
*/
|
|
259
|
+
lastUpdatedAt?: Timestamp;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Conditions for the app.
|
|
263
|
+
*
|
|
264
|
+
* @generated from field: repeated flyteidl2.app.Condition conditions = 6;
|
|
265
|
+
*/
|
|
266
|
+
conditions: Condition[];
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* LeaseExpiration refers to how long the app is leased to a cluster for it to start processing it. If the lease
|
|
270
|
+
* period expires, the cluster will no longer be allowed to update this app and another cluster can pick it up.
|
|
271
|
+
*
|
|
272
|
+
* @generated from field: google.protobuf.Timestamp lease_expiration = 7;
|
|
273
|
+
*/
|
|
274
|
+
leaseExpiration?: Timestamp;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* K8sMetadata contains metadata about the app in the K8s cluster.
|
|
278
|
+
*
|
|
279
|
+
* @generated from field: flyteidl2.app.K8sMetadata k8s_metadata = 8;
|
|
280
|
+
*/
|
|
281
|
+
k8sMetadata?: K8sMetadata;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* @generated from field: flyteidl2.app.MaterializedInputs materialized_inputs = 9;
|
|
285
|
+
*/
|
|
286
|
+
materializedInputs?: MaterializedInputs;
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Describes the message flyteidl2.app.Status.
|
|
291
|
+
* Use `create(StatusSchema)` to create a new message.
|
|
292
|
+
*/
|
|
293
|
+
export const StatusSchema: GenMessage<Status> = /*@__PURE__*/
|
|
294
|
+
messageDesc(file_flyteidl2_app_app_definition, 5);
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Enum for deployment status of the app.
|
|
298
|
+
*
|
|
299
|
+
* @generated from enum flyteidl2.app.Status.DeploymentStatus
|
|
300
|
+
*/
|
|
301
|
+
export enum Status_DeploymentStatus {
|
|
302
|
+
/**
|
|
303
|
+
* Unspecified deployment status.
|
|
304
|
+
*
|
|
305
|
+
* @generated from enum value: DEPLOYMENT_STATUS_UNSPECIFIED = 0;
|
|
306
|
+
*/
|
|
307
|
+
UNSPECIFIED = 0,
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Deployment is enabled but hasn't been assigned to a cluster yet.
|
|
311
|
+
*
|
|
312
|
+
* @generated from enum value: DEPLOYMENT_STATUS_UNASSIGNED = 1;
|
|
313
|
+
*/
|
|
314
|
+
UNASSIGNED = 1,
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Deployment is assigned to a cluster but hasn't been acknowledged yet.
|
|
318
|
+
*
|
|
319
|
+
* @generated from enum value: DEPLOYMENT_STATUS_ASSIGNED = 2;
|
|
320
|
+
*/
|
|
321
|
+
ASSIGNED = 2,
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Deployment is picked up by a cluster but is awaiting deployment.
|
|
325
|
+
*
|
|
326
|
+
* @generated from enum value: DEPLOYMENT_STATUS_PENDING = 3;
|
|
327
|
+
*/
|
|
328
|
+
PENDING = 3,
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Deployment is disabled.
|
|
332
|
+
*
|
|
333
|
+
* @generated from enum value: DEPLOYMENT_STATUS_STOPPED = 4;
|
|
334
|
+
*/
|
|
335
|
+
STOPPED = 4,
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Deployment is completed. Please use DEPLOYMENT_STATUS_ACTIVE instead.
|
|
339
|
+
*
|
|
340
|
+
* @generated from enum value: DEPLOYMENT_STATUS_STARTED = 5 [deprecated = true];
|
|
341
|
+
* @deprecated
|
|
342
|
+
*/
|
|
343
|
+
STARTED = 5,
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Deployment has failed.
|
|
347
|
+
*
|
|
348
|
+
* @generated from enum value: DEPLOYMENT_STATUS_FAILED = 6;
|
|
349
|
+
*/
|
|
350
|
+
FAILED = 6,
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* Deployment is completed.
|
|
354
|
+
*
|
|
355
|
+
* @generated from enum value: DEPLOYMENT_STATUS_ACTIVE = 7;
|
|
356
|
+
*/
|
|
357
|
+
ACTIVE = 7,
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Triggered in response to desired app replicas > actual app replicas
|
|
361
|
+
*
|
|
362
|
+
* @generated from enum value: DEPLOYMENT_STATUS_SCALING_UP = 8;
|
|
363
|
+
*/
|
|
364
|
+
SCALING_UP = 8,
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Triggered in response to desired app replicas < actual app replicas
|
|
368
|
+
*
|
|
369
|
+
* @generated from enum value: DEPLOYMENT_STATUS_SCALING_DOWN = 9;
|
|
370
|
+
*/
|
|
371
|
+
SCALING_DOWN = 9,
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Triggered in response to the latest app spec changing
|
|
375
|
+
*
|
|
376
|
+
* @generated from enum value: DEPLOYMENT_STATUS_DEPLOYING = 10;
|
|
377
|
+
*/
|
|
378
|
+
DEPLOYING = 10,
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Describes the enum flyteidl2.app.Status.DeploymentStatus.
|
|
383
|
+
*/
|
|
384
|
+
export const Status_DeploymentStatusSchema: GenEnum<Status_DeploymentStatus> = /*@__PURE__*/
|
|
385
|
+
enumDesc(file_flyteidl2_app_app_definition, 5, 0);
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* @generated from message flyteidl2.app.K8sMetadata
|
|
389
|
+
*/
|
|
390
|
+
export type K8sMetadata = Message<"flyteidl2.app.K8sMetadata"> & {
|
|
391
|
+
/**
|
|
392
|
+
* Namespace points to the namespace the app is deployed in.
|
|
393
|
+
*
|
|
394
|
+
* @generated from field: string namespace = 1;
|
|
395
|
+
*/
|
|
396
|
+
namespace: string;
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Describes the message flyteidl2.app.K8sMetadata.
|
|
401
|
+
* Use `create(K8sMetadataSchema)` to create a new message.
|
|
402
|
+
*/
|
|
403
|
+
export const K8sMetadataSchema: GenMessage<K8sMetadata> = /*@__PURE__*/
|
|
404
|
+
messageDesc(file_flyteidl2_app_app_definition, 6);
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* @generated from message flyteidl2.app.Ingress
|
|
408
|
+
*/
|
|
409
|
+
export type Ingress = Message<"flyteidl2.app.Ingress"> & {
|
|
410
|
+
/**
|
|
411
|
+
* Public URL of the app.
|
|
412
|
+
*
|
|
413
|
+
* @generated from field: string public_url = 1;
|
|
414
|
+
*/
|
|
415
|
+
publicUrl: string;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Canonical name (CNAME) URL of the app.
|
|
419
|
+
*
|
|
420
|
+
* @generated from field: string cname_url = 2;
|
|
421
|
+
*/
|
|
422
|
+
cnameUrl: string;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* VPC URL of the app.
|
|
426
|
+
*
|
|
427
|
+
* @generated from field: string vpc_url = 3;
|
|
428
|
+
*/
|
|
429
|
+
vpcUrl: string;
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Describes the message flyteidl2.app.Ingress.
|
|
434
|
+
* Use `create(IngressSchema)` to create a new message.
|
|
435
|
+
*/
|
|
436
|
+
export const IngressSchema: GenMessage<Ingress> = /*@__PURE__*/
|
|
437
|
+
messageDesc(file_flyteidl2_app_app_definition, 7);
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* Represents the specification of an app.
|
|
441
|
+
*
|
|
442
|
+
* @generated from message flyteidl2.app.Spec
|
|
443
|
+
*/
|
|
444
|
+
export type Spec = Message<"flyteidl2.app.Spec"> & {
|
|
445
|
+
/**
|
|
446
|
+
* Payload of the app, which can be either a container or a K8s pod.
|
|
447
|
+
*
|
|
448
|
+
* @generated from oneof flyteidl2.app.Spec.app_payload
|
|
449
|
+
*/
|
|
450
|
+
appPayload: {
|
|
451
|
+
/**
|
|
452
|
+
* Container payload.
|
|
453
|
+
*
|
|
454
|
+
* @generated from field: flyteidl2.core.Container container = 1;
|
|
455
|
+
*/
|
|
456
|
+
value: Container;
|
|
457
|
+
case: "container";
|
|
458
|
+
} | {
|
|
459
|
+
/**
|
|
460
|
+
* K8s pod payload.
|
|
461
|
+
*
|
|
462
|
+
* @generated from field: flyteidl2.core.K8sPod pod = 2;
|
|
463
|
+
*/
|
|
464
|
+
value: K8sPod;
|
|
465
|
+
case: "pod";
|
|
466
|
+
} | { case: undefined; value?: undefined };
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Autoscaling configuration for the app.
|
|
470
|
+
*
|
|
471
|
+
* @generated from field: flyteidl2.app.AutoscalingConfig autoscaling = 3;
|
|
472
|
+
*/
|
|
473
|
+
autoscaling?: AutoscalingConfig;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Ingress configuration for the app.
|
|
477
|
+
*
|
|
478
|
+
* @generated from field: flyteidl2.app.IngressConfig ingress = 4;
|
|
479
|
+
*/
|
|
480
|
+
ingress?: IngressConfig;
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Deployment status of the app.
|
|
484
|
+
*
|
|
485
|
+
* @generated from field: flyteidl2.app.Spec.DesiredState desired_state = 5;
|
|
486
|
+
*/
|
|
487
|
+
desiredState: Spec_DesiredState;
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* ClusterPool to place this app on. By default it'll use the default cluster pool.
|
|
491
|
+
*
|
|
492
|
+
* @generated from field: string cluster_pool = 6;
|
|
493
|
+
*/
|
|
494
|
+
clusterPool: string;
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Set of image specifications for the app.
|
|
498
|
+
*
|
|
499
|
+
* @generated from field: flyteidl2.app.ImageSpecSet images = 7;
|
|
500
|
+
*/
|
|
501
|
+
images?: ImageSpecSet;
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* security_context encapsulates security attributes requested to run this task.
|
|
505
|
+
*
|
|
506
|
+
* @generated from field: flyteidl2.app.SecurityContext security_context = 8;
|
|
507
|
+
*/
|
|
508
|
+
securityContext?: SecurityContext;
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Encapsulates all non-standard resources, not captured by
|
|
512
|
+
* v1.ResourceRequirements, to allocate to a task.
|
|
513
|
+
*
|
|
514
|
+
* @generated from field: flyteidl2.core.ExtendedResources extended_resources = 9;
|
|
515
|
+
*/
|
|
516
|
+
extendedResources?: ExtendedResources;
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Runtime metadata for the app.
|
|
520
|
+
*
|
|
521
|
+
* @generated from field: flyteidl2.common.RuntimeMetadata runtime_metadata = 10;
|
|
522
|
+
*/
|
|
523
|
+
runtimeMetadata?: RuntimeMetadata;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Profile of the app.
|
|
527
|
+
*
|
|
528
|
+
* @generated from field: flyteidl2.app.Profile profile = 11;
|
|
529
|
+
*/
|
|
530
|
+
profile?: Profile;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Creator of the app is the first principal that provisioned this app. Other principals may
|
|
534
|
+
* interact with the app by updating its spec or stopping/starting it.
|
|
535
|
+
*
|
|
536
|
+
* @generated from field: flyteidl2.common.EnrichedIdentity creator = 12;
|
|
537
|
+
*/
|
|
538
|
+
creator?: EnrichedIdentity;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Inputs of the app.
|
|
542
|
+
*
|
|
543
|
+
* @generated from field: flyteidl2.app.InputList inputs = 13;
|
|
544
|
+
*/
|
|
545
|
+
inputs?: InputList;
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* @generated from field: repeated flyteidl2.app.Link links = 14;
|
|
549
|
+
*/
|
|
550
|
+
links: Link[];
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Timeout configuration for the app.
|
|
554
|
+
*
|
|
555
|
+
* @generated from field: flyteidl2.app.TimeoutConfig timeouts = 15;
|
|
556
|
+
*/
|
|
557
|
+
timeouts?: TimeoutConfig;
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Describes the message flyteidl2.app.Spec.
|
|
562
|
+
* Use `create(SpecSchema)` to create a new message.
|
|
563
|
+
*/
|
|
564
|
+
export const SpecSchema: GenMessage<Spec> = /*@__PURE__*/
|
|
565
|
+
messageDesc(file_flyteidl2_app_app_definition, 8);
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Enum for deployment status of the app.
|
|
569
|
+
*
|
|
570
|
+
* @generated from enum flyteidl2.app.Spec.DesiredState
|
|
571
|
+
*/
|
|
572
|
+
export enum Spec_DesiredState {
|
|
573
|
+
/**
|
|
574
|
+
* Unspecified state
|
|
575
|
+
*
|
|
576
|
+
* @generated from enum value: DESIRED_STATE_UNSPECIFIED = 0;
|
|
577
|
+
*/
|
|
578
|
+
UNSPECIFIED = 0,
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Deployment is disabled.
|
|
582
|
+
*
|
|
583
|
+
* @generated from enum value: DESIRED_STATE_STOPPED = 1;
|
|
584
|
+
*/
|
|
585
|
+
STOPPED = 1,
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Deployment is completed. Please use DESIRED_STATE_ACTIVE instead.
|
|
589
|
+
*
|
|
590
|
+
* @generated from enum value: DESIRED_STATE_STARTED = 2 [deprecated = true];
|
|
591
|
+
* @deprecated
|
|
592
|
+
*/
|
|
593
|
+
STARTED = 2,
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* Deployment is completed.
|
|
597
|
+
*
|
|
598
|
+
* @generated from enum value: DESIRED_STATE_ACTIVE = 3;
|
|
599
|
+
*/
|
|
600
|
+
ACTIVE = 3,
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Describes the enum flyteidl2.app.Spec.DesiredState.
|
|
605
|
+
*/
|
|
606
|
+
export const Spec_DesiredStateSchema: GenEnum<Spec_DesiredState> = /*@__PURE__*/
|
|
607
|
+
enumDesc(file_flyteidl2_app_app_definition, 8, 0);
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Represents a link to an external resource (Arize project link, W&B dashboard, etc)
|
|
611
|
+
*
|
|
612
|
+
* @generated from message flyteidl2.app.Link
|
|
613
|
+
*/
|
|
614
|
+
export type Link = Message<"flyteidl2.app.Link"> & {
|
|
615
|
+
/**
|
|
616
|
+
* URL of the external service.
|
|
617
|
+
* This can be an absolute or relative path.
|
|
618
|
+
*
|
|
619
|
+
* @generated from field: string path = 1;
|
|
620
|
+
*/
|
|
621
|
+
path: string;
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* Human readable name of the external service.
|
|
625
|
+
*
|
|
626
|
+
* @generated from field: string title = 2;
|
|
627
|
+
*/
|
|
628
|
+
title: string;
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Whether the path is absolute (default) or relative.
|
|
632
|
+
*
|
|
633
|
+
* @generated from field: bool is_relative = 3;
|
|
634
|
+
*/
|
|
635
|
+
isRelative: boolean;
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Describes the message flyteidl2.app.Link.
|
|
640
|
+
* Use `create(LinkSchema)` to create a new message.
|
|
641
|
+
*/
|
|
642
|
+
export const LinkSchema: GenMessage<Link> = /*@__PURE__*/
|
|
643
|
+
messageDesc(file_flyteidl2_app_app_definition, 9);
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* @generated from message flyteidl2.app.Input
|
|
647
|
+
*/
|
|
648
|
+
export type Input = Message<"flyteidl2.app.Input"> & {
|
|
649
|
+
/**
|
|
650
|
+
* Name is a unique identifier of the input within the list of inputs of the app
|
|
651
|
+
*
|
|
652
|
+
* @generated from field: string name = 1;
|
|
653
|
+
*/
|
|
654
|
+
name: string;
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* @generated from oneof flyteidl2.app.Input.value
|
|
658
|
+
*/
|
|
659
|
+
value: {
|
|
660
|
+
/**
|
|
661
|
+
* StringValue is a plain string value for the input
|
|
662
|
+
*
|
|
663
|
+
* @generated from field: string string_value = 2;
|
|
664
|
+
*/
|
|
665
|
+
value: string;
|
|
666
|
+
case: "stringValue";
|
|
667
|
+
} | {
|
|
668
|
+
/**
|
|
669
|
+
* ArtifactQuery is that should result in a single artifact that will be used as the input to the app at runtime.
|
|
670
|
+
* The artifact will be pinned at the time of the app creation.
|
|
671
|
+
*
|
|
672
|
+
* @generated from field: flyteidl2.core.ArtifactQuery artifact_query = 3;
|
|
673
|
+
*/
|
|
674
|
+
value: ArtifactQuery;
|
|
675
|
+
case: "artifactQuery";
|
|
676
|
+
} | {
|
|
677
|
+
/**
|
|
678
|
+
* ArtifactId is an identifier of an artifact that will be used as the input to the app at runtime.
|
|
679
|
+
*
|
|
680
|
+
* @generated from field: flyteidl2.core.ArtifactID artifact_id = 4;
|
|
681
|
+
*/
|
|
682
|
+
value: ArtifactID;
|
|
683
|
+
case: "artifactId";
|
|
684
|
+
} | {
|
|
685
|
+
/**
|
|
686
|
+
* ID of the app.
|
|
687
|
+
*
|
|
688
|
+
* @generated from field: flyteidl2.app.Identifier app_id = 5;
|
|
689
|
+
*/
|
|
690
|
+
value: Identifier;
|
|
691
|
+
case: "appId";
|
|
692
|
+
} | { case: undefined; value?: undefined };
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Describes the message flyteidl2.app.Input.
|
|
697
|
+
* Use `create(InputSchema)` to create a new message.
|
|
698
|
+
*/
|
|
699
|
+
export const InputSchema: GenMessage<Input> = /*@__PURE__*/
|
|
700
|
+
messageDesc(file_flyteidl2_app_app_definition, 10);
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* @generated from message flyteidl2.app.MaterializedInputs
|
|
704
|
+
*/
|
|
705
|
+
export type MaterializedInputs = Message<"flyteidl2.app.MaterializedInputs"> & {
|
|
706
|
+
/**
|
|
707
|
+
* @generated from field: repeated flyteidl2.app.MaterializedInput items = 1;
|
|
708
|
+
*/
|
|
709
|
+
items: MaterializedInput[];
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Revision of the app object that we materialized the input for.
|
|
713
|
+
*
|
|
714
|
+
* @generated from field: uint64 revision = 2;
|
|
715
|
+
*/
|
|
716
|
+
revision: bigint;
|
|
717
|
+
};
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* Describes the message flyteidl2.app.MaterializedInputs.
|
|
721
|
+
* Use `create(MaterializedInputsSchema)` to create a new message.
|
|
722
|
+
*/
|
|
723
|
+
export const MaterializedInputsSchema: GenMessage<MaterializedInputs> = /*@__PURE__*/
|
|
724
|
+
messageDesc(file_flyteidl2_app_app_definition, 11);
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* @generated from message flyteidl2.app.MaterializedInput
|
|
728
|
+
*/
|
|
729
|
+
export type MaterializedInput = Message<"flyteidl2.app.MaterializedInput"> & {
|
|
730
|
+
/**
|
|
731
|
+
* Name is a unique identifier of the input within the list of inputs of the app
|
|
732
|
+
*
|
|
733
|
+
* @generated from field: string name = 1;
|
|
734
|
+
*/
|
|
735
|
+
name: string;
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* @generated from oneof flyteidl2.app.MaterializedInput.value
|
|
739
|
+
*/
|
|
740
|
+
value: {
|
|
741
|
+
/**
|
|
742
|
+
* ArtifactId is an identifier of an artifact that will be used as the input to the app at runtime.
|
|
743
|
+
*
|
|
744
|
+
* @generated from field: flyteidl2.core.ArtifactID artifact_id = 2;
|
|
745
|
+
*/
|
|
746
|
+
value: ArtifactID;
|
|
747
|
+
case: "artifactId";
|
|
748
|
+
} | { case: undefined; value?: undefined };
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Describes the message flyteidl2.app.MaterializedInput.
|
|
753
|
+
* Use `create(MaterializedInputSchema)` to create a new message.
|
|
754
|
+
*/
|
|
755
|
+
export const MaterializedInputSchema: GenMessage<MaterializedInput> = /*@__PURE__*/
|
|
756
|
+
messageDesc(file_flyteidl2_app_app_definition, 12);
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* InputList is a list of dependencies for the app.
|
|
760
|
+
*
|
|
761
|
+
* @generated from message flyteidl2.app.InputList
|
|
762
|
+
*/
|
|
763
|
+
export type InputList = Message<"flyteidl2.app.InputList"> & {
|
|
764
|
+
/**
|
|
765
|
+
* Items is the list of inputs to fulfil for the app.
|
|
766
|
+
*
|
|
767
|
+
* @generated from field: repeated flyteidl2.app.Input items = 1;
|
|
768
|
+
*/
|
|
769
|
+
items: Input[];
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* Describes the message flyteidl2.app.InputList.
|
|
774
|
+
* Use `create(InputListSchema)` to create a new message.
|
|
775
|
+
*/
|
|
776
|
+
export const InputListSchema: GenMessage<InputList> = /*@__PURE__*/
|
|
777
|
+
messageDesc(file_flyteidl2_app_app_definition, 13);
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* @generated from message flyteidl2.app.Profile
|
|
781
|
+
*/
|
|
782
|
+
export type Profile = Message<"flyteidl2.app.Profile"> & {
|
|
783
|
+
/**
|
|
784
|
+
* App Type (e.g. FastAPI, Flask, VLLM, NIM etc.)
|
|
785
|
+
*
|
|
786
|
+
* @generated from field: string type = 1;
|
|
787
|
+
*/
|
|
788
|
+
type: string;
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* Friendly name of the app.
|
|
792
|
+
*
|
|
793
|
+
* @generated from field: string name = 2;
|
|
794
|
+
*/
|
|
795
|
+
name: string;
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Short description of the app.
|
|
799
|
+
*
|
|
800
|
+
* @generated from field: string short_description = 3;
|
|
801
|
+
*/
|
|
802
|
+
shortDescription: string;
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Icon URL of the app.
|
|
806
|
+
*
|
|
807
|
+
* @generated from field: string icon_url = 4;
|
|
808
|
+
*/
|
|
809
|
+
iconUrl: string;
|
|
810
|
+
};
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* Describes the message flyteidl2.app.Profile.
|
|
814
|
+
* Use `create(ProfileSchema)` to create a new message.
|
|
815
|
+
*/
|
|
816
|
+
export const ProfileSchema: GenMessage<Profile> = /*@__PURE__*/
|
|
817
|
+
messageDesc(file_flyteidl2_app_app_definition, 14);
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* SecurityContext holds security attributes that apply to tasks.
|
|
821
|
+
*
|
|
822
|
+
* @generated from message flyteidl2.app.SecurityContext
|
|
823
|
+
*/
|
|
824
|
+
export type SecurityContext = Message<"flyteidl2.app.SecurityContext"> & {
|
|
825
|
+
/**
|
|
826
|
+
* run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the
|
|
827
|
+
* backend plugin to choose the appropriate identity for the execution engine the task will run on.
|
|
828
|
+
*
|
|
829
|
+
* @generated from field: flyteidl2.core.Identity run_as = 1;
|
|
830
|
+
*/
|
|
831
|
+
runAs?: Identity;
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the
|
|
835
|
+
* pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS
|
|
836
|
+
* Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access
|
|
837
|
+
* to the secret) and to pass it to the remote execution engine.
|
|
838
|
+
*
|
|
839
|
+
* @generated from field: repeated flyteidl2.core.Secret secrets = 2;
|
|
840
|
+
*/
|
|
841
|
+
secrets: Secret[];
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* AllowAnonymous indicates if the app should be accessible without authentication. This assumes the app will handle
|
|
845
|
+
* its own authentication or that it's a public app.
|
|
846
|
+
*
|
|
847
|
+
* @generated from field: bool allow_anonymous = 5;
|
|
848
|
+
*/
|
|
849
|
+
allowAnonymous: boolean;
|
|
850
|
+
};
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Describes the message flyteidl2.app.SecurityContext.
|
|
854
|
+
* Use `create(SecurityContextSchema)` to create a new message.
|
|
855
|
+
*/
|
|
856
|
+
export const SecurityContextSchema: GenMessage<SecurityContext> = /*@__PURE__*/
|
|
857
|
+
messageDesc(file_flyteidl2_app_app_definition, 15);
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* @generated from message flyteidl2.app.ImageSpec
|
|
861
|
+
*/
|
|
862
|
+
export type ImageSpec = Message<"flyteidl2.app.ImageSpec"> & {
|
|
863
|
+
/**
|
|
864
|
+
* Tag of the image.
|
|
865
|
+
*
|
|
866
|
+
* @generated from field: string tag = 1;
|
|
867
|
+
*/
|
|
868
|
+
tag: string;
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* URL of the build job for the image.
|
|
872
|
+
*
|
|
873
|
+
* @generated from field: string build_job_url = 2;
|
|
874
|
+
*/
|
|
875
|
+
buildJobUrl: string;
|
|
876
|
+
};
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* Describes the message flyteidl2.app.ImageSpec.
|
|
880
|
+
* Use `create(ImageSpecSchema)` to create a new message.
|
|
881
|
+
*/
|
|
882
|
+
export const ImageSpecSchema: GenMessage<ImageSpec> = /*@__PURE__*/
|
|
883
|
+
messageDesc(file_flyteidl2_app_app_definition, 16);
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* @generated from message flyteidl2.app.ImageSpecSet
|
|
887
|
+
*/
|
|
888
|
+
export type ImageSpecSet = Message<"flyteidl2.app.ImageSpecSet"> & {
|
|
889
|
+
/**
|
|
890
|
+
* List of image specifications.
|
|
891
|
+
*
|
|
892
|
+
* @generated from field: repeated flyteidl2.app.ImageSpec images = 1;
|
|
893
|
+
*/
|
|
894
|
+
images: ImageSpec[];
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* Describes the message flyteidl2.app.ImageSpecSet.
|
|
899
|
+
* Use `create(ImageSpecSetSchema)` to create a new message.
|
|
900
|
+
*/
|
|
901
|
+
export const ImageSpecSetSchema: GenMessage<ImageSpecSet> = /*@__PURE__*/
|
|
902
|
+
messageDesc(file_flyteidl2_app_app_definition, 17);
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* Represents the ingress configuration of an app.
|
|
906
|
+
*
|
|
907
|
+
* @generated from message flyteidl2.app.IngressConfig
|
|
908
|
+
*/
|
|
909
|
+
export type IngressConfig = Message<"flyteidl2.app.IngressConfig"> & {
|
|
910
|
+
/**
|
|
911
|
+
* Indicates if the app should be private.
|
|
912
|
+
*
|
|
913
|
+
* @generated from field: bool private = 1;
|
|
914
|
+
*/
|
|
915
|
+
private: boolean;
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* Subdomain for the app. If not specified, a random subdomain will be generated.
|
|
919
|
+
*
|
|
920
|
+
* @generated from field: string subdomain = 2;
|
|
921
|
+
*/
|
|
922
|
+
subdomain: string;
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* Canonical name (CNAME) for the app.
|
|
926
|
+
*
|
|
927
|
+
* @generated from field: string cname = 3;
|
|
928
|
+
*/
|
|
929
|
+
cname: string;
|
|
930
|
+
};
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* Describes the message flyteidl2.app.IngressConfig.
|
|
934
|
+
* Use `create(IngressConfigSchema)` to create a new message.
|
|
935
|
+
*/
|
|
936
|
+
export const IngressConfigSchema: GenMessage<IngressConfig> = /*@__PURE__*/
|
|
937
|
+
messageDesc(file_flyteidl2_app_app_definition, 18);
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* Represents the autoscaling configuration of an app.
|
|
941
|
+
*
|
|
942
|
+
* @generated from message flyteidl2.app.AutoscalingConfig
|
|
943
|
+
*/
|
|
944
|
+
export type AutoscalingConfig = Message<"flyteidl2.app.AutoscalingConfig"> & {
|
|
945
|
+
/**
|
|
946
|
+
* Configuration for the number of replicas.
|
|
947
|
+
*
|
|
948
|
+
* @generated from field: flyteidl2.app.Replicas replicas = 1;
|
|
949
|
+
*/
|
|
950
|
+
replicas?: Replicas;
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* The period for scaling down the object.
|
|
954
|
+
*
|
|
955
|
+
* @generated from field: google.protobuf.Duration scaledown_period = 2;
|
|
956
|
+
*/
|
|
957
|
+
scaledownPeriod?: Duration;
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* Metric for scaling the app.
|
|
961
|
+
*
|
|
962
|
+
* @generated from field: flyteidl2.app.ScalingMetric scaling_metric = 3;
|
|
963
|
+
*/
|
|
964
|
+
scalingMetric?: ScalingMetric;
|
|
965
|
+
};
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* Describes the message flyteidl2.app.AutoscalingConfig.
|
|
969
|
+
* Use `create(AutoscalingConfigSchema)` to create a new message.
|
|
970
|
+
*/
|
|
971
|
+
export const AutoscalingConfigSchema: GenMessage<AutoscalingConfig> = /*@__PURE__*/
|
|
972
|
+
messageDesc(file_flyteidl2_app_app_definition, 19);
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* ScalingMetric allows different scaling strategies for the app.
|
|
976
|
+
* See: https://knative.dev/docs/serving/autoscaling/autoscaling-metrics/
|
|
977
|
+
*
|
|
978
|
+
* @generated from message flyteidl2.app.ScalingMetric
|
|
979
|
+
*/
|
|
980
|
+
export type ScalingMetric = Message<"flyteidl2.app.ScalingMetric"> & {
|
|
981
|
+
/**
|
|
982
|
+
* @generated from oneof flyteidl2.app.ScalingMetric.metric
|
|
983
|
+
*/
|
|
984
|
+
metric: {
|
|
985
|
+
/**
|
|
986
|
+
* Configuration for scaling based on request rate.
|
|
987
|
+
*
|
|
988
|
+
* @generated from field: flyteidl2.app.RequestRate request_rate = 1;
|
|
989
|
+
*/
|
|
990
|
+
value: RequestRate;
|
|
991
|
+
case: "requestRate";
|
|
992
|
+
} | {
|
|
993
|
+
/**
|
|
994
|
+
* Configuration for scaling based on concurrency.
|
|
995
|
+
*
|
|
996
|
+
* @generated from field: flyteidl2.app.Concurrency concurrency = 2;
|
|
997
|
+
*/
|
|
998
|
+
value: Concurrency;
|
|
999
|
+
case: "concurrency";
|
|
1000
|
+
} | { case: undefined; value?: undefined };
|
|
1001
|
+
};
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* Describes the message flyteidl2.app.ScalingMetric.
|
|
1005
|
+
* Use `create(ScalingMetricSchema)` to create a new message.
|
|
1006
|
+
*/
|
|
1007
|
+
export const ScalingMetricSchema: GenMessage<ScalingMetric> = /*@__PURE__*/
|
|
1008
|
+
messageDesc(file_flyteidl2_app_app_definition, 20);
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* This section enables scaling based on the request concurrency. Concurrency calculates how many
|
|
1012
|
+
* requests are being processed at the same time. This is useful for apps that take longer to process
|
|
1013
|
+
* requests (e.g. seconds)
|
|
1014
|
+
* The autoscaler has a default window of 60 seconds to calculate the concurrency value. However, it has
|
|
1015
|
+
* panic mode that kicks in if the request rate jumps to 2x its value within 6 seconds. If that's
|
|
1016
|
+
* triggered, it'll start scaling up immediately instead of waiting for the full 60 seconds.
|
|
1017
|
+
*
|
|
1018
|
+
* @generated from message flyteidl2.app.Concurrency
|
|
1019
|
+
*/
|
|
1020
|
+
export type Concurrency = Message<"flyteidl2.app.Concurrency"> & {
|
|
1021
|
+
/**
|
|
1022
|
+
* This is the target value for the scaling configuration.
|
|
1023
|
+
* default=100
|
|
1024
|
+
*
|
|
1025
|
+
* @generated from field: uint32 target_value = 1;
|
|
1026
|
+
*/
|
|
1027
|
+
targetValue: number;
|
|
1028
|
+
};
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Describes the message flyteidl2.app.Concurrency.
|
|
1032
|
+
* Use `create(ConcurrencySchema)` to create a new message.
|
|
1033
|
+
*/
|
|
1034
|
+
export const ConcurrencySchema: GenMessage<Concurrency> = /*@__PURE__*/
|
|
1035
|
+
messageDesc(file_flyteidl2_app_app_definition, 21);
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* RequestRate enables scaling based on the request rate. Request rate calculates how many requests
|
|
1039
|
+
* the app is receiving per second.
|
|
1040
|
+
* The autoscaler has a default window of 60 seconds to calculate the request rate. However, it has
|
|
1041
|
+
* panic mode that kicks in if the request rate jumps to 2x its value within 6 seconds. If that's
|
|
1042
|
+
* triggered, it'll start scaling up immediately instead of waiting for the full 60 seconds.
|
|
1043
|
+
*
|
|
1044
|
+
* @generated from message flyteidl2.app.RequestRate
|
|
1045
|
+
*/
|
|
1046
|
+
export type RequestRate = Message<"flyteidl2.app.RequestRate"> & {
|
|
1047
|
+
/**
|
|
1048
|
+
* This is the target value for the scaling configuration.
|
|
1049
|
+
* default=100
|
|
1050
|
+
*
|
|
1051
|
+
* @generated from field: uint32 target_value = 1;
|
|
1052
|
+
*/
|
|
1053
|
+
targetValue: number;
|
|
1054
|
+
};
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* Describes the message flyteidl2.app.RequestRate.
|
|
1058
|
+
* Use `create(RequestRateSchema)` to create a new message.
|
|
1059
|
+
*/
|
|
1060
|
+
export const RequestRateSchema: GenMessage<RequestRate> = /*@__PURE__*/
|
|
1061
|
+
messageDesc(file_flyteidl2_app_app_definition, 22);
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* Represents the configuration for the number of replicas.
|
|
1065
|
+
*
|
|
1066
|
+
* @generated from message flyteidl2.app.Replicas
|
|
1067
|
+
*/
|
|
1068
|
+
export type Replicas = Message<"flyteidl2.app.Replicas"> & {
|
|
1069
|
+
/**
|
|
1070
|
+
* Minimum number of replicas.
|
|
1071
|
+
*
|
|
1072
|
+
* @generated from field: uint32 min = 1;
|
|
1073
|
+
*/
|
|
1074
|
+
min: number;
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* Maximum number of replicas.
|
|
1078
|
+
*
|
|
1079
|
+
* @generated from field: uint32 max = 2;
|
|
1080
|
+
*/
|
|
1081
|
+
max: number;
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* Describes the message flyteidl2.app.Replicas.
|
|
1086
|
+
* Use `create(ReplicasSchema)` to create a new message.
|
|
1087
|
+
*/
|
|
1088
|
+
export const ReplicasSchema: GenMessage<Replicas> = /*@__PURE__*/
|
|
1089
|
+
messageDesc(file_flyteidl2_app_app_definition, 23);
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* @generated from message flyteidl2.app.TimeoutConfig
|
|
1093
|
+
*/
|
|
1094
|
+
export type TimeoutConfig = Message<"flyteidl2.app.TimeoutConfig"> & {
|
|
1095
|
+
/**
|
|
1096
|
+
* This is the maximum duration that the request instance
|
|
1097
|
+
* is allowed to respond to a request. If unspecified, a system default will
|
|
1098
|
+
* be provided.
|
|
1099
|
+
* default=300s
|
|
1100
|
+
*
|
|
1101
|
+
* @generated from field: google.protobuf.Duration request_timeout = 1;
|
|
1102
|
+
*/
|
|
1103
|
+
requestTimeout?: Duration;
|
|
1104
|
+
};
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* Describes the message flyteidl2.app.TimeoutConfig.
|
|
1108
|
+
* Use `create(TimeoutConfigSchema)` to create a new message.
|
|
1109
|
+
*/
|
|
1110
|
+
export const TimeoutConfigSchema: GenMessage<TimeoutConfig> = /*@__PURE__*/
|
|
1111
|
+
messageDesc(file_flyteidl2_app_app_definition, 24);
|
|
1112
|
+
|