@flyteorg/flyteidl 0.24.8 → 0.24.11
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/README.md +18 -17
- package/gen/pb-js/flyteidl.d.ts +26 -8
- package/gen/pb-js/flyteidl.js +67 -16
- package/package.json +1 -1
- package/protos/docs/admin/index.rst +2 -3
- package/protos/docs/core/index.rst +3 -3
- package/protos/docs/datacatalog/index.rst +5 -5
- package/protos/docs/event/index.rst +3 -4
- package/protos/flyteidl/event/event.proto +8 -0
- package/protos/flyteidl/service/dataproxy.proto +3 -3
- package/protos/docs/admin/admin.rst +0 -3742
- package/protos/docs/core/core.rst +0 -3656
- package/protos/docs/datacatalog/datacatalog.rst +0 -1237
- package/protos/docs/event/event.rst +0 -690
- package/protos/docs/plugins/plugins.rst +0 -549
- package/protos/docs/service/service.rst +0 -353
package/README.md
CHANGED
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Flyteidl
|
|
2
|
+
|
|
3
|
+
This is one of the core repositories of Flyte. It contains the Specification of the Flyte Language using protobuf messages, the Backend API specification in gRPC, and Swagger REST. The repo contains the generated clients and protocol message structures in multiple languages. Along with the generated code, the repository also contains the Golang clients for Flyte's backend APIs (the services grouped under FlyteAdmin).
|
|
2
4
|
|
|
3
|
-
This is one of the core repositories of Flyte and contains the Specification of the Flyte Lanugage using protobuf messages, the Backend API specification in gRPC and Swagger REST. The repo contains generated clients and protocol message structures in multiple languages. Along-with the generated code, the repository also contains the Golang clients for Flyte's backend API's (the services grouped under Flyteadmin).
|
|
4
5
|
|
|
5
6
|
[](https://slack.flyte.org)
|
|
6
7
|
|
|
7
8
|
* [flyte.org](https://flyte.org)
|
|
8
9
|
* [Flyte Docs](http://docs.flyte.org)
|
|
9
|
-
* [
|
|
10
|
+
* [Flyteidl API reference documentation](https://docs.flyte.org/projects/flyteidl/en/stable/index.html)
|
|
10
11
|
|
|
11
|
-
## Contributing to
|
|
12
|
+
## Contributing to Flyteidl
|
|
12
13
|
|
|
13
|
-
## Tooling for
|
|
14
|
+
## Tooling for Flyteidl
|
|
14
15
|
|
|
15
|
-
1. Run ``make download_tooling`` to install generator dependencies
|
|
16
|
+
1. Run ``make download_tooling`` to install generator dependencies.
|
|
16
17
|
|
|
17
18
|
```bash
|
|
18
19
|
make download_tooling
|
|
19
20
|
```
|
|
20
21
|
|
|
21
|
-
2.
|
|
22
|
-
3.
|
|
22
|
+
2. Ensure Docker is installed locally.
|
|
23
|
+
3. Run ``make generate`` to generate all the code, mock client, and docs for FlyteAdmin Service.
|
|
23
24
|
|
|
24
25
|
```bash
|
|
25
26
|
make generate
|
|
26
27
|
```
|
|
27
28
|
|
|
28
|
-
4. To add new dependencies for documentation generation, modify ``doc-requirements.in`` and
|
|
29
|
+
4. To add new dependencies for documentation generation, modify ``doc-requirements.in`` and run
|
|
29
30
|
|
|
30
31
|
```bash
|
|
31
32
|
make doc-requirements.txt
|
|
@@ -33,8 +34,8 @@ This is one of the core repositories of Flyte and contains the Specification of
|
|
|
33
34
|
|
|
34
35
|
## Docs structure
|
|
35
36
|
|
|
36
|
-
The index.rst files for protos are
|
|
37
|
-
All the proto definitions are within protos/flyteidl and
|
|
37
|
+
The index.rst files for protos are arranged in parallel under the ``docs`` folder.
|
|
38
|
+
All the proto definitions are within ``protos/flyteidl`` and their corresponding docs are in ``protos/docs``.
|
|
38
39
|
|
|
39
40
|
```
|
|
40
41
|
docs
|
|
@@ -58,13 +59,13 @@ docs
|
|
|
58
59
|
│ └── service.rst
|
|
59
60
|
```
|
|
60
61
|
|
|
61
|
-
Each module in protos has
|
|
62
|
-
|
|
62
|
+
Each module in protos has a module in docs with the same name.
|
|
63
|
+
For example: ``protos/flyteidl/core`` has a module ``protos/docs/core`` under the ``docs`` folder which has the corresponding index and documentation files.
|
|
63
64
|
|
|
64
65
|
|
|
65
|
-
##
|
|
66
|
+
## Generating Documentation
|
|
66
67
|
|
|
67
|
-
* If
|
|
68
|
+
* If a new module is to be introduced, follow the structure for core files in `generate_protos.sh` file which helps generate the core documentation from its proto files.
|
|
68
69
|
```
|
|
69
70
|
core_proto_files=`ls protos/flyteidl/core/*.proto |xargs`
|
|
70
71
|
# Remove any currently generated file
|
|
@@ -72,7 +73,7 @@ eg : protos/flyteidl/core has same named doc structure placing it index and othe
|
|
|
72
73
|
protoc --doc_out=protos/docs/core --doc_opt=restructuredtext,core.rst -I=protos `echo $core_proto_files`
|
|
73
74
|
```
|
|
74
75
|
|
|
75
|
-
* ``make generate``
|
|
76
|
+
* ``make generate`` generates the modified rst files.
|
|
76
77
|
|
|
77
|
-
* ``make html``
|
|
78
|
+
* ``make html`` generates the Sphinx documentation from the docs folder that uses the modified rst files.
|
|
78
79
|
|
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -6245,6 +6245,15 @@ export namespace flyteidl {
|
|
|
6245
6245
|
|
|
6246
6246
|
/** NodeExecutionEvent nodeName */
|
|
6247
6247
|
nodeName?: (string|null);
|
|
6248
|
+
|
|
6249
|
+
/** NodeExecutionEvent eventVersion */
|
|
6250
|
+
eventVersion?: (number|null);
|
|
6251
|
+
|
|
6252
|
+
/** NodeExecutionEvent isParent */
|
|
6253
|
+
isParent?: (boolean|null);
|
|
6254
|
+
|
|
6255
|
+
/** NodeExecutionEvent isDynamic */
|
|
6256
|
+
isDynamic?: (boolean|null);
|
|
6248
6257
|
}
|
|
6249
6258
|
|
|
6250
6259
|
/** Represents a NodeExecutionEvent. */
|
|
@@ -6301,6 +6310,15 @@ export namespace flyteidl {
|
|
|
6301
6310
|
/** NodeExecutionEvent nodeName. */
|
|
6302
6311
|
public nodeName: string;
|
|
6303
6312
|
|
|
6313
|
+
/** NodeExecutionEvent eventVersion. */
|
|
6314
|
+
public eventVersion: number;
|
|
6315
|
+
|
|
6316
|
+
/** NodeExecutionEvent isParent. */
|
|
6317
|
+
public isParent: boolean;
|
|
6318
|
+
|
|
6319
|
+
/** NodeExecutionEvent isDynamic. */
|
|
6320
|
+
public isDynamic: boolean;
|
|
6321
|
+
|
|
6304
6322
|
/** NodeExecutionEvent outputResult. */
|
|
6305
6323
|
public outputResult?: ("outputUri"|"error"|"outputData");
|
|
6306
6324
|
|
|
@@ -17074,11 +17092,11 @@ export namespace flyteidl {
|
|
|
17074
17092
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
17075
17093
|
}
|
|
17076
17094
|
|
|
17077
|
-
/** Represents a
|
|
17078
|
-
class
|
|
17095
|
+
/** Represents a DataProxyService */
|
|
17096
|
+
class DataProxyService extends $protobuf.rpc.Service {
|
|
17079
17097
|
|
|
17080
17098
|
/**
|
|
17081
|
-
* Constructs a new
|
|
17099
|
+
* Constructs a new DataProxyService service.
|
|
17082
17100
|
* @param rpcImpl RPC implementation
|
|
17083
17101
|
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
17084
17102
|
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
@@ -17086,20 +17104,20 @@ export namespace flyteidl {
|
|
|
17086
17104
|
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
|
17087
17105
|
|
|
17088
17106
|
/**
|
|
17089
|
-
* Creates new
|
|
17107
|
+
* Creates new DataProxyService service using the specified rpc implementation.
|
|
17090
17108
|
* @param rpcImpl RPC implementation
|
|
17091
17109
|
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
17092
17110
|
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
17093
17111
|
* @returns RPC service. Useful where requests and/or responses are streamed.
|
|
17094
17112
|
*/
|
|
17095
|
-
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean):
|
|
17113
|
+
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DataProxyService;
|
|
17096
17114
|
|
|
17097
17115
|
/**
|
|
17098
17116
|
* Calls CreateUploadLocation.
|
|
17099
17117
|
* @param request CreateUploadLocationRequest message or plain object
|
|
17100
17118
|
* @param callback Node-style callback called with the error, if any, and CreateUploadLocationResponse
|
|
17101
17119
|
*/
|
|
17102
|
-
public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest, callback: flyteidl.service.
|
|
17120
|
+
public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest, callback: flyteidl.service.DataProxyService.CreateUploadLocationCallback): void;
|
|
17103
17121
|
|
|
17104
17122
|
/**
|
|
17105
17123
|
* Calls CreateUploadLocation.
|
|
@@ -17109,10 +17127,10 @@ export namespace flyteidl {
|
|
|
17109
17127
|
public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest): Promise<flyteidl.service.CreateUploadLocationResponse>;
|
|
17110
17128
|
}
|
|
17111
17129
|
|
|
17112
|
-
namespace
|
|
17130
|
+
namespace DataProxyService {
|
|
17113
17131
|
|
|
17114
17132
|
/**
|
|
17115
|
-
* Callback as used by {@link flyteidl.service.
|
|
17133
|
+
* Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}.
|
|
17116
17134
|
* @param error Error, if any
|
|
17117
17135
|
* @param [response] CreateUploadLocationResponse
|
|
17118
17136
|
*/
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -14890,6 +14890,9 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
14890
14890
|
* @property {string|null} [retryGroup] NodeExecutionEvent retryGroup
|
|
14891
14891
|
* @property {string|null} [specNodeId] NodeExecutionEvent specNodeId
|
|
14892
14892
|
* @property {string|null} [nodeName] NodeExecutionEvent nodeName
|
|
14893
|
+
* @property {number|null} [eventVersion] NodeExecutionEvent eventVersion
|
|
14894
|
+
* @property {boolean|null} [isParent] NodeExecutionEvent isParent
|
|
14895
|
+
* @property {boolean|null} [isDynamic] NodeExecutionEvent isDynamic
|
|
14893
14896
|
*/
|
|
14894
14897
|
|
|
14895
14898
|
/**
|
|
@@ -15027,6 +15030,30 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
15027
15030
|
*/
|
|
15028
15031
|
NodeExecutionEvent.prototype.nodeName = "";
|
|
15029
15032
|
|
|
15033
|
+
/**
|
|
15034
|
+
* NodeExecutionEvent eventVersion.
|
|
15035
|
+
* @member {number} eventVersion
|
|
15036
|
+
* @memberof flyteidl.event.NodeExecutionEvent
|
|
15037
|
+
* @instance
|
|
15038
|
+
*/
|
|
15039
|
+
NodeExecutionEvent.prototype.eventVersion = 0;
|
|
15040
|
+
|
|
15041
|
+
/**
|
|
15042
|
+
* NodeExecutionEvent isParent.
|
|
15043
|
+
* @member {boolean} isParent
|
|
15044
|
+
* @memberof flyteidl.event.NodeExecutionEvent
|
|
15045
|
+
* @instance
|
|
15046
|
+
*/
|
|
15047
|
+
NodeExecutionEvent.prototype.isParent = false;
|
|
15048
|
+
|
|
15049
|
+
/**
|
|
15050
|
+
* NodeExecutionEvent isDynamic.
|
|
15051
|
+
* @member {boolean} isDynamic
|
|
15052
|
+
* @memberof flyteidl.event.NodeExecutionEvent
|
|
15053
|
+
* @instance
|
|
15054
|
+
*/
|
|
15055
|
+
NodeExecutionEvent.prototype.isDynamic = false;
|
|
15056
|
+
|
|
15030
15057
|
// OneOf field names bound to virtual getters and setters
|
|
15031
15058
|
let $oneOfFields;
|
|
15032
15059
|
|
|
@@ -15106,6 +15133,12 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
15106
15133
|
$root.flyteidl.event.TaskNodeMetadata.encode(message.taskNodeMetadata, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
|
|
15107
15134
|
if (message.outputData != null && message.hasOwnProperty("outputData"))
|
|
15108
15135
|
$root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
|
|
15136
|
+
if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
|
|
15137
|
+
writer.uint32(/* id 16, wireType 0 =*/128).int32(message.eventVersion);
|
|
15138
|
+
if (message.isParent != null && message.hasOwnProperty("isParent"))
|
|
15139
|
+
writer.uint32(/* id 17, wireType 0 =*/136).bool(message.isParent);
|
|
15140
|
+
if (message.isDynamic != null && message.hasOwnProperty("isDynamic"))
|
|
15141
|
+
writer.uint32(/* id 18, wireType 0 =*/144).bool(message.isDynamic);
|
|
15109
15142
|
return writer;
|
|
15110
15143
|
};
|
|
15111
15144
|
|
|
@@ -15172,6 +15205,15 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
15172
15205
|
case 13:
|
|
15173
15206
|
message.nodeName = reader.string();
|
|
15174
15207
|
break;
|
|
15208
|
+
case 16:
|
|
15209
|
+
message.eventVersion = reader.int32();
|
|
15210
|
+
break;
|
|
15211
|
+
case 17:
|
|
15212
|
+
message.isParent = reader.bool();
|
|
15213
|
+
break;
|
|
15214
|
+
case 18:
|
|
15215
|
+
message.isDynamic = reader.bool();
|
|
15216
|
+
break;
|
|
15175
15217
|
default:
|
|
15176
15218
|
reader.skipType(tag & 7);
|
|
15177
15219
|
break;
|
|
@@ -15287,6 +15329,15 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
15287
15329
|
if (message.nodeName != null && message.hasOwnProperty("nodeName"))
|
|
15288
15330
|
if (!$util.isString(message.nodeName))
|
|
15289
15331
|
return "nodeName: string expected";
|
|
15332
|
+
if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
|
|
15333
|
+
if (!$util.isInteger(message.eventVersion))
|
|
15334
|
+
return "eventVersion: integer expected";
|
|
15335
|
+
if (message.isParent != null && message.hasOwnProperty("isParent"))
|
|
15336
|
+
if (typeof message.isParent !== "boolean")
|
|
15337
|
+
return "isParent: boolean expected";
|
|
15338
|
+
if (message.isDynamic != null && message.hasOwnProperty("isDynamic"))
|
|
15339
|
+
if (typeof message.isDynamic !== "boolean")
|
|
15340
|
+
return "isDynamic: boolean expected";
|
|
15290
15341
|
return null;
|
|
15291
15342
|
};
|
|
15292
15343
|
|
|
@@ -39769,41 +39820,41 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
39769
39820
|
return CreateUploadLocationRequest;
|
|
39770
39821
|
})();
|
|
39771
39822
|
|
|
39772
|
-
service.
|
|
39823
|
+
service.DataProxyService = (function() {
|
|
39773
39824
|
|
|
39774
39825
|
/**
|
|
39775
|
-
* Constructs a new
|
|
39826
|
+
* Constructs a new DataProxyService service.
|
|
39776
39827
|
* @memberof flyteidl.service
|
|
39777
|
-
* @classdesc Represents a
|
|
39828
|
+
* @classdesc Represents a DataProxyService
|
|
39778
39829
|
* @extends $protobuf.rpc.Service
|
|
39779
39830
|
* @constructor
|
|
39780
39831
|
* @param {$protobuf.RPCImpl} rpcImpl RPC implementation
|
|
39781
39832
|
* @param {boolean} [requestDelimited=false] Whether requests are length-delimited
|
|
39782
39833
|
* @param {boolean} [responseDelimited=false] Whether responses are length-delimited
|
|
39783
39834
|
*/
|
|
39784
|
-
function
|
|
39835
|
+
function DataProxyService(rpcImpl, requestDelimited, responseDelimited) {
|
|
39785
39836
|
$protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
|
|
39786
39837
|
}
|
|
39787
39838
|
|
|
39788
|
-
(
|
|
39839
|
+
(DataProxyService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = DataProxyService;
|
|
39789
39840
|
|
|
39790
39841
|
/**
|
|
39791
|
-
* Creates new
|
|
39842
|
+
* Creates new DataProxyService service using the specified rpc implementation.
|
|
39792
39843
|
* @function create
|
|
39793
|
-
* @memberof flyteidl.service.
|
|
39844
|
+
* @memberof flyteidl.service.DataProxyService
|
|
39794
39845
|
* @static
|
|
39795
39846
|
* @param {$protobuf.RPCImpl} rpcImpl RPC implementation
|
|
39796
39847
|
* @param {boolean} [requestDelimited=false] Whether requests are length-delimited
|
|
39797
39848
|
* @param {boolean} [responseDelimited=false] Whether responses are length-delimited
|
|
39798
|
-
* @returns {
|
|
39849
|
+
* @returns {DataProxyService} RPC service. Useful where requests and/or responses are streamed.
|
|
39799
39850
|
*/
|
|
39800
|
-
|
|
39851
|
+
DataProxyService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
|
|
39801
39852
|
return new this(rpcImpl, requestDelimited, responseDelimited);
|
|
39802
39853
|
};
|
|
39803
39854
|
|
|
39804
39855
|
/**
|
|
39805
|
-
* Callback as used by {@link flyteidl.service.
|
|
39806
|
-
* @memberof flyteidl.service.
|
|
39856
|
+
* Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}.
|
|
39857
|
+
* @memberof flyteidl.service.DataProxyService
|
|
39807
39858
|
* @typedef CreateUploadLocationCallback
|
|
39808
39859
|
* @type {function}
|
|
39809
39860
|
* @param {Error|null} error Error, if any
|
|
@@ -39813,28 +39864,28 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
39813
39864
|
/**
|
|
39814
39865
|
* Calls CreateUploadLocation.
|
|
39815
39866
|
* @function createUploadLocation
|
|
39816
|
-
* @memberof flyteidl.service.
|
|
39867
|
+
* @memberof flyteidl.service.DataProxyService
|
|
39817
39868
|
* @instance
|
|
39818
39869
|
* @param {flyteidl.service.ICreateUploadLocationRequest} request CreateUploadLocationRequest message or plain object
|
|
39819
|
-
* @param {flyteidl.service.
|
|
39870
|
+
* @param {flyteidl.service.DataProxyService.CreateUploadLocationCallback} callback Node-style callback called with the error, if any, and CreateUploadLocationResponse
|
|
39820
39871
|
* @returns {undefined}
|
|
39821
39872
|
* @variation 1
|
|
39822
39873
|
*/
|
|
39823
|
-
Object.defineProperty(
|
|
39874
|
+
Object.defineProperty(DataProxyService.prototype.createUploadLocation = function createUploadLocation(request, callback) {
|
|
39824
39875
|
return this.rpcCall(createUploadLocation, $root.flyteidl.service.CreateUploadLocationRequest, $root.flyteidl.service.CreateUploadLocationResponse, request, callback);
|
|
39825
39876
|
}, "name", { value: "CreateUploadLocation" });
|
|
39826
39877
|
|
|
39827
39878
|
/**
|
|
39828
39879
|
* Calls CreateUploadLocation.
|
|
39829
39880
|
* @function createUploadLocation
|
|
39830
|
-
* @memberof flyteidl.service.
|
|
39881
|
+
* @memberof flyteidl.service.DataProxyService
|
|
39831
39882
|
* @instance
|
|
39832
39883
|
* @param {flyteidl.service.ICreateUploadLocationRequest} request CreateUploadLocationRequest message or plain object
|
|
39833
39884
|
* @returns {Promise<flyteidl.service.CreateUploadLocationResponse>} Promise
|
|
39834
39885
|
* @variation 2
|
|
39835
39886
|
*/
|
|
39836
39887
|
|
|
39837
|
-
return
|
|
39888
|
+
return DataProxyService;
|
|
39838
39889
|
})();
|
|
39839
39890
|
|
|
39840
39891
|
service.UserInfoRequest = (function() {
|
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
Flyte Admin Service entities
|
|
2
2
|
============================
|
|
3
3
|
|
|
4
|
-
These are the control plane entities that can be used to
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
These are the control plane entities that can be used to communicate with the
|
|
5
|
+
FlyteAdmin service over gRPC or REST. The endpoint specification is defined in the
|
|
7
6
|
`Admin raw protos <https://github.com/flyteorg/flyteidl/blob/master/protos/flyteidl/admin>`__
|
|
8
7
|
|
|
9
8
|
.. toctree::
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Core Flyte language specification
|
|
2
2
|
=================================
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
structures like
|
|
6
|
-
of the various entities in Flyte
|
|
4
|
+
Protocol buffers provide details about core data
|
|
5
|
+
structures like :ref:`workflows <divedeep-workflows>`, :ref:`tasks <divedeep-tasks>`, :ref:`nodes <divedeep-nodes>`, and Literals. They are the specifications
|
|
6
|
+
of the various entities in Flyte and the type system.
|
|
7
7
|
|
|
8
8
|
`Core raw protos <https://github.com/flyteorg/flyteidl/blob/master/protos/flyteidl/core>`__
|
|
9
9
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Flyte Data Catalog Service
|
|
2
|
-
|
|
2
|
+
============================
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
to catalog artifacts generated by task executions.
|
|
7
|
-
data and tagged by the user so
|
|
4
|
+
Protos provides the interface definition for the Data Catalog Service. Data Catalog is a service to
|
|
5
|
+
index parameterized, strongly-typed data artifacts across revisions. It is used in the Flyte ecosystem
|
|
6
|
+
to catalog artifacts generated by the task executions. The output generated by a task can be stored as artifact
|
|
7
|
+
data and tagged by the user so as to be retrieved later by that tag.
|
|
8
8
|
|
|
9
9
|
`Datacatalog raw proto <https://github.com/flyteorg/flyteidl/blob/master/protos/flyteidl/datacatalog/datacatalog.proto>`__
|
|
10
10
|
|
|
@@ -9,14 +9,13 @@ External Eventing system.
|
|
|
9
9
|
Flyte Internal Eventing
|
|
10
10
|
========================
|
|
11
11
|
|
|
12
|
-
This is the interface used by the dataplane (execution engine) to communicate
|
|
13
|
-
workflow and task progress back to the **control plane** admin service.
|
|
12
|
+
This is the interface used by the dataplane (execution engine) to communicate with the control plane admin service about the workflow and task progress.
|
|
14
13
|
|
|
15
14
|
Flyte External Eventing - Event Egress
|
|
16
15
|
=======================================
|
|
17
16
|
|
|
18
|
-
This refers to the interface for all the event messages
|
|
19
|
-
**control plane** and
|
|
17
|
+
This refers to the interface for all the event messages leaving the Flyte
|
|
18
|
+
**control plane** and reaching on the configured pubsub channel.
|
|
20
19
|
|
|
21
20
|
`Event raw proto <https://github.com/flyteorg/flyteidl/blob/master/protos/flyteidl/event/event.proto>`__
|
|
22
21
|
|
|
@@ -87,6 +87,14 @@ message NodeExecutionEvent {
|
|
|
87
87
|
|
|
88
88
|
// Friendly readable name for the node
|
|
89
89
|
string node_name = 13;
|
|
90
|
+
|
|
91
|
+
int32 event_version = 16;
|
|
92
|
+
|
|
93
|
+
// Whether this node launched a subworkflow.
|
|
94
|
+
bool is_parent = 17;
|
|
95
|
+
|
|
96
|
+
// Whether this node yielded a dynamic workflow.
|
|
97
|
+
bool is_dynamic = 18;
|
|
90
98
|
}
|
|
91
99
|
|
|
92
100
|
// For Workflow Nodes we need to send information about the workflow that's launched
|
|
@@ -39,9 +39,9 @@ message CreateUploadLocationRequest {
|
|
|
39
39
|
google.protobuf.Duration expires_in = 4;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
//
|
|
43
|
-
service
|
|
44
|
-
//
|
|
42
|
+
// DataProxyService defines an RPC Service that allows access to user-data in a controlled manner.
|
|
43
|
+
service DataProxyService {
|
|
44
|
+
// CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain.
|
|
45
45
|
rpc CreateUploadLocation (CreateUploadLocationRequest) returns (CreateUploadLocationResponse) {
|
|
46
46
|
option (google.api.http) = {
|
|
47
47
|
post: "/api/v1/dataproxy/artifact_urn"
|