@flyteorg/flyteidl2 2.0.7 → 2.0.14
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/actions/actions_service_pb.ts +70 -1
- package/flyteidl2/auth/auth_service_pb.ts +9 -2
- package/flyteidl2/cluster/payload_pb.ts +147 -0
- package/flyteidl2/cluster/service_pb.ts +30 -0
- package/flyteidl2/common/phase_pb.ts +9 -1
- package/flyteidl2/common/role_pb.ts +9 -1
- package/flyteidl2/common/run_pb.ts +39 -0
- package/flyteidl2/core/execution_pb.ts +112 -11
- package/flyteidl2/core/literals_pb.ts +103 -4
- package/flyteidl2/core/tasks_pb.ts +29 -3
- package/flyteidl2/dataproxy/dataproxy_service_pb.ts +407 -5
- package/flyteidl2/logs/dataplane/payload_pb.ts +9 -1
- package/flyteidl2/notification/definition_pb.ts +319 -0
- package/flyteidl2/org/domain_definition_pb.ts +68 -0
- package/flyteidl2/org/domain_service_pb.ts +335 -0
- package/flyteidl2/secret/payload_pb.ts +25 -1
- package/flyteidl2/settings/settings_definition_pb.ts +535 -0
- package/flyteidl2/settings/settings_service_pb.ts +301 -0
- package/flyteidl2/task/run_pb.ts +84 -1
- package/flyteidl2/task/task_service_pb.ts +9 -1
- package/flyteidl2/workflow/events_proxy_service_pb.ts +72 -0
- package/flyteidl2/workflow/internal_run_service_pb.ts +494 -0
- package/flyteidl2/workflow/queue_service_pb.ts +1 -2
- package/flyteidl2/workflow/run_definition_pb.ts +105 -90
- package/flyteidl2/workflow/run_info_pb.ts +59 -0
- package/flyteidl2/workflow/run_logs_service_pb.ts +4 -1
- package/flyteidl2/workflow/run_service_pb.ts +161 -19
- package/flyteidl2/workflow/state_service_pb.ts +10 -1
- package/package.json +1 -1
- package/flyteidl2/core/errors_pb.ts +0 -104
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/notification/definition.proto (package flyteidl2.notification, 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 { RunIdentifier } from "../common/identifier_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
10
|
+
import type { ActionPhase } from "../common/phase_pb.ts";
|
|
11
|
+
import { file_flyteidl2_common_phase } from "../common/phase_pb.ts";
|
|
12
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the file flyteidl2/notification/definition.proto.
|
|
16
|
+
*/
|
|
17
|
+
export const file_flyteidl2_notification_definition: GenFile = /*@__PURE__*/
|
|
18
|
+
fileDesc("CidmbHl0ZWlkbDIvbm90aWZpY2F0aW9uL2RlZmluaXRpb24ucHJvdG8SFmZseXRlaWRsMi5ub3RpZmljYXRpb24ijgIKFkRlbGl2ZXJ5Q29uZmlnVGVtcGxhdGUSQAoHd2ViaG9vaxgBIAEoCzIvLmZseXRlaWRsMi5ub3RpZmljYXRpb24uV2ViaG9va0RlbGl2ZXJ5VGVtcGxhdGUSPAoFZW1haWwYAiABKAsyLS5mbHl0ZWlkbDIubm90aWZpY2F0aW9uLkVtYWlsRGVsaXZlcnlUZW1wbGF0ZTp0ukhxGm8KFWF0X2xlYXN0X29uZV9yZXF1aXJlZBIwYXQgbGVhc3Qgb25lIG9mIHRoZSBkZWxpdmVyeSBvcHRpb25zIG11c3QgYmUgc2V0GiRoYXModGhpcy53ZWJob29rKSB8fCBoYXModGhpcy5lbWFpbCkimQEKJFJ1bkNvbXBsZXRlZE5vdGlmaWNhdGlvblRlbXBsYXRlRGF0YRI0CgNydW4YASABKA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WNhdGlvbuICIkZseXRlaWRsMlxOb3RpZmljYXRpb25cR1BCTWV0YWRhdGHqAhdGbHl0ZWlkbDI6Ok5vdGlmaWNhdGlvbmIGcHJvdG8z", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_common_phase]);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @generated from message flyteidl2.notification.DeliveryConfigTemplate
|
|
22
|
+
*/
|
|
23
|
+
export type DeliveryConfigTemplate = Message<"flyteidl2.notification.DeliveryConfigTemplate"> & {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: flyteidl2.notification.WebhookDeliveryTemplate webhook = 1;
|
|
26
|
+
*/
|
|
27
|
+
webhook?: WebhookDeliveryTemplate;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: flyteidl2.notification.EmailDeliveryTemplate email = 2;
|
|
31
|
+
*/
|
|
32
|
+
email?: EmailDeliveryTemplate;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message flyteidl2.notification.DeliveryConfigTemplate.
|
|
37
|
+
* Use `create(DeliveryConfigTemplateSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const DeliveryConfigTemplateSchema: GenMessage<DeliveryConfigTemplate> = /*@__PURE__*/
|
|
40
|
+
messageDesc(file_flyteidl2_notification_definition, 0);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @generated from message flyteidl2.notification.RunCompletedNotificationTemplateData
|
|
44
|
+
*/
|
|
45
|
+
export type RunCompletedNotificationTemplateData = Message<"flyteidl2.notification.RunCompletedNotificationTemplateData"> & {
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: flyteidl2.common.RunIdentifier run = 1;
|
|
48
|
+
*/
|
|
49
|
+
run?: RunIdentifier;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: flyteidl2.common.ActionPhase phase = 2;
|
|
53
|
+
*/
|
|
54
|
+
phase: ActionPhase;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: string error = 3;
|
|
58
|
+
*/
|
|
59
|
+
error: string;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message flyteidl2.notification.RunCompletedNotificationTemplateData.
|
|
64
|
+
* Use `create(RunCompletedNotificationTemplateDataSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const RunCompletedNotificationTemplateDataSchema: GenMessage<RunCompletedNotificationTemplateData> = /*@__PURE__*/
|
|
67
|
+
messageDesc(file_flyteidl2_notification_definition, 1);
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @generated from message flyteidl2.notification.WebhookDeliveryTemplate
|
|
71
|
+
*/
|
|
72
|
+
export type WebhookDeliveryTemplate = Message<"flyteidl2.notification.WebhookDeliveryTemplate"> & {
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: string url = 1;
|
|
75
|
+
*/
|
|
76
|
+
url: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: flyteidl2.notification.HttpMethod method = 2;
|
|
80
|
+
*/
|
|
81
|
+
method: HttpMethod;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: map<string, string> headers = 3;
|
|
85
|
+
*/
|
|
86
|
+
headers: { [key: string]: string };
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* this is a Go template that may contain placeholders
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: string body_template = 4;
|
|
92
|
+
*/
|
|
93
|
+
bodyTemplate: string;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message flyteidl2.notification.WebhookDeliveryTemplate.
|
|
98
|
+
* Use `create(WebhookDeliveryTemplateSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export const WebhookDeliveryTemplateSchema: GenMessage<WebhookDeliveryTemplate> = /*@__PURE__*/
|
|
101
|
+
messageDesc(file_flyteidl2_notification_definition, 2);
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from message flyteidl2.notification.EmailRecipient
|
|
105
|
+
*/
|
|
106
|
+
export type EmailRecipient = Message<"flyteidl2.notification.EmailRecipient"> & {
|
|
107
|
+
/**
|
|
108
|
+
* @generated from field: string name = 1;
|
|
109
|
+
*/
|
|
110
|
+
name: string;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: string address = 2;
|
|
114
|
+
*/
|
|
115
|
+
address: string;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Describes the message flyteidl2.notification.EmailRecipient.
|
|
120
|
+
* Use `create(EmailRecipientSchema)` to create a new message.
|
|
121
|
+
*/
|
|
122
|
+
export const EmailRecipientSchema: GenMessage<EmailRecipient> = /*@__PURE__*/
|
|
123
|
+
messageDesc(file_flyteidl2_notification_definition, 3);
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* InlineEmailTemplate contains subject and body content rendered by the
|
|
127
|
+
* notification system using Go templates.
|
|
128
|
+
*
|
|
129
|
+
* @generated from message flyteidl2.notification.InlineEmailTemplate
|
|
130
|
+
*/
|
|
131
|
+
export type InlineEmailTemplate = Message<"flyteidl2.notification.InlineEmailTemplate"> & {
|
|
132
|
+
/**
|
|
133
|
+
* this is a Go template that may contain placeholders
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: string subject = 1;
|
|
136
|
+
*/
|
|
137
|
+
subject: string;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* this is a Go template that may contain placeholders
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: string html_template = 2;
|
|
143
|
+
*/
|
|
144
|
+
htmlTemplate: string;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* this is a Go template that may contain placeholders
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: string text_template = 3;
|
|
150
|
+
*/
|
|
151
|
+
textTemplate: string;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Describes the message flyteidl2.notification.InlineEmailTemplate.
|
|
156
|
+
* Use `create(InlineEmailTemplateSchema)` to create a new message.
|
|
157
|
+
*/
|
|
158
|
+
export const InlineEmailTemplateSchema: GenMessage<InlineEmailTemplate> = /*@__PURE__*/
|
|
159
|
+
messageDesc(file_flyteidl2_notification_definition, 4);
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* ProviderEmailTemplate references an externally managed email template owned
|
|
163
|
+
* by an email provider.
|
|
164
|
+
*
|
|
165
|
+
* @generated from message flyteidl2.notification.ProviderEmailTemplate
|
|
166
|
+
*/
|
|
167
|
+
export type ProviderEmailTemplate = Message<"flyteidl2.notification.ProviderEmailTemplate"> & {
|
|
168
|
+
/**
|
|
169
|
+
* Template ID is interpreted by the configured email provider.
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: string template_id = 1;
|
|
172
|
+
*/
|
|
173
|
+
templateId: string;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Template data contains provider-defined key/value pairs used when rendering
|
|
177
|
+
* an externally managed email template, for example dynamic template
|
|
178
|
+
* variables referenced by the provider template's subject or body.
|
|
179
|
+
*
|
|
180
|
+
* @generated from field: map<string, string> template_data = 2;
|
|
181
|
+
*/
|
|
182
|
+
templateData: { [key: string]: string };
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Describes the message flyteidl2.notification.ProviderEmailTemplate.
|
|
187
|
+
* Use `create(ProviderEmailTemplateSchema)` to create a new message.
|
|
188
|
+
*/
|
|
189
|
+
export const ProviderEmailTemplateSchema: GenMessage<ProviderEmailTemplate> = /*@__PURE__*/
|
|
190
|
+
messageDesc(file_flyteidl2_notification_definition, 5);
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @generated from message flyteidl2.notification.EmailDeliveryTemplate
|
|
194
|
+
*/
|
|
195
|
+
export type EmailDeliveryTemplate = Message<"flyteidl2.notification.EmailDeliveryTemplate"> & {
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: repeated flyteidl2.notification.EmailRecipient to = 1;
|
|
198
|
+
*/
|
|
199
|
+
to: EmailRecipient[];
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* @generated from field: repeated flyteidl2.notification.EmailRecipient cc = 2;
|
|
203
|
+
*/
|
|
204
|
+
cc: EmailRecipient[];
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: repeated flyteidl2.notification.EmailRecipient bcc = 3;
|
|
208
|
+
*/
|
|
209
|
+
bcc: EmailRecipient[];
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Content may be provided either inline or via an external provider template.
|
|
213
|
+
*
|
|
214
|
+
* @generated from oneof flyteidl2.notification.EmailDeliveryTemplate.content
|
|
215
|
+
*/
|
|
216
|
+
content: {
|
|
217
|
+
/**
|
|
218
|
+
* @generated from field: flyteidl2.notification.InlineEmailTemplate inline = 4;
|
|
219
|
+
*/
|
|
220
|
+
value: InlineEmailTemplate;
|
|
221
|
+
case: "inline";
|
|
222
|
+
} | {
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: flyteidl2.notification.ProviderEmailTemplate provider_template = 5;
|
|
225
|
+
*/
|
|
226
|
+
value: ProviderEmailTemplate;
|
|
227
|
+
case: "providerTemplate";
|
|
228
|
+
} | { case: undefined; value?: undefined };
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Describes the message flyteidl2.notification.EmailDeliveryTemplate.
|
|
233
|
+
* Use `create(EmailDeliveryTemplateSchema)` to create a new message.
|
|
234
|
+
*/
|
|
235
|
+
export const EmailDeliveryTemplateSchema: GenMessage<EmailDeliveryTemplate> = /*@__PURE__*/
|
|
236
|
+
messageDesc(file_flyteidl2_notification_definition, 6);
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* @generated from enum flyteidl2.notification.EventType
|
|
240
|
+
*/
|
|
241
|
+
export enum EventType {
|
|
242
|
+
/**
|
|
243
|
+
* @generated from enum value: EVENT_TYPE_UNSPECIFIED = 0;
|
|
244
|
+
*/
|
|
245
|
+
UNSPECIFIED = 0,
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @generated from enum value: EVENT_TYPE_RUN_COMPLETED = 1;
|
|
249
|
+
*/
|
|
250
|
+
RUN_COMPLETED = 1,
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Describes the enum flyteidl2.notification.EventType.
|
|
255
|
+
*/
|
|
256
|
+
export const EventTypeSchema: GenEnum<EventType> = /*@__PURE__*/
|
|
257
|
+
enumDesc(file_flyteidl2_notification_definition, 0);
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @generated from enum flyteidl2.notification.HttpMethod
|
|
261
|
+
*/
|
|
262
|
+
export enum HttpMethod {
|
|
263
|
+
/**
|
|
264
|
+
* @generated from enum value: HTTP_METHOD_UNSPECIFIED = 0;
|
|
265
|
+
*/
|
|
266
|
+
UNSPECIFIED = 0,
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* @generated from enum value: HTTP_METHOD_GET = 1;
|
|
270
|
+
*/
|
|
271
|
+
GET = 1,
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* @generated from enum value: HTTP_METHOD_HEAD = 2;
|
|
275
|
+
*/
|
|
276
|
+
HEAD = 2,
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* @generated from enum value: HTTP_METHOD_POST = 3;
|
|
280
|
+
*/
|
|
281
|
+
POST = 3,
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* @generated from enum value: HTTP_METHOD_PUT = 4;
|
|
285
|
+
*/
|
|
286
|
+
PUT = 4,
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* @generated from enum value: HTTP_METHOD_DELETE = 5;
|
|
290
|
+
*/
|
|
291
|
+
DELETE = 5,
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* @generated from enum value: HTTP_METHOD_CONNECT = 6;
|
|
295
|
+
*/
|
|
296
|
+
CONNECT = 6,
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* @generated from enum value: HTTP_METHOD_OPTIONS = 7;
|
|
300
|
+
*/
|
|
301
|
+
OPTIONS = 7,
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* @generated from enum value: HTTP_METHOD_TRACE = 8;
|
|
305
|
+
*/
|
|
306
|
+
TRACE = 8,
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* @generated from enum value: HTTP_METHOD_PATCH = 9;
|
|
310
|
+
*/
|
|
311
|
+
PATCH = 9,
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Describes the enum flyteidl2.notification.HttpMethod.
|
|
316
|
+
*/
|
|
317
|
+
export const HttpMethodSchema: GenEnum<HttpMethod> = /*@__PURE__*/
|
|
318
|
+
enumDesc(file_flyteidl2_notification_definition, 1);
|
|
319
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/org/domain_definition.proto (package flyteidl2.org, 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 { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file flyteidl2/org/domain_definition.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_flyteidl2_org_domain_definition: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("CiVmbHl0ZWlkbDIvb3JnL2RvbWFpbl9kZWZpbml0aW9uLnByb3RvEg1mbHl0ZWlkbDIub3JnIsoBCgZEb21haW4SNgoCaWQYASABKAlCKrpIJ3IlEAEYPzIfXlthLXowLTldKFstYS16MC05XSpbYS16MC05XSk/JBI3CgNvcmcYAiABKAlCKrpIJ3IlEAEYPzIfXlthLXowLTldKFstYS16MC05XSpbYS16MC05XSk/JBIfCg1mcmllbmRseV9uYW1lGAMgASgJQgi6SAVyAxj/ARIuCgpjcmVhdGVkX2F0GAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEK0AQoRY29tLmZseXRlaWRsMi5vcmdCFURvbWFpbkRlZmluaXRpb25Qcm90b0gCUAFaMWdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9vcmeiAgNGT1iqAg1GbHl0ZWlkbDIuT3JnygINRmx5dGVpZGwyXE9yZ+ICGUZseXRlaWRsMlxPcmdcR1BCTWV0YWRhdGHqAg5GbHl0ZWlkbDI6Ok9yZ2IGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Domain represents a customizable partition within an organization.
|
|
20
|
+
* Examples: development, staging, production.
|
|
21
|
+
* Each org defines its own domains, and projects exist across all domains.
|
|
22
|
+
*
|
|
23
|
+
* @generated from message flyteidl2.org.Domain
|
|
24
|
+
*/
|
|
25
|
+
export type Domain = Message<"flyteidl2.org.Domain"> & {
|
|
26
|
+
/**
|
|
27
|
+
* ID is the sanitized identifier (lowercase, hyphenated).
|
|
28
|
+
* Used in APIs and as the database key.
|
|
29
|
+
* Must follow Kubernetes naming conventions:
|
|
30
|
+
* - Lowercase alphanumeric or hyphens
|
|
31
|
+
* - Must start and end with alphanumeric
|
|
32
|
+
* - Max 63 characters
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: string id = 1;
|
|
35
|
+
*/
|
|
36
|
+
id: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Organization this domain belongs to.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: string org = 2;
|
|
42
|
+
*/
|
|
43
|
+
org: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Friendly name for display purposes.
|
|
47
|
+
* Can contain spaces, capital letters, and most characters.
|
|
48
|
+
* Max 255 characters.
|
|
49
|
+
*
|
|
50
|
+
* @generated from field: string friendly_name = 3;
|
|
51
|
+
*/
|
|
52
|
+
friendlyName: string;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Timestamp when the domain was created.
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: google.protobuf.Timestamp created_at = 4;
|
|
58
|
+
*/
|
|
59
|
+
createdAt?: Timestamp;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message flyteidl2.org.Domain.
|
|
64
|
+
* Use `create(DomainSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const DomainSchema: GenMessage<Domain> = /*@__PURE__*/
|
|
67
|
+
messageDesc(file_flyteidl2_org_domain_definition, 0);
|
|
68
|
+
|