mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 21:12:07 +00:00
Regenerate types.go
This commit is contained in:
parent
6445aaadcc
commit
545f6be573
@ -88,10 +88,10 @@ func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq2 [4]bool
|
var yyq2 [4]bool
|
||||||
_, _, _ = yysep2, yyq2, yy2arr2
|
_, _, _ = yysep2, yyq2, yy2arr2
|
||||||
const yyr2 bool = false
|
const yyr2 bool = false
|
||||||
yyq2[0] = x.Kind != ""
|
yyq2[0] = true
|
||||||
yyq2[1] = x.APIVersion != ""
|
yyq2[1] = true
|
||||||
yyq2[2] = true
|
yyq2[2] = x.Kind != ""
|
||||||
yyq2[3] = true
|
yyq2[3] = x.APIVersion != ""
|
||||||
var yynn2 int
|
var yynn2 int
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
r.EncodeArrayStart(4)
|
r.EncodeArrayStart(4)
|
||||||
@ -108,22 +108,56 @@ func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq2[0] {
|
if yyq2[0] {
|
||||||
yym4 := z.EncBinary()
|
yy4 := &x.ObjectMeta
|
||||||
_ = yym4
|
yy4.CodecEncodeSelf(e)
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
r.EncodeNil()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq2[0] {
|
if yyq2[0] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yy5 := &x.ObjectMeta
|
||||||
|
yy5.CodecEncodeSelf(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr2 || yy2arr2 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[1] {
|
||||||
|
yy7 := &x.Status
|
||||||
|
yy7.CodecEncodeSelf(e)
|
||||||
|
} else {
|
||||||
|
r.EncodeNil()
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[1] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("status"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yy8 := &x.Status
|
||||||
|
yy8.CodecEncodeSelf(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr2 || yy2arr2 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[2] {
|
||||||
|
yym10 := z.EncBinary()
|
||||||
|
_ = yym10
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[2] {
|
||||||
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)
|
||||||
yym5 := z.EncBinary()
|
yym11 := z.EncBinary()
|
||||||
_ = yym5
|
_ = yym11
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
@ -132,9 +166,9 @@ func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq2[1] {
|
if yyq2[3] {
|
||||||
yym7 := z.EncBinary()
|
yym13 := z.EncBinary()
|
||||||
_ = yym7
|
_ = yym13
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
@ -143,52 +177,18 @@ func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq2[1] {
|
if yyq2[3] {
|
||||||
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)
|
||||||
yym8 := z.EncBinary()
|
yym14 := z.EncBinary()
|
||||||
_ = yym8
|
_ = yym14
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq2[2] {
|
|
||||||
yy10 := &x.ObjectMeta
|
|
||||||
yy10.CodecEncodeSelf(e)
|
|
||||||
} else {
|
|
||||||
r.EncodeNil()
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq2[2] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yy11 := &x.ObjectMeta
|
|
||||||
yy11.CodecEncodeSelf(e)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr2 || yy2arr2 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq2[3] {
|
|
||||||
yy13 := &x.Status
|
|
||||||
yy13.CodecEncodeSelf(e)
|
|
||||||
} else {
|
|
||||||
r.EncodeNil()
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq2[3] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("status"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yy14 := &x.Status
|
|
||||||
yy14.CodecEncodeSelf(e)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
} else {
|
} else {
|
||||||
@ -250,6 +250,20 @@ func (x *TestType) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
yys17 := string(yys17Slc)
|
yys17 := string(yys17Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys17 {
|
switch yys17 {
|
||||||
|
case "metadata":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
||||||
|
} else {
|
||||||
|
yyv18 := &x.ObjectMeta
|
||||||
|
yyv18.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
case "status":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = TestTypeStatus{}
|
||||||
|
} else {
|
||||||
|
yyv19 := &x.Status
|
||||||
|
yyv19.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
@ -262,20 +276,6 @@ func (x *TestType) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
case "metadata":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
|
||||||
} else {
|
|
||||||
yyv20 := &x.ObjectMeta
|
|
||||||
yyv20.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
case "status":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = TestTypeStatus{}
|
|
||||||
} else {
|
|
||||||
yyv21 := &x.Status
|
|
||||||
yyv21.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys17)
|
z.DecStructFieldNotFound(-1, yys17)
|
||||||
} // end switch yys17
|
} // end switch yys17
|
||||||
@ -301,6 +301,40 @@ func (x *TestType) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
||||||
|
} else {
|
||||||
|
yyv23 := &x.ObjectMeta
|
||||||
|
yyv23.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj22++
|
||||||
|
if yyhl22 {
|
||||||
|
yyb22 = yyj22 > l
|
||||||
|
} else {
|
||||||
|
yyb22 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb22 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = TestTypeStatus{}
|
||||||
|
} else {
|
||||||
|
yyv24 := &x.Status
|
||||||
|
yyv24.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj22++
|
||||||
|
if yyhl22 {
|
||||||
|
yyb22 = yyj22 > l
|
||||||
|
} else {
|
||||||
|
yyb22 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb22 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
@ -322,40 +356,6 @@ func (x *TestType) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj22++
|
|
||||||
if yyhl22 {
|
|
||||||
yyb22 = yyj22 > l
|
|
||||||
} else {
|
|
||||||
yyb22 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb22 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
|
||||||
} else {
|
|
||||||
yyv25 := &x.ObjectMeta
|
|
||||||
yyv25.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
yyj22++
|
|
||||||
if yyhl22 {
|
|
||||||
yyb22 = yyj22 > l
|
|
||||||
} else {
|
|
||||||
yyb22 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb22 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = TestTypeStatus{}
|
|
||||||
} else {
|
|
||||||
yyv26 := &x.Status
|
|
||||||
yyv26.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
for {
|
for {
|
||||||
yyj22++
|
yyj22++
|
||||||
if yyhl22 {
|
if yyhl22 {
|
||||||
@ -389,9 +389,9 @@ func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq28 [4]bool
|
var yyq28 [4]bool
|
||||||
_, _, _ = yysep28, yyq28, yy2arr28
|
_, _, _ = yysep28, yyq28, yy2arr28
|
||||||
const yyr28 bool = false
|
const yyr28 bool = false
|
||||||
yyq28[0] = x.Kind != ""
|
yyq28[0] = true
|
||||||
yyq28[1] = x.APIVersion != ""
|
yyq28[2] = x.Kind != ""
|
||||||
yyq28[2] = true
|
yyq28[3] = x.APIVersion != ""
|
||||||
var yynn28 int
|
var yynn28 int
|
||||||
if yyr28 || yy2arr28 {
|
if yyr28 || yy2arr28 {
|
||||||
r.EncodeArrayStart(4)
|
r.EncodeArrayStart(4)
|
||||||
@ -408,79 +408,29 @@ func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if yyr28 || yy2arr28 {
|
if yyr28 || yy2arr28 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq28[0] {
|
if yyq28[0] {
|
||||||
yym30 := z.EncBinary()
|
yy30 := &x.ListMeta
|
||||||
_ = yym30
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq28[0] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym31 := z.EncBinary()
|
yym31 := z.EncBinary()
|
||||||
_ = yym31
|
_ = yym31
|
||||||
if false {
|
if false {
|
||||||
|
} else if z.HasExtensions() && z.EncExt(yy30) {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
z.EncFallback(yy30)
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr28 || yy2arr28 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq28[1] {
|
|
||||||
yym33 := z.EncBinary()
|
|
||||||
_ = yym33
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq28[1] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym34 := z.EncBinary()
|
|
||||||
_ = yym34
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr28 || yy2arr28 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq28[2] {
|
|
||||||
yy36 := &x.ListMeta
|
|
||||||
yym37 := z.EncBinary()
|
|
||||||
_ = yym37
|
|
||||||
if false {
|
|
||||||
} else if z.HasExtensions() && z.EncExt(yy36) {
|
|
||||||
} else {
|
|
||||||
z.EncFallback(yy36)
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq28[2] {
|
if yyq28[0] {
|
||||||
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)
|
||||||
yy38 := &x.ListMeta
|
yy32 := &x.ListMeta
|
||||||
yym39 := z.EncBinary()
|
yym33 := z.EncBinary()
|
||||||
_ = yym39
|
_ = yym33
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.EncExt(yy38) {
|
} else if z.HasExtensions() && z.EncExt(yy32) {
|
||||||
} else {
|
} else {
|
||||||
z.EncFallback(yy38)
|
z.EncFallback(yy32)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -489,8 +439,8 @@ func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.Items == nil {
|
if x.Items == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym41 := z.EncBinary()
|
yym35 := z.EncBinary()
|
||||||
_ = yym41
|
_ = yym35
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.encSliceTestType(([]TestType)(x.Items), e)
|
h.encSliceTestType(([]TestType)(x.Items), e)
|
||||||
@ -503,11 +453,61 @@ func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.Items == nil {
|
if x.Items == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
|
yym36 := z.EncBinary()
|
||||||
|
_ = yym36
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
h.encSliceTestType(([]TestType)(x.Items), e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr28 || yy2arr28 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq28[2] {
|
||||||
|
yym38 := z.EncBinary()
|
||||||
|
_ = yym38
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq28[2] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym39 := z.EncBinary()
|
||||||
|
_ = yym39
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr28 || yy2arr28 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq28[3] {
|
||||||
|
yym41 := z.EncBinary()
|
||||||
|
_ = yym41
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq28[3] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yym42 := z.EncBinary()
|
yym42 := z.EncBinary()
|
||||||
_ = yym42
|
_ = yym42
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.encSliceTestType(([]TestType)(x.Items), e)
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -572,6 +572,31 @@ func (x *TestTypeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
yys45 := string(yys45Slc)
|
yys45 := string(yys45Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys45 {
|
switch yys45 {
|
||||||
|
case "metadata":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.ListMeta = pkg1_unversioned.ListMeta{}
|
||||||
|
} else {
|
||||||
|
yyv46 := &x.ListMeta
|
||||||
|
yym47 := z.DecBinary()
|
||||||
|
_ = yym47
|
||||||
|
if false {
|
||||||
|
} else if z.HasExtensions() && z.DecExt(yyv46) {
|
||||||
|
} else {
|
||||||
|
z.DecFallback(yyv46, false)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case "items":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Items = nil
|
||||||
|
} else {
|
||||||
|
yyv48 := &x.Items
|
||||||
|
yym49 := z.DecBinary()
|
||||||
|
_ = yym49
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
h.decSliceTestType((*[]TestType)(yyv48), d)
|
||||||
|
}
|
||||||
|
}
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
@ -584,31 +609,6 @@ func (x *TestTypeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
case "metadata":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.ListMeta = pkg1_unversioned.ListMeta{}
|
|
||||||
} else {
|
|
||||||
yyv48 := &x.ListMeta
|
|
||||||
yym49 := z.DecBinary()
|
|
||||||
_ = yym49
|
|
||||||
if false {
|
|
||||||
} else if z.HasExtensions() && z.DecExt(yyv48) {
|
|
||||||
} else {
|
|
||||||
z.DecFallback(yyv48, false)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case "items":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Items = nil
|
|
||||||
} else {
|
|
||||||
yyv50 := &x.Items
|
|
||||||
yym51 := z.DecBinary()
|
|
||||||
_ = yym51
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
h.decSliceTestType((*[]TestType)(yyv50), d)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys45)
|
z.DecStructFieldNotFound(-1, yys45)
|
||||||
} // end switch yys45
|
} // end switch yys45
|
||||||
@ -634,6 +634,51 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.ListMeta = pkg1_unversioned.ListMeta{}
|
||||||
|
} else {
|
||||||
|
yyv53 := &x.ListMeta
|
||||||
|
yym54 := z.DecBinary()
|
||||||
|
_ = yym54
|
||||||
|
if false {
|
||||||
|
} else if z.HasExtensions() && z.DecExt(yyv53) {
|
||||||
|
} else {
|
||||||
|
z.DecFallback(yyv53, false)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
yyj52++
|
||||||
|
if yyhl52 {
|
||||||
|
yyb52 = yyj52 > l
|
||||||
|
} else {
|
||||||
|
yyb52 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb52 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Items = nil
|
||||||
|
} else {
|
||||||
|
yyv55 := &x.Items
|
||||||
|
yym56 := z.DecBinary()
|
||||||
|
_ = yym56
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
h.decSliceTestType((*[]TestType)(yyv55), d)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
yyj52++
|
||||||
|
if yyhl52 {
|
||||||
|
yyb52 = yyj52 > l
|
||||||
|
} else {
|
||||||
|
yyb52 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb52 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
@ -655,51 +700,6 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj52++
|
|
||||||
if yyhl52 {
|
|
||||||
yyb52 = yyj52 > l
|
|
||||||
} else {
|
|
||||||
yyb52 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb52 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.ListMeta = pkg1_unversioned.ListMeta{}
|
|
||||||
} else {
|
|
||||||
yyv55 := &x.ListMeta
|
|
||||||
yym56 := z.DecBinary()
|
|
||||||
_ = yym56
|
|
||||||
if false {
|
|
||||||
} else if z.HasExtensions() && z.DecExt(yyv55) {
|
|
||||||
} else {
|
|
||||||
z.DecFallback(yyv55, false)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
yyj52++
|
|
||||||
if yyhl52 {
|
|
||||||
yyb52 = yyj52 > l
|
|
||||||
} else {
|
|
||||||
yyb52 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb52 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Items = nil
|
|
||||||
} else {
|
|
||||||
yyv57 := &x.Items
|
|
||||||
yym58 := z.DecBinary()
|
|
||||||
_ = yym58
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
h.decSliceTestType((*[]TestType)(yyv57), d)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for {
|
for {
|
||||||
yyj52++
|
yyj52++
|
||||||
if yyhl52 {
|
if yyhl52 {
|
||||||
|
@ -88,10 +88,10 @@ func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq2 [4]bool
|
var yyq2 [4]bool
|
||||||
_, _, _ = yysep2, yyq2, yy2arr2
|
_, _, _ = yysep2, yyq2, yy2arr2
|
||||||
const yyr2 bool = false
|
const yyr2 bool = false
|
||||||
yyq2[0] = x.Kind != ""
|
yyq2[0] = true
|
||||||
yyq2[1] = x.APIVersion != ""
|
yyq2[1] = true
|
||||||
yyq2[2] = true
|
yyq2[2] = x.Kind != ""
|
||||||
yyq2[3] = true
|
yyq2[3] = x.APIVersion != ""
|
||||||
var yynn2 int
|
var yynn2 int
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
r.EncodeArrayStart(4)
|
r.EncodeArrayStart(4)
|
||||||
@ -108,22 +108,56 @@ func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq2[0] {
|
if yyq2[0] {
|
||||||
yym4 := z.EncBinary()
|
yy4 := &x.ObjectMeta
|
||||||
_ = yym4
|
yy4.CodecEncodeSelf(e)
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
r.EncodeNil()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq2[0] {
|
if yyq2[0] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yy5 := &x.ObjectMeta
|
||||||
|
yy5.CodecEncodeSelf(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr2 || yy2arr2 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[1] {
|
||||||
|
yy7 := &x.Status
|
||||||
|
yy7.CodecEncodeSelf(e)
|
||||||
|
} else {
|
||||||
|
r.EncodeNil()
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[1] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("status"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yy8 := &x.Status
|
||||||
|
yy8.CodecEncodeSelf(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr2 || yy2arr2 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[2] {
|
||||||
|
yym10 := z.EncBinary()
|
||||||
|
_ = yym10
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[2] {
|
||||||
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)
|
||||||
yym5 := z.EncBinary()
|
yym11 := z.EncBinary()
|
||||||
_ = yym5
|
_ = yym11
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
@ -132,9 +166,9 @@ func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq2[1] {
|
if yyq2[3] {
|
||||||
yym7 := z.EncBinary()
|
yym13 := z.EncBinary()
|
||||||
_ = yym7
|
_ = yym13
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
@ -143,52 +177,18 @@ func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq2[1] {
|
if yyq2[3] {
|
||||||
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)
|
||||||
yym8 := z.EncBinary()
|
yym14 := z.EncBinary()
|
||||||
_ = yym8
|
_ = yym14
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq2[2] {
|
|
||||||
yy10 := &x.ObjectMeta
|
|
||||||
yy10.CodecEncodeSelf(e)
|
|
||||||
} else {
|
|
||||||
r.EncodeNil()
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq2[2] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("metadata"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yy11 := &x.ObjectMeta
|
|
||||||
yy11.CodecEncodeSelf(e)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr2 || yy2arr2 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq2[3] {
|
|
||||||
yy13 := &x.Status
|
|
||||||
yy13.CodecEncodeSelf(e)
|
|
||||||
} else {
|
|
||||||
r.EncodeNil()
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq2[3] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("status"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yy14 := &x.Status
|
|
||||||
yy14.CodecEncodeSelf(e)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
} else {
|
} else {
|
||||||
@ -250,6 +250,20 @@ func (x *TestType) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
yys17 := string(yys17Slc)
|
yys17 := string(yys17Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys17 {
|
switch yys17 {
|
||||||
|
case "metadata":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
||||||
|
} else {
|
||||||
|
yyv18 := &x.ObjectMeta
|
||||||
|
yyv18.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
case "status":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = TestTypeStatus{}
|
||||||
|
} else {
|
||||||
|
yyv19 := &x.Status
|
||||||
|
yyv19.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
@ -262,20 +276,6 @@ func (x *TestType) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
case "metadata":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
|
||||||
} else {
|
|
||||||
yyv20 := &x.ObjectMeta
|
|
||||||
yyv20.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
case "status":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = TestTypeStatus{}
|
|
||||||
} else {
|
|
||||||
yyv21 := &x.Status
|
|
||||||
yyv21.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys17)
|
z.DecStructFieldNotFound(-1, yys17)
|
||||||
} // end switch yys17
|
} // end switch yys17
|
||||||
@ -301,6 +301,40 @@ func (x *TestType) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
||||||
|
} else {
|
||||||
|
yyv23 := &x.ObjectMeta
|
||||||
|
yyv23.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj22++
|
||||||
|
if yyhl22 {
|
||||||
|
yyb22 = yyj22 > l
|
||||||
|
} else {
|
||||||
|
yyb22 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb22 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = TestTypeStatus{}
|
||||||
|
} else {
|
||||||
|
yyv24 := &x.Status
|
||||||
|
yyv24.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj22++
|
||||||
|
if yyhl22 {
|
||||||
|
yyb22 = yyj22 > l
|
||||||
|
} else {
|
||||||
|
yyb22 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb22 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
@ -322,40 +356,6 @@ func (x *TestType) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj22++
|
|
||||||
if yyhl22 {
|
|
||||||
yyb22 = yyj22 > l
|
|
||||||
} else {
|
|
||||||
yyb22 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb22 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
|
||||||
} else {
|
|
||||||
yyv25 := &x.ObjectMeta
|
|
||||||
yyv25.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
yyj22++
|
|
||||||
if yyhl22 {
|
|
||||||
yyb22 = yyj22 > l
|
|
||||||
} else {
|
|
||||||
yyb22 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb22 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = TestTypeStatus{}
|
|
||||||
} else {
|
|
||||||
yyv26 := &x.Status
|
|
||||||
yyv26.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
for {
|
for {
|
||||||
yyj22++
|
yyj22++
|
||||||
if yyhl22 {
|
if yyhl22 {
|
||||||
@ -389,9 +389,9 @@ func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq28 [4]bool
|
var yyq28 [4]bool
|
||||||
_, _, _ = yysep28, yyq28, yy2arr28
|
_, _, _ = yysep28, yyq28, yy2arr28
|
||||||
const yyr28 bool = false
|
const yyr28 bool = false
|
||||||
yyq28[0] = x.Kind != ""
|
yyq28[0] = true
|
||||||
yyq28[1] = x.APIVersion != ""
|
yyq28[2] = x.Kind != ""
|
||||||
yyq28[2] = true
|
yyq28[3] = x.APIVersion != ""
|
||||||
var yynn28 int
|
var yynn28 int
|
||||||
if yyr28 || yy2arr28 {
|
if yyr28 || yy2arr28 {
|
||||||
r.EncodeArrayStart(4)
|
r.EncodeArrayStart(4)
|
||||||
@ -408,79 +408,29 @@ func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if yyr28 || yy2arr28 {
|
if yyr28 || yy2arr28 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq28[0] {
|
if yyq28[0] {
|
||||||
yym30 := z.EncBinary()
|
yy30 := &x.ListMeta
|
||||||
_ = yym30
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq28[0] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym31 := z.EncBinary()
|
yym31 := z.EncBinary()
|
||||||
_ = yym31
|
_ = yym31
|
||||||
if false {
|
if false {
|
||||||
|
} else if z.HasExtensions() && z.EncExt(yy30) {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
z.EncFallback(yy30)
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr28 || yy2arr28 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq28[1] {
|
|
||||||
yym33 := z.EncBinary()
|
|
||||||
_ = yym33
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq28[1] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym34 := z.EncBinary()
|
|
||||||
_ = yym34
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr28 || yy2arr28 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq28[2] {
|
|
||||||
yy36 := &x.ListMeta
|
|
||||||
yym37 := z.EncBinary()
|
|
||||||
_ = yym37
|
|
||||||
if false {
|
|
||||||
} else if z.HasExtensions() && z.EncExt(yy36) {
|
|
||||||
} else {
|
|
||||||
z.EncFallback(yy36)
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq28[2] {
|
if yyq28[0] {
|
||||||
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)
|
||||||
yy38 := &x.ListMeta
|
yy32 := &x.ListMeta
|
||||||
yym39 := z.EncBinary()
|
yym33 := z.EncBinary()
|
||||||
_ = yym39
|
_ = yym33
|
||||||
if false {
|
if false {
|
||||||
} else if z.HasExtensions() && z.EncExt(yy38) {
|
} else if z.HasExtensions() && z.EncExt(yy32) {
|
||||||
} else {
|
} else {
|
||||||
z.EncFallback(yy38)
|
z.EncFallback(yy32)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -489,8 +439,8 @@ func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.Items == nil {
|
if x.Items == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
yym41 := z.EncBinary()
|
yym35 := z.EncBinary()
|
||||||
_ = yym41
|
_ = yym35
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.encSliceTestType(([]TestType)(x.Items), e)
|
h.encSliceTestType(([]TestType)(x.Items), e)
|
||||||
@ -503,11 +453,61 @@ func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.Items == nil {
|
if x.Items == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
|
yym36 := z.EncBinary()
|
||||||
|
_ = yym36
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
h.encSliceTestType(([]TestType)(x.Items), e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr28 || yy2arr28 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq28[2] {
|
||||||
|
yym38 := z.EncBinary()
|
||||||
|
_ = yym38
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq28[2] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym39 := z.EncBinary()
|
||||||
|
_ = yym39
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr28 || yy2arr28 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq28[3] {
|
||||||
|
yym41 := z.EncBinary()
|
||||||
|
_ = yym41
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq28[3] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yym42 := z.EncBinary()
|
yym42 := z.EncBinary()
|
||||||
_ = yym42
|
_ = yym42
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
h.encSliceTestType(([]TestType)(x.Items), e)
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -572,6 +572,31 @@ func (x *TestTypeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
yys45 := string(yys45Slc)
|
yys45 := string(yys45Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys45 {
|
switch yys45 {
|
||||||
|
case "metadata":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.ListMeta = pkg1_unversioned.ListMeta{}
|
||||||
|
} else {
|
||||||
|
yyv46 := &x.ListMeta
|
||||||
|
yym47 := z.DecBinary()
|
||||||
|
_ = yym47
|
||||||
|
if false {
|
||||||
|
} else if z.HasExtensions() && z.DecExt(yyv46) {
|
||||||
|
} else {
|
||||||
|
z.DecFallback(yyv46, false)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case "items":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Items = nil
|
||||||
|
} else {
|
||||||
|
yyv48 := &x.Items
|
||||||
|
yym49 := z.DecBinary()
|
||||||
|
_ = yym49
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
h.decSliceTestType((*[]TestType)(yyv48), d)
|
||||||
|
}
|
||||||
|
}
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
@ -584,31 +609,6 @@ func (x *TestTypeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
case "metadata":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.ListMeta = pkg1_unversioned.ListMeta{}
|
|
||||||
} else {
|
|
||||||
yyv48 := &x.ListMeta
|
|
||||||
yym49 := z.DecBinary()
|
|
||||||
_ = yym49
|
|
||||||
if false {
|
|
||||||
} else if z.HasExtensions() && z.DecExt(yyv48) {
|
|
||||||
} else {
|
|
||||||
z.DecFallback(yyv48, false)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
case "items":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Items = nil
|
|
||||||
} else {
|
|
||||||
yyv50 := &x.Items
|
|
||||||
yym51 := z.DecBinary()
|
|
||||||
_ = yym51
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
h.decSliceTestType((*[]TestType)(yyv50), d)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys45)
|
z.DecStructFieldNotFound(-1, yys45)
|
||||||
} // end switch yys45
|
} // end switch yys45
|
||||||
@ -634,6 +634,51 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.ListMeta = pkg1_unversioned.ListMeta{}
|
||||||
|
} else {
|
||||||
|
yyv53 := &x.ListMeta
|
||||||
|
yym54 := z.DecBinary()
|
||||||
|
_ = yym54
|
||||||
|
if false {
|
||||||
|
} else if z.HasExtensions() && z.DecExt(yyv53) {
|
||||||
|
} else {
|
||||||
|
z.DecFallback(yyv53, false)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
yyj52++
|
||||||
|
if yyhl52 {
|
||||||
|
yyb52 = yyj52 > l
|
||||||
|
} else {
|
||||||
|
yyb52 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb52 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Items = nil
|
||||||
|
} else {
|
||||||
|
yyv55 := &x.Items
|
||||||
|
yym56 := z.DecBinary()
|
||||||
|
_ = yym56
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
h.decSliceTestType((*[]TestType)(yyv55), d)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
yyj52++
|
||||||
|
if yyhl52 {
|
||||||
|
yyb52 = yyj52 > l
|
||||||
|
} else {
|
||||||
|
yyb52 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb52 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
@ -655,51 +700,6 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj52++
|
|
||||||
if yyhl52 {
|
|
||||||
yyb52 = yyj52 > l
|
|
||||||
} else {
|
|
||||||
yyb52 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb52 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.ListMeta = pkg1_unversioned.ListMeta{}
|
|
||||||
} else {
|
|
||||||
yyv55 := &x.ListMeta
|
|
||||||
yym56 := z.DecBinary()
|
|
||||||
_ = yym56
|
|
||||||
if false {
|
|
||||||
} else if z.HasExtensions() && z.DecExt(yyv55) {
|
|
||||||
} else {
|
|
||||||
z.DecFallback(yyv55, false)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
yyj52++
|
|
||||||
if yyhl52 {
|
|
||||||
yyb52 = yyj52 > l
|
|
||||||
} else {
|
|
||||||
yyb52 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb52 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Items = nil
|
|
||||||
} else {
|
|
||||||
yyv57 := &x.Items
|
|
||||||
yym58 := z.DecBinary()
|
|
||||||
_ = yym58
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
h.decSliceTestType((*[]TestType)(yyv57), d)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for {
|
for {
|
||||||
yyj52++
|
yyj52++
|
||||||
if yyhl52 {
|
if yyhl52 {
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -82,8 +82,8 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq2 [4]bool
|
var yyq2 [4]bool
|
||||||
_, _, _ = yysep2, yyq2, yy2arr2
|
_, _, _ = yysep2, yyq2, yy2arr2
|
||||||
const yyr2 bool = false
|
const yyr2 bool = false
|
||||||
yyq2[0] = x.Kind != ""
|
yyq2[2] = x.Kind != ""
|
||||||
yyq2[1] = x.APIVersion != ""
|
yyq2[3] = x.APIVersion != ""
|
||||||
var yynn2 int
|
var yynn2 int
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
r.EncodeArrayStart(4)
|
r.EncodeArrayStart(4)
|
||||||
@ -99,75 +99,75 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq2[0] {
|
yy4 := &x.Spec
|
||||||
yym4 := z.EncBinary()
|
yy4.CodecEncodeSelf(e)
|
||||||
_ = yym4
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq2[0] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym5 := z.EncBinary()
|
|
||||||
_ = yym5
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr2 || yy2arr2 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq2[1] {
|
|
||||||
yym7 := z.EncBinary()
|
|
||||||
_ = yym7
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq2[1] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym8 := z.EncBinary()
|
|
||||||
_ = yym8
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr2 || yy2arr2 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
yy10 := &x.Spec
|
|
||||||
yy10.CodecEncodeSelf(e)
|
|
||||||
} else {
|
} else {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("Spec"))
|
r.EncodeString(codecSelferC_UTF81234, string("Spec"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy11 := &x.Spec
|
yy5 := &x.Spec
|
||||||
yy11.CodecEncodeSelf(e)
|
yy5.CodecEncodeSelf(e)
|
||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
yy13 := &x.Status
|
yy7 := &x.Status
|
||||||
yy13.CodecEncodeSelf(e)
|
yy7.CodecEncodeSelf(e)
|
||||||
} else {
|
} else {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("Status"))
|
r.EncodeString(codecSelferC_UTF81234, string("Status"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy14 := &x.Status
|
yy8 := &x.Status
|
||||||
yy14.CodecEncodeSelf(e)
|
yy8.CodecEncodeSelf(e)
|
||||||
|
}
|
||||||
|
if yyr2 || yy2arr2 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[2] {
|
||||||
|
yym10 := z.EncBinary()
|
||||||
|
_ = yym10
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[2] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym11 := z.EncBinary()
|
||||||
|
_ = yym11
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr2 || yy2arr2 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[3] {
|
||||||
|
yym13 := z.EncBinary()
|
||||||
|
_ = yym13
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[3] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym14 := z.EncBinary()
|
||||||
|
_ = yym14
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
@ -230,6 +230,20 @@ func (x *SubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder
|
|||||||
yys17 := string(yys17Slc)
|
yys17 := string(yys17Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys17 {
|
switch yys17 {
|
||||||
|
case "Spec":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Spec = SubjectAccessReviewSpec{}
|
||||||
|
} else {
|
||||||
|
yyv18 := &x.Spec
|
||||||
|
yyv18.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
case "Status":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = SubjectAccessReviewStatus{}
|
||||||
|
} else {
|
||||||
|
yyv19 := &x.Status
|
||||||
|
yyv19.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
@ -242,20 +256,6 @@ func (x *SubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
case "Spec":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Spec = SubjectAccessReviewSpec{}
|
|
||||||
} else {
|
|
||||||
yyv20 := &x.Spec
|
|
||||||
yyv20.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
case "Status":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = SubjectAccessReviewStatus{}
|
|
||||||
} else {
|
|
||||||
yyv21 := &x.Status
|
|
||||||
yyv21.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys17)
|
z.DecStructFieldNotFound(-1, yys17)
|
||||||
} // end switch yys17
|
} // end switch yys17
|
||||||
@ -281,6 +281,40 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Spec = SubjectAccessReviewSpec{}
|
||||||
|
} else {
|
||||||
|
yyv23 := &x.Spec
|
||||||
|
yyv23.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj22++
|
||||||
|
if yyhl22 {
|
||||||
|
yyb22 = yyj22 > l
|
||||||
|
} else {
|
||||||
|
yyb22 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb22 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = SubjectAccessReviewStatus{}
|
||||||
|
} else {
|
||||||
|
yyv24 := &x.Status
|
||||||
|
yyv24.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj22++
|
||||||
|
if yyhl22 {
|
||||||
|
yyb22 = yyj22 > l
|
||||||
|
} else {
|
||||||
|
yyb22 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb22 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
@ -302,40 +336,6 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj22++
|
|
||||||
if yyhl22 {
|
|
||||||
yyb22 = yyj22 > l
|
|
||||||
} else {
|
|
||||||
yyb22 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb22 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Spec = SubjectAccessReviewSpec{}
|
|
||||||
} else {
|
|
||||||
yyv25 := &x.Spec
|
|
||||||
yyv25.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
yyj22++
|
|
||||||
if yyhl22 {
|
|
||||||
yyb22 = yyj22 > l
|
|
||||||
} else {
|
|
||||||
yyb22 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb22 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = SubjectAccessReviewStatus{}
|
|
||||||
} else {
|
|
||||||
yyv26 := &x.Status
|
|
||||||
yyv26.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
for {
|
for {
|
||||||
yyj22++
|
yyj22++
|
||||||
if yyhl22 {
|
if yyhl22 {
|
||||||
@ -369,8 +369,8 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq28 [4]bool
|
var yyq28 [4]bool
|
||||||
_, _, _ = yysep28, yyq28, yy2arr28
|
_, _, _ = yysep28, yyq28, yy2arr28
|
||||||
const yyr28 bool = false
|
const yyr28 bool = false
|
||||||
yyq28[0] = x.Kind != ""
|
yyq28[2] = x.Kind != ""
|
||||||
yyq28[1] = x.APIVersion != ""
|
yyq28[3] = x.APIVersion != ""
|
||||||
var yynn28 int
|
var yynn28 int
|
||||||
if yyr28 || yy2arr28 {
|
if yyr28 || yy2arr28 {
|
||||||
r.EncodeArrayStart(4)
|
r.EncodeArrayStart(4)
|
||||||
@ -386,75 +386,75 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
}
|
}
|
||||||
if yyr28 || yy2arr28 {
|
if yyr28 || yy2arr28 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq28[0] {
|
yy30 := &x.Spec
|
||||||
yym30 := z.EncBinary()
|
yy30.CodecEncodeSelf(e)
|
||||||
_ = yym30
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq28[0] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym31 := z.EncBinary()
|
|
||||||
_ = yym31
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr28 || yy2arr28 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq28[1] {
|
|
||||||
yym33 := z.EncBinary()
|
|
||||||
_ = yym33
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq28[1] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym34 := z.EncBinary()
|
|
||||||
_ = yym34
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr28 || yy2arr28 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
yy36 := &x.Spec
|
|
||||||
yy36.CodecEncodeSelf(e)
|
|
||||||
} else {
|
} else {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("Spec"))
|
r.EncodeString(codecSelferC_UTF81234, string("Spec"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy37 := &x.Spec
|
yy31 := &x.Spec
|
||||||
yy37.CodecEncodeSelf(e)
|
yy31.CodecEncodeSelf(e)
|
||||||
}
|
}
|
||||||
if yyr28 || yy2arr28 {
|
if yyr28 || yy2arr28 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
yy39 := &x.Status
|
yy33 := &x.Status
|
||||||
yy39.CodecEncodeSelf(e)
|
yy33.CodecEncodeSelf(e)
|
||||||
} else {
|
} else {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("Status"))
|
r.EncodeString(codecSelferC_UTF81234, string("Status"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy40 := &x.Status
|
yy34 := &x.Status
|
||||||
yy40.CodecEncodeSelf(e)
|
yy34.CodecEncodeSelf(e)
|
||||||
|
}
|
||||||
|
if yyr28 || yy2arr28 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq28[2] {
|
||||||
|
yym36 := z.EncBinary()
|
||||||
|
_ = yym36
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq28[2] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym37 := z.EncBinary()
|
||||||
|
_ = yym37
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr28 || yy2arr28 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq28[3] {
|
||||||
|
yym39 := z.EncBinary()
|
||||||
|
_ = yym39
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq28[3] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym40 := z.EncBinary()
|
||||||
|
_ = yym40
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if yyr28 || yy2arr28 {
|
if yyr28 || yy2arr28 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
@ -517,6 +517,20 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Dec
|
|||||||
yys43 := string(yys43Slc)
|
yys43 := string(yys43Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys43 {
|
switch yys43 {
|
||||||
|
case "Spec":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Spec = SelfSubjectAccessReviewSpec{}
|
||||||
|
} else {
|
||||||
|
yyv44 := &x.Spec
|
||||||
|
yyv44.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
case "Status":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = SubjectAccessReviewStatus{}
|
||||||
|
} else {
|
||||||
|
yyv45 := &x.Status
|
||||||
|
yyv45.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
@ -529,20 +543,6 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Dec
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
case "Spec":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Spec = SelfSubjectAccessReviewSpec{}
|
|
||||||
} else {
|
|
||||||
yyv46 := &x.Spec
|
|
||||||
yyv46.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
case "Status":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = SubjectAccessReviewStatus{}
|
|
||||||
} else {
|
|
||||||
yyv47 := &x.Status
|
|
||||||
yyv47.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys43)
|
z.DecStructFieldNotFound(-1, yys43)
|
||||||
} // end switch yys43
|
} // end switch yys43
|
||||||
@ -568,6 +568,40 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Spec = SelfSubjectAccessReviewSpec{}
|
||||||
|
} else {
|
||||||
|
yyv49 := &x.Spec
|
||||||
|
yyv49.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj48++
|
||||||
|
if yyhl48 {
|
||||||
|
yyb48 = yyj48 > l
|
||||||
|
} else {
|
||||||
|
yyb48 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb48 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = SubjectAccessReviewStatus{}
|
||||||
|
} else {
|
||||||
|
yyv50 := &x.Status
|
||||||
|
yyv50.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj48++
|
||||||
|
if yyhl48 {
|
||||||
|
yyb48 = yyj48 > l
|
||||||
|
} else {
|
||||||
|
yyb48 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb48 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
@ -589,40 +623,6 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj48++
|
|
||||||
if yyhl48 {
|
|
||||||
yyb48 = yyj48 > l
|
|
||||||
} else {
|
|
||||||
yyb48 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb48 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Spec = SelfSubjectAccessReviewSpec{}
|
|
||||||
} else {
|
|
||||||
yyv51 := &x.Spec
|
|
||||||
yyv51.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
yyj48++
|
|
||||||
if yyhl48 {
|
|
||||||
yyb48 = yyj48 > l
|
|
||||||
} else {
|
|
||||||
yyb48 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb48 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = SubjectAccessReviewStatus{}
|
|
||||||
} else {
|
|
||||||
yyv52 := &x.Status
|
|
||||||
yyv52.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
for {
|
for {
|
||||||
yyj48++
|
yyj48++
|
||||||
if yyhl48 {
|
if yyhl48 {
|
||||||
@ -656,8 +656,8 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq54 [4]bool
|
var yyq54 [4]bool
|
||||||
_, _, _ = yysep54, yyq54, yy2arr54
|
_, _, _ = yysep54, yyq54, yy2arr54
|
||||||
const yyr54 bool = false
|
const yyr54 bool = false
|
||||||
yyq54[0] = x.Kind != ""
|
yyq54[2] = x.Kind != ""
|
||||||
yyq54[1] = x.APIVersion != ""
|
yyq54[3] = x.APIVersion != ""
|
||||||
var yynn54 int
|
var yynn54 int
|
||||||
if yyr54 || yy2arr54 {
|
if yyr54 || yy2arr54 {
|
||||||
r.EncodeArrayStart(4)
|
r.EncodeArrayStart(4)
|
||||||
@ -673,75 +673,75 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
}
|
}
|
||||||
if yyr54 || yy2arr54 {
|
if yyr54 || yy2arr54 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq54[0] {
|
yy56 := &x.Spec
|
||||||
yym56 := z.EncBinary()
|
yy56.CodecEncodeSelf(e)
|
||||||
_ = yym56
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq54[0] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym57 := z.EncBinary()
|
|
||||||
_ = yym57
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr54 || yy2arr54 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq54[1] {
|
|
||||||
yym59 := z.EncBinary()
|
|
||||||
_ = yym59
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq54[1] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym60 := z.EncBinary()
|
|
||||||
_ = yym60
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr54 || yy2arr54 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
yy62 := &x.Spec
|
|
||||||
yy62.CodecEncodeSelf(e)
|
|
||||||
} else {
|
} else {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("Spec"))
|
r.EncodeString(codecSelferC_UTF81234, string("Spec"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy63 := &x.Spec
|
yy57 := &x.Spec
|
||||||
yy63.CodecEncodeSelf(e)
|
yy57.CodecEncodeSelf(e)
|
||||||
}
|
}
|
||||||
if yyr54 || yy2arr54 {
|
if yyr54 || yy2arr54 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
yy65 := &x.Status
|
yy59 := &x.Status
|
||||||
yy65.CodecEncodeSelf(e)
|
yy59.CodecEncodeSelf(e)
|
||||||
} else {
|
} else {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("Status"))
|
r.EncodeString(codecSelferC_UTF81234, string("Status"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy66 := &x.Status
|
yy60 := &x.Status
|
||||||
yy66.CodecEncodeSelf(e)
|
yy60.CodecEncodeSelf(e)
|
||||||
|
}
|
||||||
|
if yyr54 || yy2arr54 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq54[2] {
|
||||||
|
yym62 := z.EncBinary()
|
||||||
|
_ = yym62
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq54[2] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym63 := z.EncBinary()
|
||||||
|
_ = yym63
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr54 || yy2arr54 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq54[3] {
|
||||||
|
yym65 := z.EncBinary()
|
||||||
|
_ = yym65
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq54[3] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym66 := z.EncBinary()
|
||||||
|
_ = yym66
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if yyr54 || yy2arr54 {
|
if yyr54 || yy2arr54 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
@ -804,6 +804,20 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.De
|
|||||||
yys69 := string(yys69Slc)
|
yys69 := string(yys69Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys69 {
|
switch yys69 {
|
||||||
|
case "Spec":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Spec = SubjectAccessReviewSpec{}
|
||||||
|
} else {
|
||||||
|
yyv70 := &x.Spec
|
||||||
|
yyv70.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
case "Status":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = SubjectAccessReviewStatus{}
|
||||||
|
} else {
|
||||||
|
yyv71 := &x.Status
|
||||||
|
yyv71.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
@ -816,20 +830,6 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.De
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
case "Spec":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Spec = SubjectAccessReviewSpec{}
|
|
||||||
} else {
|
|
||||||
yyv72 := &x.Spec
|
|
||||||
yyv72.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
case "Status":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = SubjectAccessReviewStatus{}
|
|
||||||
} else {
|
|
||||||
yyv73 := &x.Status
|
|
||||||
yyv73.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys69)
|
z.DecStructFieldNotFound(-1, yys69)
|
||||||
} // end switch yys69
|
} // end switch yys69
|
||||||
@ -855,6 +855,40 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Spec = SubjectAccessReviewSpec{}
|
||||||
|
} else {
|
||||||
|
yyv75 := &x.Spec
|
||||||
|
yyv75.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj74++
|
||||||
|
if yyhl74 {
|
||||||
|
yyb74 = yyj74 > l
|
||||||
|
} else {
|
||||||
|
yyb74 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb74 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = SubjectAccessReviewStatus{}
|
||||||
|
} else {
|
||||||
|
yyv76 := &x.Status
|
||||||
|
yyv76.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj74++
|
||||||
|
if yyhl74 {
|
||||||
|
yyb74 = yyj74 > l
|
||||||
|
} else {
|
||||||
|
yyb74 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb74 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
@ -876,40 +910,6 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj74++
|
|
||||||
if yyhl74 {
|
|
||||||
yyb74 = yyj74 > l
|
|
||||||
} else {
|
|
||||||
yyb74 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb74 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Spec = SubjectAccessReviewSpec{}
|
|
||||||
} else {
|
|
||||||
yyv77 := &x.Spec
|
|
||||||
yyv77.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
yyj74++
|
|
||||||
if yyhl74 {
|
|
||||||
yyb74 = yyj74 > l
|
|
||||||
} else {
|
|
||||||
yyb74 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb74 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = SubjectAccessReviewStatus{}
|
|
||||||
} else {
|
|
||||||
yyv78 := &x.Status
|
|
||||||
yyv78.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
for {
|
for {
|
||||||
yyj74++
|
yyj74++
|
||||||
if yyhl74 {
|
if yyhl74 {
|
||||||
|
@ -82,9 +82,9 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq2 [4]bool
|
var yyq2 [4]bool
|
||||||
_, _, _ = yysep2, yyq2, yy2arr2
|
_, _, _ = yysep2, yyq2, yy2arr2
|
||||||
const yyr2 bool = false
|
const yyr2 bool = false
|
||||||
yyq2[0] = x.Kind != ""
|
yyq2[1] = true
|
||||||
yyq2[1] = x.APIVersion != ""
|
yyq2[2] = x.Kind != ""
|
||||||
yyq2[3] = true
|
yyq2[3] = x.APIVersion != ""
|
||||||
var yynn2 int
|
var yynn2 int
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
r.EncodeArrayStart(4)
|
r.EncodeArrayStart(4)
|
||||||
@ -100,80 +100,80 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq2[0] {
|
yy4 := &x.Spec
|
||||||
yym4 := z.EncBinary()
|
yy4.CodecEncodeSelf(e)
|
||||||
_ = yym4
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq2[0] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym5 := z.EncBinary()
|
|
||||||
_ = yym5
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr2 || yy2arr2 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq2[1] {
|
|
||||||
yym7 := z.EncBinary()
|
|
||||||
_ = yym7
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq2[1] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym8 := z.EncBinary()
|
|
||||||
_ = yym8
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr2 || yy2arr2 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
yy10 := &x.Spec
|
|
||||||
yy10.CodecEncodeSelf(e)
|
|
||||||
} else {
|
} else {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("spec"))
|
r.EncodeString(codecSelferC_UTF81234, string("spec"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy11 := &x.Spec
|
yy5 := &x.Spec
|
||||||
yy11.CodecEncodeSelf(e)
|
yy5.CodecEncodeSelf(e)
|
||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq2[3] {
|
if yyq2[1] {
|
||||||
yy13 := &x.Status
|
yy7 := &x.Status
|
||||||
yy13.CodecEncodeSelf(e)
|
yy7.CodecEncodeSelf(e)
|
||||||
} else {
|
} else {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq2[3] {
|
if yyq2[1] {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("status"))
|
r.EncodeString(codecSelferC_UTF81234, string("status"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy14 := &x.Status
|
yy8 := &x.Status
|
||||||
yy14.CodecEncodeSelf(e)
|
yy8.CodecEncodeSelf(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr2 || yy2arr2 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[2] {
|
||||||
|
yym10 := z.EncBinary()
|
||||||
|
_ = yym10
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[2] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym11 := z.EncBinary()
|
||||||
|
_ = yym11
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr2 || yy2arr2 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[3] {
|
||||||
|
yym13 := z.EncBinary()
|
||||||
|
_ = yym13
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[3] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym14 := z.EncBinary()
|
||||||
|
_ = yym14
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
@ -237,6 +237,20 @@ func (x *SubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder
|
|||||||
yys17 := string(yys17Slc)
|
yys17 := string(yys17Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys17 {
|
switch yys17 {
|
||||||
|
case "spec":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Spec = SubjectAccessReviewSpec{}
|
||||||
|
} else {
|
||||||
|
yyv18 := &x.Spec
|
||||||
|
yyv18.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
case "status":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = SubjectAccessReviewStatus{}
|
||||||
|
} else {
|
||||||
|
yyv19 := &x.Status
|
||||||
|
yyv19.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
@ -249,20 +263,6 @@ func (x *SubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
case "spec":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Spec = SubjectAccessReviewSpec{}
|
|
||||||
} else {
|
|
||||||
yyv20 := &x.Spec
|
|
||||||
yyv20.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
case "status":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = SubjectAccessReviewStatus{}
|
|
||||||
} else {
|
|
||||||
yyv21 := &x.Status
|
|
||||||
yyv21.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys17)
|
z.DecStructFieldNotFound(-1, yys17)
|
||||||
} // end switch yys17
|
} // end switch yys17
|
||||||
@ -288,6 +288,40 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Spec = SubjectAccessReviewSpec{}
|
||||||
|
} else {
|
||||||
|
yyv23 := &x.Spec
|
||||||
|
yyv23.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj22++
|
||||||
|
if yyhl22 {
|
||||||
|
yyb22 = yyj22 > l
|
||||||
|
} else {
|
||||||
|
yyb22 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb22 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = SubjectAccessReviewStatus{}
|
||||||
|
} else {
|
||||||
|
yyv24 := &x.Status
|
||||||
|
yyv24.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj22++
|
||||||
|
if yyhl22 {
|
||||||
|
yyb22 = yyj22 > l
|
||||||
|
} else {
|
||||||
|
yyb22 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb22 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
@ -309,40 +343,6 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj22++
|
|
||||||
if yyhl22 {
|
|
||||||
yyb22 = yyj22 > l
|
|
||||||
} else {
|
|
||||||
yyb22 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb22 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Spec = SubjectAccessReviewSpec{}
|
|
||||||
} else {
|
|
||||||
yyv25 := &x.Spec
|
|
||||||
yyv25.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
yyj22++
|
|
||||||
if yyhl22 {
|
|
||||||
yyb22 = yyj22 > l
|
|
||||||
} else {
|
|
||||||
yyb22 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb22 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = SubjectAccessReviewStatus{}
|
|
||||||
} else {
|
|
||||||
yyv26 := &x.Status
|
|
||||||
yyv26.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
for {
|
for {
|
||||||
yyj22++
|
yyj22++
|
||||||
if yyhl22 {
|
if yyhl22 {
|
||||||
@ -376,9 +376,9 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq28 [4]bool
|
var yyq28 [4]bool
|
||||||
_, _, _ = yysep28, yyq28, yy2arr28
|
_, _, _ = yysep28, yyq28, yy2arr28
|
||||||
const yyr28 bool = false
|
const yyr28 bool = false
|
||||||
yyq28[0] = x.Kind != ""
|
yyq28[1] = true
|
||||||
yyq28[1] = x.APIVersion != ""
|
yyq28[2] = x.Kind != ""
|
||||||
yyq28[3] = true
|
yyq28[3] = x.APIVersion != ""
|
||||||
var yynn28 int
|
var yynn28 int
|
||||||
if yyr28 || yy2arr28 {
|
if yyr28 || yy2arr28 {
|
||||||
r.EncodeArrayStart(4)
|
r.EncodeArrayStart(4)
|
||||||
@ -394,80 +394,80 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
}
|
}
|
||||||
if yyr28 || yy2arr28 {
|
if yyr28 || yy2arr28 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq28[0] {
|
yy30 := &x.Spec
|
||||||
yym30 := z.EncBinary()
|
yy30.CodecEncodeSelf(e)
|
||||||
_ = yym30
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq28[0] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym31 := z.EncBinary()
|
|
||||||
_ = yym31
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr28 || yy2arr28 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq28[1] {
|
|
||||||
yym33 := z.EncBinary()
|
|
||||||
_ = yym33
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq28[1] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym34 := z.EncBinary()
|
|
||||||
_ = yym34
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr28 || yy2arr28 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
yy36 := &x.Spec
|
|
||||||
yy36.CodecEncodeSelf(e)
|
|
||||||
} else {
|
} else {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("spec"))
|
r.EncodeString(codecSelferC_UTF81234, string("spec"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy37 := &x.Spec
|
yy31 := &x.Spec
|
||||||
yy37.CodecEncodeSelf(e)
|
yy31.CodecEncodeSelf(e)
|
||||||
}
|
}
|
||||||
if yyr28 || yy2arr28 {
|
if yyr28 || yy2arr28 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq28[3] {
|
if yyq28[1] {
|
||||||
yy39 := &x.Status
|
yy33 := &x.Status
|
||||||
yy39.CodecEncodeSelf(e)
|
yy33.CodecEncodeSelf(e)
|
||||||
} else {
|
} else {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq28[3] {
|
if yyq28[1] {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("status"))
|
r.EncodeString(codecSelferC_UTF81234, string("status"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy40 := &x.Status
|
yy34 := &x.Status
|
||||||
yy40.CodecEncodeSelf(e)
|
yy34.CodecEncodeSelf(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr28 || yy2arr28 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq28[2] {
|
||||||
|
yym36 := z.EncBinary()
|
||||||
|
_ = yym36
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq28[2] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym37 := z.EncBinary()
|
||||||
|
_ = yym37
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr28 || yy2arr28 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq28[3] {
|
||||||
|
yym39 := z.EncBinary()
|
||||||
|
_ = yym39
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq28[3] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym40 := z.EncBinary()
|
||||||
|
_ = yym40
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr28 || yy2arr28 {
|
if yyr28 || yy2arr28 {
|
||||||
@ -531,6 +531,20 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Dec
|
|||||||
yys43 := string(yys43Slc)
|
yys43 := string(yys43Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys43 {
|
switch yys43 {
|
||||||
|
case "spec":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Spec = SelfSubjectAccessReviewSpec{}
|
||||||
|
} else {
|
||||||
|
yyv44 := &x.Spec
|
||||||
|
yyv44.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
case "status":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = SubjectAccessReviewStatus{}
|
||||||
|
} else {
|
||||||
|
yyv45 := &x.Status
|
||||||
|
yyv45.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
@ -543,20 +557,6 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Dec
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
case "spec":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Spec = SelfSubjectAccessReviewSpec{}
|
|
||||||
} else {
|
|
||||||
yyv46 := &x.Spec
|
|
||||||
yyv46.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
case "status":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = SubjectAccessReviewStatus{}
|
|
||||||
} else {
|
|
||||||
yyv47 := &x.Status
|
|
||||||
yyv47.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys43)
|
z.DecStructFieldNotFound(-1, yys43)
|
||||||
} // end switch yys43
|
} // end switch yys43
|
||||||
@ -582,6 +582,40 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Spec = SelfSubjectAccessReviewSpec{}
|
||||||
|
} else {
|
||||||
|
yyv49 := &x.Spec
|
||||||
|
yyv49.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj48++
|
||||||
|
if yyhl48 {
|
||||||
|
yyb48 = yyj48 > l
|
||||||
|
} else {
|
||||||
|
yyb48 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb48 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = SubjectAccessReviewStatus{}
|
||||||
|
} else {
|
||||||
|
yyv50 := &x.Status
|
||||||
|
yyv50.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj48++
|
||||||
|
if yyhl48 {
|
||||||
|
yyb48 = yyj48 > l
|
||||||
|
} else {
|
||||||
|
yyb48 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb48 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
@ -603,40 +637,6 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj48++
|
|
||||||
if yyhl48 {
|
|
||||||
yyb48 = yyj48 > l
|
|
||||||
} else {
|
|
||||||
yyb48 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb48 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Spec = SelfSubjectAccessReviewSpec{}
|
|
||||||
} else {
|
|
||||||
yyv51 := &x.Spec
|
|
||||||
yyv51.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
yyj48++
|
|
||||||
if yyhl48 {
|
|
||||||
yyb48 = yyj48 > l
|
|
||||||
} else {
|
|
||||||
yyb48 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb48 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = SubjectAccessReviewStatus{}
|
|
||||||
} else {
|
|
||||||
yyv52 := &x.Status
|
|
||||||
yyv52.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
for {
|
for {
|
||||||
yyj48++
|
yyj48++
|
||||||
if yyhl48 {
|
if yyhl48 {
|
||||||
@ -670,9 +670,9 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq54 [4]bool
|
var yyq54 [4]bool
|
||||||
_, _, _ = yysep54, yyq54, yy2arr54
|
_, _, _ = yysep54, yyq54, yy2arr54
|
||||||
const yyr54 bool = false
|
const yyr54 bool = false
|
||||||
yyq54[0] = x.Kind != ""
|
yyq54[1] = true
|
||||||
yyq54[1] = x.APIVersion != ""
|
yyq54[2] = x.Kind != ""
|
||||||
yyq54[3] = true
|
yyq54[3] = x.APIVersion != ""
|
||||||
var yynn54 int
|
var yynn54 int
|
||||||
if yyr54 || yy2arr54 {
|
if yyr54 || yy2arr54 {
|
||||||
r.EncodeArrayStart(4)
|
r.EncodeArrayStart(4)
|
||||||
@ -688,80 +688,80 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
}
|
}
|
||||||
if yyr54 || yy2arr54 {
|
if yyr54 || yy2arr54 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq54[0] {
|
yy56 := &x.Spec
|
||||||
yym56 := z.EncBinary()
|
yy56.CodecEncodeSelf(e)
|
||||||
_ = yym56
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq54[0] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym57 := z.EncBinary()
|
|
||||||
_ = yym57
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr54 || yy2arr54 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq54[1] {
|
|
||||||
yym59 := z.EncBinary()
|
|
||||||
_ = yym59
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq54[1] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym60 := z.EncBinary()
|
|
||||||
_ = yym60
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr54 || yy2arr54 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
yy62 := &x.Spec
|
|
||||||
yy62.CodecEncodeSelf(e)
|
|
||||||
} else {
|
} else {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("spec"))
|
r.EncodeString(codecSelferC_UTF81234, string("spec"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy63 := &x.Spec
|
yy57 := &x.Spec
|
||||||
yy63.CodecEncodeSelf(e)
|
yy57.CodecEncodeSelf(e)
|
||||||
}
|
}
|
||||||
if yyr54 || yy2arr54 {
|
if yyr54 || yy2arr54 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq54[3] {
|
if yyq54[1] {
|
||||||
yy65 := &x.Status
|
yy59 := &x.Status
|
||||||
yy65.CodecEncodeSelf(e)
|
yy59.CodecEncodeSelf(e)
|
||||||
} else {
|
} else {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq54[3] {
|
if yyq54[1] {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("status"))
|
r.EncodeString(codecSelferC_UTF81234, string("status"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yy66 := &x.Status
|
yy60 := &x.Status
|
||||||
yy66.CodecEncodeSelf(e)
|
yy60.CodecEncodeSelf(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr54 || yy2arr54 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq54[2] {
|
||||||
|
yym62 := z.EncBinary()
|
||||||
|
_ = yym62
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq54[2] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym63 := z.EncBinary()
|
||||||
|
_ = yym63
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr54 || yy2arr54 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq54[3] {
|
||||||
|
yym65 := z.EncBinary()
|
||||||
|
_ = yym65
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq54[3] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym66 := z.EncBinary()
|
||||||
|
_ = yym66
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr54 || yy2arr54 {
|
if yyr54 || yy2arr54 {
|
||||||
@ -825,6 +825,20 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.De
|
|||||||
yys69 := string(yys69Slc)
|
yys69 := string(yys69Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys69 {
|
switch yys69 {
|
||||||
|
case "spec":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Spec = SubjectAccessReviewSpec{}
|
||||||
|
} else {
|
||||||
|
yyv70 := &x.Spec
|
||||||
|
yyv70.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
case "status":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = SubjectAccessReviewStatus{}
|
||||||
|
} else {
|
||||||
|
yyv71 := &x.Status
|
||||||
|
yyv71.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
@ -837,20 +851,6 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.De
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
case "spec":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Spec = SubjectAccessReviewSpec{}
|
|
||||||
} else {
|
|
||||||
yyv72 := &x.Spec
|
|
||||||
yyv72.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
case "status":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = SubjectAccessReviewStatus{}
|
|
||||||
} else {
|
|
||||||
yyv73 := &x.Status
|
|
||||||
yyv73.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys69)
|
z.DecStructFieldNotFound(-1, yys69)
|
||||||
} // end switch yys69
|
} // end switch yys69
|
||||||
@ -876,6 +876,40 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Spec = SubjectAccessReviewSpec{}
|
||||||
|
} else {
|
||||||
|
yyv75 := &x.Spec
|
||||||
|
yyv75.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj74++
|
||||||
|
if yyhl74 {
|
||||||
|
yyb74 = yyj74 > l
|
||||||
|
} else {
|
||||||
|
yyb74 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb74 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Status = SubjectAccessReviewStatus{}
|
||||||
|
} else {
|
||||||
|
yyv76 := &x.Status
|
||||||
|
yyv76.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj74++
|
||||||
|
if yyhl74 {
|
||||||
|
yyb74 = yyj74 > l
|
||||||
|
} else {
|
||||||
|
yyb74 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb74 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
@ -897,40 +931,6 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj74++
|
|
||||||
if yyhl74 {
|
|
||||||
yyb74 = yyj74 > l
|
|
||||||
} else {
|
|
||||||
yyb74 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb74 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Spec = SubjectAccessReviewSpec{}
|
|
||||||
} else {
|
|
||||||
yyv77 := &x.Spec
|
|
||||||
yyv77.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
yyj74++
|
|
||||||
if yyhl74 {
|
|
||||||
yyb74 = yyj74 > l
|
|
||||||
} else {
|
|
||||||
yyb74 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb74 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Status = SubjectAccessReviewStatus{}
|
|
||||||
} else {
|
|
||||||
yyv78 := &x.Status
|
|
||||||
yyv78.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
for {
|
for {
|
||||||
yyj74++
|
yyj74++
|
||||||
if yyhl74 {
|
if yyhl74 {
|
||||||
|
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
@ -88,9 +88,9 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq2 [7]bool
|
var yyq2 [7]bool
|
||||||
_, _, _ = yysep2, yyq2, yy2arr2
|
_, _, _ = yysep2, yyq2, yy2arr2
|
||||||
const yyr2 bool = false
|
const yyr2 bool = false
|
||||||
yyq2[0] = x.Kind != ""
|
yyq2[0] = true
|
||||||
yyq2[1] = x.APIVersion != ""
|
yyq2[5] = x.Kind != ""
|
||||||
yyq2[2] = true
|
yyq2[6] = x.APIVersion != ""
|
||||||
var yynn2 int
|
var yynn2 int
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
r.EncodeArrayStart(7)
|
r.EncodeArrayStart(7)
|
||||||
@ -107,74 +107,24 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq2[0] {
|
if yyq2[0] {
|
||||||
yym4 := z.EncBinary()
|
yy4 := &x.ObjectMeta
|
||||||
_ = yym4
|
yy4.CodecEncodeSelf(e)
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq2[0] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym5 := z.EncBinary()
|
|
||||||
_ = yym5
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr2 || yy2arr2 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq2[1] {
|
|
||||||
yym7 := z.EncBinary()
|
|
||||||
_ = yym7
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq2[1] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym8 := z.EncBinary()
|
|
||||||
_ = yym8
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr2 || yy2arr2 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq2[2] {
|
|
||||||
yy10 := &x.ObjectMeta
|
|
||||||
yy10.CodecEncodeSelf(e)
|
|
||||||
} else {
|
} else {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if yyq2[2] {
|
if yyq2[0] {
|
||||||
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
|
yy5 := &x.ObjectMeta
|
||||||
yy11.CodecEncodeSelf(e)
|
yy5.CodecEncodeSelf(e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
yym13 := z.EncBinary()
|
yym7 := z.EncBinary()
|
||||||
_ = yym13
|
_ = yym7
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Key))
|
r.EncodeString(codecSelferC_UTF81234, string(x.Key))
|
||||||
@ -183,8 +133,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()
|
yym8 := z.EncBinary()
|
||||||
_ = yym14
|
_ = yym8
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Key))
|
r.EncodeString(codecSelferC_UTF81234, string(x.Key))
|
||||||
@ -195,8 +145,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()
|
yym10 := z.EncBinary()
|
||||||
_ = yym16
|
_ = yym10
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncMapStringIntV(x.Map, false, e)
|
z.F.EncMapStringIntV(x.Map, false, e)
|
||||||
@ -209,8 +159,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()
|
yym11 := z.EncBinary()
|
||||||
_ = yym17
|
_ = yym11
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncMapStringIntV(x.Map, false, e)
|
z.F.EncMapStringIntV(x.Map, false, e)
|
||||||
@ -222,8 +172,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()
|
yym13 := z.EncBinary()
|
||||||
_ = yym19
|
_ = yym13
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncSliceStringV(x.StringList, false, e)
|
z.F.EncSliceStringV(x.StringList, false, e)
|
||||||
@ -236,8 +186,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()
|
yym14 := z.EncBinary()
|
||||||
_ = yym20
|
_ = yym14
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncSliceStringV(x.StringList, false, e)
|
z.F.EncSliceStringV(x.StringList, false, e)
|
||||||
@ -249,8 +199,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()
|
yym16 := z.EncBinary()
|
||||||
_ = yym22
|
_ = yym16
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncSliceIntV(x.IntList, false, e)
|
z.F.EncSliceIntV(x.IntList, false, e)
|
||||||
@ -263,11 +213,61 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
if x.IntList == nil {
|
if x.IntList == nil {
|
||||||
r.EncodeNil()
|
r.EncodeNil()
|
||||||
} else {
|
} else {
|
||||||
|
yym17 := z.EncBinary()
|
||||||
|
_ = yym17
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
z.F.EncSliceIntV(x.IntList, false, e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr2 || yy2arr2 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[5] {
|
||||||
|
yym19 := z.EncBinary()
|
||||||
|
_ = yym19
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[5] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym20 := z.EncBinary()
|
||||||
|
_ = yym20
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr2 || yy2arr2 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[6] {
|
||||||
|
yym22 := z.EncBinary()
|
||||||
|
_ = yym22
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[6] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
yym23 := z.EncBinary()
|
yym23 := z.EncBinary()
|
||||||
_ = yym23
|
_ = yym23
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.EncSliceIntV(x.IntList, false, e)
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -332,24 +332,12 @@ func (x *TestStruct) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
yys26 := string(yys26Slc)
|
yys26 := string(yys26Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys26 {
|
switch yys26 {
|
||||||
case "kind":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Kind = ""
|
|
||||||
} else {
|
|
||||||
x.Kind = string(r.DecodeString())
|
|
||||||
}
|
|
||||||
case "apiVersion":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.APIVersion = ""
|
|
||||||
} else {
|
|
||||||
x.APIVersion = string(r.DecodeString())
|
|
||||||
}
|
|
||||||
case "metadata":
|
case "metadata":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
||||||
} else {
|
} else {
|
||||||
yyv29 := &x.ObjectMeta
|
yyv27 := &x.ObjectMeta
|
||||||
yyv29.CodecDecodeSelf(d)
|
yyv27.CodecDecodeSelf(d)
|
||||||
}
|
}
|
||||||
case "Key":
|
case "Key":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
@ -361,38 +349,50 @@ func (x *TestStruct) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Map = nil
|
x.Map = nil
|
||||||
} else {
|
} else {
|
||||||
yyv31 := &x.Map
|
yyv29 := &x.Map
|
||||||
yym32 := z.DecBinary()
|
yym30 := z.DecBinary()
|
||||||
_ = yym32
|
_ = yym30
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecMapStringIntX(yyv31, false, d)
|
z.F.DecMapStringIntX(yyv29, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case "StringList":
|
case "StringList":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.StringList = nil
|
x.StringList = nil
|
||||||
} else {
|
} else {
|
||||||
yyv33 := &x.StringList
|
yyv31 := &x.StringList
|
||||||
yym34 := z.DecBinary()
|
yym32 := z.DecBinary()
|
||||||
_ = yym34
|
_ = yym32
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecSliceStringX(yyv33, false, d)
|
z.F.DecSliceStringX(yyv31, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case "IntList":
|
case "IntList":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.IntList = nil
|
x.IntList = nil
|
||||||
} else {
|
} else {
|
||||||
yyv35 := &x.IntList
|
yyv33 := &x.IntList
|
||||||
yym36 := z.DecBinary()
|
yym34 := z.DecBinary()
|
||||||
_ = yym36
|
_ = yym34
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
z.F.DecSliceIntX(yyv35, false, d)
|
z.F.DecSliceIntX(yyv33, false, d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
case "kind":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Kind = ""
|
||||||
|
} else {
|
||||||
|
x.Kind = string(r.DecodeString())
|
||||||
|
}
|
||||||
|
case "apiVersion":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.APIVersion = ""
|
||||||
|
} else {
|
||||||
|
x.APIVersion = string(r.DecodeString())
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys26)
|
z.DecStructFieldNotFound(-1, yys26)
|
||||||
} // end switch yys26
|
} // end switch yys26
|
||||||
@ -418,6 +418,105 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
||||||
|
} else {
|
||||||
|
yyv38 := &x.ObjectMeta
|
||||||
|
yyv38.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj37++
|
||||||
|
if yyhl37 {
|
||||||
|
yyb37 = yyj37 > l
|
||||||
|
} else {
|
||||||
|
yyb37 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb37 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Key = ""
|
||||||
|
} else {
|
||||||
|
x.Key = string(r.DecodeString())
|
||||||
|
}
|
||||||
|
yyj37++
|
||||||
|
if yyhl37 {
|
||||||
|
yyb37 = yyj37 > l
|
||||||
|
} else {
|
||||||
|
yyb37 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb37 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Map = nil
|
||||||
|
} else {
|
||||||
|
yyv40 := &x.Map
|
||||||
|
yym41 := z.DecBinary()
|
||||||
|
_ = yym41
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
z.F.DecMapStringIntX(yyv40, false, d)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
yyj37++
|
||||||
|
if yyhl37 {
|
||||||
|
yyb37 = yyj37 > l
|
||||||
|
} else {
|
||||||
|
yyb37 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb37 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.StringList = nil
|
||||||
|
} else {
|
||||||
|
yyv42 := &x.StringList
|
||||||
|
yym43 := z.DecBinary()
|
||||||
|
_ = yym43
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
z.F.DecSliceStringX(yyv42, false, d)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
yyj37++
|
||||||
|
if yyhl37 {
|
||||||
|
yyb37 = yyj37 > l
|
||||||
|
} else {
|
||||||
|
yyb37 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb37 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.IntList = nil
|
||||||
|
} else {
|
||||||
|
yyv44 := &x.IntList
|
||||||
|
yym45 := z.DecBinary()
|
||||||
|
_ = yym45
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
z.F.DecSliceIntX(yyv44, false, d)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
yyj37++
|
||||||
|
if yyhl37 {
|
||||||
|
yyb37 = yyj37 > l
|
||||||
|
} else {
|
||||||
|
yyb37 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb37 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
@ -439,105 +538,6 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj37++
|
|
||||||
if yyhl37 {
|
|
||||||
yyb37 = yyj37 > l
|
|
||||||
} else {
|
|
||||||
yyb37 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb37 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
|
||||||
} else {
|
|
||||||
yyv40 := &x.ObjectMeta
|
|
||||||
yyv40.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
yyj37++
|
|
||||||
if yyhl37 {
|
|
||||||
yyb37 = yyj37 > l
|
|
||||||
} else {
|
|
||||||
yyb37 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb37 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Key = ""
|
|
||||||
} else {
|
|
||||||
x.Key = string(r.DecodeString())
|
|
||||||
}
|
|
||||||
yyj37++
|
|
||||||
if yyhl37 {
|
|
||||||
yyb37 = yyj37 > l
|
|
||||||
} else {
|
|
||||||
yyb37 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb37 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Map = nil
|
|
||||||
} else {
|
|
||||||
yyv42 := &x.Map
|
|
||||||
yym43 := z.DecBinary()
|
|
||||||
_ = yym43
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
z.F.DecMapStringIntX(yyv42, false, d)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
yyj37++
|
|
||||||
if yyhl37 {
|
|
||||||
yyb37 = yyj37 > l
|
|
||||||
} else {
|
|
||||||
yyb37 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb37 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.StringList = nil
|
|
||||||
} else {
|
|
||||||
yyv44 := &x.StringList
|
|
||||||
yym45 := z.DecBinary()
|
|
||||||
_ = yym45
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
z.F.DecSliceStringX(yyv44, false, d)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
yyj37++
|
|
||||||
if yyhl37 {
|
|
||||||
yyb37 = yyj37 > l
|
|
||||||
} else {
|
|
||||||
yyb37 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb37 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.IntList = nil
|
|
||||||
} else {
|
|
||||||
yyv46 := &x.IntList
|
|
||||||
yym47 := z.DecBinary()
|
|
||||||
_ = yym47
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
z.F.DecSliceIntX(yyv46, false, d)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for {
|
for {
|
||||||
yyj37++
|
yyj37++
|
||||||
if yyhl37 {
|
if yyhl37 {
|
||||||
|
@ -88,8 +88,8 @@ func (x *TestResource) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq2 [4]bool
|
var yyq2 [4]bool
|
||||||
_, _, _ = yysep2, yyq2, yy2arr2
|
_, _, _ = yysep2, yyq2, yy2arr2
|
||||||
const yyr2 bool = false
|
const yyr2 bool = false
|
||||||
yyq2[0] = x.Kind != ""
|
yyq2[2] = x.Kind != ""
|
||||||
yyq2[1] = x.APIVersion != ""
|
yyq2[3] = x.APIVersion != ""
|
||||||
var yynn2 int
|
var yynn2 int
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
r.EncodeArrayStart(4)
|
r.EncodeArrayStart(4)
|
||||||
@ -105,69 +105,19 @@ func (x *TestResource) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq2[0] {
|
yy4 := &x.ObjectMeta
|
||||||
yym4 := z.EncBinary()
|
yy4.CodecEncodeSelf(e)
|
||||||
_ = yym4
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq2[0] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym5 := z.EncBinary()
|
|
||||||
_ = yym5
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr2 || yy2arr2 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if yyq2[1] {
|
|
||||||
yym7 := z.EncBinary()
|
|
||||||
_ = yym7
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, "")
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if yyq2[1] {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
|
||||||
yym8 := z.EncBinary()
|
|
||||||
_ = yym8
|
|
||||||
if false {
|
|
||||||
} else {
|
|
||||||
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if yyr2 || yy2arr2 {
|
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
yy10 := &x.ObjectMeta
|
|
||||||
yy10.CodecEncodeSelf(e)
|
|
||||||
} else {
|
} else {
|
||||||
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
|
yy5 := &x.ObjectMeta
|
||||||
yy11.CodecEncodeSelf(e)
|
yy5.CodecEncodeSelf(e)
|
||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
yym13 := z.EncBinary()
|
yym7 := z.EncBinary()
|
||||||
_ = yym13
|
_ = yym7
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeInt(int64(x.Value))
|
r.EncodeInt(int64(x.Value))
|
||||||
@ -176,13 +126,63 @@ 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()
|
yym8 := z.EncBinary()
|
||||||
_ = yym14
|
_ = yym8
|
||||||
if false {
|
if false {
|
||||||
} else {
|
} else {
|
||||||
r.EncodeInt(int64(x.Value))
|
r.EncodeInt(int64(x.Value))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if yyr2 || yy2arr2 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[2] {
|
||||||
|
yym10 := z.EncBinary()
|
||||||
|
_ = yym10
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[2] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("kind"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym11 := z.EncBinary()
|
||||||
|
_ = yym11
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.Kind))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if yyr2 || yy2arr2 {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[3] {
|
||||||
|
yym13 := z.EncBinary()
|
||||||
|
_ = yym13
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, "")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[3] {
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string("apiVersion"))
|
||||||
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
|
yym14 := z.EncBinary()
|
||||||
|
_ = yym14
|
||||||
|
if false {
|
||||||
|
} else {
|
||||||
|
r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
z.EncSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
} else {
|
} else {
|
||||||
@ -244,6 +244,19 @@ func (x *TestResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
yys17 := string(yys17Slc)
|
yys17 := string(yys17Slc)
|
||||||
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
z.DecSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
switch yys17 {
|
switch yys17 {
|
||||||
|
case "metadata":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
||||||
|
} else {
|
||||||
|
yyv18 := &x.ObjectMeta
|
||||||
|
yyv18.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
case "value":
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Value = 0
|
||||||
|
} else {
|
||||||
|
x.Value = int(r.DecodeInt(codecSelferBitsize1234))
|
||||||
|
}
|
||||||
case "kind":
|
case "kind":
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
@ -256,19 +269,6 @@ func (x *TestResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
case "metadata":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
|
||||||
} else {
|
|
||||||
yyv20 := &x.ObjectMeta
|
|
||||||
yyv20.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
case "value":
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Value = 0
|
|
||||||
} else {
|
|
||||||
x.Value = int(r.DecodeInt(codecSelferBitsize1234))
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
z.DecStructFieldNotFound(-1, yys17)
|
z.DecStructFieldNotFound(-1, yys17)
|
||||||
} // end switch yys17
|
} // end switch yys17
|
||||||
@ -294,6 +294,39 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
||||||
|
} else {
|
||||||
|
yyv23 := &x.ObjectMeta
|
||||||
|
yyv23.CodecDecodeSelf(d)
|
||||||
|
}
|
||||||
|
yyj22++
|
||||||
|
if yyhl22 {
|
||||||
|
yyb22 = yyj22 > l
|
||||||
|
} else {
|
||||||
|
yyb22 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb22 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if r.TryDecodeAsNil() {
|
||||||
|
x.Value = 0
|
||||||
|
} else {
|
||||||
|
x.Value = int(r.DecodeInt(codecSelferBitsize1234))
|
||||||
|
}
|
||||||
|
yyj22++
|
||||||
|
if yyhl22 {
|
||||||
|
yyb22 = yyj22 > l
|
||||||
|
} else {
|
||||||
|
yyb22 = r.CheckBreak()
|
||||||
|
}
|
||||||
|
if yyb22 {
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if r.TryDecodeAsNil() {
|
if r.TryDecodeAsNil() {
|
||||||
x.Kind = ""
|
x.Kind = ""
|
||||||
} else {
|
} else {
|
||||||
@ -315,39 +348,6 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
|||||||
} else {
|
} else {
|
||||||
x.APIVersion = string(r.DecodeString())
|
x.APIVersion = string(r.DecodeString())
|
||||||
}
|
}
|
||||||
yyj22++
|
|
||||||
if yyhl22 {
|
|
||||||
yyb22 = yyj22 > l
|
|
||||||
} else {
|
|
||||||
yyb22 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb22 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.ObjectMeta = pkg2_api.ObjectMeta{}
|
|
||||||
} else {
|
|
||||||
yyv25 := &x.ObjectMeta
|
|
||||||
yyv25.CodecDecodeSelf(d)
|
|
||||||
}
|
|
||||||
yyj22++
|
|
||||||
if yyhl22 {
|
|
||||||
yyb22 = yyj22 > l
|
|
||||||
} else {
|
|
||||||
yyb22 = r.CheckBreak()
|
|
||||||
}
|
|
||||||
if yyb22 {
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayEnd1234)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
z.DecSendContainerState(codecSelfer_containerArrayElem1234)
|
|
||||||
if r.TryDecodeAsNil() {
|
|
||||||
x.Value = 0
|
|
||||||
} else {
|
|
||||||
x.Value = int(r.DecodeInt(codecSelferBitsize1234))
|
|
||||||
}
|
|
||||||
for {
|
for {
|
||||||
yyj22++
|
yyj22++
|
||||||
if yyhl22 {
|
if yyhl22 {
|
||||||
|
Loading…
Reference in New Issue
Block a user