mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
Clean up some dead code.
This commit is contained in:
parent
4bd234b679
commit
9f7199d5bb
@ -4040,7 +4040,7 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) {
|
||||
} else {
|
||||
if yyq328[3] {
|
||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||
r.EncodeString(codecSelferC_UTF81234, string("name"))
|
||||
r.EncodeString(codecSelferC_UTF81234, string("data"))
|
||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||
if x.Data == nil {
|
||||
r.EncodeNil()
|
||||
@ -4134,7 +4134,7 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco
|
||||
yyv346 := &x.ObjectMeta
|
||||
yyv346.CodecDecodeSelf(d)
|
||||
}
|
||||
case "name":
|
||||
case "data":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Data = nil
|
||||
} else {
|
||||
|
@ -4040,7 +4040,7 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) {
|
||||
} else {
|
||||
if yyq328[3] {
|
||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||
r.EncodeString(codecSelferC_UTF81234, string("name"))
|
||||
r.EncodeString(codecSelferC_UTF81234, string("data"))
|
||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||
if x.Data == nil {
|
||||
r.EncodeNil()
|
||||
@ -4134,7 +4134,7 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco
|
||||
yyv346 := &x.ObjectMeta
|
||||
yyv346.CodecDecodeSelf(d)
|
||||
}
|
||||
case "name":
|
||||
case "data":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Data = nil
|
||||
} else {
|
||||
|
@ -481,7 +481,7 @@ func (ThirdPartyResource) SwaggerDoc() map[string]string {
|
||||
var map_ThirdPartyResourceData = map[string]string{
|
||||
"": "An internal object, used for versioned storage in etcd. Not exposed to the end user.",
|
||||
"metadata": "Standard object metadata.",
|
||||
"name": "Data is the raw JSON data for this data.",
|
||||
"data": "Data is the raw JSON data for this data.",
|
||||
}
|
||||
|
||||
func (ThirdPartyResourceData) SwaggerDoc() map[string]string {
|
||||
|
Loading…
Reference in New Issue
Block a user