@flyteorg/flyteidl 1.5.10 → 1.5.11
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
|
@@ -19686,6 +19686,9 @@ export namespace flyteidl {
|
|
|
19686
19686
|
|
|
19687
19687
|
/** CreateUploadLocationRequest contentMd5 */
|
|
19688
19688
|
contentMd5?: (Uint8Array|null);
|
|
19689
|
+
|
|
19690
|
+
/** CreateUploadLocationRequest filenameRoot */
|
|
19691
|
+
filenameRoot?: (string|null);
|
|
19689
19692
|
}
|
|
19690
19693
|
|
|
19691
19694
|
/** Represents a CreateUploadLocationRequest. */
|
|
@@ -19712,6 +19715,9 @@ export namespace flyteidl {
|
|
|
19712
19715
|
/** CreateUploadLocationRequest contentMd5. */
|
|
19713
19716
|
public contentMd5: Uint8Array;
|
|
19714
19717
|
|
|
19718
|
+
/** CreateUploadLocationRequest filenameRoot. */
|
|
19719
|
+
public filenameRoot: string;
|
|
19720
|
+
|
|
19715
19721
|
/**
|
|
19716
19722
|
* Creates a new CreateUploadLocationRequest instance using the specified properties.
|
|
19717
19723
|
* @param [properties] Properties to set
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -45833,6 +45833,7 @@
|
|
|
45833
45833
|
* @property {string|null} [filename] CreateUploadLocationRequest filename
|
|
45834
45834
|
* @property {google.protobuf.IDuration|null} [expiresIn] CreateUploadLocationRequest expiresIn
|
|
45835
45835
|
* @property {Uint8Array|null} [contentMd5] CreateUploadLocationRequest contentMd5
|
|
45836
|
+
* @property {string|null} [filenameRoot] CreateUploadLocationRequest filenameRoot
|
|
45836
45837
|
*/
|
|
45837
45838
|
|
|
45838
45839
|
/**
|
|
@@ -45890,6 +45891,14 @@
|
|
|
45890
45891
|
*/
|
|
45891
45892
|
CreateUploadLocationRequest.prototype.contentMd5 = $util.newBuffer([]);
|
|
45892
45893
|
|
|
45894
|
+
/**
|
|
45895
|
+
* CreateUploadLocationRequest filenameRoot.
|
|
45896
|
+
* @member {string} filenameRoot
|
|
45897
|
+
* @memberof flyteidl.service.CreateUploadLocationRequest
|
|
45898
|
+
* @instance
|
|
45899
|
+
*/
|
|
45900
|
+
CreateUploadLocationRequest.prototype.filenameRoot = "";
|
|
45901
|
+
|
|
45893
45902
|
/**
|
|
45894
45903
|
* Creates a new CreateUploadLocationRequest instance using the specified properties.
|
|
45895
45904
|
* @function create
|
|
@@ -45924,6 +45933,8 @@
|
|
|
45924
45933
|
$root.google.protobuf.Duration.encode(message.expiresIn, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
45925
45934
|
if (message.contentMd5 != null && message.hasOwnProperty("contentMd5"))
|
|
45926
45935
|
writer.uint32(/* id 5, wireType 2 =*/42).bytes(message.contentMd5);
|
|
45936
|
+
if (message.filenameRoot != null && message.hasOwnProperty("filenameRoot"))
|
|
45937
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.filenameRoot);
|
|
45927
45938
|
return writer;
|
|
45928
45939
|
};
|
|
45929
45940
|
|
|
@@ -45960,6 +45971,9 @@
|
|
|
45960
45971
|
case 5:
|
|
45961
45972
|
message.contentMd5 = reader.bytes();
|
|
45962
45973
|
break;
|
|
45974
|
+
case 6:
|
|
45975
|
+
message.filenameRoot = reader.string();
|
|
45976
|
+
break;
|
|
45963
45977
|
default:
|
|
45964
45978
|
reader.skipType(tag & 7);
|
|
45965
45979
|
break;
|
|
@@ -45996,6 +46010,9 @@
|
|
|
45996
46010
|
if (message.contentMd5 != null && message.hasOwnProperty("contentMd5"))
|
|
45997
46011
|
if (!(message.contentMd5 && typeof message.contentMd5.length === "number" || $util.isString(message.contentMd5)))
|
|
45998
46012
|
return "contentMd5: buffer expected";
|
|
46013
|
+
if (message.filenameRoot != null && message.hasOwnProperty("filenameRoot"))
|
|
46014
|
+
if (!$util.isString(message.filenameRoot))
|
|
46015
|
+
return "filenameRoot: string expected";
|
|
45999
46016
|
return null;
|
|
46000
46017
|
};
|
|
46001
46018
|
|
package/package.json
CHANGED
|
@@ -23,6 +23,10 @@ message CreateUploadLocationResponse {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
// CreateUploadLocationRequest specified request for the CreateUploadLocation API.
|
|
26
|
+
// The implementation in data proxy service will create the s3 location with some server side configured prefixes,
|
|
27
|
+
// and then:
|
|
28
|
+
// - project/domain/(a deterministic str representation of the content_md5)/filename (if present); OR
|
|
29
|
+
// - project/domain/filename_root (if present)/filename (if present).
|
|
26
30
|
message CreateUploadLocationRequest {
|
|
27
31
|
// Project to create the upload location for
|
|
28
32
|
// +required
|
|
@@ -45,6 +49,12 @@ message CreateUploadLocationRequest {
|
|
|
45
49
|
// generated path.
|
|
46
50
|
// +required
|
|
47
51
|
bytes content_md5 = 5;
|
|
52
|
+
|
|
53
|
+
// If present, data proxy will use this string in lieu of the md5 hash in the path. When the filename is also included
|
|
54
|
+
// this makes the upload location deterministic. The native url will still be prefixed by the upload location prefix
|
|
55
|
+
// in data proxy config. This option is useful when uploading multiple files.
|
|
56
|
+
// +optional
|
|
57
|
+
string filename_root = 6;
|
|
48
58
|
}
|
|
49
59
|
|
|
50
60
|
// CreateDownloadLocationRequest specified request for the CreateDownloadLocation API.
|