|
@@ -1037,10 +1037,14 @@ func (target *Container) MarshalBinaryWithContext(ctx *EncodingContext) (err err
|
|
|
}
|
|
}
|
|
|
// --- [end][write][alias](ResourceQuantities) ---
|
|
// --- [end][write][alias](ResourceQuantities) ---
|
|
|
|
|
|
|
|
|
|
+ buff.WriteFloat64(target.CPUCoresAllocated) // write float64
|
|
|
|
|
+
|
|
|
buff.WriteFloat64(target.CPUCoreUsageAvg) // write float64
|
|
buff.WriteFloat64(target.CPUCoreUsageAvg) // write float64
|
|
|
|
|
|
|
|
buff.WriteFloat64(target.CPUCoreUsageMax) // write float64
|
|
buff.WriteFloat64(target.CPUCoreUsageMax) // write float64
|
|
|
|
|
|
|
|
|
|
+ buff.WriteFloat64(target.RAMBytesAllocated) // write float64
|
|
|
|
|
+
|
|
|
buff.WriteFloat64(target.RAMBytesUsageAvg) // write float64
|
|
buff.WriteFloat64(target.RAMBytesUsageAvg) // write float64
|
|
|
|
|
|
|
|
buff.WriteFloat64(target.RAMBytesUsageMax) // write float64
|
|
buff.WriteFloat64(target.RAMBytesUsageMax) // write float64
|
|
@@ -1226,37 +1230,43 @@ func (target *Container) UnmarshalBinaryWithContext(ctx *DecodingContext) (err e
|
|
|
// --- [end][read][alias](ResourceQuantities) ---
|
|
// --- [end][read][alias](ResourceQuantities) ---
|
|
|
|
|
|
|
|
bb := buff.ReadFloat64() // read float64
|
|
bb := buff.ReadFloat64() // read float64
|
|
|
- target.CPUCoreUsageAvg = bb
|
|
|
|
|
|
|
+ target.CPUCoresAllocated = bb
|
|
|
|
|
|
|
|
cc := buff.ReadFloat64() // read float64
|
|
cc := buff.ReadFloat64() // read float64
|
|
|
- target.CPUCoreUsageMax = cc
|
|
|
|
|
|
|
+ target.CPUCoreUsageAvg = cc
|
|
|
|
|
|
|
|
dd := buff.ReadFloat64() // read float64
|
|
dd := buff.ReadFloat64() // read float64
|
|
|
- target.RAMBytesUsageAvg = dd
|
|
|
|
|
|
|
+ target.CPUCoreUsageMax = dd
|
|
|
|
|
|
|
|
ee := buff.ReadFloat64() // read float64
|
|
ee := buff.ReadFloat64() // read float64
|
|
|
- target.RAMBytesUsageMax = ee
|
|
|
|
|
|
|
+ target.RAMBytesAllocated = ee
|
|
|
|
|
+
|
|
|
|
|
+ ff := buff.ReadFloat64() // read float64
|
|
|
|
|
+ target.RAMBytesUsageAvg = ff
|
|
|
|
|
+
|
|
|
|
|
+ gg := buff.ReadFloat64() // read float64
|
|
|
|
|
+ target.RAMBytesUsageMax = gg
|
|
|
|
|
|
|
|
// --- [begin][read][reference](time.Time) ---
|
|
// --- [begin][read][reference](time.Time) ---
|
|
|
- ff := new(time.Time)
|
|
|
|
|
- gg := buff.ReadInt() // byte array length
|
|
|
|
|
- hh := buff.ReadBytes(gg)
|
|
|
|
|
- errC := ff.UnmarshalBinary(hh)
|
|
|
|
|
|
|
+ hh := new(time.Time)
|
|
|
|
|
+ ll := buff.ReadInt() // byte array length
|
|
|
|
|
+ mm := buff.ReadBytes(ll)
|
|
|
|
|
+ errC := hh.UnmarshalBinary(mm)
|
|
|
if errC != nil {
|
|
if errC != nil {
|
|
|
return errC
|
|
return errC
|
|
|
}
|
|
}
|
|
|
- target.Start = *ff
|
|
|
|
|
|
|
+ target.Start = *hh
|
|
|
// --- [end][read][reference](time.Time) ---
|
|
// --- [end][read][reference](time.Time) ---
|
|
|
|
|
|
|
|
// --- [begin][read][reference](time.Time) ---
|
|
// --- [begin][read][reference](time.Time) ---
|
|
|
- ll := new(time.Time)
|
|
|
|
|
- mm := buff.ReadInt() // byte array length
|
|
|
|
|
- nn := buff.ReadBytes(mm)
|
|
|
|
|
- errD := ll.UnmarshalBinary(nn)
|
|
|
|
|
|
|
+ nn := new(time.Time)
|
|
|
|
|
+ oo := buff.ReadInt() // byte array length
|
|
|
|
|
+ pp := buff.ReadBytes(oo)
|
|
|
|
|
+ errD := nn.UnmarshalBinary(pp)
|
|
|
if errD != nil {
|
|
if errD != nil {
|
|
|
return errD
|
|
return errD
|
|
|
}
|
|
}
|
|
|
- target.End = *ll
|
|
|
|
|
|
|
+ target.End = *nn
|
|
|
// --- [end][read][reference](time.Time) ---
|
|
// --- [end][read][reference](time.Time) ---
|
|
|
|
|
|
|
|
return nil
|
|
return nil
|
|
@@ -4225,6 +4235,7 @@ func (target *KubeModelSet) UnmarshalBinaryWithContext(ctx *DecodingContext) (er
|
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
|
zzz = nil
|
|
zzz = nil
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+
|
|
|
// --- [begin][read][struct](Container) ---
|
|
// --- [begin][read][struct](Container) ---
|
|
|
y := new(Container)
|
|
y := new(Container)
|
|
|
buff.ReadInt() // [compatibility, unused]
|
|
buff.ReadInt() // [compatibility, unused]
|
|
@@ -4362,6 +4373,7 @@ func (target *KubeModelSet) UnmarshalBinaryWithContext(ctx *DecodingContext) (er
|
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
|
zzzzzz = nil
|
|
zzzzzz = nil
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+
|
|
|
// --- [begin][read][struct](DaemonSet) ---
|
|
// --- [begin][read][struct](DaemonSet) ---
|
|
|
uu := new(DaemonSet)
|
|
uu := new(DaemonSet)
|
|
|
buff.ReadInt() // [compatibility, unused]
|
|
buff.ReadInt() // [compatibility, unused]
|
|
@@ -4683,6 +4695,7 @@ func (target *KubeModelSet) UnmarshalBinaryWithContext(ctx *DecodingContext) (er
|
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
|
zzzzzzzzzzzzz = nil
|
|
zzzzzzzzzzzzz = nil
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+
|
|
|
// --- [begin][read][struct](Service) ---
|
|
// --- [begin][read][struct](Service) ---
|
|
|
uuuu := new(Service)
|
|
uuuu := new(Service)
|
|
|
buff.ReadInt() // [compatibility, unused]
|
|
buff.ReadInt() // [compatibility, unused]
|
|
@@ -5102,6 +5115,7 @@ func (stream *KubeModelSetStream) Stream() iter.Seq2[BingenFieldInfo, *BingenVal
|
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
|
zzz = nil
|
|
zzz = nil
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+
|
|
|
// --- [begin][read][struct](Container) ---
|
|
// --- [begin][read][struct](Container) ---
|
|
|
y := new(Container)
|
|
y := new(Container)
|
|
|
buff.ReadInt() // [compatibility, unused]
|
|
buff.ReadInt() // [compatibility, unused]
|
|
@@ -5281,6 +5295,7 @@ func (stream *KubeModelSetStream) Stream() iter.Seq2[BingenFieldInfo, *BingenVal
|
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
|
zzzzzz = nil
|
|
zzzzzz = nil
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+
|
|
|
// --- [begin][read][struct](DaemonSet) ---
|
|
// --- [begin][read][struct](DaemonSet) ---
|
|
|
rr := new(DaemonSet)
|
|
rr := new(DaemonSet)
|
|
|
buff.ReadInt() // [compatibility, unused]
|
|
buff.ReadInt() // [compatibility, unused]
|
|
@@ -5700,6 +5715,7 @@ func (stream *KubeModelSetStream) Stream() iter.Seq2[BingenFieldInfo, *BingenVal
|
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
|
zzzzzzzzzzzzz = nil
|
|
zzzzzzzzzzzzz = nil
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+
|
|
|
// --- [begin][read][struct](Service) ---
|
|
// --- [begin][read][struct](Service) ---
|
|
|
hhhh := new(Service)
|
|
hhhh := new(Service)
|
|
|
buff.ReadInt() // [compatibility, unused]
|
|
buff.ReadInt() // [compatibility, unused]
|
|
@@ -5919,7 +5935,6 @@ func (target *Metadata) MarshalBinaryWithContext(ctx *EncodingContext) (err erro
|
|
|
// --- [begin][write][slice]([]Diagnostic) ---
|
|
// --- [begin][write][slice]([]Diagnostic) ---
|
|
|
buff.WriteInt(len(target.Diagnostics)) // slice length
|
|
buff.WriteInt(len(target.Diagnostics)) // slice length
|
|
|
for i := range target.Diagnostics {
|
|
for i := range target.Diagnostics {
|
|
|
-
|
|
|
|
|
// --- [begin][write][struct](Diagnostic) ---
|
|
// --- [begin][write][struct](Diagnostic) ---
|
|
|
buff.WriteInt(0) // [compatibility, unused]
|
|
buff.WriteInt(0) // [compatibility, unused]
|
|
|
errC := target.Diagnostics[i].MarshalBinaryWithContext(ctx)
|
|
errC := target.Diagnostics[i].MarshalBinaryWithContext(ctx)
|
|
@@ -6043,7 +6058,6 @@ func (target *Metadata) UnmarshalBinaryWithContext(ctx *DecodingContext) (err er
|
|
|
l := buff.ReadInt() // slice len
|
|
l := buff.ReadInt() // slice len
|
|
|
h := make([]Diagnostic, l)
|
|
h := make([]Diagnostic, l)
|
|
|
for i := range l {
|
|
for i := range l {
|
|
|
-
|
|
|
|
|
// --- [begin][read][struct](Diagnostic) ---
|
|
// --- [begin][read][struct](Diagnostic) ---
|
|
|
n := new(Diagnostic)
|
|
n := new(Diagnostic)
|
|
|
buff.ReadInt() // [compatibility, unused]
|
|
buff.ReadInt() // [compatibility, unused]
|
|
@@ -6066,7 +6080,6 @@ func (target *Metadata) UnmarshalBinaryWithContext(ctx *DecodingContext) (err er
|
|
|
}
|
|
}
|
|
|
// field version check
|
|
// field version check
|
|
|
if uint8(1) <= version {
|
|
if uint8(1) <= version {
|
|
|
-
|
|
|
|
|
// --- [begin][read][alias](DiagnosticLevel) ---
|
|
// --- [begin][read][alias](DiagnosticLevel) ---
|
|
|
var o int
|
|
var o int
|
|
|
p := buff.ReadInt() // read int
|
|
p := buff.ReadInt() // read int
|
|
@@ -7832,6 +7845,7 @@ func (target *Pod) MarshalBinaryWithContext(ctx *EncodingContext) (err error) {
|
|
|
// --- [begin][write][slice]([]NetworkTrafficDetail) ---
|
|
// --- [begin][write][slice]([]NetworkTrafficDetail) ---
|
|
|
buff.WriteInt(len(target.NetworkTrafficDetails)) // slice length
|
|
buff.WriteInt(len(target.NetworkTrafficDetails)) // slice length
|
|
|
for ii := range target.NetworkTrafficDetails {
|
|
for ii := range target.NetworkTrafficDetails {
|
|
|
|
|
+
|
|
|
// --- [begin][write][struct](NetworkTrafficDetail) ---
|
|
// --- [begin][write][struct](NetworkTrafficDetail) ---
|
|
|
buff.WriteInt(0) // [compatibility, unused]
|
|
buff.WriteInt(0) // [compatibility, unused]
|
|
|
errC := target.NetworkTrafficDetails[ii].MarshalBinaryWithContext(ctx)
|
|
errC := target.NetworkTrafficDetails[ii].MarshalBinaryWithContext(ctx)
|
|
@@ -8085,6 +8099,7 @@ func (target *Pod) UnmarshalBinaryWithContext(ctx *DecodingContext) (err error)
|
|
|
tt := buff.ReadInt() // slice len
|
|
tt := buff.ReadInt() // slice len
|
|
|
ss := make([]NetworkTrafficDetail, tt)
|
|
ss := make([]NetworkTrafficDetail, tt)
|
|
|
for ii := range tt {
|
|
for ii := range tt {
|
|
|
|
|
+
|
|
|
// --- [begin][read][struct](NetworkTrafficDetail) ---
|
|
// --- [begin][read][struct](NetworkTrafficDetail) ---
|
|
|
ww := new(NetworkTrafficDetail)
|
|
ww := new(NetworkTrafficDetail)
|
|
|
buff.ReadInt() // [compatibility, unused]
|
|
buff.ReadInt() // [compatibility, unused]
|
|
@@ -8799,7 +8814,6 @@ func (target *ResourceQuantity) UnmarshalBinaryWithContext(ctx *DecodingContext)
|
|
|
}
|
|
}
|
|
|
// field version check
|
|
// field version check
|
|
|
if uint8(1) <= version {
|
|
if uint8(1) <= version {
|
|
|
-
|
|
|
|
|
// --- [begin][read][alias](Stats) ---
|
|
// --- [begin][read][alias](Stats) ---
|
|
|
var l map[StatType]float64
|
|
var l map[StatType]float64
|
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
@@ -9428,6 +9442,7 @@ func (target *ResourceQuotaSpecHard) UnmarshalBinaryWithContext(ctx *DecodingCon
|
|
|
|
|
|
|
|
// field version check
|
|
// field version check
|
|
|
if uint8(1) <= version {
|
|
if uint8(1) <= version {
|
|
|
|
|
+
|
|
|
// --- [begin][read][alias](ResourceQuantities) ---
|
|
// --- [begin][read][alias](ResourceQuantities) ---
|
|
|
var a map[Resource]ResourceQuantity
|
|
var a map[Resource]ResourceQuantity
|
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
@@ -9476,6 +9491,7 @@ func (target *ResourceQuotaSpecHard) UnmarshalBinaryWithContext(ctx *DecodingCon
|
|
|
}
|
|
}
|
|
|
// field version check
|
|
// field version check
|
|
|
if uint8(1) <= version {
|
|
if uint8(1) <= version {
|
|
|
|
|
+
|
|
|
// --- [begin][read][alias](ResourceQuantities) ---
|
|
// --- [begin][read][alias](ResourceQuantities) ---
|
|
|
var l map[Resource]ResourceQuantity
|
|
var l map[Resource]ResourceQuantity
|
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
@@ -9822,6 +9838,7 @@ func (target *ResourceQuotaStatusUsed) UnmarshalBinaryWithContext(ctx *DecodingC
|
|
|
|
|
|
|
|
// field version check
|
|
// field version check
|
|
|
if uint8(1) <= version {
|
|
if uint8(1) <= version {
|
|
|
|
|
+
|
|
|
// --- [begin][read][alias](ResourceQuantities) ---
|
|
// --- [begin][read][alias](ResourceQuantities) ---
|
|
|
var a map[Resource]ResourceQuantity
|
|
var a map[Resource]ResourceQuantity
|
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
@@ -9870,6 +9887,7 @@ func (target *ResourceQuotaStatusUsed) UnmarshalBinaryWithContext(ctx *DecodingC
|
|
|
}
|
|
}
|
|
|
// field version check
|
|
// field version check
|
|
|
if uint8(1) <= version {
|
|
if uint8(1) <= version {
|
|
|
|
|
+
|
|
|
// --- [begin][read][alias](ResourceQuantities) ---
|
|
// --- [begin][read][alias](ResourceQuantities) ---
|
|
|
var l map[Resource]ResourceQuantity
|
|
var l map[Resource]ResourceQuantity
|
|
|
if buff.ReadUInt8() == uint8(0) {
|
|
if buff.ReadUInt8() == uint8(0) {
|