kurtosis-sdk 0.80.2 → 0.80.4
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/build/core/kurtosis_core_rpc_api_bindings/api_container_service_grpc_pb.d.ts +0 -5
- package/build/core/kurtosis_core_rpc_api_bindings/api_container_service_grpc_pb.js +0 -34
- package/build/core/kurtosis_core_rpc_api_bindings/api_container_service_grpc_web_pb.d.ts +0 -12
- package/build/core/kurtosis_core_rpc_api_bindings/api_container_service_grpc_web_pb.js +0 -61
- package/build/core/kurtosis_core_rpc_api_bindings/api_container_service_pb.d.ts +15 -63
- package/build/core/kurtosis_core_rpc_api_bindings/api_container_service_pb.js +128 -523
- package/build/core/lib/constructor_calls.d.ts +1 -4
- package/build/core/lib/constructor_calls.js +1 -17
- package/build/core/lib/enclaves/enclave_context.d.ts +3 -3
- package/build/core/lib/enclaves/enclave_context.js +4 -3
- package/build/kurtosis_version/kurtosis_version.js +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,6 @@ interface IApiContainerServiceService extends grpc.ServiceDefinition<grpc.Untype
|
|
|
22
22
|
downloadFilesArtifactV2: grpc.MethodDefinition<api_container_service_pb.DownloadFilesArtifactArgs, api_container_service_pb.StreamedDataChunk>;
|
|
23
23
|
storeWebFilesArtifact: grpc.MethodDefinition<api_container_service_pb.StoreWebFilesArtifactArgs, api_container_service_pb.StoreWebFilesArtifactResponse>;
|
|
24
24
|
storeFilesArtifactFromService: grpc.MethodDefinition<api_container_service_pb.StoreFilesArtifactFromServiceArgs, api_container_service_pb.StoreFilesArtifactFromServiceResponse>;
|
|
25
|
-
renderTemplatesToFilesArtifact: grpc.MethodDefinition<api_container_service_pb.RenderTemplatesToFilesArtifactArgs, api_container_service_pb.RenderTemplatesToFilesArtifactResponse>;
|
|
26
25
|
listFilesArtifactNamesAndUuids: grpc.MethodDefinition<google_protobuf_empty_pb.Empty, api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse>;
|
|
27
26
|
}
|
|
28
27
|
|
|
@@ -43,7 +42,6 @@ export interface IApiContainerServiceServer extends grpc.UntypedServiceImplement
|
|
|
43
42
|
downloadFilesArtifactV2: grpc.handleServerStreamingCall<api_container_service_pb.DownloadFilesArtifactArgs, api_container_service_pb.StreamedDataChunk>;
|
|
44
43
|
storeWebFilesArtifact: grpc.handleUnaryCall<api_container_service_pb.StoreWebFilesArtifactArgs, api_container_service_pb.StoreWebFilesArtifactResponse>;
|
|
45
44
|
storeFilesArtifactFromService: grpc.handleUnaryCall<api_container_service_pb.StoreFilesArtifactFromServiceArgs, api_container_service_pb.StoreFilesArtifactFromServiceResponse>;
|
|
46
|
-
renderTemplatesToFilesArtifact: grpc.handleUnaryCall<api_container_service_pb.RenderTemplatesToFilesArtifactArgs, api_container_service_pb.RenderTemplatesToFilesArtifactResponse>;
|
|
47
45
|
listFilesArtifactNamesAndUuids: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse>;
|
|
48
46
|
}
|
|
49
47
|
|
|
@@ -88,9 +86,6 @@ export class ApiContainerServiceClient extends grpc.Client {
|
|
|
88
86
|
storeFilesArtifactFromService(argument: api_container_service_pb.StoreFilesArtifactFromServiceArgs, callback: grpc.requestCallback<api_container_service_pb.StoreFilesArtifactFromServiceResponse>): grpc.ClientUnaryCall;
|
|
89
87
|
storeFilesArtifactFromService(argument: api_container_service_pb.StoreFilesArtifactFromServiceArgs, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.StoreFilesArtifactFromServiceResponse>): grpc.ClientUnaryCall;
|
|
90
88
|
storeFilesArtifactFromService(argument: api_container_service_pb.StoreFilesArtifactFromServiceArgs, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.StoreFilesArtifactFromServiceResponse>): grpc.ClientUnaryCall;
|
|
91
|
-
renderTemplatesToFilesArtifact(argument: api_container_service_pb.RenderTemplatesToFilesArtifactArgs, callback: grpc.requestCallback<api_container_service_pb.RenderTemplatesToFilesArtifactResponse>): grpc.ClientUnaryCall;
|
|
92
|
-
renderTemplatesToFilesArtifact(argument: api_container_service_pb.RenderTemplatesToFilesArtifactArgs, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.RenderTemplatesToFilesArtifactResponse>): grpc.ClientUnaryCall;
|
|
93
|
-
renderTemplatesToFilesArtifact(argument: api_container_service_pb.RenderTemplatesToFilesArtifactArgs, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.RenderTemplatesToFilesArtifactResponse>): grpc.ClientUnaryCall;
|
|
94
89
|
listFilesArtifactNamesAndUuids(argument: google_protobuf_empty_pb.Empty, callback: grpc.requestCallback<api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse>): grpc.ClientUnaryCall;
|
|
95
90
|
listFilesArtifactNamesAndUuids(argument: google_protobuf_empty_pb.Empty, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse>): grpc.ClientUnaryCall;
|
|
96
91
|
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;
|
|
@@ -93,28 +93,6 @@ function deserialize_api_container_api_ListFilesArtifactNamesAndUuidsResponse(bu
|
|
|
93
93
|
return api_container_service_pb.ListFilesArtifactNamesAndUuidsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
function serialize_api_container_api_RenderTemplatesToFilesArtifactArgs(arg) {
|
|
97
|
-
if (!(arg instanceof api_container_service_pb.RenderTemplatesToFilesArtifactArgs)) {
|
|
98
|
-
throw new Error('Expected argument of type api_container_api.RenderTemplatesToFilesArtifactArgs');
|
|
99
|
-
}
|
|
100
|
-
return Buffer.from(arg.serializeBinary());
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
function deserialize_api_container_api_RenderTemplatesToFilesArtifactArgs(buffer_arg) {
|
|
104
|
-
return api_container_service_pb.RenderTemplatesToFilesArtifactArgs.deserializeBinary(new Uint8Array(buffer_arg));
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
function serialize_api_container_api_RenderTemplatesToFilesArtifactResponse(arg) {
|
|
108
|
-
if (!(arg instanceof api_container_service_pb.RenderTemplatesToFilesArtifactResponse)) {
|
|
109
|
-
throw new Error('Expected argument of type api_container_api.RenderTemplatesToFilesArtifactResponse');
|
|
110
|
-
}
|
|
111
|
-
return Buffer.from(arg.serializeBinary());
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
function deserialize_api_container_api_RenderTemplatesToFilesArtifactResponse(buffer_arg) {
|
|
115
|
-
return api_container_service_pb.RenderTemplatesToFilesArtifactResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
116
|
-
}
|
|
117
|
-
|
|
118
96
|
function serialize_api_container_api_RunStarlarkPackageArgs(arg) {
|
|
119
97
|
if (!(arg instanceof api_container_service_pb.RunStarlarkPackageArgs)) {
|
|
120
98
|
throw new Error('Expected argument of type api_container_api.RunStarlarkPackageArgs');
|
|
@@ -432,18 +410,6 @@ storeFilesArtifactFromService: {
|
|
|
432
410
|
responseSerialize: serialize_api_container_api_StoreFilesArtifactFromServiceResponse,
|
|
433
411
|
responseDeserialize: deserialize_api_container_api_StoreFilesArtifactFromServiceResponse,
|
|
434
412
|
},
|
|
435
|
-
// Renders the templates and their data to a files artifact in the Kurtosis File System
|
|
436
|
-
renderTemplatesToFilesArtifact: {
|
|
437
|
-
path: '/api_container_api.ApiContainerService/RenderTemplatesToFilesArtifact',
|
|
438
|
-
requestStream: false,
|
|
439
|
-
responseStream: false,
|
|
440
|
-
requestType: api_container_service_pb.RenderTemplatesToFilesArtifactArgs,
|
|
441
|
-
responseType: api_container_service_pb.RenderTemplatesToFilesArtifactResponse,
|
|
442
|
-
requestSerialize: serialize_api_container_api_RenderTemplatesToFilesArtifactArgs,
|
|
443
|
-
requestDeserialize: deserialize_api_container_api_RenderTemplatesToFilesArtifactArgs,
|
|
444
|
-
responseSerialize: serialize_api_container_api_RenderTemplatesToFilesArtifactResponse,
|
|
445
|
-
responseDeserialize: deserialize_api_container_api_RenderTemplatesToFilesArtifactResponse,
|
|
446
|
-
},
|
|
447
413
|
listFilesArtifactNamesAndUuids: {
|
|
448
414
|
path: '/api_container_api.ApiContainerService/ListFilesArtifactNamesAndUuids',
|
|
449
415
|
requestStream: false,
|
|
@@ -87,13 +87,6 @@ export class ApiContainerServiceClient {
|
|
|
87
87
|
response: api_container_service_pb.StoreFilesArtifactFromServiceResponse) => void
|
|
88
88
|
): grpcWeb.ClientReadableStream<api_container_service_pb.StoreFilesArtifactFromServiceResponse>;
|
|
89
89
|
|
|
90
|
-
renderTemplatesToFilesArtifact(
|
|
91
|
-
request: api_container_service_pb.RenderTemplatesToFilesArtifactArgs,
|
|
92
|
-
metadata: grpcWeb.Metadata | undefined,
|
|
93
|
-
callback: (err: grpcWeb.RpcError,
|
|
94
|
-
response: api_container_service_pb.RenderTemplatesToFilesArtifactResponse) => void
|
|
95
|
-
): grpcWeb.ClientReadableStream<api_container_service_pb.RenderTemplatesToFilesArtifactResponse>;
|
|
96
|
-
|
|
97
90
|
listFilesArtifactNamesAndUuids(
|
|
98
91
|
request: google_protobuf_empty_pb.Empty,
|
|
99
92
|
metadata: grpcWeb.Metadata | undefined,
|
|
@@ -168,11 +161,6 @@ export class ApiContainerServicePromiseClient {
|
|
|
168
161
|
metadata?: grpcWeb.Metadata
|
|
169
162
|
): Promise<api_container_service_pb.StoreFilesArtifactFromServiceResponse>;
|
|
170
163
|
|
|
171
|
-
renderTemplatesToFilesArtifact(
|
|
172
|
-
request: api_container_service_pb.RenderTemplatesToFilesArtifactArgs,
|
|
173
|
-
metadata?: grpcWeb.Metadata
|
|
174
|
-
): Promise<api_container_service_pb.RenderTemplatesToFilesArtifactResponse>;
|
|
175
|
-
|
|
176
164
|
listFilesArtifactNamesAndUuids(
|
|
177
165
|
request: google_protobuf_empty_pb.Empty,
|
|
178
166
|
metadata?: grpcWeb.Metadata
|
|
@@ -793,67 +793,6 @@ proto.api_container_api.ApiContainerServicePromiseClient.prototype.storeFilesArt
|
|
|
793
793
|
};
|
|
794
794
|
|
|
795
795
|
|
|
796
|
-
/**
|
|
797
|
-
* @const
|
|
798
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
799
|
-
* !proto.api_container_api.RenderTemplatesToFilesArtifactArgs,
|
|
800
|
-
* !proto.api_container_api.RenderTemplatesToFilesArtifactResponse>}
|
|
801
|
-
*/
|
|
802
|
-
const methodDescriptor_ApiContainerService_RenderTemplatesToFilesArtifact = new grpc.web.MethodDescriptor(
|
|
803
|
-
'/api_container_api.ApiContainerService/RenderTemplatesToFilesArtifact',
|
|
804
|
-
grpc.web.MethodType.UNARY,
|
|
805
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs,
|
|
806
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactResponse,
|
|
807
|
-
/**
|
|
808
|
-
* @param {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs} request
|
|
809
|
-
* @return {!Uint8Array}
|
|
810
|
-
*/
|
|
811
|
-
function(request) {
|
|
812
|
-
return request.serializeBinary();
|
|
813
|
-
},
|
|
814
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactResponse.deserializeBinary
|
|
815
|
-
);
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
/**
|
|
819
|
-
* @param {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs} request The
|
|
820
|
-
* request proto
|
|
821
|
-
* @param {?Object<string, string>} metadata User defined
|
|
822
|
-
* call metadata
|
|
823
|
-
* @param {function(?grpc.web.RpcError, ?proto.api_container_api.RenderTemplatesToFilesArtifactResponse)}
|
|
824
|
-
* callback The callback function(error, response)
|
|
825
|
-
* @return {!grpc.web.ClientReadableStream<!proto.api_container_api.RenderTemplatesToFilesArtifactResponse>|undefined}
|
|
826
|
-
* The XHR Node Readable Stream
|
|
827
|
-
*/
|
|
828
|
-
proto.api_container_api.ApiContainerServiceClient.prototype.renderTemplatesToFilesArtifact =
|
|
829
|
-
function(request, metadata, callback) {
|
|
830
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
831
|
-
'/api_container_api.ApiContainerService/RenderTemplatesToFilesArtifact',
|
|
832
|
-
request,
|
|
833
|
-
metadata || {},
|
|
834
|
-
methodDescriptor_ApiContainerService_RenderTemplatesToFilesArtifact,
|
|
835
|
-
callback);
|
|
836
|
-
};
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
/**
|
|
840
|
-
* @param {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs} request The
|
|
841
|
-
* request proto
|
|
842
|
-
* @param {?Object<string, string>=} metadata User defined
|
|
843
|
-
* call metadata
|
|
844
|
-
* @return {!Promise<!proto.api_container_api.RenderTemplatesToFilesArtifactResponse>}
|
|
845
|
-
* Promise that resolves to the response
|
|
846
|
-
*/
|
|
847
|
-
proto.api_container_api.ApiContainerServicePromiseClient.prototype.renderTemplatesToFilesArtifact =
|
|
848
|
-
function(request, metadata) {
|
|
849
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
850
|
-
'/api_container_api.ApiContainerService/RenderTemplatesToFilesArtifact',
|
|
851
|
-
request,
|
|
852
|
-
metadata || {},
|
|
853
|
-
methodDescriptor_ApiContainerService_RenderTemplatesToFilesArtifact);
|
|
854
|
-
};
|
|
855
|
-
|
|
856
|
-
|
|
857
796
|
/**
|
|
858
797
|
* @const
|
|
859
798
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -126,6 +126,11 @@ export class RunStarlarkScriptArgs extends jspb.Message {
|
|
|
126
126
|
getMainFunctionName(): string;
|
|
127
127
|
setMainFunctionName(value: string): RunStarlarkScriptArgs;
|
|
128
128
|
|
|
129
|
+
getExperimentalFeaturesList(): Array<KurtosisFeatureFlag>;
|
|
130
|
+
setExperimentalFeaturesList(value: Array<KurtosisFeatureFlag>): RunStarlarkScriptArgs;
|
|
131
|
+
clearExperimentalFeaturesList(): RunStarlarkScriptArgs;
|
|
132
|
+
addExperimentalFeatures(value: KurtosisFeatureFlag, index?: number): RunStarlarkScriptArgs;
|
|
133
|
+
|
|
129
134
|
serializeBinary(): Uint8Array;
|
|
130
135
|
toObject(includeInstance?: boolean): RunStarlarkScriptArgs.AsObject;
|
|
131
136
|
static toObject(includeInstance: boolean, msg: RunStarlarkScriptArgs): RunStarlarkScriptArgs.AsObject;
|
|
@@ -141,6 +146,7 @@ export namespace RunStarlarkScriptArgs {
|
|
|
141
146
|
dryRun?: boolean,
|
|
142
147
|
parallelism?: number,
|
|
143
148
|
mainFunctionName: string,
|
|
149
|
+
experimentalFeaturesList: Array<KurtosisFeatureFlag>,
|
|
144
150
|
}
|
|
145
151
|
|
|
146
152
|
export enum DryRunCase {
|
|
@@ -190,6 +196,11 @@ export class RunStarlarkPackageArgs extends jspb.Message {
|
|
|
190
196
|
getMainFunctionName(): string;
|
|
191
197
|
setMainFunctionName(value: string): RunStarlarkPackageArgs;
|
|
192
198
|
|
|
199
|
+
getExperimentalFeaturesList(): Array<KurtosisFeatureFlag>;
|
|
200
|
+
setExperimentalFeaturesList(value: Array<KurtosisFeatureFlag>): RunStarlarkPackageArgs;
|
|
201
|
+
clearExperimentalFeaturesList(): RunStarlarkPackageArgs;
|
|
202
|
+
addExperimentalFeatures(value: KurtosisFeatureFlag, index?: number): RunStarlarkPackageArgs;
|
|
203
|
+
|
|
193
204
|
getStarlarkPackageContentCase(): RunStarlarkPackageArgs.StarlarkPackageContentCase;
|
|
194
205
|
|
|
195
206
|
serializeBinary(): Uint8Array;
|
|
@@ -211,6 +222,7 @@ export namespace RunStarlarkPackageArgs {
|
|
|
211
222
|
clonePackage?: boolean,
|
|
212
223
|
relativePathToMainFile: string,
|
|
213
224
|
mainFunctionName: string,
|
|
225
|
+
experimentalFeaturesList: Array<KurtosisFeatureFlag>,
|
|
214
226
|
}
|
|
215
227
|
|
|
216
228
|
export enum StarlarkPackageContentCase {
|
|
@@ -1010,69 +1022,6 @@ export namespace StoreFilesArtifactFromServiceResponse {
|
|
|
1010
1022
|
}
|
|
1011
1023
|
}
|
|
1012
1024
|
|
|
1013
|
-
export class RenderTemplatesToFilesArtifactArgs extends jspb.Message {
|
|
1014
|
-
getTemplatesAndDataByDestinationRelFilepathMap(): jspb.Map<string, RenderTemplatesToFilesArtifactArgs.TemplateAndData>;
|
|
1015
|
-
clearTemplatesAndDataByDestinationRelFilepathMap(): RenderTemplatesToFilesArtifactArgs;
|
|
1016
|
-
|
|
1017
|
-
getName(): string;
|
|
1018
|
-
setName(value: string): RenderTemplatesToFilesArtifactArgs;
|
|
1019
|
-
|
|
1020
|
-
serializeBinary(): Uint8Array;
|
|
1021
|
-
toObject(includeInstance?: boolean): RenderTemplatesToFilesArtifactArgs.AsObject;
|
|
1022
|
-
static toObject(includeInstance: boolean, msg: RenderTemplatesToFilesArtifactArgs): RenderTemplatesToFilesArtifactArgs.AsObject;
|
|
1023
|
-
static serializeBinaryToWriter(message: RenderTemplatesToFilesArtifactArgs, writer: jspb.BinaryWriter): void;
|
|
1024
|
-
static deserializeBinary(bytes: Uint8Array): RenderTemplatesToFilesArtifactArgs;
|
|
1025
|
-
static deserializeBinaryFromReader(message: RenderTemplatesToFilesArtifactArgs, reader: jspb.BinaryReader): RenderTemplatesToFilesArtifactArgs;
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
export namespace RenderTemplatesToFilesArtifactArgs {
|
|
1029
|
-
export type AsObject = {
|
|
1030
|
-
templatesAndDataByDestinationRelFilepathMap: Array<[string, RenderTemplatesToFilesArtifactArgs.TemplateAndData.AsObject]>,
|
|
1031
|
-
name: string,
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
export class TemplateAndData extends jspb.Message {
|
|
1035
|
-
getTemplate(): string;
|
|
1036
|
-
setTemplate(value: string): TemplateAndData;
|
|
1037
|
-
|
|
1038
|
-
getDataAsJson(): string;
|
|
1039
|
-
setDataAsJson(value: string): TemplateAndData;
|
|
1040
|
-
|
|
1041
|
-
serializeBinary(): Uint8Array;
|
|
1042
|
-
toObject(includeInstance?: boolean): TemplateAndData.AsObject;
|
|
1043
|
-
static toObject(includeInstance: boolean, msg: TemplateAndData): TemplateAndData.AsObject;
|
|
1044
|
-
static serializeBinaryToWriter(message: TemplateAndData, writer: jspb.BinaryWriter): void;
|
|
1045
|
-
static deserializeBinary(bytes: Uint8Array): TemplateAndData;
|
|
1046
|
-
static deserializeBinaryFromReader(message: TemplateAndData, reader: jspb.BinaryReader): TemplateAndData;
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1049
|
-
export namespace TemplateAndData {
|
|
1050
|
-
export type AsObject = {
|
|
1051
|
-
template: string,
|
|
1052
|
-
dataAsJson: string,
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
export class RenderTemplatesToFilesArtifactResponse extends jspb.Message {
|
|
1059
|
-
getUuid(): string;
|
|
1060
|
-
setUuid(value: string): RenderTemplatesToFilesArtifactResponse;
|
|
1061
|
-
|
|
1062
|
-
serializeBinary(): Uint8Array;
|
|
1063
|
-
toObject(includeInstance?: boolean): RenderTemplatesToFilesArtifactResponse.AsObject;
|
|
1064
|
-
static toObject(includeInstance: boolean, msg: RenderTemplatesToFilesArtifactResponse): RenderTemplatesToFilesArtifactResponse.AsObject;
|
|
1065
|
-
static serializeBinaryToWriter(message: RenderTemplatesToFilesArtifactResponse, writer: jspb.BinaryWriter): void;
|
|
1066
|
-
static deserializeBinary(bytes: Uint8Array): RenderTemplatesToFilesArtifactResponse;
|
|
1067
|
-
static deserializeBinaryFromReader(message: RenderTemplatesToFilesArtifactResponse, reader: jspb.BinaryReader): RenderTemplatesToFilesArtifactResponse;
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
export namespace RenderTemplatesToFilesArtifactResponse {
|
|
1071
|
-
export type AsObject = {
|
|
1072
|
-
uuid: string,
|
|
1073
|
-
}
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
1025
|
export class FilesArtifactNameAndUuid extends jspb.Message {
|
|
1077
1026
|
getFilename(): string;
|
|
1078
1027
|
setFilename(value: string): FilesArtifactNameAndUuid;
|
|
@@ -1115,3 +1064,6 @@ export namespace ListFilesArtifactNamesAndUuidsResponse {
|
|
|
1115
1064
|
}
|
|
1116
1065
|
}
|
|
1117
1066
|
|
|
1067
|
+
export enum KurtosisFeatureFlag {
|
|
1068
|
+
USE_INSTRUCTIONS_CACHING = 0,
|
|
1069
|
+
}
|
|
@@ -32,12 +32,10 @@ goog.exportSymbol('proto.api_container_api.FilesArtifactNameAndUuid', null, glob
|
|
|
32
32
|
goog.exportSymbol('proto.api_container_api.GetExistingAndHistoricalServiceIdentifiersResponse', null, global);
|
|
33
33
|
goog.exportSymbol('proto.api_container_api.GetServicesArgs', null, global);
|
|
34
34
|
goog.exportSymbol('proto.api_container_api.GetServicesResponse', null, global);
|
|
35
|
+
goog.exportSymbol('proto.api_container_api.KurtosisFeatureFlag', null, global);
|
|
35
36
|
goog.exportSymbol('proto.api_container_api.ListFilesArtifactNamesAndUuidsResponse', null, global);
|
|
36
37
|
goog.exportSymbol('proto.api_container_api.Port', null, global);
|
|
37
38
|
goog.exportSymbol('proto.api_container_api.Port.TransportProtocol', null, global);
|
|
38
|
-
goog.exportSymbol('proto.api_container_api.RenderTemplatesToFilesArtifactArgs', null, global);
|
|
39
|
-
goog.exportSymbol('proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData', null, global);
|
|
40
|
-
goog.exportSymbol('proto.api_container_api.RenderTemplatesToFilesArtifactResponse', null, global);
|
|
41
39
|
goog.exportSymbol('proto.api_container_api.RunStarlarkPackageArgs', null, global);
|
|
42
40
|
goog.exportSymbol('proto.api_container_api.RunStarlarkPackageArgs.StarlarkPackageContentCase', null, global);
|
|
43
41
|
goog.exportSymbol('proto.api_container_api.RunStarlarkScriptArgs', null, global);
|
|
@@ -141,7 +139,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
141
139
|
* @constructor
|
|
142
140
|
*/
|
|
143
141
|
proto.api_container_api.RunStarlarkScriptArgs = function(opt_data) {
|
|
144
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
142
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.api_container_api.RunStarlarkScriptArgs.repeatedFields_, null);
|
|
145
143
|
};
|
|
146
144
|
goog.inherits(proto.api_container_api.RunStarlarkScriptArgs, jspb.Message);
|
|
147
145
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -162,7 +160,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
162
160
|
* @constructor
|
|
163
161
|
*/
|
|
164
162
|
proto.api_container_api.RunStarlarkPackageArgs = function(opt_data) {
|
|
165
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
163
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.api_container_api.RunStarlarkPackageArgs.repeatedFields_, proto.api_container_api.RunStarlarkPackageArgs.oneofGroups_);
|
|
166
164
|
};
|
|
167
165
|
goog.inherits(proto.api_container_api.RunStarlarkPackageArgs, jspb.Message);
|
|
168
166
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -802,69 +800,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
802
800
|
*/
|
|
803
801
|
proto.api_container_api.StoreFilesArtifactFromServiceResponse.displayName = 'proto.api_container_api.StoreFilesArtifactFromServiceResponse';
|
|
804
802
|
}
|
|
805
|
-
/**
|
|
806
|
-
* Generated by JsPbCodeGenerator.
|
|
807
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
808
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
809
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
810
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
811
|
-
* valid.
|
|
812
|
-
* @extends {jspb.Message}
|
|
813
|
-
* @constructor
|
|
814
|
-
*/
|
|
815
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs = function(opt_data) {
|
|
816
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
817
|
-
};
|
|
818
|
-
goog.inherits(proto.api_container_api.RenderTemplatesToFilesArtifactArgs, jspb.Message);
|
|
819
|
-
if (goog.DEBUG && !COMPILED) {
|
|
820
|
-
/**
|
|
821
|
-
* @public
|
|
822
|
-
* @override
|
|
823
|
-
*/
|
|
824
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.displayName = 'proto.api_container_api.RenderTemplatesToFilesArtifactArgs';
|
|
825
|
-
}
|
|
826
|
-
/**
|
|
827
|
-
* Generated by JsPbCodeGenerator.
|
|
828
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
829
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
830
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
831
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
832
|
-
* valid.
|
|
833
|
-
* @extends {jspb.Message}
|
|
834
|
-
* @constructor
|
|
835
|
-
*/
|
|
836
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData = function(opt_data) {
|
|
837
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
838
|
-
};
|
|
839
|
-
goog.inherits(proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData, jspb.Message);
|
|
840
|
-
if (goog.DEBUG && !COMPILED) {
|
|
841
|
-
/**
|
|
842
|
-
* @public
|
|
843
|
-
* @override
|
|
844
|
-
*/
|
|
845
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.displayName = 'proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData';
|
|
846
|
-
}
|
|
847
|
-
/**
|
|
848
|
-
* Generated by JsPbCodeGenerator.
|
|
849
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
850
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
851
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
852
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
853
|
-
* valid.
|
|
854
|
-
* @extends {jspb.Message}
|
|
855
|
-
* @constructor
|
|
856
|
-
*/
|
|
857
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactResponse = function(opt_data) {
|
|
858
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
859
|
-
};
|
|
860
|
-
goog.inherits(proto.api_container_api.RenderTemplatesToFilesArtifactResponse, jspb.Message);
|
|
861
|
-
if (goog.DEBUG && !COMPILED) {
|
|
862
|
-
/**
|
|
863
|
-
* @public
|
|
864
|
-
* @override
|
|
865
|
-
*/
|
|
866
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactResponse.displayName = 'proto.api_container_api.RenderTemplatesToFilesArtifactResponse';
|
|
867
|
-
}
|
|
868
803
|
/**
|
|
869
804
|
* Generated by JsPbCodeGenerator.
|
|
870
805
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1601,6 +1536,13 @@ proto.api_container_api.UpdateServiceConfig.prototype.hasSubnetwork = function()
|
|
|
1601
1536
|
|
|
1602
1537
|
|
|
1603
1538
|
|
|
1539
|
+
/**
|
|
1540
|
+
* List of repeated fields within this message type.
|
|
1541
|
+
* @private {!Array<number>}
|
|
1542
|
+
* @const
|
|
1543
|
+
*/
|
|
1544
|
+
proto.api_container_api.RunStarlarkScriptArgs.repeatedFields_ = [6];
|
|
1545
|
+
|
|
1604
1546
|
|
|
1605
1547
|
|
|
1606
1548
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1636,7 +1578,8 @@ proto.api_container_api.RunStarlarkScriptArgs.toObject = function(includeInstanc
|
|
|
1636
1578
|
serializedParams: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1637
1579
|
dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
1638
1580
|
parallelism: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1639
|
-
mainFunctionName: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
1581
|
+
mainFunctionName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1582
|
+
experimentalFeaturesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
1640
1583
|
};
|
|
1641
1584
|
|
|
1642
1585
|
if (includeInstance) {
|
|
@@ -1693,6 +1636,12 @@ proto.api_container_api.RunStarlarkScriptArgs.deserializeBinaryFromReader = func
|
|
|
1693
1636
|
var value = /** @type {string} */ (reader.readString());
|
|
1694
1637
|
msg.setMainFunctionName(value);
|
|
1695
1638
|
break;
|
|
1639
|
+
case 6:
|
|
1640
|
+
var values = /** @type {!Array<!proto.api_container_api.KurtosisFeatureFlag>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
1641
|
+
for (var i = 0; i < values.length; i++) {
|
|
1642
|
+
msg.addExperimentalFeatures(values[i]);
|
|
1643
|
+
}
|
|
1644
|
+
break;
|
|
1696
1645
|
default:
|
|
1697
1646
|
reader.skipField();
|
|
1698
1647
|
break;
|
|
@@ -1757,6 +1706,13 @@ proto.api_container_api.RunStarlarkScriptArgs.serializeBinaryToWriter = function
|
|
|
1757
1706
|
f
|
|
1758
1707
|
);
|
|
1759
1708
|
}
|
|
1709
|
+
f = message.getExperimentalFeaturesList();
|
|
1710
|
+
if (f.length > 0) {
|
|
1711
|
+
writer.writePackedEnum(
|
|
1712
|
+
6,
|
|
1713
|
+
f
|
|
1714
|
+
);
|
|
1715
|
+
}
|
|
1760
1716
|
};
|
|
1761
1717
|
|
|
1762
1718
|
|
|
@@ -1886,6 +1842,50 @@ proto.api_container_api.RunStarlarkScriptArgs.prototype.setMainFunctionName = fu
|
|
|
1886
1842
|
};
|
|
1887
1843
|
|
|
1888
1844
|
|
|
1845
|
+
/**
|
|
1846
|
+
* repeated KurtosisFeatureFlag experimental_features = 6;
|
|
1847
|
+
* @return {!Array<!proto.api_container_api.KurtosisFeatureFlag>}
|
|
1848
|
+
*/
|
|
1849
|
+
proto.api_container_api.RunStarlarkScriptArgs.prototype.getExperimentalFeaturesList = function() {
|
|
1850
|
+
return /** @type {!Array<!proto.api_container_api.KurtosisFeatureFlag>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
1851
|
+
};
|
|
1852
|
+
|
|
1853
|
+
|
|
1854
|
+
/**
|
|
1855
|
+
* @param {!Array<!proto.api_container_api.KurtosisFeatureFlag>} value
|
|
1856
|
+
* @return {!proto.api_container_api.RunStarlarkScriptArgs} returns this
|
|
1857
|
+
*/
|
|
1858
|
+
proto.api_container_api.RunStarlarkScriptArgs.prototype.setExperimentalFeaturesList = function(value) {
|
|
1859
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
1860
|
+
};
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
/**
|
|
1864
|
+
* @param {!proto.api_container_api.KurtosisFeatureFlag} value
|
|
1865
|
+
* @param {number=} opt_index
|
|
1866
|
+
* @return {!proto.api_container_api.RunStarlarkScriptArgs} returns this
|
|
1867
|
+
*/
|
|
1868
|
+
proto.api_container_api.RunStarlarkScriptArgs.prototype.addExperimentalFeatures = function(value, opt_index) {
|
|
1869
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
1870
|
+
};
|
|
1871
|
+
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
* Clears the list making it empty but non-null.
|
|
1875
|
+
* @return {!proto.api_container_api.RunStarlarkScriptArgs} returns this
|
|
1876
|
+
*/
|
|
1877
|
+
proto.api_container_api.RunStarlarkScriptArgs.prototype.clearExperimentalFeaturesList = function() {
|
|
1878
|
+
return this.setExperimentalFeaturesList([]);
|
|
1879
|
+
};
|
|
1880
|
+
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
/**
|
|
1884
|
+
* List of repeated fields within this message type.
|
|
1885
|
+
* @private {!Array<number>}
|
|
1886
|
+
* @const
|
|
1887
|
+
*/
|
|
1888
|
+
proto.api_container_api.RunStarlarkPackageArgs.repeatedFields_ = [11];
|
|
1889
1889
|
|
|
1890
1890
|
/**
|
|
1891
1891
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -1952,7 +1952,8 @@ proto.api_container_api.RunStarlarkPackageArgs.toObject = function(includeInstan
|
|
|
1952
1952
|
parallelism: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
1953
1953
|
clonePackage: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
1954
1954
|
relativePathToMainFile: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1955
|
-
mainFunctionName: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
1955
|
+
mainFunctionName: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1956
|
+
experimentalFeaturesList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f
|
|
1956
1957
|
};
|
|
1957
1958
|
|
|
1958
1959
|
if (includeInstance) {
|
|
@@ -2025,6 +2026,12 @@ proto.api_container_api.RunStarlarkPackageArgs.deserializeBinaryFromReader = fun
|
|
|
2025
2026
|
var value = /** @type {string} */ (reader.readString());
|
|
2026
2027
|
msg.setMainFunctionName(value);
|
|
2027
2028
|
break;
|
|
2029
|
+
case 11:
|
|
2030
|
+
var values = /** @type {!Array<!proto.api_container_api.KurtosisFeatureFlag>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
2031
|
+
for (var i = 0; i < values.length; i++) {
|
|
2032
|
+
msg.addExperimentalFeatures(values[i]);
|
|
2033
|
+
}
|
|
2034
|
+
break;
|
|
2028
2035
|
default:
|
|
2029
2036
|
reader.skipField();
|
|
2030
2037
|
break;
|
|
@@ -2117,6 +2124,13 @@ proto.api_container_api.RunStarlarkPackageArgs.serializeBinaryToWriter = functio
|
|
|
2117
2124
|
f
|
|
2118
2125
|
);
|
|
2119
2126
|
}
|
|
2127
|
+
f = message.getExperimentalFeaturesList();
|
|
2128
|
+
if (f.length > 0) {
|
|
2129
|
+
writer.writePackedEnum(
|
|
2130
|
+
11,
|
|
2131
|
+
f
|
|
2132
|
+
);
|
|
2133
|
+
}
|
|
2120
2134
|
};
|
|
2121
2135
|
|
|
2122
2136
|
|
|
@@ -2396,6 +2410,43 @@ proto.api_container_api.RunStarlarkPackageArgs.prototype.setMainFunctionName = f
|
|
|
2396
2410
|
};
|
|
2397
2411
|
|
|
2398
2412
|
|
|
2413
|
+
/**
|
|
2414
|
+
* repeated KurtosisFeatureFlag experimental_features = 11;
|
|
2415
|
+
* @return {!Array<!proto.api_container_api.KurtosisFeatureFlag>}
|
|
2416
|
+
*/
|
|
2417
|
+
proto.api_container_api.RunStarlarkPackageArgs.prototype.getExperimentalFeaturesList = function() {
|
|
2418
|
+
return /** @type {!Array<!proto.api_container_api.KurtosisFeatureFlag>} */ (jspb.Message.getRepeatedField(this, 11));
|
|
2419
|
+
};
|
|
2420
|
+
|
|
2421
|
+
|
|
2422
|
+
/**
|
|
2423
|
+
* @param {!Array<!proto.api_container_api.KurtosisFeatureFlag>} value
|
|
2424
|
+
* @return {!proto.api_container_api.RunStarlarkPackageArgs} returns this
|
|
2425
|
+
*/
|
|
2426
|
+
proto.api_container_api.RunStarlarkPackageArgs.prototype.setExperimentalFeaturesList = function(value) {
|
|
2427
|
+
return jspb.Message.setField(this, 11, value || []);
|
|
2428
|
+
};
|
|
2429
|
+
|
|
2430
|
+
|
|
2431
|
+
/**
|
|
2432
|
+
* @param {!proto.api_container_api.KurtosisFeatureFlag} value
|
|
2433
|
+
* @param {number=} opt_index
|
|
2434
|
+
* @return {!proto.api_container_api.RunStarlarkPackageArgs} returns this
|
|
2435
|
+
*/
|
|
2436
|
+
proto.api_container_api.RunStarlarkPackageArgs.prototype.addExperimentalFeatures = function(value, opt_index) {
|
|
2437
|
+
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
|
2438
|
+
};
|
|
2439
|
+
|
|
2440
|
+
|
|
2441
|
+
/**
|
|
2442
|
+
* Clears the list making it empty but non-null.
|
|
2443
|
+
* @return {!proto.api_container_api.RunStarlarkPackageArgs} returns this
|
|
2444
|
+
*/
|
|
2445
|
+
proto.api_container_api.RunStarlarkPackageArgs.prototype.clearExperimentalFeaturesList = function() {
|
|
2446
|
+
return this.setExperimentalFeaturesList([]);
|
|
2447
|
+
};
|
|
2448
|
+
|
|
2449
|
+
|
|
2399
2450
|
|
|
2400
2451
|
/**
|
|
2401
2452
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -8043,459 +8094,6 @@ proto.api_container_api.StoreFilesArtifactFromServiceResponse.prototype.setUuid
|
|
|
8043
8094
|
|
|
8044
8095
|
|
|
8045
8096
|
|
|
8046
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8047
|
-
/**
|
|
8048
|
-
* Creates an object representation of this proto.
|
|
8049
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8050
|
-
* Optional fields that are not set will be set to undefined.
|
|
8051
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8052
|
-
* For the list of reserved names please see:
|
|
8053
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8054
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8055
|
-
* JSPB instance for transitional soy proto support:
|
|
8056
|
-
* http://goto/soy-param-migration
|
|
8057
|
-
* @return {!Object}
|
|
8058
|
-
*/
|
|
8059
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.prototype.toObject = function(opt_includeInstance) {
|
|
8060
|
-
return proto.api_container_api.RenderTemplatesToFilesArtifactArgs.toObject(opt_includeInstance, this);
|
|
8061
|
-
};
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
/**
|
|
8065
|
-
* Static version of the {@see toObject} method.
|
|
8066
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8067
|
-
* the JSPB instance for transitional soy proto support:
|
|
8068
|
-
* http://goto/soy-param-migration
|
|
8069
|
-
* @param {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs} msg The msg instance to transform.
|
|
8070
|
-
* @return {!Object}
|
|
8071
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8072
|
-
*/
|
|
8073
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.toObject = function(includeInstance, msg) {
|
|
8074
|
-
var f, obj = {
|
|
8075
|
-
templatesAndDataByDestinationRelFilepathMap: (f = msg.getTemplatesAndDataByDestinationRelFilepathMap()) ? f.toObject(includeInstance, proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.toObject) : [],
|
|
8076
|
-
name: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8077
|
-
};
|
|
8078
|
-
|
|
8079
|
-
if (includeInstance) {
|
|
8080
|
-
obj.$jspbMessageInstance = msg;
|
|
8081
|
-
}
|
|
8082
|
-
return obj;
|
|
8083
|
-
};
|
|
8084
|
-
}
|
|
8085
|
-
|
|
8086
|
-
|
|
8087
|
-
/**
|
|
8088
|
-
* Deserializes binary data (in protobuf wire format).
|
|
8089
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8090
|
-
* @return {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs}
|
|
8091
|
-
*/
|
|
8092
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.deserializeBinary = function(bytes) {
|
|
8093
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
8094
|
-
var msg = new proto.api_container_api.RenderTemplatesToFilesArtifactArgs;
|
|
8095
|
-
return proto.api_container_api.RenderTemplatesToFilesArtifactArgs.deserializeBinaryFromReader(msg, reader);
|
|
8096
|
-
};
|
|
8097
|
-
|
|
8098
|
-
|
|
8099
|
-
/**
|
|
8100
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
8101
|
-
* given reader into the given message object.
|
|
8102
|
-
* @param {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs} msg The message object to deserialize into.
|
|
8103
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8104
|
-
* @return {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs}
|
|
8105
|
-
*/
|
|
8106
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.deserializeBinaryFromReader = function(msg, reader) {
|
|
8107
|
-
while (reader.nextField()) {
|
|
8108
|
-
if (reader.isEndGroup()) {
|
|
8109
|
-
break;
|
|
8110
|
-
}
|
|
8111
|
-
var field = reader.getFieldNumber();
|
|
8112
|
-
switch (field) {
|
|
8113
|
-
case 1:
|
|
8114
|
-
var value = msg.getTemplatesAndDataByDestinationRelFilepathMap();
|
|
8115
|
-
reader.readMessage(value, function(message, reader) {
|
|
8116
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.deserializeBinaryFromReader, "", new proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData());
|
|
8117
|
-
});
|
|
8118
|
-
break;
|
|
8119
|
-
case 2:
|
|
8120
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8121
|
-
msg.setName(value);
|
|
8122
|
-
break;
|
|
8123
|
-
default:
|
|
8124
|
-
reader.skipField();
|
|
8125
|
-
break;
|
|
8126
|
-
}
|
|
8127
|
-
}
|
|
8128
|
-
return msg;
|
|
8129
|
-
};
|
|
8130
|
-
|
|
8131
|
-
|
|
8132
|
-
/**
|
|
8133
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
8134
|
-
* @return {!Uint8Array}
|
|
8135
|
-
*/
|
|
8136
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.prototype.serializeBinary = function() {
|
|
8137
|
-
var writer = new jspb.BinaryWriter();
|
|
8138
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.serializeBinaryToWriter(this, writer);
|
|
8139
|
-
return writer.getResultBuffer();
|
|
8140
|
-
};
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
/**
|
|
8144
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
8145
|
-
* format), writing to the given BinaryWriter.
|
|
8146
|
-
* @param {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs} message
|
|
8147
|
-
* @param {!jspb.BinaryWriter} writer
|
|
8148
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8149
|
-
*/
|
|
8150
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.serializeBinaryToWriter = function(message, writer) {
|
|
8151
|
-
var f = undefined;
|
|
8152
|
-
f = message.getTemplatesAndDataByDestinationRelFilepathMap(true);
|
|
8153
|
-
if (f && f.getLength() > 0) {
|
|
8154
|
-
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.serializeBinaryToWriter);
|
|
8155
|
-
}
|
|
8156
|
-
f = message.getName();
|
|
8157
|
-
if (f.length > 0) {
|
|
8158
|
-
writer.writeString(
|
|
8159
|
-
2,
|
|
8160
|
-
f
|
|
8161
|
-
);
|
|
8162
|
-
}
|
|
8163
|
-
};
|
|
8164
|
-
|
|
8165
|
-
|
|
8166
|
-
|
|
8167
|
-
|
|
8168
|
-
|
|
8169
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8170
|
-
/**
|
|
8171
|
-
* Creates an object representation of this proto.
|
|
8172
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8173
|
-
* Optional fields that are not set will be set to undefined.
|
|
8174
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8175
|
-
* For the list of reserved names please see:
|
|
8176
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8177
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8178
|
-
* JSPB instance for transitional soy proto support:
|
|
8179
|
-
* http://goto/soy-param-migration
|
|
8180
|
-
* @return {!Object}
|
|
8181
|
-
*/
|
|
8182
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.prototype.toObject = function(opt_includeInstance) {
|
|
8183
|
-
return proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.toObject(opt_includeInstance, this);
|
|
8184
|
-
};
|
|
8185
|
-
|
|
8186
|
-
|
|
8187
|
-
/**
|
|
8188
|
-
* Static version of the {@see toObject} method.
|
|
8189
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8190
|
-
* the JSPB instance for transitional soy proto support:
|
|
8191
|
-
* http://goto/soy-param-migration
|
|
8192
|
-
* @param {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData} msg The msg instance to transform.
|
|
8193
|
-
* @return {!Object}
|
|
8194
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8195
|
-
*/
|
|
8196
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.toObject = function(includeInstance, msg) {
|
|
8197
|
-
var f, obj = {
|
|
8198
|
-
template: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8199
|
-
dataAsJson: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8200
|
-
};
|
|
8201
|
-
|
|
8202
|
-
if (includeInstance) {
|
|
8203
|
-
obj.$jspbMessageInstance = msg;
|
|
8204
|
-
}
|
|
8205
|
-
return obj;
|
|
8206
|
-
};
|
|
8207
|
-
}
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
/**
|
|
8211
|
-
* Deserializes binary data (in protobuf wire format).
|
|
8212
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8213
|
-
* @return {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData}
|
|
8214
|
-
*/
|
|
8215
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.deserializeBinary = function(bytes) {
|
|
8216
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
8217
|
-
var msg = new proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData;
|
|
8218
|
-
return proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.deserializeBinaryFromReader(msg, reader);
|
|
8219
|
-
};
|
|
8220
|
-
|
|
8221
|
-
|
|
8222
|
-
/**
|
|
8223
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
8224
|
-
* given reader into the given message object.
|
|
8225
|
-
* @param {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData} msg The message object to deserialize into.
|
|
8226
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8227
|
-
* @return {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData}
|
|
8228
|
-
*/
|
|
8229
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.deserializeBinaryFromReader = function(msg, reader) {
|
|
8230
|
-
while (reader.nextField()) {
|
|
8231
|
-
if (reader.isEndGroup()) {
|
|
8232
|
-
break;
|
|
8233
|
-
}
|
|
8234
|
-
var field = reader.getFieldNumber();
|
|
8235
|
-
switch (field) {
|
|
8236
|
-
case 1:
|
|
8237
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8238
|
-
msg.setTemplate(value);
|
|
8239
|
-
break;
|
|
8240
|
-
case 2:
|
|
8241
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8242
|
-
msg.setDataAsJson(value);
|
|
8243
|
-
break;
|
|
8244
|
-
default:
|
|
8245
|
-
reader.skipField();
|
|
8246
|
-
break;
|
|
8247
|
-
}
|
|
8248
|
-
}
|
|
8249
|
-
return msg;
|
|
8250
|
-
};
|
|
8251
|
-
|
|
8252
|
-
|
|
8253
|
-
/**
|
|
8254
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
8255
|
-
* @return {!Uint8Array}
|
|
8256
|
-
*/
|
|
8257
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.prototype.serializeBinary = function() {
|
|
8258
|
-
var writer = new jspb.BinaryWriter();
|
|
8259
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.serializeBinaryToWriter(this, writer);
|
|
8260
|
-
return writer.getResultBuffer();
|
|
8261
|
-
};
|
|
8262
|
-
|
|
8263
|
-
|
|
8264
|
-
/**
|
|
8265
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
8266
|
-
* format), writing to the given BinaryWriter.
|
|
8267
|
-
* @param {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData} message
|
|
8268
|
-
* @param {!jspb.BinaryWriter} writer
|
|
8269
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8270
|
-
*/
|
|
8271
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.serializeBinaryToWriter = function(message, writer) {
|
|
8272
|
-
var f = undefined;
|
|
8273
|
-
f = message.getTemplate();
|
|
8274
|
-
if (f.length > 0) {
|
|
8275
|
-
writer.writeString(
|
|
8276
|
-
1,
|
|
8277
|
-
f
|
|
8278
|
-
);
|
|
8279
|
-
}
|
|
8280
|
-
f = message.getDataAsJson();
|
|
8281
|
-
if (f.length > 0) {
|
|
8282
|
-
writer.writeString(
|
|
8283
|
-
2,
|
|
8284
|
-
f
|
|
8285
|
-
);
|
|
8286
|
-
}
|
|
8287
|
-
};
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
/**
|
|
8291
|
-
* optional string template = 1;
|
|
8292
|
-
* @return {string}
|
|
8293
|
-
*/
|
|
8294
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.prototype.getTemplate = function() {
|
|
8295
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8296
|
-
};
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
/**
|
|
8300
|
-
* @param {string} value
|
|
8301
|
-
* @return {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData} returns this
|
|
8302
|
-
*/
|
|
8303
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.prototype.setTemplate = function(value) {
|
|
8304
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8305
|
-
};
|
|
8306
|
-
|
|
8307
|
-
|
|
8308
|
-
/**
|
|
8309
|
-
* optional string data_as_json = 2;
|
|
8310
|
-
* @return {string}
|
|
8311
|
-
*/
|
|
8312
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.prototype.getDataAsJson = function() {
|
|
8313
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8314
|
-
};
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
/**
|
|
8318
|
-
* @param {string} value
|
|
8319
|
-
* @return {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData} returns this
|
|
8320
|
-
*/
|
|
8321
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData.prototype.setDataAsJson = function(value) {
|
|
8322
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
8323
|
-
};
|
|
8324
|
-
|
|
8325
|
-
|
|
8326
|
-
/**
|
|
8327
|
-
* map<string, TemplateAndData> templates_and_data_by_destination_rel_filepath = 1;
|
|
8328
|
-
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
8329
|
-
* empty, instead returning `undefined`
|
|
8330
|
-
* @return {!jspb.Map<string,!proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData>}
|
|
8331
|
-
*/
|
|
8332
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.prototype.getTemplatesAndDataByDestinationRelFilepathMap = function(opt_noLazyCreate) {
|
|
8333
|
-
return /** @type {!jspb.Map<string,!proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData>} */ (
|
|
8334
|
-
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
8335
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.TemplateAndData));
|
|
8336
|
-
};
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
/**
|
|
8340
|
-
* Clears values from the map. The map will be non-null.
|
|
8341
|
-
* @return {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs} returns this
|
|
8342
|
-
*/
|
|
8343
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.prototype.clearTemplatesAndDataByDestinationRelFilepathMap = function() {
|
|
8344
|
-
this.getTemplatesAndDataByDestinationRelFilepathMap().clear();
|
|
8345
|
-
return this;};
|
|
8346
|
-
|
|
8347
|
-
|
|
8348
|
-
/**
|
|
8349
|
-
* optional string name = 2;
|
|
8350
|
-
* @return {string}
|
|
8351
|
-
*/
|
|
8352
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.prototype.getName = function() {
|
|
8353
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8354
|
-
};
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
/**
|
|
8358
|
-
* @param {string} value
|
|
8359
|
-
* @return {!proto.api_container_api.RenderTemplatesToFilesArtifactArgs} returns this
|
|
8360
|
-
*/
|
|
8361
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactArgs.prototype.setName = function(value) {
|
|
8362
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
8363
|
-
};
|
|
8364
|
-
|
|
8365
|
-
|
|
8366
|
-
|
|
8367
|
-
|
|
8368
|
-
|
|
8369
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8370
|
-
/**
|
|
8371
|
-
* Creates an object representation of this proto.
|
|
8372
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8373
|
-
* Optional fields that are not set will be set to undefined.
|
|
8374
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8375
|
-
* For the list of reserved names please see:
|
|
8376
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8377
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8378
|
-
* JSPB instance for transitional soy proto support:
|
|
8379
|
-
* http://goto/soy-param-migration
|
|
8380
|
-
* @return {!Object}
|
|
8381
|
-
*/
|
|
8382
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactResponse.prototype.toObject = function(opt_includeInstance) {
|
|
8383
|
-
return proto.api_container_api.RenderTemplatesToFilesArtifactResponse.toObject(opt_includeInstance, this);
|
|
8384
|
-
};
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
/**
|
|
8388
|
-
* Static version of the {@see toObject} method.
|
|
8389
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8390
|
-
* the JSPB instance for transitional soy proto support:
|
|
8391
|
-
* http://goto/soy-param-migration
|
|
8392
|
-
* @param {!proto.api_container_api.RenderTemplatesToFilesArtifactResponse} msg The msg instance to transform.
|
|
8393
|
-
* @return {!Object}
|
|
8394
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8395
|
-
*/
|
|
8396
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactResponse.toObject = function(includeInstance, msg) {
|
|
8397
|
-
var f, obj = {
|
|
8398
|
-
uuid: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
8399
|
-
};
|
|
8400
|
-
|
|
8401
|
-
if (includeInstance) {
|
|
8402
|
-
obj.$jspbMessageInstance = msg;
|
|
8403
|
-
}
|
|
8404
|
-
return obj;
|
|
8405
|
-
};
|
|
8406
|
-
}
|
|
8407
|
-
|
|
8408
|
-
|
|
8409
|
-
/**
|
|
8410
|
-
* Deserializes binary data (in protobuf wire format).
|
|
8411
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8412
|
-
* @return {!proto.api_container_api.RenderTemplatesToFilesArtifactResponse}
|
|
8413
|
-
*/
|
|
8414
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactResponse.deserializeBinary = function(bytes) {
|
|
8415
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
8416
|
-
var msg = new proto.api_container_api.RenderTemplatesToFilesArtifactResponse;
|
|
8417
|
-
return proto.api_container_api.RenderTemplatesToFilesArtifactResponse.deserializeBinaryFromReader(msg, reader);
|
|
8418
|
-
};
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
/**
|
|
8422
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
8423
|
-
* given reader into the given message object.
|
|
8424
|
-
* @param {!proto.api_container_api.RenderTemplatesToFilesArtifactResponse} msg The message object to deserialize into.
|
|
8425
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8426
|
-
* @return {!proto.api_container_api.RenderTemplatesToFilesArtifactResponse}
|
|
8427
|
-
*/
|
|
8428
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
8429
|
-
while (reader.nextField()) {
|
|
8430
|
-
if (reader.isEndGroup()) {
|
|
8431
|
-
break;
|
|
8432
|
-
}
|
|
8433
|
-
var field = reader.getFieldNumber();
|
|
8434
|
-
switch (field) {
|
|
8435
|
-
case 1:
|
|
8436
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8437
|
-
msg.setUuid(value);
|
|
8438
|
-
break;
|
|
8439
|
-
default:
|
|
8440
|
-
reader.skipField();
|
|
8441
|
-
break;
|
|
8442
|
-
}
|
|
8443
|
-
}
|
|
8444
|
-
return msg;
|
|
8445
|
-
};
|
|
8446
|
-
|
|
8447
|
-
|
|
8448
|
-
/**
|
|
8449
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
8450
|
-
* @return {!Uint8Array}
|
|
8451
|
-
*/
|
|
8452
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactResponse.prototype.serializeBinary = function() {
|
|
8453
|
-
var writer = new jspb.BinaryWriter();
|
|
8454
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactResponse.serializeBinaryToWriter(this, writer);
|
|
8455
|
-
return writer.getResultBuffer();
|
|
8456
|
-
};
|
|
8457
|
-
|
|
8458
|
-
|
|
8459
|
-
/**
|
|
8460
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
8461
|
-
* format), writing to the given BinaryWriter.
|
|
8462
|
-
* @param {!proto.api_container_api.RenderTemplatesToFilesArtifactResponse} message
|
|
8463
|
-
* @param {!jspb.BinaryWriter} writer
|
|
8464
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8465
|
-
*/
|
|
8466
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactResponse.serializeBinaryToWriter = function(message, writer) {
|
|
8467
|
-
var f = undefined;
|
|
8468
|
-
f = message.getUuid();
|
|
8469
|
-
if (f.length > 0) {
|
|
8470
|
-
writer.writeString(
|
|
8471
|
-
1,
|
|
8472
|
-
f
|
|
8473
|
-
);
|
|
8474
|
-
}
|
|
8475
|
-
};
|
|
8476
|
-
|
|
8477
|
-
|
|
8478
|
-
/**
|
|
8479
|
-
* optional string uuid = 1;
|
|
8480
|
-
* @return {string}
|
|
8481
|
-
*/
|
|
8482
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactResponse.prototype.getUuid = function() {
|
|
8483
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8484
|
-
};
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
/**
|
|
8488
|
-
* @param {string} value
|
|
8489
|
-
* @return {!proto.api_container_api.RenderTemplatesToFilesArtifactResponse} returns this
|
|
8490
|
-
*/
|
|
8491
|
-
proto.api_container_api.RenderTemplatesToFilesArtifactResponse.prototype.setUuid = function(value) {
|
|
8492
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8493
|
-
};
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
8097
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8500
8098
|
/**
|
|
8501
8099
|
* Creates an object representation of this proto.
|
|
@@ -8813,4 +8411,11 @@ proto.api_container_api.ListFilesArtifactNamesAndUuidsResponse.prototype.clearFi
|
|
|
8813
8411
|
};
|
|
8814
8412
|
|
|
8815
8413
|
|
|
8414
|
+
/**
|
|
8415
|
+
* @enum {number}
|
|
8416
|
+
*/
|
|
8417
|
+
proto.api_container_api.KurtosisFeatureFlag = {
|
|
8418
|
+
USE_INSTRUCTIONS_CACHING: 0
|
|
8419
|
+
};
|
|
8420
|
+
|
|
8816
8421
|
goog.object.extend(exports, proto.api_container_api);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ExecCommandArgs, GetServicesArgs, WaitForHttpGetEndpointAvailabilityArgs, WaitForHttpPostEndpointAvailabilityArgs, Port, StoreWebFilesArtifactArgs, UploadFilesArtifactArgs, ServiceInfo, GetServicesResponse,
|
|
1
|
+
import { ExecCommandArgs, GetServicesArgs, WaitForHttpGetEndpointAvailabilityArgs, WaitForHttpPostEndpointAvailabilityArgs, Port, StoreWebFilesArtifactArgs, UploadFilesArtifactArgs, ServiceInfo, GetServicesResponse, DownloadFilesArtifactArgs } from '../kurtosis_core_rpc_api_bindings/api_container_service_pb';
|
|
2
2
|
import { ServiceName } from './services/service';
|
|
3
|
-
import TemplateAndData = RenderTemplatesToFilesArtifactArgs.TemplateAndData;
|
|
4
3
|
export declare function newPort(number: number, transportProtocol: Port.TransportProtocol, maybeApplicationProtocol?: string): Port;
|
|
5
4
|
export declare function newGetServicesArgs(serviceIdentifiers: Map<string, boolean>): GetServicesArgs;
|
|
6
5
|
export declare function newGetServicesResponse(serviceInfoMap: Map<string, ServiceInfo>): GetServicesResponse;
|
|
@@ -10,5 +9,3 @@ export declare function newWaitForHttpPostEndpointAvailabilityArgs(serviceIdenti
|
|
|
10
9
|
export declare function newStoreWebFilesArtifactArgs(url: string, name: string): StoreWebFilesArtifactArgs;
|
|
11
10
|
export declare function newDownloadFilesArtifactArgs(identifier: string): DownloadFilesArtifactArgs;
|
|
12
11
|
export declare function newUploadFilesArtifactArgs(data: Uint8Array, name: string): UploadFilesArtifactArgs;
|
|
13
|
-
export declare function newTemplateAndData(template: string, templateData: string): TemplateAndData;
|
|
14
|
-
export declare function newRenderTemplatesToFilesArtifactArgs(): RenderTemplatesToFilesArtifactArgs;
|
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
* All Rights Reserved.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
7
|
+
exports.newUploadFilesArtifactArgs = exports.newDownloadFilesArtifactArgs = exports.newStoreWebFilesArtifactArgs = exports.newWaitForHttpPostEndpointAvailabilityArgs = exports.newWaitForHttpGetEndpointAvailabilityArgs = exports.newExecCommandArgs = exports.newGetServicesResponse = exports.newGetServicesArgs = exports.newPort = void 0;
|
|
8
8
|
const api_container_service_pb_1 = require("../kurtosis_core_rpc_api_bindings/api_container_service_pb");
|
|
9
|
-
var TemplateAndData = api_container_service_pb_1.RenderTemplatesToFilesArtifactArgs.TemplateAndData;
|
|
10
9
|
// ==============================================================================================
|
|
11
10
|
// Shared Objects (Used By Multiple Endpoints)
|
|
12
11
|
// ==============================================================================================
|
|
@@ -111,18 +110,3 @@ function newUploadFilesArtifactArgs(data, name) {
|
|
|
111
110
|
return result;
|
|
112
111
|
}
|
|
113
112
|
exports.newUploadFilesArtifactArgs = newUploadFilesArtifactArgs;
|
|
114
|
-
// ==============================================================================================
|
|
115
|
-
// Render Templates
|
|
116
|
-
// ==============================================================================================
|
|
117
|
-
function newTemplateAndData(template, templateData) {
|
|
118
|
-
const templateAndData = new TemplateAndData();
|
|
119
|
-
templateAndData.setDataAsJson(templateData);
|
|
120
|
-
templateAndData.setTemplate(template);
|
|
121
|
-
return templateAndData;
|
|
122
|
-
}
|
|
123
|
-
exports.newTemplateAndData = newTemplateAndData;
|
|
124
|
-
function newRenderTemplatesToFilesArtifactArgs() {
|
|
125
|
-
const renderTemplatesToFilesArtifactArgs = new api_container_service_pb_1.RenderTemplatesToFilesArtifactArgs();
|
|
126
|
-
return renderTemplatesToFilesArtifactArgs;
|
|
127
|
-
}
|
|
128
|
-
exports.newRenderTemplatesToFilesArtifactArgs = newRenderTemplatesToFilesArtifactArgs;
|
|
@@ -3,7 +3,7 @@ import { Result } from "neverthrow";
|
|
|
3
3
|
import type { FilesArtifactUUID } from "../services/container_config";
|
|
4
4
|
import type { ServiceName, ServiceUUID } from "../services/service";
|
|
5
5
|
import { ServiceContext } from "../services/service_context";
|
|
6
|
-
import { FilesArtifactNameAndUuid } from "../../kurtosis_core_rpc_api_bindings/api_container_service_pb";
|
|
6
|
+
import { FilesArtifactNameAndUuid, KurtosisFeatureFlag } from "../../kurtosis_core_rpc_api_bindings/api_container_service_pb";
|
|
7
7
|
import { Readable } from "stream";
|
|
8
8
|
import { StarlarkRunResult } from "./starlark_run_blocking";
|
|
9
9
|
import { ServiceIdentifiers } from "../services/service_identifiers";
|
|
@@ -18,8 +18,8 @@ export declare class EnclaveContext {
|
|
|
18
18
|
static newGrpcNodeEnclaveContext(ipAddress: string, apiContainerGrpcPortNum: number, enclaveUuid: string, enclaveName: string): Promise<Result<EnclaveContext, Error>>;
|
|
19
19
|
getEnclaveUuid(): EnclaveUUID;
|
|
20
20
|
getEnclaveName(): string;
|
|
21
|
-
runStarlarkScript(mainFunctionName: string, serializedStartosisScript: string, serializedParams: string, dryRun: boolean): Promise<Result<Readable, Error>>;
|
|
22
|
-
runStarlarkScriptBlocking(mainFunctionName: string, serializedStartosisScript: string, serializedParams: string, dryRun: boolean): Promise<Result<StarlarkRunResult, Error>>;
|
|
21
|
+
runStarlarkScript(mainFunctionName: string, serializedStartosisScript: string, serializedParams: string, dryRun: boolean, experimentalFeatures: Array<KurtosisFeatureFlag>): Promise<Result<Readable, Error>>;
|
|
22
|
+
runStarlarkScriptBlocking(mainFunctionName: string, serializedStartosisScript: string, serializedParams: string, dryRun: boolean, experimentalFeatures: Array<KurtosisFeatureFlag>): Promise<Result<StarlarkRunResult, Error>>;
|
|
23
23
|
runStarlarkPackage(packageRootPath: string, relativePathToMainFile: string, mainFunctionName: string, serializedParams: string, dryRun: boolean): Promise<Result<Readable, Error>>;
|
|
24
24
|
runStarlarkPackageBlocking(packageRootPath: string, relativePathToMainFile: string, mainFunctionName: string, serializedParams: string, dryRun: boolean): Promise<Result<StarlarkRunResult, Error>>;
|
|
25
25
|
runStarlarkRemotePackage(packageId: string, relativePathToMainFile: string, mainFunctionName: string, serializedParams: string, dryRun: boolean): Promise<Result<Readable, Error>>;
|
|
@@ -70,13 +70,14 @@ class EnclaveContext {
|
|
|
70
70
|
return this.backend.getEnclaveName();
|
|
71
71
|
}
|
|
72
72
|
// Docs available at https://docs.kurtosis.com/sdk/#runstarlarkscriptstring-serializedstarlarkscript-boolean-dryrun---streamstarlarkrunresponseline-responselines-error-error
|
|
73
|
-
runStarlarkScript(mainFunctionName, serializedStartosisScript, serializedParams, dryRun) {
|
|
73
|
+
runStarlarkScript(mainFunctionName, serializedStartosisScript, serializedParams, dryRun, experimentalFeatures) {
|
|
74
74
|
return __awaiter(this, void 0, void 0, function* () {
|
|
75
75
|
const args = new api_container_service_pb_1.RunStarlarkScriptArgs();
|
|
76
76
|
args.setSerializedScript(serializedStartosisScript);
|
|
77
77
|
args.setSerializedParams(serializedParams);
|
|
78
78
|
args.setDryRun(dryRun);
|
|
79
79
|
args.setMainFunctionName(mainFunctionName);
|
|
80
|
+
args.setExperimentalFeaturesList(experimentalFeatures);
|
|
80
81
|
const scriptRunResult = yield this.backend.runStarlarkScript(args);
|
|
81
82
|
if (scriptRunResult.isErr()) {
|
|
82
83
|
return (0, neverthrow_1.err)(new Error(`Unexpected error happened executing Starlark script \n${scriptRunResult.error}`));
|
|
@@ -85,9 +86,9 @@ class EnclaveContext {
|
|
|
85
86
|
});
|
|
86
87
|
}
|
|
87
88
|
// Docs available at https://docs.kurtosis.com/sdk/#runstarlarkscriptblockingstring-serializedstarlarkscript-boolean-dryrun---starlarkrunresult-runresult-error-error
|
|
88
|
-
runStarlarkScriptBlocking(mainFunctionName, serializedStartosisScript, serializedParams, dryRun) {
|
|
89
|
+
runStarlarkScriptBlocking(mainFunctionName, serializedStartosisScript, serializedParams, dryRun, experimentalFeatures) {
|
|
89
90
|
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
-
const runAsyncResponse = yield this.runStarlarkScript(mainFunctionName, serializedStartosisScript, serializedParams, dryRun);
|
|
91
|
+
const runAsyncResponse = yield this.runStarlarkScript(mainFunctionName, serializedStartosisScript, serializedParams, dryRun, experimentalFeatures);
|
|
91
92
|
if (runAsyncResponse.isErr()) {
|
|
92
93
|
return (0, neverthrow_1.err)(runAsyncResponse.error);
|
|
93
94
|
}
|
|
@@ -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.
|
|
7
|
+
exports.KURTOSIS_VERSION = "0.80.4";
|
|
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.
|
|
4
|
+
"version": "0.80.4",
|
|
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",
|