@octelium/apis 1.0.2 → 1.0.3
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/main/corev1/corev1.d.ts +252 -0
- package/main/corev1/corev1.d.ts.map +1 -1
- package/main/corev1/corev1.js +476 -3
- package/main/corev1/corev1.js.map +1 -1
- package/main/corev1/corev1.ts +648 -3
- package/main/userv1/userv1.d.ts +4 -0
- package/main/userv1/userv1.d.ts.map +1 -1
- package/main/userv1/userv1.js +9 -1
- package/main/userv1/userv1.js.map +1 -1
- package/main/userv1/userv1.ts +13 -1
- package/package.json +1 -1
package/main/corev1/corev1.js
CHANGED
|
@@ -19746,7 +19746,8 @@ export const ClusterConfig_Spec_Authentication_Geolocation_MMDB = new ClusterCon
|
|
|
19746
19746
|
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream$Type extends MessageType {
|
|
19747
19747
|
constructor() {
|
|
19748
19748
|
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream", [
|
|
19749
|
-
{ no: 1, name: "url", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
19749
|
+
{ no: 1, name: "url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
19750
|
+
{ no: 2, name: "auth", kind: "message", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth }
|
|
19750
19751
|
]);
|
|
19751
19752
|
}
|
|
19752
19753
|
create(value) {
|
|
@@ -19764,6 +19765,9 @@ class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream$Type extends M
|
|
|
19764
19765
|
case /* string url */ 1:
|
|
19765
19766
|
message.url = reader.string();
|
|
19766
19767
|
break;
|
|
19768
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth auth */ 2:
|
|
19769
|
+
message.auth = ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth.internalBinaryRead(reader, reader.uint32(), options, message.auth);
|
|
19770
|
+
break;
|
|
19767
19771
|
default:
|
|
19768
19772
|
let u = options.readUnknownField;
|
|
19769
19773
|
if (u === "throw")
|
|
@@ -19779,6 +19783,9 @@ class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream$Type extends M
|
|
|
19779
19783
|
/* string url = 1; */
|
|
19780
19784
|
if (message.url !== "")
|
|
19781
19785
|
writer.tag(1, WireType.LengthDelimited).string(message.url);
|
|
19786
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth auth = 2; */
|
|
19787
|
+
if (message.auth)
|
|
19788
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth.internalBinaryWrite(message.auth, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
19782
19789
|
let u = options.writeUnknownFields;
|
|
19783
19790
|
if (u !== false)
|
|
19784
19791
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -19790,6 +19797,448 @@ class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream$Type extends M
|
|
|
19790
19797
|
*/
|
|
19791
19798
|
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream$Type();
|
|
19792
19799
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
19800
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth$Type extends MessageType {
|
|
19801
|
+
constructor() {
|
|
19802
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth", [
|
|
19803
|
+
{ no: 1, name: "bearer", kind: "message", oneof: "type", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer },
|
|
19804
|
+
{ no: 2, name: "basic", kind: "message", oneof: "type", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic },
|
|
19805
|
+
{ no: 3, name: "custom", kind: "message", oneof: "type", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom },
|
|
19806
|
+
{ no: 4, name: "query", kind: "message", oneof: "type", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query }
|
|
19807
|
+
]);
|
|
19808
|
+
}
|
|
19809
|
+
create(value) {
|
|
19810
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
19811
|
+
message.type = { oneofKind: undefined };
|
|
19812
|
+
if (value !== undefined)
|
|
19813
|
+
reflectionMergePartial(this, message, value);
|
|
19814
|
+
return message;
|
|
19815
|
+
}
|
|
19816
|
+
internalBinaryRead(reader, length, options, target) {
|
|
19817
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
19818
|
+
while (reader.pos < end) {
|
|
19819
|
+
let [fieldNo, wireType] = reader.tag();
|
|
19820
|
+
switch (fieldNo) {
|
|
19821
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Bearer bearer */ 1:
|
|
19822
|
+
message.type = {
|
|
19823
|
+
oneofKind: "bearer",
|
|
19824
|
+
bearer: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer.internalBinaryRead(reader, reader.uint32(), options, message.type.bearer)
|
|
19825
|
+
};
|
|
19826
|
+
break;
|
|
19827
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic basic */ 2:
|
|
19828
|
+
message.type = {
|
|
19829
|
+
oneofKind: "basic",
|
|
19830
|
+
basic: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic.internalBinaryRead(reader, reader.uint32(), options, message.type.basic)
|
|
19831
|
+
};
|
|
19832
|
+
break;
|
|
19833
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom custom */ 3:
|
|
19834
|
+
message.type = {
|
|
19835
|
+
oneofKind: "custom",
|
|
19836
|
+
custom: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom.internalBinaryRead(reader, reader.uint32(), options, message.type.custom)
|
|
19837
|
+
};
|
|
19838
|
+
break;
|
|
19839
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query query */ 4:
|
|
19840
|
+
message.type = {
|
|
19841
|
+
oneofKind: "query",
|
|
19842
|
+
query: ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query.internalBinaryRead(reader, reader.uint32(), options, message.type.query)
|
|
19843
|
+
};
|
|
19844
|
+
break;
|
|
19845
|
+
default:
|
|
19846
|
+
let u = options.readUnknownField;
|
|
19847
|
+
if (u === "throw")
|
|
19848
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
19849
|
+
let d = reader.skip(wireType);
|
|
19850
|
+
if (u !== false)
|
|
19851
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
19852
|
+
}
|
|
19853
|
+
}
|
|
19854
|
+
return message;
|
|
19855
|
+
}
|
|
19856
|
+
internalBinaryWrite(message, writer, options) {
|
|
19857
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Bearer bearer = 1; */
|
|
19858
|
+
if (message.type.oneofKind === "bearer")
|
|
19859
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer.internalBinaryWrite(message.type.bearer, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
19860
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic basic = 2; */
|
|
19861
|
+
if (message.type.oneofKind === "basic")
|
|
19862
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic.internalBinaryWrite(message.type.basic, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
19863
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom custom = 3; */
|
|
19864
|
+
if (message.type.oneofKind === "custom")
|
|
19865
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom.internalBinaryWrite(message.type.custom, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
19866
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query query = 4; */
|
|
19867
|
+
if (message.type.oneofKind === "query")
|
|
19868
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query.internalBinaryWrite(message.type.query, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
19869
|
+
let u = options.writeUnknownFields;
|
|
19870
|
+
if (u !== false)
|
|
19871
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
19872
|
+
return writer;
|
|
19873
|
+
}
|
|
19874
|
+
}
|
|
19875
|
+
/**
|
|
19876
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth
|
|
19877
|
+
*/
|
|
19878
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth$Type();
|
|
19879
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
19880
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer$Type extends MessageType {
|
|
19881
|
+
constructor() {
|
|
19882
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Bearer", [
|
|
19883
|
+
{ no: 1, name: "fromSecret", kind: "scalar", oneof: "type", T: 9 /*ScalarType.STRING*/ }
|
|
19884
|
+
]);
|
|
19885
|
+
}
|
|
19886
|
+
create(value) {
|
|
19887
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
19888
|
+
message.type = { oneofKind: undefined };
|
|
19889
|
+
if (value !== undefined)
|
|
19890
|
+
reflectionMergePartial(this, message, value);
|
|
19891
|
+
return message;
|
|
19892
|
+
}
|
|
19893
|
+
internalBinaryRead(reader, length, options, target) {
|
|
19894
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
19895
|
+
while (reader.pos < end) {
|
|
19896
|
+
let [fieldNo, wireType] = reader.tag();
|
|
19897
|
+
switch (fieldNo) {
|
|
19898
|
+
case /* string fromSecret */ 1:
|
|
19899
|
+
message.type = {
|
|
19900
|
+
oneofKind: "fromSecret",
|
|
19901
|
+
fromSecret: reader.string()
|
|
19902
|
+
};
|
|
19903
|
+
break;
|
|
19904
|
+
default:
|
|
19905
|
+
let u = options.readUnknownField;
|
|
19906
|
+
if (u === "throw")
|
|
19907
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
19908
|
+
let d = reader.skip(wireType);
|
|
19909
|
+
if (u !== false)
|
|
19910
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
19911
|
+
}
|
|
19912
|
+
}
|
|
19913
|
+
return message;
|
|
19914
|
+
}
|
|
19915
|
+
internalBinaryWrite(message, writer, options) {
|
|
19916
|
+
/* string fromSecret = 1; */
|
|
19917
|
+
if (message.type.oneofKind === "fromSecret")
|
|
19918
|
+
writer.tag(1, WireType.LengthDelimited).string(message.type.fromSecret);
|
|
19919
|
+
let u = options.writeUnknownFields;
|
|
19920
|
+
if (u !== false)
|
|
19921
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
19922
|
+
return writer;
|
|
19923
|
+
}
|
|
19924
|
+
}
|
|
19925
|
+
/**
|
|
19926
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Bearer
|
|
19927
|
+
*/
|
|
19928
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Bearer$Type();
|
|
19929
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
19930
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic$Type extends MessageType {
|
|
19931
|
+
constructor() {
|
|
19932
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic", [
|
|
19933
|
+
{ no: 1, name: "username", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
19934
|
+
{ no: 2, name: "password", kind: "message", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password }
|
|
19935
|
+
]);
|
|
19936
|
+
}
|
|
19937
|
+
create(value) {
|
|
19938
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
19939
|
+
message.username = "";
|
|
19940
|
+
if (value !== undefined)
|
|
19941
|
+
reflectionMergePartial(this, message, value);
|
|
19942
|
+
return message;
|
|
19943
|
+
}
|
|
19944
|
+
internalBinaryRead(reader, length, options, target) {
|
|
19945
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
19946
|
+
while (reader.pos < end) {
|
|
19947
|
+
let [fieldNo, wireType] = reader.tag();
|
|
19948
|
+
switch (fieldNo) {
|
|
19949
|
+
case /* string username */ 1:
|
|
19950
|
+
message.username = reader.string();
|
|
19951
|
+
break;
|
|
19952
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic.Password password */ 2:
|
|
19953
|
+
message.password = ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password.internalBinaryRead(reader, reader.uint32(), options, message.password);
|
|
19954
|
+
break;
|
|
19955
|
+
default:
|
|
19956
|
+
let u = options.readUnknownField;
|
|
19957
|
+
if (u === "throw")
|
|
19958
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
19959
|
+
let d = reader.skip(wireType);
|
|
19960
|
+
if (u !== false)
|
|
19961
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
19962
|
+
}
|
|
19963
|
+
}
|
|
19964
|
+
return message;
|
|
19965
|
+
}
|
|
19966
|
+
internalBinaryWrite(message, writer, options) {
|
|
19967
|
+
/* string username = 1; */
|
|
19968
|
+
if (message.username !== "")
|
|
19969
|
+
writer.tag(1, WireType.LengthDelimited).string(message.username);
|
|
19970
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic.Password password = 2; */
|
|
19971
|
+
if (message.password)
|
|
19972
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password.internalBinaryWrite(message.password, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
19973
|
+
let u = options.writeUnknownFields;
|
|
19974
|
+
if (u !== false)
|
|
19975
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
19976
|
+
return writer;
|
|
19977
|
+
}
|
|
19978
|
+
}
|
|
19979
|
+
/**
|
|
19980
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic
|
|
19981
|
+
*/
|
|
19982
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic$Type();
|
|
19983
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
19984
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password$Type extends MessageType {
|
|
19985
|
+
constructor() {
|
|
19986
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic.Password", [
|
|
19987
|
+
{ no: 1, name: "fromSecret", kind: "scalar", oneof: "type", T: 9 /*ScalarType.STRING*/ }
|
|
19988
|
+
]);
|
|
19989
|
+
}
|
|
19990
|
+
create(value) {
|
|
19991
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
19992
|
+
message.type = { oneofKind: undefined };
|
|
19993
|
+
if (value !== undefined)
|
|
19994
|
+
reflectionMergePartial(this, message, value);
|
|
19995
|
+
return message;
|
|
19996
|
+
}
|
|
19997
|
+
internalBinaryRead(reader, length, options, target) {
|
|
19998
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
19999
|
+
while (reader.pos < end) {
|
|
20000
|
+
let [fieldNo, wireType] = reader.tag();
|
|
20001
|
+
switch (fieldNo) {
|
|
20002
|
+
case /* string fromSecret */ 1:
|
|
20003
|
+
message.type = {
|
|
20004
|
+
oneofKind: "fromSecret",
|
|
20005
|
+
fromSecret: reader.string()
|
|
20006
|
+
};
|
|
20007
|
+
break;
|
|
20008
|
+
default:
|
|
20009
|
+
let u = options.readUnknownField;
|
|
20010
|
+
if (u === "throw")
|
|
20011
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
20012
|
+
let d = reader.skip(wireType);
|
|
20013
|
+
if (u !== false)
|
|
20014
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
20015
|
+
}
|
|
20016
|
+
}
|
|
20017
|
+
return message;
|
|
20018
|
+
}
|
|
20019
|
+
internalBinaryWrite(message, writer, options) {
|
|
20020
|
+
/* string fromSecret = 1; */
|
|
20021
|
+
if (message.type.oneofKind === "fromSecret")
|
|
20022
|
+
writer.tag(1, WireType.LengthDelimited).string(message.type.fromSecret);
|
|
20023
|
+
let u = options.writeUnknownFields;
|
|
20024
|
+
if (u !== false)
|
|
20025
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
20026
|
+
return writer;
|
|
20027
|
+
}
|
|
20028
|
+
}
|
|
20029
|
+
/**
|
|
20030
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic.Password
|
|
20031
|
+
*/
|
|
20032
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Basic_Password$Type();
|
|
20033
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
20034
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom$Type extends MessageType {
|
|
20035
|
+
constructor() {
|
|
20036
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom", [
|
|
20037
|
+
{ no: 1, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
20038
|
+
{ no: 2, name: "value", kind: "message", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value }
|
|
20039
|
+
]);
|
|
20040
|
+
}
|
|
20041
|
+
create(value) {
|
|
20042
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
20043
|
+
message.header = "";
|
|
20044
|
+
if (value !== undefined)
|
|
20045
|
+
reflectionMergePartial(this, message, value);
|
|
20046
|
+
return message;
|
|
20047
|
+
}
|
|
20048
|
+
internalBinaryRead(reader, length, options, target) {
|
|
20049
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
20050
|
+
while (reader.pos < end) {
|
|
20051
|
+
let [fieldNo, wireType] = reader.tag();
|
|
20052
|
+
switch (fieldNo) {
|
|
20053
|
+
case /* string header */ 1:
|
|
20054
|
+
message.header = reader.string();
|
|
20055
|
+
break;
|
|
20056
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom.Value value */ 2:
|
|
20057
|
+
message.value = ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value.internalBinaryRead(reader, reader.uint32(), options, message.value);
|
|
20058
|
+
break;
|
|
20059
|
+
default:
|
|
20060
|
+
let u = options.readUnknownField;
|
|
20061
|
+
if (u === "throw")
|
|
20062
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
20063
|
+
let d = reader.skip(wireType);
|
|
20064
|
+
if (u !== false)
|
|
20065
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
20066
|
+
}
|
|
20067
|
+
}
|
|
20068
|
+
return message;
|
|
20069
|
+
}
|
|
20070
|
+
internalBinaryWrite(message, writer, options) {
|
|
20071
|
+
/* string header = 1; */
|
|
20072
|
+
if (message.header !== "")
|
|
20073
|
+
writer.tag(1, WireType.LengthDelimited).string(message.header);
|
|
20074
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom.Value value = 2; */
|
|
20075
|
+
if (message.value)
|
|
20076
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value.internalBinaryWrite(message.value, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
20077
|
+
let u = options.writeUnknownFields;
|
|
20078
|
+
if (u !== false)
|
|
20079
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
20080
|
+
return writer;
|
|
20081
|
+
}
|
|
20082
|
+
}
|
|
20083
|
+
/**
|
|
20084
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom
|
|
20085
|
+
*/
|
|
20086
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom$Type();
|
|
20087
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
20088
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value$Type extends MessageType {
|
|
20089
|
+
constructor() {
|
|
20090
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom.Value", [
|
|
20091
|
+
{ no: 1, name: "fromSecret", kind: "scalar", oneof: "type", T: 9 /*ScalarType.STRING*/ }
|
|
20092
|
+
]);
|
|
20093
|
+
}
|
|
20094
|
+
create(value) {
|
|
20095
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
20096
|
+
message.type = { oneofKind: undefined };
|
|
20097
|
+
if (value !== undefined)
|
|
20098
|
+
reflectionMergePartial(this, message, value);
|
|
20099
|
+
return message;
|
|
20100
|
+
}
|
|
20101
|
+
internalBinaryRead(reader, length, options, target) {
|
|
20102
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
20103
|
+
while (reader.pos < end) {
|
|
20104
|
+
let [fieldNo, wireType] = reader.tag();
|
|
20105
|
+
switch (fieldNo) {
|
|
20106
|
+
case /* string fromSecret */ 1:
|
|
20107
|
+
message.type = {
|
|
20108
|
+
oneofKind: "fromSecret",
|
|
20109
|
+
fromSecret: reader.string()
|
|
20110
|
+
};
|
|
20111
|
+
break;
|
|
20112
|
+
default:
|
|
20113
|
+
let u = options.readUnknownField;
|
|
20114
|
+
if (u === "throw")
|
|
20115
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
20116
|
+
let d = reader.skip(wireType);
|
|
20117
|
+
if (u !== false)
|
|
20118
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
20119
|
+
}
|
|
20120
|
+
}
|
|
20121
|
+
return message;
|
|
20122
|
+
}
|
|
20123
|
+
internalBinaryWrite(message, writer, options) {
|
|
20124
|
+
/* string fromSecret = 1; */
|
|
20125
|
+
if (message.type.oneofKind === "fromSecret")
|
|
20126
|
+
writer.tag(1, WireType.LengthDelimited).string(message.type.fromSecret);
|
|
20127
|
+
let u = options.writeUnknownFields;
|
|
20128
|
+
if (u !== false)
|
|
20129
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
20130
|
+
return writer;
|
|
20131
|
+
}
|
|
20132
|
+
}
|
|
20133
|
+
/**
|
|
20134
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom.Value
|
|
20135
|
+
*/
|
|
20136
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Custom_Value$Type();
|
|
20137
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
20138
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query$Type extends MessageType {
|
|
20139
|
+
constructor() {
|
|
20140
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query", [
|
|
20141
|
+
{ no: 1, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
20142
|
+
{ no: 2, name: "value", kind: "message", T: () => ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value }
|
|
20143
|
+
]);
|
|
20144
|
+
}
|
|
20145
|
+
create(value) {
|
|
20146
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
20147
|
+
message.key = "";
|
|
20148
|
+
if (value !== undefined)
|
|
20149
|
+
reflectionMergePartial(this, message, value);
|
|
20150
|
+
return message;
|
|
20151
|
+
}
|
|
20152
|
+
internalBinaryRead(reader, length, options, target) {
|
|
20153
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
20154
|
+
while (reader.pos < end) {
|
|
20155
|
+
let [fieldNo, wireType] = reader.tag();
|
|
20156
|
+
switch (fieldNo) {
|
|
20157
|
+
case /* string key */ 1:
|
|
20158
|
+
message.key = reader.string();
|
|
20159
|
+
break;
|
|
20160
|
+
case /* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query.Value value */ 2:
|
|
20161
|
+
message.value = ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value.internalBinaryRead(reader, reader.uint32(), options, message.value);
|
|
20162
|
+
break;
|
|
20163
|
+
default:
|
|
20164
|
+
let u = options.readUnknownField;
|
|
20165
|
+
if (u === "throw")
|
|
20166
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
20167
|
+
let d = reader.skip(wireType);
|
|
20168
|
+
if (u !== false)
|
|
20169
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
20170
|
+
}
|
|
20171
|
+
}
|
|
20172
|
+
return message;
|
|
20173
|
+
}
|
|
20174
|
+
internalBinaryWrite(message, writer, options) {
|
|
20175
|
+
/* string key = 1; */
|
|
20176
|
+
if (message.key !== "")
|
|
20177
|
+
writer.tag(1, WireType.LengthDelimited).string(message.key);
|
|
20178
|
+
/* octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query.Value value = 2; */
|
|
20179
|
+
if (message.value)
|
|
20180
|
+
ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value.internalBinaryWrite(message.value, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
20181
|
+
let u = options.writeUnknownFields;
|
|
20182
|
+
if (u !== false)
|
|
20183
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
20184
|
+
return writer;
|
|
20185
|
+
}
|
|
20186
|
+
}
|
|
20187
|
+
/**
|
|
20188
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query
|
|
20189
|
+
*/
|
|
20190
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query$Type();
|
|
20191
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
20192
|
+
class ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value$Type extends MessageType {
|
|
20193
|
+
constructor() {
|
|
20194
|
+
super("octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query.Value", [
|
|
20195
|
+
{ no: 1, name: "fromSecret", kind: "scalar", oneof: "type", T: 9 /*ScalarType.STRING*/ }
|
|
20196
|
+
]);
|
|
20197
|
+
}
|
|
20198
|
+
create(value) {
|
|
20199
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
20200
|
+
message.type = { oneofKind: undefined };
|
|
20201
|
+
if (value !== undefined)
|
|
20202
|
+
reflectionMergePartial(this, message, value);
|
|
20203
|
+
return message;
|
|
20204
|
+
}
|
|
20205
|
+
internalBinaryRead(reader, length, options, target) {
|
|
20206
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
20207
|
+
while (reader.pos < end) {
|
|
20208
|
+
let [fieldNo, wireType] = reader.tag();
|
|
20209
|
+
switch (fieldNo) {
|
|
20210
|
+
case /* string fromSecret */ 1:
|
|
20211
|
+
message.type = {
|
|
20212
|
+
oneofKind: "fromSecret",
|
|
20213
|
+
fromSecret: reader.string()
|
|
20214
|
+
};
|
|
20215
|
+
break;
|
|
20216
|
+
default:
|
|
20217
|
+
let u = options.readUnknownField;
|
|
20218
|
+
if (u === "throw")
|
|
20219
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
20220
|
+
let d = reader.skip(wireType);
|
|
20221
|
+
if (u !== false)
|
|
20222
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
20223
|
+
}
|
|
20224
|
+
}
|
|
20225
|
+
return message;
|
|
20226
|
+
}
|
|
20227
|
+
internalBinaryWrite(message, writer, options) {
|
|
20228
|
+
/* string fromSecret = 1; */
|
|
20229
|
+
if (message.type.oneofKind === "fromSecret")
|
|
20230
|
+
writer.tag(1, WireType.LengthDelimited).string(message.type.fromSecret);
|
|
20231
|
+
let u = options.writeUnknownFields;
|
|
20232
|
+
if (u !== false)
|
|
20233
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
20234
|
+
return writer;
|
|
20235
|
+
}
|
|
20236
|
+
}
|
|
20237
|
+
/**
|
|
20238
|
+
* @generated MessageType for protobuf message octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query.Value
|
|
20239
|
+
*/
|
|
20240
|
+
export const ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value = new ClusterConfig_Spec_Authentication_Geolocation_MMDB_Upstream_Auth_Query_Value$Type();
|
|
20241
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
19793
20242
|
class ClusterConfig_Status$Type extends MessageType {
|
|
19794
20243
|
constructor() {
|
|
19795
20244
|
super("octelium.api.main.core.v1.ClusterConfig.Status", [
|
|
@@ -19936,12 +20385,16 @@ export const ClusterConfig_Status_NetworkConfig = new ClusterConfig_Status_Netwo
|
|
|
19936
20385
|
class ClusterConfig_Status_NetworkConfig_V4$Type extends MessageType {
|
|
19937
20386
|
constructor() {
|
|
19938
20387
|
super("octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.V4", [
|
|
19939
|
-
{ no: 1, name: "clusterNetwork", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
20388
|
+
{ no: 1, name: "clusterNetwork", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
20389
|
+
{ no: 2, name: "gatewayBits", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
20390
|
+
{ no: 3, name: "regionBits", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
|
|
19940
20391
|
]);
|
|
19941
20392
|
}
|
|
19942
20393
|
create(value) {
|
|
19943
20394
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
19944
20395
|
message.clusterNetwork = "";
|
|
20396
|
+
message.gatewayBits = 0;
|
|
20397
|
+
message.regionBits = 0;
|
|
19945
20398
|
if (value !== undefined)
|
|
19946
20399
|
reflectionMergePartial(this, message, value);
|
|
19947
20400
|
return message;
|
|
@@ -19954,6 +20407,12 @@ class ClusterConfig_Status_NetworkConfig_V4$Type extends MessageType {
|
|
|
19954
20407
|
case /* string clusterNetwork */ 1:
|
|
19955
20408
|
message.clusterNetwork = reader.string();
|
|
19956
20409
|
break;
|
|
20410
|
+
case /* uint32 gatewayBits */ 2:
|
|
20411
|
+
message.gatewayBits = reader.uint32();
|
|
20412
|
+
break;
|
|
20413
|
+
case /* uint32 regionBits */ 3:
|
|
20414
|
+
message.regionBits = reader.uint32();
|
|
20415
|
+
break;
|
|
19957
20416
|
default:
|
|
19958
20417
|
let u = options.readUnknownField;
|
|
19959
20418
|
if (u === "throw")
|
|
@@ -19969,6 +20428,12 @@ class ClusterConfig_Status_NetworkConfig_V4$Type extends MessageType {
|
|
|
19969
20428
|
/* string clusterNetwork = 1; */
|
|
19970
20429
|
if (message.clusterNetwork !== "")
|
|
19971
20430
|
writer.tag(1, WireType.LengthDelimited).string(message.clusterNetwork);
|
|
20431
|
+
/* uint32 gatewayBits = 2; */
|
|
20432
|
+
if (message.gatewayBits !== 0)
|
|
20433
|
+
writer.tag(2, WireType.Varint).uint32(message.gatewayBits);
|
|
20434
|
+
/* uint32 regionBits = 3; */
|
|
20435
|
+
if (message.regionBits !== 0)
|
|
20436
|
+
writer.tag(3, WireType.Varint).uint32(message.regionBits);
|
|
19972
20437
|
let u = options.writeUnknownFields;
|
|
19973
20438
|
if (u !== false)
|
|
19974
20439
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -22375,7 +22840,8 @@ class Authenticator_Status_Info_FIDO$Type extends MessageType {
|
|
|
22375
22840
|
{ no: 7, name: "backupEligible", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
22376
22841
|
{ no: 8, name: "isAttestationVerified", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
22377
22842
|
{ no: 9, name: "isSoftware", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
22378
|
-
{ no: 10, name: "isHardware", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
22843
|
+
{ no: 10, name: "isHardware", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
22844
|
+
{ no: 11, name: "signCount", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
|
|
22379
22845
|
]);
|
|
22380
22846
|
}
|
|
22381
22847
|
create(value) {
|
|
@@ -22390,6 +22856,7 @@ class Authenticator_Status_Info_FIDO$Type extends MessageType {
|
|
|
22390
22856
|
message.isAttestationVerified = false;
|
|
22391
22857
|
message.isSoftware = false;
|
|
22392
22858
|
message.isHardware = false;
|
|
22859
|
+
message.signCount = 0;
|
|
22393
22860
|
if (value !== undefined)
|
|
22394
22861
|
reflectionMergePartial(this, message, value);
|
|
22395
22862
|
return message;
|
|
@@ -22429,6 +22896,9 @@ class Authenticator_Status_Info_FIDO$Type extends MessageType {
|
|
|
22429
22896
|
case /* bool isHardware */ 10:
|
|
22430
22897
|
message.isHardware = reader.bool();
|
|
22431
22898
|
break;
|
|
22899
|
+
case /* uint32 signCount */ 11:
|
|
22900
|
+
message.signCount = reader.uint32();
|
|
22901
|
+
break;
|
|
22432
22902
|
default:
|
|
22433
22903
|
let u = options.readUnknownField;
|
|
22434
22904
|
if (u === "throw")
|
|
@@ -22471,6 +22941,9 @@ class Authenticator_Status_Info_FIDO$Type extends MessageType {
|
|
|
22471
22941
|
/* bool isHardware = 10; */
|
|
22472
22942
|
if (message.isHardware !== false)
|
|
22473
22943
|
writer.tag(10, WireType.Varint).bool(message.isHardware);
|
|
22944
|
+
/* uint32 signCount = 11; */
|
|
22945
|
+
if (message.signCount !== 0)
|
|
22946
|
+
writer.tag(11, WireType.Varint).uint32(message.signCount);
|
|
22474
22947
|
let u = options.writeUnknownFields;
|
|
22475
22948
|
if (u !== false)
|
|
22476
22949
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|