kurtosis-sdk 0.80.10 → 0.80.12

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.
@@ -21,6 +21,7 @@ interface IApiContainerServiceService extends grpc.ServiceDefinition<grpc.Untype
21
21
  storeWebFilesArtifact: grpc.MethodDefinition<api_container_service_pb.StoreWebFilesArtifactArgs, api_container_service_pb.StoreWebFilesArtifactResponse>;
22
22
  storeFilesArtifactFromService: grpc.MethodDefinition<api_container_service_pb.StoreFilesArtifactFromServiceArgs, api_container_service_pb.StoreFilesArtifactFromServiceResponse>;
23
23
  listFilesArtifactNamesAndUuids: grpc.MethodDefinition<google_protobuf_empty_pb.Empty, api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse>;
24
+ inspectFilesArtifactContents: grpc.MethodDefinition<api_container_service_pb.InspectFilesArtifactContentsRequest, api_container_service_pb.InspectFilesArtifactContentsResponse>;
24
25
  }
25
26
 
26
27
  export const ApiContainerServiceService: IApiContainerServiceService;
@@ -39,6 +40,7 @@ export interface IApiContainerServiceServer extends grpc.UntypedServiceImplement
39
40
  storeWebFilesArtifact: grpc.handleUnaryCall<api_container_service_pb.StoreWebFilesArtifactArgs, api_container_service_pb.StoreWebFilesArtifactResponse>;
40
41
  storeFilesArtifactFromService: grpc.handleUnaryCall<api_container_service_pb.StoreFilesArtifactFromServiceArgs, api_container_service_pb.StoreFilesArtifactFromServiceResponse>;
41
42
  listFilesArtifactNamesAndUuids: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse>;
43
+ inspectFilesArtifactContents: grpc.handleUnaryCall<api_container_service_pb.InspectFilesArtifactContentsRequest, api_container_service_pb.InspectFilesArtifactContentsResponse>;
42
44
  }
43
45
 
44
46
  export class ApiContainerServiceClient extends grpc.Client {
@@ -79,4 +81,7 @@ export class ApiContainerServiceClient extends grpc.Client {
79
81
  listFilesArtifactNamesAndUuids(argument: google_protobuf_empty_pb.Empty, callback: grpc.requestCallback<api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse>): grpc.ClientUnaryCall;
80
82
  listFilesArtifactNamesAndUuids(argument: google_protobuf_empty_pb.Empty, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse>): grpc.ClientUnaryCall;
81
83
  listFilesArtifactNamesAndUuids(argument: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse>): grpc.ClientUnaryCall;
84
+ inspectFilesArtifactContents(argument: api_container_service_pb.InspectFilesArtifactContentsRequest, callback: grpc.requestCallback<api_container_service_pb.InspectFilesArtifactContentsResponse>): grpc.ClientUnaryCall;
85
+ inspectFilesArtifactContents(argument: api_container_service_pb.InspectFilesArtifactContentsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.InspectFilesArtifactContentsResponse>): grpc.ClientUnaryCall;
86
+ inspectFilesArtifactContents(argument: api_container_service_pb.InspectFilesArtifactContentsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.InspectFilesArtifactContentsResponse>): grpc.ClientUnaryCall;
82
87
  }
@@ -71,6 +71,28 @@ function deserialize_api_container_api_GetServicesResponse(buffer_arg) {
71
71
  return api_container_service_pb.GetServicesResponse.deserializeBinary(new Uint8Array(buffer_arg));
72
72
  }
73
73
 
74
+ function serialize_api_container_api_InspectFilesArtifactContentsRequest(arg) {
75
+ if (!(arg instanceof api_container_service_pb.InspectFilesArtifactContentsRequest)) {
76
+ throw new Error('Expected argument of type api_container_api.InspectFilesArtifactContentsRequest');
77
+ }
78
+ return Buffer.from(arg.serializeBinary());
79
+ }
80
+
81
+ function deserialize_api_container_api_InspectFilesArtifactContentsRequest(buffer_arg) {
82
+ return api_container_service_pb.InspectFilesArtifactContentsRequest.deserializeBinary(new Uint8Array(buffer_arg));
83
+ }
84
+
85
+ function serialize_api_container_api_InspectFilesArtifactContentsResponse(arg) {
86
+ if (!(arg instanceof api_container_service_pb.InspectFilesArtifactContentsResponse)) {
87
+ throw new Error('Expected argument of type api_container_api.InspectFilesArtifactContentsResponse');
88
+ }
89
+ return Buffer.from(arg.serializeBinary());
90
+ }
91
+
92
+ function deserialize_api_container_api_InspectFilesArtifactContentsResponse(buffer_arg) {
93
+ return api_container_service_pb.InspectFilesArtifactContentsResponse.deserializeBinary(new Uint8Array(buffer_arg));
94
+ }
95
+
74
96
  function serialize_api_container_api_ListFilesArtifactNamesAndUuidsResponse(arg) {
75
97
  if (!(arg instanceof api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse)) {
76
98
  throw new Error('Expected argument of type api_container_api.ListFilesArtifactNamesAndUuidsResponse');
@@ -371,6 +393,17 @@ storeFilesArtifactFromService: {
371
393
  responseSerialize: serialize_api_container_api_ListFilesArtifactNamesAndUuidsResponse,
372
394
  responseDeserialize: deserialize_api_container_api_ListFilesArtifactNamesAndUuidsResponse,
373
395
  },
396
+ inspectFilesArtifactContents: {
397
+ path: '/api_container_api.ApiContainerService/InspectFilesArtifactContents',
398
+ requestStream: false,
399
+ responseStream: false,
400
+ requestType: api_container_service_pb.InspectFilesArtifactContentsRequest,
401
+ responseType: api_container_service_pb.InspectFilesArtifactContentsResponse,
402
+ requestSerialize: serialize_api_container_api_InspectFilesArtifactContentsRequest,
403
+ requestDeserialize: deserialize_api_container_api_InspectFilesArtifactContentsRequest,
404
+ responseSerialize: serialize_api_container_api_InspectFilesArtifactContentsResponse,
405
+ responseDeserialize: deserialize_api_container_api_InspectFilesArtifactContentsResponse,
406
+ },
374
407
  };
375
408
 
376
409
  exports.ApiContainerServiceClient = grpc.makeGenericClientConstructor(ApiContainerServiceService);
@@ -80,6 +80,13 @@ export class ApiContainerServiceClient {
80
80
  response: api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse) => void
81
81
  ): grpcWeb.ClientReadableStream<api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse>;
82
82
 
83
+ inspectFilesArtifactContents(
84
+ request: api_container_service_pb.InspectFilesArtifactContentsRequest,
85
+ metadata: grpcWeb.Metadata | undefined,
86
+ callback: (err: grpcWeb.RpcError,
87
+ response: api_container_service_pb.InspectFilesArtifactContentsResponse) => void
88
+ ): grpcWeb.ClientReadableStream<api_container_service_pb.InspectFilesArtifactContentsResponse>;
89
+
83
90
  }
