@nebius/js-sdk 0.2.63 → 0.2.64
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/dist/cjs/api/google/protobuf/index.d.ts +34 -20
- package/dist/cjs/api/google/protobuf/index.d.ts.map +1 -1
- package/dist/cjs/api/google/protobuf/index.js +32 -0
- package/dist/cjs/api/google/protobuf/index.js.map +1 -1
- package/dist/cjs/api/nebius/compute/v1/index.d.ts +4 -1
- package/dist/cjs/api/nebius/compute/v1/index.d.ts.map +1 -1
- package/dist/cjs/api/nebius/compute/v1/index.js.map +1 -1
- package/dist/cjs/api/nebius/mk8s/v1/index.d.ts +78 -1
- package/dist/cjs/api/nebius/mk8s/v1/index.d.ts.map +1 -1
- package/dist/cjs/api/nebius/mk8s/v1/index.js +340 -2
- package/dist/cjs/api/nebius/mk8s/v1/index.js.map +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/api/google/protobuf/index.d.ts +34 -20
- package/dist/esm/api/google/protobuf/index.d.ts.map +1 -1
- package/dist/esm/api/google/protobuf/index.js +32 -0
- package/dist/esm/api/google/protobuf/index.js.map +1 -1
- package/dist/esm/api/nebius/compute/v1/index.d.ts +4 -1
- package/dist/esm/api/nebius/compute/v1/index.d.ts.map +1 -1
- package/dist/esm/api/nebius/compute/v1/index.js.map +1 -1
- package/dist/esm/api/nebius/mk8s/v1/index.d.ts +78 -1
- package/dist/esm/api/nebius/mk8s/v1/index.d.ts.map +1 -1
- package/dist/esm/api/nebius/mk8s/v1/index.js +339 -1
- package/dist/esm/api/nebius/mk8s/v1/index.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import { custom, customJson, inspectJson } from "../../../../runtime/util/loggin
|
|
|
6
6
|
import { makeGenericClientConstructor } from "@grpc/grpc-js";
|
|
7
7
|
import { Request as SDKRequestClass } from "../../../../runtime/request.js";
|
|
8
8
|
import { Operation as OperationWrapper } from "../../../../runtime/operation.js";
|
|
9
|
-
import { GetByNameRequest, Operation, OperationService, RecurrentResourceEvent, ResourceMetadata } from "../../common/v1/index.js";
|
|
9
|
+
import { GetByNameRequest, Operation, OperationService, PreflightCheckContext, PreflightCheckDiagnostic, RecurrentResourceEvent, ResourceMetadata } from "../../common/v1/index.js";
|
|
10
10
|
const __deprecatedWarned = new Set();
|
|
11
11
|
const CreateClusterRequest_MESSAGE_DESCRIPTOR = {
|
|
12
12
|
fields: {
|
|
@@ -4758,6 +4758,322 @@ function createBaseUpdateNodeGroupRequest() {
|
|
|
4758
4758
|
};
|
|
4759
4759
|
return applyUpdateNodeGroupRequestCustom(message);
|
|
4760
4760
|
}
|
|
4761
|
+
const PreflightCheckNodeGroupRequest_MESSAGE_DESCRIPTOR = {
|
|
4762
|
+
fields: {
|
|
4763
|
+
"context": { pbName: "context", message: () => PreflightCheckContext.$descriptor },
|
|
4764
|
+
"metadata": { pbName: "metadata", message: () => ResourceMetadata.$descriptor },
|
|
4765
|
+
"spec": { pbName: "spec", message: () => NodeGroupSpec.$descriptor },
|
|
4766
|
+
},
|
|
4767
|
+
};
|
|
4768
|
+
/** Encodes, decodes, converts, and creates {@link PreflightCheckNodeGroupRequest} messages. */
|
|
4769
|
+
export const PreflightCheckNodeGroupRequest = {
|
|
4770
|
+
$type: "nebius.mk8s.v1.PreflightCheckNodeGroupRequest",
|
|
4771
|
+
$descriptor: PreflightCheckNodeGroupRequest_MESSAGE_DESCRIPTOR,
|
|
4772
|
+
encode(message, writer = new BinaryWriter()) {
|
|
4773
|
+
if (message.context !== undefined) {
|
|
4774
|
+
const w = writer.uint32(10).fork();
|
|
4775
|
+
PreflightCheckContext.encode(message.context, w);
|
|
4776
|
+
w.join();
|
|
4777
|
+
}
|
|
4778
|
+
if (message.metadata !== undefined) {
|
|
4779
|
+
const w = writer.uint32(18).fork();
|
|
4780
|
+
ResourceMetadata.encode(message.metadata, w);
|
|
4781
|
+
w.join();
|
|
4782
|
+
}
|
|
4783
|
+
if (message.spec !== undefined) {
|
|
4784
|
+
const w = writer.uint32(26).fork();
|
|
4785
|
+
NodeGroupSpec.encode(message.spec, w);
|
|
4786
|
+
w.join();
|
|
4787
|
+
}
|
|
4788
|
+
if (message[unknownFieldsSymbol]) {
|
|
4789
|
+
writer.raw(message[unknownFieldsSymbol]);
|
|
4790
|
+
}
|
|
4791
|
+
return writer;
|
|
4792
|
+
},
|
|
4793
|
+
decode(input, length) {
|
|
4794
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4795
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4796
|
+
const message = createBasePreflightCheckNodeGroupRequest();
|
|
4797
|
+
let writer = undefined;
|
|
4798
|
+
while (reader.pos < end) {
|
|
4799
|
+
const tag = reader.uint32();
|
|
4800
|
+
switch (tag >>> 3) {
|
|
4801
|
+
case 1: {
|
|
4802
|
+
if (tag !== 10)
|
|
4803
|
+
break;
|
|
4804
|
+
message.context = PreflightCheckContext.decode(reader, reader.uint32());
|
|
4805
|
+
continue;
|
|
4806
|
+
}
|
|
4807
|
+
case 2: {
|
|
4808
|
+
if (tag !== 18)
|
|
4809
|
+
break;
|
|
4810
|
+
message.metadata = ResourceMetadata.decode(reader, reader.uint32());
|
|
4811
|
+
continue;
|
|
4812
|
+
}
|
|
4813
|
+
case 3: {
|
|
4814
|
+
if (tag !== 26)
|
|
4815
|
+
break;
|
|
4816
|
+
message.spec = NodeGroupSpec.decode(reader, reader.uint32());
|
|
4817
|
+
continue;
|
|
4818
|
+
}
|
|
4819
|
+
default:
|
|
4820
|
+
break;
|
|
4821
|
+
}
|
|
4822
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4823
|
+
break;
|
|
4824
|
+
}
|
|
4825
|
+
{
|
|
4826
|
+
if (!writer)
|
|
4827
|
+
writer = new BinaryWriter();
|
|
4828
|
+
const skipped = reader.skip(tag & 7, tag >>> 3);
|
|
4829
|
+
writer.uint32(tag).raw(skipped);
|
|
4830
|
+
}
|
|
4831
|
+
}
|
|
4832
|
+
if (writer) {
|
|
4833
|
+
message[unknownFieldsSymbol] = writer.finish();
|
|
4834
|
+
}
|
|
4835
|
+
return message;
|
|
4836
|
+
},
|
|
4837
|
+
fromJSON(object) {
|
|
4838
|
+
return applyPreflightCheckNodeGroupRequestCustom({
|
|
4839
|
+
$type: "nebius.mk8s.v1.PreflightCheckNodeGroupRequest",
|
|
4840
|
+
context: isSet(object.context ?? object.context)
|
|
4841
|
+
? PreflightCheckContext.fromJSON(object.context ?? object.context)
|
|
4842
|
+
: undefined,
|
|
4843
|
+
metadata: isSet(object.metadata ?? object.metadata)
|
|
4844
|
+
? ResourceMetadata.fromJSON(object.metadata ?? object.metadata)
|
|
4845
|
+
: undefined,
|
|
4846
|
+
spec: isSet(object.spec ?? object.spec)
|
|
4847
|
+
? NodeGroupSpec.fromJSON(object.spec ?? object.spec)
|
|
4848
|
+
: undefined,
|
|
4849
|
+
});
|
|
4850
|
+
},
|
|
4851
|
+
toJSON(message, use = "json") {
|
|
4852
|
+
const obj = {};
|
|
4853
|
+
const pick = (json, pb) => (use === "json" ? json : pb);
|
|
4854
|
+
if (message.context !== undefined) {
|
|
4855
|
+
obj[pick("context", "context")] = message.context
|
|
4856
|
+
? PreflightCheckContext.toJSON(message.context, use)
|
|
4857
|
+
: undefined;
|
|
4858
|
+
}
|
|
4859
|
+
if (message.metadata !== undefined) {
|
|
4860
|
+
obj[pick("metadata", "metadata")] = message.metadata
|
|
4861
|
+
? ResourceMetadata.toJSON(message.metadata, use)
|
|
4862
|
+
: undefined;
|
|
4863
|
+
}
|
|
4864
|
+
if (message.spec !== undefined) {
|
|
4865
|
+
obj[pick("spec", "spec")] = message.spec
|
|
4866
|
+
? NodeGroupSpec.toJSON(message.spec, use)
|
|
4867
|
+
: undefined;
|
|
4868
|
+
}
|
|
4869
|
+
return obj;
|
|
4870
|
+
},
|
|
4871
|
+
create(base) {
|
|
4872
|
+
return PreflightCheckNodeGroupRequest.fromPartial(base ?? {});
|
|
4873
|
+
},
|
|
4874
|
+
fromPartial(object) {
|
|
4875
|
+
const message = createBasePreflightCheckNodeGroupRequest();
|
|
4876
|
+
message.context = (object.context !== undefined && object.context !== null)
|
|
4877
|
+
? PreflightCheckContext.fromPartial(object.context)
|
|
4878
|
+
: undefined;
|
|
4879
|
+
message.metadata = (object.metadata !== undefined && object.metadata !== null)
|
|
4880
|
+
? ResourceMetadata.fromPartial(object.metadata)
|
|
4881
|
+
: undefined;
|
|
4882
|
+
message.spec = (object.spec !== undefined && object.spec !== null)
|
|
4883
|
+
? NodeGroupSpec.fromPartial(object.spec)
|
|
4884
|
+
: undefined;
|
|
4885
|
+
return message;
|
|
4886
|
+
},
|
|
4887
|
+
};
|
|
4888
|
+
protoRegistry.registerMessage(PreflightCheckNodeGroupRequest);
|
|
4889
|
+
function PreflightCheckNodeGroupRequestCustomInspect() {
|
|
4890
|
+
const parts = [];
|
|
4891
|
+
if (this.context !== undefined)
|
|
4892
|
+
parts.push("context" + "=" + inspect(this.context));
|
|
4893
|
+
if (this.metadata !== undefined)
|
|
4894
|
+
parts.push("metadata" + "=" + inspect(this.metadata));
|
|
4895
|
+
if (this.spec !== undefined)
|
|
4896
|
+
parts.push("spec" + "=" + inspect(this.spec));
|
|
4897
|
+
return `${this.$type}(${parts.join(", ")})`;
|
|
4898
|
+
}
|
|
4899
|
+
function PreflightCheckNodeGroupRequestCustomJson() {
|
|
4900
|
+
const obj = {
|
|
4901
|
+
type: this.$type,
|
|
4902
|
+
};
|
|
4903
|
+
if (this.context !== undefined)
|
|
4904
|
+
obj.context = inspectJson(this.context);
|
|
4905
|
+
if (this.metadata !== undefined)
|
|
4906
|
+
obj.metadata = inspectJson(this.metadata);
|
|
4907
|
+
if (this.spec !== undefined)
|
|
4908
|
+
obj.spec = inspectJson(this.spec);
|
|
4909
|
+
return obj;
|
|
4910
|
+
}
|
|
4911
|
+
function applyPreflightCheckNodeGroupRequestCustom(message) {
|
|
4912
|
+
message[custom] = PreflightCheckNodeGroupRequestCustomInspect;
|
|
4913
|
+
message[customJson] = PreflightCheckNodeGroupRequestCustomJson;
|
|
4914
|
+
return attachMessageDescriptor(message, PreflightCheckNodeGroupRequest.$descriptor);
|
|
4915
|
+
}
|
|
4916
|
+
function createBasePreflightCheckNodeGroupRequest() {
|
|
4917
|
+
const message = {
|
|
4918
|
+
$type: "nebius.mk8s.v1.PreflightCheckNodeGroupRequest",
|
|
4919
|
+
context: undefined,
|
|
4920
|
+
metadata: undefined,
|
|
4921
|
+
spec: undefined,
|
|
4922
|
+
};
|
|
4923
|
+
return applyPreflightCheckNodeGroupRequestCustom(message);
|
|
4924
|
+
}
|
|
4925
|
+
const PreflightCheckNodeGroupResponse_MESSAGE_DESCRIPTOR = {
|
|
4926
|
+
fields: {
|
|
4927
|
+
"diagnostics": { pbName: "diagnostics", repeated: true, message: () => PreflightCheckDiagnostic.$descriptor },
|
|
4928
|
+
"pathsRequireRecreate": { pbName: "paths_require_recreate", scalarType: 9 },
|
|
4929
|
+
"requiresUserApproval": { pbName: "requires_user_approval", scalarType: 8 },
|
|
4930
|
+
},
|
|
4931
|
+
};
|
|
4932
|
+
/** Encodes, decodes, converts, and creates {@link PreflightCheckNodeGroupResponse} messages. */
|
|
4933
|
+
export const PreflightCheckNodeGroupResponse = {
|
|
4934
|
+
$type: "nebius.mk8s.v1.PreflightCheckNodeGroupResponse",
|
|
4935
|
+
$descriptor: PreflightCheckNodeGroupResponse_MESSAGE_DESCRIPTOR,
|
|
4936
|
+
encode(message, writer = new BinaryWriter()) {
|
|
4937
|
+
for (const v of (message.diagnostics ?? [])) {
|
|
4938
|
+
const w = writer.uint32(10).fork();
|
|
4939
|
+
PreflightCheckDiagnostic.encode(v, w);
|
|
4940
|
+
w.join();
|
|
4941
|
+
}
|
|
4942
|
+
if (message.pathsRequireRecreate !== "") {
|
|
4943
|
+
writer.uint32(18).string(message.pathsRequireRecreate);
|
|
4944
|
+
}
|
|
4945
|
+
if (message.requiresUserApproval === true) {
|
|
4946
|
+
writer.uint32(24).bool(message.requiresUserApproval);
|
|
4947
|
+
}
|
|
4948
|
+
if (message[unknownFieldsSymbol]) {
|
|
4949
|
+
writer.raw(message[unknownFieldsSymbol]);
|
|
4950
|
+
}
|
|
4951
|
+
return writer;
|
|
4952
|
+
},
|
|
4953
|
+
decode(input, length) {
|
|
4954
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4955
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4956
|
+
const message = createBasePreflightCheckNodeGroupResponse();
|
|
4957
|
+
let writer = undefined;
|
|
4958
|
+
while (reader.pos < end) {
|
|
4959
|
+
const tag = reader.uint32();
|
|
4960
|
+
switch (tag >>> 3) {
|
|
4961
|
+
case 1: {
|
|
4962
|
+
if (tag !== 10)
|
|
4963
|
+
break;
|
|
4964
|
+
message.diagnostics.push(PreflightCheckDiagnostic.decode(reader, reader.uint32()));
|
|
4965
|
+
continue;
|
|
4966
|
+
}
|
|
4967
|
+
case 2: {
|
|
4968
|
+
if (tag !== 18)
|
|
4969
|
+
break;
|
|
4970
|
+
message.pathsRequireRecreate = reader.string();
|
|
4971
|
+
continue;
|
|
4972
|
+
}
|
|
4973
|
+
case 3: {
|
|
4974
|
+
if (tag !== 24)
|
|
4975
|
+
break;
|
|
4976
|
+
message.requiresUserApproval = reader.bool();
|
|
4977
|
+
continue;
|
|
4978
|
+
}
|
|
4979
|
+
default:
|
|
4980
|
+
break;
|
|
4981
|
+
}
|
|
4982
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4983
|
+
break;
|
|
4984
|
+
}
|
|
4985
|
+
{
|
|
4986
|
+
if (!writer)
|
|
4987
|
+
writer = new BinaryWriter();
|
|
4988
|
+
const skipped = reader.skip(tag & 7, tag >>> 3);
|
|
4989
|
+
writer.uint32(tag).raw(skipped);
|
|
4990
|
+
}
|
|
4991
|
+
}
|
|
4992
|
+
if (writer) {
|
|
4993
|
+
message[unknownFieldsSymbol] = writer.finish();
|
|
4994
|
+
}
|
|
4995
|
+
return message;
|
|
4996
|
+
},
|
|
4997
|
+
fromJSON(object) {
|
|
4998
|
+
return applyPreflightCheckNodeGroupResponseCustom({
|
|
4999
|
+
$type: "nebius.mk8s.v1.PreflightCheckNodeGroupResponse",
|
|
5000
|
+
diagnostics: globalThis.Array.isArray(object?.diagnostics ?? object?.diagnostics)
|
|
5001
|
+
? (object.diagnostics ?? object.diagnostics).map((e) => PreflightCheckDiagnostic.fromJSON(e))
|
|
5002
|
+
: [],
|
|
5003
|
+
pathsRequireRecreate: isSet(object.pathsRequireRecreate ?? object.paths_require_recreate)
|
|
5004
|
+
? String(object.pathsRequireRecreate ?? object.paths_require_recreate)
|
|
5005
|
+
: "",
|
|
5006
|
+
requiresUserApproval: isSet(object.requiresUserApproval ?? object.requires_user_approval)
|
|
5007
|
+
? Boolean(object.requiresUserApproval ?? object.requires_user_approval)
|
|
5008
|
+
: false,
|
|
5009
|
+
});
|
|
5010
|
+
},
|
|
5011
|
+
toJSON(message, use = "json") {
|
|
5012
|
+
const obj = {};
|
|
5013
|
+
const pick = (json, pb) => (use === "json" ? json : pb);
|
|
5014
|
+
if (message.diagnostics?.length) {
|
|
5015
|
+
obj[pick("diagnostics", "diagnostics")] = message.diagnostics.map((e) => e ? PreflightCheckDiagnostic.toJSON(e, use) : undefined);
|
|
5016
|
+
}
|
|
5017
|
+
if (message.pathsRequireRecreate !== "") {
|
|
5018
|
+
obj[pick("pathsRequireRecreate", "paths_require_recreate")] = message.pathsRequireRecreate;
|
|
5019
|
+
}
|
|
5020
|
+
if (message.requiresUserApproval === true) {
|
|
5021
|
+
obj[pick("requiresUserApproval", "requires_user_approval")] = message.requiresUserApproval;
|
|
5022
|
+
}
|
|
5023
|
+
return obj;
|
|
5024
|
+
},
|
|
5025
|
+
create(base) {
|
|
5026
|
+
return PreflightCheckNodeGroupResponse.fromPartial(base ?? {});
|
|
5027
|
+
},
|
|
5028
|
+
fromPartial(object) {
|
|
5029
|
+
const message = createBasePreflightCheckNodeGroupResponse();
|
|
5030
|
+
message.diagnostics = object.diagnostics?.map((e) => PreflightCheckDiagnostic.fromPartial(e)) || [];
|
|
5031
|
+
message.pathsRequireRecreate = (object.pathsRequireRecreate !== undefined && object.pathsRequireRecreate !== null)
|
|
5032
|
+
? object.pathsRequireRecreate
|
|
5033
|
+
: "";
|
|
5034
|
+
message.requiresUserApproval = (object.requiresUserApproval !== undefined && object.requiresUserApproval !== null)
|
|
5035
|
+
? object.requiresUserApproval
|
|
5036
|
+
: false;
|
|
5037
|
+
return message;
|
|
5038
|
+
},
|
|
5039
|
+
};
|
|
5040
|
+
protoRegistry.registerMessage(PreflightCheckNodeGroupResponse);
|
|
5041
|
+
function PreflightCheckNodeGroupResponseCustomInspect() {
|
|
5042
|
+
const parts = [];
|
|
5043
|
+
if ((this.diagnostics?.length ?? 0) !== 0)
|
|
5044
|
+
parts.push("diagnostics" + "=" + inspect(this.diagnostics));
|
|
5045
|
+
if (this.pathsRequireRecreate !== "")
|
|
5046
|
+
parts.push("pathsRequireRecreate" + "=" + inspect(this.pathsRequireRecreate));
|
|
5047
|
+
if (this.requiresUserApproval === true)
|
|
5048
|
+
parts.push("requiresUserApproval" + "=" + inspect(this.requiresUserApproval));
|
|
5049
|
+
return `${this.$type}(${parts.join(", ")})`;
|
|
5050
|
+
}
|
|
5051
|
+
function PreflightCheckNodeGroupResponseCustomJson() {
|
|
5052
|
+
const obj = {
|
|
5053
|
+
type: this.$type,
|
|
5054
|
+
};
|
|
5055
|
+
if ((this.diagnostics?.length ?? 0) !== 0)
|
|
5056
|
+
obj.diagnostics = inspectJson(this.diagnostics);
|
|
5057
|
+
if (this.pathsRequireRecreate !== "")
|
|
5058
|
+
obj.pathsRequireRecreate = inspectJson(this.pathsRequireRecreate);
|
|
5059
|
+
if (this.requiresUserApproval === true)
|
|
5060
|
+
obj.requiresUserApproval = inspectJson(this.requiresUserApproval);
|
|
5061
|
+
return obj;
|
|
5062
|
+
}
|
|
5063
|
+
function applyPreflightCheckNodeGroupResponseCustom(message) {
|
|
5064
|
+
message[custom] = PreflightCheckNodeGroupResponseCustomInspect;
|
|
5065
|
+
message[customJson] = PreflightCheckNodeGroupResponseCustomJson;
|
|
5066
|
+
return attachMessageDescriptor(message, PreflightCheckNodeGroupResponse.$descriptor);
|
|
5067
|
+
}
|
|
5068
|
+
function createBasePreflightCheckNodeGroupResponse() {
|
|
5069
|
+
const message = {
|
|
5070
|
+
$type: "nebius.mk8s.v1.PreflightCheckNodeGroupResponse",
|
|
5071
|
+
diagnostics: [],
|
|
5072
|
+
pathsRequireRecreate: "",
|
|
5073
|
+
requiresUserApproval: false,
|
|
5074
|
+
};
|
|
5075
|
+
return applyPreflightCheckNodeGroupResponseCustom(message);
|
|
5076
|
+
}
|
|
4761
5077
|
const DeleteNodeGroupRequest_MESSAGE_DESCRIPTOR = {
|
|
4762
5078
|
fields: {
|
|
4763
5079
|
"id": { pbName: "id", scalarType: 9 },
|
|
@@ -5098,6 +5414,17 @@ export const NodeGroupServiceServiceDescription = {
|
|
|
5098
5414
|
responseSerialize: (value) => Buffer.from(Operation.encode(value).finish()),
|
|
5099
5415
|
responseDeserialize: (value) => Operation.decode(value),
|
|
5100
5416
|
},
|
|
5417
|
+
preflightCheck: {
|
|
5418
|
+
path: "/nebius.mk8s.v1.NodeGroupService/PreflightCheck",
|
|
5419
|
+
requestStream: false,
|
|
5420
|
+
responseStream: false,
|
|
5421
|
+
requestSerialize: (value) => Buffer.from(PreflightCheckNodeGroupRequest.encode(value).finish()),
|
|
5422
|
+
requestDescriptor: () => PreflightCheckNodeGroupRequest.$descriptor,
|
|
5423
|
+
sendResetMask: false,
|
|
5424
|
+
requestDeserialize: (value) => PreflightCheckNodeGroupRequest.decode(value),
|
|
5425
|
+
responseSerialize: (value) => Buffer.from(PreflightCheckNodeGroupResponse.encode(value).finish()),
|
|
5426
|
+
responseDeserialize: (value) => PreflightCheckNodeGroupResponse.decode(value),
|
|
5427
|
+
},
|
|
5101
5428
|
getCompatibilityMatrix: {
|
|
5102
5429
|
path: "/nebius.mk8s.v1.NodeGroupService/GetCompatibilityMatrix",
|
|
5103
5430
|
requestStream: false,
|
|
@@ -5223,6 +5550,17 @@ export class NodeGroupService {
|
|
|
5223
5550
|
};
|
|
5224
5551
|
return new SDKRequestClass(this.sdk, spec, this.addr, deserialize, request, metadata, options);
|
|
5225
5552
|
}
|
|
5553
|
+
/**
|
|
5554
|
+
* Calls the `PreflightCheck` RPC.
|
|
5555
|
+
*/
|
|
5556
|
+
preflightCheck(...args) {
|
|
5557
|
+
const spec = this.spec.preflightCheck;
|
|
5558
|
+
const request = args[0];
|
|
5559
|
+
const metadata = (args.length > 1 ? args[1] : undefined);
|
|
5560
|
+
const options = (args.length > 2 ? args[2] : undefined);
|
|
5561
|
+
const deserialize = spec.responseDeserialize;
|
|
5562
|
+
return new SDKRequestClass(this.sdk, spec, this.addr, deserialize, request, metadata, options);
|
|
5563
|
+
}
|
|
5226
5564
|
/**
|
|
5227
5565
|
* Calls the `GetCompatibilityMatrix` RPC.
|
|
5228
5566
|
*/
|