@flyteorg/flyteidl 1.16.0-b3 → 2.0.0-alpha1

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.
Files changed (87) hide show
  1. package/package.json +6 -9
  2. package/LICENSE +0 -202
  3. package/NOTICE +0 -4
  4. package/README.md +0 -14
  5. package/gen/pb-js/flyteidl.d.ts +0 -28307
  6. package/gen/pb-js/flyteidl.js +0 -66636
  7. package/protos/buf.lock +0 -18
  8. package/protos/buf.yaml +0 -12
  9. package/protos/docs/admin/admin.rst +0 -4623
  10. package/protos/docs/admin/index.rst +0 -13
  11. package/protos/docs/contributing.md +0 -68
  12. package/protos/docs/core/core.rst +0 -3952
  13. package/protos/docs/core/index.rst +0 -15
  14. package/protos/docs/datacatalog/datacatalog.rst +0 -1313
  15. package/protos/docs/datacatalog/index.rst +0 -16
  16. package/protos/docs/event/event.rst +0 -726
  17. package/protos/docs/event/index.rst +0 -27
  18. package/protos/docs/plugins/index.rst +0 -14
  19. package/protos/docs/plugins/plugins.rst +0 -780
  20. package/protos/docs/restructuredtext.tmpl +0 -129
  21. package/protos/docs/service/index.rst +0 -13
  22. package/protos/docs/service/service.rst +0 -543
  23. package/protos/docs/withoutscalar_restructuredtext.tmpl +0 -105
  24. package/protos/docs_index.rst +0 -19
  25. package/protos/flyteidl/admin/agent.proto +0 -309
  26. package/protos/flyteidl/admin/cluster_assignment.proto +0 -11
  27. package/protos/flyteidl/admin/common.proto +0 -337
  28. package/protos/flyteidl/admin/description_entity.proto +0 -95
  29. package/protos/flyteidl/admin/event.proto +0 -70
  30. package/protos/flyteidl/admin/execution.proto +0 -436
  31. package/protos/flyteidl/admin/launch_plan.proto +0 -231
  32. package/protos/flyteidl/admin/matchable_resource.proto +0 -194
  33. package/protos/flyteidl/admin/node_execution.proto +0 -248
  34. package/protos/flyteidl/admin/notification.proto +0 -27
  35. package/protos/flyteidl/admin/project.proto +0 -132
  36. package/protos/flyteidl/admin/project_attributes.proto +0 -69
  37. package/protos/flyteidl/admin/project_domain_attributes.proto +0 -80
  38. package/protos/flyteidl/admin/schedule.proto +0 -43
  39. package/protos/flyteidl/admin/signal.proto +0 -86
  40. package/protos/flyteidl/admin/task.proto +0 -71
  41. package/protos/flyteidl/admin/task_execution.proto +0 -171
  42. package/protos/flyteidl/admin/version.proto +0 -27
  43. package/protos/flyteidl/admin/workflow.proto +0 -92
  44. package/protos/flyteidl/admin/workflow_attributes.proto +0 -89
  45. package/protos/flyteidl/cacheservice/cacheservice.proto +0 -143
  46. package/protos/flyteidl/core/artifact_id.proto +0 -112
  47. package/protos/flyteidl/core/catalog.proto +0 -63
  48. package/protos/flyteidl/core/compiler.proto +0 -64
  49. package/protos/flyteidl/core/condition.proto +0 -63
  50. package/protos/flyteidl/core/dynamic_job.proto +0 -32
  51. package/protos/flyteidl/core/errors.proto +0 -42
  52. package/protos/flyteidl/core/execution.proto +0 -156
  53. package/protos/flyteidl/core/execution_envs.proto +0 -45
  54. package/protos/flyteidl/core/identifier.proto +0 -80
  55. package/protos/flyteidl/core/interface.proto +0 -64
  56. package/protos/flyteidl/core/literals.proto +0 -205
  57. package/protos/flyteidl/core/metrics.proto +0 -50
  58. package/protos/flyteidl/core/security.proto +0 -135
  59. package/protos/flyteidl/core/tasks.proto +0 -392
  60. package/protos/flyteidl/core/types.proto +0 -208
  61. package/protos/flyteidl/core/workflow.proto +0 -361
  62. package/protos/flyteidl/core/workflow_closure.proto +0 -18
  63. package/protos/flyteidl/datacatalog/datacatalog.proto +0 -420
  64. package/protos/flyteidl/event/cloudevents.proto +0 -81
  65. package/protos/flyteidl/event/event.proto +0 -347
  66. package/protos/flyteidl/plugins/array_job.proto +0 -30
  67. package/protos/flyteidl/plugins/common.proto +0 -27
  68. package/protos/flyteidl/plugins/dask.proto +0 -41
  69. package/protos/flyteidl/plugins/kubeflow/common.proto +0 -28
  70. package/protos/flyteidl/plugins/kubeflow/mpi.proto +0 -47
  71. package/protos/flyteidl/plugins/kubeflow/pytorch.proto +0 -53
  72. package/protos/flyteidl/plugins/kubeflow/tensorflow.proto +0 -46
  73. package/protos/flyteidl/plugins/mpi.proto +0 -20
  74. package/protos/flyteidl/plugins/presto.proto +0 -14
  75. package/protos/flyteidl/plugins/pytorch.proto +0 -25
  76. package/protos/flyteidl/plugins/qubole.proto +0 -26
  77. package/protos/flyteidl/plugins/ray.proto +0 -59
  78. package/protos/flyteidl/plugins/spark.proto +0 -42
  79. package/protos/flyteidl/plugins/tensorflow.proto +0 -18
  80. package/protos/flyteidl/plugins/waitable.proto +0 -15
  81. package/protos/flyteidl/service/admin.proto +0 -668
  82. package/protos/flyteidl/service/agent.proto +0 -79
  83. package/protos/flyteidl/service/auth.proto +0 -94
  84. package/protos/flyteidl/service/dataproxy.proto +0 -205
  85. package/protos/flyteidl/service/external_plugin_service.proto +0 -79
  86. package/protos/flyteidl/service/identity.proto +0 -51
  87. package/protos/flyteidl/service/signal.proto +0 -55