84
91
 
85
92
  export class ApiContainerServicePromiseClient {
@@ -142,5 +149,10 @@ export class ApiContainerServicePromiseClient {
142
149
  metadata?: grpcWeb.Metadata
143
150
  ): Promise<api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse>;
144
151
 
152
+ inspectFilesArtifactContents(
153
+ request: api_container_service_pb.InspectFilesArtifactContentsRequest,
154
+ metadata?: grpcWeb.Metadata
155
+ ): Promise<api_container_service_pb.InspectFilesArtifactContentsResponse>;
156
+
145
157
  }
146
158
 
@@ -7,7 +7,7 @@
7
7
  // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
8
  // versions:
9
9
  // protoc-gen-grpc-web v1.4.2
10
- // protoc v3.19.1
10
+ // protoc v3.15.6
11
11
  // source: api_container_service.proto
12
12
 
13
13
 
@@ -732,5 +732,66 @@ proto.api_container_api.ApiContainerServicePromiseClient.prototype.listFilesArti
732
732
  };
733
733
 
734
734
 
735
+ /**
736
+ * @const
737
+ * @type {!grpc.web.MethodDescriptor<
738
+ * !proto.api_container_api.InspectFilesArtifactContentsRequest,
739
+ * !proto.api_container_api.InspectFilesArtifactContentsResponse>}
740
+ */
741
+ const methodDescriptor_ApiContainerService_InspectFilesArtifactContents = new grpc.web.MethodDescriptor(
742
+ '/api_container_api.ApiContainerService/InspectFilesArtifactContents',
743
+ grpc.web.MethodType.UNARY,
744
+ proto.api_container_api.InspectFilesArtifactContentsRequest,
745
+ proto.api_container_api.InspectFilesArtifactContentsResponse,
746
+ /**
747
+ * @param {!proto.api_container_api.InspectFilesArtifactContentsRequest} request
748
+ * @return {!Uint8Array}
749
+ */
750
+ function(request) {
751
+ return request.serializeBinary();
752
+ },
753
+ proto.api_container_api.InspectFilesArtifactContentsResponse.deserializeBinary
754
+ );
755
+
756
+
757
+ /**
758
+ * @param {!proto.api_container_api.InspectFilesArtifactContentsRequest} request The
759
+ * request proto
760
+ * @param {?Object<string, string>} metadata User defined
761
+ * call metadata
762
+ * @param {function(?grpc.web.RpcError, ?proto.api_container_api.InspectFilesArtifactContentsResponse)}
763
+ * callback The callback function(error, response)
764
+ * @return {!grpc.web.ClientReadableStream<!proto.api_container_api.InspectFilesArtifactContentsResponse>|undefined}
765
+ * The XHR Node Readable Stream
766
+ */
767
+ proto.api_container_api.ApiContainerServiceClient.prototype.inspectFilesArtifactContents =
768
+ function(request, metadata, callback) {
769
+ return this.client_.rpcCall(this.hostname_ +
770
+ '/api_container_api.ApiContainerService/InspectFilesArtifactContents',
771
+ request,
772
+ metadata || {},
773
+ methodDescriptor_ApiContainerService_InspectFilesArtifactContents,
774
+ callback);
775
+ };
776
+
777
+
778
+ /**
779
+ * @param {!proto.api_container_api.InspectFilesArtifactContentsRequest} request The
780
+ * request proto
781
+ * @param {?Object<string, string>=} metadata User defined
782
+ * call metadata
783
+ * @return {!Promise<!proto.api_container_api.InspectFilesArtifactContentsResponse>}
784
+ * Promise that resolves to the response
785
+ */
786
+ proto.api_container_api.ApiContainerServicePromiseClient.prototype.inspectFilesArtifactContents =
787
+ function(request, metadata) {
788
+ return this.client_.unaryCall(this.hostname_ +
789
+ '/api_container_api.ApiContainerService/InspectFilesArtifactContents',
790
+ request,
791
+ metadata || {},
792
+ methodDescriptor_ApiContainerService_InspectFilesArtifactContents);
793
+ };
794
+
795
+
735
796
  module.exports = proto.api_container_api;
736
797
 
@@ -1020,6 +1020,79 @@ export namespace ListFilesArtifactNamesAndUuidsResponse {
1020
1020
  }
1021
1021
  }
1022
1022
 
1023
+ export class InspectFilesArtifactContentsRequest extends jspb.Message {
1024
+ getFileNamesAndUuid(): FilesArtifactNameAndUuid | undefined;
1025
+ setFileNamesAndUuid(value?: FilesArtifactNameAndUuid): InspectFilesArtifactContentsRequest;
1026
+ hasFileNamesAndUuid(): boolean;
1027
+ clearFileNamesAndUuid(): InspectFilesArtifactContentsRequest;
1028
+
1029
+ serializeBinary(): Uint8Array;
1030
+ toObject(includeInstance?: boolean): InspectFilesArtifactContentsRequest.AsObject;
1031
+ static toObject(includeInstance: boolean, msg: InspectFilesArtifactContentsRequest): InspectFilesArtifactContentsRequest.AsObject;
1032
+ static serializeBinaryToWriter(message: InspectFilesArtifactContentsRequest, writer: jspb.BinaryWriter): void;
1033
+ static deserializeBinary(bytes: Uint8Array): InspectFilesArtifactContentsRequest;
1034
+ static deserializeBinaryFromReader(message: InspectFilesArtifactContentsRequest, reader: jspb.BinaryReader): InspectFilesArtifactContentsRequest;
1035
+ }
1036
+
1037
+ export namespace InspectFilesArtifactContentsRequest {
1038
+ export type AsObject = {
1039
+ fileNamesAndUuid?: FilesArtifactNameAndUuid.AsObject,
1040
+ }
1041
+ }
1042
+
1043
+ export class InspectFilesArtifactContentsResponse extends jspb.Message {
1044
+ getFileDescriptionsList(): Array<FileArtifactContentsFileDescription>;
1045
+ setFileDescriptionsList(value: Array<FileArtifactContentsFileDescription>): InspectFilesArtifactContentsResponse;
1046
+ clearFileDescriptionsList(): InspectFilesArtifactContentsResponse;
1047
+ addFileDescriptions(value?: FileArtifactContentsFileDescription, index?: number): FileArtifactContentsFileDescription;
1048
+
1049
+ serializeBinary(): Uint8Array;
1050
+ toObject(includeInstance?: boolean): InspectFilesArtifactContentsResponse.AsObject;
1051
+ static toObject(includeInstance: boolean, msg: InspectFilesArtifactContentsResponse): InspectFilesArtifactContentsResponse.AsObject;
1052
+ static serializeBinaryToWriter(message: InspectFilesArtifactContentsResponse, writer: jspb.BinaryWriter): void;
1053
+ static deserializeBinary(bytes: Uint8Array): InspectFilesArtifactContentsResponse;
1054
+ static deserializeBinaryFromReader(message: InspectFilesArtifactContentsResponse, reader: jspb.BinaryReader): InspectFilesArtifactContentsResponse;
1055
+ }
1056
+
1057
+ export namespace InspectFilesArtifactContentsResponse {
1058
+ export type AsObject = {
1059
+ fileDescriptionsList: Array<FileArtifactContentsFileDescription.AsObject>,
1060
+ }
1061
+ }
1062
+
1063
+ export class FileArtifactContentsFileDescription extends jspb.Message {
1064
+ getPath(): string;
1065
+ setPath(value: string): FileArtifactContentsFileDescription;
1066
+
1067
+ getSize(): number;
1068
+ setSize(value: number): FileArtifactContentsFileDescription;
1069
+
1070
+ getTextPreview(): string;
1071
+ setTextPreview(value: string): FileArtifactContentsFileDescription;
1072
+ hasTextPreview(): boolean;
1073
+ clearTextPreview(): FileArtifactContentsFileDescription;
1074
+
1075
+ serializeBinary(): Uint8Array;
1076
+ toObject(includeInstance?: boolean): FileArtifactContentsFileDescription.AsObject;
1077
+ static toObject(includeInstance: boolean, msg: FileArtifactContentsFileDescription): FileArtifactContentsFileDescription.AsObject;
1078
+ static serializeBinaryToWriter(message: FileArtifactContentsFileDescription, writer: jspb.BinaryWriter): void;
1079
+ static deserializeBinary(bytes: Uint8Array): FileArtifactContentsFileDescription;
1080
+ static deserializeBinaryFromReader(message: FileArtifactContentsFileDescription, reader: jspb.BinaryReader): FileArtifactContentsFileDescription;
1081
+ }
1082
+
1083
+ export namespace FileArtifactContentsFileDescription {
1084
+ export type AsObject = {
1085
+ path: string,
1086
+ size: number,
1087
+ textPreview?: string,
1088
+ }
1089
+
1090
+ export enum TextPreviewCase {
1091
+ _TEXT_PREVIEW_NOT_SET = 0,
1092
+ TEXT_PREVIEW = 3,
1093
+ }
1094
+ }
1095
+
1023
1096
  export enum KurtosisFeatureFlag {
1024
1097
  NO_INSTRUCTIONS_CACHING = 0,
1025
1098
  }
@@ -13,13 +13,7 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global = Function('return this')();
23
17
 
24
18
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
25
19
  goog.object.extend(proto, google_protobuf_empty_pb);
@@ -27,10 +21,13 @@ goog.exportSymbol('proto.api_container_api.DataChunkMetadata', null, global);
27
21
  goog.exportSymbol('proto.api_container_api.DownloadFilesArtifactArgs', null, global);
28
22
  goog.exportSymbol('proto.api_container_api.ExecCommandArgs', null, global);
29
23
  goog.exportSymbol('proto.api_container_api.ExecCommandResponse', null, global);
24
+ goog.exportSymbol('proto.api_container_api.FileArtifactContentsFileDescription', null, global);
30
25
  goog.exportSymbol('proto.api_container_api.FilesArtifactNameAndUuid', null, global);
31
26
  goog.exportSymbol('proto.api_container_api.GetExistingAndHistoricalServiceIdentifiersResponse', null, global);
32
27
  goog.exportSymbol('proto.api_container_api.GetServicesArgs', null, global);
33
28
  goog.exportSymbol('proto.api_container_api.GetServicesResponse', null, global);
29
+ goog.exportSymbol('proto.api_container_api.InspectFilesArtifactContentsRequest', null, global);
30
+ goog.exportSymbol('proto.api_container_api.InspectFilesArtifactContentsResponse', null, global);
34
31
  goog.exportSymbol('proto.api_container_api.KurtosisFeatureFlag', null, global);
35
32
  goog.exportSymbol('proto.api_container_api.ListFilesArtifactNamesAndUuidsResponse', null, global);
36
33
  goog.exportSymbol('proto.api_container_api.Port', null, global);
@@ -798,6 +795,69 @@ if (goog.DEBUG && !COMPILED) {
798
795
  */
799
796
  proto.api_container_api.ListFilesArtifactNamesAndUuidsResponse.displayName = 'proto.api_container_api.ListFilesArtifactNamesAndUuidsResponse';
800
797
  }
798
+ /**
799
+ * Generated by JsPbCodeGenerator.
800
+ * @param {Array=} opt_data Optional initial data array, typically from a
801
+ * server response, or constructed directly in Javascript. The array is used
802
+ * in place and becomes part of the constructed object. It is not cloned.
803
+ * If no data is provided, the constructed object will be empty, but still
804
+ * valid.
805
+ * @extends {jspb.Message}
806
+ * @constructor
807
+ */
808
+ proto.api_container_api.InspectFilesArtifactContentsRequest = function(opt_data) {
809
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
810
+ };
811
+ goog.inherits(proto.api_container_api.InspectFilesArtifactContentsRequest, jspb.Message);
812
+ if (goog.DEBUG && !COMPILED) {
813
+ /**
814
+ * @public
815
+ * @override
816
+ */
817
+ proto.api_container_api.InspectFilesArtifactContentsRequest.displayName = 'proto.api_container_api.InspectFilesArtifactContentsRequest';
818
+ }
819
+ /**
820
+ * Generated by JsPbCodeGenerator.
821
+ * @param {Array=} opt_data Optional initial data array, typically from a
822
+ * server response, or constructed directly in Javascript. The array is used
823
+ * in place and becomes part of the constructed object. It is not cloned.
824
+ * If no data is provided, the constructed object will be empty, but still
825
+ * valid.
826
+ * @extends {jspb.Message}
827
+ * @constructor
828
+ */
829
+ proto.api_container_api.InspectFilesArtifactContentsResponse = function(opt_data) {
830
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.api_container_api.InspectFilesArtifactContentsResponse.repeatedFields_, null);
831
+ };
832
+ goog.inherits(proto.api_container_api.InspectFilesArtifactContentsResponse, jspb.Message);
833
+ if (goog.DEBUG && !COMPILED) {
834
+ /**
835
+ * @public
836
+ * @override
837
+ */
838
+ proto.api_container_api.InspectFilesArtifactContentsResponse.displayName = 'proto.api_container_api.InspectFilesArtifactContentsResponse';
839
+ }
840
+ /**
841
+ * Generated by JsPbCodeGenerator.
842
+ * @param {Array=} opt_data Optional initial data array, typically from a
843
+ * server response, or constructed directly in Javascript. The array is used
844
+ * in place and becomes part of the constructed object. It is not cloned.
845
+ * If no data is provided, the constructed object will be empty, but still
846
+ * valid.
847
+ * @extends {jspb.Message}
848
+ * @constructor
849
+ */
850
+ proto.api_container_api.FileArtifactContentsFileDescription = function(opt_data) {
851
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
852
+ };
853
+ goog.inherits(proto.api_container_api.FileArtifactContentsFileDescription, jspb.Message);
854
+ if (goog.DEBUG && !COMPILED) {
855
+ /**
856
+ * @public
857
+ * @override
858
+ */
859
+ proto.api_container_api.FileArtifactContentsFileDescription.displayName = 'proto.api_container_api.FileArtifactContentsFileDescription';
860
+ }
801
861
 
802
862
 
803
863
 
@@ -8029,6 +8089,525 @@ proto.api_container_api.ListFilesArtifactNamesAndUuidsResponse.prototype.clearFi
8029
8089
  };
8030
8090
 
8031
8091
 
