@flyteorg/flyteidl 1.16.0 → 2.0.0-alpha2

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,543 +0,0 @@
1
- ######################
2
- Protocol Documentation
3
- ######################
4
-
5
-
6
-
7
-
8
- .. _ref_flyteidl/service/admin.proto:
9
-
10
- flyteidl/service/admin.proto
11
- ==================================================================
12
-
13
-
14
-
15
-
16
- ..
17
- end messages
18
-
19
-
20
- ..
21
- end enums
22
-
23
-
24
- ..
25
- end HasExtensions
26
-
27
-
28
-
29
- .. _ref_flyteidl.service.AdminService:
30
-
31
- AdminService
32
- ------------------------------------------------------------------
33
-
34
- The following defines an RPC service that is also served over HTTP via grpc-gateway.
35
- Standard response codes for both are defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go
36
-
37
- .. csv-table:: AdminService service methods
38
- :header: "Method Name", "Request Type", "Response Type", "Description"
39
- :widths: auto
40
-
41
- "CreateTask", ":ref:`ref_flyteidl.admin.TaskCreateRequest`", ":ref:`ref_flyteidl.admin.TaskCreateResponse`", "Create and upload a :ref:`ref_flyteidl.admin.Task` definition"
42
- "GetTask", ":ref:`ref_flyteidl.admin.ObjectGetRequest`", ":ref:`ref_flyteidl.admin.Task`", "Fetch a :ref:`ref_flyteidl.admin.Task` definition."
43
- "ListTaskIds", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierList`", "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects."
44
- "ListTasks", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.TaskList`", "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions."
45
- "CreateWorkflow", ":ref:`ref_flyteidl.admin.WorkflowCreateRequest`", ":ref:`ref_flyteidl.admin.WorkflowCreateResponse`", "Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition"
46
- "GetWorkflow", ":ref:`ref_flyteidl.admin.ObjectGetRequest`", ":ref:`ref_flyteidl.admin.Workflow`", "Fetch a :ref:`ref_flyteidl.admin.Workflow` definition."
47
- "ListWorkflowIds", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierList`", "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects."
48
- "ListWorkflows", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.WorkflowList`", "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions."
49
- "CreateLaunchPlan", ":ref:`ref_flyteidl.admin.LaunchPlanCreateRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanCreateResponse`", "Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition"
50
- "GetLaunchPlan", ":ref:`ref_flyteidl.admin.ObjectGetRequest`", ":ref:`ref_flyteidl.admin.LaunchPlan`", "Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition."
51
- "GetActiveLaunchPlan", ":ref:`ref_flyteidl.admin.ActiveLaunchPlanRequest`", ":ref:`ref_flyteidl.admin.LaunchPlan`", "Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`."
52
- "ListActiveLaunchPlans", ":ref:`ref_flyteidl.admin.ActiveLaunchPlanListRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanList`", "List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`."
53
- "ListLaunchPlanIds", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierList`", "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects."
54
- "ListLaunchPlans", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanList`", "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions."
55
- "UpdateLaunchPlan", ":ref:`ref_flyteidl.admin.LaunchPlanUpdateRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanUpdateResponse`", "Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`."
56
- "CreateExecution", ":ref:`ref_flyteidl.admin.ExecutionCreateRequest`", ":ref:`ref_flyteidl.admin.ExecutionCreateResponse`", "Triggers the creation of a :ref:`ref_flyteidl.admin.Execution`"
57
- "RelaunchExecution", ":ref:`ref_flyteidl.admin.ExecutionRelaunchRequest`", ":ref:`ref_flyteidl.admin.ExecutionCreateResponse`", "Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution`"
58
- "RecoverExecution", ":ref:`ref_flyteidl.admin.ExecutionRecoverRequest`", ":ref:`ref_flyteidl.admin.ExecutionCreateResponse`", "Recreates a previously-run workflow execution that will only start executing from the last known failure point. In Recover mode, users cannot change any input parameters or update the version of the execution. This is extremely useful to recover from system errors and byzantine faults like - Loss of K8s cluster, bugs in platform or instability, machine failures, downstream system failures (downstream services), or simply to recover executions that failed because of retry exhaustion and should complete if tried again. See :ref:`ref_flyteidl.admin.ExecutionRecoverRequest` for more details."
59
- "GetExecution", ":ref:`ref_flyteidl.admin.WorkflowExecutionGetRequest`", ":ref:`ref_flyteidl.admin.Execution`", "Fetches a :ref:`ref_flyteidl.admin.Execution`."
60
- "UpdateExecution", ":ref:`ref_flyteidl.admin.ExecutionUpdateRequest`", ":ref:`ref_flyteidl.admin.ExecutionUpdateResponse`", "Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`."
61
- "GetExecutionData", ":ref:`ref_flyteidl.admin.WorkflowExecutionGetDataRequest`", ":ref:`ref_flyteidl.admin.WorkflowExecutionGetDataResponse`", "Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`."
62
- "ListExecutions", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.ExecutionList`", "Fetch a list of :ref:`ref_flyteidl.admin.Execution`."
63
- "TerminateExecution", ":ref:`ref_flyteidl.admin.ExecutionTerminateRequest`", ":ref:`ref_flyteidl.admin.ExecutionTerminateResponse`", "Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`."
64
- "GetNodeExecution", ":ref:`ref_flyteidl.admin.NodeExecutionGetRequest`", ":ref:`ref_flyteidl.admin.NodeExecution`", "Fetches a :ref:`ref_flyteidl.admin.NodeExecution`."
65
- "ListNodeExecutions", ":ref:`ref_flyteidl.admin.NodeExecutionListRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionList`", "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`."
66
- "ListNodeExecutionsForTask", ":ref:`ref_flyteidl.admin.NodeExecutionForTaskListRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionList`", "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution` launched by the reference :ref:`ref_flyteidl.admin.TaskExecution`."
67
- "GetNodeExecutionData", ":ref:`ref_flyteidl.admin.NodeExecutionGetDataRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionGetDataResponse`", "Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`."
68
- "RegisterProject", ":ref:`ref_flyteidl.admin.ProjectRegisterRequest`", ":ref:`ref_flyteidl.admin.ProjectRegisterResponse`", "Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment."
69
- "UpdateProject", ":ref:`ref_flyteidl.admin.Project`", ":ref:`ref_flyteidl.admin.ProjectUpdateResponse`", "Updates an existing :ref:`ref_flyteidl.admin.Project` flyteidl.admin.Project should be passed but the domains property should be empty; it will be ignored in the handler as domains cannot be updated via this API."
70
- "ListProjects", ":ref:`ref_flyteidl.admin.ProjectListRequest`", ":ref:`ref_flyteidl.admin.Projects`", "Fetches a list of :ref:`ref_flyteidl.admin.Project`"
71
- "CreateWorkflowEvent", ":ref:`ref_flyteidl.admin.WorkflowExecutionEventRequest`", ":ref:`ref_flyteidl.admin.WorkflowExecutionEventResponse`", "Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred."
72
- "CreateNodeEvent", ":ref:`ref_flyteidl.admin.NodeExecutionEventRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionEventResponse`", "Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred."
73
- "CreateTaskEvent", ":ref:`ref_flyteidl.admin.TaskExecutionEventRequest`", ":ref:`ref_flyteidl.admin.TaskExecutionEventResponse`", "Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred."
74
- "GetTaskExecution", ":ref:`ref_flyteidl.admin.TaskExecutionGetRequest`", ":ref:`ref_flyteidl.admin.TaskExecution`", "Fetches a :ref:`ref_flyteidl.admin.TaskExecution`."
75
- "ListTaskExecutions", ":ref:`ref_flyteidl.admin.TaskExecutionListRequest`", ":ref:`ref_flyteidl.admin.TaskExecutionList`", "Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`."
76
- "GetTaskExecutionData", ":ref:`ref_flyteidl.admin.TaskExecutionGetDataRequest`", ":ref:`ref_flyteidl.admin.TaskExecutionGetDataResponse`", "Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`."
77
- "UpdateProjectDomainAttributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesUpdateRequest`", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesUpdateResponse`", "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain."
78
- "GetProjectDomainAttributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesGetRequest`", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesGetResponse`", "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain."
79
- "DeleteProjectDomainAttributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesDeleteRequest`", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesDeleteResponse`", "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain."
80
- "UpdateProjectAttributes", ":ref:`ref_flyteidl.admin.ProjectAttributesUpdateRequest`", ":ref:`ref_flyteidl.admin.ProjectAttributesUpdateResponse`", "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` at the project level"
81
- "GetProjectAttributes", ":ref:`ref_flyteidl.admin.ProjectAttributesGetRequest`", ":ref:`ref_flyteidl.admin.ProjectAttributesGetResponse`", "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain."
82
- "DeleteProjectAttributes", ":ref:`ref_flyteidl.admin.ProjectAttributesDeleteRequest`", ":ref:`ref_flyteidl.admin.ProjectAttributesDeleteResponse`", "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain."
83
- "UpdateWorkflowAttributes", ":ref:`ref_flyteidl.admin.WorkflowAttributesUpdateRequest`", ":ref:`ref_flyteidl.admin.WorkflowAttributesUpdateResponse`", "Creates or updates custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow."
84
- "GetWorkflowAttributes", ":ref:`ref_flyteidl.admin.WorkflowAttributesGetRequest`", ":ref:`ref_flyteidl.admin.WorkflowAttributesGetResponse`", "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow."
85
- "DeleteWorkflowAttributes", ":ref:`ref_flyteidl.admin.WorkflowAttributesDeleteRequest`", ":ref:`ref_flyteidl.admin.WorkflowAttributesDeleteResponse`", "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow."
86
- "ListMatchableAttributes", ":ref:`ref_flyteidl.admin.ListMatchableAttributesRequest`", ":ref:`ref_flyteidl.admin.ListMatchableAttributesResponse`", "Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type."
87
- "ListNamedEntities", ":ref:`ref_flyteidl.admin.NamedEntityListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityList`", "Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects."
88
- "GetNamedEntity", ":ref:`ref_flyteidl.admin.NamedEntityGetRequest`", ":ref:`ref_flyteidl.admin.NamedEntity`", "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object."
89
- "UpdateNamedEntity", ":ref:`ref_flyteidl.admin.NamedEntityUpdateRequest`", ":ref:`ref_flyteidl.admin.NamedEntityUpdateResponse`", "Updates a :ref:`ref_flyteidl.admin.NamedEntity` object."
90
- "GetVersion", ":ref:`ref_flyteidl.admin.GetVersionRequest`", ":ref:`ref_flyteidl.admin.GetVersionResponse`", ""
91
- "GetDescriptionEntity", ":ref:`ref_flyteidl.admin.ObjectGetRequest`", ":ref:`ref_flyteidl.admin.DescriptionEntity`", "Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object."
92
- "ListDescriptionEntities", ":ref:`ref_flyteidl.admin.DescriptionEntityListRequest`", ":ref:`ref_flyteidl.admin.DescriptionEntityList`", "Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions."
93
-
94
- ..
95
- end services
96
-
97
-
98
-
99
-
100
- .. _ref_flyteidl/service/auth.proto:
101
-
102
- flyteidl/service/auth.proto
103
- ==================================================================
104
-
105
-
106
-
107
-
108
-
109
- .. _ref_flyteidl.service.OAuth2MetadataRequest:
110
-
111
- OAuth2MetadataRequest
112
- ------------------------------------------------------------------
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
- .. _ref_flyteidl.service.OAuth2MetadataResponse:
124
-
125
- OAuth2MetadataResponse
126
- ------------------------------------------------------------------
127
-
128
- OAuth2MetadataResponse defines an RFC-Compliant response for /.well-known/oauth-authorization-server metadata
129
- as defined in https://tools.ietf.org/html/rfc8414
130
-
131
-
132
-
133
- .. csv-table:: OAuth2MetadataResponse type fields
134
- :header: "Field", "Type", "Label", "Description"
135
- :widths: auto
136
-
137
- "issuer", ":ref:`ref_string`", "", "Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external issuer."
138
- "authorization_endpoint", ":ref:`ref_string`", "", "URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are supported that use the authorization endpoint."
139
- "token_endpoint", ":ref:`ref_string`", "", "URL of the authorization server's token endpoint [RFC6749]."
140
- "response_types_supported", ":ref:`ref_string`", "repeated", "Array containing a list of the OAuth 2.0 response_type values that this authorization server supports."
141
- "scopes_supported", ":ref:`ref_string`", "repeated", "JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports."
142
- "token_endpoint_auth_methods_supported", ":ref:`ref_string`", "repeated", "JSON array containing a list of client authentication methods supported by this token endpoint."
143
- "jwks_uri", ":ref:`ref_string`", "", "URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the client uses to validate signatures from the authorization server."
144
- "code_challenge_methods_supported", ":ref:`ref_string`", "repeated", "JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server."
145
- "grant_types_supported", ":ref:`ref_string`", "repeated", "JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports."
146
- "device_authorization_endpoint", ":ref:`ref_string`", "", "URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]"
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
- .. _ref_flyteidl.service.PublicClientAuthConfigRequest:
155
-
156
- PublicClientAuthConfigRequest
157
- ------------------------------------------------------------------
158
-
159
-
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
- .. _ref_flyteidl.service.PublicClientAuthConfigResponse:
169
-
170
- PublicClientAuthConfigResponse
171
- ------------------------------------------------------------------
172
-
173
- FlyteClientResponse encapsulates public information that flyte clients (CLIs... etc.) can use to authenticate users.
174
-
175
-
176
-
177
- .. csv-table:: PublicClientAuthConfigResponse type fields
178
- :header: "Field", "Type", "Label", "Description"
179
- :widths: auto
180
-
181
- "client_id", ":ref:`ref_string`", "", "client_id to use when initiating OAuth2 authorization requests."
182
- "redirect_uri", ":ref:`ref_string`", "", "redirect uri to use when initiating OAuth2 authorization requests."
183
- "scopes", ":ref:`ref_string`", "repeated", "scopes to request when initiating OAuth2 authorization requests."
184
- "authorization_metadata_key", ":ref:`ref_string`", "", "Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the default http `Authorization` header."
185
- "service_http_endpoint", ":ref:`ref_string`", "", "ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between SSL or no SSL connections."
186
- "audience", ":ref:`ref_string`", "", "audience to use when initiating OAuth2 authorization requests."
187
-
188
-
189
-
190
-
191
-
192
-
193
- ..
194
- end messages
195
-
196
-
197
- ..
198
- end enums
199
-
200
-
201
- ..
202
- end HasExtensions
203
-
204
-
205
-
206
- .. _ref_flyteidl.service.AuthMetadataService:
207
-
208
- AuthMetadataService
209
- ------------------------------------------------------------------
210
-
211
- The following defines an RPC service that is also served over HTTP via grpc-gateway.
212
- Standard response codes for both are defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go
213
- RPCs defined in this service must be anonymously accessible.
214
-
215
- .. csv-table:: AuthMetadataService service methods
216
- :header: "Method Name", "Request Type", "Response Type", "Description"
217
- :widths: auto
218
-
219
- "GetOAuth2Metadata", ":ref:`ref_flyteidl.service.OAuth2MetadataRequest`", ":ref:`ref_flyteidl.service.OAuth2MetadataResponse`", "Anonymously accessible. Retrieves local or external oauth authorization server metadata."
220
- "GetPublicClientConfig", ":ref:`ref_flyteidl.service.PublicClientAuthConfigRequest`", ":ref:`ref_flyteidl.service.PublicClientAuthConfigResponse`", "Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization requests."
221
-
222
- ..
223
- end services
224
-
225
-
226
-
227
-
228
- .. _ref_flyteidl/service/dataproxy.proto:
229
-
230
- flyteidl/service/dataproxy.proto
231
- ==================================================================
232
-
233
-
234
-
235
-
236
-
237
- .. _ref_flyteidl.service.CreateDownloadLinkRequest:
238
-
239
- CreateDownloadLinkRequest
240
- ------------------------------------------------------------------
241
-
242
- CreateDownloadLinkRequest defines the request parameters to create a download link (signed url)
243
-
244
-
245
-
246
- .. csv-table:: CreateDownloadLinkRequest type fields
247
- :header: "Field", "Type", "Label", "Description"
248
- :widths: auto
249
-
250
- "artifact_type", ":ref:`ref_flyteidl.service.ArtifactType`", "", "ArtifactType of the artifact requested."
251
- "expires_in", ":ref:`ref_google.protobuf.Duration`", "", "ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this exceeds the platform allowed max. +optional. The default value comes from a global config."
252
- "node_execution_id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "NodeId is the unique identifier for the node execution. For a task node, this will retrieve the output of the most recent attempt of the task."
253
-
254
-
255
-
256
-
257
-
258
-
259
-
260
- .. _ref_flyteidl.service.CreateDownloadLinkResponse:
261
-
262
- CreateDownloadLinkResponse
263
- ------------------------------------------------------------------
264
-
265
- CreateDownloadLinkResponse defines the response for the generated links
266
-
267
-
268
-
269
- .. csv-table:: CreateDownloadLinkResponse type fields
270
- :header: "Field", "Type", "Label", "Description"
271
- :widths: auto
272
-
273
- "signed_url", ":ref:`ref_string`", "repeated", "SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)"
274
- "expires_at", ":ref:`ref_google.protobuf.Timestamp`", "", "ExpiresAt defines when will the signed URL expire."
275
-
276
-
277
-
278
-
279
-
280
-
281
-
282
- .. _ref_flyteidl.service.CreateDownloadLocationRequest:
283
-
284
- CreateDownloadLocationRequest
285
- ------------------------------------------------------------------
286
-
287
- CreateDownloadLocationRequest specified request for the CreateDownloadLocation API.
288
-
289
-
290
-
291
- .. csv-table:: CreateDownloadLocationRequest type fields
292
- :header: "Field", "Type", "Label", "Description"
293
- :widths: auto
294
-
295
- "native_url", ":ref:`ref_string`", "", "NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)"
296
- "expires_in", ":ref:`ref_google.protobuf.Duration`", "", "ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this exceeds the platform allowed max. +optional. The default value comes from a global config."
297
-
298
-
299
-
300
-
301
-
302
-
303
-
304
- .. _ref_flyteidl.service.CreateDownloadLocationResponse:
305
-
306
- CreateDownloadLocationResponse
307
- ------------------------------------------------------------------
308
-
309
-
310
-
311
-
312
-
313
- .. csv-table:: CreateDownloadLocationResponse type fields
314
- :header: "Field", "Type", "Label", "Description"
315
- :widths: auto
316
-
317
- "signed_url", ":ref:`ref_string`", "", "SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)"
318
- "expires_at", ":ref:`ref_google.protobuf.Timestamp`", "", "ExpiresAt defines when will the signed URL expires."
319
-
320
-
321
-
322
-
323
-
324
-
325
-
326
- .. _ref_flyteidl.service.CreateUploadLocationRequest:
327
-
328
- CreateUploadLocationRequest
329
- ------------------------------------------------------------------
330
-
331
- CreateUploadLocationRequest specified request for the CreateUploadLocation API.
332
-
333
-
334
-
335
- .. csv-table:: CreateUploadLocationRequest type fields
336
- :header: "Field", "Type", "Label", "Description"
337
- :widths: auto
338
-
339
- "project", ":ref:`ref_string`", "", "Project to create the upload location for +required"
340
- "domain", ":ref:`ref_string`", "", "Domain to create the upload location for. +required"
341
- "filename", ":ref:`ref_string`", "", "Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`. +optional. By default, the service will generate a consistent name based on the provided parameters."
342
- "expires_in", ":ref:`ref_google.protobuf.Duration`", "", "ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this exceeds the platform allowed max. +optional. The default value comes from a global config."
343
- "content_md5", ":ref:`ref_bytes`", "", "ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the generated path. +required"
344
-
345
-
346
-
347
-
348
-
349
-
350
-
351
- .. _ref_flyteidl.service.CreateUploadLocationResponse:
352
-
353
- CreateUploadLocationResponse
354
- ------------------------------------------------------------------
355
-
356
-
357
-
358
-
359
-
360
- .. csv-table:: CreateUploadLocationResponse type fields
361
- :header: "Field", "Type", "Label", "Description"
362
- :widths: auto
363
-
364
- "signed_url", ":ref:`ref_string`", "", "SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)"
365
- "native_url", ":ref:`ref_string`", "", "NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)"
366
- "expires_at", ":ref:`ref_google.protobuf.Timestamp`", "", "ExpiresAt defines when will the signed URL expires."
367
-
368
-
369
-
370
-
371
-
372
-
373
- ..
374
- end messages
375
-
376
-
377
-
378
- .. _ref_flyteidl.service.ArtifactType:
379
-
380
- ArtifactType
381
- ------------------------------------------------------------------
382
-
383
- ArtifactType
384
-
385
- .. csv-table:: Enum ArtifactType values
386
- :header: "Name", "Number", "Description"
387
- :widths: auto
388
-
389
- "ARTIFACT_TYPE_UNDEFINED", "0", "ARTIFACT_TYPE_UNDEFINED is the default, often invalid, value for the enum."
390
- "ARTIFACT_TYPE_DECK", "1", "ARTIFACT_TYPE_DECK refers to the deck html file optionally generated after a task, a workflow or a launch plan finishes executing."
391
-
392
-
393
- ..
394
- end enums
395
-
396
-
397
- ..
398
- end HasExtensions
399
-
400
-
401
-
402
- .. _ref_flyteidl.service.DataProxyService:
403
-
404
- DataProxyService
405
- ------------------------------------------------------------------
406
-
407
- DataProxyService defines an RPC Service that allows access to user-data in a controlled manner.
408
-
409
- .. csv-table:: DataProxyService service methods
410
- :header: "Method Name", "Request Type", "Response Type", "Description"
411
- :widths: auto
412
-
413
- "CreateUploadLocation", ":ref:`ref_flyteidl.service.CreateUploadLocationRequest`", ":ref:`ref_flyteidl.service.CreateUploadLocationResponse`", "CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain."
414
- "CreateDownloadLocation", ":ref:`ref_flyteidl.service.CreateDownloadLocationRequest`", ":ref:`ref_flyteidl.service.CreateDownloadLocationResponse`", "CreateDownloadLocation creates a signed url to download artifacts."
415
- "CreateDownloadLink", ":ref:`ref_flyteidl.service.CreateDownloadLinkRequest`", ":ref:`ref_flyteidl.service.CreateDownloadLinkResponse`", "CreateDownloadLocation creates a signed url to download artifacts."
416
-
417
- ..
418
- end services
419
-
420
-
421
-
422
-
423
- .. _ref_flyteidl/service/identity.proto:
424
-
425
- flyteidl/service/identity.proto
426
- ==================================================================
427
-
428
-
429
-
430
-
431
-
432
- .. _ref_flyteidl.service.UserInfoRequest:
433
-
434
- UserInfoRequest
435
- ------------------------------------------------------------------
436
-
437
-
438
-
439
-
440
-
441
-
442
-
443
-
444
-
445
-
446
- .. _ref_flyteidl.service.UserInfoResponse:
447
-
448
- UserInfoResponse
449
- ------------------------------------------------------------------
450
-
451
- See the OpenID Connect spec at https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse for more information.
452
-
453
-
454
-
455
- .. csv-table:: UserInfoResponse type fields
456
- :header: "Field", "Type", "Label", "Description"
457
- :widths: auto
458
-
459
- "subject", ":ref:`ref_string`", "", "Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed by the Client."
460
- "name", ":ref:`ref_string`", "", "Full name"
461
- "preferred_username", ":ref:`ref_string`", "", "Shorthand name by which the End-User wishes to be referred to"
462
- "given_name", ":ref:`ref_string`", "", "Given name(s) or first name(s)"
463
- "family_name", ":ref:`ref_string`", "", "Surname(s) or last name(s)"
464
- "email", ":ref:`ref_string`", "", "Preferred e-mail address"
465
- "picture", ":ref:`ref_string`", "", "Profile picture URL"
466
-
467
-
468
-
469
-
470
-
471
-
472
- ..
473
- end messages
474
-
475
-
476
- ..
477
- end enums
478
-
479
-
480
- ..
481
- end HasExtensions
482
-
483
-
484
-
485
- .. _ref_flyteidl.service.IdentityService:
486
-
487
- IdentityService
488
- ------------------------------------------------------------------
489
-
490
- IdentityService defines an RPC Service that interacts with user/app identities.
491
-
492
- .. csv-table:: IdentityService service methods
493
- :header: "Method Name", "Request Type", "Response Type", "Description"
494
- :widths: auto
495
-
496
- "UserInfo", ":ref:`ref_flyteidl.service.UserInfoRequest`", ":ref:`ref_flyteidl.service.UserInfoResponse`", "Retrieves user information about the currently logged in user."
497
-
498
- ..
499
- end services
500
-
501
-
502
-
503
-
504
- .. _ref_flyteidl/service/signal.proto:
505
-
506
- flyteidl/service/signal.proto
507
- ==================================================================
508
-
509
-
510
-
511
-
512
- ..
513
- end messages
514
-
515
-
516
- ..
517
- end enums
518
-
519
-
520
- ..
521
- end HasExtensions
522
-
523
-
524
-
525
- .. _ref_flyteidl.service.SignalService:
526
-
527
- SignalService
528
- ------------------------------------------------------------------
529
-
530
- SignalService defines an RPC Service that may create, update, and retrieve signal(s).
531
-
532
- .. csv-table:: SignalService service methods
533
- :header: "Method Name", "Request Type", "Response Type", "Description"
534
- :widths: auto
535
-
536
- "GetOrCreateSignal", ":ref:`ref_flyteidl.admin.SignalGetOrCreateRequest`", ":ref:`ref_flyteidl.admin.Signal`", "Fetches or creates a :ref:`ref_flyteidl.admin.Signal`."
537
- "ListSignals", ":ref:`ref_flyteidl.admin.SignalListRequest`", ":ref:`ref_flyteidl.admin.SignalList`", "Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions."
538
- "SetSignal", ":ref:`ref_flyteidl.admin.SignalSetRequest`", ":ref:`ref_flyteidl.admin.SignalSetResponse`", "Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition"
539
-
540
- ..
541
- end services
542
-
543
-
@@ -1,105 +0,0 @@
1
- ######################
2
- Protocol Documentation
3
- ######################
4
-
5
- {{range .Files}}
6
- {{$file_name := .Name}}
7
-
8
- .. _ref_{{.Name}}:
9
-
10
- {{.Name}}
11
- ==================================================================
12
-
13
- {{.Description}}
14
-
15
- {{range .Messages}}
16
-
17
- .. _ref_{{.FullName}}:
18
-
19
- {{.LongName}}
20
- ------------------------------------------------------------------
21
-
22
- {{.Description}}
23
-
24
- {{if .HasFields}}
25
-
26
- .. csv-table:: {{.LongName}} type fields
27
- :header: "Field", "Type", "Label", "Description"
28
- :widths: auto
29
- {{range .Fields }}
30
- "{{.Name}}", ":ref:`ref_{{.FullType}}`", "{{.Label}}", "{{if (index .Options "deprecated"|default false)}}**Deprecated.** {{end}}{{nobr .Description}}{{if .DefaultValue}} Default: {{.DefaultValue}}{{end}}"
31
- {{- end}}
32
- {{end}}
33
-
34
-
35
- {{if .HasExtensions}}
36
-
37
- .. csv-table:: {{.LongName}} type extensions
38
- :header: "Extension", "Type", "Base", "Number", "Description"
39
- :widths: auto
40
- {{range .Extensions }}
41
- "{{.Name}}", "{{.LongType}}", "{{.ContainingLongType}}", "{{.Number}}", "{{nobr .Description}}{{if .DefaultValue}} Default: {{.DefaultValue}}{{end}}"
42
- {{- end}}
43
- {{end}}
44
-
45
- {{end}}
46
- ..
47
- end messages
48
-
49
- {{range .Enums}}
50
-
51
- .. _ref_{{.FullName}}:
52
-
53
- {{.LongName}}
54
- ------------------------------------------------------------------
55
-
56
- {{.Description}}
57
-
58
- .. csv-table:: Enum {{.LongName}} values
59
- :header: "Name", "Number", "Description"
60
- :widths: auto
61
- {{range .Values }}
62
- "{{.Name}}", "{{.Number}}", "{{nobr .Description}}"
63
- {{- end}}
64
-
65
- {{end}}
66
- ..
67
- end enums
68
-
69
- {{if .HasExtensions}}
70
-
71
- .. _ref_{{$file_name}}_extensions:
72
-
73
- File-level Extensions
74
- --------------------------------------------------------------------------------
75
-
76
- .. csv-table:: {{.Name}} file-level Extensions
77
- :header: "Extension", "Type", "Base", "Number", "Description"
78
- :widths: auto
79
- {{range .Extensions}}
80
- "{{.Name}}", "{{.LongType}}", "{{.ContainingLongType}}", "{{.Number}}", "{{nobr .Description}}{{if .DefaultValue}} Default: `{{.DefaultValue}}`{{end}}"
81
- {{- end}}
82
- {{end}}
83
- ..
84
- end HasExtensions
85
-
86
- {{range .Services}}
87
-
88
- .. _ref_{{.FullName}}:
89
-
90
- {{.Name}}
91
- ------------------------------------------------------------------
92
-
93
- {{.Description}}
94
-
95
- .. csv-table:: {{.Name}} service methods
96
- :header: "Method Name", "Request Type", "Response Type", "Description"
97
- :widths: auto
98
- {{range .Methods}}
99
- "{{.Name}}", ":ref:`ref_{{.RequestFullType}}`{{if .RequestStreaming}} stream{{end}}", ":ref:`ref_{{.ResponseFullType}}`{{if .ResponseStreaming}} stream{{end}}", "{{nobr .Description}}"
100
- {{- end}}
101
- {{end}}
102
- ..
103
- end services
104
-
105
- {{end}}
@@ -1,19 +0,0 @@
1
- Flyte Language and API specification
2
- ====================================
3
-
4
- The protocol buffers defined here provide a high level specification of various
5
- entities in Flyte control plane and data plane. It provides detailed definition
6
- and documentation of all these entities.
7
-
8
- .. toctree::
9
- :maxdepth: 1
10
- :caption: flyteidl
11
- :name: flyteidltoc
12
-
13
- docs/admin/index
14
- docs/core/index
15
- docs/datacatalog/index
16
- docs/event/index
17
- docs/plugins/index
18
- docs/service/index
19
- docs/contributing