@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,232 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/common/list.proto (package flyteidl2.common, 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/common/list.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_flyteidl2_common_list: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("ChtmbHl0ZWlkbDIvY29tbW9uL2xpc3QucHJvdG8SEGZseXRlaWRsMi5jb21tb24idAoEU29ydBILCgNrZXkYASABKAkSMwoJZGlyZWN0aW9uGAIgASgOMiAuZmx5dGVpZGwyLmNvbW1vbi5Tb3J0LkRpcmVjdGlvbiIqCglEaXJlY3Rpb24SDgoKREVTQ0VORElORxAAEg0KCUFTQ0VORElORxABIsgBCgtMaXN0UmVxdWVzdBINCgVsaW1pdBgBIAEoDRINCgV0b2tlbhgCIAEoCRIrCgdzb3J0X2J5GAMgASgLMhYuZmx5dGVpZGwyLmNvbW1vbi5Tb3J0QgIYARIpCgdmaWx0ZXJzGAQgAygLMhguZmx5dGVpZGwyLmNvbW1vbi5GaWx0ZXISEwoLcmF3X2ZpbHRlcnMYBSADKAkSLgoOc29ydF9ieV9maWVsZHMYBiADKAsyFi5mbHl0ZWlkbDIuY29tbW9uLlNvcnQitAIKBkZpbHRlchIzCghmdW5jdGlvbhgBIAEoDjIhLmZseXRlaWRsMi5jb21tb24uRmlsdGVyLkZ1bmN0aW9uEg0KBWZpZWxkGAIgASgJEg4KBnZhbHVlcxgDIAMoCSLVAQoIRnVuY3Rpb24SCQoFRVFVQUwQABINCglOT1RfRVFVQUwQARIQCgxHUkVBVEVSX1RIQU4QAhIZChVHUkVBVEVSX1RIQU5fT1JfRVFVQUwQAxINCglMRVNTX1RIQU4QBBIWChJMRVNTX1RIQU5fT1JfRVFVQUwQBRIMCghDT05UQUlOUxAGEgwKCFZBTFVFX0lOEAcSDQoJRU5EU19XSVRIEAwSEQoNTk9UX0VORFNfV0lUSBANEh0KGUNPTlRBSU5TX0NBU0VfSU5TRU5TSVRJVkUQDkK6AQoUY29tLmZseXRlaWRsMi5jb21tb25CCUxpc3RQcm90b0gCUAFaNGdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9jb21tb26iAgNGQ1iqAhBGbHl0ZWlkbDIuQ29tbW9uygIQRmx5dGVpZGwyXENvbW1vbuICHEZseXRlaWRsMlxDb21tb25cR1BCTWV0YWRhdGHqAhFGbHl0ZWlkbDI6OkNvbW1vbmIGcHJvdG8z");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Specifies sort ordering in a list request.
|
|
17
|
+
*
|
|
18
|
+
* @generated from message flyteidl2.common.Sort
|
|
19
|
+
*/
|
|
20
|
+
export type Sort = Message<"flyteidl2.common.Sort"> & {
|
|
21
|
+
/**
|
|
22
|
+
* Indicates an attribute to sort the response values.
|
|
23
|
+
* +required
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: string key = 1;
|
|
26
|
+
*/
|
|
27
|
+
key: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Indicates the direction to apply sort key for response values.
|
|
31
|
+
* +optional
|
|
32
|
+
*
|
|
33
|
+
* @generated from field: flyteidl2.common.Sort.Direction direction = 2;
|
|
34
|
+
*/
|
|
35
|
+
direction: Sort_Direction;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message flyteidl2.common.Sort.
|
|
40
|
+
* Use `create(SortSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export const SortSchema: GenMessage<Sort> = /*@__PURE__*/
|
|
43
|
+
messageDesc(file_flyteidl2_common_list, 0);
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from enum flyteidl2.common.Sort.Direction
|
|
47
|
+
*/
|
|
48
|
+
export enum Sort_Direction {
|
|
49
|
+
/**
|
|
50
|
+
* By default, fields are sorted in descending order.
|
|
51
|
+
*
|
|
52
|
+
* @generated from enum value: DESCENDING = 0;
|
|
53
|
+
*/
|
|
54
|
+
DESCENDING = 0,
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from enum value: ASCENDING = 1;
|
|
58
|
+
*/
|
|
59
|
+
ASCENDING = 1,
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the enum flyteidl2.common.Sort.Direction.
|
|
64
|
+
*/
|
|
65
|
+
export const Sort_DirectionSchema: GenEnum<Sort_Direction> = /*@__PURE__*/
|
|
66
|
+
enumDesc(file_flyteidl2_common_list, 0, 0);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from message flyteidl2.common.ListRequest
|
|
70
|
+
*/
|
|
71
|
+
export type ListRequest = Message<"flyteidl2.common.ListRequest"> & {
|
|
72
|
+
/**
|
|
73
|
+
* Indicates the number of resources to be returned.
|
|
74
|
+
* +required
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: uint32 limit = 1;
|
|
77
|
+
*/
|
|
78
|
+
limit: number;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* In the case of multiple pages of results, the server-provided token can be used to fetch the next page
|
|
82
|
+
* in a query.
|
|
83
|
+
* +optional
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: string token = 2;
|
|
86
|
+
*/
|
|
87
|
+
token: string;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Deprecated, use sort_by_fields instead.
|
|
91
|
+
* Specifies how listed entities should be sorted in the response.
|
|
92
|
+
* +optional
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: flyteidl2.common.Sort sort_by = 3 [deprecated = true];
|
|
95
|
+
* @deprecated
|
|
96
|
+
*/
|
|
97
|
+
sortBy?: Sort;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Indicates a list of filters. This field is used for grpc get requests.
|
|
101
|
+
* +optional
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: repeated flyteidl2.common.Filter filters = 4;
|
|
104
|
+
*/
|
|
105
|
+
filters: Filter[];
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Indicates a raw list of filters passed as string.This field is used for REST get requests
|
|
109
|
+
* +optional
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: repeated string raw_filters = 5;
|
|
112
|
+
*/
|
|
113
|
+
rawFilters: string[];
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Specifies how listed entities should be sorted in the response.
|
|
117
|
+
* Sort fields are applied in order.
|
|
118
|
+
* +optional
|
|
119
|
+
*
|
|
120
|
+
* @generated from field: repeated flyteidl2.common.Sort sort_by_fields = 6;
|
|
121
|
+
*/
|
|
122
|
+
sortByFields: Sort[];
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Describes the message flyteidl2.common.ListRequest.
|
|
127
|
+
* Use `create(ListRequestSchema)` to create a new message.
|
|
128
|
+
*/
|
|
129
|
+
export const ListRequestSchema: GenMessage<ListRequest> = /*@__PURE__*/
|
|
130
|
+
messageDesc(file_flyteidl2_common_list, 1);
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @generated from message flyteidl2.common.Filter
|
|
134
|
+
*/
|
|
135
|
+
export type Filter = Message<"flyteidl2.common.Filter"> & {
|
|
136
|
+
/**
|
|
137
|
+
* @generated from field: flyteidl2.common.Filter.Function function = 1;
|
|
138
|
+
*/
|
|
139
|
+
function: Filter_Function;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* e.g. name or version
|
|
143
|
+
*
|
|
144
|
+
* @generated from field: string field = 2;
|
|
145
|
+
*/
|
|
146
|
+
field: string;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Only in the case of a VALUE_IN function, values may contain multiple entries.
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: repeated string values = 3;
|
|
152
|
+
*/
|
|
153
|
+
values: string[];
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Describes the message flyteidl2.common.Filter.
|
|
158
|
+
* Use `create(FilterSchema)` to create a new message.
|
|
159
|
+
*/
|
|
160
|
+
export const FilterSchema: GenMessage<Filter> = /*@__PURE__*/
|
|
161
|
+
messageDesc(file_flyteidl2_common_list, 2);
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @generated from enum flyteidl2.common.Filter.Function
|
|
165
|
+
*/
|
|
166
|
+
export enum Filter_Function {
|
|
167
|
+
/**
|
|
168
|
+
* @generated from enum value: EQUAL = 0;
|
|
169
|
+
*/
|
|
170
|
+
EQUAL = 0,
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* @generated from enum value: NOT_EQUAL = 1;
|
|
174
|
+
*/
|
|
175
|
+
NOT_EQUAL = 1,
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @generated from enum value: GREATER_THAN = 2;
|
|
179
|
+
*/
|
|
180
|
+
GREATER_THAN = 2,
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from enum value: GREATER_THAN_OR_EQUAL = 3;
|
|
184
|
+
*/
|
|
185
|
+
GREATER_THAN_OR_EQUAL = 3,
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @generated from enum value: LESS_THAN = 4;
|
|
189
|
+
*/
|
|
190
|
+
LESS_THAN = 4,
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @generated from enum value: LESS_THAN_OR_EQUAL = 5;
|
|
194
|
+
*/
|
|
195
|
+
LESS_THAN_OR_EQUAL = 5,
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Case sensitive contains function.
|
|
199
|
+
*
|
|
200
|
+
* @generated from enum value: CONTAINS = 6;
|
|
201
|
+
*/
|
|
202
|
+
CONTAINS = 6,
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @generated from enum value: VALUE_IN = 7;
|
|
206
|
+
*/
|
|
207
|
+
VALUE_IN = 7,
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @generated from enum value: ENDS_WITH = 12;
|
|
211
|
+
*/
|
|
212
|
+
ENDS_WITH = 12,
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @generated from enum value: NOT_ENDS_WITH = 13;
|
|
216
|
+
*/
|
|
217
|
+
NOT_ENDS_WITH = 13,
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Case insensitive contains function.
|
|
221
|
+
*
|
|
222
|
+
* @generated from enum value: CONTAINS_CASE_INSENSITIVE = 14;
|
|
223
|
+
*/
|
|
224
|
+
CONTAINS_CASE_INSENSITIVE = 14,
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Describes the enum flyteidl2.common.Filter.Function.
|
|
229
|
+
*/
|
|
230
|
+
export const Filter_FunctionSchema: GenEnum<Filter_Function> = /*@__PURE__*/
|
|
231
|
+
enumDesc(file_flyteidl2_common_list, 2, 0);
|
|
232
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/common/policy.proto (package flyteidl2.common, 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 { Resource } from "./authorization_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_authorization } from "./authorization_pb.ts";
|
|
10
|
+
import type { PolicyIdentifier, RoleIdentifier } from "./identifier_pb.ts";
|
|
11
|
+
import { file_flyteidl2_common_identifier } from "./identifier_pb.ts";
|
|
12
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the file flyteidl2/common/policy.proto.
|
|
16
|
+
*/
|
|
17
|
+
export const file_flyteidl2_common_policy: GenFile = /*@__PURE__*/
|
|
18
|
+
fileDesc("Ch1mbHl0ZWlkbDIvY29tbW9uL3BvbGljeS5wcm90bxIQZmx5dGVpZGwyLmNvbW1vbiKIAQoGUG9saWN5EjYKAmlkGAEgASgLMiIuZmx5dGVpZGwyLmNvbW1vbi5Qb2xpY3lJZGVudGlmaWVyQga6SAPIAQESMQoIYmluZGluZ3MYAiADKAsyHy5mbHl0ZWlkbDIuY29tbW9uLlBvbGljeUJpbmRpbmcSEwoLZGVzY3JpcHRpb24YAyABKAkigAEKDVBvbGljeUJpbmRpbmcSOQoHcm9sZV9pZBgBIAEoCzIgLmZseXRlaWRsMi5jb21tb24uUm9sZUlkZW50aWZpZXJCBrpIA8gBARI0CghyZXNvdXJjZRgCIAEoCzIaLmZseXRlaWRsMi5jb21tb24uUmVzb3VyY2VCBrpIA8gBAUK8AQoUY29tLmZseXRlaWRsMi5jb21tb25CC1BvbGljeVByb3RvSAJQAVo0Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2NvbW1vbqICA0ZDWKoCEEZseXRlaWRsMi5Db21tb27KAhBGbHl0ZWlkbDJcQ29tbW9u4gIcRmx5dGVpZGwyXENvbW1vblxHUEJNZXRhZGF0YeoCEUZseXRlaWRsMjo6Q29tbW9uYgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_common_authorization, file_flyteidl2_common_identifier]);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* A policy is a collection of roles bound to a resource.
|
|
22
|
+
*
|
|
23
|
+
* @generated from message flyteidl2.common.Policy
|
|
24
|
+
*/
|
|
25
|
+
export type Policy = Message<"flyteidl2.common.Policy"> & {
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: flyteidl2.common.PolicyIdentifier id = 1;
|
|
28
|
+
*/
|
|
29
|
+
id?: PolicyIdentifier;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: repeated flyteidl2.common.PolicyBinding bindings = 2;
|
|
33
|
+
*/
|
|
34
|
+
bindings: PolicyBinding[];
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Optional: human readable description
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: string description = 3;
|
|
40
|
+
*/
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message flyteidl2.common.Policy.
|
|
46
|
+
* Use `create(PolicySchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const PolicySchema: GenMessage<Policy> = /*@__PURE__*/
|
|
49
|
+
messageDesc(file_flyteidl2_common_policy, 0);
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* A policy binding represents a role (a set of actions) defined on a resource.
|
|
53
|
+
*
|
|
54
|
+
* @generated from message flyteidl2.common.PolicyBinding
|
|
55
|
+
*/
|
|
56
|
+
export type PolicyBinding = Message<"flyteidl2.common.PolicyBinding"> & {
|
|
57
|
+
/**
|
|
58
|
+
* The role designates the permitted set of actions which can be applied to the resource.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: flyteidl2.common.RoleIdentifier role_id = 1;
|
|
61
|
+
*/
|
|
62
|
+
roleId?: RoleIdentifier;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: flyteidl2.common.Resource resource = 2;
|
|
66
|
+
*/
|
|
67
|
+
resource?: Resource;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message flyteidl2.common.PolicyBinding.
|
|
72
|
+
* Use `create(PolicyBindingSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export const PolicyBindingSchema: GenMessage<PolicyBinding> = /*@__PURE__*/
|
|
75
|
+
messageDesc(file_flyteidl2_common_policy, 1);
|
|
76
|
+
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/common/role.proto (package flyteidl2.common, 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 { Action, Permission } from "./authorization_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_authorization } from "./authorization_pb.ts";
|
|
10
|
+
import type { RoleIdentifier } from "./identifier_pb.ts";
|
|
11
|
+
import { file_flyteidl2_common_identifier } from "./identifier_pb.ts";
|
|
12
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the file flyteidl2/common/role.proto.
|
|
16
|
+
*/
|
|
17
|
+
export const file_flyteidl2_common_role: GenFile = /*@__PURE__*/
|
|
18
|
+
fileDesc("ChtmbHl0ZWlkbDIvY29tbW9uL3JvbGUucHJvdG8SEGZseXRlaWRsMi5jb21tb24i/AEKBFJvbGUSNAoCaWQYASABKAsyIC5mbHl0ZWlkbDIuY29tbW9uLlJvbGVJZGVudGlmaWVyQga6SAPIAQESNQoLcGVybWlzc2lvbnMYAiADKAsyHC5mbHl0ZWlkbDIuY29tbW9uLlBlcm1pc3Npb25CAhgBEi0KCXJvbGVfc3BlYxgDIAEoCzIaLmZseXRlaWRsMi5jb21tb24uUm9sZVNwZWMSLQoJcm9sZV90eXBlGAQgASgOMhouZmx5dGVpZGwyLmNvbW1vbi5Sb2xlVHlwZRIpCgdhY3Rpb25zGAUgAygOMhguZmx5dGVpZGwyLmNvbW1vbi5BY3Rpb24iHwoIUm9sZVNwZWMSEwoLZGVzY3JpcHRpb24YASABKAkqmgIKCFJvbGVUeXBlEhIKDlJPTEVfVFlQRV9OT05FEAASEwoPUk9MRV9UWVBFX0FETUlOEAESGQoVUk9MRV9UWVBFX0NPTlRSSUJVVE9SEAISFAoQUk9MRV9UWVBFX1ZJRVdFUhADEhQKEFJPTEVfVFlQRV9DVVNUT00QBBIdChlST0xFX1RZUEVfQ0xVU1RFUl9NQU5BR0VSEAUSIQodUk9MRV9UWVBFX0ZMWVRFX1BST0pFQ1RfQURNSU4QBhIfChtST0xFX1RZUEVfU0VSVkVSTEVTU19WSUVXRVIQBxIkCiBST0xFX1RZUEVfU0VSVkVSTEVTU19DT05UUklCVVRPUhAIEhUKEVJPTEVfVFlQRV9TVVBQT1JUEAlCugEKFGNvbS5mbHl0ZWlkbDIuY29tbW9uQglSb2xlUHJvdG9IAlABWjRnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvY29tbW9uogIDRkNYqgIQRmx5dGVpZGwyLkNvbW1vbsoCEEZseXRlaWRsMlxDb21tb27iAhxGbHl0ZWlkbDJcQ29tbW9uXEdQQk1ldGFkYXRh6gIRRmx5dGVpZGwyOjpDb21tb25iBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_common_authorization, file_flyteidl2_common_identifier]);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @generated from message flyteidl2.common.Role
|
|
22
|
+
*/
|
|
23
|
+
export type Role = Message<"flyteidl2.common.Role"> & {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: flyteidl2.common.RoleIdentifier id = 1;
|
|
26
|
+
*/
|
|
27
|
+
id?: RoleIdentifier;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: repeated flyteidl2.common.Permission permissions = 2 [deprecated = true];
|
|
31
|
+
* @deprecated
|
|
32
|
+
*/
|
|
33
|
+
permissions: Permission[];
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: flyteidl2.common.RoleSpec role_spec = 3;
|
|
37
|
+
*/
|
|
38
|
+
roleSpec?: RoleSpec;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: flyteidl2.common.RoleType role_type = 4;
|
|
42
|
+
*/
|
|
43
|
+
roleType: RoleType;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: repeated flyteidl2.common.Action actions = 5;
|
|
47
|
+
*/
|
|
48
|
+
actions: Action[];
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message flyteidl2.common.Role.
|
|
53
|
+
* Use `create(RoleSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export const RoleSchema: GenMessage<Role> = /*@__PURE__*/
|
|
56
|
+
messageDesc(file_flyteidl2_common_role, 0);
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from message flyteidl2.common.RoleSpec
|
|
60
|
+
*/
|
|
61
|
+
export type RoleSpec = Message<"flyteidl2.common.RoleSpec"> & {
|
|
62
|
+
/**
|
|
63
|
+
* Optional, human readable description for this role.
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: string description = 1;
|
|
66
|
+
*/
|
|
67
|
+
description: string;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message flyteidl2.common.RoleSpec.
|
|
72
|
+
* Use `create(RoleSpecSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export const RoleSpecSchema: GenMessage<RoleSpec> = /*@__PURE__*/
|
|
75
|
+
messageDesc(file_flyteidl2_common_role, 1);
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* A role type is a short-hand for understanding the permissions associated with a role.
|
|
79
|
+
* Boilerplate role types include a conventional collection of permissions
|
|
80
|
+
* Custom role types include a user-defined collection of permissions
|
|
81
|
+
*
|
|
82
|
+
* @generated from enum flyteidl2.common.RoleType
|
|
83
|
+
*/
|
|
84
|
+
export enum RoleType {
|
|
85
|
+
/**
|
|
86
|
+
* Default group. Not used in practice.
|
|
87
|
+
*
|
|
88
|
+
* @generated from enum value: ROLE_TYPE_NONE = 0;
|
|
89
|
+
*/
|
|
90
|
+
NONE = 0,
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* The admin role has a collective set of permissions to do everything
|
|
94
|
+
*
|
|
95
|
+
* @generated from enum value: ROLE_TYPE_ADMIN = 1;
|
|
96
|
+
*/
|
|
97
|
+
ADMIN = 1,
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* The contributor role has a collective set of permissions to view inventory, view executions, write inventory and create executions
|
|
101
|
+
*
|
|
102
|
+
* @generated from enum value: ROLE_TYPE_CONTRIBUTOR = 2;
|
|
103
|
+
*/
|
|
104
|
+
CONTRIBUTOR = 2,
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* The viewer role has a collective set of permissions to view inventory and view executions
|
|
108
|
+
*
|
|
109
|
+
* @generated from enum value: ROLE_TYPE_VIEWER = 3;
|
|
110
|
+
*/
|
|
111
|
+
VIEWER = 3,
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Represent a role with user-defined sets of permissions.
|
|
115
|
+
*
|
|
116
|
+
* @generated from enum value: ROLE_TYPE_CUSTOM = 4;
|
|
117
|
+
*/
|
|
118
|
+
CUSTOM = 4,
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* The role with permissions to administer a specific customer cluster.
|
|
122
|
+
*
|
|
123
|
+
* @generated from enum value: ROLE_TYPE_CLUSTER_MANAGER = 5;
|
|
124
|
+
*/
|
|
125
|
+
CLUSTER_MANAGER = 5,
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Role with permissions specific to administer flyte project(s).
|
|
129
|
+
*
|
|
130
|
+
* @generated from enum value: ROLE_TYPE_FLYTE_PROJECT_ADMIN = 6;
|
|
131
|
+
*/
|
|
132
|
+
FLYTE_PROJECT_ADMIN = 6,
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* The viewer role for serverless
|
|
136
|
+
*
|
|
137
|
+
* @generated from enum value: ROLE_TYPE_SERVERLESS_VIEWER = 7;
|
|
138
|
+
*/
|
|
139
|
+
SERVERLESS_VIEWER = 7,
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* The contributor role for serverless
|
|
143
|
+
*
|
|
144
|
+
* @generated from enum value: ROLE_TYPE_SERVERLESS_CONTRIBUTOR = 8;
|
|
145
|
+
*/
|
|
146
|
+
SERVERLESS_CONTRIBUTOR = 8,
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* The support role would have contributor permissions plus the access to support endpoints
|
|
150
|
+
*
|
|
151
|
+
* @generated from enum value: ROLE_TYPE_SUPPORT = 9;
|
|
152
|
+
*/
|
|
153
|
+
SUPPORT = 9,
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Describes the enum flyteidl2.common.RoleType.
|
|
158
|
+
*/
|
|
159
|
+
export const RoleTypeSchema: GenEnum<RoleType> = /*@__PURE__*/
|
|
160
|
+
enumDesc(file_flyteidl2_common_role, 0);
|
|
161
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/common/runtime_version.proto (package flyteidl2.common, 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/common/runtime_version.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_flyteidl2_common_runtime_version: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("CiZmbHl0ZWlkbDIvY29tbW9uL3J1bnRpbWVfdmVyc2lvbi5wcm90bxIQZmx5dGVpZGwyLmNvbW1vbiKnAQoPUnVudGltZU1ldGFkYXRhEjsKBHR5cGUYASABKA4yLS5mbHl0ZWlkbDIuY29tbW9uLlJ1bnRpbWVNZXRhZGF0YS5SdW50aW1lVHlwZRIPCgd2ZXJzaW9uGAIgASgJEg4KBmZsYXZvchgDIAEoCSI2CgtSdW50aW1lVHlwZRIJCgVPVEhFUhAAEg0KCUZMWVRFX1NESxABEg0KCVVOSU9OX1NESxACQsQBChRjb20uZmx5dGVpZGwyLmNvbW1vbkITUnVudGltZVZlcnNpb25Qcm90b0gCUAFaNGdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9jb21tb26iAgNGQ1iqAhBGbHl0ZWlkbDIuQ29tbW9uygIQRmx5dGVpZGwyXENvbW1vbuICHEZseXRlaWRsMlxDb21tb25cR1BCTWV0YWRhdGHqAhFGbHl0ZWlkbDI6OkNvbW1vbmIGcHJvdG8z");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Runtime information. This is loosely defined to allow for extensibility.
|
|
17
|
+
*
|
|
18
|
+
* @generated from message flyteidl2.common.RuntimeMetadata
|
|
19
|
+
*/
|
|
20
|
+
export type RuntimeMetadata = Message<"flyteidl2.common.RuntimeMetadata"> & {
|
|
21
|
+
/**
|
|
22
|
+
* Type of runtime.
|
|
23
|
+
*
|
|
24
|
+
* @generated from field: flyteidl2.common.RuntimeMetadata.RuntimeType type = 1;
|
|
25
|
+
*/
|
|
26
|
+
type: RuntimeMetadata_RuntimeType;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Version of the runtime. All versions should be backward compatible. However, certain cases call for version
|
|
30
|
+
* checks to ensure tighter validation or setting expectations.
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: string version = 2;
|
|
33
|
+
*/
|
|
34
|
+
version: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* +optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.).
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: string flavor = 3;
|
|
40
|
+
*/
|
|
41
|
+
flavor: string;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message flyteidl2.common.RuntimeMetadata.
|
|
46
|
+
* Use `create(RuntimeMetadataSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const RuntimeMetadataSchema: GenMessage<RuntimeMetadata> = /*@__PURE__*/
|
|
49
|
+
messageDesc(file_flyteidl2_common_runtime_version, 0);
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from enum flyteidl2.common.RuntimeMetadata.RuntimeType
|
|
53
|
+
*/
|
|
54
|
+
export enum RuntimeMetadata_RuntimeType {
|
|
55
|
+
/**
|
|
56
|
+
* @generated from enum value: OTHER = 0;
|
|
57
|
+
*/
|
|
58
|
+
OTHER = 0,
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @generated from enum value: FLYTE_SDK = 1;
|
|
62
|
+
*/
|
|
63
|
+
FLYTE_SDK = 1,
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from enum value: UNION_SDK = 2;
|
|
67
|
+
*/
|
|
68
|
+
UNION_SDK = 2,
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Describes the enum flyteidl2.common.RuntimeMetadata.RuntimeType.
|
|
73
|
+
*/
|
|
74
|
+
export const RuntimeMetadata_RuntimeTypeSchema: GenEnum<RuntimeMetadata_RuntimeType> = /*@__PURE__*/
|
|
75
|
+
enumDesc(file_flyteidl2_common_runtime_version, 0, 0);
|
|
76
|
+
|