@@ -1,25 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package flyteidl.plugins;
4
-
5
- option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/plugins";
6
-
7
- // Custom proto for torch elastic config for distributed training using
8
- // https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go
9
- message ElasticConfig {
10
- string rdzv_backend = 1;
11
- int32 min_replicas = 2;
12
- int32 max_replicas = 3;
13
- int32 nproc_per_node = 4;
14
- int32 max_restarts = 5;
15
- }
16
-
17
- // Custom proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator
18
- message DistributedPyTorchTrainingTask {
19
- // number of worker replicas spawned in the cluster for this job
20
- int32 workers = 1;
21
-
22
- // config for an elastic pytorch job
23
- //
24
- ElasticConfig elastic_config = 2;
25
- }
@@ -1,26 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package flyteidl.plugins;
4
-
5
- option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/plugins";
6
-
7
- // Defines a query to execute on a hive cluster.
8
- message HiveQuery {
9
- string query = 1;
10
- uint32 timeout_sec = 2;
11
- uint32 retryCount = 3;
12
- }
13
-
14
- // Defines a collection of hive queries.
15
- message HiveQueryCollection {
16
- repeated HiveQuery queries = 2;
17
- }
18
-
19
- // This message works with the 'hive' task type in the SDK and is the object that will be in the 'custom' field
20
- // of a hive task's TaskTemplate
21
- message QuboleHiveJob {
22
- string cluster_label = 1;
23
- HiveQueryCollection query_collection = 2 [deprecated=true];
24
- repeated string tags = 3;
25
- HiveQuery query = 4;
26
- }
@@ -1,59 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package flyteidl.plugins;
4
-
5
- option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/plugins";
6
-
7
- import "flyteidl/core/tasks.proto";
8
-
9
- // RayJobSpec defines the desired state of RayJob
10
- message RayJob {
11
- // RayClusterSpec is the cluster template to run the job
12
- RayCluster ray_cluster = 1;
13
- // runtime_env is base64 encoded.
14
- // Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments
15
- string runtime_env = 2 [deprecated = true];
16
- // shutdown_after_job_finishes specifies whether the RayCluster should be deleted after the RayJob finishes.
17
- bool shutdown_after_job_finishes = 3;
18
- // ttl_seconds_after_finished specifies the number of seconds after which the RayCluster will be deleted after the RayJob finishes.
19
- int32 ttl_seconds_after_finished = 4;
20
- // RuntimeEnvYAML represents the runtime environment configuration
21
- // provided as a multi-line YAML string.
22
- string runtime_env_yaml = 5;
23
- }
24
-
25
- // Define Ray cluster defines the desired state of RayCluster
26
- message RayCluster {
27
- // HeadGroupSpecs are the spec for the head pod
28
- HeadGroupSpec head_group_spec = 1;
29
- // WorkerGroupSpecs are the specs for the worker pods
30
- repeated WorkerGroupSpec worker_group_spec = 2;
31
- // Whether to enable autoscaling.
32
- bool enable_autoscaling = 3;
33
- }
34
-
35
- // HeadGroupSpec are the spec for the head pod
36
- message HeadGroupSpec {
37
- // Optional. RayStartParams are the params of the start command: address, object-store-memory.
38
- // Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
39
- map<string, string> ray_start_params = 1;
40
- // Pod Spec for the ray head pod
41
- core.K8sPod k8s_pod = 2;
42
- }
43
-
44
- // WorkerGroupSpec are the specs for the worker pods
45
- message WorkerGroupSpec {
46
- // Required. RayCluster can have multiple worker groups, and it distinguishes them by name
47
- string group_name = 1;
48
- // Required. Desired replicas of the worker group. Defaults to 1.
49
- int32 replicas = 2;
50
- // Optional. Min replicas of the worker group. MinReplicas defaults to 1.
51
- int32 min_replicas = 3;
52
- // Optional. Max replicas of the worker group. MaxReplicas defaults to maxInt32
53
- int32 max_replicas = 4;
54
- // Optional. RayStartParams are the params of the start command: address, object-store-memory.
55
- // Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
56
- map<string, string> ray_start_params = 5;
57
- // Pod Spec for ray worker pods
58
- core.K8sPod k8s_pod = 6;
59
- }
@@ -1,42 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package flyteidl.plugins;
4
-
5
- option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/plugins";
6
-
7
- import "google/protobuf/struct.proto";
8
- import "flyteidl/core/tasks.proto";
9
-
10
- message SparkApplication {
11
- enum Type {
12
- PYTHON = 0;
13
- JAVA = 1;
14
- SCALA = 2;
15
- R = 3;
16
- }
17
- }
18
-
19
- // Custom Proto for Spark Plugin.
20
- message SparkJob {
21
- SparkApplication.Type applicationType = 1;
22
- string mainApplicationFile = 2;
23
- string mainClass = 3;
24
- map<string, string> sparkConf = 4;
25
- map<string, string> hadoopConf = 5;
26
- string executorPath = 6; // Executor path for Python jobs.
27
- // Databricks job configuration.
28
- // Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
29
- google.protobuf.Struct databricksConf = 7;
30
- // Databricks access token. https://docs.databricks.com/dev-tools/api/latest/authentication.html
31
- // This token can be set in either flytepropeller or flytekit.
32
- string databricksToken = 8;
33
- // Domain name of your deployment. Use the form <account>.cloud.databricks.com.
34
- // This instance name can be set in either flytepropeller or flytekit.
35
- string databricksInstance = 9;
36
-
37
- // Pod Spec for the Spark driver pod
38
- core.K8sPod driverPod = 10;
39
-
40
- // Pod Spec for the Spark executor pod
41
- core.K8sPod executorPod = 11;
42
- }
@@ -1,18 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package flyteidl.plugins;
4
-
5
- option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/plugins";
6
-
7
- // Custom proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator
8
- message DistributedTensorflowTrainingTask {
9
- // number of worker replicas spawned in the cluster for this job
10
- int32 workers = 1;
11
- // PS -> Parameter server
12
- // number of ps replicas spawned in the cluster for this job
13
- int32 ps_replicas = 2;
14
- // number of chief replicas spawned in the cluster for this job
15
- int32 chief_replicas = 3;
16
- // number of evaluator replicas spawned in the cluster for this job
17
- int32 evaluator_replicas = 4;
18
- }
@@ -1,15 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "flyteidl/core/execution.proto";
4
- import "flyteidl/core/identifier.proto";
5
-
6
- package flyteidl.plugins;
7
-
8
- option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/plugins";
9
-
10
- // Represents an Execution that was launched and could be waited on.
11
- message Waitable {
12
- core.WorkflowExecutionIdentifier wf_exec_id = 1;
13
- core.WorkflowExecution.Phase phase = 2;
14
- string workflow_id = 3;
15
- }