@flyteorg/flyteidl 0.24.4 → 0.24.5
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/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -11802,6 +11802,18 @@ export namespace flyteidl {
|
|
|
11802
11802
|
|
|
11803
11803
|
/** WorkflowExecutionConfig maxParallelism */
|
|
11804
11804
|
maxParallelism?: (number|null);
|
|
11805
|
+
|
|
11806
|
+
/** WorkflowExecutionConfig securityContext */
|
|
11807
|
+
securityContext?: (flyteidl.core.ISecurityContext|null);
|
|
11808
|
+
|
|
11809
|
+
/** WorkflowExecutionConfig rawOutputDataConfig */
|
|
11810
|
+
rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null);
|
|
11811
|
+
|
|
11812
|
+
/** WorkflowExecutionConfig labels */
|
|
11813
|
+
labels?: (flyteidl.admin.ILabels|null);
|
|
11814
|
+
|
|
11815
|
+
/** WorkflowExecutionConfig annotations */
|
|
11816
|
+
annotations?: (flyteidl.admin.IAnnotations|null);
|
|
11805
11817
|
}
|
|
11806
11818
|
|
|
11807
11819
|
/** Represents a WorkflowExecutionConfig. */
|
|
@@ -11816,6 +11828,18 @@ export namespace flyteidl {
|
|
|
11816
11828
|
/** WorkflowExecutionConfig maxParallelism. */
|
|
11817
11829
|
public maxParallelism: number;
|
|
11818
11830
|
|
|
11831
|
+
/** WorkflowExecutionConfig securityContext. */
|
|
11832
|
+
public securityContext?: (flyteidl.core.ISecurityContext|null);
|
|
11833
|
+
|
|
11834
|
+
/** WorkflowExecutionConfig rawOutputDataConfig. */
|
|
11835
|
+
public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null);
|
|
11836
|
+
|
|
11837
|
+
/** WorkflowExecutionConfig labels. */
|
|
11838
|
+
public labels?: (flyteidl.admin.ILabels|null);
|
|
11839
|
+
|
|
11840
|
+
/** WorkflowExecutionConfig annotations. */
|
|
11841
|
+
public annotations?: (flyteidl.admin.IAnnotations|null);
|
|
11842
|
+
|
|
11819
11843
|
/**
|
|
11820
11844
|
* Creates a new WorkflowExecutionConfig instance using the specified properties.
|
|
11821
11845
|
* @param [properties] Properties to set
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -28184,6 +28184,10 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
28184
28184
|
* @memberof flyteidl.admin
|
|
28185
28185
|
* @interface IWorkflowExecutionConfig
|
|
28186
28186
|
* @property {number|null} [maxParallelism] WorkflowExecutionConfig maxParallelism
|
|
28187
|
+
* @property {flyteidl.core.ISecurityContext|null} [securityContext] WorkflowExecutionConfig securityContext
|
|
28188
|
+
* @property {flyteidl.admin.IRawOutputDataConfig|null} [rawOutputDataConfig] WorkflowExecutionConfig rawOutputDataConfig
|
|
28189
|
+
* @property {flyteidl.admin.ILabels|null} [labels] WorkflowExecutionConfig labels
|
|
28190
|
+
* @property {flyteidl.admin.IAnnotations|null} [annotations] WorkflowExecutionConfig annotations
|
|
28187
28191
|
*/
|
|
28188
28192
|
|
|
28189
28193
|
/**
|
|
@@ -28209,6 +28213,38 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
28209
28213
|
*/
|
|
28210
28214
|
WorkflowExecutionConfig.prototype.maxParallelism = 0;
|
|
28211
28215
|
|
|
28216
|
+
/**
|
|
28217
|
+
* WorkflowExecutionConfig securityContext.
|
|
28218
|
+
* @member {flyteidl.core.ISecurityContext|null|undefined} securityContext
|
|
28219
|
+
* @memberof flyteidl.admin.WorkflowExecutionConfig
|
|
28220
|
+
* @instance
|
|
28221
|
+
*/
|
|
28222
|
+
WorkflowExecutionConfig.prototype.securityContext = null;
|
|
28223
|
+
|
|
28224
|
+
/**
|
|
28225
|
+
* WorkflowExecutionConfig rawOutputDataConfig.
|
|
28226
|
+
* @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig
|
|
28227
|
+
* @memberof flyteidl.admin.WorkflowExecutionConfig
|
|
28228
|
+
* @instance
|
|
28229
|
+
*/
|
|
28230
|
+
WorkflowExecutionConfig.prototype.rawOutputDataConfig = null;
|
|
28231
|
+
|
|
28232
|
+
/**
|
|
28233
|
+
* WorkflowExecutionConfig labels.
|
|
28234
|
+
* @member {flyteidl.admin.ILabels|null|undefined} labels
|
|
28235
|
+
* @memberof flyteidl.admin.WorkflowExecutionConfig
|
|
28236
|
+
* @instance
|
|
28237
|
+
*/
|
|
28238
|
+
WorkflowExecutionConfig.prototype.labels = null;
|
|
28239
|
+
|
|
28240
|
+
/**
|
|
28241
|
+
* WorkflowExecutionConfig annotations.
|
|
28242
|
+
* @member {flyteidl.admin.IAnnotations|null|undefined} annotations
|
|
28243
|
+
* @memberof flyteidl.admin.WorkflowExecutionConfig
|
|
28244
|
+
* @instance
|
|
28245
|
+
*/
|
|
28246
|
+
WorkflowExecutionConfig.prototype.annotations = null;
|
|
28247
|
+
|
|
28212
28248
|
/**
|
|
28213
28249
|
* Creates a new WorkflowExecutionConfig instance using the specified properties.
|
|
28214
28250
|
* @function create
|
|
@@ -28235,6 +28271,14 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
28235
28271
|
writer = $Writer.create();
|
|
28236
28272
|
if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism"))
|
|
28237
28273
|
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.maxParallelism);
|
|
28274
|
+
if (message.securityContext != null && message.hasOwnProperty("securityContext"))
|
|
28275
|
+
$root.flyteidl.core.SecurityContext.encode(message.securityContext, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
28276
|
+
if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig"))
|
|
28277
|
+
$root.flyteidl.admin.RawOutputDataConfig.encode(message.rawOutputDataConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
28278
|
+
if (message.labels != null && message.hasOwnProperty("labels"))
|
|
28279
|
+
$root.flyteidl.admin.Labels.encode(message.labels, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
28280
|
+
if (message.annotations != null && message.hasOwnProperty("annotations"))
|
|
28281
|
+
$root.flyteidl.admin.Annotations.encode(message.annotations, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
28238
28282
|
return writer;
|
|
28239
28283
|
};
|
|
28240
28284
|
|
|
@@ -28259,6 +28303,18 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
28259
28303
|
case 1:
|
|
28260
28304
|
message.maxParallelism = reader.int32();
|
|
28261
28305
|
break;
|
|
28306
|
+
case 2:
|
|
28307
|
+
message.securityContext = $root.flyteidl.core.SecurityContext.decode(reader, reader.uint32());
|
|
28308
|
+
break;
|
|
28309
|
+
case 3:
|
|
28310
|
+
message.rawOutputDataConfig = $root.flyteidl.admin.RawOutputDataConfig.decode(reader, reader.uint32());
|
|
28311
|
+
break;
|
|
28312
|
+
case 4:
|
|
28313
|
+
message.labels = $root.flyteidl.admin.Labels.decode(reader, reader.uint32());
|
|
28314
|
+
break;
|
|
28315
|
+
case 5:
|
|
28316
|
+
message.annotations = $root.flyteidl.admin.Annotations.decode(reader, reader.uint32());
|
|
28317
|
+
break;
|
|
28262
28318
|
default:
|
|
28263
28319
|
reader.skipType(tag & 7);
|
|
28264
28320
|
break;
|
|
@@ -28281,6 +28337,26 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
28281
28337
|
if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism"))
|
|
28282
28338
|
if (!$util.isInteger(message.maxParallelism))
|
|
28283
28339
|
return "maxParallelism: integer expected";
|
|
28340
|
+
if (message.securityContext != null && message.hasOwnProperty("securityContext")) {
|
|
28341
|
+
let error = $root.flyteidl.core.SecurityContext.verify(message.securityContext);
|
|
28342
|
+
if (error)
|
|
28343
|
+
return "securityContext." + error;
|
|
28344
|
+
}
|
|
28345
|
+
if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) {
|
|
28346
|
+
let error = $root.flyteidl.admin.RawOutputDataConfig.verify(message.rawOutputDataConfig);
|
|
28347
|
+
if (error)
|
|
28348
|
+
return "rawOutputDataConfig." + error;
|
|
28349
|
+
}
|
|
28350
|
+
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
28351
|
+
let error = $root.flyteidl.admin.Labels.verify(message.labels);
|
|
28352
|
+
if (error)
|
|
28353
|
+
return "labels." + error;
|
|
28354
|
+
}
|
|
28355
|
+
if (message.annotations != null && message.hasOwnProperty("annotations")) {
|
|
28356
|
+
let error = $root.flyteidl.admin.Annotations.verify(message.annotations);
|
|
28357
|
+
if (error)
|
|
28358
|
+
return "annotations." + error;
|
|
28359
|
+
}
|
|
28284
28360
|
return null;
|
|
28285
28361
|
};
|
|
28286
28362
|
|
package/package.json
CHANGED
|
@@ -3,8 +3,10 @@ syntax = "proto3";
|
|
|
3
3
|
package flyteidl.admin;
|
|
4
4
|
option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin";
|
|
5
5
|
|
|
6
|
+
import "flyteidl/admin/common.proto";
|
|
6
7
|
import "flyteidl/admin/cluster_assignment.proto";
|
|
7
8
|
import "flyteidl/core/execution.proto";
|
|
9
|
+
import "flyteidl/core/security.proto";
|
|
8
10
|
|
|
9
11
|
// Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes
|
|
10
12
|
// based on matching tags.
|
|
@@ -102,6 +104,18 @@ message PluginOverrides {
|
|
|
102
104
|
message WorkflowExecutionConfig {
|
|
103
105
|
// Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness.
|
|
104
106
|
int32 max_parallelism = 1;
|
|
107
|
+
|
|
108
|
+
// Indicates security context permissions for executions triggered with this matchable attribute.
|
|
109
|
+
core.SecurityContext security_context = 2;
|
|
110
|
+
|
|
111
|
+
// Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
|
|
112
|
+
RawOutputDataConfig raw_output_data_config = 3;
|
|
113
|
+
|
|
114
|
+
// Custom labels to be applied to a triggered execution resource.
|
|
115
|
+
Labels labels = 4;
|
|
116
|
+
|
|
117
|
+
// Custom annotations to be applied to a triggered execution resource.
|
|
118
|
+
Annotations annotations = 5;
|
|
105
119
|
}
|
|
106
120
|
|
|
107
121
|
// Generic container for encapsulating all types of the above attributes messages.
|