Commit 2741eb7f authored by Dr. Stefan Schimanski's avatar Dr. Stefan Schimanski

Update generated files

parent 59dfbe44
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -41,7 +41,6 @@ go_library( ...@@ -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",
], ],
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -161,13 +161,13 @@ func (x *TestResource) CodecEncodeSelf(e *codec1978.Encoder) { ...@@ -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) { ...@@ -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) { ...@@ -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) { ...@@ -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) { ...@@ -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) { ...@@ -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) { ...@@ -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()
_ = yym13
if false {
} else {
*((*string)(yyv12)) = r.DecodeString()
}
} }
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
} }
...@@ -313,15 +337,21 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { ...@@ -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()
_ = yym15
if false {
} else {
*((*string)(yyv14)) = r.DecodeString()
}
} }
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
} }
...@@ -329,16 +359,16 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { ...@@ -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) { ...@@ -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)
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment