kurtosis-sdk 0.57.8 → 0.58.0

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.
@@ -19,8 +19,6 @@ interface IApiContainerServiceService extends grpc.ServiceDefinition<grpc.Untype
19
19
  removeService: grpc.MethodDefinition<api_container_service_pb.RemoveServiceArgs, api_container_service_pb.RemoveServiceResponse>;
20
20
  repartition: grpc.MethodDefinition<api_container_service_pb.RepartitionArgs, google_protobuf_empty_pb.Empty>;
21
21
  execCommand: grpc.MethodDefinition<api_container_service_pb.ExecCommandArgs, api_container_service_pb.ExecCommandResponse>;
22
- defineFact: grpc.MethodDefinition<api_container_service_pb.DefineFactArgs, api_container_service_pb.DefineFactResponse>;
23
- getFactValues: grpc.MethodDefinition<api_container_service_pb.GetFactValuesArgs, api_container_service_pb.GetFactValuesResponse>;
24
22
  pauseService: grpc.MethodDefinition<api_container_service_pb.PauseServiceArgs, google_protobuf_empty_pb.Empty>;
25
23
  unpauseService: grpc.MethodDefinition<api_container_service_pb.UnpauseServiceArgs, google_protobuf_empty_pb.Empty>;
26
24
  waitForHttpGetEndpointAvailability: grpc.MethodDefinition<api_container_service_pb.WaitForHttpGetEndpointAvailabilityArgs, google_protobuf_empty_pb.Empty>;
@@ -46,8 +44,6 @@ export interface IApiContainerServiceServer extends grpc.UntypedServiceImplement
46
44
  removeService: grpc.handleUnaryCall<api_container_service_pb.RemoveServiceArgs, api_container_service_pb.RemoveServiceResponse>;
47
45
  repartition: grpc.handleUnaryCall<api_container_service_pb.RepartitionArgs, google_protobuf_empty_pb.Empty>;
48
46
  execCommand: grpc.handleUnaryCall<api_container_service_pb.ExecCommandArgs, api_container_service_pb.ExecCommandResponse>;
49
- defineFact: grpc.handleUnaryCall<api_container_service_pb.DefineFactArgs, api_container_service_pb.DefineFactResponse>;
50
- getFactValues: grpc.handleUnaryCall<api_container_service_pb.GetFactValuesArgs, api_container_service_pb.GetFactValuesResponse>;
51
47
  pauseService: grpc.handleUnaryCall<api_container_service_pb.PauseServiceArgs, google_protobuf_empty_pb.Empty>;
52
48
  unpauseService: grpc.handleUnaryCall<api_container_service_pb.UnpauseServiceArgs, google_protobuf_empty_pb.Empty>;
53
49
  waitForHttpGetEndpointAvailability: grpc.handleUnaryCall<api_container_service_pb.WaitForHttpGetEndpointAvailabilityArgs, google_protobuf_empty_pb.Empty>;
