mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
Update generated files
This commit is contained in:
parent
59dfbe44f7
commit
2741eb7fdb
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -41,7 +41,6 @@ go_library(
|
|||||||
"//vendor:github.com/gogo/protobuf/proto",
|
"//vendor:github.com/gogo/protobuf/proto",
|
||||||
"//vendor:github.com/gogo/protobuf/sortkeys",
|
"//vendor:github.com/gogo/protobuf/sortkeys",
|
||||||
"//vendor:github.com/google/gofuzz",
|
"//vendor:github.com/google/gofuzz",
|
||||||
"//vendor:github.com/ugorji/go/codec",
|
|
||||||
"//vendor:k8s.io/apimachinery/pkg/conversion",
|
"//vendor:k8s.io/apimachinery/pkg/conversion",
|
||||||
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
||||||
],
|
],
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -168,14 +168,14 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy11 := &x.ObjectMeta
|
yy12 := &x.ObjectMeta
|
||||||
yy11.CodecEncodeSelf(e)
|
yy12.CodecEncodeSelf(e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
yym13 := z.EncBinary()
|
yym15 := z.EncBinary()
|
||||||
_ = yym13
|
_ = yym15
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner))
|
r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner))
|
||||||
@ -184,8 +184,8 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("provisioner"))
|
r.EncodeString(codecSelferC_UTF81234, string("provisioner"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yym14 := z.EncBinary()
|
yym16 := z.EncBinary()
|
||||||
_ = yym14
|
_ = yym16
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner))
|
r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner))
|
||||||
@ -197,8 +197,8 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.Parameters == nil {
|
if x.Parameters == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym16 := z.EncBinary()
|
yym18 := z.EncBinary()
|
||||||
_ = yym16
|
_ = yym18
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncMapStringStringV(x.Parameters, false, e)
|
z.F.EncMapStringStringV(x.Parameters, false, e)
|
||||||
@ -215,8 +215,8 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.Parameters == nil {
|
if x.Parameters == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym17 := z.EncBinary()
|
yym19 := z.EncBinary()
|
||||||
_ = yym17
|
_ = yym19
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncMapStringStringV(x.Parameters, false, e)
|
z.F.EncMapStringStringV(x.Parameters, false, e)
|
||||||
@ -237,25 +237,25 @@ func (x *StorageClass) CodecDecodeSelf(d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
yym18 := z.DecBinary()
|
yym1 := z.DecBinary()
|
||||||
_ = yym18
|
_ = yym1
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.DecExt(x) {
|
} else if z.HasExtensions() && z.DecExt(x) {
|
||||||
} else {
|
} else {
|
||||||
yyct19 := r.ContainerType()
|
yyct2 := r.ContainerType()
|
||||||
if yyct19 == codecSelferValueTypeMap1234 {
|
if yyct2 == codecSelferValueTypeMap1234 {
|
||||||
yyl19 := r.ReadMapStart()
|
yyl2 := r.ReadMapStart()
|
||||||
if yyl19 == 0 {
|
if yyl2 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromMap(yyl19, d)
|
x.codecDecodeSelfFromMap(yyl2, d)
|
||||||
}
|
}
|
||||||
} else if yyct19 == codecSelferValueTypeArray1234 {
|
} else if yyct2 == codecSelferValueTypeArray1234 {
|
||||||
yyl19 := r.ReadArrayStart()
|
yyl2 := r.ReadArrayStart()
|
||||||
if yyl19 == 0 {
|
if yyl2 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromArray(yyl19, d)
|
x.codecDecodeSelfFromArray(yyl2, d)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
||||||
@ -267,12 +267,12 @@ func (x *StorageClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yys20Slc = z.DecScratchBuffer() // default slice to decode into
|
var yys3Slc = z.DecScratchBuffer() // default slice to decode into
|
||||||
_ = yys20Slc
|
_ = yys3Slc
|
||||||
var yyhl20 bool = l >= 0
|
var yyhl3 bool = l >= 0
|
||||||
for yyj20 := 0; ; yyj20++ {
|
for yyj3 := 0; ; yyj3++ {
|
||||||
if yyhl20 {
|
if yyhl3 {
|
||||||
if yyj20 >= l {
|
if yyj3 >= l {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -281,51 +281,69 @@ func (x *StorageClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
yys20Slc = r.DecodeBytes(yys20Slc, true, true)
|
yys3Slc = r.DecodeBytes(yys3Slc, true, true)
|
||||||
yys20 := string(yys20Slc)
|
yys3 := string(yys3Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys20 {
|
switch yys3 {
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
x.Kind = string(r.DecodeString())
|
yyv4 := &x.Kind
|
||||||
|
yym5 := z.DecBinary()
|
||||||
|
_ = yym5
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv4)) = r.DecodeString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case "apiVersion":
|
case "apiVersion":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.APIVersion = ""
|
x.APIVersion = ""
|
||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
yyv6 := &x.APIVersion
|
||||||
|
yym7 := z.DecBinary()
|
||||||
|
_ = yym7
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv6)) = r.DecodeString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case "metadata":
|
case "metadata":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv23 := &x.ObjectMeta
|
yyv8 := &x.ObjectMeta
|
||||||
yyv23.CodecDecodeSelf(d)
|
yyv8.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
case "provisioner":
|
case "provisioner":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Provisioner = ""
|
x.Provisioner = ""
|
||||||
} else {
|
} else {
|
||||||
x.Provisioner = string(r.DecodeString())
|
yyv9 := &x.Provisioner
|
||||||
|
yym10 := z.DecBinary()
|
||||||
|
_ = yym10
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv9)) = r.DecodeString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case "parameters":
|
case "parameters":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Parameters = nil
|
x.Parameters = nil
|
||||||
} else {
|
} else {
|
||||||
yyv25 := &x.Parameters
|
yyv11 := &x.Parameters
|
||||||
yym26 := z.DecBinary()
|
yym12 := z.DecBinary()
|
||||||
_ = yym26
|
_ = yym12
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecMapStringStringX(yyv25, false, d)
|
z.F.DecMapStringStringX(yyv11, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys20)
|
z.DecStructFieldNotFound(-1, yys3)
|
||||||
} // end switch yys20
|
} // end switch yys3
|
||||||
} // end for yyj20
|
} // end for yyj3
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -333,16 +351,16 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yyj27 int
|
var yyj13 int
|
||||||
var yyb27 bool
|
var yyb13 bool
|
||||||
var yyhl27 bool = l >= 0
|
var yyhl13 bool = l >= 0
|
||||||
yyj27++
|
yyj13++
|
||||||
if yyhl27 {
|
if yyhl13 {
|
||||||
yyb27 = yyj27 > l
|
yyb13 = yyj13 > l
|
||||||
} else {
|
} else {
|
||||||
yyb27 = r.CheckBreak()
|
yyb13 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb27 {
|
if yyb13 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -350,15 +368,21 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
x.Kind = string(r.DecodeString())
|
yyv14 := &x.Kind
|
||||||
}
|
yym15 := z.DecBinary()
|
||||||
yyj27++
|
_ = yym15
|
||||||
if yyhl27 {
|
if false {
|
||||||
yyb27 = yyj27 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb27 = r.CheckBreak()
|
*((*string)(yyv14)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
if yyb27 {
|
}
|
||||||
|
yyj13++
|
||||||
|
if yyhl13 {
|
||||||
|
yyb13 = yyj13 > l
|
||||||
|
} else {
|
||||||
|
yyb13 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb13 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -366,15 +390,21 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.APIVersion = ""
|
x.APIVersion = ""
|
||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
yyv16 := &x.APIVersion
|
||||||
}
|
yym17 := z.DecBinary()
|
||||||
yyj27++
|
_ = yym17
|
||||||
if yyhl27 {
|
if false {
|
||||||
yyb27 = yyj27 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb27 = r.CheckBreak()
|
*((*string)(yyv16)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
if yyb27 {
|
}
|
||||||
|
yyj13++
|
||||||
|
if yyhl13 {
|
||||||
|
yyb13 = yyj13 > l
|
||||||
|
} else {
|
||||||
|
yyb13 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb13 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -382,16 +412,16 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv30 := &x.ObjectMeta
|
yyv18 := &x.ObjectMeta
|
||||||
yyv30.CodecDecodeSelf(d)
|
yyv18.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
yyj27++
|
yyj13++
|
||||||
if yyhl27 {
|
if yyhl13 {
|
||||||
yyb27 = yyj27 > l
|
yyb13 = yyj13 > l
|
||||||
} else {
|
} else {
|
||||||
yyb27 = r.CheckBreak()
|
yyb13 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb27 {
|
if yyb13 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -399,15 +429,21 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Provisioner = ""
|
x.Provisioner = ""
|
||||||
} else {
|
} else {
|
||||||
x.Provisioner = string(r.DecodeString())
|
yyv19 := &x.Provisioner
|
||||||
}
|
yym20 := z.DecBinary()
|
||||||
yyj27++
|
_ = yym20
|
||||||
if yyhl27 {
|
if false {
|
||||||
yyb27 = yyj27 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb27 = r.CheckBreak()
|
*((*string)(yyv19)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
if yyb27 {
|
}
|
||||||
|
yyj13++
|
||||||
|
if yyhl13 {
|
||||||
|
yyb13 = yyj13 > l
|
||||||
|
} else {
|
||||||
|
yyb13 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb13 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -415,26 +451,26 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Parameters = nil
|
x.Parameters = nil
|
||||||
} else {
|
} else {
|
||||||
yyv32 := &x.Parameters
|
yyv21 := &x.Parameters
|
||||||
yym33 := z.DecBinary()
|
yym22 := z.DecBinary()
|
||||||
_ = yym33
|
_ = yym22
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecMapStringStringX(yyv32, false, d)
|
z.F.DecMapStringStringX(yyv21, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for {
|
for {
|
||||||
yyj27++
|
yyj13++
|
||||||
if yyhl27 {
|
if yyhl13 {
|
||||||
yyb27 = yyj27 > l
|
yyb13 = yyj13 > l
|
||||||
} else {
|
} else {
|
||||||
yyb27 = r.CheckBreak()
|
yyb13 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb27 {
|
if yyb13 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
z.DecStructFieldNotFound(yyj27-1, "")
|
z.DecStructFieldNotFound(yyj13-1, "")
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
}
|
}
|
||||||
@ -446,37 +482,37 @@ func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x == nil {
|
if x == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym34 := z.EncBinary()
|
yym1 := z.EncBinary()
|
||||||
_ = yym34
|
_ = yym1
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.EncExt(x) {
|
} else if z.HasExtensions() && z.EncExt(x) {
|
||||||
} else {
|
} else {
|
||||||
yysep35 := !z.EncBinary()
|
yysep2 := !z.EncBinary()
|
||||||
yy2arr35 := z.EncBasicHandle().StructToArray
|
yy2arr2 := z.EncBasicHandle().StructToArray
|
||||||
var yyq35 [4]bool
|
var yyq2 [4]bool
|
||||||
_, _, _ = yysep35, yyq35, yy2arr35
|
_, _, _ = yysep2, yyq2, yy2arr2
|
||||||
const yyr35 bool = false
|
const yyr2 bool = false
|
||||||
yyq35[0] = x.Kind != ""
|
yyq2[0] = x.Kind != ""
|
||||||
yyq35[1] = x.APIVersion != ""
|
yyq2[1] = x.APIVersion != ""
|
||||||
yyq35[2] = true
|
yyq2[2] = true
|
||||||
var yynn35 int
|
var yynn2 int
|
||||||
if yyr35 || yy2arr35 {
|
if yyr2 || yy2arr2 {
|
||||||
r.EncodeArrayStart(4)
|
r.EncodeArrayStart(4)
|
||||||
} else {
|
} else {
|
||||||
yynn35 = 1
|
yynn2 = 1
|
||||||
for _, b := range yyq35 {
|
for _, b := range yyq2 {
|
||||||
if b {
|
if b {
|
||||||
yynn35++
|
yynn2++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
r.EncodeMapStart(yynn35)
|
r.EncodeMapStart(yynn2)
|
||||||
yynn35 = 0
|
yynn2 = 0
|
||||||
}
|
}
|
||||||
if yyr35 || yy2arr35 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq35[0] {
|
if yyq2[0] {
|
||||||
yym37 := z.EncBinary()
|
yym4 := z.EncBinary()
|
||||||
_ = yym37
|
_ = yym4
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
@ -485,23 +521,23 @@ func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq35[0] {
|
if yyq2[0] {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yym38 := z.EncBinary()
|
yym5 := z.EncBinary()
|
||||||
_ = yym38
|
_ = yym5
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr35 || yy2arr35 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq35[1] {
|
if yyq2[1] {
|
||||||
yym40 := z.EncBinary()
|
yym7 := z.EncBinary()
|
||||||
_ = yym40
|
_ = yym7
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
@ -510,54 +546,54 @@ func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq35[1] {
|
if yyq2[1] {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yym41 := z.EncBinary()
|
yym8 := z.EncBinary()
|
||||||
_ = yym41
|
_ = yym8
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr35 || yy2arr35 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq35[2] {
|
if yyq2[2] {
|
||||||
yy43 := &x.ListMeta
|
yy10 := &x.ListMeta
|
||||||
yym44 := z.EncBinary()
|
yym11 := z.EncBinary()
|
||||||
_ = yym44
|
_ = yym11
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.EncExt(yy43) {
|
} else if z.HasExtensions() && z.EncExt(yy10) {
|
||||||
} else {
|
} else {
|
||||||
z.EncFallback(yy43)
|
z.EncFallback(yy10)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq35[2] {
|
if yyq2[2] {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy45 := &x.ListMeta
|
yy12 := &x.ListMeta
|
||||||
yym46 := z.EncBinary()
|
yym13 := z.EncBinary()
|
||||||
_ = yym46
|
_ = yym13
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.EncExt(yy45) {
|
} else if z.HasExtensions() && z.EncExt(yy12) {
|
||||||
} else {
|
} else {
|
||||||
z.EncFallback(yy45)
|
z.EncFallback(yy12)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr35 || yy2arr35 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if x.Items == nil {
|
if x.Items == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym48 := z.EncBinary()
|
yym15 := z.EncBinary()
|
||||||
_ = yym48
|
_ = yym15
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.encSliceStorageClass(([]StorageClass)(x.Items), e)
|
h.encSliceStorageClass(([]StorageClass)(x.Items), e)
|
||||||
@ -570,15 +606,15 @@ func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.Items == nil {
|
if x.Items == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym49 := z.EncBinary()
|
yym16 := z.EncBinary()
|
||||||
_ = yym49
|
_ = yym16
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.encSliceStorageClass(([]StorageClass)(x.Items), e)
|
h.encSliceStorageClass(([]StorageClass)(x.Items), e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr35 || yy2arr35 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
} else {
|
} else {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapEnd1234)
|
z.EncSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
@ -591,25 +627,25 @@ func (x *StorageClassList) CodecDecodeSelf(d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
yym50 := z.DecBinary()
|
yym1 := z.DecBinary()
|
||||||
_ = yym50
|
_ = yym1
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.DecExt(x) {
|
} else if z.HasExtensions() && z.DecExt(x) {
|
||||||
} else {
|
} else {
|
||||||
yyct51 := r.ContainerType()
|
yyct2 := r.ContainerType()
|
||||||
if yyct51 == codecSelferValueTypeMap1234 {
|
if yyct2 == codecSelferValueTypeMap1234 {
|
||||||
yyl51 := r.ReadMapStart()
|
yyl2 := r.ReadMapStart()
|
||||||
if yyl51 == 0 {
|
if yyl2 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromMap(yyl51, d)
|
x.codecDecodeSelfFromMap(yyl2, d)
|
||||||
}
|
}
|
||||||
} else if yyct51 == codecSelferValueTypeArray1234 {
|
} else if yyct2 == codecSelferValueTypeArray1234 {
|
||||||
yyl51 := r.ReadArrayStart()
|
yyl2 := r.ReadArrayStart()
|
||||||
if yyl51 == 0 {
|
if yyl2 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromArray(yyl51, d)
|
x.codecDecodeSelfFromArray(yyl2, d)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
||||||
@ -621,12 +657,12 @@ func (x *StorageClassList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yys52Slc = z.DecScratchBuffer() // default slice to decode into
|
var yys3Slc = z.DecScratchBuffer() // default slice to decode into
|
||||||
_ = yys52Slc
|
_ = yys3Slc
|
||||||
var yyhl52 bool = l >= 0
|
var yyhl3 bool = l >= 0
|
||||||
for yyj52 := 0; ; yyj52++ {
|
for yyj3 := 0; ; yyj3++ {
|
||||||
if yyhl52 {
|
if yyhl3 {
|
||||||
if yyj52 >= l {
|
if yyj3 >= l {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -635,51 +671,63 @@ func (x *StorageClassList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
yys52Slc = r.DecodeBytes(yys52Slc, true, true)
|
yys3Slc = r.DecodeBytes(yys3Slc, true, true)
|
||||||
yys52 := string(yys52Slc)
|
yys3 := string(yys3Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys52 {
|
switch yys3 {
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
x.Kind = string(r.DecodeString())
|
yyv4 := &x.Kind
|
||||||
|
yym5 := z.DecBinary()
|
||||||
|
_ = yym5
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv4)) = r.DecodeString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case "apiVersion":
|
case "apiVersion":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.APIVersion = ""
|
x.APIVersion = ""
|
||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
yyv6 := &x.APIVersion
|
||||||
|
yym7 := z.DecBinary()
|
||||||
|
_ = yym7
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv6)) = r.DecodeString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case "metadata":
|
case "metadata":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ListMeta = pkg1_v1.ListMeta{}
|
x.ListMeta = pkg1_v1.ListMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv55 := &x.ListMeta
|
yyv8 := &x.ListMeta
|
||||||
yym56 := z.DecBinary()
|
yym9 := z.DecBinary()
|
||||||
_ = yym56
|
_ = yym9
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.DecExt(yyv55) {
|
} else if z.HasExtensions() && z.DecExt(yyv8) {
|
||||||
} else {
|
} else {
|
||||||
z.DecFallback(yyv55, false)
|
z.DecFallback(yyv8, false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case "items":
|
case "items":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Items = nil
|
x.Items = nil
|
||||||
} else {
|
} else {
|
||||||
yyv57 := &x.Items
|
yyv10 := &x.Items
|
||||||
yym58 := z.DecBinary()
|
yym11 := z.DecBinary()
|
||||||
_ = yym58
|
_ = yym11
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.decSliceStorageClass((*[]StorageClass)(yyv57), d)
|
h.decSliceStorageClass((*[]StorageClass)(yyv10), d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys52)
|
z.DecStructFieldNotFound(-1, yys3)
|
||||||
} // end switch yys52
|
} // end switch yys3
|
||||||
} // end for yyj52
|
} // end for yyj3
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -687,16 +735,16 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yyj59 int
|
var yyj12 int
|
||||||
var yyb59 bool
|
var yyb12 bool
|
||||||
var yyhl59 bool = l >= 0
|
var yyhl12 bool = l >= 0
|
||||||
yyj59++
|
yyj12++
|
||||||
if yyhl59 {
|
if yyhl12 {
|
||||||
yyb59 = yyj59 > l
|
yyb12 = yyj12 > l
|
||||||
} else {
|
} else {
|
||||||
yyb59 = r.CheckBreak()
|
yyb12 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb59 {
|
if yyb12 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -704,15 +752,21 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
x.Kind = string(r.DecodeString())
|
yyv13 := &x.Kind
|
||||||
}
|
yym14 := z.DecBinary()
|
||||||
yyj59++
|
_ = yym14
|
||||||
if yyhl59 {
|
if false {
|
||||||
yyb59 = yyj59 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb59 = r.CheckBreak()
|
*((*string)(yyv13)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
if yyb59 {
|
}
|
||||||
|
yyj12++
|
||||||
|
if yyhl12 {
|
||||||
|
yyb12 = yyj12 > l
|
||||||
|
} else {
|
||||||
|
yyb12 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb12 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -720,15 +774,21 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.APIVersion = ""
|
x.APIVersion = ""
|
||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
yyv15 := &x.APIVersion
|
||||||
}
|
yym16 := z.DecBinary()
|
||||||
yyj59++
|
_ = yym16
|
||||||
if yyhl59 {
|
if false {
|
||||||
yyb59 = yyj59 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb59 = r.CheckBreak()
|
*((*string)(yyv15)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
if yyb59 {
|
}
|
||||||
|
yyj12++
|
||||||
|
if yyhl12 {
|
||||||
|
yyb12 = yyj12 > l
|
||||||
|
} else {
|
||||||
|
yyb12 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb12 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -736,22 +796,22 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ListMeta = pkg1_v1.ListMeta{}
|
x.ListMeta = pkg1_v1.ListMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv62 := &x.ListMeta
|
yyv17 := &x.ListMeta
|
||||||
yym63 := z.DecBinary()
|
yym18 := z.DecBinary()
|
||||||
_ = yym63
|
_ = yym18
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.DecExt(yyv62) {
|
} else if z.HasExtensions() && z.DecExt(yyv17) {
|
||||||
} else {
|
} else {
|
||||||
z.DecFallback(yyv62, false)
|
z.DecFallback(yyv17, false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj59++
|
yyj12++
|
||||||
if yyhl59 {
|
if yyhl12 {
|
||||||
yyb59 = yyj59 > l
|
yyb12 = yyj12 > l
|
||||||
} else {
|
} else {
|
||||||
yyb59 = r.CheckBreak()
|
yyb12 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb59 {
|
if yyb12 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -759,26 +819,26 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Items = nil
|
x.Items = nil
|
||||||
} else {
|
} else {
|
||||||
yyv64 := &x.Items
|
yyv19 := &x.Items
|
||||||
yym65 := z.DecBinary()
|
yym20 := z.DecBinary()
|
||||||
_ = yym65
|
_ = yym20
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.decSliceStorageClass((*[]StorageClass)(yyv64), d)
|
h.decSliceStorageClass((*[]StorageClass)(yyv19), d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for {
|
for {
|
||||||
yyj59++
|
yyj12++
|
||||||
if yyhl59 {
|
if yyhl12 {
|
||||||
yyb59 = yyj59 > l
|
yyb12 = yyj12 > l
|
||||||
} else {
|
} else {
|
||||||
yyb59 = r.CheckBreak()
|
yyb12 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb59 {
|
if yyb12 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
z.DecStructFieldNotFound(yyj59-1, "")
|
z.DecStructFieldNotFound(yyj12-1, "")
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
}
|
}
|
||||||
@ -788,10 +848,10 @@ func (x codecSelfer1234) encSliceStorageClass(v []StorageClass, e *codec1978.Enc
|
|||||||
z, r := codec1978.GenHelperEncoder(e)
|
z, r := codec1978.GenHelperEncoder(e)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
r.EncodeArrayStart(len(v))
|
r.EncodeArrayStart(len(v))
|
||||||
for _, yyv66 := range v {
|
for _, yyv1 := range v {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
yy67 := &yyv66
|
yy2 := &yyv1
|
||||||
yy67.CodecEncodeSelf(e)
|
yy2.CodecEncodeSelf(e)
|
||||||
}
|
}
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
}
|
}
|
||||||
@ -801,83 +861,86 @@ func (x codecSelfer1234) decSliceStorageClass(v *[]StorageClass, d *codec1978.De
|
|||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
|
|
||||||
yyv68 := *v
|
yyv1 := *v
|
||||||
yyh68, yyl68 := z.DecSliceHelperStart()
|
yyh1, yyl1 := z.DecSliceHelperStart()
|
||||||
var yyc68 bool
|
var yyc1 bool
|
||||||
if yyl68 == 0 {
|
_ = yyc1
|
||||||
if yyv68 == nil {
|
if yyl1 == 0 {
|
||||||
yyv68 = []StorageClass{}
|
if yyv1 == nil {
|
||||||
yyc68 = true
|
yyv1 = []StorageClass{}
|
||||||
} else if len(yyv68) != 0 {
|
yyc1 = true
|
||||||
yyv68 = yyv68[:0]
|
} else if len(yyv1) != 0 {
|
||||||
yyc68 = true
|
yyv1 = yyv1[:0]
|
||||||
|
yyc1 = true
|
||||||
}
|
}
|
||||||
} else if yyl68 > 0 {
|
} else if yyl1 > 0 {
|
||||||
var yyrr68, yyrl68 int
|
var yyrr1, yyrl1 int
|
||||||
var yyrt68 bool
|
var yyrt1 bool
|
||||||
if yyl68 > cap(yyv68) {
|
_, _ = yyrl1, yyrt1
|
||||||
|
yyrr1 = yyl1 // len(yyv1)
|
||||||
|
if yyl1 > cap(yyv1) {
|
||||||
|
|
||||||
yyrg68 := len(yyv68) > 0
|
yyrg1 := len(yyv1) > 0
|
||||||
yyv268 := yyv68
|
yyv21 := yyv1
|
||||||
yyrl68, yyrt68 = z.DecInferLen(yyl68, z.DecBasicHandle().MaxInitLen, 280)
|
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280)
|
||||||
if yyrt68 {
|
if yyrt1 {
|
||||||
if yyrl68 <= cap(yyv68) {
|
if yyrl1 <= cap(yyv1) {
|
||||||
yyv68 = yyv68[:yyrl68]
|
yyv1 = yyv1[:yyrl1]
|
||||||
} else {
|
} else {
|
||||||
yyv68 = make([]StorageClass, yyrl68)
|
yyv1 = make([]StorageClass, yyrl1)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
yyv68 = make([]StorageClass, yyrl68)
|
yyv1 = make([]StorageClass, yyrl1)
|
||||||
}
|
}
|
||||||
yyc68 = true
|
yyc1 = true
|
||||||
yyrr68 = len(yyv68)
|
yyrr1 = len(yyv1)
|
||||||
if yyrg68 {
|
if yyrg1 {
|
||||||
copy(yyv68, yyv268)
|
copy(yyv1, yyv21)
|
||||||
}
|
}
|
||||||
} else if yyl68 != len(yyv68) {
|
} else if yyl1 != len(yyv1) {
|
||||||
yyv68 = yyv68[:yyl68]
|
yyv1 = yyv1[:yyl1]
|
||||||
yyc68 = true
|
yyc1 = true
|
||||||
}
|
}
|
||||||
yyj68 := 0
|
yyj1 := 0
|
||||||
for ; yyj68 < yyrr68; yyj68++ {
|
for ; yyj1 < yyrr1; yyj1++ {
|
||||||
yyh68.ElemContainerState(yyj68)
|
yyh1.ElemContainerState(yyj1)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
yyv68[yyj68] = StorageClass{}
|
yyv1[yyj1] = StorageClass{}
|
||||||
} else {
|
} else {
|
||||||
yyv69 := &yyv68[yyj68]
|
yyv2 := &yyv1[yyj1]
|
||||||
yyv69.CodecDecodeSelf(d)
|
yyv2.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if yyrt68 {
|
if yyrt1 {
|
||||||
for ; yyj68 < yyl68; yyj68++ {
|
for ; yyj1 < yyl1; yyj1++ {
|
||||||
yyv68 = append(yyv68, StorageClass{})
|
yyv1 = append(yyv1, StorageClass{})
|
||||||
yyh68.ElemContainerState(yyj68)
|
yyh1.ElemContainerState(yyj1)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
yyv68[yyj68] = StorageClass{}
|
yyv1[yyj1] = StorageClass{}
|
||||||
} else {
|
} else {
|
||||||
yyv70 := &yyv68[yyj68]
|
yyv3 := &yyv1[yyj1]
|
||||||
yyv70.CodecDecodeSelf(d)
|
yyv3.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
yyj68 := 0
|
yyj1 := 0
|
||||||
for ; !r.CheckBreak(); yyj68++ {
|
for ; !r.CheckBreak(); yyj1++ {
|
||||||
|
|
||||||
if yyj68 >= len(yyv68) {
|
if yyj1 >= len(yyv1) {
|
||||||
yyv68 = append(yyv68, StorageClass{}) // var yyz68 StorageClass
|
yyv1 = append(yyv1, StorageClass{}) // var yyz1 StorageClass
|
||||||
yyc68 = true
|
yyc1 = true
|
||||||
}
|
}
|
||||||
yyh68.ElemContainerState(yyj68)
|
yyh1.ElemContainerState(yyj1)
|
||||||
if yyj68 < len(yyv68) {
|
if yyj1 < len(yyv1) {
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
yyv68[yyj68] = StorageClass{}
|
yyv1[yyj1] = StorageClass{}
|
||||||
} else {
|
} else {
|
||||||
yyv71 := &yyv68[yyj68]
|
yyv4 := &yyv1[yyj1]
|
||||||
yyv71.CodecDecodeSelf(d)
|
yyv4.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -885,16 +948,16 @@ func (x codecSelfer1234) decSliceStorageClass(v *[]StorageClass, d *codec1978.De
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if yyj68 < len(yyv68) {
|
if yyj1 < len(yyv1) {
|
||||||
yyv68 = yyv68[:yyj68]
|
yyv1 = yyv1[:yyj1]
|
||||||
yyc68 = true
|
yyc1 = true
|
||||||
} else if yyj68 == 0 && yyv68 == nil {
|
} else if yyj1 == 0 && yyv1 == nil {
|
||||||
yyv68 = []StorageClass{}
|
yyv1 = []StorageClass{}
|
||||||
yyc68 = true
|
yyc1 = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyh68.End()
|
yyh1.End()
|
||||||
if yyc68 {
|
if yyc1 {
|
||||||
*v = yyv68
|
*v = yyv1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -167,8 +167,8 @@ func (x *MetadataOnlyObject) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy11 := &x.ObjectMeta
|
yy12 := &x.ObjectMeta
|
||||||
yy11.CodecEncodeSelf(e)
|
yy12.CodecEncodeSelf(e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
@ -184,25 +184,25 @@ func (x *MetadataOnlyObject) CodecDecodeSelf(d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
yym12 := z.DecBinary()
|
yym1 := z.DecBinary()
|
||||||
_ = yym12
|
_ = yym1
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.DecExt(x) {
|
} else if z.HasExtensions() && z.DecExt(x) {
|
||||||
} else {
|
} else {
|
||||||
yyct13 := r.ContainerType()
|
yyct2 := r.ContainerType()
|
||||||
if yyct13 == codecSelferValueTypeMap1234 {
|
if yyct2 == codecSelferValueTypeMap1234 {
|
||||||
yyl13 := r.ReadMapStart()
|
yyl2 := r.ReadMapStart()
|
||||||
if yyl13 == 0 {
|
if yyl2 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromMap(yyl13, d)
|
x.codecDecodeSelfFromMap(yyl2, d)
|
||||||
}
|
}
|
||||||
} else if yyct13 == codecSelferValueTypeArray1234 {
|
} else if yyct2 == codecSelferValueTypeArray1234 {
|
||||||
yyl13 := r.ReadArrayStart()
|
yyl2 := r.ReadArrayStart()
|
||||||
if yyl13 == 0 {
|
if yyl2 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromArray(yyl13, d)
|
x.codecDecodeSelfFromArray(yyl2, d)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
||||||
@ -214,12 +214,12 @@ func (x *MetadataOnlyObject) codecDecodeSelfFromMap(l int, d *codec1978.Decoder)
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yys14Slc = z.DecScratchBuffer() // default slice to decode into
|
var yys3Slc = z.DecScratchBuffer() // default slice to decode into
|
||||||
_ = yys14Slc
|
_ = yys3Slc
|
||||||
var yyhl14 bool = l >= 0
|
var yyhl3 bool = l >= 0
|
||||||
for yyj14 := 0; ; yyj14++ {
|
for yyj3 := 0; ; yyj3++ {
|
||||||
if yyhl14 {
|
if yyhl3 {
|
||||||
if yyj14 >= l {
|
if yyj3 >= l {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -228,33 +228,45 @@ func (x *MetadataOnlyObject) codecDecodeSelfFromMap(l int, d *codec1978.Decoder)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
yys14Slc = r.DecodeBytes(yys14Slc, true, true)
|
yys3Slc = r.DecodeBytes(yys3Slc, true, true)
|
||||||
yys14 := string(yys14Slc)
|
yys3 := string(yys3Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys14 {
|
switch yys3 {
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
x.Kind = string(r.DecodeString())
|
yyv4 := &x.Kind
|
||||||
|
yym5 := z.DecBinary()
|
||||||
|
_ = yym5
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv4)) = r.DecodeString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case "apiVersion":
|
case "apiVersion":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.APIVersion = ""
|
x.APIVersion = ""
|
||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
yyv6 := &x.APIVersion
|
||||||
|
yym7 := z.DecBinary()
|
||||||
|
_ = yym7
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv6)) = r.DecodeString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case "metadata":
|
case "metadata":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv17 := &x.ObjectMeta
|
yyv8 := &x.ObjectMeta
|
||||||
yyv17.CodecDecodeSelf(d)
|
yyv8.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys14)
|
z.DecStructFieldNotFound(-1, yys3)
|
||||||
} // end switch yys14
|
} // end switch yys3
|
||||||
} // end for yyj14
|
} // end for yyj3
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -262,16 +274,16 @@ func (x *MetadataOnlyObject) codecDecodeSelfFromArray(l int, d *codec1978.Decode
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yyj18 int
|
var yyj9 int
|
||||||
var yyb18 bool
|
var yyb9 bool
|
||||||
var yyhl18 bool = l >= 0
|
var yyhl9 bool = l >= 0
|
||||||
yyj18++
|
yyj9++
|
||||||
if yyhl18 {
|
if yyhl9 {
|
||||||
yyb18 = yyj18 > l
|
yyb9 = yyj9 > l
|
||||||
} else {
|
} else {
|
||||||
yyb18 = r.CheckBreak()
|
yyb9 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb18 {
|
if yyb9 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -279,15 +291,21 @@ func (x *MetadataOnlyObject) codecDecodeSelfFromArray(l int, d *codec1978.Decode
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
x.Kind = string(r.DecodeString())
|
yyv10 := &x.Kind
|
||||||
}
|
yym11 := z.DecBinary()
|
||||||
yyj18++
|
_ = yym11
|
||||||
if yyhl18 {
|
if false {
|
||||||
yyb18 = yyj18 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb18 = r.CheckBreak()
|
*((*string)(yyv10)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
if yyb18 {
|
}
|
||||||
|
yyj9++
|
||||||
|
if yyhl9 {
|
||||||
|
yyb9 = yyj9 > l
|
||||||
|
} else {
|
||||||
|
yyb9 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb9 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -295,15 +313,21 @@ func (x *MetadataOnlyObject) codecDecodeSelfFromArray(l int, d *codec1978.Decode
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.APIVersion = ""
|
x.APIVersion = ""
|
||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
yyv12 := &x.APIVersion
|
||||||
}
|
yym13 := z.DecBinary()
|
||||||
yyj18++
|
_ = yym13
|
||||||
if yyhl18 {
|
if false {
|
||||||
yyb18 = yyj18 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb18 = r.CheckBreak()
|
*((*string)(yyv12)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
if yyb18 {
|
}
|
||||||
|
yyj9++
|
||||||
|
if yyhl9 {
|
||||||
|
yyb9 = yyj9 > l
|
||||||
|
} else {
|
||||||
|
yyb9 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb9 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -311,21 +335,21 @@ func (x *MetadataOnlyObject) codecDecodeSelfFromArray(l int, d *codec1978.Decode
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv21 := &x.ObjectMeta
|
yyv14 := &x.ObjectMeta
|
||||||
yyv21.CodecDecodeSelf(d)
|
yyv14.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
for {
|
for {
|
||||||
yyj18++
|
yyj9++
|
||||||
if yyhl18 {
|
if yyhl9 {
|
||||||
yyb18 = yyj18 > l
|
yyb9 = yyj9 > l
|
||||||
} else {
|
} else {
|
||||||
yyb18 = r.CheckBreak()
|
yyb9 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb18 {
|
if yyb9 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
z.DecStructFieldNotFound(yyj18-1, "")
|
z.DecStructFieldNotFound(yyj9-1, "")
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
}
|
}
|
||||||
@ -337,37 +361,37 @@ func (x *MetadataOnlyObjectList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x == nil {
|
if x == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym22 := z.EncBinary()
|
yym1 := z.EncBinary()
|
||||||
_ = yym22
|
_ = yym1
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.EncExt(x) {
|
} else if z.HasExtensions() && z.EncExt(x) {
|
||||||
} else {
|
} else {
|
||||||
yysep23 := !z.EncBinary()
|
yysep2 := !z.EncBinary()
|
||||||
yy2arr23 := z.EncBasicHandle().StructToArray
|
yy2arr2 := z.EncBasicHandle().StructToArray
|
||||||
var yyq23 [4]bool
|
var yyq2 [4]bool
|
||||||
_, _, _ = yysep23, yyq23, yy2arr23
|
_, _, _ = yysep2, yyq2, yy2arr2
|
||||||
const yyr23 bool = false
|
const yyr2 bool = false
|
||||||
yyq23[0] = x.Kind != ""
|
yyq2[0] = x.Kind != ""
|
||||||
yyq23[1] = x.APIVersion != ""
|
yyq2[1] = x.APIVersion != ""
|
||||||
yyq23[2] = true
|
yyq2[2] = true
|
||||||
var yynn23 int
|
var yynn2 int
|
||||||
if yyr23 || yy2arr23 {
|
if yyr2 || yy2arr2 {
|
||||||
r.EncodeArrayStart(4)
|
r.EncodeArrayStart(4)
|
||||||
} else {
|
} else {
|
||||||
yynn23 = 1
|
yynn2 = 1
|
||||||
for _, b := range yyq23 {
|
for _, b := range yyq2 {
|
||||||
if b {
|
if b {
|
||||||
yynn23++
|
yynn2++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
r.EncodeMapStart(yynn23)
|
r.EncodeMapStart(yynn2)
|
||||||
yynn23 = 0
|
yynn2 = 0
|
||||||
}
|
}
|
||||||
if yyr23 || yy2arr23 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq23[0] {
|
if yyq2[0] {
|
||||||
yym25 := z.EncBinary()
|
yym4 := z.EncBinary()
|
||||||
_ = yym25
|
_ = yym4
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
@ -376,23 +400,23 @@ func (x *MetadataOnlyObjectList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq23[0] {
|
if yyq2[0] {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yym26 := z.EncBinary()
|
yym5 := z.EncBinary()
|
||||||
_ = yym26
|
_ = yym5
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr23 || yy2arr23 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq23[1] {
|
if yyq2[1] {
|
||||||
yym28 := z.EncBinary()
|
yym7 := z.EncBinary()
|
||||||
_ = yym28
|
_ = yym7
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
@ -401,54 +425,54 @@ func (x *MetadataOnlyObjectList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq23[1] {
|
if yyq2[1] {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yym29 := z.EncBinary()
|
yym8 := z.EncBinary()
|
||||||
_ = yym29
|
_ = yym8
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr23 || yy2arr23 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq23[2] {
|
if yyq2[2] {
|
||||||
yy31 := &x.ListMeta
|
yy10 := &x.ListMeta
|
||||||
yym32 := z.EncBinary()
|
yym11 := z.EncBinary()
|
||||||
_ = yym32
|
_ = yym11
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.EncExt(yy31) {
|
} else if z.HasExtensions() && z.EncExt(yy10) {
|
||||||
} else {
|
} else {
|
||||||
z.EncFallback(yy31)
|
z.EncFallback(yy10)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq23[2] {
|
if yyq2[2] {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy33 := &x.ListMeta
|
yy12 := &x.ListMeta
|
||||||
yym34 := z.EncBinary()
|
yym13 := z.EncBinary()
|
||||||
_ = yym34
|
_ = yym13
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.EncExt(yy33) {
|
} else if z.HasExtensions() && z.EncExt(yy12) {
|
||||||
} else {
|
} else {
|
||||||
z.EncFallback(yy33)
|
z.EncFallback(yy12)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr23 || yy2arr23 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if x.Items == nil {
|
if x.Items == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym36 := z.EncBinary()
|
yym15 := z.EncBinary()
|
||||||
_ = yym36
|
_ = yym15
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.encSliceMetadataOnlyObject(([]MetadataOnlyObject)(x.Items), e)
|
h.encSliceMetadataOnlyObject(([]MetadataOnlyObject)(x.Items), e)
|
||||||
@ -461,15 +485,15 @@ func (x *MetadataOnlyObjectList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.Items == nil {
|
if x.Items == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym37 := z.EncBinary()
|
yym16 := z.EncBinary()
|
||||||
_ = yym37
|
_ = yym16
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.encSliceMetadataOnlyObject(([]MetadataOnlyObject)(x.Items), e)
|
h.encSliceMetadataOnlyObject(([]MetadataOnlyObject)(x.Items), e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr23 || yy2arr23 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
} else {
|
} else {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapEnd1234)
|
z.EncSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
@ -482,25 +506,25 @@ func (x *MetadataOnlyObjectList) CodecDecodeSelf(d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
yym38 := z.DecBinary()
|
yym1 := z.DecBinary()
|
||||||
_ = yym38
|
_ = yym1
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.DecExt(x) {
|
} else if z.HasExtensions() && z.DecExt(x) {
|
||||||
} else {
|
} else {
|
||||||
yyct39 := r.ContainerType()
|
yyct2 := r.ContainerType()
|
||||||
if yyct39 == codecSelferValueTypeMap1234 {
|
if yyct2 == codecSelferValueTypeMap1234 {
|
||||||
yyl39 := r.ReadMapStart()
|
yyl2 := r.ReadMapStart()
|
||||||
if yyl39 == 0 {
|
if yyl2 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromMap(yyl39, d)
|
x.codecDecodeSelfFromMap(yyl2, d)
|
||||||
}
|
}
|
||||||
} else if yyct39 == codecSelferValueTypeArray1234 {
|
} else if yyct2 == codecSelferValueTypeArray1234 {
|
||||||
yyl39 := r.ReadArrayStart()
|
yyl2 := r.ReadArrayStart()
|
||||||
if yyl39 == 0 {
|
if yyl2 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromArray(yyl39, d)
|
x.codecDecodeSelfFromArray(yyl2, d)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
||||||
@ -512,12 +536,12 @@ func (x *MetadataOnlyObjectList) codecDecodeSelfFromMap(l int, d *codec1978.Deco
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yys40Slc = z.DecScratchBuffer() // default slice to decode into
|
var yys3Slc = z.DecScratchBuffer() // default slice to decode into
|
||||||
_ = yys40Slc
|
_ = yys3Slc
|
||||||
var yyhl40 bool = l >= 0
|
var yyhl3 bool = l >= 0
|
||||||
for yyj40 := 0; ; yyj40++ {
|
for yyj3 := 0; ; yyj3++ {
|
||||||
if yyhl40 {
|
if yyhl3 {
|
||||||
if yyj40 >= l {
|
if yyj3 >= l {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -526,51 +550,63 @@ func (x *MetadataOnlyObjectList) codecDecodeSelfFromMap(l int, d *codec1978.Deco
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
yys40Slc = r.DecodeBytes(yys40Slc, true, true)
|
yys3Slc = r.DecodeBytes(yys3Slc, true, true)
|
||||||
yys40 := string(yys40Slc)
|
yys3 := string(yys3Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys40 {
|
switch yys3 {
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
x.Kind = string(r.DecodeString())
|
yyv4 := &x.Kind
|
||||||
|
yym5 := z.DecBinary()
|
||||||
|
_ = yym5
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv4)) = r.DecodeString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case "apiVersion":
|
case "apiVersion":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.APIVersion = ""
|
x.APIVersion = ""
|
||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
yyv6 := &x.APIVersion
|
||||||
|
yym7 := z.DecBinary()
|
||||||
|
_ = yym7
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv6)) = r.DecodeString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case "metadata":
|
case "metadata":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ListMeta = pkg1_v1.ListMeta{}
|
x.ListMeta = pkg1_v1.ListMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv43 := &x.ListMeta
|
yyv8 := &x.ListMeta
|
||||||
yym44 := z.DecBinary()
|
yym9 := z.DecBinary()
|
||||||
_ = yym44
|
_ = yym9
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.DecExt(yyv43) {
|
} else if z.HasExtensions() && z.DecExt(yyv8) {
|
||||||
} else {
|
} else {
|
||||||
z.DecFallback(yyv43, false)
|
z.DecFallback(yyv8, false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case "items":
|
case "items":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Items = nil
|
x.Items = nil
|
||||||
} else {
|
} else {
|
||||||
yyv45 := &x.Items
|
yyv10 := &x.Items
|
||||||
yym46 := z.DecBinary()
|
yym11 := z.DecBinary()
|
||||||
_ = yym46
|
_ = yym11
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.decSliceMetadataOnlyObject((*[]MetadataOnlyObject)(yyv45), d)
|
h.decSliceMetadataOnlyObject((*[]MetadataOnlyObject)(yyv10), d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys40)
|
z.DecStructFieldNotFound(-1, yys3)
|
||||||
} // end switch yys40
|
} // end switch yys3
|
||||||
} // end for yyj40
|
} // end for yyj3
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -578,16 +614,16 @@ func (x *MetadataOnlyObjectList) codecDecodeSelfFromArray(l int, d *codec1978.De
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yyj47 int
|
var yyj12 int
|
||||||
var yyb47 bool
|
var yyb12 bool
|
||||||
var yyhl47 bool = l >= 0
|
var yyhl12 bool = l >= 0
|
||||||
yyj47++
|
yyj12++
|
||||||
if yyhl47 {
|
if yyhl12 {
|
||||||
yyb47 = yyj47 > l
|
yyb12 = yyj12 > l
|
||||||
} else {
|
} else {
|
||||||
yyb47 = r.CheckBreak()
|
yyb12 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb47 {
|
if yyb12 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -595,15 +631,21 @@ func (x *MetadataOnlyObjectList) codecDecodeSelfFromArray(l int, d *codec1978.De
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
x.Kind = string(r.DecodeString())
|
yyv13 := &x.Kind
|
||||||
}
|
yym14 := z.DecBinary()
|
||||||
yyj47++
|
_ = yym14
|
||||||
if yyhl47 {
|
if false {
|
||||||
yyb47 = yyj47 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb47 = r.CheckBreak()
|
*((*string)(yyv13)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
if yyb47 {
|
}
|
||||||
|
yyj12++
|
||||||
|
if yyhl12 {
|
||||||
|
yyb12 = yyj12 > l
|
||||||
|
} else {
|
||||||
|
yyb12 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb12 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -611,15 +653,21 @@ func (x *MetadataOnlyObjectList) codecDecodeSelfFromArray(l int, d *codec1978.De
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.APIVersion = ""
|
x.APIVersion = ""
|
||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
yyv15 := &x.APIVersion
|
||||||
}
|
yym16 := z.DecBinary()
|
||||||
yyj47++
|
_ = yym16
|
||||||
if yyhl47 {
|
if false {
|
||||||
yyb47 = yyj47 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb47 = r.CheckBreak()
|
*((*string)(yyv15)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
if yyb47 {
|
}
|
||||||
|
yyj12++
|
||||||
|
if yyhl12 {
|
||||||
|
yyb12 = yyj12 > l
|
||||||
|
} else {
|
||||||
|
yyb12 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb12 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -627,22 +675,22 @@ func (x *MetadataOnlyObjectList) codecDecodeSelfFromArray(l int, d *codec1978.De
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ListMeta = pkg1_v1.ListMeta{}
|
x.ListMeta = pkg1_v1.ListMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv50 := &x.ListMeta
|
yyv17 := &x.ListMeta
|
||||||
yym51 := z.DecBinary()
|
yym18 := z.DecBinary()
|
||||||
_ = yym51
|
_ = yym18
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.DecExt(yyv50) {
|
} else if z.HasExtensions() && z.DecExt(yyv17) {
|
||||||
} else {
|
} else {
|
||||||
z.DecFallback(yyv50, false)
|
z.DecFallback(yyv17, false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj47++
|
yyj12++
|
||||||
if yyhl47 {
|
if yyhl12 {
|
||||||
yyb47 = yyj47 > l
|
yyb12 = yyj12 > l
|
||||||
} else {
|
} else {
|
||||||
yyb47 = r.CheckBreak()
|
yyb12 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb47 {
|
if yyb12 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -650,26 +698,26 @@ func (x *MetadataOnlyObjectList) codecDecodeSelfFromArray(l int, d *codec1978.De
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Items = nil
|
x.Items = nil
|
||||||
} else {
|
} else {
|
||||||
yyv52 := &x.Items
|
yyv19 := &x.Items
|
||||||
yym53 := z.DecBinary()
|
yym20 := z.DecBinary()
|
||||||
_ = yym53
|
_ = yym20
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.decSliceMetadataOnlyObject((*[]MetadataOnlyObject)(yyv52), d)
|
h.decSliceMetadataOnlyObject((*[]MetadataOnlyObject)(yyv19), d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for {
|
for {
|
||||||
yyj47++
|
yyj12++
|
||||||
if yyhl47 {
|
if yyhl12 {
|
||||||
yyb47 = yyj47 > l
|
yyb12 = yyj12 > l
|
||||||
} else {
|
} else {
|
||||||
yyb47 = r.CheckBreak()
|
yyb12 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb47 {
|
if yyb12 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
z.DecStructFieldNotFound(yyj47-1, "")
|
z.DecStructFieldNotFound(yyj12-1, "")
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
}
|
}
|
||||||
@ -679,10 +727,10 @@ func (x codecSelfer1234) encSliceMetadataOnlyObject(v []MetadataOnlyObject, e *c
|
|||||||
z, r := codec1978.GenHelperEncoder(e)
|
z, r := codec1978.GenHelperEncoder(e)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
r.EncodeArrayStart(len(v))
|
r.EncodeArrayStart(len(v))
|
||||||
for _, yyv54 := range v {
|
for _, yyv1 := range v {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
yy55 := &yyv54
|
yy2 := &yyv1
|
||||||
yy55.CodecEncodeSelf(e)
|
yy2.CodecEncodeSelf(e)
|
||||||
}
|
}
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
}
|
}
|
||||||
@ -692,83 +740,86 @@ func (x codecSelfer1234) decSliceMetadataOnlyObject(v *[]MetadataOnlyObject, d *
|
|||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
|
|
||||||
yyv56 := *v
|
yyv1 := *v
|
||||||
yyh56, yyl56 := z.DecSliceHelperStart()
|
yyh1, yyl1 := z.DecSliceHelperStart()
|
||||||
var yyc56 bool
|
var yyc1 bool
|
||||||
if yyl56 == 0 {
|
_ = yyc1
|
||||||
if yyv56 == nil {
|
if yyl1 == 0 {
|
||||||
yyv56 = []MetadataOnlyObject{}
|
if yyv1 == nil {
|
||||||
yyc56 = true
|
yyv1 = []MetadataOnlyObject{}
|
||||||
} else if len(yyv56) != 0 {
|
yyc1 = true
|
||||||
yyv56 = yyv56[:0]
|
} else if len(yyv1) != 0 {
|
||||||
yyc56 = true
|
yyv1 = yyv1[:0]
|
||||||
|
yyc1 = true
|
||||||
}
|
}
|
||||||
} else if yyl56 > 0 {
|
} else if yyl1 > 0 {
|
||||||
var yyrr56, yyrl56 int
|
var yyrr1, yyrl1 int
|
||||||
var yyrt56 bool
|
var yyrt1 bool
|
||||||
if yyl56 > cap(yyv56) {
|
_, _ = yyrl1, yyrt1
|
||||||
|
yyrr1 = yyl1 // len(yyv1)
|
||||||
|
if yyl1 > cap(yyv1) {
|
||||||
|
|
||||||
yyrg56 := len(yyv56) > 0
|
yyrg1 := len(yyv1) > 0
|
||||||
yyv256 := yyv56
|
yyv21 := yyv1
|
||||||
yyrl56, yyrt56 = z.DecInferLen(yyl56, z.DecBasicHandle().MaxInitLen, 256)
|
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 256)
|
||||||
if yyrt56 {
|
if yyrt1 {
|
||||||
if yyrl56 <= cap(yyv56) {
|
if yyrl1 <= cap(yyv1) {
|
||||||
yyv56 = yyv56[:yyrl56]
|
yyv1 = yyv1[:yyrl1]
|
||||||
} else {
|
} else {
|
||||||
yyv56 = make([]MetadataOnlyObject, yyrl56)
|
yyv1 = make([]MetadataOnlyObject, yyrl1)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
yyv56 = make([]MetadataOnlyObject, yyrl56)
|
yyv1 = make([]MetadataOnlyObject, yyrl1)
|
||||||
}
|
}
|
||||||
yyc56 = true
|
yyc1 = true
|
||||||
yyrr56 = len(yyv56)
|
yyrr1 = len(yyv1)
|
||||||
if yyrg56 {
|
if yyrg1 {
|
||||||
copy(yyv56, yyv256)
|
copy(yyv1, yyv21)
|
||||||
}
|
}
|
||||||
} else if yyl56 != len(yyv56) {
|
} else if yyl1 != len(yyv1) {
|
||||||
yyv56 = yyv56[:yyl56]
|
yyv1 = yyv1[:yyl1]
|
||||||
yyc56 = true
|
yyc1 = true
|
||||||
}
|
}
|
||||||
yyj56 := 0
|
yyj1 := 0
|
||||||
for ; yyj56 < yyrr56; yyj56++ {
|
for ; yyj1 < yyrr1; yyj1++ {
|
||||||
yyh56.ElemContainerState(yyj56)
|
yyh1.ElemContainerState(yyj1)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
yyv56[yyj56] = MetadataOnlyObject{}
|
yyv1[yyj1] = MetadataOnlyObject{}
|
||||||
} else {
|
} else {
|
||||||
yyv57 := &yyv56[yyj56]
|
yyv2 := &yyv1[yyj1]
|
||||||
yyv57.CodecDecodeSelf(d)
|
yyv2.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if yyrt56 {
|
if yyrt1 {
|
||||||
for ; yyj56 < yyl56; yyj56++ {
|
for ; yyj1 < yyl1; yyj1++ {
|
||||||
yyv56 = append(yyv56, MetadataOnlyObject{})
|
yyv1 = append(yyv1, MetadataOnlyObject{})
|
||||||
yyh56.ElemContainerState(yyj56)
|
yyh1.ElemContainerState(yyj1)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
yyv56[yyj56] = MetadataOnlyObject{}
|
yyv1[yyj1] = MetadataOnlyObject{}
|
||||||
} else {
|
} else {
|
||||||
yyv58 := &yyv56[yyj56]
|
yyv3 := &yyv1[yyj1]
|
||||||
yyv58.CodecDecodeSelf(d)
|
yyv3.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
yyj56 := 0
|
yyj1 := 0
|
||||||
for ; !r.CheckBreak(); yyj56++ {
|
for ; !r.CheckBreak(); yyj1++ {
|
||||||
|
|
||||||
if yyj56 >= len(yyv56) {
|
if yyj1 >= len(yyv1) {
|
||||||
yyv56 = append(yyv56, MetadataOnlyObject{}) // var yyz56 MetadataOnlyObject
|
yyv1 = append(yyv1, MetadataOnlyObject{}) // var yyz1 MetadataOnlyObject
|
||||||
yyc56 = true
|
yyc1 = true
|
||||||
}
|
}
|
||||||
yyh56.ElemContainerState(yyj56)
|
yyh1.ElemContainerState(yyj1)
|
||||||
if yyj56 < len(yyv56) {
|
if yyj1 < len(yyv1) {
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
yyv56[yyj56] = MetadataOnlyObject{}
|
yyv1[yyj1] = MetadataOnlyObject{}
|
||||||
} else {
|
} else {
|
||||||
yyv59 := &yyv56[yyj56]
|
yyv4 := &yyv1[yyj1]
|
||||||
yyv59.CodecDecodeSelf(d)
|
yyv4.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -776,16 +827,16 @@ func (x codecSelfer1234) decSliceMetadataOnlyObject(v *[]MetadataOnlyObject, d *
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if yyj56 < len(yyv56) {
|
if yyj1 < len(yyv1) {
|
||||||
yyv56 = yyv56[:yyj56]
|
yyv1 = yyv1[:yyj1]
|
||||||
yyc56 = true
|
yyc1 = true
|
||||||
} else if yyj56 == 0 && yyv56 == nil {
|
} else if yyj1 == 0 && yyv1 == nil {
|
||||||
yyv56 = []MetadataOnlyObject{}
|
yyv1 = []MetadataOnlyObject{}
|
||||||
yyc56 = true
|
yyc1 = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyh56.End()
|
yyh1.End()
|
||||||
if yyc56 {
|
if yyc1 {
|
||||||
*v = yyv56
|
*v = yyv1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -167,14 +167,14 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy11 := &x.ObjectMeta
|
yy12 := &x.ObjectMeta
|
||||||
yy11.CodecEncodeSelf(e)
|
yy12.CodecEncodeSelf(e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
yym13 := z.EncBinary()
|
yym15 := z.EncBinary()
|
||||||
_ = yym13
|
_ = yym15
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Key))
|
r.EncodeString(codecSelferC_UTF81234, string(x.Key))
|
||||||
@ -183,8 +183,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("Key"))
|
r.EncodeString(codecSelferC_UTF81234, string("Key"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yym14 := z.EncBinary()
|
yym16 := z.EncBinary()
|
||||||
_ = yym14
|
_ = yym16
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Key))
|
r.EncodeString(codecSelferC_UTF81234, string(x.Key))
|
||||||
@ -195,8 +195,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.Map == nil {
|
if x.Map == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym16 := z.EncBinary()
|
yym18 := z.EncBinary()
|
||||||
_ = yym16
|
_ = yym18
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncMapStringIntV(x.Map, false, e)
|
z.F.EncMapStringIntV(x.Map, false, e)
|
||||||
@ -209,8 +209,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.Map == nil {
|
if x.Map == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym17 := z.EncBinary()
|
yym19 := z.EncBinary()
|
||||||
_ = yym17
|
_ = yym19
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncMapStringIntV(x.Map, false, e)
|
z.F.EncMapStringIntV(x.Map, false, e)
|
||||||
@ -222,8 +222,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.StringList == nil {
|
if x.StringList == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym19 := z.EncBinary()
|
yym21 := z.EncBinary()
|
||||||
_ = yym19
|
_ = yym21
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncSliceStringV(x.StringList, false, e)
|
z.F.EncSliceStringV(x.StringList, false, e)
|
||||||
@ -236,8 +236,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.StringList == nil {
|
if x.StringList == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym20 := z.EncBinary()
|
yym22 := z.EncBinary()
|
||||||
_ = yym20
|
_ = yym22
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncSliceStringV(x.StringList, false, e)
|
z.F.EncSliceStringV(x.StringList, false, e)
|
||||||
@ -249,8 +249,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.IntList == nil {
|
if x.IntList == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym22 := z.EncBinary()
|
yym24 := z.EncBinary()
|
||||||
_ = yym22
|
_ = yym24
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncSliceIntV(x.IntList, false, e)
|
z.F.EncSliceIntV(x.IntList, false, e)
|
||||||
@ -263,8 +263,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.IntList == nil {
|
if x.IntList == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym23 := z.EncBinary()
|
yym25 := z.EncBinary()
|
||||||
_ = yym23
|
_ = yym25
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncSliceIntV(x.IntList, false, e)
|
z.F.EncSliceIntV(x.IntList, false, e)
|
||||||
@ -284,25 +284,25 @@ func (x *TestStruct) CodecDecodeSelf(d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
yym24 := z.DecBinary()
|
yym1 := z.DecBinary()
|
||||||
_ = yym24
|
_ = yym1
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.DecExt(x) {
|
} else if z.HasExtensions() && z.DecExt(x) {
|
||||||
} else {
|
} else {
|
||||||
yyct25 := r.ContainerType()
|
yyct2 := r.ContainerType()
|
||||||
if yyct25 == codecSelferValueTypeMap1234 {
|
if yyct2 == codecSelferValueTypeMap1234 {
|
||||||
yyl25 := r.ReadMapStart()
|
yyl2 := r.ReadMapStart()
|
||||||
if yyl25 == 0 {
|
if yyl2 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromMap(yyl25, d)
|
x.codecDecodeSelfFromMap(yyl2, d)
|
||||||
}
|
}
|
||||||
} else if yyct25 == codecSelferValueTypeArray1234 {
|
} else if yyct2 == codecSelferValueTypeArray1234 {
|
||||||
yyl25 := r.ReadArrayStart()
|
yyl2 := r.ReadArrayStart()
|
||||||
if yyl25 == 0 {
|
if yyl2 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromArray(yyl25, d)
|
x.codecDecodeSelfFromArray(yyl2, d)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
||||||
@ -314,12 +314,12 @@ func (x *TestStruct) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yys26Slc = z.DecScratchBuffer() // default slice to decode into
|
var yys3Slc = z.DecScratchBuffer() // default slice to decode into
|
||||||
_ = yys26Slc
|
_ = yys3Slc
|
||||||
var yyhl26 bool = l >= 0
|
var yyhl3 bool = l >= 0
|
||||||
for yyj26 := 0; ; yyj26++ {
|
for yyj3 := 0; ; yyj3++ {
|
||||||
if yyhl26 {
|
if yyhl3 {
|
||||||
if yyj26 >= l {
|
if yyj3 >= l {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -328,75 +328,93 @@ func (x *TestStruct) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
yys26Slc = r.DecodeBytes(yys26Slc, true, true)
|
yys3Slc = r.DecodeBytes(yys3Slc, true, true)
|
||||||
yys26 := string(yys26Slc)
|
yys3 := string(yys3Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys26 {
|
switch yys3 {
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
x.Kind = string(r.DecodeString())
|
yyv4 := &x.Kind
|
||||||
|
yym5 := z.DecBinary()
|
||||||
|
_ = yym5
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv4)) = r.DecodeString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case "apiVersion":
|
case "apiVersion":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.APIVersion = ""
|
x.APIVersion = ""
|
||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
yyv6 := &x.APIVersion
|
||||||
|
yym7 := z.DecBinary()
|
||||||
|
_ = yym7
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv6)) = r.DecodeString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case "metadata":
|
case "metadata":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv29 := &x.ObjectMeta
|
yyv8 := &x.ObjectMeta
|
||||||
yyv29.CodecDecodeSelf(d)
|
yyv8.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
case "Key":
|
case "Key":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Key = ""
|
x.Key = ""
|
||||||
} else {
|
} else {
|
||||||
x.Key = string(r.DecodeString())
|
yyv9 := &x.Key
|
||||||
|
yym10 := z.DecBinary()
|
||||||
|
_ = yym10
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv9)) = r.DecodeString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case "Map":
|
case "Map":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Map = nil
|
x.Map = nil
|
||||||
} else {
|
} else {
|
||||||
yyv31 := &x.Map
|
yyv11 := &x.Map
|
||||||
yym32 := z.DecBinary()
|
yym12 := z.DecBinary()
|
||||||
_ = yym32
|
_ = yym12
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecMapStringIntX(yyv31, false, d)
|
z.F.DecMapStringIntX(yyv11, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case "StringList":
|
case "StringList":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.StringList = nil
|
x.StringList = nil
|
||||||
} else {
|
} else {
|
||||||
yyv33 := &x.StringList
|
yyv13 := &x.StringList
|
||||||
yym34 := z.DecBinary()
|
yym14 := z.DecBinary()
|
||||||
_ = yym34
|
_ = yym14
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecSliceStringX(yyv33, false, d)
|
z.F.DecSliceStringX(yyv13, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case "IntList":
|
case "IntList":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.IntList = nil
|
x.IntList = nil
|
||||||
} else {
|
} else {
|
||||||
yyv35 := &x.IntList
|
yyv15 := &x.IntList
|
||||||
yym36 := z.DecBinary()
|
yym16 := z.DecBinary()
|
||||||
_ = yym36
|
_ = yym16
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecSliceIntX(yyv35, false, d)
|
z.F.DecSliceIntX(yyv15, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys26)
|
z.DecStructFieldNotFound(-1, yys3)
|
||||||
} // end switch yys26
|
} // end switch yys3
|
||||||
} // end for yyj26
|
} // end for yyj3
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -404,16 +422,16 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yyj37 int
|
var yyj17 int
|
||||||
var yyb37 bool
|
var yyb17 bool
|
||||||
var yyhl37 bool = l >= 0
|
var yyhl17 bool = l >= 0
|
||||||
yyj37++
|
yyj17++
|
||||||
if yyhl37 {
|
if yyhl17 {
|
||||||
yyb37 = yyj37 > l
|
yyb17 = yyj17 > l
|
||||||
} else {
|
} else {
|
||||||
yyb37 = r.CheckBreak()
|
yyb17 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb37 {
|
if yyb17 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -421,15 +439,21 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
x.Kind = string(r.DecodeString())
|
yyv18 := &x.Kind
|
||||||
}
|
yym19 := z.DecBinary()
|
||||||
yyj37++
|
_ = yym19
|
||||||
if yyhl37 {
|
if false {
|
||||||
yyb37 = yyj37 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb37 = r.CheckBreak()
|
*((*string)(yyv18)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
if yyb37 {
|
}
|
||||||
|
yyj17++
|
||||||
|
if yyhl17 {
|
||||||
|
yyb17 = yyj17 > l
|
||||||
|
} else {
|
||||||
|
yyb17 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb17 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -437,15 +461,21 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.APIVersion = ""
|
x.APIVersion = ""
|
||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
yyv20 := &x.APIVersion
|
||||||
}
|
yym21 := z.DecBinary()
|
||||||
yyj37++
|
_ = yym21
|
||||||
if yyhl37 {
|
if false {
|
||||||
yyb37 = yyj37 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb37 = r.CheckBreak()
|
*((*string)(yyv20)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
if yyb37 {
|
}
|
||||||
|
yyj17++
|
||||||
|
if yyhl17 {
|
||||||
|
yyb17 = yyj17 > l
|
||||||
|
} else {
|
||||||
|
yyb17 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb17 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -453,16 +483,16 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv40 := &x.ObjectMeta
|
yyv22 := &x.ObjectMeta
|
||||||
yyv40.CodecDecodeSelf(d)
|
yyv22.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
yyj37++
|
yyj17++
|
||||||
if yyhl37 {
|
if yyhl17 {
|
||||||
yyb37 = yyj37 > l
|
yyb17 = yyj17 > l
|
||||||
} else {
|
} else {
|
||||||
yyb37 = r.CheckBreak()
|
yyb17 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb37 {
|
if yyb17 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -470,15 +500,21 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Key = ""
|
x.Key = ""
|
||||||
} else {
|
} else {
|
||||||
x.Key = string(r.DecodeString())
|
yyv23 := &x.Key
|
||||||
}
|
yym24 := z.DecBinary()
|
||||||
yyj37++
|
_ = yym24
|
||||||
if yyhl37 {
|
if false {
|
||||||
yyb37 = yyj37 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb37 = r.CheckBreak()
|
*((*string)(yyv23)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
if yyb37 {
|
}
|
||||||
|
yyj17++
|
||||||
|
if yyhl17 {
|
||||||
|
yyb17 = yyj17 > l
|
||||||
|
} else {
|
||||||
|
yyb17 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb17 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -486,21 +522,21 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Map = nil
|
x.Map = nil
|
||||||
} else {
|
} else {
|
||||||
yyv42 := &x.Map
|
yyv25 := &x.Map
|
||||||
yym43 := z.DecBinary()
|
yym26 := z.DecBinary()
|
||||||
_ = yym43
|
_ = yym26
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecMapStringIntX(yyv42, false, d)
|
z.F.DecMapStringIntX(yyv25, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj37++
|
yyj17++
|
||||||
if yyhl37 {
|
if yyhl17 {
|
||||||
yyb37 = yyj37 > l
|
yyb17 = yyj17 > l
|
||||||
} else {
|
} else {
|
||||||
yyb37 = r.CheckBreak()
|
yyb17 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb37 {
|
if yyb17 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -508,21 +544,21 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.StringList = nil
|
x.StringList = nil
|
||||||
} else {
|
} else {
|
||||||
yyv44 := &x.StringList
|
yyv27 := &x.StringList
|
||||||
yym45 := z.DecBinary()
|
yym28 := z.DecBinary()
|
||||||
_ = yym45
|
_ = yym28
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecSliceStringX(yyv44, false, d)
|
z.F.DecSliceStringX(yyv27, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
yyj37++
|
yyj17++
|
||||||
if yyhl37 {
|
if yyhl17 {
|
||||||
yyb37 = yyj37 > l
|
yyb17 = yyj17 > l
|
||||||
} else {
|
} else {
|
||||||
yyb37 = r.CheckBreak()
|
yyb17 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb37 {
|
if yyb17 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -530,26 +566,26 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.IntList = nil
|
x.IntList = nil
|
||||||
} else {
|
} else {
|
||||||
yyv46 := &x.IntList
|
yyv29 := &x.IntList
|
||||||
yym47 := z.DecBinary()
|
yym30 := z.DecBinary()
|
||||||
_ = yym47
|
_ = yym30
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecSliceIntX(yyv46, false, d)
|
z.F.DecSliceIntX(yyv29, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for {
|
for {
|
||||||
yyj37++
|
yyj17++
|
||||||
if yyhl37 {
|
if yyhl17 {
|
||||||
yyb37 = yyj37 > l
|
yyb17 = yyj17 > l
|
||||||
} else {
|
} else {
|
||||||
yyb37 = r.CheckBreak()
|
yyb17 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb37 {
|
if yyb17 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
z.DecStructFieldNotFound(yyj37-1, "")
|
z.DecStructFieldNotFound(yyj17-1, "")
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
}
|
}
|
||||||
|
@ -161,13 +161,13 @@ func (x *TestResource) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy11 := &x.ObjectMeta
|
yy12 := &x.ObjectMeta
|
||||||
yy11.CodecEncodeSelf(e)
|
yy12.CodecEncodeSelf(e)
|
||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
yym13 := z.EncBinary()
|
yym15 := z.EncBinary()
|
||||||
_ = yym13
|
_ = yym15
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeInt(int64(x.Value))
|
r.EncodeInt(int64(x.Value))
|
||||||
@ -176,8 +176,8 @@ func (x *TestResource) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("value"))
|
r.EncodeString(codecSelferC_UTF81234, string("value"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yym14 := z.EncBinary()
|
yym16 := z.EncBinary()
|
||||||
_ = yym14
|
_ = yym16
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeInt(int64(x.Value))
|
r.EncodeInt(int64(x.Value))
|
||||||
@ -196,25 +196,25 @@ func (x *TestResource) CodecDecodeSelf(d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
yym15 := z.DecBinary()
|
yym1 := z.DecBinary()
|
||||||
_ = yym15
|
_ = yym1
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.DecExt(x) {
|
} else if z.HasExtensions() && z.DecExt(x) {
|
||||||
} else {
|
} else {
|
||||||
yyct16 := r.ContainerType()
|
yyct2 := r.ContainerType()
|
||||||
if yyct16 == codecSelferValueTypeMap1234 {
|
if yyct2 == codecSelferValueTypeMap1234 {
|
||||||
yyl16 := r.ReadMapStart()
|
yyl2 := r.ReadMapStart()
|
||||||
if yyl16 == 0 {
|
if yyl2 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromMap(yyl16, d)
|
x.codecDecodeSelfFromMap(yyl2, d)
|
||||||
}
|
}
|
||||||
} else if yyct16 == codecSelferValueTypeArray1234 {
|
} else if yyct2 == codecSelferValueTypeArray1234 {
|
||||||
yyl16 := r.ReadArrayStart()
|
yyl2 := r.ReadArrayStart()
|
||||||
if yyl16 == 0 {
|
if yyl2 == 0 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
} else {
|
} else {
|
||||||
x.codecDecodeSelfFromArray(yyl16, d)
|
x.codecDecodeSelfFromArray(yyl2, d)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234)
|
||||||
@ -226,12 +226,12 @@ func (x *TestResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yys17Slc = z.DecScratchBuffer() // default slice to decode into
|
var yys3Slc = z.DecScratchBuffer() // default slice to decode into
|
||||||
_ = yys17Slc
|
_ = yys3Slc
|
||||||
var yyhl17 bool = l >= 0
|
var yyhl3 bool = l >= 0
|
||||||
for yyj17 := 0; ; yyj17++ {
|
for yyj3 := 0; ; yyj3++ {
|
||||||
if yyhl17 {
|
if yyhl3 {
|
||||||
if yyj17 >= l {
|
if yyj3 >= l {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -240,39 +240,57 @@ func (x *TestResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
z.DecSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
yys17Slc = r.DecodeBytes(yys17Slc, true, true)
|
yys3Slc = r.DecodeBytes(yys3Slc, true, true)
|
||||||
yys17 := string(yys17Slc)
|
yys3 := string(yys3Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys17 {
|
switch yys3 {
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
x.Kind = string(r.DecodeString())
|
yyv4 := &x.Kind
|
||||||
|
yym5 := z.DecBinary()
|
||||||
|
_ = yym5
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv4)) = r.DecodeString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case "apiVersion":
|
case "apiVersion":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.APIVersion = ""
|
x.APIVersion = ""
|
||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
yyv6 := &x.APIVersion
|
||||||
|
yym7 := z.DecBinary()
|
||||||
|
_ = yym7
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*string)(yyv6)) = r.DecodeString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case "metadata":
|
case "metadata":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv20 := &x.ObjectMeta
|
yyv8 := &x.ObjectMeta
|
||||||
yyv20.CodecDecodeSelf(d)
|
yyv8.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
case "value":
|
case "value":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Value = 0
|
x.Value = 0
|
||||||
} else {
|
} else {
|
||||||
x.Value = int(r.DecodeInt(codecSelferBitsize1234))
|
yyv9 := &x.Value
|
||||||
|
yym10 := z.DecBinary()
|
||||||
|
_ = yym10
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*int)(yyv9)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys17)
|
z.DecStructFieldNotFound(-1, yys3)
|
||||||
} // end switch yys17
|
} // end switch yys3
|
||||||
} // end for yyj17
|
} // end for yyj3
|
||||||
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
z.DecSendContainerState(codecSelfer_containerMapEnd1234)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -280,16 +298,16 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
var h codecSelfer1234
|
var h codecSelfer1234
|
||||||
z, r := codec1978.GenHelperDecoder(d)
|
z, r := codec1978.GenHelperDecoder(d)
|
||||||
_, _, _ = h, z, r
|
_, _, _ = h, z, r
|
||||||
var yyj22 int
|
var yyj11 int
|
||||||
var yyb22 bool
|
var yyb11 bool
|
||||||
var yyhl22 bool = l >= 0
|
var yyhl11 bool = l >= 0
|
||||||
yyj22++
|
yyj11++
|
||||||
if yyhl22 {
|
if yyhl11 {
|
||||||
yyb22 = yyj22 > l
|
yyb11 = yyj11 > l
|
||||||
} else {
|
} else {
|
||||||
yyb22 = r.CheckBreak()
|
yyb11 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb22 {
|
if yyb11 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -297,15 +315,21 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
x.Kind = string(r.DecodeString())
|
yyv12 := &x.Kind
|
||||||
}
|
yym13 := z.DecBinary()
|
||||||
yyj22++
|
_ = yym13
|
||||||
if yyhl22 {
|
if false {
|
||||||
yyb22 = yyj22 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb22 = r.CheckBreak()
|
*((*string)(yyv12)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
if yyb22 {
|
}
|
||||||
|
yyj11++
|
||||||
|
if yyhl11 {
|
||||||
|
yyb11 = yyj11 > l
|
||||||
|
} else {
|
||||||
|
yyb11 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb11 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -313,15 +337,21 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.APIVersion = ""
|
x.APIVersion = ""
|
||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
yyv14 := &x.APIVersion
|
||||||
}
|
yym15 := z.DecBinary()
|
||||||
yyj22++
|
_ = yym15
|
||||||
if yyhl22 {
|
if false {
|
||||||
yyb22 = yyj22 > l
|
|
||||||
} else {
|
} else {
|
||||||
yyb22 = r.CheckBreak()
|
*((*string)(yyv14)) = r.DecodeString()
|
||||||
}
|
}
|
||||||
if yyb22 {
|
}
|
||||||
|
yyj11++
|
||||||
|
if yyhl11 {
|
||||||
|
yyb11 = yyj11 > l
|
||||||
|
} else {
|
||||||
|
yyb11 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb11 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -329,16 +359,16 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
x.ObjectMeta = pkg2_v1.ObjectMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv25 := &x.ObjectMeta
|
yyv16 := &x.ObjectMeta
|
||||||
yyv25.CodecDecodeSelf(d)
|
yyv16.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
yyj22++
|
yyj11++
|
||||||
if yyhl22 {
|
if yyhl11 {
|
||||||
yyb22 = yyj22 > l
|
yyb11 = yyj11 > l
|
||||||
} else {
|
} else {
|
||||||
yyb22 = r.CheckBreak()
|
yyb11 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb22 {
|
if yyb11 {
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -346,20 +376,26 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Value = 0
|
x.Value = 0
|
||||||
} else {
|
} else {
|
||||||
x.Value = int(r.DecodeInt(codecSelferBitsize1234))
|
yyv17 := &x.Value
|
||||||
|
yym18 := z.DecBinary()
|
||||||
|
_ = yym18
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
*((*int)(yyv17)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for {
|
for {
|
||||||
yyj22++
|
yyj11++
|
||||||
if yyhl22 {
|
if yyhl11 {
|
||||||
yyb22 = yyj22 > l
|
yyb11 = yyj11 > l
|
||||||
} else {
|
} else {
|
||||||
yyb22 = r.CheckBreak()
|
yyb11 = r.CheckBreak()
|
||||||
}
|
}
|
||||||
if yyb22 {
|
if yyb11 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
z.DecStructFieldNotFound(yyj22-1, "")
|
z.DecStructFieldNotFound(yyj11-1, "")
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user