@flyteorg/flyteidl2 2.0.0-alpha9 → 2.0.1
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/buf/validate/validate_pb.ts +4754 -0
- 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/auth/auth_service_pb.ts +220 -0
- package/flyteidl2/auth/identity_pb.ts +118 -0
- package/flyteidl2/cacheservice/cacheservice_pb.ts +506 -0
- package/flyteidl2/cacheservice/v2/cacheservice_pb.ts +249 -0
- package/flyteidl2/common/configuration_pb.ts +68 -0
- package/flyteidl2/common/phase_pb.ts +92 -0
- package/flyteidl2/connector/connector_pb.ts +722 -0
- package/flyteidl2/connector/service_pb.ts +109 -0
- package/flyteidl2/core/errors_pb.ts +104 -0
- package/flyteidl2/core/execution_pb.ts +6 -1
- package/flyteidl2/core/metrics_pb.ts +47 -0
- package/flyteidl2/core/security_pb.ts +42 -6
- package/flyteidl2/core/tasks_pb.ts +17 -1
- package/flyteidl2/dataproxy/dataproxy_service_pb.ts +177 -0
- package/flyteidl2/event/cloudevents_pb.ts +217 -0
- package/flyteidl2/event/event_pb.ts +818 -0
- package/flyteidl2/imagebuilder/definition_pb.ts +45 -3
- package/flyteidl2/imagebuilder/payload_pb.ts +15 -2
- package/flyteidl2/plugins/common_pb.ts +82 -0
- package/flyteidl2/plugins/dask_pb.ts +109 -0
- package/flyteidl2/plugins/kubeflow/common_pb.ts +81 -0
- package/flyteidl2/plugins/kubeflow/mpi_pb.ts +125 -0
- package/flyteidl2/plugins/kubeflow/pytorch_pb.ts +156 -0
- package/flyteidl2/plugins/kubeflow/tensorflow_pb.ts +123 -0
- package/flyteidl2/plugins/mpi_pb.ts +52 -0
- package/flyteidl2/plugins/presto_pb.ts +49 -0
- package/flyteidl2/plugins/pytorch_pb.ts +82 -0
- package/flyteidl2/plugins/qubole_pb.ts +98 -0
- package/flyteidl2/plugins/ray_pb.ts +189 -0
- package/flyteidl2/plugins/spark_pb.ts +145 -0
- package/flyteidl2/plugins/tensorflow_pb.ts +57 -0
- package/flyteidl2/project/project_service_pb.ts +405 -0
- package/flyteidl2/task/common_pb.ts +71 -41
- package/flyteidl2/task/environment_pb.ts +8 -1
- package/flyteidl2/task/run_pb.ts +116 -5
- package/flyteidl2/task/task_definition_pb.ts +184 -12
- package/flyteidl2/task/task_service_pb.ts +127 -2
- package/flyteidl2/trigger/trigger_definition_pb.ts +22 -1
- package/flyteidl2/trigger/trigger_service_pb.ts +1 -1
- package/flyteidl2/workflow/run_definition_pb.ts +198 -41
- package/flyteidl2/workflow/run_service_pb.ts +140 -4
- package/flyteidl2/workflow/state_service_pb.ts +7 -7
- package/flyteidl2/workflow/translator_service_pb.ts +54 -1
- package/google/api/annotations_pb.ts +39 -0
- package/google/api/http_pb.ts +478 -0
- package/google/rpc/status_pb.ts +74 -0
- package/package.json +11 -3
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/plugins/ray.proto (package flyteidl2.plugins, 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 type { K8sPod } from "../core/tasks_pb.ts";
|
|
8
|
+
import { file_flyteidl2_core_tasks } from "../core/tasks_pb.ts";
|
|
9
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file flyteidl2/plugins/ray.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_flyteidl2_plugins_ray: GenFile = /*@__PURE__*/
|
|
15
|
+
fileDesc("ChtmbHl0ZWlkbDIvcGx1Z2lucy9yYXkucHJvdG8SEWZseXRlaWRsMi5wbHVnaW5zIrgBCgZSYXlKb2ISMgoLcmF5X2NsdXN0ZXIYASABKAsyHS5mbHl0ZWlkbDIucGx1Z2lucy5SYXlDbHVzdGVyEhcKC3J1bnRpbWVfZW52GAIgASgJQgIYARIjChtzaHV0ZG93bl9hZnRlcl9qb2JfZmluaXNoZXMYAyABKAgSIgoadHRsX3NlY29uZHNfYWZ0ZXJfZmluaXNoZWQYBCABKAUSGAoQcnVudGltZV9lbnZfeWFtbBgFIAEoCSKiAQoKUmF5Q2x1c3RlchI5Cg9oZWFkX2dyb3VwX3NwZWMYASABKAsyIC5mbHl0ZWlkbDIucGx1Z2lucy5IZWFkR3JvdXBTcGVjEj0KEXdvcmtlcl9ncm91cF9zcGVjGAIgAygLMiIuZmx5dGVpZGwyLnBsdWdpbnMuV29ya2VyR3JvdXBTcGVjEhoKEmVuYWJsZV9hdXRvc2NhbGluZxgDIAEoCCK/AQoNSGVhZEdyb3VwU3BlYxJOChByYXlfc3RhcnRfcGFyYW1zGAEgAygLMjQuZmx5dGVpZGwyLnBsdWdpbnMuSGVhZEdyb3VwU3BlYy5SYXlTdGFydFBhcmFtc0VudHJ5EicKB2s4c19wb2QYAiABKAsyFi5mbHl0ZWlkbDIuY29yZS5LOHNQb2QaNQoTUmF5U3RhcnRQYXJhbXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIpUCCg9Xb3JrZXJHcm91cFNwZWMSEgoKZ3JvdXBfbmFtZRgBIAEoCRIQCghyZXBsaWNhcxgCIAEoBRIUCgxtaW5fcmVwbGljYXMYAyABKAUSFAoMbWF4X3JlcGxpY2FzGAQgASgFElAKEHJheV9zdGFydF9wYXJhbXMYBSADKAsyNi5mbHl0ZWlkbDIucGx1Z2lucy5Xb3JrZXJHcm91cFNwZWMuUmF5U3RhcnRQYXJhbXNFbnRyeRInCgdrOHNfcG9kGAYgASgLMhYuZmx5dGVpZGwyLmNvcmUuSzhzUG9kGjUKE1JheVN0YXJ0UGFyYW1zRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUK/AQoVY29tLmZseXRlaWRsMi5wbHVnaW5zQghSYXlQcm90b0gCUAFaNWdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9wbHVnaW5zogIDRlBYqgIRRmx5dGVpZGwyLlBsdWdpbnPKAhFGbHl0ZWlkbDJcUGx1Z2luc+ICHUZseXRlaWRsMlxQbHVnaW5zXEdQQk1ldGFkYXRh6gISRmx5dGVpZGwyOjpQbHVnaW5zYgZwcm90bzM", [file_flyteidl2_core_tasks]);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* RayJobSpec defines the desired state of RayJob
|
|
19
|
+
*
|
|
20
|
+
* @generated from message flyteidl2.plugins.RayJob
|
|
21
|
+
*/
|
|
22
|
+
export type RayJob = Message<"flyteidl2.plugins.RayJob"> & {
|
|
23
|
+
/**
|
|
24
|
+
* RayClusterSpec is the cluster template to run the job
|
|
25
|
+
*
|
|
26
|
+
* @generated from field: flyteidl2.plugins.RayCluster ray_cluster = 1;
|
|
27
|
+
*/
|
|
28
|
+
rayCluster?: RayCluster;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* runtime_env is base64 encoded.
|
|
32
|
+
* Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: string runtime_env = 2 [deprecated = true];
|
|
35
|
+
* @deprecated
|
|
36
|
+
*/
|
|
37
|
+
runtimeEnv: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* shutdown_after_job_finishes specifies whether the RayCluster should be deleted after the RayJob finishes.
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: bool shutdown_after_job_finishes = 3;
|
|
43
|
+
*/
|
|
44
|
+
shutdownAfterJobFinishes: boolean;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* ttl_seconds_after_finished specifies the number of seconds after which the RayCluster will be deleted after the RayJob finishes.
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: int32 ttl_seconds_after_finished = 4;
|
|
50
|
+
*/
|
|
51
|
+
ttlSecondsAfterFinished: number;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* RuntimeEnvYAML represents the runtime environment configuration
|
|
55
|
+
* provided as a multi-line YAML string.
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: string runtime_env_yaml = 5;
|
|
58
|
+
*/
|
|
59
|
+
runtimeEnvYaml: string;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message flyteidl2.plugins.RayJob.
|
|
64
|
+
* Use `create(RayJobSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const RayJobSchema: GenMessage<RayJob> = /*@__PURE__*/
|
|
67
|
+
messageDesc(file_flyteidl2_plugins_ray, 0);
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Define Ray cluster defines the desired state of RayCluster
|
|
71
|
+
*
|
|
72
|
+
* @generated from message flyteidl2.plugins.RayCluster
|
|
73
|
+
*/
|
|
74
|
+
export type RayCluster = Message<"flyteidl2.plugins.RayCluster"> & {
|
|
75
|
+
/**
|
|
76
|
+
* HeadGroupSpecs are the spec for the head pod
|
|
77
|
+
*
|
|
78
|
+
* @generated from field: flyteidl2.plugins.HeadGroupSpec head_group_spec = 1;
|
|
79
|
+
*/
|
|
80
|
+
headGroupSpec?: HeadGroupSpec;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* WorkerGroupSpecs are the specs for the worker pods
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: repeated flyteidl2.plugins.WorkerGroupSpec worker_group_spec = 2;
|
|
86
|
+
*/
|
|
87
|
+
workerGroupSpec: WorkerGroupSpec[];
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Whether to enable autoscaling.
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: bool enable_autoscaling = 3;
|
|
93
|
+
*/
|
|
94
|
+
enableAutoscaling: boolean;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Describes the message flyteidl2.plugins.RayCluster.
|
|
99
|
+
* Use `create(RayClusterSchema)` to create a new message.
|
|
100
|
+
*/
|
|
101
|
+
export const RayClusterSchema: GenMessage<RayCluster> = /*@__PURE__*/
|
|
102
|
+
messageDesc(file_flyteidl2_plugins_ray, 1);
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* HeadGroupSpec are the spec for the head pod
|
|
106
|
+
*
|
|
107
|
+
* @generated from message flyteidl2.plugins.HeadGroupSpec
|
|
108
|
+
*/
|
|
109
|
+
export type HeadGroupSpec = Message<"flyteidl2.plugins.HeadGroupSpec"> & {
|
|
110
|
+
/**
|
|
111
|
+
* Optional. RayStartParams are the params of the start command: address, object-store-memory.
|
|
112
|
+
* Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: map<string, string> ray_start_params = 1;
|
|
115
|
+
*/
|
|
116
|
+
rayStartParams: { [key: string]: string };
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Pod Spec for the ray head pod
|
|
120
|
+
*
|
|
121
|
+
* @generated from field: flyteidl2.core.K8sPod k8s_pod = 2;
|
|
122
|
+
*/
|
|
123
|
+
k8sPod?: K8sPod;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Describes the message flyteidl2.plugins.HeadGroupSpec.
|
|
128
|
+
* Use `create(HeadGroupSpecSchema)` to create a new message.
|
|
129
|
+
*/
|
|
130
|
+
export const HeadGroupSpecSchema: GenMessage<HeadGroupSpec> = /*@__PURE__*/
|
|
131
|
+
messageDesc(file_flyteidl2_plugins_ray, 2);
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* WorkerGroupSpec are the specs for the worker pods
|
|
135
|
+
*
|
|
136
|
+
* @generated from message flyteidl2.plugins.WorkerGroupSpec
|
|
137
|
+
*/
|
|
138
|
+
export type WorkerGroupSpec = Message<"flyteidl2.plugins.WorkerGroupSpec"> & {
|
|
139
|
+
/**
|
|
140
|
+
* Required. RayCluster can have multiple worker groups, and it distinguishes them by name
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: string group_name = 1;
|
|
143
|
+
*/
|
|
144
|
+
groupName: string;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Required. Desired replicas of the worker group. Defaults to 1.
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: int32 replicas = 2;
|
|
150
|
+
*/
|
|
151
|
+
replicas: number;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Optional. Min replicas of the worker group. MinReplicas defaults to 1.
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: int32 min_replicas = 3;
|
|
157
|
+
*/
|
|
158
|
+
minReplicas: number;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Optional. Max replicas of the worker group. MaxReplicas defaults to maxInt32
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: int32 max_replicas = 4;
|
|
164
|
+
*/
|
|
165
|
+
maxReplicas: number;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Optional. RayStartParams are the params of the start command: address, object-store-memory.
|
|
169
|
+
* Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: map<string, string> ray_start_params = 5;
|
|
172
|
+
*/
|
|
173
|
+
rayStartParams: { [key: string]: string };
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Pod Spec for ray worker pods
|
|
177
|
+
*
|
|
178
|
+
* @generated from field: flyteidl2.core.K8sPod k8s_pod = 6;
|
|
179
|
+
*/
|
|
180
|
+
k8sPod?: K8sPod;
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Describes the message flyteidl2.plugins.WorkerGroupSpec.
|
|
185
|
+
* Use `create(WorkerGroupSpecSchema)` to create a new message.
|
|
186
|
+
*/
|
|
187
|
+
export const WorkerGroupSpecSchema: GenMessage<WorkerGroupSpec> = /*@__PURE__*/
|
|
188
|
+
messageDesc(file_flyteidl2_plugins_ray, 3);
|
|
189
|
+
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/plugins/spark.proto (package flyteidl2.plugins, 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 type { K8sPod } from "../core/tasks_pb.ts";
|
|
8
|
+
import { file_flyteidl2_core_tasks } from "../core/tasks_pb.ts";
|
|
9
|
+
import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file flyteidl2/plugins/spark.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_flyteidl2_plugins_spark: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("Ch1mbHl0ZWlkbDIvcGx1Z2lucy9zcGFyay5wcm90bxIRZmx5dGVpZGwyLnBsdWdpbnMiQgoQU3BhcmtBcHBsaWNhdGlvbiIuCgRUeXBlEgoKBlBZVEhPThAAEggKBEpBVkEQARIJCgVTQ0FMQRACEgUKAVIQAyK2BAoIU3BhcmtKb2ISQQoPYXBwbGljYXRpb25UeXBlGAEgASgOMiguZmx5dGVpZGwyLnBsdWdpbnMuU3BhcmtBcHBsaWNhdGlvbi5UeXBlEhsKE21haW5BcHBsaWNhdGlvbkZpbGUYAiABKAkSEQoJbWFpbkNsYXNzGAMgASgJEj0KCXNwYXJrQ29uZhgEIAMoCzIqLmZseXRlaWRsMi5wbHVnaW5zLlNwYXJrSm9iLlNwYXJrQ29uZkVudHJ5Ej8KCmhhZG9vcENvbmYYBSADKAsyKy5mbHl0ZWlkbDIucGx1Z2lucy5TcGFya0pvYi5IYWRvb3BDb25mRW50cnkSFAoMZXhlY3V0b3JQYXRoGAYgASgJEi8KDmRhdGFicmlja3NDb25mGAcgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBIXCg9kYXRhYnJpY2tzVG9rZW4YCCABKAkSGgoSZGF0YWJyaWNrc0luc3RhbmNlGAkgASgJEikKCWRyaXZlclBvZBgKIAEoCzIWLmZseXRlaWRsMi5jb3JlLks4c1BvZBIrCgtleGVjdXRvclBvZBgLIAEoCzIWLmZseXRlaWRsMi5jb3JlLks4c1BvZBowCg5TcGFya0NvbmZFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBGjEKD0hhZG9vcENvbmZFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBQsEBChVjb20uZmx5dGVpZGwyLnBsdWdpbnNCClNwYXJrUHJvdG9IAlABWjVnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvcGx1Z2luc6ICA0ZQWKoCEUZseXRlaWRsMi5QbHVnaW5zygIRRmx5dGVpZGwyXFBsdWdpbnPiAh1GbHl0ZWlkbDJcUGx1Z2luc1xHUEJNZXRhZGF0YeoCEkZseXRlaWRsMjo6UGx1Z2luc2IGcHJvdG8z", [file_flyteidl2_core_tasks, file_google_protobuf_struct]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @generated from message flyteidl2.plugins.SparkApplication
|
|
20
|
+
*/
|
|
21
|
+
export type SparkApplication = Message<"flyteidl2.plugins.SparkApplication"> & {
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message flyteidl2.plugins.SparkApplication.
|
|
26
|
+
* Use `create(SparkApplicationSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export const SparkApplicationSchema: GenMessage<SparkApplication> = /*@__PURE__*/
|
|
29
|
+
messageDesc(file_flyteidl2_plugins_spark, 0);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from enum flyteidl2.plugins.SparkApplication.Type
|
|
33
|
+
*/
|
|
34
|
+
export enum SparkApplication_Type {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from enum value: PYTHON = 0;
|
|
37
|
+
*/
|
|
38
|
+
PYTHON = 0,
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum value: JAVA = 1;
|
|
42
|
+
*/
|
|
43
|
+
JAVA = 1,
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from enum value: SCALA = 2;
|
|
47
|
+
*/
|
|
48
|
+
SCALA = 2,
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from enum value: R = 3;
|
|
52
|
+
*/
|
|
53
|
+
R = 3,
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes the enum flyteidl2.plugins.SparkApplication.Type.
|
|
58
|
+
*/
|
|
59
|
+
export const SparkApplication_TypeSchema: GenEnum<SparkApplication_Type> = /*@__PURE__*/
|
|
60
|
+
enumDesc(file_flyteidl2_plugins_spark, 0, 0);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Custom Proto for Spark Plugin.
|
|
64
|
+
*
|
|
65
|
+
* @generated from message flyteidl2.plugins.SparkJob
|
|
66
|
+
*/
|
|
67
|
+
export type SparkJob = Message<"flyteidl2.plugins.SparkJob"> & {
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: flyteidl2.plugins.SparkApplication.Type applicationType = 1;
|
|
70
|
+
*/
|
|
71
|
+
applicationType: SparkApplication_Type;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: string mainApplicationFile = 2;
|
|
75
|
+
*/
|
|
76
|
+
mainApplicationFile: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: string mainClass = 3;
|
|
80
|
+
*/
|
|
81
|
+
mainClass: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: map<string, string> sparkConf = 4;
|
|
85
|
+
*/
|
|
86
|
+
sparkConf: { [key: string]: string };
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: map<string, string> hadoopConf = 5;
|
|
90
|
+
*/
|
|
91
|
+
hadoopConf: { [key: string]: string };
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Executor path for Python jobs.
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: string executorPath = 6;
|
|
97
|
+
*/
|
|
98
|
+
executorPath: string;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Databricks job configuration.
|
|
102
|
+
* Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: google.protobuf.Struct databricksConf = 7;
|
|
105
|
+
*/
|
|
106
|
+
databricksConf?: JsonObject;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Databricks access token. https://docs.databricks.com/dev-tools/api/latest/authentication.html
|
|
110
|
+
* This token can be set in either flytepropeller or flytekit.
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: string databricksToken = 8;
|
|
113
|
+
*/
|
|
114
|
+
databricksToken: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Domain name of your deployment. Use the form <account>.cloud.databricks.com.
|
|
118
|
+
* This instance name can be set in either flytepropeller or flytekit.
|
|
119
|
+
*
|
|
120
|
+
* @generated from field: string databricksInstance = 9;
|
|
121
|
+
*/
|
|
122
|
+
databricksInstance: string;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Pod Spec for the Spark driver pod
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: flyteidl2.core.K8sPod driverPod = 10;
|
|
128
|
+
*/
|
|
129
|
+
driverPod?: K8sPod;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Pod Spec for the Spark executor pod
|
|
133
|
+
*
|
|
134
|
+
* @generated from field: flyteidl2.core.K8sPod executorPod = 11;
|
|
135
|
+
*/
|
|
136
|
+
executorPod?: K8sPod;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Describes the message flyteidl2.plugins.SparkJob.
|
|
141
|
+
* Use `create(SparkJobSchema)` to create a new message.
|
|
142
|
+
*/
|
|
143
|
+
export const SparkJobSchema: GenMessage<SparkJob> = /*@__PURE__*/
|
|
144
|
+
messageDesc(file_flyteidl2_plugins_spark, 1);
|
|
145
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/plugins/tensorflow.proto (package flyteidl2.plugins, 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 type { Message } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file flyteidl2/plugins/tensorflow.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_flyteidl2_plugins_tensorflow: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("CiJmbHl0ZWlkbDIvcGx1Z2lucy90ZW5zb3JmbG93LnByb3RvEhFmbHl0ZWlkbDIucGx1Z2lucyJ9CiFEaXN0cmlidXRlZFRlbnNvcmZsb3dUcmFpbmluZ1Rhc2sSDwoHd29ya2VycxgBIAEoBRITCgtwc19yZXBsaWNhcxgCIAEoBRIWCg5jaGllZl9yZXBsaWNhcxgDIAEoBRIaChJldmFsdWF0b3JfcmVwbGljYXMYBCABKAVCxgEKFWNvbS5mbHl0ZWlkbDIucGx1Z2luc0IPVGVuc29yZmxvd1Byb3RvSAJQAVo1Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3BsdWdpbnOiAgNGUFiqAhFGbHl0ZWlkbDIuUGx1Z2luc8oCEUZseXRlaWRsMlxQbHVnaW5z4gIdRmx5dGVpZGwyXFBsdWdpbnNcR1BCTWV0YWRhdGHqAhJGbHl0ZWlkbDI6OlBsdWdpbnNiBnByb3RvMw");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Custom proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator
|
|
17
|
+
*
|
|
18
|
+
* @generated from message flyteidl2.plugins.DistributedTensorflowTrainingTask
|
|
19
|
+
*/
|
|
20
|
+
export type DistributedTensorflowTrainingTask = Message<"flyteidl2.plugins.DistributedTensorflowTrainingTask"> & {
|
|
21
|
+
/**
|
|
22
|
+
* number of worker replicas spawned in the cluster for this job
|
|
23
|
+
*
|
|
24
|
+
* @generated from field: int32 workers = 1;
|
|
25
|
+
*/
|
|
26
|
+
workers: number;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* PS -> Parameter server
|
|
30
|
+
* number of ps replicas spawned in the cluster for this job
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: int32 ps_replicas = 2;
|
|
33
|
+
*/
|
|
34
|
+
psReplicas: number;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* number of chief replicas spawned in the cluster for this job
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: int32 chief_replicas = 3;
|
|
40
|
+
*/
|
|
41
|
+
chiefReplicas: number;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* number of evaluator replicas spawned in the cluster for this job
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: int32 evaluator_replicas = 4;
|
|
47
|
+
*/
|
|
48
|
+
evaluatorReplicas: number;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message flyteidl2.plugins.DistributedTensorflowTrainingTask.
|
|
53
|
+
* Use `create(DistributedTensorflowTrainingTaskSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export const DistributedTensorflowTrainingTaskSchema: GenMessage<DistributedTensorflowTrainingTask> = /*@__PURE__*/
|
|
56
|
+
messageDesc(file_flyteidl2_plugins_tensorflow, 0);
|
|
57
|
+
|