@flyteorg/flyteidl2 2.0.0-alpha10
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/flyteidl2/common/authorization_pb.ts +323 -0
- package/flyteidl2/common/identifier_pb.ts +423 -0
- package/flyteidl2/common/identity_pb.ts +205 -0
- package/flyteidl2/common/list_pb.ts +232 -0
- package/flyteidl2/common/policy_pb.ts +76 -0
- package/flyteidl2/common/role_pb.ts +161 -0
- package/flyteidl2/common/runtime_version_pb.ts +76 -0
- package/flyteidl2/core/artifact_id_pb.ts +400 -0
- package/flyteidl2/core/catalog_pb.ts +215 -0
- package/flyteidl2/core/execution_pb.ts +641 -0
- package/flyteidl2/core/identifier_pb.ts +237 -0
- package/flyteidl2/core/interface_pb.ts +187 -0
- package/flyteidl2/core/literals_pb.ts +673 -0
- package/flyteidl2/core/security_pb.ts +310 -0
- package/flyteidl2/core/tasks_pb.ts +1088 -0
- package/flyteidl2/core/types_pb.ts +592 -0
- package/flyteidl2/imagebuilder/definition_pb.ts +535 -0
- package/flyteidl2/imagebuilder/payload_pb.ts +62 -0
- package/flyteidl2/imagebuilder/service_pb.ts +30 -0
- package/flyteidl2/logs/dataplane/payload_pb.ts +396 -0
- package/flyteidl2/plugins/dask_pb.ts +109 -0
- package/flyteidl2/plugins/ray_pb.ts +189 -0
- package/flyteidl2/plugins/spark_pb.ts +145 -0
- package/flyteidl2/secret/definition_pb.ts +310 -0
- package/flyteidl2/secret/payload_pb.ts +266 -0
- package/flyteidl2/secret/secret_pb.ts +63 -0
- package/flyteidl2/task/common_pb.ts +319 -0
- package/flyteidl2/task/environment_pb.ts +36 -0
- package/flyteidl2/task/run_pb.ts +177 -0
- package/flyteidl2/task/task_definition_pb.ts +417 -0
- package/flyteidl2/task/task_service_pb.ts +248 -0
- package/flyteidl2/trigger/trigger_definition_pb.ts +283 -0
- package/flyteidl2/trigger/trigger_service_pb.ts +451 -0
- package/flyteidl2/workflow/queue_service_pb.ts +245 -0
- package/flyteidl2/workflow/run_definition_pb.ts +1192 -0
- package/flyteidl2/workflow/run_logs_service_pb.ts +106 -0
- package/flyteidl2/workflow/run_service_pb.ts +870 -0
- package/flyteidl2/workflow/state_service_pb.ts +310 -0
- package/flyteidl2/workflow/translator_service_pb.ts +174 -0
- package/package.json +18 -0
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/core/identifier.proto (package flyteidl2.core, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file flyteidl2/core/identifier.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_flyteidl2_core_identifier: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("Ch9mbHl0ZWlkbDIvY29yZS9pZGVudGlmaWVyLnByb3RvEg5mbHl0ZWlkbDIuY29yZSKOAQoKSWRlbnRpZmllchIzCg1yZXNvdXJjZV90eXBlGAEgASgOMhwuZmx5dGVpZGwyLmNvcmUuUmVzb3VyY2VUeXBlEg8KB3Byb2plY3QYAiABKAkSDgoGZG9tYWluGAMgASgJEgwKBG5hbWUYBCABKAkSDwoHdmVyc2lvbhgFIAEoCRILCgNvcmcYBiABKAkiWQobV29ya2Zsb3dFeGVjdXRpb25JZGVudGlmaWVyEg8KB3Byb2plY3QYASABKAkSDgoGZG9tYWluGAIgASgJEgwKBG5hbWUYBCABKAkSCwoDb3JnGAUgASgJIm0KF05vZGVFeGVjdXRpb25JZGVudGlmaWVyEg8KB25vZGVfaWQYASABKAkSQQoMZXhlY3V0aW9uX2lkGAIgASgLMisuZmx5dGVpZGwyLmNvcmUuV29ya2Zsb3dFeGVjdXRpb25JZGVudGlmaWVyIqEBChdUYXNrRXhlY3V0aW9uSWRlbnRpZmllchIrCgd0YXNrX2lkGAEgASgLMhouZmx5dGVpZGwyLmNvcmUuSWRlbnRpZmllchJCChFub2RlX2V4ZWN1dGlvbl9pZBgCIAEoCzInLmZseXRlaWRsMi5jb3JlLk5vZGVFeGVjdXRpb25JZGVudGlmaWVyEhUKDXJldHJ5X2F0dGVtcHQYAyABKA0iaAoQU2lnbmFsSWRlbnRpZmllchIRCglzaWduYWxfaWQYASABKAkSQQoMZXhlY3V0aW9uX2lkGAIgASgLMisuZmx5dGVpZGwyLmNvcmUuV29ya2Zsb3dFeGVjdXRpb25JZGVudGlmaWVyKlUKDFJlc291cmNlVHlwZRIPCgtVTlNQRUNJRklFRBAAEggKBFRBU0sQARIMCghXT1JLRkxPVxACEg8KC0xBVU5DSF9QTEFOEAMSCwoHREFUQVNFVBAEQrQBChJjb20uZmx5dGVpZGwyLmNvcmVCD0lkZW50aWZpZXJQcm90b0gCUAFaMmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9jb3JlogIDRkNYqgIORmx5dGVpZGwyLkNvcmXKAg5GbHl0ZWlkbDJcQ29yZeICGkZseXRlaWRsMlxDb3JlXEdQQk1ldGFkYXRh6gIPRmx5dGVpZGwyOjpDb3JlYgZwcm90bzM");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Encapsulation of fields that uniquely identifies a Flyte resource.
|
|
17
|
+
*
|
|
18
|
+
* @generated from message flyteidl2.core.Identifier
|
|
19
|
+
*/
|
|
20
|
+
export type Identifier = Message<"flyteidl2.core.Identifier"> & {
|
|
21
|
+
/**
|
|
22
|
+
* Identifies the specific type of resource that this identifier corresponds to.
|
|
23
|
+
*
|
|
24
|
+
* @generated from field: flyteidl2.core.ResourceType resource_type = 1;
|
|
25
|
+
*/
|
|
26
|
+
resourceType: ResourceType;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Name of the project the resource belongs to.
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: string project = 2;
|
|
32
|
+
*/
|
|
33
|
+
project: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Name of the domain the resource belongs to.
|
|
37
|
+
* A domain can be considered as a subset within a specific project.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: string domain = 3;
|
|
40
|
+
*/
|
|
41
|
+
domain: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* User provided value for the resource.
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: string name = 4;
|
|
47
|
+
*/
|
|
48
|
+
name: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Specific version of the resource.
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string version = 5;
|
|
54
|
+
*/
|
|
55
|
+
version: string;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Optional, org key applied to the resource.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: string org = 6;
|
|
61
|
+
*/
|
|
62
|
+
org: string;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message flyteidl2.core.Identifier.
|
|
67
|
+
* Use `create(IdentifierSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const IdentifierSchema: GenMessage<Identifier> = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_flyteidl2_core_identifier, 0);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Encapsulation of fields that uniquely identifies a Flyte workflow execution
|
|
74
|
+
*
|
|
75
|
+
* @generated from message flyteidl2.core.WorkflowExecutionIdentifier
|
|
76
|
+
*/
|
|
77
|
+
export type WorkflowExecutionIdentifier = Message<"flyteidl2.core.WorkflowExecutionIdentifier"> & {
|
|
78
|
+
/**
|
|
79
|
+
* Name of the project the resource belongs to.
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: string project = 1;
|
|
82
|
+
*/
|
|
83
|
+
project: string;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Name of the domain the resource belongs to.
|
|
87
|
+
* A domain can be considered as a subset within a specific project.
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: string domain = 2;
|
|
90
|
+
*/
|
|
91
|
+
domain: string;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* User or system provided value for the resource.
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: string name = 4;
|
|
97
|
+
*/
|
|
98
|
+
name: string;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Optional, org key applied to the resource.
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: string org = 5;
|
|
104
|
+
*/
|
|
105
|
+
org: string;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message flyteidl2.core.WorkflowExecutionIdentifier.
|
|
110
|
+
* Use `create(WorkflowExecutionIdentifierSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
export const WorkflowExecutionIdentifierSchema: GenMessage<WorkflowExecutionIdentifier> = /*@__PURE__*/
|
|
113
|
+
messageDesc(file_flyteidl2_core_identifier, 1);
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Encapsulation of fields that identify a Flyte node execution entity.
|
|
117
|
+
*
|
|
118
|
+
* @generated from message flyteidl2.core.NodeExecutionIdentifier
|
|
119
|
+
*/
|
|
120
|
+
export type NodeExecutionIdentifier = Message<"flyteidl2.core.NodeExecutionIdentifier"> & {
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: string node_id = 1;
|
|
123
|
+
*/
|
|
124
|
+
nodeId: string;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from field: flyteidl2.core.WorkflowExecutionIdentifier execution_id = 2;
|
|
128
|
+
*/
|
|
129
|
+
executionId?: WorkflowExecutionIdentifier;
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Describes the message flyteidl2.core.NodeExecutionIdentifier.
|
|
134
|
+
* Use `create(NodeExecutionIdentifierSchema)` to create a new message.
|
|
135
|
+
*/
|
|
136
|
+
export const NodeExecutionIdentifierSchema: GenMessage<NodeExecutionIdentifier> = /*@__PURE__*/
|
|
137
|
+
messageDesc(file_flyteidl2_core_identifier, 2);
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Encapsulation of fields that identify a Flyte task execution entity.
|
|
141
|
+
*
|
|
142
|
+
* @generated from message flyteidl2.core.TaskExecutionIdentifier
|
|
143
|
+
*/
|
|
144
|
+
export type TaskExecutionIdentifier = Message<"flyteidl2.core.TaskExecutionIdentifier"> & {
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: flyteidl2.core.Identifier task_id = 1;
|
|
147
|
+
*/
|
|
148
|
+
taskId?: Identifier;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: flyteidl2.core.NodeExecutionIdentifier node_execution_id = 2;
|
|
152
|
+
*/
|
|
153
|
+
nodeExecutionId?: NodeExecutionIdentifier;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @generated from field: uint32 retry_attempt = 3;
|
|
157
|
+
*/
|
|
158
|
+
retryAttempt: number;
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Describes the message flyteidl2.core.TaskExecutionIdentifier.
|
|
163
|
+
* Use `create(TaskExecutionIdentifierSchema)` to create a new message.
|
|
164
|
+
*/
|
|
165
|
+
export const TaskExecutionIdentifierSchema: GenMessage<TaskExecutionIdentifier> = /*@__PURE__*/
|
|
166
|
+
messageDesc(file_flyteidl2_core_identifier, 3);
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Encapsulation of fields the uniquely identify a signal.
|
|
170
|
+
*
|
|
171
|
+
* @generated from message flyteidl2.core.SignalIdentifier
|
|
172
|
+
*/
|
|
173
|
+
export type SignalIdentifier = Message<"flyteidl2.core.SignalIdentifier"> & {
|
|
174
|
+
/**
|
|
175
|
+
* Unique identifier for a signal.
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: string signal_id = 1;
|
|
178
|
+
*/
|
|
179
|
+
signalId: string;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Identifies the Flyte workflow execution this signal belongs to.
|
|
183
|
+
*
|
|
184
|
+
* @generated from field: flyteidl2.core.WorkflowExecutionIdentifier execution_id = 2;
|
|
185
|
+
*/
|
|
186
|
+
executionId?: WorkflowExecutionIdentifier;
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Describes the message flyteidl2.core.SignalIdentifier.
|
|
191
|
+
* Use `create(SignalIdentifierSchema)` to create a new message.
|
|
192
|
+
*/
|
|
193
|
+
export const SignalIdentifierSchema: GenMessage<SignalIdentifier> = /*@__PURE__*/
|
|
194
|
+
messageDesc(file_flyteidl2_core_identifier, 4);
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Indicates a resource type within Flyte.
|
|
198
|
+
*
|
|
199
|
+
* @generated from enum flyteidl2.core.ResourceType
|
|
200
|
+
*/
|
|
201
|
+
export enum ResourceType {
|
|
202
|
+
/**
|
|
203
|
+
* @generated from enum value: UNSPECIFIED = 0;
|
|
204
|
+
*/
|
|
205
|
+
UNSPECIFIED = 0,
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @generated from enum value: TASK = 1;
|
|
209
|
+
*/
|
|
210
|
+
TASK = 1,
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @generated from enum value: WORKFLOW = 2;
|
|
214
|
+
*/
|
|
215
|
+
WORKFLOW = 2,
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* @generated from enum value: LAUNCH_PLAN = 3;
|
|
219
|
+
*/
|
|
220
|
+
LAUNCH_PLAN = 3,
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects.
|
|
224
|
+
* Eventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects
|
|
225
|
+
* in a similar manner to other Flyte objects
|
|
226
|
+
*
|
|
227
|
+
* @generated from enum value: DATASET = 4;
|
|
228
|
+
*/
|
|
229
|
+
DATASET = 4,
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Describes the enum flyteidl2.core.ResourceType.
|
|
234
|
+
*/
|
|
235
|
+
export const ResourceTypeSchema: GenEnum<ResourceType> = /*@__PURE__*/
|
|
236
|
+
enumDesc(file_flyteidl2_core_identifier, 0);
|
|
237
|
+
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/core/interface.proto (package flyteidl2.core, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import type { ArtifactID, ArtifactQuery, ArtifactTag } from "./artifact_id_pb.ts";
|
|
8
|
+
import { file_flyteidl2_core_artifact_id } from "./artifact_id_pb.ts";
|
|
9
|
+
import type { Literal } from "./literals_pb.ts";
|
|
10
|
+
import { file_flyteidl2_core_literals } from "./literals_pb.ts";
|
|
11
|
+
import type { LiteralType } from "./types_pb.ts";
|
|
12
|
+
import { file_flyteidl2_core_types } from "./types_pb.ts";
|
|
13
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the file flyteidl2/core/interface.proto.
|
|
17
|
+
*/
|
|
18
|
+
export const file_flyteidl2_core_interface: GenFile = /*@__PURE__*/
|
|
19
|
+
fileDesc("Ch5mbHl0ZWlkbDIvY29yZS9pbnRlcmZhY2UucHJvdG8SDmZseXRlaWRsMi5jb3JlIrYBCghWYXJpYWJsZRIpCgR0eXBlGAEgASgLMhsuZmx5dGVpZGwyLmNvcmUuTGl0ZXJhbFR5cGUSEwoLZGVzY3JpcHRpb24YAiABKAkSNwoTYXJ0aWZhY3RfcGFydGlhbF9pZBgDIAEoCzIaLmZseXRlaWRsMi5jb3JlLkFydGlmYWN0SUQSMQoMYXJ0aWZhY3RfdGFnGAQgASgLMhsuZmx5dGVpZGwyLmNvcmUuQXJ0aWZhY3RUYWcimAEKC1ZhcmlhYmxlTWFwEj0KCXZhcmlhYmxlcxgBIAMoCzIqLmZseXRlaWRsMi5jb3JlLlZhcmlhYmxlTWFwLlZhcmlhYmxlc0VudHJ5GkoKDlZhcmlhYmxlc0VudHJ5EgsKA2tleRgBIAEoCRInCgV2YWx1ZRgCIAEoCzIYLmZseXRlaWRsMi5jb3JlLlZhcmlhYmxlOgI4ASJrCg5UeXBlZEludGVyZmFjZRIrCgZpbnB1dHMYASABKAsyGy5mbHl0ZWlkbDIuY29yZS5WYXJpYWJsZU1hcBIsCgdvdXRwdXRzGAIgASgLMhsuZmx5dGVpZGwyLmNvcmUuVmFyaWFibGVNYXAi6gEKCVBhcmFtZXRlchIlCgN2YXIYASABKAsyGC5mbHl0ZWlkbDIuY29yZS5WYXJpYWJsZRIqCgdkZWZhdWx0GAIgASgLMhcuZmx5dGVpZGwyLmNvcmUuTGl0ZXJhbEgAEhIKCHJlcXVpcmVkGAMgASgISAASNwoOYXJ0aWZhY3RfcXVlcnkYBCABKAsyHS5mbHl0ZWlkbDIuY29yZS5BcnRpZmFjdFF1ZXJ5SAASMQoLYXJ0aWZhY3RfaWQYBSABKAsyGi5mbHl0ZWlkbDIuY29yZS5BcnRpZmFjdElESABCCgoIYmVoYXZpb3IingEKDFBhcmFtZXRlck1hcBJACgpwYXJhbWV0ZXJzGAEgAygLMiwuZmx5dGVpZGwyLmNvcmUuUGFyYW1ldGVyTWFwLlBhcmFtZXRlcnNFbnRyeRpMCg9QYXJhbWV0ZXJzRW50cnkSCwoDa2V5GAEgASgJEigKBXZhbHVlGAIgASgLMhkuZmx5dGVpZGwyLmNvcmUuUGFyYW1ldGVyOgI4AUKzAQoSY29tLmZseXRlaWRsMi5jb3JlQg5JbnRlcmZhY2VQcm90b0gCUAFaMmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9jb3JlogIDRkNYqgIORmx5dGVpZGwyLkNvcmXKAg5GbHl0ZWlkbDJcQ29yZeICGkZseXRlaWRsMlxDb3JlXEdQQk1ldGFkYXRh6gIPRmx5dGVpZGwyOjpDb3JlYgZwcm90bzM", [file_flyteidl2_core_artifact_id, file_flyteidl2_core_literals, file_flyteidl2_core_types]);
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Defines a strongly typed variable.
|
|
23
|
+
*
|
|
24
|
+
* @generated from message flyteidl2.core.Variable
|
|
25
|
+
*/
|
|
26
|
+
export type Variable = Message<"flyteidl2.core.Variable"> & {
|
|
27
|
+
/**
|
|
28
|
+
* Variable literal type.
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: flyteidl2.core.LiteralType type = 1;
|
|
31
|
+
*/
|
|
32
|
+
type?: LiteralType;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* +optional string describing input variable
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: string description = 2;
|
|
38
|
+
*/
|
|
39
|
+
description: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* +optional This object allows the user to specify how Artifacts are created.
|
|
43
|
+
* name, tag, partitions can be specified. The other fields (version and project/domain) are ignored.
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: flyteidl2.core.ArtifactID artifact_partial_id = 3;
|
|
46
|
+
*/
|
|
47
|
+
artifactPartialId?: ArtifactID;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: flyteidl2.core.ArtifactTag artifact_tag = 4;
|
|
51
|
+
*/
|
|
52
|
+
artifactTag?: ArtifactTag;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message flyteidl2.core.Variable.
|
|
57
|
+
* Use `create(VariableSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const VariableSchema: GenMessage<Variable> = /*@__PURE__*/
|
|
60
|
+
messageDesc(file_flyteidl2_core_interface, 0);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* A map of Variables
|
|
64
|
+
*
|
|
65
|
+
* @generated from message flyteidl2.core.VariableMap
|
|
66
|
+
*/
|
|
67
|
+
export type VariableMap = Message<"flyteidl2.core.VariableMap"> & {
|
|
68
|
+
/**
|
|
69
|
+
* Defines a map of variable names to variables.
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: map<string, flyteidl2.core.Variable> variables = 1;
|
|
72
|
+
*/
|
|
73
|
+
variables: { [key: string]: Variable };
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message flyteidl2.core.VariableMap.
|
|
78
|
+
* Use `create(VariableMapSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export const VariableMapSchema: GenMessage<VariableMap> = /*@__PURE__*/
|
|
81
|
+
messageDesc(file_flyteidl2_core_interface, 1);
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Defines strongly typed inputs and outputs.
|
|
85
|
+
*
|
|
86
|
+
* @generated from message flyteidl2.core.TypedInterface
|
|
87
|
+
*/
|
|
88
|
+
export type TypedInterface = Message<"flyteidl2.core.TypedInterface"> & {
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: flyteidl2.core.VariableMap inputs = 1;
|
|
91
|
+
*/
|
|
92
|
+
inputs?: VariableMap;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: flyteidl2.core.VariableMap outputs = 2;
|
|
96
|
+
*/
|
|
97
|
+
outputs?: VariableMap;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Describes the message flyteidl2.core.TypedInterface.
|
|
102
|
+
* Use `create(TypedInterfaceSchema)` to create a new message.
|
|
103
|
+
*/
|
|
104
|
+
export const TypedInterfaceSchema: GenMessage<TypedInterface> = /*@__PURE__*/
|
|
105
|
+
messageDesc(file_flyteidl2_core_interface, 2);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* A parameter is used as input to a launch plan and has
|
|
109
|
+
* the special ability to have a default value or mark itself as required.
|
|
110
|
+
*
|
|
111
|
+
* @generated from message flyteidl2.core.Parameter
|
|
112
|
+
*/
|
|
113
|
+
export type Parameter = Message<"flyteidl2.core.Parameter"> & {
|
|
114
|
+
/**
|
|
115
|
+
* +required Variable. Defines the type of the variable backing this parameter.
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: flyteidl2.core.Variable var = 1;
|
|
118
|
+
*/
|
|
119
|
+
var?: Variable;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* +optional
|
|
123
|
+
*
|
|
124
|
+
* @generated from oneof flyteidl2.core.Parameter.behavior
|
|
125
|
+
*/
|
|
126
|
+
behavior: {
|
|
127
|
+
/**
|
|
128
|
+
* Defines a default value that has to match the variable type defined.
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: flyteidl2.core.Literal default = 2;
|
|
131
|
+
*/
|
|
132
|
+
value: Literal;
|
|
133
|
+
case: "default";
|
|
134
|
+
} | {
|
|
135
|
+
/**
|
|
136
|
+
* +optional, is this value required to be filled.
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: bool required = 3;
|
|
139
|
+
*/
|
|
140
|
+
value: boolean;
|
|
141
|
+
case: "required";
|
|
142
|
+
} | {
|
|
143
|
+
/**
|
|
144
|
+
* This is an execution time search basically that should result in exactly one Artifact with a Type that
|
|
145
|
+
* matches the type of the variable.
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: flyteidl2.core.ArtifactQuery artifact_query = 4;
|
|
148
|
+
*/
|
|
149
|
+
value: ArtifactQuery;
|
|
150
|
+
case: "artifactQuery";
|
|
151
|
+
} | {
|
|
152
|
+
/**
|
|
153
|
+
* @generated from field: flyteidl2.core.ArtifactID artifact_id = 5;
|
|
154
|
+
*/
|
|
155
|
+
value: ArtifactID;
|
|
156
|
+
case: "artifactId";
|
|
157
|
+
} | { case: undefined; value?: undefined };
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Describes the message flyteidl2.core.Parameter.
|
|
162
|
+
* Use `create(ParameterSchema)` to create a new message.
|
|
163
|
+
*/
|
|
164
|
+
export const ParameterSchema: GenMessage<Parameter> = /*@__PURE__*/
|
|
165
|
+
messageDesc(file_flyteidl2_core_interface, 3);
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* A map of Parameters.
|
|
169
|
+
*
|
|
170
|
+
* @generated from message flyteidl2.core.ParameterMap
|
|
171
|
+
*/
|
|
172
|
+
export type ParameterMap = Message<"flyteidl2.core.ParameterMap"> & {
|
|
173
|
+
/**
|
|
174
|
+
* Defines a map of parameter names to parameters.
|
|
175
|
+
*
|
|
176
|
+
* @generated from field: map<string, flyteidl2.core.Parameter> parameters = 1;
|
|
177
|
+
*/
|
|
178
|
+
parameters: { [key: string]: Parameter };
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Describes the message flyteidl2.core.ParameterMap.
|
|
183
|
+
* Use `create(ParameterMapSchema)` to create a new message.
|
|
184
|
+
*/
|
|
185
|
+
export const ParameterMapSchema: GenMessage<ParameterMap> = /*@__PURE__*/
|
|
186
|
+
messageDesc(file_flyteidl2_core_interface, 4);
|
|
187
|
+
|