@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,248 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/task/task_service.proto (package flyteidl2.task, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { ProjectIdentifier } from "../common/identifier_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
10
|
+
import type { ListRequest } from "../common/list_pb.ts";
|
|
11
|
+
import { file_flyteidl2_common_list } from "../common/list_pb.ts";
|
|
12
|
+
import type { Task, TaskDetails, TaskIdentifier, TaskSpec, TaskTrigger } from "./task_definition_pb.ts";
|
|
13
|
+
import { file_flyteidl2_task_task_definition } from "./task_definition_pb.ts";
|
|
14
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes the file flyteidl2/task/task_service.proto.
|
|
18
|
+
*/
|
|
19
|
+
export const file_flyteidl2_task_task_service: GenFile = /*@__PURE__*/
|
|
20
|
+
fileDesc("CiFmbHl0ZWlkbDIvdGFzay90YXNrX3NlcnZpY2UucHJvdG8SDmZseXRlaWRsMi50YXNrIqsBChFEZXBsb3lUYXNrUmVxdWVzdBI3Cgd0YXNrX2lkGAEgASgLMh4uZmx5dGVpZGwyLnRhc2suVGFza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sMi50YXNrLkdldFRhc2tEZXRhaWxzUmVzcG9uc2UiA5ACARJVCglMaXN0VGFza3MSIC5mbHl0ZWlkbDIudGFzay5MaXN0VGFza3NSZXF1ZXN0GiEuZmx5dGVpZGwyLnRhc2suTGlzdFRhc2tzUmVzcG9uc2UiA5ACAUK1AQoSY29tLmZseXRlaWRsMi50YXNrQhBUYXNrU2VydmljZVByb3RvSAJQAVoyZ2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3Rhc2uiAgNGVFiqAg5GbHl0ZWlkbDIuVGFza8oCDkZseXRlaWRsMlxUYXNr4gIaRmx5dGVpZGwyXFRhc2tcR1BCTWV0YWRhdGHqAg9GbHl0ZWlkbDI6OlRhc2tiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_common_list, file_flyteidl2_task_task_definition]);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Request message for deploying a task.
|
|
24
|
+
*
|
|
25
|
+
* @generated from message flyteidl2.task.DeployTaskRequest
|
|
26
|
+
*/
|
|
27
|
+
export type DeployTaskRequest = Message<"flyteidl2.task.DeployTaskRequest"> & {
|
|
28
|
+
/**
|
|
29
|
+
* The user provided task id.
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: flyteidl2.task.TaskIdentifier task_id = 1;
|
|
32
|
+
*/
|
|
33
|
+
taskId?: TaskIdentifier;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Specification for the task.
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: flyteidl2.task.TaskSpec spec = 2;
|
|
39
|
+
*/
|
|
40
|
+
spec?: TaskSpec;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Optional, set of triggers for a given task. Replaces previous set of triggers entirely if any.
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: repeated flyteidl2.task.TaskTrigger triggers = 3;
|
|
46
|
+
*/
|
|
47
|
+
triggers: TaskTrigger[];
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message flyteidl2.task.DeployTaskRequest.
|
|
52
|
+
* Use `create(DeployTaskRequestSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const DeployTaskRequestSchema: GenMessage<DeployTaskRequest> = /*@__PURE__*/
|
|
55
|
+
messageDesc(file_flyteidl2_task_task_service, 0);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Response message for deploying a task.
|
|
59
|
+
*
|
|
60
|
+
* @generated from message flyteidl2.task.DeployTaskResponse
|
|
61
|
+
*/
|
|
62
|
+
export type DeployTaskResponse = Message<"flyteidl2.task.DeployTaskResponse"> & {
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message flyteidl2.task.DeployTaskResponse.
|
|
67
|
+
* Use `create(DeployTaskResponseSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const DeployTaskResponseSchema: GenMessage<DeployTaskResponse> = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_flyteidl2_task_task_service, 1);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Request message for getting detailed information about a task.
|
|
74
|
+
*
|
|
75
|
+
* @generated from message flyteidl2.task.GetTaskDetailsRequest
|
|
76
|
+
*/
|
|
77
|
+
export type GetTaskDetailsRequest = Message<"flyteidl2.task.GetTaskDetailsRequest"> & {
|
|
78
|
+
/**
|
|
79
|
+
* Id of the task.
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: flyteidl2.task.TaskIdentifier task_id = 1;
|
|
82
|
+
*/
|
|
83
|
+
taskId?: TaskIdentifier;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message flyteidl2.task.GetTaskDetailsRequest.
|
|
88
|
+
* Use `create(GetTaskDetailsRequestSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export const GetTaskDetailsRequestSchema: GenMessage<GetTaskDetailsRequest> = /*@__PURE__*/
|
|
91
|
+
messageDesc(file_flyteidl2_task_task_service, 2);
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Response message for deploying a task.
|
|
95
|
+
*
|
|
96
|
+
* @generated from message flyteidl2.task.GetTaskDetailsResponse
|
|
97
|
+
*/
|
|
98
|
+
export type GetTaskDetailsResponse = Message<"flyteidl2.task.GetTaskDetailsResponse"> & {
|
|
99
|
+
/**
|
|
100
|
+
* Detailed information about the task.
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: flyteidl2.task.TaskDetails details = 1;
|
|
103
|
+
*/
|
|
104
|
+
details?: TaskDetails;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Describes the message flyteidl2.task.GetTaskDetailsResponse.
|
|
109
|
+
* Use `create(GetTaskDetailsResponseSchema)` to create a new message.
|
|
110
|
+
*/
|
|
111
|
+
export const GetTaskDetailsResponseSchema: GenMessage<GetTaskDetailsResponse> = /*@__PURE__*/
|
|
112
|
+
messageDesc(file_flyteidl2_task_task_service, 3);
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from message flyteidl2.task.ListTasksRequest
|
|
116
|
+
*/
|
|
117
|
+
export type ListTasksRequest = Message<"flyteidl2.task.ListTasksRequest"> & {
|
|
118
|
+
/**
|
|
119
|
+
* Common list request parameters.
|
|
120
|
+
*
|
|
121
|
+
* @generated from field: flyteidl2.common.ListRequest request = 1;
|
|
122
|
+
*/
|
|
123
|
+
request?: ListRequest;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* @generated from oneof flyteidl2.task.ListTasksRequest.scope_by
|
|
127
|
+
*/
|
|
128
|
+
scopeBy: {
|
|
129
|
+
/**
|
|
130
|
+
* Organization name for filtering.
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: string org = 2;
|
|
133
|
+
*/
|
|
134
|
+
value: string;
|
|
135
|
+
case: "org";
|
|
136
|
+
} | {
|
|
137
|
+
/**
|
|
138
|
+
* Project identifier for filtering.
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: flyteidl2.common.ProjectIdentifier project_id = 3;
|
|
141
|
+
*/
|
|
142
|
+
value: ProjectIdentifier;
|
|
143
|
+
case: "projectId";
|
|
144
|
+
} | { case: undefined; value?: undefined };
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Known filters for listing tasks.
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: repeated flyteidl2.task.ListTasksRequest.KnownFilter known_filters = 4;
|
|
150
|
+
*/
|
|
151
|
+
knownFilters: ListTasksRequest_KnownFilter[];
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Describes the message flyteidl2.task.ListTasksRequest.
|
|
156
|
+
* Use `create(ListTasksRequestSchema)` to create a new message.
|
|
157
|
+
*/
|
|
158
|
+
export const ListTasksRequestSchema: GenMessage<ListTasksRequest> = /*@__PURE__*/
|
|
159
|
+
messageDesc(file_flyteidl2_task_task_service, 4);
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* @generated from message flyteidl2.task.ListTasksRequest.KnownFilter
|
|
163
|
+
*/
|
|
164
|
+
export type ListTasksRequest_KnownFilter = Message<"flyteidl2.task.ListTasksRequest.KnownFilter"> & {
|
|
165
|
+
/**
|
|
166
|
+
* @generated from oneof flyteidl2.task.ListTasksRequest.KnownFilter.filter_by
|
|
167
|
+
*/
|
|
168
|
+
filterBy: {
|
|
169
|
+
/**
|
|
170
|
+
* Filter by user
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: string deployed_by = 1;
|
|
173
|
+
*/
|
|
174
|
+
value: string;
|
|
175
|
+
case: "deployedBy";
|
|
176
|
+
} | { case: undefined; value?: undefined };
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Describes the message flyteidl2.task.ListTasksRequest.KnownFilter.
|
|
181
|
+
* Use `create(ListTasksRequest_KnownFilterSchema)` to create a new message.
|
|
182
|
+
*/
|
|
183
|
+
export const ListTasksRequest_KnownFilterSchema: GenMessage<ListTasksRequest_KnownFilter> = /*@__PURE__*/
|
|
184
|
+
messageDesc(file_flyteidl2_task_task_service, 4, 0);
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @generated from message flyteidl2.task.ListTasksResponse
|
|
188
|
+
*/
|
|
189
|
+
export type ListTasksResponse = Message<"flyteidl2.task.ListTasksResponse"> & {
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: repeated flyteidl2.task.Task tasks = 1;
|
|
192
|
+
*/
|
|
193
|
+
tasks: Task[];
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Pagination token for the next page of tasks.
|
|
197
|
+
*
|
|
198
|
+
* @generated from field: string token = 2;
|
|
199
|
+
*/
|
|
200
|
+
token: string;
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Describes the message flyteidl2.task.ListTasksResponse.
|
|
205
|
+
* Use `create(ListTasksResponseSchema)` to create a new message.
|
|
206
|
+
*/
|
|
207
|
+
export const ListTasksResponseSchema: GenMessage<ListTasksResponse> = /*@__PURE__*/
|
|
208
|
+
messageDesc(file_flyteidl2_task_task_service, 5);
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* TaskService provides an interface for managing tasks.
|
|
212
|
+
*
|
|
213
|
+
* @generated from service flyteidl2.task.TaskService
|
|
214
|
+
*/
|
|
215
|
+
export const TaskService: GenService<{
|
|
216
|
+
/**
|
|
217
|
+
* Deploy a task.
|
|
218
|
+
*
|
|
219
|
+
* @generated from rpc flyteidl2.task.TaskService.DeployTask
|
|
220
|
+
*/
|
|
221
|
+
deployTask: {
|
|
222
|
+
methodKind: "unary";
|
|
223
|
+
input: typeof DeployTaskRequestSchema;
|
|
224
|
+
output: typeof DeployTaskResponseSchema;
|
|
225
|
+
},
|
|
226
|
+
/**
|
|
227
|
+
* Get detailed information about a task.
|
|
228
|
+
*
|
|
229
|
+
* @generated from rpc flyteidl2.task.TaskService.GetTaskDetails
|
|
230
|
+
*/
|
|
231
|
+
getTaskDetails: {
|
|
232
|
+
methodKind: "unary";
|
|
233
|
+
input: typeof GetTaskDetailsRequestSchema;
|
|
234
|
+
output: typeof GetTaskDetailsResponseSchema;
|
|
235
|
+
},
|
|
236
|
+
/**
|
|
237
|
+
* Lists tasks, one per task name, returning the latest version and who it was deployed by.
|
|
238
|
+
*
|
|
239
|
+
* @generated from rpc flyteidl2.task.TaskService.ListTasks
|
|
240
|
+
*/
|
|
241
|
+
listTasks: {
|
|
242
|
+
methodKind: "unary";
|
|
243
|
+
input: typeof ListTasksRequestSchema;
|
|
244
|
+
output: typeof ListTasksResponseSchema;
|
|
245
|
+
},
|
|
246
|
+
}> = /*@__PURE__*/
|
|
247
|
+
serviceDesc(file_flyteidl2_task_task_service, 0);
|
|
248
|
+
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/trigger/trigger_definition.proto (package flyteidl2.trigger, 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 { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { TriggerIdentifier } from "../common/identifier_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
10
|
+
import type { EnrichedIdentity } from "../common/identity_pb.ts";
|
|
11
|
+
import { file_flyteidl2_common_identity } from "../common/identity_pb.ts";
|
|
12
|
+
import type { Inputs, TriggerAutomationSpec } from "../task/common_pb.ts";
|
|
13
|
+
import { file_flyteidl2_task_common } from "../task/common_pb.ts";
|
|
14
|
+
import type { RunSpec } from "../task/run_pb.ts";
|
|
15
|
+
import { file_flyteidl2_task_run } from "../task/run_pb.ts";
|
|
16
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
17
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
18
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the file flyteidl2/trigger/trigger_definition.proto.
|
|
22
|
+
*/
|
|
23
|
+
export const file_flyteidl2_trigger_trigger_definition: GenFile = /*@__PURE__*/
|
|
24
|
+
fileDesc("CipmbHl0ZWlkbDIvdHJpZ2dlci90cmlnZ2VyX2RlZmluaXRpb24ucHJvdG8SEWZseXRlaWRsMi50cmlnZ2VyIpIBCg9UcmlnZ2VyTWV0YWRhdGESPwoLZGVwbG95ZWRfYnkYASABKAsyIi5mbHl0ZWlkbDIuY29tbW9uLkVucmljaGVkSWRlbnRpdHlCBrpIA8gBARI+Cgp1cGRhdGVkX2J5GAIgASgLMiIuZmx5dGVpZGwyLmNvbW1vbi5FbnJpY2hlZElkZW50aXR5Qga6SAPIAQEilwEKC1RyaWdnZXJTcGVjEiYKBmlucHV0cxgCIAEoCzIWLmZseXRlaWRsMi50YXNrLklucHV0cxIpCghydW5fc3BlYxgDIAEoCzIXLmZseXRlaWRsMi50YXNrLlJ1blNwZWMSDgoGYWN0aXZlGAQgASgIEh8KDHRhc2tfdmVyc2lvbhgFIAEoCUIJukgGcgQQARg/SgQIARACIuIBCg1UcmlnZ2VyU3RhdHVzEjcKC2RlcGxveWVkX2F0GAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEIGukgDyAEBEjYKCnVwZGF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQga6SAPIAQESMAoMdHJpZ2dlcmVkX2F0GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgpkZWxldGVkX2F0GAQgASgLMhouZ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0aW9uU3BlY0oECAQQBSrWAQoVVHJpZ2dlclJldmlzaW9uQWN0aW9uEicKI1RSSUdHRVJfUkVWSVNJT05fQUNUSU9OX1VOU1BFQ0lGSUVEEAASIgoeVFJJR0dFUl9SRVZJU0lPTl9BQ1RJT05fREVQTE9ZEAESJAogVFJJR0dFUl9SRVZJU0lPTl9BQ1RJT05fQUNUSVZBVEUQAhImCiJUUklHR0VSX1JFVklTSU9OX0FDVElPTl9ERUFDVElWQVRFEAMSIgoeVFJJR0dFUl9SRVZJU0lPTl9BQ1RJT05fREVMRVRFEARCzQEKFWNvbS5mbHl0ZWlkbDIudHJpZ2dlckIWVHJpZ2dlckRlZmluaXRpb25Qcm90b0gCUAFaNWdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi90cmlnZ2VyogIDRlRYqgIRRmx5dGVpZGwyLlRyaWdnZXLKAhFGbHl0ZWlkbDJcVHJpZ2dlcuICHUZseXRlaWRsMlxUcmlnZ2VyXEdQQk1ldGFkYXRh6gISRmx5dGVpZGwyOjpUcmlnZ2VyYgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_common_identity, file_flyteidl2_task_common, file_flyteidl2_task_run, file_google_protobuf_timestamp]);
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @generated from message flyteidl2.trigger.TriggerMetadata
|
|
28
|
+
*/
|
|
29
|
+
export type TriggerMetadata = Message<"flyteidl2.trigger.TriggerMetadata"> & {
|
|
30
|
+
/**
|
|
31
|
+
* Identity that last deployed the trigger
|
|
32
|
+
*
|
|
33
|
+
* @generated from field: flyteidl2.common.EnrichedIdentity deployed_by = 1;
|
|
34
|
+
*/
|
|
35
|
+
deployedBy?: EnrichedIdentity;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Identity that last activated or deactivated the trigger
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: flyteidl2.common.EnrichedIdentity updated_by = 2;
|
|
41
|
+
*/
|
|
42
|
+
updatedBy?: EnrichedIdentity;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message flyteidl2.trigger.TriggerMetadata.
|
|
47
|
+
* Use `create(TriggerMetadataSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export const TriggerMetadataSchema: GenMessage<TriggerMetadata> = /*@__PURE__*/
|
|
50
|
+
messageDesc(file_flyteidl2_trigger_trigger_definition, 0);
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @generated from message flyteidl2.trigger.TriggerSpec
|
|
54
|
+
*/
|
|
55
|
+
export type TriggerSpec = Message<"flyteidl2.trigger.TriggerSpec"> & {
|
|
56
|
+
/**
|
|
57
|
+
* Inputs for triggered task.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: flyteidl2.task.Inputs inputs = 2;
|
|
60
|
+
*/
|
|
61
|
+
inputs?: Inputs;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* The run spec for triggered task.
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: flyteidl2.task.RunSpec run_spec = 3;
|
|
67
|
+
*/
|
|
68
|
+
runSpec?: RunSpec;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Whether trigger is active
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: bool active = 4;
|
|
74
|
+
*/
|
|
75
|
+
active: boolean;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Task version together with trigger name will give us the unique task id
|
|
79
|
+
*
|
|
80
|
+
* @generated from field: string task_version = 5;
|
|
81
|
+
*/
|
|
82
|
+
taskVersion: string;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Describes the message flyteidl2.trigger.TriggerSpec.
|
|
87
|
+
* Use `create(TriggerSpecSchema)` to create a new message.
|
|
88
|
+
*/
|
|
89
|
+
export const TriggerSpecSchema: GenMessage<TriggerSpec> = /*@__PURE__*/
|
|
90
|
+
messageDesc(file_flyteidl2_trigger_trigger_definition, 1);
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @generated from message flyteidl2.trigger.TriggerStatus
|
|
94
|
+
*/
|
|
95
|
+
export type TriggerStatus = Message<"flyteidl2.trigger.TriggerStatus"> & {
|
|
96
|
+
/**
|
|
97
|
+
* The first time trigger was deployed.
|
|
98
|
+
*
|
|
99
|
+
* @generated from field: google.protobuf.Timestamp deployed_at = 1;
|
|
100
|
+
*/
|
|
101
|
+
deployedAt?: Timestamp;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* The last time the trigger was updated.
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 2;
|
|
107
|
+
*/
|
|
108
|
+
updatedAt?: Timestamp;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* The last time the trigger fired.
|
|
112
|
+
*
|
|
113
|
+
* @generated from field: google.protobuf.Timestamp triggered_at = 3;
|
|
114
|
+
*/
|
|
115
|
+
triggeredAt?: Timestamp;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* The time trigger was deleted.
|
|
119
|
+
*
|
|
120
|
+
* @generated from field: google.protobuf.Timestamp deleted_at = 4;
|
|
121
|
+
*/
|
|
122
|
+
deletedAt?: Timestamp;
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Describes the message flyteidl2.trigger.TriggerStatus.
|
|
127
|
+
* Use `create(TriggerStatusSchema)` to create a new message.
|
|
128
|
+
*/
|
|
129
|
+
export const TriggerStatusSchema: GenMessage<TriggerStatus> = /*@__PURE__*/
|
|
130
|
+
messageDesc(file_flyteidl2_trigger_trigger_definition, 2);
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Light-weight information about a single trigger revision
|
|
134
|
+
*
|
|
135
|
+
* @generated from message flyteidl2.trigger.TriggerRevision
|
|
136
|
+
*/
|
|
137
|
+
export type TriggerRevision = Message<"flyteidl2.trigger.TriggerRevision"> & {
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: flyteidl2.common.TriggerIdentifier id = 1;
|
|
140
|
+
*/
|
|
141
|
+
id?: TriggerIdentifier;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: flyteidl2.trigger.TriggerMetadata metadata = 2;
|
|
145
|
+
*/
|
|
146
|
+
metadata?: TriggerMetadata;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @generated from field: flyteidl2.trigger.TriggerStatus status = 3;
|
|
150
|
+
*/
|
|
151
|
+
status?: TriggerStatus;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: flyteidl2.trigger.TriggerRevisionAction action = 4;
|
|
155
|
+
*/
|
|
156
|
+
action: TriggerRevisionAction;
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Describes the message flyteidl2.trigger.TriggerRevision.
|
|
161
|
+
* Use `create(TriggerRevisionSchema)` to create a new message.
|
|
162
|
+
*/
|
|
163
|
+
export const TriggerRevisionSchema: GenMessage<TriggerRevision> = /*@__PURE__*/
|
|
164
|
+
messageDesc(file_flyteidl2_trigger_trigger_definition, 3);
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Full details about a trigger stored in DB
|
|
168
|
+
*
|
|
169
|
+
* @generated from message flyteidl2.trigger.TriggerDetails
|
|
170
|
+
*/
|
|
171
|
+
export type TriggerDetails = Message<"flyteidl2.trigger.TriggerDetails"> & {
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: flyteidl2.common.TriggerIdentifier id = 1;
|
|
174
|
+
*/
|
|
175
|
+
id?: TriggerIdentifier;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: flyteidl2.trigger.TriggerMetadata metadata = 2;
|
|
179
|
+
*/
|
|
180
|
+
metadata?: TriggerMetadata;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: flyteidl2.trigger.TriggerSpec spec = 3;
|
|
184
|
+
*/
|
|
185
|
+
spec?: TriggerSpec;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @generated from field: flyteidl2.trigger.TriggerStatus status = 4;
|
|
189
|
+
*/
|
|
190
|
+
status?: TriggerStatus;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Optional automation spec.
|
|
194
|
+
*
|
|
195
|
+
* @generated from field: flyteidl2.task.TriggerAutomationSpec automation_spec = 5;
|
|
196
|
+
*/
|
|
197
|
+
automationSpec?: TriggerAutomationSpec;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Describes the message flyteidl2.trigger.TriggerDetails.
|
|
202
|
+
* Use `create(TriggerDetailsSchema)` to create a new message.
|
|
203
|
+
*/
|
|
204
|
+
export const TriggerDetailsSchema: GenMessage<TriggerDetails> = /*@__PURE__*/
|
|
205
|
+
messageDesc(file_flyteidl2_trigger_trigger_definition, 4);
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Light-weight information about trigger for a list view
|
|
209
|
+
*
|
|
210
|
+
* @generated from message flyteidl2.trigger.Trigger
|
|
211
|
+
*/
|
|
212
|
+
export type Trigger = Message<"flyteidl2.trigger.Trigger"> & {
|
|
213
|
+
/**
|
|
214
|
+
* @generated from field: flyteidl2.common.TriggerIdentifier id = 1;
|
|
215
|
+
*/
|
|
216
|
+
id?: TriggerIdentifier;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* @generated from field: flyteidl2.trigger.TriggerMetadata metadata = 2;
|
|
220
|
+
*/
|
|
221
|
+
metadata?: TriggerMetadata;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: flyteidl2.trigger.TriggerStatus status = 3;
|
|
225
|
+
*/
|
|
226
|
+
status?: TriggerStatus;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: bool active = 5;
|
|
230
|
+
*/
|
|
231
|
+
active: boolean;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: flyteidl2.task.TriggerAutomationSpec automation_spec = 6;
|
|
235
|
+
*/
|
|
236
|
+
automationSpec?: TriggerAutomationSpec;
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Describes the message flyteidl2.trigger.Trigger.
|
|
241
|
+
* Use `create(TriggerSchema)` to create a new message.
|
|
242
|
+
*/
|
|
243
|
+
export const TriggerSchema: GenMessage<Trigger> = /*@__PURE__*/
|
|
244
|
+
messageDesc(file_flyteidl2_trigger_trigger_definition, 5);
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Stores human- and machine-friendly explanation of what changed in the revision
|
|
248
|
+
*
|
|
249
|
+
* @generated from enum flyteidl2.trigger.TriggerRevisionAction
|
|
250
|
+
*/
|
|
251
|
+
export enum TriggerRevisionAction {
|
|
252
|
+
/**
|
|
253
|
+
* @generated from enum value: TRIGGER_REVISION_ACTION_UNSPECIFIED = 0;
|
|
254
|
+
*/
|
|
255
|
+
UNSPECIFIED = 0,
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @generated from enum value: TRIGGER_REVISION_ACTION_DEPLOY = 1;
|
|
259
|
+
*/
|
|
260
|
+
DEPLOY = 1,
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @generated from enum value: TRIGGER_REVISION_ACTION_ACTIVATE = 2;
|
|
264
|
+
*/
|
|
265
|
+
ACTIVATE = 2,
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* @generated from enum value: TRIGGER_REVISION_ACTION_DEACTIVATE = 3;
|
|
269
|
+
*/
|
|
270
|
+
DEACTIVATE = 3,
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @generated from enum value: TRIGGER_REVISION_ACTION_DELETE = 4;
|
|
274
|
+
*/
|
|
275
|
+
DELETE = 4,
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Describes the enum flyteidl2.trigger.TriggerRevisionAction.
|
|
280
|
+
*/
|
|
281
|
+
export const TriggerRevisionActionSchema: GenEnum<TriggerRevisionAction> = /*@__PURE__*/
|
|
282
|
+
enumDesc(file_flyteidl2_trigger_trigger_definition, 0);
|
|
283
|
+
|