8092
+
8093
+
8094
+
8095
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8096
+ /**
8097
+ * Creates an object representation of this proto.
8098
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8099
+ * Optional fields that are not set will be set to undefined.
8100
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8101
+ * For the list of reserved names please see:
8102
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8103
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8104
+ * JSPB instance for transitional soy proto support:
8105
+ * http://goto/soy-param-migration
8106
+ * @return {!Object}
8107
+ */
8108
+ proto.api_container_api.InspectFilesArtifactContentsRequest.prototype.toObject = function(opt_includeInstance) {
8109
+ return proto.api_container_api.InspectFilesArtifactContentsRequest.toObject(opt_includeInstance, this);
8110
+ };
8111
+
8112
+
8113
+ /**
8114
+ * Static version of the {@see toObject} method.
8115
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8116
+ * the JSPB instance for transitional soy proto support:
8117
+ * http://goto/soy-param-migration
8118
+ * @param {!proto.api_container_api.InspectFilesArtifactContentsRequest} msg The msg instance to transform.
8119
+ * @return {!Object}
8120
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8121
+ */
8122
+ proto.api_container_api.InspectFilesArtifactContentsRequest.toObject = function(includeInstance, msg) {
8123
+ var f, obj = {
8124
+ fileNamesAndUuid: (f = msg.getFileNamesAndUuid()) && proto.api_container_api.FilesArtifactNameAndUuid.toObject(includeInstance, f)
8125
+ };
8126
+
8127
+ if (includeInstance) {
8128
+ obj.$jspbMessageInstance = msg;
8129
+ }
8130
+ return obj;
8131
+ };
8132
+ }
8133
+
8134
+
8135
+ /**
8136
+ * Deserializes binary data (in protobuf wire format).
8137
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8138
+ * @return {!proto.api_container_api.InspectFilesArtifactContentsRequest}
8139
+ */
8140
+ proto.api_container_api.InspectFilesArtifactContentsRequest.deserializeBinary = function(bytes) {
8141
+ var reader = new jspb.BinaryReader(bytes);
8142
+ var msg = new proto.api_container_api.InspectFilesArtifactContentsRequest;
8143
+ return proto.api_container_api.InspectFilesArtifactContentsRequest.deserializeBinaryFromReader(msg, reader);
8144
+ };
8145
+
8146
+
8147
+ /**
8148
+ * Deserializes binary data (in protobuf wire format) from the
8149
+ * given reader into the given message object.
8150
+ * @param {!proto.api_container_api.InspectFilesArtifactContentsRequest} msg The message object to deserialize into.
8151
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8152
+ * @return {!proto.api_container_api.InspectFilesArtifactContentsRequest}
8153
+ */
8154
+ proto.api_container_api.InspectFilesArtifactContentsRequest.deserializeBinaryFromReader = function(msg, reader) {
8155
+ while (reader.nextField()) {
8156
+ if (reader.isEndGroup()) {
8157
+ break;
8158
+ }
8159
+ var field = reader.getFieldNumber();
8160
+ switch (field) {
8161
+ case 1:
8162
+ var value = new proto.api_container_api.FilesArtifactNameAndUuid;
8163
+ reader.readMessage(value,proto.api_container_api.FilesArtifactNameAndUuid.deserializeBinaryFromReader);
8164
+ msg.setFileNamesAndUuid(value);
8165
+ break;
8166
+ default:
8167
+ reader.skipField();
8168
+ break;
8169
+ }
8170
+ }
8171
+ return msg;
8172
+ };
8173
+
8174
+
8175
+ /**
8176
+ * Serializes the message to binary data (in protobuf wire format).
8177
+ * @return {!Uint8Array}
8178
+ */
8179
+ proto.api_container_api.InspectFilesArtifactContentsRequest.prototype.serializeBinary = function() {
8180
+ var writer = new jspb.BinaryWriter();
8181
+ proto.api_container_api.InspectFilesArtifactContentsRequest.serializeBinaryToWriter(this, writer);
8182
+ return writer.getResultBuffer();
8183
+ };
8184
+
8185
+
8186
+ /**
8187
+ * Serializes the given message to binary data (in protobuf wire
8188
+ * format), writing to the given BinaryWriter.
8189
+ * @param {!proto.api_container_api.InspectFilesArtifactContentsRequest} message
8190
+ * @param {!jspb.BinaryWriter} writer
8191
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8192
+ */
8193
+ proto.api_container_api.InspectFilesArtifactContentsRequest.serializeBinaryToWriter = function(message, writer) {
8194
+ var f = undefined;
8195
+ f = message.getFileNamesAndUuid();
8196
+ if (f != null) {
8197
+ writer.writeMessage(
8198
+ 1,
8199
+ f,
8200
+ proto.api_container_api.FilesArtifactNameAndUuid.serializeBinaryToWriter
8201
+ );
8202
+ }
8203
+ };
8204
+
8205
+
8206
+ /**
8207
+ * optional FilesArtifactNameAndUuid file_names_and_uuid = 1;
8208
+ * @return {?proto.api_container_api.FilesArtifactNameAndUuid}
8209
+ */
8210
+ proto.api_container_api.InspectFilesArtifactContentsRequest.prototype.getFileNamesAndUuid = function() {
8211
+ return /** @type{?proto.api_container_api.FilesArtifactNameAndUuid} */ (
8212
+ jspb.Message.getWrapperField(this, proto.api_container_api.FilesArtifactNameAndUuid, 1));
8213
+ };
8214
+
8215
+
8216
+ /**
8217
+ * @param {?proto.api_container_api.FilesArtifactNameAndUuid|undefined} value
8218
+ * @return {!proto.api_container_api.InspectFilesArtifactContentsRequest} returns this
8219
+ */
8220
+ proto.api_container_api.InspectFilesArtifactContentsRequest.prototype.setFileNamesAndUuid = function(value) {
8221
+ return jspb.Message.setWrapperField(this, 1, value);
8222
+ };
8223
+
8224
+
8225
+ /**
8226
+ * Clears the message field making it undefined.
8227
+ * @return {!proto.api_container_api.InspectFilesArtifactContentsRequest} returns this
8228
+ */
8229
+ proto.api_container_api.InspectFilesArtifactContentsRequest.prototype.clearFileNamesAndUuid = function() {
8230
+ return this.setFileNamesAndUuid(undefined);
8231
+ };
8232
+
8233
+
8234
+ /**
8235
+ * Returns whether this field is set.
8236
+ * @return {boolean}
8237
+ */
8238
+ proto.api_container_api.InspectFilesArtifactContentsRequest.prototype.hasFileNamesAndUuid = function() {
8239
+ return jspb.Message.getField(this, 1) != null;
8240
+ };
8241
+
8242
+
8243
+
8244
+ /**
8245
+ * List of repeated fields within this message type.
8246
+ * @private {!Array<number>}
8247
+ * @const
8248
+ */
8249
+ proto.api_container_api.InspectFilesArtifactContentsResponse.repeatedFields_ = [1];
8250
+
8251
+
8252
+
8253
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8254
+ /**
8255
+ * Creates an object representation of this proto.
8256
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8257
+ * Optional fields that are not set will be set to undefined.
8258
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8259
+ * For the list of reserved names please see:
8260
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8261
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8262
+ * JSPB instance for transitional soy proto support:
8263
+ * http://goto/soy-param-migration
8264
+ * @return {!Object}
8265
+ */
8266
+ proto.api_container_api.InspectFilesArtifactContentsResponse.prototype.toObject = function(opt_includeInstance) {
8267
+ return proto.api_container_api.InspectFilesArtifactContentsResponse.toObject(opt_includeInstance, this);
8268
+ };
8269
+
8270
+
8271
+ /**
8272
+ * Static version of the {@see toObject} method.
8273
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8274
+ * the JSPB instance for transitional soy proto support:
8275
+ * http://goto/soy-param-migration
8276
+ * @param {!proto.api_container_api.InspectFilesArtifactContentsResponse} msg The msg instance to transform.
8277
+ * @return {!Object}
8278
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8279
+ */
8280
+ proto.api_container_api.InspectFilesArtifactContentsResponse.toObject = function(includeInstance, msg) {
8281
+ var f, obj = {
8282
+ fileDescriptionsList: jspb.Message.toObjectList(msg.getFileDescriptionsList(),
8283
+ proto.api_container_api.FileArtifactContentsFileDescription.toObject, includeInstance)
8284
+ };
8285
+
8286
+ if (includeInstance) {
8287
+ obj.$jspbMessageInstance = msg;
8288
+ }
8289
+ return obj;
8290
+ };
8291
+ }
8292
+
8293
+
8294
+ /**
8295
+ * Deserializes binary data (in protobuf wire format).
8296
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8297
+ * @return {!proto.api_container_api.InspectFilesArtifactContentsResponse}
8298
+ */
8299
+ proto.api_container_api.InspectFilesArtifactContentsResponse.deserializeBinary = function(bytes) {
8300
+ var reader = new jspb.BinaryReader(bytes);
8301
+ var msg = new proto.api_container_api.InspectFilesArtifactContentsResponse;
8302
+ return proto.api_container_api.InspectFilesArtifactContentsResponse.deserializeBinaryFromReader(msg, reader);
8303
+ };
8304
+
8305
+
8306
+ /**
8307
+ * Deserializes binary data (in protobuf wire format) from the
8308
+ * given reader into the given message object.
8309
+ * @param {!proto.api_container_api.InspectFilesArtifactContentsResponse} msg The message object to deserialize into.
8310
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8311
+ * @return {!proto.api_container_api.InspectFilesArtifactContentsResponse}
8312
+ */
8313
+ proto.api_container_api.InspectFilesArtifactContentsResponse.deserializeBinaryFromReader = function(msg, reader) {
8314
+ while (reader.nextField()) {
8315
+ if (reader.isEndGroup()) {
8316
+ break;
8317
+ }
8318
+ var field = reader.getFieldNumber();
8319
+ switch (field) {
8320
+ case 1:
8321
+ var value = new proto.api_container_api.FileArtifactContentsFileDescription;
8322
+ reader.readMessage(value,proto.api_container_api.FileArtifactContentsFileDescription.deserializeBinaryFromReader);
8323
+ msg.addFileDescriptions(value);
8324
+ break;
8325
+ default:
8326
+ reader.skipField();
8327
+ break;
8328
+ }
8329
+ }
8330
+ return msg;
8331
+ };
8332
+
8333
+
8334
+ /**
8335
+ * Serializes the message to binary data (in protobuf wire format).
8336
+ * @return {!Uint8Array}
8337
+ */
8338
+ proto.api_container_api.InspectFilesArtifactContentsResponse.prototype.serializeBinary = function() {
8339
+ var writer = new jspb.BinaryWriter();
8340
+ proto.api_container_api.InspectFilesArtifactContentsResponse.serializeBinaryToWriter(this, writer);
8341
+ return writer.getResultBuffer();
8342
+ };
8343
+
8344
+
8345
+ /**
8346
+ * Serializes the given message to binary data (in protobuf wire
8347
+ * format), writing to the given BinaryWriter.
8348
+ * @param {!proto.api_container_api.InspectFilesArtifactContentsResponse} message
8349
+ * @param {!jspb.BinaryWriter} writer
8350
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8351
+ */
8352
+ proto.api_container_api.InspectFilesArtifactContentsResponse.serializeBinaryToWriter = function(message, writer) {
8353
+ var f = undefined;
8354
+ f = message.getFileDescriptionsList();
8355
+ if (f.length > 0) {
8356
+ writer.writeRepeatedMessage(
8357
+ 1,
8358
+ f,
8359
+ proto.api_container_api.FileArtifactContentsFileDescription.serializeBinaryToWriter
8360
+ );
8361
+ }
8362
+ };
8363
+
8364
+
8365
+ /**
8366
+ * repeated FileArtifactContentsFileDescription file_descriptions = 1;
8367
+ * @return {!Array<!proto.api_container_api.FileArtifactContentsFileDescription>}
8368
+ */
8369
+ proto.api_container_api.InspectFilesArtifactContentsResponse.prototype.getFileDescriptionsList = function() {
8370
+ return /** @type{!Array<!proto.api_container_api.FileArtifactContentsFileDescription>} */ (
8371
+ jspb.Message.getRepeatedWrapperField(this, proto.api_container_api.FileArtifactContentsFileDescription, 1));
8372
+ };
8373
+
8374
+
8375
+ /**
8376
+ * @param {!Array<!proto.api_container_api.FileArtifactContentsFileDescription>} value
8377
+ * @return {!proto.api_container_api.InspectFilesArtifactContentsResponse} returns this
8378
+ */
8379
+ proto.api_container_api.InspectFilesArtifactContentsResponse.prototype.setFileDescriptionsList = function(value) {
8380
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
8381
+ };
8382
+
8383
+
8384
+ /**
8385
+ * @param {!proto.api_container_api.FileArtifactContentsFileDescription=} opt_value
8386
+ * @param {number=} opt_index
8387
+ * @return {!proto.api_container_api.FileArtifactContentsFileDescription}
8388
+ */
8389
+ proto.api_container_api.InspectFilesArtifactContentsResponse.prototype.addFileDescriptions = function(opt_value, opt_index) {
8390
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.api_container_api.FileArtifactContentsFileDescription, opt_index);
8391
+ };
8392
+
8393
+
8394
+ /**
8395
+ * Clears the list making it empty but non-null.
8396
+ * @return {!proto.api_container_api.InspectFilesArtifactContentsResponse} returns this
8397
+ */
8398
+ proto.api_container_api.InspectFilesArtifactContentsResponse.prototype.clearFileDescriptionsList = function() {
8399
+ return this.setFileDescriptionsList([]);
8400
+ };
8401
+
8402
+
8403
+
8404
+
8405
+
8406
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8407
+ /**
8408
+ * Creates an object representation of this proto.
8409
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8410
+ * Optional fields that are not set will be set to undefined.
8411
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8412
+ * For the list of reserved names please see:
8413
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8414
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8415
+ * JSPB instance for transitional soy proto support:
8416
+ * http://goto/soy-param-migration
8417
+ * @return {!Object}
8418
+ */
8419
+ proto.api_container_api.FileArtifactContentsFileDescription.prototype.toObject = function(opt_includeInstance) {
8420
+ return proto.api_container_api.FileArtifactContentsFileDescription.toObject(opt_includeInstance, this);
8421
+ };
8422
+
8423
+
8424
+ /**
8425
+ * Static version of the {@see toObject} method.
8426
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8427
+ * the JSPB instance for transitional soy proto support:
8428
+ * http://goto/soy-param-migration
8429
+ * @param {!proto.api_container_api.FileArtifactContentsFileDescription} msg The msg instance to transform.
8430
+ * @return {!Object}
8431
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8432
+ */
8433
+ proto.api_container_api.FileArtifactContentsFileDescription.toObject = function(includeInstance, msg) {
8434
+ var f, obj = {
8435
+ path: jspb.Message.getFieldWithDefault(msg, 1, ""),
8436
+ size: jspb.Message.getFieldWithDefault(msg, 2, 0),
8437
+ textPreview: jspb.Message.getFieldWithDefault(msg, 3, "")
8438
+ };
8439
+
8440
+ if (includeInstance) {
8441
+ obj.$jspbMessageInstance = msg;
8442
+ }
8443
+ return obj;
8444
+ };
8445
+ }
8446
+
8447
+
8448
+ /**
8449
+ * Deserializes binary data (in protobuf wire format).
8450
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8451
+ * @return {!proto.api_container_api.FileArtifactContentsFileDescription}
8452
+ */
8453
+ proto.api_container_api.FileArtifactContentsFileDescription.deserializeBinary = function(bytes) {
8454
+ var reader = new jspb.BinaryReader(bytes);
8455
+ var msg = new proto.api_container_api.FileArtifactContentsFileDescription;
8456
+ return proto.api_container_api.FileArtifactContentsFileDescription.deserializeBinaryFromReader(msg, reader);
8457
+ };
8458
+
8459
+
8460
+ /**
8461
+ * Deserializes binary data (in protobuf wire format) from the
8462
+ * given reader into the given message object.
8463
+ * @param {!proto.api_container_api.FileArtifactContentsFileDescription} msg The message object to deserialize into.
8464
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8465
+ * @return {!proto.api_container_api.FileArtifactContentsFileDescription}
8466
+ */
8467
+ proto.api_container_api.FileArtifactContentsFileDescription.deserializeBinaryFromReader = function(msg, reader) {
8468
+ while (reader.nextField()) {
8469
+ if (reader.isEndGroup()) {
8470
+ break;
8471
+ }
8472
+ var field = reader.getFieldNumber();
8473
+ switch (field) {
8474
+ case 1:
8475
+ var value = /** @type {string} */ (reader.readString());
8476
+ msg.setPath(value);
8477
+ break;
8478
+ case 2:
8479
+ var value = /** @type {number} */ (reader.readUint64());
8480
+ msg.setSize(value);
8481
+ break;
8482
+ case 3:
8483
+ var value = /** @type {string} */ (reader.readString());
8484
+ msg.setTextPreview(value);
8485
+ break;
8486
+ default:
8487
+ reader.skipField();
8488
+ break;
8489
+ }
8490
+ }
8491
+ return msg;
8492
+ };
8493
+
8494
+
8495
+ /**
8496
+ * Serializes the message to binary data (in protobuf wire format).
8497
+ * @return {!Uint8Array}
8498
+ */
8499
+ proto.api_container_api.FileArtifactContentsFileDescription.prototype.serializeBinary = function() {
8500
+ var writer = new jspb.BinaryWriter();
8501
+ proto.api_container_api.FileArtifactContentsFileDescription.serializeBinaryToWriter(this, writer);
8502
+ return writer.getResultBuffer();
8503
+ };
8504
+
8505
+
8506
+ /**
8507
+ * Serializes the given message to binary data (in protobuf wire
8508
+ * format), writing to the given BinaryWriter.
8509
+ * @param {!proto.api_container_api.FileArtifactContentsFileDescription} message
8510
+ * @param {!jspb.BinaryWriter} writer
8511
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8512
+ */
8513
+ proto.api_container_api.FileArtifactContentsFileDescription.serializeBinaryToWriter = function(message, writer) {
8514
+ var f = undefined;
8515
+ f = message.getPath();
8516
+ if (f.length > 0) {
8517
+ writer.writeString(
8518
+ 1,
8519
+ f
8520
+ );
8521
+ }
8522
+ f = message.getSize();
8523
+ if (f !== 0) {
8524
+ writer.writeUint64(
8525
+ 2,
8526
+ f
8527
+ );
8528
+ }
8529
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
8530
+ if (f != null) {
8531
+ writer.writeString(
8532
+ 3,
8533
+ f
8534
+ );
8535
+ }
8536
+ };
8537
+
8538
+
8539
+ /**
8540
+ * optional string path = 1;
8541
+ * @return {string}
8542
+ */
8543
+ proto.api_container_api.FileArtifactContentsFileDescription.prototype.getPath = function() {
8544
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
8545
+ };
8546
+
8547
+
8548
+ /**
8549
+ * @param {string} value
8550
+ * @return {!proto.api_container_api.FileArtifactContentsFileDescription} returns this
8551
+ */
8552
+ proto.api_container_api.FileArtifactContentsFileDescription.prototype.setPath = function(value) {
8553
+ return jspb.Message.setProto3StringField(this, 1, value);
8554
+ };
8555
+
8556
+
8557
+ /**
8558
+ * optional uint64 size = 2;
8559
+ * @return {number}
8560
+ */
8561
+ proto.api_container_api.FileArtifactContentsFileDescription.prototype.getSize = function() {
8562
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
8563
+ };
8564
+
8565
+
8566
+ /**
8567
+ * @param {number} value
8568
+ * @return {!proto.api_container_api.FileArtifactContentsFileDescription} returns this
8569
+ */
8570
+ proto.api_container_api.FileArtifactContentsFileDescription.prototype.setSize = function(value) {
8571
+ return jspb.Message.setProto3IntField(this, 2, value);
8572
+ };
8573
+
8574
+
8575
+ /**
8576
+ * optional string text_preview = 3;
8577
+ * @return {string}
8578
+ */
8579
+ proto.api_container_api.FileArtifactContentsFileDescription.prototype.getTextPreview = function() {
8580
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
8581
+ };
8582
+
8583
+
8584
+ /**
8585
+ * @param {string} value
8586
+ * @return {!proto.api_container_api.FileArtifactContentsFileDescription} returns this
8587
+ */
8588
+ proto.api_container_api.FileArtifactContentsFileDescription.prototype.setTextPreview = function(value) {
8589
+ return jspb.Message.setField(this, 3, value);
8590
+ };
8591
+
8592
+
8593
+ /**
8594
+ * Clears the field making it undefined.
8595
+ * @return {!proto.api_container_api.FileArtifactContentsFileDescription} returns this
8596
+ */
8597
+ proto.api_container_api.FileArtifactContentsFileDescription.prototype.clearTextPreview = function() {
8598
+ return jspb.Message.setField(this, 3, undefined);
8599
+ };
8600
+
8601
+
8602
+ /**
8603
+ * Returns whether this field is set.
8604
+ * @return {boolean}
8605
+ */
8606
+ proto.api_container_api.FileArtifactContentsFileDescription.prototype.hasTextPreview = function() {
8607
+ return jspb.Message.getField(this, 3) != null;
8608
+ };
8609
+
8610
+
8032
8611
  /**
8033
8612
  * @enum {number}
8034
8613
  */
