@flyteorg/flyteidl 0.24.18 → 0.24.21
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/package.json +1 -1
- package/protos/docs/admin/admin.rst +3765 -0
- package/protos/docs/core/core.rst +3656 -0
- package/protos/docs/datacatalog/datacatalog.rst +1237 -0
- package/protos/docs/event/event.rst +694 -0
- package/protos/docs/plugins/plugins.rst +549 -0
- package/protos/docs/service/service.rst +355 -0
|
@@ -0,0 +1,355 @@
|
|
|
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
|
+
<!-- end messages -->
|
|
16
|
+
|
|
17
|
+
<!-- end enums -->
|
|
18
|
+
|
|
19
|
+
<!-- end HasExtensions -->
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
.. _ref_flyteidl.service.AdminService:
|
|
24
|
+
|
|
25
|
+
AdminService
|
|
26
|
+
------------------------------------------------------------------
|
|
27
|
+
|
|
28
|
+
The following defines an RPC service that is also served over HTTP via grpc-gateway.
|
|
29
|
+
Standard response codes for both are defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go
|
|
30
|
+
|
|
31
|
+
.. csv-table:: AdminService service methods
|
|
32
|
+
:header: "Method Name", "Request Type", "Response Type", "Description"
|
|
33
|
+
:widths: auto
|
|
34
|
+
|
|
35
|
+
"CreateTask", ":ref:`ref_flyteidl.admin.TaskCreateRequest`", ":ref:`ref_flyteidl.admin.TaskCreateResponse`", "Create and upload a :ref:`ref_flyteidl.admin.Task` definition"
|
|
36
|
+
"GetTask", ":ref:`ref_flyteidl.admin.ObjectGetRequest`", ":ref:`ref_flyteidl.admin.Task`", "Fetch a :ref:`ref_flyteidl.admin.Task` definition."
|
|
37
|
+
"ListTaskIds", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierList`", "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of task objects."
|
|
38
|
+
"ListTasks", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.TaskList`", "Fetch a list of :ref:`ref_flyteidl.admin.Task` definitions."
|
|
39
|
+
"CreateWorkflow", ":ref:`ref_flyteidl.admin.WorkflowCreateRequest`", ":ref:`ref_flyteidl.admin.WorkflowCreateResponse`", "Create and upload a :ref:`ref_flyteidl.admin.Workflow` definition"
|
|
40
|
+
"GetWorkflow", ":ref:`ref_flyteidl.admin.ObjectGetRequest`", ":ref:`ref_flyteidl.admin.Workflow`", "Fetch a :ref:`ref_flyteidl.admin.Workflow` definition."
|
|
41
|
+
"ListWorkflowIds", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierList`", "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of workflow objects."
|
|
42
|
+
"ListWorkflows", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.WorkflowList`", "Fetch a list of :ref:`ref_flyteidl.admin.Workflow` definitions."
|
|
43
|
+
"CreateLaunchPlan", ":ref:`ref_flyteidl.admin.LaunchPlanCreateRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanCreateResponse`", "Create and upload a :ref:`ref_flyteidl.admin.LaunchPlan` definition"
|
|
44
|
+
"GetLaunchPlan", ":ref:`ref_flyteidl.admin.ObjectGetRequest`", ":ref:`ref_flyteidl.admin.LaunchPlan`", "Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition."
|
|
45
|
+
"GetActiveLaunchPlan", ":ref:`ref_flyteidl.admin.ActiveLaunchPlanRequest`", ":ref:`ref_flyteidl.admin.LaunchPlan`", "Fetch the active version of a :ref:`ref_flyteidl.admin.LaunchPlan`."
|
|
46
|
+
"ListActiveLaunchPlans", ":ref:`ref_flyteidl.admin.ActiveLaunchPlanListRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanList`", "List active versions of :ref:`ref_flyteidl.admin.LaunchPlan`."
|
|
47
|
+
"ListLaunchPlanIds", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityIdentifierList`", "Fetch a list of :ref:`ref_flyteidl.admin.NamedEntityIdentifier` of launch plan objects."
|
|
48
|
+
"ListLaunchPlans", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanList`", "Fetch a list of :ref:`ref_flyteidl.admin.LaunchPlan` definitions."
|
|
49
|
+
"UpdateLaunchPlan", ":ref:`ref_flyteidl.admin.LaunchPlanUpdateRequest`", ":ref:`ref_flyteidl.admin.LaunchPlanUpdateResponse`", "Updates the status of a registered :ref:`ref_flyteidl.admin.LaunchPlan`."
|
|
50
|
+
"CreateExecution", ":ref:`ref_flyteidl.admin.ExecutionCreateRequest`", ":ref:`ref_flyteidl.admin.ExecutionCreateResponse`", "Triggers the creation of a :ref:`ref_flyteidl.admin.Execution`"
|
|
51
|
+
"RelaunchExecution", ":ref:`ref_flyteidl.admin.ExecutionRelaunchRequest`", ":ref:`ref_flyteidl.admin.ExecutionCreateResponse`", "Triggers the creation of an identical :ref:`ref_flyteidl.admin.Execution`"
|
|
52
|
+
"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."
|
|
53
|
+
"GetExecution", ":ref:`ref_flyteidl.admin.WorkflowExecutionGetRequest`", ":ref:`ref_flyteidl.admin.Execution`", "Fetches a :ref:`ref_flyteidl.admin.Execution`."
|
|
54
|
+
"UpdateExecution", ":ref:`ref_flyteidl.admin.ExecutionUpdateRequest`", ":ref:`ref_flyteidl.admin.ExecutionUpdateResponse`", "Update execution belonging to project domain :ref:`ref_flyteidl.admin.Execution`."
|
|
55
|
+
"GetExecutionData", ":ref:`ref_flyteidl.admin.WorkflowExecutionGetDataRequest`", ":ref:`ref_flyteidl.admin.WorkflowExecutionGetDataResponse`", "Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`."
|
|
56
|
+
"ListExecutions", ":ref:`ref_flyteidl.admin.ResourceListRequest`", ":ref:`ref_flyteidl.admin.ExecutionList`", "Fetch a list of :ref:`ref_flyteidl.admin.Execution`."
|
|
57
|
+
"TerminateExecution", ":ref:`ref_flyteidl.admin.ExecutionTerminateRequest`", ":ref:`ref_flyteidl.admin.ExecutionTerminateResponse`", "Terminates an in-progress :ref:`ref_flyteidl.admin.Execution`."
|
|
58
|
+
"GetNodeExecution", ":ref:`ref_flyteidl.admin.NodeExecutionGetRequest`", ":ref:`ref_flyteidl.admin.NodeExecution`", "Fetches a :ref:`ref_flyteidl.admin.NodeExecution`."
|
|
59
|
+
"ListNodeExecutions", ":ref:`ref_flyteidl.admin.NodeExecutionListRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionList`", "Fetch a list of :ref:`ref_flyteidl.admin.NodeExecution`."
|
|
60
|
+
"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`."
|
|
61
|
+
"GetNodeExecutionData", ":ref:`ref_flyteidl.admin.NodeExecutionGetDataRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionGetDataResponse`", "Fetches input and output data for a :ref:`ref_flyteidl.admin.NodeExecution`."
|
|
62
|
+
"RegisterProject", ":ref:`ref_flyteidl.admin.ProjectRegisterRequest`", ":ref:`ref_flyteidl.admin.ProjectRegisterResponse`", "Registers a :ref:`ref_flyteidl.admin.Project` with the Flyte deployment."
|
|
63
|
+
"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."
|
|
64
|
+
"ListProjects", ":ref:`ref_flyteidl.admin.ProjectListRequest`", ":ref:`ref_flyteidl.admin.Projects`", "Fetches a list of :ref:`ref_flyteidl.admin.Project`"
|
|
65
|
+
"CreateWorkflowEvent", ":ref:`ref_flyteidl.admin.WorkflowExecutionEventRequest`", ":ref:`ref_flyteidl.admin.WorkflowExecutionEventResponse`", "Indicates a :ref:`ref_flyteidl.event.WorkflowExecutionEvent` has occurred."
|
|
66
|
+
"CreateNodeEvent", ":ref:`ref_flyteidl.admin.NodeExecutionEventRequest`", ":ref:`ref_flyteidl.admin.NodeExecutionEventResponse`", "Indicates a :ref:`ref_flyteidl.event.NodeExecutionEvent` has occurred."
|
|
67
|
+
"CreateTaskEvent", ":ref:`ref_flyteidl.admin.TaskExecutionEventRequest`", ":ref:`ref_flyteidl.admin.TaskExecutionEventResponse`", "Indicates a :ref:`ref_flyteidl.event.TaskExecutionEvent` has occurred."
|
|
68
|
+
"GetTaskExecution", ":ref:`ref_flyteidl.admin.TaskExecutionGetRequest`", ":ref:`ref_flyteidl.admin.TaskExecution`", "Fetches a :ref:`ref_flyteidl.admin.TaskExecution`."
|
|
69
|
+
"ListTaskExecutions", ":ref:`ref_flyteidl.admin.TaskExecutionListRequest`", ":ref:`ref_flyteidl.admin.TaskExecutionList`", "Fetches a list of :ref:`ref_flyteidl.admin.TaskExecution`."
|
|
70
|
+
"GetTaskExecutionData", ":ref:`ref_flyteidl.admin.TaskExecutionGetDataRequest`", ":ref:`ref_flyteidl.admin.TaskExecutionGetDataResponse`", "Fetches input and output data for a :ref:`ref_flyteidl.admin.TaskExecution`."
|
|
71
|
+
"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."
|
|
72
|
+
"GetProjectDomainAttributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesGetRequest`", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesGetResponse`", "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain."
|
|
73
|
+
"DeleteProjectDomainAttributes", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesDeleteRequest`", ":ref:`ref_flyteidl.admin.ProjectDomainAttributesDeleteResponse`", "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project and domain."
|
|
74
|
+
"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."
|
|
75
|
+
"GetWorkflowAttributes", ":ref:`ref_flyteidl.admin.WorkflowAttributesGetRequest`", ":ref:`ref_flyteidl.admin.WorkflowAttributesGetResponse`", "Fetches custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow."
|
|
76
|
+
"DeleteWorkflowAttributes", ":ref:`ref_flyteidl.admin.WorkflowAttributesDeleteRequest`", ":ref:`ref_flyteidl.admin.WorkflowAttributesDeleteResponse`", "Deletes custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a project, domain and workflow."
|
|
77
|
+
"ListMatchableAttributes", ":ref:`ref_flyteidl.admin.ListMatchableAttributesRequest`", ":ref:`ref_flyteidl.admin.ListMatchableAttributesResponse`", "Lists custom :ref:`ref_flyteidl.admin.MatchableAttributesConfiguration` for a specific resource type."
|
|
78
|
+
"ListNamedEntities", ":ref:`ref_flyteidl.admin.NamedEntityListRequest`", ":ref:`ref_flyteidl.admin.NamedEntityList`", "Returns a list of :ref:`ref_flyteidl.admin.NamedEntity` objects."
|
|
79
|
+
"GetNamedEntity", ":ref:`ref_flyteidl.admin.NamedEntityGetRequest`", ":ref:`ref_flyteidl.admin.NamedEntity`", "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object."
|
|
80
|
+
"UpdateNamedEntity", ":ref:`ref_flyteidl.admin.NamedEntityUpdateRequest`", ":ref:`ref_flyteidl.admin.NamedEntityUpdateResponse`", "Updates a :ref:`ref_flyteidl.admin.NamedEntity` object."
|
|
81
|
+
"GetVersion", ":ref:`ref_flyteidl.admin.GetVersionRequest`", ":ref:`ref_flyteidl.admin.GetVersionResponse`", ""
|
|
82
|
+
<!-- end services -->
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
.. _ref_flyteidl/service/auth.proto:
|
|
88
|
+
|
|
89
|
+
flyteidl/service/auth.proto
|
|
90
|
+
==================================================================
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
.. _ref_flyteidl.service.OAuth2MetadataRequest:
|
|
97
|
+
|
|
98
|
+
OAuth2MetadataRequest
|
|
99
|
+
------------------------------------------------------------------
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
.. _ref_flyteidl.service.OAuth2MetadataResponse:
|
|
111
|
+
|
|
112
|
+
OAuth2MetadataResponse
|
|
113
|
+
------------------------------------------------------------------
|
|
114
|
+
|
|
115
|
+
OAuth2MetadataResponse defines an RFC-Compliant response for /.well-known/oauth-authorization-server metadata
|
|
116
|
+
as defined in https://tools.ietf.org/html/rfc8414
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
.. csv-table:: OAuth2MetadataResponse type fields
|
|
121
|
+
:header: "Field", "Type", "Label", "Description"
|
|
122
|
+
:widths: auto
|
|
123
|
+
|
|
124
|
+
"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."
|
|
125
|
+
"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."
|
|
126
|
+
"token_endpoint", ":ref:`ref_string`", "", "URL of the authorization server's token endpoint [RFC6749]."
|
|
127
|
+
"response_types_supported", ":ref:`ref_string`", "repeated", "Array containing a list of the OAuth 2.0 response_type values that this authorization server supports."
|
|
128
|
+
"scopes_supported", ":ref:`ref_string`", "repeated", "JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports."
|
|
129
|
+
"token_endpoint_auth_methods_supported", ":ref:`ref_string`", "repeated", "JSON array containing a list of client authentication methods supported by this token endpoint."
|
|
130
|
+
"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."
|
|
131
|
+
"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."
|
|
132
|
+
"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."
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
.. _ref_flyteidl.service.PublicClientAuthConfigRequest:
|
|
141
|
+
|
|
142
|
+
PublicClientAuthConfigRequest
|
|
143
|
+
------------------------------------------------------------------
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
.. _ref_flyteidl.service.PublicClientAuthConfigResponse:
|
|
155
|
+
|
|
156
|
+
PublicClientAuthConfigResponse
|
|
157
|
+
------------------------------------------------------------------
|
|
158
|
+
|
|
159
|
+
FlyteClientResponse encapsulates public information that flyte clients (CLIs... etc.) can use to authenticate users.
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
.. csv-table:: PublicClientAuthConfigResponse type fields
|
|
164
|
+
:header: "Field", "Type", "Label", "Description"
|
|
165
|
+
:widths: auto
|
|
166
|
+
|
|
167
|
+
"client_id", ":ref:`ref_string`", "", "client_id to use when initiating OAuth2 authorization requests."
|
|
168
|
+
"redirect_uri", ":ref:`ref_string`", "", "redirect uri to use when initiating OAuth2 authorization requests."
|
|
169
|
+
"scopes", ":ref:`ref_string`", "repeated", "scopes to request when initiating OAuth2 authorization requests."
|
|
170
|
+
"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."
|
|
171
|
+
"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."
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
<!-- end messages -->
|
|
178
|
+
|
|
179
|
+
<!-- end enums -->
|
|
180
|
+
|
|
181
|
+
<!-- end HasExtensions -->
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
.. _ref_flyteidl.service.AuthMetadataService:
|
|
186
|
+
|
|
187
|
+
AuthMetadataService
|
|
188
|
+
------------------------------------------------------------------
|
|
189
|
+
|
|
190
|
+
The following defines an RPC service that is also served over HTTP via grpc-gateway.
|
|
191
|
+
Standard response codes for both are defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go
|
|
192
|
+
RPCs defined in this service must be anonymously accessible.
|
|
193
|
+
|
|
194
|
+
.. csv-table:: AuthMetadataService service methods
|
|
195
|
+
:header: "Method Name", "Request Type", "Response Type", "Description"
|
|
196
|
+
:widths: auto
|
|
197
|
+
|
|
198
|
+
"GetOAuth2Metadata", ":ref:`ref_flyteidl.service.OAuth2MetadataRequest`", ":ref:`ref_flyteidl.service.OAuth2MetadataResponse`", "Anonymously accessible. Retrieves local or external oauth authorization server metadata."
|
|
199
|
+
"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."
|
|
200
|
+
<!-- end services -->
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
.. _ref_flyteidl/service/dataproxy.proto:
|
|
206
|
+
|
|
207
|
+
flyteidl/service/dataproxy.proto
|
|
208
|
+
==================================================================
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
.. _ref_flyteidl.service.CreateUploadLocationRequest:
|
|
215
|
+
|
|
216
|
+
CreateUploadLocationRequest
|
|
217
|
+
------------------------------------------------------------------
|
|
218
|
+
|
|
219
|
+
CreateUploadLocationRequest specified request for the CreateUploadLocation API.
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
.. csv-table:: CreateUploadLocationRequest type fields
|
|
224
|
+
:header: "Field", "Type", "Label", "Description"
|
|
225
|
+
:widths: auto
|
|
226
|
+
|
|
227
|
+
"project", ":ref:`ref_string`", "", "Project to create the upload location for +required"
|
|
228
|
+
"domain", ":ref:`ref_string`", "", "Domain to create the upload location for. +required"
|
|
229
|
+
"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."
|
|
230
|
+
"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."
|
|
231
|
+
"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"
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
.. _ref_flyteidl.service.CreateUploadLocationResponse:
|
|
240
|
+
|
|
241
|
+
CreateUploadLocationResponse
|
|
242
|
+
------------------------------------------------------------------
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
.. csv-table:: CreateUploadLocationResponse type fields
|
|
249
|
+
:header: "Field", "Type", "Label", "Description"
|
|
250
|
+
:widths: auto
|
|
251
|
+
|
|
252
|
+
"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-...)"
|
|
253
|
+
"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)"
|
|
254
|
+
"expires_at", ":ref:`ref_google.protobuf.Timestamp`", "", "ExpiresAt defines when will the signed URL expires."
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
<!-- end messages -->
|
|
261
|
+
|
|
262
|
+
<!-- end enums -->
|
|
263
|
+
|
|
264
|
+
<!-- end HasExtensions -->
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
.. _ref_flyteidl.service.DataProxyService:
|
|
269
|
+
|
|
270
|
+
DataProxyService
|
|
271
|
+
------------------------------------------------------------------
|
|
272
|
+
|
|
273
|
+
DataProxyService defines an RPC Service that allows access to user-data in a controlled manner.
|
|
274
|
+
|
|
275
|
+
.. csv-table:: DataProxyService service methods
|
|
276
|
+
:header: "Method Name", "Request Type", "Response Type", "Description"
|
|
277
|
+
:widths: auto
|
|
278
|
+
|
|
279
|
+
"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."
|
|
280
|
+
<!-- end services -->
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
.. _ref_flyteidl/service/identity.proto:
|
|
286
|
+
|
|
287
|
+
flyteidl/service/identity.proto
|
|
288
|
+
==================================================================
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
.. _ref_flyteidl.service.UserInfoRequest:
|
|
295
|
+
|
|
296
|
+
UserInfoRequest
|
|
297
|
+
------------------------------------------------------------------
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
.. _ref_flyteidl.service.UserInfoResponse:
|
|
309
|
+
|
|
310
|
+
UserInfoResponse
|
|
311
|
+
------------------------------------------------------------------
|
|
312
|
+
|
|
313
|
+
See the OpenID Connect spec at https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse for more information.
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
.. csv-table:: UserInfoResponse type fields
|
|
318
|
+
:header: "Field", "Type", "Label", "Description"
|
|
319
|
+
:widths: auto
|
|
320
|
+
|
|
321
|
+
"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."
|
|
322
|
+
"name", ":ref:`ref_string`", "", "Full name"
|
|
323
|
+
"preferred_username", ":ref:`ref_string`", "", "Shorthand name by which the End-User wishes to be referred to"
|
|
324
|
+
"given_name", ":ref:`ref_string`", "", "Given name(s) or first name(s)"
|
|
325
|
+
"family_name", ":ref:`ref_string`", "", "Surname(s) or last name(s)"
|
|
326
|
+
"email", ":ref:`ref_string`", "", "Preferred e-mail address"
|
|
327
|
+
"picture", ":ref:`ref_string`", "", "Profile picture URL"
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
<!-- end messages -->
|
|
334
|
+
|
|
335
|
+
<!-- end enums -->
|
|
336
|
+
|
|
337
|
+
<!-- end HasExtensions -->
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
.. _ref_flyteidl.service.IdentityService:
|
|
342
|
+
|
|
343
|
+
IdentityService
|
|
344
|
+
------------------------------------------------------------------
|
|
345
|
+
|
|
346
|
+
IdentityService defines an RPC Service that interacts with user/app identities.
|
|
347
|
+
|
|
348
|
+
.. csv-table:: IdentityService service methods
|
|
349
|
+
:header: "Method Name", "Request Type", "Response Type", "Description"
|
|
350
|
+
:widths: auto
|
|
351
|
+
|
|
352
|
+
"UserInfo", ":ref:`ref_flyteidl.service.UserInfoRequest`", ":ref:`ref_flyteidl.service.UserInfoResponse`", "Retrieves user information about the currently logged in user."
|
|
353
|
+
<!-- end services -->
|
|
354
|
+
|
|
355
|
+
|