@@ -92,12 +88,6 @@ export class ApiContainerServiceClient extends grpc.Client {
92
88
  execCommand(argument: api_container_service_pb.ExecCommandArgs, callback: grpc.requestCallback<api_container_service_pb.ExecCommandResponse>): grpc.ClientUnaryCall;
93
89
  execCommand(argument: api_container_service_pb.ExecCommandArgs, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.ExecCommandResponse>): grpc.ClientUnaryCall;
94
90
  execCommand(argument: api_container_service_pb.ExecCommandArgs, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.ExecCommandResponse>): grpc.ClientUnaryCall;
95
- defineFact(argument: api_container_service_pb.DefineFactArgs, callback: grpc.requestCallback<api_container_service_pb.DefineFactResponse>): grpc.ClientUnaryCall;
96
- defineFact(argument: api_container_service_pb.DefineFactArgs, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.DefineFactResponse>): grpc.ClientUnaryCall;
97
- defineFact(argument: api_container_service_pb.DefineFactArgs, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.DefineFactResponse>): grpc.ClientUnaryCall;
98
- getFactValues(argument: api_container_service_pb.GetFactValuesArgs, callback: grpc.requestCallback<api_container_service_pb.GetFactValuesResponse>): grpc.ClientUnaryCall;
99
- getFactValues(argument: api_container_service_pb.GetFactValuesArgs, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.GetFactValuesResponse>): grpc.ClientUnaryCall;
100
- getFactValues(argument: api_container_service_pb.GetFactValuesArgs, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.GetFactValuesResponse>): grpc.ClientUnaryCall;
101
91
  pauseService(argument: api_container_service_pb.PauseServiceArgs, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
102
92
  pauseService(argument: api_container_service_pb.PauseServiceArgs, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
103
93
  pauseService(argument: api_container_service_pb.PauseServiceArgs, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
@@ -4,30 +4,6 @@
4
4
  var grpc = require('@grpc/grpc-js');
5
5
  var api_container_service_pb = require('./api_container_service_pb.js');
6
6
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
7
- var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js');
8
- var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
9
-
10
- function serialize_api_container_api_DefineFactArgs(arg) {
11
- if (!(arg instanceof api_container_service_pb.DefineFactArgs)) {
12
- throw new Error('Expected argument of type api_container_api.DefineFactArgs');
13
- }
14
- return Buffer.from(arg.serializeBinary());
15
- }
16
-
17
- function deserialize_api_container_api_DefineFactArgs(buffer_arg) {
18
- return api_container_service_pb.DefineFactArgs.deserializeBinary(new Uint8Array(buffer_arg));
19
- }
20
-
21
- function serialize_api_container_api_DefineFactResponse(arg) {
22
- if (!(arg instanceof api_container_service_pb.DefineFactResponse)) {
23
- throw new Error('Expected argument of type api_container_api.DefineFactResponse');
24
- }
25
- return Buffer.from(arg.serializeBinary());
26
- }
27
-
28
- function deserialize_api_container_api_DefineFactResponse(buffer_arg) {
29
- return api_container_service_pb.DefineFactResponse.deserializeBinary(new Uint8Array(buffer_arg));
30
- }
31
7
 
32
8
  function serialize_api_container_api_DownloadFilesArtifactArgs(arg) {
33
9
  if (!(arg instanceof api_container_service_pb.DownloadFilesArtifactArgs)) {
@@ -95,28 +71,6 @@ function deserialize_api_container_api_ExecuteModuleResponse(buffer_arg) {
95
71
  return api_container_service_pb.ExecuteModuleResponse.deserializeBinary(new Uint8Array(buffer_arg));
96
72
  }
97
73
 
98
- function serialize_api_container_api_GetFactValuesArgs(arg) {
99
- if (!(arg instanceof api_container_service_pb.GetFactValuesArgs)) {
100
- throw new Error('Expected argument of type api_container_api.GetFactValuesArgs');
101
- }
102
- return Buffer.from(arg.serializeBinary());
103
- }
104
-
105
- function deserialize_api_container_api_GetFactValuesArgs(buffer_arg) {
106
- return api_container_service_pb.GetFactValuesArgs.deserializeBinary(new Uint8Array(buffer_arg));
107
- }
108
-
109
- function serialize_api_container_api_GetFactValuesResponse(arg) {
110
- if (!(arg instanceof api_container_service_pb.GetFactValuesResponse)) {
111
- throw new Error('Expected argument of type api_container_api.GetFactValuesResponse');
112
- }
113
- return Buffer.from(arg.serializeBinary());
114
- }
115
-
116
- function deserialize_api_container_api_GetFactValuesResponse(buffer_arg) {
117
- return api_container_service_pb.GetFactValuesResponse.deserializeBinary(new Uint8Array(buffer_arg));
118
- }
119
-
120
74
  function serialize_api_container_api_GetModulesArgs(arg) {
121
75
  if (!(arg instanceof api_container_service_pb.GetModulesArgs)) {
122
76
  throw new Error('Expected argument of type api_container_api.GetModulesArgs');
@@ -570,30 +524,6 @@ execCommand: {
570
524
  responseSerialize: serialize_api_container_api_ExecCommandResponse,
571
525
  responseDeserialize: deserialize_api_container_api_ExecCommandResponse,
572
526
  },
573
- // Define fact
574
- defineFact: {
575
- path: '/api_container_api.ApiContainerService/DefineFact',
576
- requestStream: false,
577
- responseStream: false,
578
- requestType: api_container_service_pb.DefineFactArgs,
579
- responseType: api_container_service_pb.DefineFactResponse,
580
- requestSerialize: serialize_api_container_api_DefineFactArgs,
581
- requestDeserialize: deserialize_api_container_api_DefineFactArgs,
582
- responseSerialize: serialize_api_container_api_DefineFactResponse,
583
- responseDeserialize: deserialize_api_container_api_DefineFactResponse,
584
- },
585
- // Get a list of values of a fact
586
- getFactValues: {
587
- path: '/api_container_api.ApiContainerService/GetFactValues',
588
- requestStream: false,
589
- responseStream: false,
590
- requestType: api_container_service_pb.GetFactValuesArgs,
591
- responseType: api_container_service_pb.GetFactValuesResponse,
592
- requestSerialize: serialize_api_container_api_GetFactValuesArgs,
593
- requestDeserialize: deserialize_api_container_api_GetFactValuesArgs,
594
- responseSerialize: serialize_api_container_api_GetFactValuesResponse,
595
- responseDeserialize: deserialize_api_container_api_GetFactValuesResponse,
596
- },
597
527
  // Pauses all processes running in the service container
598
528
  pauseService: {
599
529
  path: '/api_container_api.ApiContainerService/PauseService',
@@ -82,20 +82,6 @@ export class ApiContainerServiceClient {
82
82
  response: api_container_service_pb.ExecCommandResponse) => void
83
83
  ): grpcWeb.ClientReadableStream<api_container_service_pb.ExecCommandResponse>;
84
84
 
85
- defineFact(
86
- request: api_container_service_pb.DefineFactArgs,
87
- metadata: grpcWeb.Metadata | undefined,
88
- callback: (err: grpcWeb.RpcError,
89
- response: api_container_service_pb.DefineFactResponse) => void
90
- ): grpcWeb.ClientReadableStream<api_container_service_pb.DefineFactResponse>;
91
-
92
- getFactValues(
93
- request: api_container_service_pb.GetFactValuesArgs,
94
- metadata: grpcWeb.Metadata | undefined,
95
- callback: (err: grpcWeb.RpcError,
96
- response: api_container_service_pb.GetFactValuesResponse) => void
97
- ): grpcWeb.ClientReadableStream<api_container_service_pb.GetFactValuesResponse>;
98
-
99
85
  pauseService(
100
86
  request: api_container_service_pb.PauseServiceArgs,
101
87
  metadata: grpcWeb.Metadata | undefined,
@@ -221,16 +207,6 @@ export class ApiContainerServicePromiseClient {
221
207
  metadata?: grpcWeb.Metadata
222
208
  ): Promise<api_container_service_pb.ExecCommandResponse>;
223
209
 
224
- defineFact(
225
- request: api_container_service_pb.DefineFactArgs,
226
- metadata?: grpcWeb.Metadata
227
- ): Promise<api_container_service_pb.DefineFactResponse>;
228
-
229
- getFactValues(
230
- request: api_container_service_pb.GetFactValuesArgs,
231
- metadata?: grpcWeb.Metadata
232
- ): Promise<api_container_service_pb.GetFactValuesResponse>;
233
-
234
210
  pauseService(
235
211
  request: api_container_service_pb.PauseServiceArgs,
236
212
  metadata?: grpcWeb.Metadata
@@ -17,10 +17,6 @@ grpc.web = require('grpc-web');
17
17
 
18
18
 
19
19
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
20
-
21
- var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js')
22
-
23
- var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js')
24
20
  const proto = {};
25
21
  proto.api_container_api = require('./api_container_service_pb.js');
26
22
 
@@ -737,128 +733,6 @@ proto.api_container_api.ApiContainerServicePromiseClient.prototype.execCommand =
737
733
  };
738
734
 
739
735
 
740
- /**
741
- * @const
742
- * @type {!grpc.web.MethodDescriptor<
743
- * !proto.api_container_api.DefineFactArgs,
744
- * !proto.api_container_api.DefineFactResponse>}
745
- */
746
- const methodDescriptor_ApiContainerService_DefineFact = new grpc.web.MethodDescriptor(
747
- '/api_container_api.ApiContainerService/DefineFact',
748
- grpc.web.MethodType.UNARY,
749
- proto.api_container_api.DefineFactArgs,
750
- proto.api_container_api.DefineFactResponse,
751
- /**
752
- * @param {!proto.api_container_api.DefineFactArgs} request
753
- * @return {!Uint8Array}
754
- */
755
- function(request) {
756
- return request.serializeBinary();
757
- },
758
- proto.api_container_api.DefineFactResponse.deserializeBinary
759
- );
760
-
761
-
762
- /**
763
- * @param {!proto.api_container_api.DefineFactArgs} request The
764
- * request proto
765
- * @param {?Object<string, string>} metadata User defined
766
- * call metadata
767
- * @param {function(?grpc.web.RpcError, ?proto.api_container_api.DefineFactResponse)}
768
- * callback The callback function(error, response)
769
- * @return {!grpc.web.ClientReadableStream<!proto.api_container_api.DefineFactResponse>|undefined}
770
- * The XHR Node Readable Stream
771
- */
772
- proto.api_container_api.ApiContainerServiceClient.prototype.defineFact =
773
- function(request, metadata, callback) {
774
- return this.client_.rpcCall(this.hostname_ +
775
- '/api_container_api.ApiContainerService/DefineFact',
776
- request,
777
- metadata || {},
778
- methodDescriptor_ApiContainerService_DefineFact,
779
- callback);
780
- };
781
-
782
-
783
- /**
784
- * @param {!proto.api_container_api.DefineFactArgs} request The
785
- * request proto
786
- * @param {?Object<string, string>=} metadata User defined
787
- * call metadata
788
- * @return {!Promise<!proto.api_container_api.DefineFactResponse>}
789
- * Promise that resolves to the response
790
- */
791
- proto.api_container_api.ApiContainerServicePromiseClient.prototype.defineFact =
792
- function(request, metadata) {
793
- return this.client_.unaryCall(this.hostname_ +
794
- '/api_container_api.ApiContainerService/DefineFact',
795
- request,
796
- metadata || {},
797
- methodDescriptor_ApiContainerService_DefineFact);
798
- };
799
-
800
-
801
- /**
802
- * @const
803
- * @type {!grpc.web.MethodDescriptor<
804
- * !proto.api_container_api.GetFactValuesArgs,
805
- * !proto.api_container_api.GetFactValuesResponse>}
806
- */
807
- const methodDescriptor_ApiContainerService_GetFactValues = new grpc.web.MethodDescriptor(
808
- '/api_container_api.ApiContainerService/GetFactValues',
809
- grpc.web.MethodType.UNARY,
810
- proto.api_container_api.GetFactValuesArgs,
811
- proto.api_container_api.GetFactValuesResponse,
812
- /**
813
- * @param {!proto.api_container_api.GetFactValuesArgs} request
814
- * @return {!Uint8Array}
815
- */
816
- function(request) {
817
- return request.serializeBinary();
818
- },
819
- proto.api_container_api.GetFactValuesResponse.deserializeBinary
820
- );
821
-
822
-
823
- /**
824
- * @param {!proto.api_container_api.GetFactValuesArgs} request The
825
- * request proto
826
- * @param {?Object<string, string>} metadata User defined
827
- * call metadata
828
- * @param {function(?grpc.web.RpcError, ?proto.api_container_api.GetFactValuesResponse)}
829
- * callback The callback function(error, response)
830
- * @return {!grpc.web.ClientReadableStream<!proto.api_container_api.GetFactValuesResponse>|undefined}
831
- * The XHR Node Readable Stream
832
- */
833
- proto.api_container_api.ApiContainerServiceClient.prototype.getFactValues =
834
- function(request, metadata, callback) {
835
- return this.client_.rpcCall(this.hostname_ +
836
- '/api_container_api.ApiContainerService/GetFactValues',
837
- request,
838
- metadata || {},
839
- methodDescriptor_ApiContainerService_GetFactValues,
840
- callback);
841
- };
842
-
843
-
844
- /**
845
- * @param {!proto.api_container_api.GetFactValuesArgs} request The
846
- * request proto
847
- * @param {?Object<string, string>=} metadata User defined
848
- * call metadata
849
- * @return {!Promise<!proto.api_container_api.GetFactValuesResponse>}
850
- * Promise that resolves to the response
851
- */
852
- proto.api_container_api.ApiContainerServicePromiseClient.prototype.getFactValues =
853
- function(request, metadata) {
854
- return this.client_.unaryCall(this.hostname_ +
855
- '/api_container_api.ApiContainerService/GetFactValues',
856
- request,
857
- metadata || {},
858
- methodDescriptor_ApiContainerService_GetFactValues);
859
- };
860
-
861
-
862
736
  /**
863
737
  * @const
864
738
  * @type {!grpc.web.MethodDescriptor<
@@ -1,8 +1,6 @@
1
1
  import * as jspb from 'google-protobuf'
2
2
 
3
3
  import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
4
- import * as google_protobuf_duration_pb from 'google-protobuf/google/protobuf/duration_pb';
5
- import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
6
4
 
7
5
 
8
6
  export class Port extends jspb.Message {
@@ -685,8 +683,10 @@ export namespace StarlarkExecutionError {
685
683
  }
686
684
 
687
685
  export class StarlarkRunProgress extends jspb.Message {
688
- getCurrentStepInfo(): string;
689
- setCurrentStepInfo(value: string): StarlarkRunProgress;
686
+ getCurrentStepInfoList(): Array<string>;
687
+ setCurrentStepInfoList(value: Array<string>): StarlarkRunProgress;
688
+ clearCurrentStepInfoList(): StarlarkRunProgress;
689
+ addCurrentStepInfo(value: string, index?: number): StarlarkRunProgress;
690
690
 
691
691
  getTotalSteps(): number;
692
692
  setTotalSteps(value: number): StarlarkRunProgress;
@@ -704,7 +704,7 @@ export class StarlarkRunProgress extends jspb.Message {
704
704
 
705
705
  export namespace StarlarkRunProgress {
706
706
  export type AsObject = {
707
- currentStepInfo: string,
707
+ currentStepInfoList: Array<string>,
708
708
  totalSteps: number,
709
709
  currentStepNumber: number,
710
710
  }
@@ -1318,276 +1318,3 @@ export namespace RenderTemplatesToFilesArtifactResponse {
1318
1318
  }
1319
1319
  }
1320
1320
 
1321
- export class DefineFactArgs extends jspb.Message {
1322
- getFactRecipe(): FactRecipe | undefined;
1323
- setFactRecipe(value?: FactRecipe): DefineFactArgs;
1324
- hasFactRecipe(): boolean;
1325
- clearFactRecipe(): DefineFactArgs;
1326
-
1327
- serializeBinary(): Uint8Array;
1328
- toObject(includeInstance?: boolean): DefineFactArgs.AsObject;
1329
- static toObject(includeInstance: boolean, msg: DefineFactArgs): DefineFactArgs.AsObject;
1330
- static serializeBinaryToWriter(message: DefineFactArgs, writer: jspb.BinaryWriter): void;
1331
- static deserializeBinary(bytes: Uint8Array): DefineFactArgs;
1332
- static deserializeBinaryFromReader(message: DefineFactArgs, reader: jspb.BinaryReader): DefineFactArgs;
1333
- }
1334
-
1335
- export namespace DefineFactArgs {
1336
- export type AsObject = {
1337
- factRecipe?: FactRecipe.AsObject,
1338
- }
1339
- }
1340
-
1341
- export class DefineFactResponse extends jspb.Message {
1342
- serializeBinary(): Uint8Array;
1343
- toObject(includeInstance?: boolean): DefineFactResponse.AsObject;
1344
- static toObject(includeInstance: boolean, msg: DefineFactResponse): DefineFactResponse.AsObject;
1345
- static serializeBinaryToWriter(message: DefineFactResponse, writer: jspb.BinaryWriter): void;
1346
- static deserializeBinary(bytes: Uint8Array): DefineFactResponse;
1347
- static deserializeBinaryFromReader(message: DefineFactResponse, reader: jspb.BinaryReader): DefineFactResponse;
1348
- }
1349
-
1350
- export namespace DefineFactResponse {
1351
- export type AsObject = {
1352
- }
1353
- }
1354
-
1355
- export class GetFactValuesArgs extends jspb.Message {
1356
- getServiceId(): string;
1357
- setServiceId(value: string): GetFactValuesArgs;
1358
-
1359
- getFactName(): string;
1360
- setFactName(value: string): GetFactValuesArgs;
1361
-
1362
- getStartingFrom(): google_protobuf_timestamp_pb.Timestamp | undefined;
1363
- setStartingFrom(value?: google_protobuf_timestamp_pb.Timestamp): GetFactValuesArgs;
1364
- hasStartingFrom(): boolean;
1365
- clearStartingFrom(): GetFactValuesArgs;
1366
-
1367
- serializeBinary(): Uint8Array;
1368
- toObject(includeInstance?: boolean): GetFactValuesArgs.AsObject;
1369
- static toObject(includeInstance: boolean, msg: GetFactValuesArgs): GetFactValuesArgs.AsObject;
1370
- static serializeBinaryToWriter(message: GetFactValuesArgs, writer: jspb.BinaryWriter): void;
1371
- static deserializeBinary(bytes: Uint8Array): GetFactValuesArgs;
1372
- static deserializeBinaryFromReader(message: GetFactValuesArgs, reader: jspb.BinaryReader): GetFactValuesArgs;
1373
- }
1374
-
1375
- export namespace GetFactValuesArgs {
1376
- export type AsObject = {
1377
- serviceId: string,
1378
- factName: string,
1379
- startingFrom?: google_protobuf_timestamp_pb.Timestamp.AsObject,
1380
- }
1381
-
1382
- export enum StartingFromCase {
1383
- _STARTING_FROM_NOT_SET = 0,
1384
- STARTING_FROM = 3,
1385
- }
1386
- }
1387
-
1388
- export class GetFactValuesResponse extends jspb.Message {
1389
- getFactValuesList(): Array<FactValue>;
1390
- setFactValuesList(value: Array<FactValue>): GetFactValuesResponse;
1391
- clearFactValuesList(): GetFactValuesResponse;
1392
- addFactValues(value?: FactValue, index?: number): FactValue;
1393
-
1394
- getLastTimestampFromPage(): google_protobuf_timestamp_pb.Timestamp | undefined;
1395
- setLastTimestampFromPage(value?: google_protobuf_timestamp_pb.Timestamp): GetFactValuesResponse;
1396
- hasLastTimestampFromPage(): boolean;
1397
- clearLastTimestampFromPage(): GetFactValuesResponse;
1398
-
1399
- serializeBinary(): Uint8Array;
1400
- toObject(includeInstance?: boolean): GetFactValuesResponse.AsObject;
1401
- static toObject(includeInstance: boolean, msg: GetFactValuesResponse): GetFactValuesResponse.AsObject;
1402
- static serializeBinaryToWriter(message: GetFactValuesResponse, writer: jspb.BinaryWriter): void;
1403
- static deserializeBinary(bytes: Uint8Array): GetFactValuesResponse;
1404
- static deserializeBinaryFromReader(message: GetFactValuesResponse, reader: jspb.BinaryReader): GetFactValuesResponse;
1405
- }
1406
-
1407
- export namespace GetFactValuesResponse {
1408
- export type AsObject = {
1409
- factValuesList: Array<FactValue.AsObject>,
1410
- lastTimestampFromPage?: google_protobuf_timestamp_pb.Timestamp.AsObject,
1411
- }
1412
- }
1413
-
1414
- export class FactValue extends jspb.Message {
1415
- getStringValue(): string;
1416
- setStringValue(value: string): FactValue;
1417
-
1418
- getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
1419
- setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): FactValue;
1420
- hasUpdatedAt(): boolean;
1421
- clearUpdatedAt(): FactValue;
1422
-
1423
- getFactValueCase(): FactValue.FactValueCase;
1424
-
1425
- serializeBinary(): Uint8Array;
1426
- toObject(includeInstance?: boolean): FactValue.AsObject;
1427
- static toObject(includeInstance: boolean, msg: FactValue): FactValue.AsObject;
1428
- static serializeBinaryToWriter(message: FactValue, writer: jspb.BinaryWriter): void;
1429
- static deserializeBinary(bytes: Uint8Array): FactValue;
1430
- static deserializeBinaryFromReader(message: FactValue, reader: jspb.BinaryReader): FactValue;
1431
- }
1432
-
1433
- export namespace FactValue {
1434
- export type AsObject = {
1435
- stringValue: string,
1436
- updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
1437
- }
1438
-
1439
- export enum FactValueCase {
1440
- FACT_VALUE_NOT_SET = 0,
1441
- STRING_VALUE = 1,
1442
- }
1443
- }
1444
-
1445
- export class ConstantFactRecipe extends jspb.Message {
1446
- getFactValue(): FactValue | undefined;
1447
- setFactValue(value?: FactValue): ConstantFactRecipe;
1448
- hasFactValue(): boolean;
1449
- clearFactValue(): ConstantFactRecipe;
1450
-
1451
- serializeBinary(): Uint8Array;
1452
- toObject(includeInstance?: boolean): ConstantFactRecipe.AsObject;
1453
- static toObject(includeInstance: boolean, msg: ConstantFactRecipe): ConstantFactRecipe.AsObject;
1454
- static serializeBinaryToWriter(message: ConstantFactRecipe, writer: jspb.BinaryWriter): void;
1455
- static deserializeBinary(bytes: Uint8Array): ConstantFactRecipe;
1456
- static deserializeBinaryFromReader(message: ConstantFactRecipe, reader: jspb.BinaryReader): ConstantFactRecipe;
1457
- }
1458
-
1459
- export namespace ConstantFactRecipe {
1460
- export type AsObject = {
1461
- factValue?: FactValue.AsObject,
1462
- }
1463
- }
1464
-
1465
- export class ExecFactRecipe extends jspb.Message {
1466
- getCmdArgsList(): Array<string>;
1467
- setCmdArgsList(value: Array<string>): ExecFactRecipe;
1468
- clearCmdArgsList(): ExecFactRecipe;
1469
- addCmdArgs(value: string, index?: number): ExecFactRecipe;
1470
-
1471
- serializeBinary(): Uint8Array;
1472
- toObject(includeInstance?: boolean): ExecFactRecipe.AsObject;
1473
- static toObject(includeInstance: boolean, msg: ExecFactRecipe): ExecFactRecipe.AsObject;
1474
- static serializeBinaryToWriter(message: ExecFactRecipe, writer: jspb.BinaryWriter): void;
1475
- static deserializeBinary(bytes: Uint8Array): ExecFactRecipe;
1476
- static deserializeBinaryFromReader(message: ExecFactRecipe, reader: jspb.BinaryReader): ExecFactRecipe;
1477
- }
1478
-
1479
- export namespace ExecFactRecipe {
1480
- export type AsObject = {
1481
- cmdArgsList: Array<string>,
1482
- }
1483
- }
1484
-
1485
- export class HttpRequestFactRecipe extends jspb.Message {
1486
- getPortId(): string;
1487
- setPortId(value: string): HttpRequestFactRecipe;
1488
-
1489
- getEndpoint(): string;
1490
- setEndpoint(value: string): HttpRequestFactRecipe;
1491
-
1492
- getMethod(): HttpRequestMethod;
1493
- setMethod(value: HttpRequestMethod): HttpRequestFactRecipe;
1494
-
1495
- getContentType(): string;
1496
- setContentType(value: string): HttpRequestFactRecipe;
1497
-
1498
- getBody(): string;
1499
- setBody(value: string): HttpRequestFactRecipe;
1500
-
1501
- getFieldExtractor(): string;
1502
- setFieldExtractor(value: string): HttpRequestFactRecipe;
1503
- hasFieldExtractor(): boolean;
1504
- clearFieldExtractor(): HttpRequestFactRecipe;
1505
-
1506
- serializeBinary(): Uint8Array;
1507
- toObject(includeInstance?: boolean): HttpRequestFactRecipe.AsObject;
1508
- static toObject(includeInstance: boolean, msg: HttpRequestFactRecipe): HttpRequestFactRecipe.AsObject;
1509
- static serializeBinaryToWriter(message: HttpRequestFactRecipe, writer: jspb.BinaryWriter): void;
1510
- static deserializeBinary(bytes: Uint8Array): HttpRequestFactRecipe;
1511
- static deserializeBinaryFromReader(message: HttpRequestFactRecipe, reader: jspb.BinaryReader): HttpRequestFactRecipe;
1512
- }
1513
-
1514
- export namespace HttpRequestFactRecipe {
1515
- export type AsObject = {
1516
- portId: string,
1517
- endpoint: string,
1518
- method: HttpRequestMethod,
1519
- contentType: string,
1520
- body: string,
1521
- fieldExtractor?: string,
1522
- }
1523
-
1524
- export enum FieldExtractorCase {
1525
- _FIELD_EXTRACTOR_NOT_SET = 0,
1526
- FIELD_EXTRACTOR = 6,
1527
- }
1528
- }
1529
-
1530
- export class FactRecipe extends jspb.Message {
1531
- getServiceId(): string;
1532
- setServiceId(value: string): FactRecipe;
1533
-
1534
- getFactName(): string;
1535
- setFactName(value: string): FactRecipe;
1536
-
1537
- getConstantFact(): ConstantFactRecipe | undefined;
1538
- setConstantFact(value?: ConstantFactRecipe): FactRecipe;
1539
- hasConstantFact(): boolean;
1540
- clearConstantFact(): FactRecipe;
1541
-
1542
- getExecFact(): ExecFactRecipe | undefined;
1543
- setExecFact(value?: ExecFactRecipe): FactRecipe;
1544
- hasExecFact(): boolean;
1545
- clearExecFact(): FactRecipe;
1546
-
1547
- getHttpRequestFact(): HttpRequestFactRecipe | undefined;
1548
- setHttpRequestFact(value?: HttpRequestFactRecipe): FactRecipe;
1549
- hasHttpRequestFact(): boolean;
1550
- clearHttpRequestFact(): FactRecipe;
1551
-
1552
- getRefreshInterval(): google_protobuf_duration_pb.Duration | undefined;
1553
- setRefreshInterval(value?: google_protobuf_duration_pb.Duration): FactRecipe;
1554
- hasRefreshInterval(): boolean;
1555
- clearRefreshInterval(): FactRecipe;
1556
-
1557
- getFactRecipeDefinitionCase(): FactRecipe.FactRecipeDefinitionCase;
1558
-
1559
- serializeBinary(): Uint8Array;
1560
- toObject(includeInstance?: boolean): FactRecipe.AsObject;
1561
- static toObject(includeInstance: boolean, msg: FactRecipe): FactRecipe.AsObject;
1562
- static serializeBinaryToWriter(message: FactRecipe, writer: jspb.BinaryWriter): void;
1563
- static deserializeBinary(bytes: Uint8Array): FactRecipe;
1564
- static deserializeBinaryFromReader(message: FactRecipe, reader: jspb.BinaryReader): FactRecipe;
1565
- }
1566
-
1567
- export namespace FactRecipe {
1568
- export type AsObject = {
1569
- serviceId: string,
1570
- factName: string,
1571
- constantFact?: ConstantFactRecipe.AsObject,
1572
- execFact?: ExecFactRecipe.AsObject,
1573
- httpRequestFact?: HttpRequestFactRecipe.AsObject,
1574
- refreshInterval?: google_protobuf_duration_pb.Duration.AsObject,
1575
- }
1576
-
1577
- export enum FactRecipeDefinitionCase {
1578
- FACT_RECIPE_DEFINITION_NOT_SET = 0,
1579
- CONSTANT_FACT = 3,
1580
- EXEC_FACT = 4,
1581
- HTTP_REQUEST_FACT = 5,
1582
- }
1583
-
1584
- export enum RefreshIntervalCase {
1585
- _REFRESH_INTERVAL_NOT_SET = 0,
1586
- REFRESH_INTERVAL = 6,
1587
- }
1588
- }
1589
-
1590
- export enum HttpRequestMethod {
1591
- GET = 0,
1592
- POST = 1,
1593
- }