@@ -7,7 +7,7 @@
7
7
  // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
8
  // versions:
9
9
  // protoc-gen-grpc-web v1.4.2
10
- // protoc v3.19.1
10
+ // protoc v3.15.6
11
11
  // source: engine_service.proto
12
12
 
13
13
 
@@ -13,13 +13,7 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function() {
17
- if (this) { return this; }
18
- if (typeof window !== 'undefined') { return window; }
19
- if (typeof global !== 'undefined') { return global; }
20
- if (typeof self !== 'undefined') { return self; }
21
- return Function('return this')();
22
- }.call(null));
16
+ var global = Function('return this')();
23
17
 
24
18
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
25
19
  goog.object.extend(proto, google_protobuf_empty_pb);
@@ -4,5 +4,5 @@ exports.KURTOSIS_VERSION = void 0;
4
4
  // !!!!!!!!!!! DO NOT UPDATE! WILL BE MANUALLY UPDATED DURING THE RELEASE PROCESS !!!!!!!!!!!!!!!!!!!!!!
5
5
  // This is necessary so that Kurt Core consumers (e.g. modules) will know if they're compatible with the currently-running
6
6
  // API container
7
- exports.KURTOSIS_VERSION = "0.80.10";
7
+ exports.KURTOSIS_VERSION = "0.80.12";
8
8
  // !!!!!!!!!!! DO NOT UPDATE! WILL BE MANUALLY UPDATED DURING THE RELEASE PROCESS !!!!!!!!!!!!!!!!!!!!!!
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kurtosis-sdk",
3
3
  "//": "NOTE: DO NOT UPDATE THIS VERSION MANUALLY - IT WILL BE UPDATED DURING THE RELEASE PROCESS!",
4
- "version": "0.80.10",
4
+ "version": "0.80.12",
5
5
  "main": "./build/index",
6
6
  "description": "This repo contains a Typescript client for communicating with the Kurtosis Engine server, which is responsible for creating, managing and destroying Kurtosis Enclaves.",
7
7
  "types": "./build/index",