diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index a1ba1dcc..4e9568d9 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -172,10 +172,6 @@ "ImportPath": "github.com/mailru/easyjson/jwriter", "Rev": "d5b7844b561a7bc640052f1b935f7b800330d7e0" }, - { - "ImportPath": "github.com/pborman/uuid", - "Rev": "ca53cad383cad2479bbba7f7a1a05797ec1386e4" - }, { "ImportPath": "github.com/pmezard/go-difflib/difflib", "Rev": "d8ed2627bdf02c080bf22230dbb337003b7aba2d" @@ -191,11 +187,11 @@ }, { "ImportPath": "github.com/ugorji/go/codec", - "Rev": "f1f1a805ed361a0e078bb537e4ea78cd37dcf065" + "Rev": "ded73eae5db7e7a0ef6f55aace87a2873c5d2b74" }, { "ImportPath": "golang.org/x/crypto/ssh/terminal", - "Rev": "1f22c0103821b9390939b6776727195525381532" + "Rev": "d172538b2cfce0c13cee31e647d0367aa8cd2486" }, { "ImportPath": "golang.org/x/net/context", @@ -325,6 +321,134 @@ { "ImportPath": "gopkg.in/yaml.v2", "Rev": "53feefa2559fb8dfa8d81baad31be332c97d6c77" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/api/meta", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/apimachinery", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/apimachinery/registered", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/conversion", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/genericapiserver/openapi/common", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/labels", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/runtime", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/runtime/schema", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/selection", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/types", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/util/diff", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/util/errors", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/util/framer", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/util/json", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/util/net", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/util/runtime", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/util/sets", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/util/validation", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/util/validation/field", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/util/wait", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/util/yaml", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/pkg/watch", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" + }, + { + "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect", + "Rev": "66b1ba666d4dbb77b323da06b1cbe86f83414878" } ] } diff --git a/discovery/discovery_client.go b/discovery/discovery_client.go index 9d39c027..2b801aeb 100644 --- a/discovery/discovery_client.go +++ b/discovery/discovery_client.go @@ -25,13 +25,13 @@ import ( "github.com/emicklei/go-restful/swagger" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/serializer" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/errors" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/runtime/serializer" "k8s.io/client-go/pkg/version" "k8s.io/client-go/rest" ) diff --git a/discovery/discovery_client_test.go b/discovery/discovery_client_test.go index 7213121e..0c2f31b1 100644 --- a/discovery/discovery_client_test.go +++ b/discovery/discovery_client_test.go @@ -25,10 +25,10 @@ import ( "github.com/emicklei/go-restful/swagger" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/util/sets" "k8s.io/client-go/pkg/version" "k8s.io/client-go/rest" ) diff --git a/discovery/fake/discovery.go b/discovery/fake/discovery.go index 24c5e7b1..c1f6268d 100644 --- a/discovery/fake/discovery.go +++ b/discovery/fake/discovery.go @@ -21,9 +21,9 @@ import ( "github.com/emicklei/go-restful/swagger" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime/schema" "k8s.io/client-go/pkg/version" "k8s.io/client-go/rest" "k8s.io/client-go/testing" diff --git a/discovery/helper.go b/discovery/helper.go index f8e606e3..2dfa7191 100644 --- a/discovery/helper.go +++ b/discovery/helper.go @@ -19,9 +19,9 @@ package discovery import ( "fmt" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/util/sets" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/version" // Import solely to initialize client auth plugins. _ "k8s.io/client-go/plugin/pkg/client/auth" diff --git a/discovery/helper_blackbox_test.go b/discovery/helper_blackbox_test.go index a1b77d65..1253732b 100644 --- a/discovery/helper_blackbox_test.go +++ b/discovery/helper_blackbox_test.go @@ -26,15 +26,14 @@ import ( "strings" "testing" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + uapi "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/discovery" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/testapi" - "k8s.io/client-go/pkg/apimachinery/registered" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - uapi "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/util/sets" "k8s.io/client-go/rest" "k8s.io/client-go/rest/fake" ) @@ -60,23 +59,23 @@ func TestNegotiateVersion(t *testing.T) { }{ { name: "server supports client default", - serverVersions: []string{"version1", registered.GroupOrDie(api.GroupName).GroupVersion.String()}, - clientVersions: []schema.GroupVersion{{Version: "version1"}, registered.GroupOrDie(api.GroupName).GroupVersion}, + serverVersions: []string{"version1", api.Registry.GroupOrDie(api.GroupName).GroupVersion.String()}, + clientVersions: []schema.GroupVersion{{Version: "version1"}, api.Registry.GroupOrDie(api.GroupName).GroupVersion}, expectedVersion: &schema.GroupVersion{Version: "version1"}, statusCode: http.StatusOK, }, { name: "server falls back to client supported", serverVersions: []string{"version1"}, - clientVersions: []schema.GroupVersion{{Version: "version1"}, registered.GroupOrDie(api.GroupName).GroupVersion}, + clientVersions: []schema.GroupVersion{{Version: "version1"}, api.Registry.GroupOrDie(api.GroupName).GroupVersion}, expectedVersion: &schema.GroupVersion{Version: "version1"}, statusCode: http.StatusOK, }, { name: "explicit version supported", requiredVersion: &schema.GroupVersion{Version: "v1"}, - serverVersions: []string{"/version1", registered.GroupOrDie(api.GroupName).GroupVersion.String()}, - clientVersions: []schema.GroupVersion{{Version: "version1"}, registered.GroupOrDie(api.GroupName).GroupVersion}, + serverVersions: []string{"/version1", api.Registry.GroupOrDie(api.GroupName).GroupVersion.String()}, + clientVersions: []schema.GroupVersion{{Version: "version1"}, api.Registry.GroupOrDie(api.GroupName).GroupVersion}, expectedVersion: &schema.GroupVersion{Version: "v1"}, statusCode: http.StatusOK, }, @@ -84,7 +83,7 @@ func TestNegotiateVersion(t *testing.T) { name: "explicit version not supported on server", requiredVersion: &schema.GroupVersion{Version: "v1"}, serverVersions: []string{"version1"}, - clientVersions: []schema.GroupVersion{{Version: "version1"}, registered.GroupOrDie(api.GroupName).GroupVersion}, + clientVersions: []schema.GroupVersion{{Version: "version1"}, api.Registry.GroupOrDie(api.GroupName).GroupVersion}, expectErr: func(err error) bool { return strings.Contains(err.Error(), `server does not support API version "v1"`) }, statusCode: http.StatusOK, }, @@ -99,21 +98,21 @@ func TestNegotiateVersion(t *testing.T) { { name: "connection refused error", serverVersions: []string{"version1"}, - clientVersions: []schema.GroupVersion{{Version: "version1"}, registered.GroupOrDie(api.GroupName).GroupVersion}, + clientVersions: []schema.GroupVersion{{Version: "version1"}, api.Registry.GroupOrDie(api.GroupName).GroupVersion}, sendErr: errors.New("connection refused"), expectErr: func(err error) bool { return strings.Contains(err.Error(), "connection refused") }, statusCode: http.StatusOK, }, { name: "discovery fails due to 403 Forbidden errors and thus serverVersions is empty, use default GroupVersion", - clientVersions: []schema.GroupVersion{{Version: "version1"}, registered.GroupOrDie(api.GroupName).GroupVersion}, + clientVersions: []schema.GroupVersion{{Version: "version1"}, api.Registry.GroupOrDie(api.GroupName).GroupVersion}, expectedVersion: &schema.GroupVersion{Version: "version1"}, statusCode: http.StatusForbidden, }, { name: "discovery fails due to 404 Not Found errors and thus serverVersions is empty, use requested GroupVersion", requiredVersion: &schema.GroupVersion{Version: "version1"}, - clientVersions: []schema.GroupVersion{{Version: "version1"}, registered.GroupOrDie(api.GroupName).GroupVersion}, + clientVersions: []schema.GroupVersion{{Version: "version1"}, api.Registry.GroupOrDie(api.GroupName).GroupVersion}, expectedVersion: &schema.GroupVersion{Version: "version1"}, statusCode: http.StatusNotFound, }, diff --git a/discovery/restmapper.go b/discovery/restmapper.go index e5f63834..e535d378 100644 --- a/discovery/restmapper.go +++ b/discovery/restmapper.go @@ -20,10 +20,10 @@ import ( "fmt" "sync" + "k8s.io/apimachinery/pkg/api/meta" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/errors" - "k8s.io/client-go/pkg/api/meta" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime/schema" "github.com/golang/glog" ) diff --git a/discovery/restmapper_test.go b/discovery/restmapper_test.go index b96cc652..28658955 100644 --- a/discovery/restmapper_test.go +++ b/discovery/restmapper_test.go @@ -20,10 +20,10 @@ import ( "reflect" "testing" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/errors" - "k8s.io/client-go/pkg/apimachinery/registered" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime/schema" "k8s.io/client-go/pkg/version" "k8s.io/client-go/rest" "k8s.io/client-go/rest/fake" @@ -188,7 +188,7 @@ func TestDeferredDiscoveryRESTMapper_CacheMiss(t *testing.T) { assert := assert.New(t) cdc := fakeCachedDiscoveryInterface{fresh: false} - m := NewDeferredDiscoveryRESTMapper(&cdc, registered.InterfacesFor) + m := NewDeferredDiscoveryRESTMapper(&cdc, api.Registry.InterfacesFor) assert.False(cdc.fresh, "should NOT be fresh after instantiation") assert.Zero(cdc.invalidateCalls, "should not have called Invalidate()") diff --git a/discovery/unstructured.go b/discovery/unstructured.go index b3f26f02..ee72d668 100644 --- a/discovery/unstructured.go +++ b/discovery/unstructured.go @@ -19,8 +19,8 @@ package discovery import ( "fmt" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) // UnstructuredObjectTyper provides a runtime.ObjectTyper implmentation for @@ -82,7 +82,7 @@ func (d *UnstructuredObjectTyper) Recognizes(gvk schema.GroupVersionKind) bool { // IsUnversioned returns false always because runtime.Unstructured objects // should always have group,version,kind information set. ok will be true if the -// object's group,version,kind is registered. +// object's group,version,kind is api.Registry. func (d *UnstructuredObjectTyper) IsUnversioned(obj runtime.Object) (unversioned bool, ok bool) { gvk, err := d.ObjectKind(obj) if err != nil { diff --git a/dynamic/client.go b/dynamic/client.go index bcee61c2..744570ea 100644 --- a/dynamic/client.go +++ b/dynamic/client.go @@ -26,16 +26,16 @@ import ( "net/url" "strings" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" + "k8s.io/apimachinery/pkg/conversion/queryparams" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/serializer" + "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/apis/meta/v1/unstructured" - "k8s.io/client-go/pkg/conversion/queryparams" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/runtime/serializer" "k8s.io/client-go/pkg/util/flowcontrol" - "k8s.io/client-go/pkg/watch" "k8s.io/client-go/rest" ) diff --git a/dynamic/client_pool.go b/dynamic/client_pool.go index 25357550..a5ff7f04 100644 --- a/dynamic/client_pool.go +++ b/dynamic/client_pool.go @@ -19,8 +19,8 @@ package dynamic import ( "sync" - "k8s.io/client-go/pkg/api/meta" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/rest" ) diff --git a/dynamic/client_test.go b/dynamic/client_test.go index a9cd8ac8..3335b6be 100644 --- a/dynamic/client_test.go +++ b/dynamic/client_test.go @@ -25,16 +25,16 @@ import ( "reflect" "testing" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/serializer/streaming" + "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/apis/meta/v1/unstructured" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/runtime/serializer/streaming" - "k8s.io/client-go/pkg/watch" - "k8s.io/client-go/pkg/watch/versioned" "k8s.io/client-go/rest" + restclientwatch "k8s.io/client-go/rest/watch" ) func getJSON(version, kind, name string) []byte { @@ -459,7 +459,7 @@ func TestWatch(t *testing.T) { t.Errorf("Watch(%q) got path %s. wanted %s", tc.name, r.URL.Path, tc.path) } - enc := versioned.NewEncoder(streaming.NewEncoder(w, dynamicCodec{}), dynamicCodec{}) + enc := restclientwatch.NewEncoder(streaming.NewEncoder(w, dynamicCodec{}), dynamicCodec{}) for _, e := range tc.events { enc.Encode(&e) } diff --git a/dynamic/dynamic_util.go b/dynamic/dynamic_util.go index 3dbda398..c834dbb0 100644 --- a/dynamic/dynamic_util.go +++ b/dynamic/dynamic_util.go @@ -19,11 +19,11 @@ package dynamic import ( "fmt" - "k8s.io/client-go/pkg/api/meta" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/apis/meta/v1/unstructured" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/api/meta" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) // VersionInterfaces provides an object converter and metadata diff --git a/dynamic/dynamic_util_test.go b/dynamic/dynamic_util_test.go index bf503bcc..cdc68e01 100644 --- a/dynamic/dynamic_util_test.go +++ b/dynamic/dynamic_util_test.go @@ -19,8 +19,8 @@ package dynamic import ( "testing" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime/schema" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" ) func TestDiscoveryRESTMapper(t *testing.T) { diff --git a/kubernetes/clientset.go b/kubernetes/clientset.go index 4271f9ec..d05d1ec0 100644 --- a/kubernetes/clientset.go +++ b/kubernetes/clientset.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -290,6 +290,9 @@ func (c *Clientset) Storage() v1beta1storage.StorageV1beta1Interface { // Discovery retrieves the DiscoveryClient func (c *Clientset) Discovery() discovery.DiscoveryInterface { + if c == nil { + return nil + } return c.DiscoveryClient } diff --git a/kubernetes/doc.go b/kubernetes/doc.go index 69ee3d95..5c74fd71 100644 --- a/kubernetes/doc.go +++ b/kubernetes/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/fake/clientset_generated.go b/kubernetes/fake/clientset_generated.go index f458b94b..fe707f61 100644 --- a/kubernetes/fake/clientset_generated.go +++ b/kubernetes/fake/clientset_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,6 +17,8 @@ limitations under the License. package fake import ( + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/discovery" fakediscovery "k8s.io/client-go/discovery/fake" kubernetes "k8s.io/client-go/kubernetes" @@ -45,9 +47,6 @@ import ( v1beta1storage "k8s.io/client-go/kubernetes/typed/storage/v1beta1" fakev1beta1storage "k8s.io/client-go/kubernetes/typed/storage/v1beta1/fake" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/apimachinery/registered" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/watch" "k8s.io/client-go/testing" ) @@ -64,7 +63,7 @@ func NewSimpleClientset(objects ...runtime.Object) *Clientset { } fakePtr := testing.Fake{} - fakePtr.AddReactor("*", "*", testing.ObjectReaction(o, registered.RESTMapper())) + fakePtr.AddReactor("*", "*", testing.ObjectReaction(o, api.Registry.RESTMapper())) fakePtr.AddWatchReactor("*", testing.DefaultWatchReactor(watch.NewFake(), nil)) diff --git a/kubernetes/fake/doc.go b/kubernetes/fake/doc.go index e5547228..ab373a87 100644 --- a/kubernetes/fake/doc.go +++ b/kubernetes/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/import_known_versions.go b/kubernetes/import_known_versions.go index 57fb7f94..08c24a32 100644 --- a/kubernetes/import_known_versions.go +++ b/kubernetes/import_known_versions.go @@ -20,8 +20,8 @@ package kubernetes import ( "fmt" + "k8s.io/client-go/pkg/api" _ "k8s.io/client-go/pkg/api/install" - "k8s.io/client-go/pkg/apimachinery/registered" _ "k8s.io/client-go/pkg/apis/apps/install" _ "k8s.io/client-go/pkg/apis/authentication/install" _ "k8s.io/client-go/pkg/apis/authorization/install" @@ -35,7 +35,7 @@ import ( ) func init() { - if missingVersions := registered.ValidateEnvRequestedVersions(); len(missingVersions) != 0 { + if missingVersions := api.Registry.ValidateEnvRequestedVersions(); len(missingVersions) != 0 { panic(fmt.Sprintf("KUBE_API_VERSIONS contains versions that are not installed: %q.", missingVersions)) } } diff --git a/kubernetes/typed/apps/v1beta1/apps_client.go b/kubernetes/typed/apps/v1beta1/apps_client.go index 013f56c4..c264d0bc 100644 --- a/kubernetes/typed/apps/v1beta1/apps_client.go +++ b/kubernetes/typed/apps/v1beta1/apps_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,10 +18,9 @@ package v1beta1 import ( fmt "fmt" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" api "k8s.io/client-go/pkg/api" - registered "k8s.io/client-go/pkg/apimachinery/registered" - schema "k8s.io/client-go/pkg/runtime/schema" - serializer "k8s.io/client-go/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) @@ -30,7 +29,7 @@ type AppsV1beta1Interface interface { StatefulSetsGetter } -// AppsV1beta1Client is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group. +// AppsV1beta1Client is used to interact with features provided by the apps group. type AppsV1beta1Client struct { restClient rest.Interface } @@ -73,7 +72,7 @@ func setConfigDefaults(config *rest.Config) error { return err } // if apps/v1beta1 is not enabled, return an error - if !registered.IsEnabledVersion(gv) { + if !api.Registry.IsEnabledVersion(gv) { return fmt.Errorf("apps/v1beta1 is not enabled") } config.APIPath = "/apis" diff --git a/kubernetes/typed/apps/v1beta1/doc.go b/kubernetes/typed/apps/v1beta1/doc.go index f7631fa4..e596bf01 100644 --- a/kubernetes/typed/apps/v1beta1/doc.go +++ b/kubernetes/typed/apps/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/apps/v1beta1/fake/doc.go b/kubernetes/typed/apps/v1beta1/fake/doc.go index ab41d136..ea928c21 100644 --- a/kubernetes/typed/apps/v1beta1/fake/doc.go +++ b/kubernetes/typed/apps/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/apps/v1beta1/fake/fake_apps_client.go b/kubernetes/typed/apps/v1beta1/fake/fake_apps_client.go index d4971bcd..f20c6c0b 100644 --- a/kubernetes/typed/apps/v1beta1/fake/fake_apps_client.go +++ b/kubernetes/typed/apps/v1beta1/fake/fake_apps_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/apps/v1beta1/fake/fake_statefulset.go b/kubernetes/typed/apps/v1beta1/fake/fake_statefulset.go index 797573f2..27538078 100644 --- a/kubernetes/typed/apps/v1beta1/fake/fake_statefulset.go +++ b/kubernetes/typed/apps/v1beta1/fake/fake_statefulset.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/apps/v1beta1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/apps/v1beta1/generated_expansion.go b/kubernetes/typed/apps/v1beta1/generated_expansion.go index b09a7bae..895fdf55 100644 --- a/kubernetes/typed/apps/v1beta1/generated_expansion.go +++ b/kubernetes/typed/apps/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/apps/v1beta1/statefulset.go b/kubernetes/typed/apps/v1beta1/statefulset.go index 043ba7f0..cfb30fa7 100644 --- a/kubernetes/typed/apps/v1beta1/statefulset.go +++ b/kubernetes/typed/apps/v1beta1/statefulset.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1beta1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/apps/v1beta1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/authentication/v1beta1/authentication_client.go b/kubernetes/typed/authentication/v1beta1/authentication_client.go index 25a9e73d..e083b5e4 100644 --- a/kubernetes/typed/authentication/v1beta1/authentication_client.go +++ b/kubernetes/typed/authentication/v1beta1/authentication_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,10 +18,9 @@ package v1beta1 import ( fmt "fmt" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" api "k8s.io/client-go/pkg/api" - registered "k8s.io/client-go/pkg/apimachinery/registered" - schema "k8s.io/client-go/pkg/runtime/schema" - serializer "k8s.io/client-go/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) @@ -30,7 +29,7 @@ type AuthenticationV1beta1Interface interface { TokenReviewsGetter } -// AuthenticationV1beta1Client is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group. +// AuthenticationV1beta1Client is used to interact with features provided by the authentication.k8s.io group. type AuthenticationV1beta1Client struct { restClient rest.Interface } @@ -73,7 +72,7 @@ func setConfigDefaults(config *rest.Config) error { return err } // if authentication.k8s.io/v1beta1 is not enabled, return an error - if !registered.IsEnabledVersion(gv) { + if !api.Registry.IsEnabledVersion(gv) { return fmt.Errorf("authentication.k8s.io/v1beta1 is not enabled") } config.APIPath = "/apis" diff --git a/kubernetes/typed/authentication/v1beta1/doc.go b/kubernetes/typed/authentication/v1beta1/doc.go index f7631fa4..e596bf01 100644 --- a/kubernetes/typed/authentication/v1beta1/doc.go +++ b/kubernetes/typed/authentication/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authentication/v1beta1/fake/doc.go b/kubernetes/typed/authentication/v1beta1/fake/doc.go index ab41d136..ea928c21 100644 --- a/kubernetes/typed/authentication/v1beta1/fake/doc.go +++ b/kubernetes/typed/authentication/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go b/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go index 33702bcf..8f66d8c5 100644 --- a/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go +++ b/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authentication/v1beta1/fake/fake_tokenreview.go b/kubernetes/typed/authentication/v1beta1/fake/fake_tokenreview.go index 92408580..e8c57210 100644 --- a/kubernetes/typed/authentication/v1beta1/fake/fake_tokenreview.go +++ b/kubernetes/typed/authentication/v1beta1/fake/fake_tokenreview.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authentication/v1beta1/generated_expansion.go b/kubernetes/typed/authentication/v1beta1/generated_expansion.go index a397b30e..2b7e8ca0 100644 --- a/kubernetes/typed/authentication/v1beta1/generated_expansion.go +++ b/kubernetes/typed/authentication/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authentication/v1beta1/tokenreview.go b/kubernetes/typed/authentication/v1beta1/tokenreview.go index 04c2ab09..7f9f1e9f 100644 --- a/kubernetes/typed/authentication/v1beta1/tokenreview.go +++ b/kubernetes/typed/authentication/v1beta1/tokenreview.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authorization/v1beta1/authorization_client.go b/kubernetes/typed/authorization/v1beta1/authorization_client.go index 9265a814..6306410c 100644 --- a/kubernetes/typed/authorization/v1beta1/authorization_client.go +++ b/kubernetes/typed/authorization/v1beta1/authorization_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,10 +18,9 @@ package v1beta1 import ( fmt "fmt" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" api "k8s.io/client-go/pkg/api" - registered "k8s.io/client-go/pkg/apimachinery/registered" - schema "k8s.io/client-go/pkg/runtime/schema" - serializer "k8s.io/client-go/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) @@ -32,7 +31,7 @@ type AuthorizationV1beta1Interface interface { SubjectAccessReviewsGetter } -// AuthorizationV1beta1Client is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group. +// AuthorizationV1beta1Client is used to interact with features provided by the authorization.k8s.io group. type AuthorizationV1beta1Client struct { restClient rest.Interface } @@ -83,7 +82,7 @@ func setConfigDefaults(config *rest.Config) error { return err } // if authorization.k8s.io/v1beta1 is not enabled, return an error - if !registered.IsEnabledVersion(gv) { + if !api.Registry.IsEnabledVersion(gv) { return fmt.Errorf("authorization.k8s.io/v1beta1 is not enabled") } config.APIPath = "/apis" diff --git a/kubernetes/typed/authorization/v1beta1/doc.go b/kubernetes/typed/authorization/v1beta1/doc.go index f7631fa4..e596bf01 100644 --- a/kubernetes/typed/authorization/v1beta1/doc.go +++ b/kubernetes/typed/authorization/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authorization/v1beta1/fake/doc.go b/kubernetes/typed/authorization/v1beta1/fake/doc.go index ab41d136..ea928c21 100644 --- a/kubernetes/typed/authorization/v1beta1/fake/doc.go +++ b/kubernetes/typed/authorization/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go b/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go index 53229ab4..89b0b2d7 100644 --- a/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go +++ b/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authorization/v1beta1/fake/fake_localsubjectaccessreview.go b/kubernetes/typed/authorization/v1beta1/fake/fake_localsubjectaccessreview.go index d78ea823..11987f12 100644 --- a/kubernetes/typed/authorization/v1beta1/fake/fake_localsubjectaccessreview.go +++ b/kubernetes/typed/authorization/v1beta1/fake/fake_localsubjectaccessreview.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authorization/v1beta1/fake/fake_selfsubjectaccessreview.go b/kubernetes/typed/authorization/v1beta1/fake/fake_selfsubjectaccessreview.go index 8ec42827..aeba4389 100644 --- a/kubernetes/typed/authorization/v1beta1/fake/fake_selfsubjectaccessreview.go +++ b/kubernetes/typed/authorization/v1beta1/fake/fake_selfsubjectaccessreview.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview.go b/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview.go index d38afc0b..4413c6d3 100644 --- a/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview.go +++ b/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authorization/v1beta1/generated_expansion.go b/kubernetes/typed/authorization/v1beta1/generated_expansion.go index a397b30e..2b7e8ca0 100644 --- a/kubernetes/typed/authorization/v1beta1/generated_expansion.go +++ b/kubernetes/typed/authorization/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authorization/v1beta1/localsubjectaccessreview.go b/kubernetes/typed/authorization/v1beta1/localsubjectaccessreview.go index e522706c..9b8e1034 100644 --- a/kubernetes/typed/authorization/v1beta1/localsubjectaccessreview.go +++ b/kubernetes/typed/authorization/v1beta1/localsubjectaccessreview.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authorization/v1beta1/selfsubjectaccessreview.go b/kubernetes/typed/authorization/v1beta1/selfsubjectaccessreview.go index 24a92ede..1ef3e49a 100644 --- a/kubernetes/typed/authorization/v1beta1/selfsubjectaccessreview.go +++ b/kubernetes/typed/authorization/v1beta1/selfsubjectaccessreview.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/authorization/v1beta1/subjectaccessreview.go b/kubernetes/typed/authorization/v1beta1/subjectaccessreview.go index af9b0769..cd60e9df 100644 --- a/kubernetes/typed/authorization/v1beta1/subjectaccessreview.go +++ b/kubernetes/typed/authorization/v1beta1/subjectaccessreview.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/autoscaling/v1/autoscaling_client.go b/kubernetes/typed/autoscaling/v1/autoscaling_client.go index a2506be4..16359299 100644 --- a/kubernetes/typed/autoscaling/v1/autoscaling_client.go +++ b/kubernetes/typed/autoscaling/v1/autoscaling_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,10 +18,9 @@ package v1 import ( fmt "fmt" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" api "k8s.io/client-go/pkg/api" - registered "k8s.io/client-go/pkg/apimachinery/registered" - schema "k8s.io/client-go/pkg/runtime/schema" - serializer "k8s.io/client-go/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) @@ -30,7 +29,7 @@ type AutoscalingV1Interface interface { HorizontalPodAutoscalersGetter } -// AutoscalingV1Client is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group. +// AutoscalingV1Client is used to interact with features provided by the autoscaling group. type AutoscalingV1Client struct { restClient rest.Interface } @@ -73,7 +72,7 @@ func setConfigDefaults(config *rest.Config) error { return err } // if autoscaling/v1 is not enabled, return an error - if !registered.IsEnabledVersion(gv) { + if !api.Registry.IsEnabledVersion(gv) { return fmt.Errorf("autoscaling/v1 is not enabled") } config.APIPath = "/apis" diff --git a/kubernetes/typed/autoscaling/v1/doc.go b/kubernetes/typed/autoscaling/v1/doc.go index 916befbf..acd71f25 100644 --- a/kubernetes/typed/autoscaling/v1/doc.go +++ b/kubernetes/typed/autoscaling/v1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/autoscaling/v1/fake/doc.go b/kubernetes/typed/autoscaling/v1/fake/doc.go index ab41d136..ea928c21 100644 --- a/kubernetes/typed/autoscaling/v1/fake/doc.go +++ b/kubernetes/typed/autoscaling/v1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go b/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go index c4f36977..c3e0d373 100644 --- a/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go +++ b/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/autoscaling/v1/fake/fake_horizontalpodautoscaler.go b/kubernetes/typed/autoscaling/v1/fake/fake_horizontalpodautoscaler.go index 5f8f394a..0663ac0b 100644 --- a/kubernetes/typed/autoscaling/v1/fake/fake_horizontalpodautoscaler.go +++ b/kubernetes/typed/autoscaling/v1/fake/fake_horizontalpodautoscaler.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" api_v1 "k8s.io/client-go/pkg/api/v1" v1 "k8s.io/client-go/pkg/apis/autoscaling/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/autoscaling/v1/generated_expansion.go b/kubernetes/typed/autoscaling/v1/generated_expansion.go index 3e37a64e..effefbd5 100644 --- a/kubernetes/typed/autoscaling/v1/generated_expansion.go +++ b/kubernetes/typed/autoscaling/v1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go b/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go index 19328bcf..007613f4 100644 --- a/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go +++ b/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" api_v1 "k8s.io/client-go/pkg/api/v1" v1 "k8s.io/client-go/pkg/apis/autoscaling/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/batch/v1/batch_client.go b/kubernetes/typed/batch/v1/batch_client.go index 90f5c769..5e9b4281 100644 --- a/kubernetes/typed/batch/v1/batch_client.go +++ b/kubernetes/typed/batch/v1/batch_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,10 +18,9 @@ package v1 import ( fmt "fmt" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" api "k8s.io/client-go/pkg/api" - registered "k8s.io/client-go/pkg/apimachinery/registered" - schema "k8s.io/client-go/pkg/runtime/schema" - serializer "k8s.io/client-go/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) @@ -30,7 +29,7 @@ type BatchV1Interface interface { JobsGetter } -// BatchV1Client is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group. +// BatchV1Client is used to interact with features provided by the batch group. type BatchV1Client struct { restClient rest.Interface } @@ -73,7 +72,7 @@ func setConfigDefaults(config *rest.Config) error { return err } // if batch/v1 is not enabled, return an error - if !registered.IsEnabledVersion(gv) { + if !api.Registry.IsEnabledVersion(gv) { return fmt.Errorf("batch/v1 is not enabled") } config.APIPath = "/apis" diff --git a/kubernetes/typed/batch/v1/doc.go b/kubernetes/typed/batch/v1/doc.go index 916befbf..acd71f25 100644 --- a/kubernetes/typed/batch/v1/doc.go +++ b/kubernetes/typed/batch/v1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/batch/v1/fake/doc.go b/kubernetes/typed/batch/v1/fake/doc.go index ab41d136..ea928c21 100644 --- a/kubernetes/typed/batch/v1/fake/doc.go +++ b/kubernetes/typed/batch/v1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/batch/v1/fake/fake_batch_client.go b/kubernetes/typed/batch/v1/fake/fake_batch_client.go index 1af38ed1..4e2d361e 100644 --- a/kubernetes/typed/batch/v1/fake/fake_batch_client.go +++ b/kubernetes/typed/batch/v1/fake/fake_batch_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/batch/v1/fake/fake_job.go b/kubernetes/typed/batch/v1/fake/fake_job.go index b67300c3..d9d94555 100644 --- a/kubernetes/typed/batch/v1/fake/fake_job.go +++ b/kubernetes/typed/batch/v1/fake/fake_job.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" api_v1 "k8s.io/client-go/pkg/api/v1" v1 "k8s.io/client-go/pkg/apis/batch/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/batch/v1/generated_expansion.go b/kubernetes/typed/batch/v1/generated_expansion.go index b24faa31..68d7741f 100644 --- a/kubernetes/typed/batch/v1/generated_expansion.go +++ b/kubernetes/typed/batch/v1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/batch/v1/job.go b/kubernetes/typed/batch/v1/job.go index 306de7c6..e141bf62 100644 --- a/kubernetes/typed/batch/v1/job.go +++ b/kubernetes/typed/batch/v1/job.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" api_v1 "k8s.io/client-go/pkg/api/v1" v1 "k8s.io/client-go/pkg/apis/batch/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/batch/v2alpha1/batch_client.go b/kubernetes/typed/batch/v2alpha1/batch_client.go index 06f07df8..03fbdc4d 100644 --- a/kubernetes/typed/batch/v2alpha1/batch_client.go +++ b/kubernetes/typed/batch/v2alpha1/batch_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,10 +18,9 @@ package v2alpha1 import ( fmt "fmt" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" api "k8s.io/client-go/pkg/api" - registered "k8s.io/client-go/pkg/apimachinery/registered" - schema "k8s.io/client-go/pkg/runtime/schema" - serializer "k8s.io/client-go/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) @@ -31,7 +30,7 @@ type BatchV2alpha1Interface interface { JobsGetter } -// BatchV2alpha1Client is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group. +// BatchV2alpha1Client is used to interact with features provided by the batch group. type BatchV2alpha1Client struct { restClient rest.Interface } @@ -78,7 +77,7 @@ func setConfigDefaults(config *rest.Config) error { return err } // if batch/v2alpha1 is not enabled, return an error - if !registered.IsEnabledVersion(gv) { + if !api.Registry.IsEnabledVersion(gv) { return fmt.Errorf("batch/v2alpha1 is not enabled") } config.APIPath = "/apis" diff --git a/kubernetes/typed/batch/v2alpha1/cronjob.go b/kubernetes/typed/batch/v2alpha1/cronjob.go index 0f9fcd14..7dc78957 100644 --- a/kubernetes/typed/batch/v2alpha1/cronjob.go +++ b/kubernetes/typed/batch/v2alpha1/cronjob.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v2alpha1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v2alpha1 "k8s.io/client-go/pkg/apis/batch/v2alpha1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/batch/v2alpha1/doc.go b/kubernetes/typed/batch/v2alpha1/doc.go index 3d2fc001..59c111e7 100644 --- a/kubernetes/typed/batch/v2alpha1/doc.go +++ b/kubernetes/typed/batch/v2alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/batch/v2alpha1/fake/doc.go b/kubernetes/typed/batch/v2alpha1/fake/doc.go index ab41d136..ea928c21 100644 --- a/kubernetes/typed/batch/v2alpha1/fake/doc.go +++ b/kubernetes/typed/batch/v2alpha1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/batch/v2alpha1/fake/fake_batch_client.go b/kubernetes/typed/batch/v2alpha1/fake/fake_batch_client.go index 93f67e0b..82f18544 100644 --- a/kubernetes/typed/batch/v2alpha1/fake/fake_batch_client.go +++ b/kubernetes/typed/batch/v2alpha1/fake/fake_batch_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/batch/v2alpha1/fake/fake_cronjob.go b/kubernetes/typed/batch/v2alpha1/fake/fake_cronjob.go index df30648b..1c8d89c7 100644 --- a/kubernetes/typed/batch/v2alpha1/fake/fake_cronjob.go +++ b/kubernetes/typed/batch/v2alpha1/fake/fake_cronjob.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v2alpha1 "k8s.io/client-go/pkg/apis/batch/v2alpha1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/batch/v2alpha1/fake/fake_job.go b/kubernetes/typed/batch/v2alpha1/fake/fake_job.go index 878f6d46..fe089aa6 100644 --- a/kubernetes/typed/batch/v2alpha1/fake/fake_job.go +++ b/kubernetes/typed/batch/v2alpha1/fake/fake_job.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v2alpha1 "k8s.io/client-go/pkg/apis/batch/v2alpha1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/batch/v2alpha1/generated_expansion.go b/kubernetes/typed/batch/v2alpha1/generated_expansion.go index 2a4b63a2..c0d3bade 100644 --- a/kubernetes/typed/batch/v2alpha1/generated_expansion.go +++ b/kubernetes/typed/batch/v2alpha1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/batch/v2alpha1/job.go b/kubernetes/typed/batch/v2alpha1/job.go index 84e69cce..8bcef77f 100644 --- a/kubernetes/typed/batch/v2alpha1/job.go +++ b/kubernetes/typed/batch/v2alpha1/job.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v2alpha1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v2alpha1 "k8s.io/client-go/pkg/apis/batch/v2alpha1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/certificates/v1alpha1/certificates_client.go b/kubernetes/typed/certificates/v1alpha1/certificates_client.go index b060d7dd..60d19545 100644 --- a/kubernetes/typed/certificates/v1alpha1/certificates_client.go +++ b/kubernetes/typed/certificates/v1alpha1/certificates_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,10 +18,9 @@ package v1alpha1 import ( fmt "fmt" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" api "k8s.io/client-go/pkg/api" - registered "k8s.io/client-go/pkg/apimachinery/registered" - schema "k8s.io/client-go/pkg/runtime/schema" - serializer "k8s.io/client-go/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) @@ -30,7 +29,7 @@ type CertificatesV1alpha1Interface interface { CertificateSigningRequestsGetter } -// CertificatesV1alpha1Client is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group. +// CertificatesV1alpha1Client is used to interact with features provided by the certificates.k8s.io group. type CertificatesV1alpha1Client struct { restClient rest.Interface } @@ -73,7 +72,7 @@ func setConfigDefaults(config *rest.Config) error { return err } // if certificates.k8s.io/v1alpha1 is not enabled, return an error - if !registered.IsEnabledVersion(gv) { + if !api.Registry.IsEnabledVersion(gv) { return fmt.Errorf("certificates.k8s.io/v1alpha1 is not enabled") } config.APIPath = "/apis" diff --git a/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go b/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go index 0795cb23..885a247a 100644 --- a/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go +++ b/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1alpha1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1alpha1 "k8s.io/client-go/pkg/apis/certificates/v1alpha1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/certificates/v1alpha1/doc.go b/kubernetes/typed/certificates/v1alpha1/doc.go index 59d5bb20..f7b1fe66 100644 --- a/kubernetes/typed/certificates/v1alpha1/doc.go +++ b/kubernetes/typed/certificates/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/certificates/v1alpha1/fake/doc.go b/kubernetes/typed/certificates/v1alpha1/fake/doc.go index ab41d136..ea928c21 100644 --- a/kubernetes/typed/certificates/v1alpha1/fake/doc.go +++ b/kubernetes/typed/certificates/v1alpha1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go b/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go index 82d86e10..cbbe0f1f 100644 --- a/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go +++ b/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/certificates/v1alpha1/fake/fake_certificatesigningrequest.go b/kubernetes/typed/certificates/v1alpha1/fake/fake_certificatesigningrequest.go index 6426592b..248d84e6 100644 --- a/kubernetes/typed/certificates/v1alpha1/fake/fake_certificatesigningrequest.go +++ b/kubernetes/typed/certificates/v1alpha1/fake/fake_certificatesigningrequest.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1alpha1 "k8s.io/client-go/pkg/apis/certificates/v1alpha1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/certificates/v1alpha1/generated_expansion.go b/kubernetes/typed/certificates/v1alpha1/generated_expansion.go index 66e772d6..48a74f4a 100644 --- a/kubernetes/typed/certificates/v1alpha1/generated_expansion.go +++ b/kubernetes/typed/certificates/v1alpha1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/core/v1/componentstatus.go b/kubernetes/typed/core/v1/componentstatus.go index 342ff369..59f472bb 100644 --- a/kubernetes/typed/core/v1/componentstatus.go +++ b/kubernetes/typed/core/v1/componentstatus.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/configmap.go b/kubernetes/typed/core/v1/configmap.go index 5c74ef3a..c6d849eb 100644 --- a/kubernetes/typed/core/v1/configmap.go +++ b/kubernetes/typed/core/v1/configmap.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/core_client.go b/kubernetes/typed/core/v1/core_client.go index 0e8ffeff..d718afc1 100644 --- a/kubernetes/typed/core/v1/core_client.go +++ b/kubernetes/typed/core/v1/core_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,10 +18,9 @@ package v1 import ( fmt "fmt" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" api "k8s.io/client-go/pkg/api" - registered "k8s.io/client-go/pkg/apimachinery/registered" - schema "k8s.io/client-go/pkg/runtime/schema" - serializer "k8s.io/client-go/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) @@ -45,7 +44,7 @@ type CoreV1Interface interface { ServiceAccountsGetter } -// CoreV1Client is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group. +// CoreV1Client is used to interact with features provided by the group. type CoreV1Client struct { restClient rest.Interface } @@ -148,7 +147,7 @@ func setConfigDefaults(config *rest.Config) error { return err } // if /v1 is not enabled, return an error - if !registered.IsEnabledVersion(gv) { + if !api.Registry.IsEnabledVersion(gv) { return fmt.Errorf("/v1 is not enabled") } config.APIPath = "/api" diff --git a/kubernetes/typed/core/v1/doc.go b/kubernetes/typed/core/v1/doc.go index 916befbf..acd71f25 100644 --- a/kubernetes/typed/core/v1/doc.go +++ b/kubernetes/typed/core/v1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/core/v1/endpoints.go b/kubernetes/typed/core/v1/endpoints.go index 7a951ea0..d0985b28 100644 --- a/kubernetes/typed/core/v1/endpoints.go +++ b/kubernetes/typed/core/v1/endpoints.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/event.go b/kubernetes/typed/core/v1/event.go index 27f416fb..5623f199 100644 --- a/kubernetes/typed/core/v1/event.go +++ b/kubernetes/typed/core/v1/event.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/event_expansion.go b/kubernetes/typed/core/v1/event_expansion.go index 5a893ca2..20aee7ac 100644 --- a/kubernetes/typed/core/v1/event_expansion.go +++ b/kubernetes/typed/core/v1/event_expansion.go @@ -19,10 +19,10 @@ package v1 import ( "fmt" + "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/v1" "k8s.io/client-go/pkg/fields" - "k8s.io/client-go/pkg/runtime" ) // The EventExpansion interface allows manually adding extra methods to the EventInterface. diff --git a/kubernetes/typed/core/v1/fake/doc.go b/kubernetes/typed/core/v1/fake/doc.go index ab41d136..ea928c21 100644 --- a/kubernetes/typed/core/v1/fake/doc.go +++ b/kubernetes/typed/core/v1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/core/v1/fake/fake_componentstatus.go b/kubernetes/typed/core/v1/fake/fake_componentstatus.go index ddba21a0..dc3a7ba7 100644 --- a/kubernetes/typed/core/v1/fake/fake_componentstatus.go +++ b/kubernetes/typed/core/v1/fake/fake_componentstatus.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_configmap.go b/kubernetes/typed/core/v1/fake/fake_configmap.go index d1ec5743..1e29875c 100644 --- a/kubernetes/typed/core/v1/fake/fake_configmap.go +++ b/kubernetes/typed/core/v1/fake/fake_configmap.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_core_client.go b/kubernetes/typed/core/v1/fake/fake_core_client.go index dc2855ac..0956b4c6 100644 --- a/kubernetes/typed/core/v1/fake/fake_core_client.go +++ b/kubernetes/typed/core/v1/fake/fake_core_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/core/v1/fake/fake_endpoints.go b/kubernetes/typed/core/v1/fake/fake_endpoints.go index 1d016f3c..7858e97c 100644 --- a/kubernetes/typed/core/v1/fake/fake_endpoints.go +++ b/kubernetes/typed/core/v1/fake/fake_endpoints.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_event.go b/kubernetes/typed/core/v1/fake/fake_event.go index 65bcbf40..bc24a611 100644 --- a/kubernetes/typed/core/v1/fake/fake_event.go +++ b/kubernetes/typed/core/v1/fake/fake_event.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_event_expansion.go b/kubernetes/typed/core/v1/fake/fake_event_expansion.go index 983a6cc3..7ed87d53 100644 --- a/kubernetes/typed/core/v1/fake/fake_event_expansion.go +++ b/kubernetes/typed/core/v1/fake/fake_event_expansion.go @@ -17,10 +17,10 @@ limitations under the License. package fake import ( + "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/v1" "k8s.io/client-go/pkg/fields" - "k8s.io/client-go/pkg/runtime" "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_limitrange.go b/kubernetes/typed/core/v1/fake/fake_limitrange.go index db61b2e5..6a3ea3e7 100644 --- a/kubernetes/typed/core/v1/fake/fake_limitrange.go +++ b/kubernetes/typed/core/v1/fake/fake_limitrange.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_namespace.go b/kubernetes/typed/core/v1/fake/fake_namespace.go index 1e3b4d6d..ae756ded 100644 --- a/kubernetes/typed/core/v1/fake/fake_namespace.go +++ b/kubernetes/typed/core/v1/fake/fake_namespace.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_node.go b/kubernetes/typed/core/v1/fake/fake_node.go index 5fec7147..891d1e9a 100644 --- a/kubernetes/typed/core/v1/fake/fake_node.go +++ b/kubernetes/typed/core/v1/fake/fake_node.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_persistentvolume.go b/kubernetes/typed/core/v1/fake/fake_persistentvolume.go index f5c372dc..2fb7a51b 100644 --- a/kubernetes/typed/core/v1/fake/fake_persistentvolume.go +++ b/kubernetes/typed/core/v1/fake/fake_persistentvolume.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_persistentvolumeclaim.go b/kubernetes/typed/core/v1/fake/fake_persistentvolumeclaim.go index 43aab2df..1c17171e 100644 --- a/kubernetes/typed/core/v1/fake/fake_persistentvolumeclaim.go +++ b/kubernetes/typed/core/v1/fake/fake_persistentvolumeclaim.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_pod.go b/kubernetes/typed/core/v1/fake/fake_pod.go index f1a234ee..7ba33a2f 100644 --- a/kubernetes/typed/core/v1/fake/fake_pod.go +++ b/kubernetes/typed/core/v1/fake/fake_pod.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_podtemplate.go b/kubernetes/typed/core/v1/fake/fake_podtemplate.go index 60af24cc..1669d173 100644 --- a/kubernetes/typed/core/v1/fake/fake_podtemplate.go +++ b/kubernetes/typed/core/v1/fake/fake_podtemplate.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_replicationcontroller.go b/kubernetes/typed/core/v1/fake/fake_replicationcontroller.go index c035c66d..94c19de0 100644 --- a/kubernetes/typed/core/v1/fake/fake_replicationcontroller.go +++ b/kubernetes/typed/core/v1/fake/fake_replicationcontroller.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_resourcequota.go b/kubernetes/typed/core/v1/fake/fake_resourcequota.go index 55d6913d..01ce9808 100644 --- a/kubernetes/typed/core/v1/fake/fake_resourcequota.go +++ b/kubernetes/typed/core/v1/fake/fake_resourcequota.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_secret.go b/kubernetes/typed/core/v1/fake/fake_secret.go index d7c6a896..59b86a75 100644 --- a/kubernetes/typed/core/v1/fake/fake_secret.go +++ b/kubernetes/typed/core/v1/fake/fake_secret.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_service.go b/kubernetes/typed/core/v1/fake/fake_service.go index da9b442a..7bff637a 100644 --- a/kubernetes/typed/core/v1/fake/fake_service.go +++ b/kubernetes/typed/core/v1/fake/fake_service.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/fake/fake_serviceaccount.go b/kubernetes/typed/core/v1/fake/fake_serviceaccount.go index ab371c5a..ddbdb1dd 100644 --- a/kubernetes/typed/core/v1/fake/fake_serviceaccount.go +++ b/kubernetes/typed/core/v1/fake/fake_serviceaccount.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/core/v1/generated_expansion.go b/kubernetes/typed/core/v1/generated_expansion.go index 616adfa1..5fe0585b 100644 --- a/kubernetes/typed/core/v1/generated_expansion.go +++ b/kubernetes/typed/core/v1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/core/v1/limitrange.go b/kubernetes/typed/core/v1/limitrange.go index 5a080855..d7470a6a 100644 --- a/kubernetes/typed/core/v1/limitrange.go +++ b/kubernetes/typed/core/v1/limitrange.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/namespace.go b/kubernetes/typed/core/v1/namespace.go index 8509d0de..6c87008f 100644 --- a/kubernetes/typed/core/v1/namespace.go +++ b/kubernetes/typed/core/v1/namespace.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/node.go b/kubernetes/typed/core/v1/node.go index 2aaf9903..d6531f7d 100644 --- a/kubernetes/typed/core/v1/node.go +++ b/kubernetes/typed/core/v1/node.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/persistentvolume.go b/kubernetes/typed/core/v1/persistentvolume.go index e75c84ad..30941d52 100644 --- a/kubernetes/typed/core/v1/persistentvolume.go +++ b/kubernetes/typed/core/v1/persistentvolume.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/persistentvolumeclaim.go b/kubernetes/typed/core/v1/persistentvolumeclaim.go index 3d11580e..b9046e6f 100644 --- a/kubernetes/typed/core/v1/persistentvolumeclaim.go +++ b/kubernetes/typed/core/v1/persistentvolumeclaim.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/pod.go b/kubernetes/typed/core/v1/pod.go index b9d50cc1..75ae88b6 100644 --- a/kubernetes/typed/core/v1/pod.go +++ b/kubernetes/typed/core/v1/pod.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/podtemplate.go b/kubernetes/typed/core/v1/podtemplate.go index 35eba1a2..ea34cdf8 100644 --- a/kubernetes/typed/core/v1/podtemplate.go +++ b/kubernetes/typed/core/v1/podtemplate.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/replicationcontroller.go b/kubernetes/typed/core/v1/replicationcontroller.go index 597ee16f..475181c1 100644 --- a/kubernetes/typed/core/v1/replicationcontroller.go +++ b/kubernetes/typed/core/v1/replicationcontroller.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/resourcequota.go b/kubernetes/typed/core/v1/resourcequota.go index e7a747ca..77401851 100644 --- a/kubernetes/typed/core/v1/resourcequota.go +++ b/kubernetes/typed/core/v1/resourcequota.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/secret.go b/kubernetes/typed/core/v1/secret.go index 71667101..685a89e2 100644 --- a/kubernetes/typed/core/v1/secret.go +++ b/kubernetes/typed/core/v1/secret.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/service.go b/kubernetes/typed/core/v1/service.go index c0c89cd2..60a9edd6 100644 --- a/kubernetes/typed/core/v1/service.go +++ b/kubernetes/typed/core/v1/service.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/service_expansion.go b/kubernetes/typed/core/v1/service_expansion.go index 687589c2..07b212bb 100644 --- a/kubernetes/typed/core/v1/service_expansion.go +++ b/kubernetes/typed/core/v1/service_expansion.go @@ -17,7 +17,7 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/pkg/util/net" + "k8s.io/apimachinery/pkg/util/net" "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/core/v1/serviceaccount.go b/kubernetes/typed/core/v1/serviceaccount.go index 9cf6cad3..00ce051e 100644 --- a/kubernetes/typed/core/v1/serviceaccount.go +++ b/kubernetes/typed/core/v1/serviceaccount.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/extensions/v1beta1/daemonset.go b/kubernetes/typed/extensions/v1beta1/daemonset.go index b0232d6f..e15db628 100644 --- a/kubernetes/typed/extensions/v1beta1/daemonset.go +++ b/kubernetes/typed/extensions/v1beta1/daemonset.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1beta1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/extensions/v1beta1/deployment.go b/kubernetes/typed/extensions/v1beta1/deployment.go index f7c7f517..ee3f3474 100644 --- a/kubernetes/typed/extensions/v1beta1/deployment.go +++ b/kubernetes/typed/extensions/v1beta1/deployment.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1beta1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/extensions/v1beta1/doc.go b/kubernetes/typed/extensions/v1beta1/doc.go index f7631fa4..e596bf01 100644 --- a/kubernetes/typed/extensions/v1beta1/doc.go +++ b/kubernetes/typed/extensions/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/extensions/v1beta1/extensions_client.go b/kubernetes/typed/extensions/v1beta1/extensions_client.go index d7cf10c8..c29730a9 100644 --- a/kubernetes/typed/extensions/v1beta1/extensions_client.go +++ b/kubernetes/typed/extensions/v1beta1/extensions_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,10 +18,9 @@ package v1beta1 import ( fmt "fmt" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" api "k8s.io/client-go/pkg/api" - registered "k8s.io/client-go/pkg/apimachinery/registered" - schema "k8s.io/client-go/pkg/runtime/schema" - serializer "k8s.io/client-go/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) @@ -36,7 +35,7 @@ type ExtensionsV1beta1Interface interface { ThirdPartyResourcesGetter } -// ExtensionsV1beta1Client is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group. +// ExtensionsV1beta1Client is used to interact with features provided by the extensions group. type ExtensionsV1beta1Client struct { restClient rest.Interface } @@ -103,7 +102,7 @@ func setConfigDefaults(config *rest.Config) error { return err } // if extensions/v1beta1 is not enabled, return an error - if !registered.IsEnabledVersion(gv) { + if !api.Registry.IsEnabledVersion(gv) { return fmt.Errorf("extensions/v1beta1 is not enabled") } config.APIPath = "/apis" diff --git a/kubernetes/typed/extensions/v1beta1/fake/doc.go b/kubernetes/typed/extensions/v1beta1/fake/doc.go index ab41d136..ea928c21 100644 --- a/kubernetes/typed/extensions/v1beta1/fake/doc.go +++ b/kubernetes/typed/extensions/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/extensions/v1beta1/fake/fake_daemonset.go b/kubernetes/typed/extensions/v1beta1/fake/fake_daemonset.go index 8fdb5539..4c048e85 100644 --- a/kubernetes/typed/extensions/v1beta1/fake/fake_daemonset.go +++ b/kubernetes/typed/extensions/v1beta1/fake/fake_daemonset.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/extensions/v1beta1/fake/fake_deployment.go b/kubernetes/typed/extensions/v1beta1/fake/fake_deployment.go index 1494f727..c93dc73a 100644 --- a/kubernetes/typed/extensions/v1beta1/fake/fake_deployment.go +++ b/kubernetes/typed/extensions/v1beta1/fake/fake_deployment.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go b/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go index 14d7e20a..c0489371 100644 --- a/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go +++ b/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/extensions/v1beta1/fake/fake_ingress.go b/kubernetes/typed/extensions/v1beta1/fake/fake_ingress.go index 7160bedd..59843853 100644 --- a/kubernetes/typed/extensions/v1beta1/fake/fake_ingress.go +++ b/kubernetes/typed/extensions/v1beta1/fake/fake_ingress.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/extensions/v1beta1/fake/fake_podsecuritypolicy.go b/kubernetes/typed/extensions/v1beta1/fake/fake_podsecuritypolicy.go index 11b6fd63..1143585f 100644 --- a/kubernetes/typed/extensions/v1beta1/fake/fake_podsecuritypolicy.go +++ b/kubernetes/typed/extensions/v1beta1/fake/fake_podsecuritypolicy.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/extensions/v1beta1/fake/fake_replicaset.go b/kubernetes/typed/extensions/v1beta1/fake/fake_replicaset.go index 93a8ab33..82c9e72a 100644 --- a/kubernetes/typed/extensions/v1beta1/fake/fake_replicaset.go +++ b/kubernetes/typed/extensions/v1beta1/fake/fake_replicaset.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/extensions/v1beta1/fake/fake_scale.go b/kubernetes/typed/extensions/v1beta1/fake/fake_scale.go index 7e77279c..77f8c61a 100644 --- a/kubernetes/typed/extensions/v1beta1/fake/fake_scale.go +++ b/kubernetes/typed/extensions/v1beta1/fake/fake_scale.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/extensions/v1beta1/fake/fake_scale_expansion.go b/kubernetes/typed/extensions/v1beta1/fake/fake_scale_expansion.go index 70e1555a..dca6226a 100644 --- a/kubernetes/typed/extensions/v1beta1/fake/fake_scale_expansion.go +++ b/kubernetes/typed/extensions/v1beta1/fake/fake_scale_expansion.go @@ -17,8 +17,8 @@ limitations under the License. package fake import ( + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/apis/extensions/v1beta1" - "k8s.io/client-go/pkg/runtime/schema" "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/extensions/v1beta1/fake/fake_thirdpartyresource.go b/kubernetes/typed/extensions/v1beta1/fake/fake_thirdpartyresource.go index a1682b40..e3e7ace1 100644 --- a/kubernetes/typed/extensions/v1beta1/fake/fake_thirdpartyresource.go +++ b/kubernetes/typed/extensions/v1beta1/fake/fake_thirdpartyresource.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/extensions/v1beta1/generated_expansion.go b/kubernetes/typed/extensions/v1beta1/generated_expansion.go index 2922553f..d0a3d64b 100644 --- a/kubernetes/typed/extensions/v1beta1/generated_expansion.go +++ b/kubernetes/typed/extensions/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/extensions/v1beta1/ingress.go b/kubernetes/typed/extensions/v1beta1/ingress.go index 5c04add8..e60e2b56 100644 --- a/kubernetes/typed/extensions/v1beta1/ingress.go +++ b/kubernetes/typed/extensions/v1beta1/ingress.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1beta1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go b/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go index cf0ac4ca..2fcb1497 100644 --- a/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go +++ b/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1beta1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/extensions/v1beta1/replicaset.go b/kubernetes/typed/extensions/v1beta1/replicaset.go index bd56b330..99ad92b6 100644 --- a/kubernetes/typed/extensions/v1beta1/replicaset.go +++ b/kubernetes/typed/extensions/v1beta1/replicaset.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1beta1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/extensions/v1beta1/scale.go b/kubernetes/typed/extensions/v1beta1/scale.go index 87c78377..733012ad 100644 --- a/kubernetes/typed/extensions/v1beta1/scale.go +++ b/kubernetes/typed/extensions/v1beta1/scale.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/extensions/v1beta1/scale_expansion.go b/kubernetes/typed/extensions/v1beta1/scale_expansion.go index 07d95e5a..efeae4b0 100644 --- a/kubernetes/typed/extensions/v1beta1/scale_expansion.go +++ b/kubernetes/typed/extensions/v1beta1/scale_expansion.go @@ -17,9 +17,9 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/pkg/api/meta" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/apis/extensions/v1beta1" - "k8s.io/client-go/pkg/runtime/schema" ) // The ScaleExpansion interface allows manually adding extra methods to the ScaleInterface. diff --git a/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go b/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go index 5a3d8b9b..9fd61d8f 100644 --- a/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go +++ b/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1beta1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/policy/v1alpha1/fake/fake_poddisruptionbudget.go b/kubernetes/typed/policy/v1alpha1/fake/fake_poddisruptionbudget.go index 1c26b816..f5be449c 100644 --- a/kubernetes/typed/policy/v1alpha1/fake/fake_poddisruptionbudget.go +++ b/kubernetes/typed/policy/v1alpha1/fake/fake_poddisruptionbudget.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( + labels "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1alpha1 "k8s.io/client-go/pkg/apis/policy/v1alpha1" - labels "k8s.io/client-go/pkg/labels" - "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go b/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go index 2d02a101..883d715f 100644 --- a/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go +++ b/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go @@ -17,10 +17,10 @@ limitations under the License. package v1alpha1 import ( + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" v1alpha1 "k8s.io/client-go/pkg/apis/policy/v1alpha1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/policy/v1alpha1/policy_client.go b/kubernetes/typed/policy/v1alpha1/policy_client.go index c4394e38..353a8e6f 100644 --- a/kubernetes/typed/policy/v1alpha1/policy_client.go +++ b/kubernetes/typed/policy/v1alpha1/policy_client.go @@ -19,10 +19,9 @@ package v1alpha1 import ( fmt "fmt" + "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" api "k8s.io/client-go/pkg/api" - registered "k8s.io/client-go/pkg/apimachinery/registered" - "k8s.io/client-go/pkg/runtime/schema" - serializer "k8s.io/client-go/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) @@ -74,7 +73,7 @@ func setConfigDefaults(config *rest.Config) error { return err } // if policy/v1alpha1 is not enabled, return an error - if !registered.IsEnabledVersion(gv) { + if !api.Registry.IsEnabledVersion(gv) { return fmt.Errorf("policy/v1alpha1 is not enabled") } config.APIPath = "/apis" diff --git a/kubernetes/typed/policy/v1beta1/doc.go b/kubernetes/typed/policy/v1beta1/doc.go index f7631fa4..e596bf01 100644 --- a/kubernetes/typed/policy/v1beta1/doc.go +++ b/kubernetes/typed/policy/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/policy/v1beta1/eviction.go b/kubernetes/typed/policy/v1beta1/eviction.go index 34490896..9c4133e3 100644 --- a/kubernetes/typed/policy/v1beta1/eviction.go +++ b/kubernetes/typed/policy/v1beta1/eviction.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/policy/v1beta1/fake/doc.go b/kubernetes/typed/policy/v1beta1/fake/doc.go index ab41d136..ea928c21 100644 --- a/kubernetes/typed/policy/v1beta1/fake/doc.go +++ b/kubernetes/typed/policy/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/policy/v1beta1/fake/fake_eviction.go b/kubernetes/typed/policy/v1beta1/fake/fake_eviction.go index d6f17964..a091d8de 100644 --- a/kubernetes/typed/policy/v1beta1/fake/fake_eviction.go +++ b/kubernetes/typed/policy/v1beta1/fake/fake_eviction.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/policy/v1beta1/fake/fake_eviction_expansion.go b/kubernetes/typed/policy/v1beta1/fake/fake_eviction_expansion.go index efa40370..d5e686a1 100644 --- a/kubernetes/typed/policy/v1beta1/fake/fake_eviction_expansion.go +++ b/kubernetes/typed/policy/v1beta1/fake/fake_eviction_expansion.go @@ -17,8 +17,8 @@ limitations under the License. package fake import ( + "k8s.io/apimachinery/pkg/runtime/schema" policy "k8s.io/client-go/pkg/apis/policy/v1beta1" - "k8s.io/client-go/pkg/runtime/schema" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/policy/v1beta1/fake/fake_poddisruptionbudget.go b/kubernetes/typed/policy/v1beta1/fake/fake_poddisruptionbudget.go index 9aba1eba..ca878633 100644 --- a/kubernetes/typed/policy/v1beta1/fake/fake_poddisruptionbudget.go +++ b/kubernetes/typed/policy/v1beta1/fake/fake_poddisruptionbudget.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" v1beta1 "k8s.io/client-go/pkg/apis/policy/v1beta1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/policy/v1beta1/fake/fake_policy_client.go b/kubernetes/typed/policy/v1beta1/fake/fake_policy_client.go index 7a12aec2..c9039b51 100644 --- a/kubernetes/typed/policy/v1beta1/fake/fake_policy_client.go +++ b/kubernetes/typed/policy/v1beta1/fake/fake_policy_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/policy/v1beta1/generated_expansion.go b/kubernetes/typed/policy/v1beta1/generated_expansion.go index 33896c65..511adc6e 100644 --- a/kubernetes/typed/policy/v1beta1/generated_expansion.go +++ b/kubernetes/typed/policy/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/policy/v1beta1/poddisruptionbudget.go b/kubernetes/typed/policy/v1beta1/poddisruptionbudget.go index c8519399..8232ba30 100644 --- a/kubernetes/typed/policy/v1beta1/poddisruptionbudget.go +++ b/kubernetes/typed/policy/v1beta1/poddisruptionbudget.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1beta1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" v1beta1 "k8s.io/client-go/pkg/apis/policy/v1beta1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/policy/v1beta1/policy_client.go b/kubernetes/typed/policy/v1beta1/policy_client.go index 3c23f452..a2708271 100644 --- a/kubernetes/typed/policy/v1beta1/policy_client.go +++ b/kubernetes/typed/policy/v1beta1/policy_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,10 +18,9 @@ package v1beta1 import ( fmt "fmt" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" api "k8s.io/client-go/pkg/api" - registered "k8s.io/client-go/pkg/apimachinery/registered" - schema "k8s.io/client-go/pkg/runtime/schema" - serializer "k8s.io/client-go/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) @@ -31,7 +30,7 @@ type PolicyV1beta1Interface interface { PodDisruptionBudgetsGetter } -// PolicyV1beta1Client is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group. +// PolicyV1beta1Client is used to interact with features provided by the policy group. type PolicyV1beta1Client struct { restClient rest.Interface } @@ -78,7 +77,7 @@ func setConfigDefaults(config *rest.Config) error { return err } // if policy/v1beta1 is not enabled, return an error - if !registered.IsEnabledVersion(gv) { + if !api.Registry.IsEnabledVersion(gv) { return fmt.Errorf("policy/v1beta1 is not enabled") } config.APIPath = "/apis" diff --git a/kubernetes/typed/rbac/v1alpha1/clusterrole.go b/kubernetes/typed/rbac/v1alpha1/clusterrole.go index 7559c51c..f9d4bc6f 100644 --- a/kubernetes/typed/rbac/v1alpha1/clusterrole.go +++ b/kubernetes/typed/rbac/v1alpha1/clusterrole.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1alpha1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go b/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go index daffbac7..a42cafcc 100644 --- a/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go +++ b/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1alpha1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/rbac/v1alpha1/doc.go b/kubernetes/typed/rbac/v1alpha1/doc.go index 59d5bb20..f7b1fe66 100644 --- a/kubernetes/typed/rbac/v1alpha1/doc.go +++ b/kubernetes/typed/rbac/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/rbac/v1alpha1/fake/doc.go b/kubernetes/typed/rbac/v1alpha1/fake/doc.go index ab41d136..ea928c21 100644 --- a/kubernetes/typed/rbac/v1alpha1/fake/doc.go +++ b/kubernetes/typed/rbac/v1alpha1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrole.go b/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrole.go index 94c26e41..11fab803 100644 --- a/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrole.go +++ b/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrole.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrolebinding.go b/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrolebinding.go index f6f49ce3..08f719f6 100644 --- a/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrolebinding.go +++ b/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrolebinding.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go b/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go index b11dd64b..11470696 100644 --- a/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go +++ b/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/rbac/v1alpha1/fake/fake_role.go b/kubernetes/typed/rbac/v1alpha1/fake/fake_role.go index c2b787a7..0be64723 100644 --- a/kubernetes/typed/rbac/v1alpha1/fake/fake_role.go +++ b/kubernetes/typed/rbac/v1alpha1/fake/fake_role.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/rbac/v1alpha1/fake/fake_rolebinding.go b/kubernetes/typed/rbac/v1alpha1/fake/fake_rolebinding.go index 39dce850..c7c32386 100644 --- a/kubernetes/typed/rbac/v1alpha1/fake/fake_rolebinding.go +++ b/kubernetes/typed/rbac/v1alpha1/fake/fake_rolebinding.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/rbac/v1alpha1/generated_expansion.go b/kubernetes/typed/rbac/v1alpha1/generated_expansion.go index 86def266..f506fc34 100644 --- a/kubernetes/typed/rbac/v1alpha1/generated_expansion.go +++ b/kubernetes/typed/rbac/v1alpha1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/rbac/v1alpha1/rbac_client.go b/kubernetes/typed/rbac/v1alpha1/rbac_client.go index d3d49773..86b4efa1 100644 --- a/kubernetes/typed/rbac/v1alpha1/rbac_client.go +++ b/kubernetes/typed/rbac/v1alpha1/rbac_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,10 +18,9 @@ package v1alpha1 import ( fmt "fmt" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" api "k8s.io/client-go/pkg/api" - registered "k8s.io/client-go/pkg/apimachinery/registered" - schema "k8s.io/client-go/pkg/runtime/schema" - serializer "k8s.io/client-go/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) @@ -33,7 +32,7 @@ type RbacV1alpha1Interface interface { RoleBindingsGetter } -// RbacV1alpha1Client is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group. +// RbacV1alpha1Client is used to interact with features provided by the rbac.authorization.k8s.io group. type RbacV1alpha1Client struct { restClient rest.Interface } @@ -88,7 +87,7 @@ func setConfigDefaults(config *rest.Config) error { return err } // if rbac.authorization.k8s.io/v1alpha1 is not enabled, return an error - if !registered.IsEnabledVersion(gv) { + if !api.Registry.IsEnabledVersion(gv) { return fmt.Errorf("rbac.authorization.k8s.io/v1alpha1 is not enabled") } config.APIPath = "/apis" diff --git a/kubernetes/typed/rbac/v1alpha1/role.go b/kubernetes/typed/rbac/v1alpha1/role.go index ce282c86..7ed5c195 100644 --- a/kubernetes/typed/rbac/v1alpha1/role.go +++ b/kubernetes/typed/rbac/v1alpha1/role.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1alpha1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/rbac/v1alpha1/rolebinding.go b/kubernetes/typed/rbac/v1alpha1/rolebinding.go index 968cb167..519806fe 100644 --- a/kubernetes/typed/rbac/v1alpha1/rolebinding.go +++ b/kubernetes/typed/rbac/v1alpha1/rolebinding.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1alpha1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/kubernetes/typed/storage/v1beta1/doc.go b/kubernetes/typed/storage/v1beta1/doc.go index f7631fa4..e596bf01 100644 --- a/kubernetes/typed/storage/v1beta1/doc.go +++ b/kubernetes/typed/storage/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/storage/v1beta1/fake/doc.go b/kubernetes/typed/storage/v1beta1/fake/doc.go index ab41d136..ea928c21 100644 --- a/kubernetes/typed/storage/v1beta1/fake/doc.go +++ b/kubernetes/typed/storage/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go b/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go index 0feec0b4..a178091d 100644 --- a/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go +++ b/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/storage/v1beta1/fake/fake_storageclass.go b/kubernetes/typed/storage/v1beta1/fake/fake_storageclass.go index 49af9936..d34197a2 100644 --- a/kubernetes/typed/storage/v1beta1/fake/fake_storageclass.go +++ b/kubernetes/typed/storage/v1beta1/fake/fake_storageclass.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,13 +17,13 @@ limitations under the License. package fake import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" v1beta1 "k8s.io/client-go/pkg/apis/storage/v1beta1" - labels "k8s.io/client-go/pkg/labels" - schema "k8s.io/client-go/pkg/runtime/schema" - watch "k8s.io/client-go/pkg/watch" testing "k8s.io/client-go/testing" ) diff --git a/kubernetes/typed/storage/v1beta1/generated_expansion.go b/kubernetes/typed/storage/v1beta1/generated_expansion.go index b18dda00..6f3f0c55 100644 --- a/kubernetes/typed/storage/v1beta1/generated_expansion.go +++ b/kubernetes/typed/storage/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/kubernetes/typed/storage/v1beta1/storage_client.go b/kubernetes/typed/storage/v1beta1/storage_client.go index b57eaa3a..1851f45f 100644 --- a/kubernetes/typed/storage/v1beta1/storage_client.go +++ b/kubernetes/typed/storage/v1beta1/storage_client.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,10 +18,9 @@ package v1beta1 import ( fmt "fmt" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" api "k8s.io/client-go/pkg/api" - registered "k8s.io/client-go/pkg/apimachinery/registered" - schema "k8s.io/client-go/pkg/runtime/schema" - serializer "k8s.io/client-go/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) @@ -30,7 +29,7 @@ type StorageV1beta1Interface interface { StorageClassesGetter } -// StorageV1beta1Client is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group. +// StorageV1beta1Client is used to interact with features provided by the storage.k8s.io group. type StorageV1beta1Client struct { restClient rest.Interface } @@ -73,7 +72,7 @@ func setConfigDefaults(config *rest.Config) error { return err } // if storage.k8s.io/v1beta1 is not enabled, return an error - if !registered.IsEnabledVersion(gv) { + if !api.Registry.IsEnabledVersion(gv) { return fmt.Errorf("storage.k8s.io/v1beta1 is not enabled") } config.APIPath = "/apis" diff --git a/kubernetes/typed/storage/v1beta1/storageclass.go b/kubernetes/typed/storage/v1beta1/storageclass.go index 565456b2..49906a58 100644 --- a/kubernetes/typed/storage/v1beta1/storageclass.go +++ b/kubernetes/typed/storage/v1beta1/storageclass.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ limitations under the License. package v1beta1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + watch "k8s.io/apimachinery/pkg/watch" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" v1beta1 "k8s.io/client-go/pkg/apis/storage/v1beta1" - watch "k8s.io/client-go/pkg/watch" rest "k8s.io/client-go/rest" ) diff --git a/pkg/api/context.go b/pkg/api/context.go deleted file mode 100644 index 71e0e2dd..00000000 --- a/pkg/api/context.go +++ /dev/null @@ -1,152 +0,0 @@ -/* -Copyright 2014 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package api - -import ( - stderrs "errors" - "time" - - "golang.org/x/net/context" - "k8s.io/client-go/pkg/auth/user" - "k8s.io/client-go/pkg/types" -) - -// Context carries values across API boundaries. -// This context matches the context.Context interface -// (https://blog.golang.org/context), for the purposes -// of passing the api.Context through to the storage tier. -// TODO: Determine the extent that this abstraction+interface -// is used by the api, and whether we can remove. -type Context interface { - // Value returns the value associated with key or nil if none. - Value(key interface{}) interface{} - - // Deadline returns the time when this Context will be canceled, if any. - Deadline() (deadline time.Time, ok bool) - - // Done returns a channel that is closed when this Context is canceled - // or times out. - Done() <-chan struct{} - - // Err indicates why this context was canceled, after the Done channel - // is closed. - Err() error -} - -// The key type is unexported to prevent collisions -type key int - -const ( - // namespaceKey is the context key for the request namespace. - namespaceKey key = iota - - // userKey is the context key for the request user. - userKey - - // uidKey is the context key for the uid to assign to an object on create. - uidKey - - // userAgentKey is the context key for the request user agent. - userAgentKey -) - -// NewContext instantiates a base context object for request flows. -func NewContext() Context { - return context.TODO() -} - -// NewDefaultContext instantiates a base context object for request flows in the default namespace -func NewDefaultContext() Context { - return WithNamespace(NewContext(), NamespaceDefault) -} - -// WithValue returns a copy of parent in which the value associated with key is val. -func WithValue(parent Context, key interface{}, val interface{}) Context { - internalCtx, ok := parent.(context.Context) - if !ok { - panic(stderrs.New("Invalid context type")) - } - return context.WithValue(internalCtx, key, val) -} - -// WithNamespace returns a copy of parent in which the namespace value is set -func WithNamespace(parent Context, namespace string) Context { - return WithValue(parent, namespaceKey, namespace) -} - -// NamespaceFrom returns the value of the namespace key on the ctx -func NamespaceFrom(ctx Context) (string, bool) { - namespace, ok := ctx.Value(namespaceKey).(string) - return namespace, ok -} - -// NamespaceValue returns the value of the namespace key on the ctx, or the empty string if none -func NamespaceValue(ctx Context) string { - namespace, _ := NamespaceFrom(ctx) - return namespace -} - -// ValidNamespace returns false if the namespace on the context differs from the resource. If the resource has no namespace, it is set to the value in the context. -func ValidNamespace(ctx Context, resource *ObjectMeta) bool { - ns, ok := NamespaceFrom(ctx) - if len(resource.Namespace) == 0 { - resource.Namespace = ns - } - return ns == resource.Namespace && ok -} - -// WithNamespaceDefaultIfNone returns a context whose namespace is the default if and only if the parent context has no namespace value -func WithNamespaceDefaultIfNone(parent Context) Context { - namespace, ok := NamespaceFrom(parent) - if !ok || len(namespace) == 0 { - return WithNamespace(parent, NamespaceDefault) - } - return parent -} - -// WithUser returns a copy of parent in which the user value is set -func WithUser(parent Context, user user.Info) Context { - return WithValue(parent, userKey, user) -} - -// UserFrom returns the value of the user key on the ctx -func UserFrom(ctx Context) (user.Info, bool) { - user, ok := ctx.Value(userKey).(user.Info) - return user, ok -} - -// WithUID returns a copy of parent in which the uid value is set -func WithUID(parent Context, uid types.UID) Context { - return WithValue(parent, uidKey, uid) -} - -// UIDFrom returns the value of the uid key on the ctx -func UIDFrom(ctx Context) (types.UID, bool) { - uid, ok := ctx.Value(uidKey).(types.UID) - return uid, ok -} - -// WithUserAgent returns a copy of parent in which the user value is set -func WithUserAgent(parent Context, userAgent string) Context { - return WithValue(parent, userAgentKey, userAgent) -} - -// UserAgentFrom returns the value of the userAgent key on the ctx -func UserAgentFrom(ctx Context) (string, bool) { - userAgent, ok := ctx.Value(userAgentKey).(string) - return userAgent, ok -} diff --git a/pkg/api/conversion.go b/pkg/api/conversion.go index 849076ef..c8234cee 100644 --- a/pkg/api/conversion.go +++ b/pkg/api/conversion.go @@ -19,15 +19,15 @@ package api import ( "fmt" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/util/validation/field" "k8s.io/client-go/pkg/api/resource" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/conversion" "k8s.io/client-go/pkg/fields" - "k8s.io/client-go/pkg/labels" - "k8s.io/client-go/pkg/runtime" "k8s.io/client-go/pkg/util/intstr" utillabels "k8s.io/client-go/pkg/util/labels" - "k8s.io/client-go/pkg/util/validation/field" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/api/defaults.go b/pkg/api/defaults.go index 745f610e..57ffd7bf 100644 --- a/pkg/api/defaults.go +++ b/pkg/api/defaults.go @@ -17,9 +17,9 @@ limitations under the License. package api import ( + "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/pkg/fields" - "k8s.io/client-go/pkg/labels" - "k8s.io/client-go/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/api/errors/errors.go b/pkg/api/errors/errors.go index e2482562..560c889b 100644 --- a/pkg/api/errors/errors.go +++ b/pkg/api/errors/errors.go @@ -22,10 +22,10 @@ import ( "net/http" "strings" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/util/validation/field" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/util/validation/field" ) // HTTP Status codes not in the golang http package. @@ -58,7 +58,7 @@ func (e *StatusError) Error() string { } // Status allows access to e's status without having to know the detailed workings -// of StatusError. Used by pkg/apiserver. +// of StatusError. func (e *StatusError) Status() metav1.Status { return e.ErrStatus } diff --git a/pkg/api/helpers.go b/pkg/api/helpers.go index f85e79c9..d752b412 100644 --- a/pkg/api/helpers.go +++ b/pkg/api/helpers.go @@ -24,15 +24,15 @@ import ( "strings" "time" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/selection" + "k8s.io/apimachinery/pkg/types" + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/api/resource" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/conversion" "k8s.io/client-go/pkg/fields" - "k8s.io/client-go/pkg/labels" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/selection" - "k8s.io/client-go/pkg/types" - "k8s.io/client-go/pkg/util/sets" "github.com/davecgh/go-spew/spew" ) diff --git a/pkg/api/install/install.go b/pkg/api/install/install.go index 14041868..648afade 100644 --- a/pkg/api/install/install.go +++ b/pkg/api/install/install.go @@ -23,14 +23,13 @@ import ( "github.com/golang/glog" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/apimachinery" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/api/meta" "k8s.io/client-go/pkg/api/v1" - "k8s.io/client-go/pkg/apimachinery" - "k8s.io/client-go/pkg/apimachinery/registered" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/util/sets" ) const importPrefix = "k8s.io/client-go/pkg/api" @@ -41,10 +40,10 @@ var accessor = meta.NewAccessor() var availableVersions = []schema.GroupVersion{v1.SchemeGroupVersion} func init() { - registered.RegisterVersions(availableVersions) + api.Registry.RegisterVersions(availableVersions) externalVersions := []schema.GroupVersion{} for _, v := range availableVersions { - if registered.IsAllowedVersion(v) { + if api.Registry.IsAllowedVersion(v) { externalVersions = append(externalVersions, v) } } @@ -53,7 +52,7 @@ func init() { return } - if err := registered.EnableVersions(externalVersions...); err != nil { + if err := api.Registry.EnableVersions(externalVersions...); err != nil { glog.V(4).Infof("%v", err) return } @@ -65,8 +64,8 @@ func init() { // TODO: enableVersions should be centralized rather than spread in each API // group. -// We can combine registered.RegisterVersions, registered.EnableVersions and -// registered.RegisterGroup once we have moved enableVersions there. +// We can combine api.Registry.RegisterVersions, api.Registry.EnableVersions and +// api.Registry.RegisterGroup once we have moved enableVersions there. func enableVersions(externalVersions []schema.GroupVersion) error { addVersionsToScheme(externalVersions...) preferredExternalVersion := externalVersions[0] @@ -79,7 +78,7 @@ func enableVersions(externalVersions []schema.GroupVersion) error { InterfacesFor: interfacesFor, } - if err := registered.RegisterGroup(groupMeta); err != nil { + if err := api.Registry.RegisterGroup(groupMeta); err != nil { return err } return nil @@ -125,7 +124,7 @@ func interfacesFor(version schema.GroupVersion) (*meta.VersionInterfaces, error) MetadataAccessor: accessor, }, nil default: - g, _ := registered.Group(api.GroupName) + g, _ := api.Registry.Group(api.GroupName) return nil, fmt.Errorf("unsupported storage version: %s (valid: %v)", version, g.GroupVersions) } } @@ -138,7 +137,7 @@ func addVersionsToScheme(externalVersions ...schema.GroupVersion) { } // add the enabled external versions to Scheme for _, v := range externalVersions { - if !registered.IsEnabledVersion(v) { + if !api.Registry.IsEnabledVersion(v) { glog.Errorf("Version %s is not enabled, so it will not be added to the Scheme.", v) continue } diff --git a/pkg/api/mapper.go b/pkg/api/mapper.go index 03cc08fe..69334b07 100644 --- a/pkg/api/mapper.go +++ b/pkg/api/mapper.go @@ -19,10 +19,10 @@ package api import ( "strings" - "k8s.io/client-go/pkg/api/meta" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/util/sets" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/util/sets" ) // Instantiates a DefaultRESTMapper based on types registered in api.Scheme diff --git a/pkg/api/meta.go b/pkg/api/meta.go index e2709e35..7ad2e1d3 100644 --- a/pkg/api/meta.go +++ b/pkg/api/meta.go @@ -17,27 +17,13 @@ limitations under the License. package api import ( - "k8s.io/client-go/pkg/api/meta" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/conversion" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/types" - "k8s.io/client-go/pkg/util/uuid" + "k8s.io/apimachinery/pkg/api/meta" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/types" ) -// FillObjectMetaSystemFields populates fields that are managed by the system on ObjectMeta. -func FillObjectMetaSystemFields(ctx Context, meta *ObjectMeta) { - meta.CreationTimestamp = metav1.Now() - // allows admission controllers to assign a UID earlier in the request processing - // to support tracking resources pending creation. - uid, found := UIDFrom(ctx) - if !found { - uid = uuid.NewUUID() - } - meta.UID = uid - meta.SelfLink = "" -} - // HasObjectMetaSystemFieldValues returns true if fields that are managed by the system on ObjectMeta have values. func HasObjectMetaSystemFieldValues(meta *ObjectMeta) bool { return !meta.CreationTimestamp.Time.IsZero() || diff --git a/pkg/api/ref.go b/pkg/api/ref.go index 30446fe7..134bbd26 100644 --- a/pkg/api/ref.go +++ b/pkg/api/ref.go @@ -22,9 +22,9 @@ import ( "net/url" "strings" - "k8s.io/client-go/pkg/api/meta" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) var ( diff --git a/pkg/api/register.go b/pkg/api/register.go index cdf038a6..1847e0c0 100644 --- a/pkg/api/register.go +++ b/pkg/api/register.go @@ -17,12 +17,19 @@ limitations under the License. package api import ( - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/runtime/serializer" + "os" + + "k8s.io/apimachinery/pkg/apimachinery/registered" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/serializer" ) +// Registry is an instance of an API registry. This is an interim step to start removing the idea of a global +// API registry. +var Registry = registered.NewOrDie(os.Getenv("KUBE_API_VERSIONS")) + // Scheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered. // NOTE: If you are copying this file to start a new api group, STOP! Copy the // extensions group instead. This Scheme is special and should appear ONLY in @@ -65,7 +72,7 @@ func init() { // TODO(lavalamp): move this call to scheme builder above. Can't // remove it from here because lots of people inappropriately rely on it // (specifically the unversioned time conversion). Can't have it in - // both places because then it gets double registered. Consequence of + // both places because then it gets double api.Registry. Consequence of // current state is that it only ever gets registered in the main // api.Scheme, even though everyone that uses anything from unversioned // needs these. diff --git a/pkg/api/requestcontext.go b/pkg/api/requestcontext.go deleted file mode 100644 index 724fea81..00000000 --- a/pkg/api/requestcontext.go +++ /dev/null @@ -1,117 +0,0 @@ -/* -Copyright 2014 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package api - -import ( - "errors" - "net/http" - "sync" - - "github.com/golang/glog" -) - -// RequestContextMapper keeps track of the context associated with a particular request -type RequestContextMapper interface { - // Get returns the context associated with the given request (if any), and true if the request has an associated context, and false if it does not. - Get(req *http.Request) (Context, bool) - // Update maps the request to the given context. If no context was previously associated with the request, an error is returned. - // Update should only be called with a descendant context of the previously associated context. - // Updating to an unrelated context may return an error in the future. - // The context associated with a request should only be updated by a limited set of callers. - // Valid examples include the authentication layer, or an audit/tracing layer. - Update(req *http.Request, context Context) error -} - -type requestContextMap struct { - contexts map[*http.Request]Context - lock sync.Mutex -} - -// NewRequestContextMapper returns a new RequestContextMapper. -// The returned mapper must be added as a request filter using NewRequestContextFilter. -func NewRequestContextMapper() RequestContextMapper { - return &requestContextMap{ - contexts: make(map[*http.Request]Context), - } -} - -// Get returns the context associated with the given request (if any), and true if the request has an associated context, and false if it does not. -// Get will only return a valid context when called from inside the filter chain set up by NewRequestContextFilter() -func (c *requestContextMap) Get(req *http.Request) (Context, bool) { - c.lock.Lock() - defer c.lock.Unlock() - context, ok := c.contexts[req] - return context, ok -} - -// Update maps the request to the given context. -// If no context was previously associated with the request, an error is returned and the context is ignored. -func (c *requestContextMap) Update(req *http.Request, context Context) error { - c.lock.Lock() - defer c.lock.Unlock() - if _, ok := c.contexts[req]; !ok { - return errors.New("No context associated") - } - // TODO: ensure the new context is a descendant of the existing one - c.contexts[req] = context - return nil -} - -// init maps the request to the given context and returns true if there was no context associated with the request already. -// if a context was already associated with the request, it ignores the given context and returns false. -// init is intentionally unexported to ensure that all init calls are paired with a remove after a request is handled -func (c *requestContextMap) init(req *http.Request, context Context) bool { - c.lock.Lock() - defer c.lock.Unlock() - if _, exists := c.contexts[req]; exists { - return false - } - c.contexts[req] = context - return true -} - -// remove is intentionally unexported to ensure that the context is not removed until a request is handled -func (c *requestContextMap) remove(req *http.Request) { - c.lock.Lock() - defer c.lock.Unlock() - delete(c.contexts, req) -} - -// WithRequestContext ensures there is a Context object associated with the request before calling the passed handler. -// After the passed handler runs, the context is cleaned up. -func WithRequestContext(handler http.Handler, mapper RequestContextMapper) http.Handler { - rcMap, ok := mapper.(*requestContextMap) - if !ok { - glog.Fatal("Unknown RequestContextMapper implementation.") - } - - return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { - if rcMap.init(req, NewContext()) { - // If we were the ones to successfully initialize, pair with a remove - defer rcMap.remove(req) - } - handler.ServeHTTP(w, req) - }) -} - -// IsEmpty returns true if there are no contexts registered, or an error if it could not be determined. Intended for use by tests. -func IsEmpty(requestsToContexts RequestContextMapper) (bool, error) { - if requestsToContexts, ok := requestsToContexts.(*requestContextMap); ok { - return len(requestsToContexts.contexts) == 0, nil - } - return true, errors.New("Unknown RequestContextMapper implementation") -} diff --git a/pkg/api/resource/generated.pb.go b/pkg/api/resource/generated.pb.go index d70ee307..b8eb1606 100644 --- a/pkg/api/resource/generated.pb.go +++ b/pkg/api/resource/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/api/resource/generated.proto b/pkg/api/resource/generated.proto index c26921d5..8dffa518 100644 --- a/pkg/api/resource/generated.proto +++ b/pkg/api/resource/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/api/resource/quantity.go b/pkg/api/resource/quantity.go index d0a4a401..5d413b10 100644 --- a/pkg/api/resource/quantity.go +++ b/pkg/api/resource/quantity.go @@ -29,7 +29,7 @@ import ( "github.com/go-openapi/spec" inf "gopkg.in/inf.v0" - "k8s.io/client-go/pkg/genericapiserver/openapi/common" + "k8s.io/apimachinery/pkg/genericapiserver/openapi/common" ) // Quantity is a fixed-point representation of a number. diff --git a/pkg/api/resource_helpers.go b/pkg/api/resource_helpers.go index 91555b5b..d596d490 100644 --- a/pkg/api/resource_helpers.go +++ b/pkg/api/resource_helpers.go @@ -19,8 +19,8 @@ package api import ( "time" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/resource" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // Returns string version of ResourceName. diff --git a/pkg/api/testapi/testapi.go b/pkg/api/testapi/testapi.go index 262ea641..447dbcfb 100644 --- a/pkg/api/testapi/testapi.go +++ b/pkg/api/testapi/testapi.go @@ -18,7 +18,7 @@ limitations under the License. // // TODO(lavalamp): this package is a huge disaster at the moment. I intend to // refactor. All code currently using this package should change: -// 1. Declare your own registered.APIGroupRegistrationManager in your own test code. +// 1. Declare your own api.Registry.APIGroupRegistrationManager in your own test code. // 2. Import the relevant install packages. // 3. Register the types you need, from the announced.APIGroupAnnouncementManager. package testapi @@ -30,9 +30,11 @@ import ( "reflect" "strings" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/serializer/recognizer" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/api/meta" - "k8s.io/client-go/pkg/apimachinery/registered" "k8s.io/client-go/pkg/apis/apps" "k8s.io/client-go/pkg/apis/authorization" "k8s.io/client-go/pkg/apis/autoscaling" @@ -45,9 +47,6 @@ import ( "k8s.io/client-go/pkg/apis/rbac" "k8s.io/client-go/pkg/apis/storage" "k8s.io/client-go/pkg/federation/apis/federation" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/runtime/serializer/recognizer" _ "k8s.io/client-go/pkg/api/install" _ "k8s.io/client-go/pkg/apis/apps/install" @@ -139,7 +138,7 @@ func init() { } if _, ok := Groups[api.GroupName]; !ok { - externalGroupVersion := schema.GroupVersion{Group: api.GroupName, Version: registered.GroupOrDie(api.GroupName).GroupVersion.Version} + externalGroupVersion := schema.GroupVersion{Group: api.GroupName, Version: api.Registry.GroupOrDie(api.GroupName).GroupVersion.Version} Groups[api.GroupName] = TestGroup{ externalGroupVersion: externalGroupVersion, internalGroupVersion: api.SchemeGroupVersion, @@ -148,7 +147,7 @@ func init() { } } if _, ok := Groups[extensions.GroupName]; !ok { - externalGroupVersion := schema.GroupVersion{Group: extensions.GroupName, Version: registered.GroupOrDie(extensions.GroupName).GroupVersion.Version} + externalGroupVersion := schema.GroupVersion{Group: extensions.GroupName, Version: api.Registry.GroupOrDie(extensions.GroupName).GroupVersion.Version} Groups[extensions.GroupName] = TestGroup{ externalGroupVersion: externalGroupVersion, internalGroupVersion: extensions.SchemeGroupVersion, @@ -164,7 +163,7 @@ func init() { } internalTypes[k] = t } - externalGroupVersion := schema.GroupVersion{Group: autoscaling.GroupName, Version: registered.GroupOrDie(autoscaling.GroupName).GroupVersion.Version} + externalGroupVersion := schema.GroupVersion{Group: autoscaling.GroupName, Version: api.Registry.GroupOrDie(autoscaling.GroupName).GroupVersion.Version} Groups[autoscaling.GroupName] = TestGroup{ externalGroupVersion: externalGroupVersion, internalGroupVersion: extensions.SchemeGroupVersion, @@ -180,7 +179,7 @@ func init() { break } } - externalGroupVersion := schema.GroupVersion{Group: autoscaling.GroupName, Version: registered.GroupOrDie(autoscaling.GroupName).GroupVersion.Version} + externalGroupVersion := schema.GroupVersion{Group: autoscaling.GroupName, Version: api.Registry.GroupOrDie(autoscaling.GroupName).GroupVersion.Version} Groups[autoscaling.GroupName] = TestGroup{ externalGroupVersion: externalGroupVersion, internalGroupVersion: autoscaling.SchemeGroupVersion, @@ -189,7 +188,7 @@ func init() { } } if _, ok := Groups[batch.GroupName]; !ok { - externalGroupVersion := schema.GroupVersion{Group: batch.GroupName, Version: registered.GroupOrDie(batch.GroupName).GroupVersion.Version} + externalGroupVersion := schema.GroupVersion{Group: batch.GroupName, Version: api.Registry.GroupOrDie(batch.GroupName).GroupVersion.Version} Groups[batch.GroupName] = TestGroup{ externalGroupVersion: externalGroupVersion, internalGroupVersion: batch.SchemeGroupVersion, @@ -198,7 +197,7 @@ func init() { } } if _, ok := Groups[apps.GroupName]; !ok { - externalGroupVersion := schema.GroupVersion{Group: apps.GroupName, Version: registered.GroupOrDie(apps.GroupName).GroupVersion.Version} + externalGroupVersion := schema.GroupVersion{Group: apps.GroupName, Version: api.Registry.GroupOrDie(apps.GroupName).GroupVersion.Version} Groups[apps.GroupName] = TestGroup{ externalGroupVersion: externalGroupVersion, internalGroupVersion: extensions.SchemeGroupVersion, @@ -207,7 +206,7 @@ func init() { } } if _, ok := Groups[policy.GroupName]; !ok { - externalGroupVersion := schema.GroupVersion{Group: policy.GroupName, Version: registered.GroupOrDie(policy.GroupName).GroupVersion.Version} + externalGroupVersion := schema.GroupVersion{Group: policy.GroupName, Version: api.Registry.GroupOrDie(policy.GroupName).GroupVersion.Version} Groups[policy.GroupName] = TestGroup{ externalGroupVersion: externalGroupVersion, internalGroupVersion: policy.SchemeGroupVersion, @@ -216,7 +215,7 @@ func init() { } } if _, ok := Groups[federation.GroupName]; !ok { - externalGroupVersion := schema.GroupVersion{Group: federation.GroupName, Version: registered.GroupOrDie(federation.GroupName).GroupVersion.Version} + externalGroupVersion := schema.GroupVersion{Group: federation.GroupName, Version: api.Registry.GroupOrDie(federation.GroupName).GroupVersion.Version} Groups[federation.GroupName] = TestGroup{ externalGroupVersion: externalGroupVersion, internalGroupVersion: federation.SchemeGroupVersion, @@ -225,7 +224,7 @@ func init() { } } if _, ok := Groups[rbac.GroupName]; !ok { - externalGroupVersion := schema.GroupVersion{Group: rbac.GroupName, Version: registered.GroupOrDie(rbac.GroupName).GroupVersion.Version} + externalGroupVersion := schema.GroupVersion{Group: rbac.GroupName, Version: api.Registry.GroupOrDie(rbac.GroupName).GroupVersion.Version} Groups[rbac.GroupName] = TestGroup{ externalGroupVersion: externalGroupVersion, internalGroupVersion: rbac.SchemeGroupVersion, @@ -234,7 +233,7 @@ func init() { } } if _, ok := Groups[storage.GroupName]; !ok { - externalGroupVersion := schema.GroupVersion{Group: storage.GroupName, Version: registered.GroupOrDie(storage.GroupName).GroupVersion.Version} + externalGroupVersion := schema.GroupVersion{Group: storage.GroupName, Version: api.Registry.GroupOrDie(storage.GroupName).GroupVersion.Version} Groups[storage.GroupName] = TestGroup{ externalGroupVersion: externalGroupVersion, internalGroupVersion: storage.SchemeGroupVersion, @@ -243,7 +242,7 @@ func init() { } } if _, ok := Groups[certificates.GroupName]; !ok { - externalGroupVersion := schema.GroupVersion{Group: certificates.GroupName, Version: registered.GroupOrDie(certificates.GroupName).GroupVersion.Version} + externalGroupVersion := schema.GroupVersion{Group: certificates.GroupName, Version: api.Registry.GroupOrDie(certificates.GroupName).GroupVersion.Version} Groups[certificates.GroupName] = TestGroup{ externalGroupVersion: externalGroupVersion, internalGroupVersion: certificates.SchemeGroupVersion, @@ -252,7 +251,7 @@ func init() { } } if _, ok := Groups[imagepolicy.GroupName]; !ok { - externalGroupVersion := schema.GroupVersion{Group: imagepolicy.GroupName, Version: registered.GroupOrDie(imagepolicy.GroupName).GroupVersion.Version} + externalGroupVersion := schema.GroupVersion{Group: imagepolicy.GroupName, Version: api.Registry.GroupOrDie(imagepolicy.GroupName).GroupVersion.Version} Groups[imagepolicy.GroupName] = TestGroup{ externalGroupVersion: externalGroupVersion, internalGroupVersion: imagepolicy.SchemeGroupVersion, @@ -261,7 +260,7 @@ func init() { } } if _, ok := Groups[authorization.GroupName]; !ok { - externalGroupVersion := schema.GroupVersion{Group: authorization.GroupName, Version: registered.GroupOrDie(authorization.GroupName).GroupVersion.Version} + externalGroupVersion := schema.GroupVersion{Group: authorization.GroupName, Version: api.Registry.GroupOrDie(authorization.GroupName).GroupVersion.Version} Groups[authorization.GroupName] = TestGroup{ externalGroupVersion: externalGroupVersion, internalGroupVersion: authorization.SchemeGroupVersion, @@ -270,7 +269,7 @@ func init() { } } if _, ok := Groups[kubeadm.GroupName]; !ok { - externalGroupVersion := schema.GroupVersion{Group: kubeadm.GroupName, Version: registered.GroupOrDie(kubeadm.GroupName).GroupVersion.Version} + externalGroupVersion := schema.GroupVersion{Group: kubeadm.GroupName, Version: api.Registry.GroupOrDie(kubeadm.GroupName).GroupVersion.Version} Groups[kubeadm.GroupName] = TestGroup{ externalGroupVersion: externalGroupVersion, internalGroupVersion: kubeadm.SchemeGroupVersion, @@ -358,7 +357,7 @@ func (g TestGroup) StorageCodec() runtime.Codec { // Converter returns the api.Scheme for the API version to test against, as set by the // KUBE_TEST_API env var. func (g TestGroup) Converter() runtime.ObjectConvertor { - interfaces, err := registered.GroupOrDie(g.externalGroupVersion.Group).InterfacesFor(g.externalGroupVersion) + interfaces, err := api.Registry.GroupOrDie(g.externalGroupVersion.Group).InterfacesFor(g.externalGroupVersion) if err != nil { panic(err) } @@ -368,7 +367,7 @@ func (g TestGroup) Converter() runtime.ObjectConvertor { // MetadataAccessor returns the MetadataAccessor for the API version to test against, // as set by the KUBE_TEST_API env var. func (g TestGroup) MetadataAccessor() meta.MetadataAccessor { - interfaces, err := registered.GroupOrDie(g.externalGroupVersion.Group).InterfacesFor(g.externalGroupVersion) + interfaces, err := api.Registry.GroupOrDie(g.externalGroupVersion.Group).InterfacesFor(g.externalGroupVersion) if err != nil { panic(err) } @@ -432,7 +431,7 @@ func (g TestGroup) ResourcePath(resource, namespace, name string) string { } func (g TestGroup) RESTMapper() meta.RESTMapper { - return registered.RESTMapper() + return api.Registry.RESTMapper() } // ExternalGroupVersions returns all external group versions allowed for the server. diff --git a/pkg/api/types.go b/pkg/api/types.go index dfafe64c..f80737e1 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -17,12 +17,12 @@ limitations under the License. package api import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/pkg/api/resource" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" "k8s.io/client-go/pkg/fields" - "k8s.io/client-go/pkg/labels" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/types" "k8s.io/client-go/pkg/util/intstr" ) @@ -1133,6 +1133,26 @@ type SecretKeySelector struct { Key string } +// EnvFromSource represents the source of a set of ConfigMaps +type EnvFromSource struct { + // An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. + // +optional + Prefix string + // The ConfigMap to select from. + //+optional + ConfigMapRef *ConfigMapEnvSource +} + +// ConfigMapEnvSource selects a ConfigMap to populate the environment +// variables with. +// +// The contents of the target ConfigMap's Data field will represent the +// key-value pairs as environment variables. +type ConfigMapEnvSource struct { + // The ConfigMap to select from. + LocalObjectReference +} + // HTTPHeader describes a custom header to be used in HTTP probes type HTTPHeader struct { // The header field name @@ -1274,6 +1294,14 @@ type Container struct { WorkingDir string // +optional Ports []ContainerPort + // List of sources to populate environment variables in the container. + // The keys defined within a source must be a C_IDENTIFIER. An invalid key + // will prevent the container from starting. When a key exists in multiple + // sources, the value associated with the last source will take precedence. + // Values defined by an Env with a duplicate key will take precedence. + // Cannot be updated. + // +optional + EnvFrom []EnvFromSource // +optional Env []EnvVar // Compute resource requirements. @@ -1933,7 +1961,7 @@ type PodStatus struct { // +optional StartTime *metav1.Time // +optional - QOSClass PodQOSClass `json:"qosClass,omitempty"` + QOSClass PodQOSClass // The list has one entry per init container in the manifest. The most recent successful // init container will have ready = true, the most recently started container will have diff --git a/pkg/api/v1/conversion.go b/pkg/api/v1/conversion.go index dba084a0..2ee13fc6 100644 --- a/pkg/api/v1/conversion.go +++ b/pkg/api/v1/conversion.go @@ -21,12 +21,12 @@ import ( "fmt" "reflect" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/util/validation/field" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/apis/extensions" - "k8s.io/client-go/pkg/conversion" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/util/validation/field" - "k8s.io/client-go/pkg/watch/versioned" ) const ( @@ -123,15 +123,15 @@ func addFastPathConversionFuncs(scheme *runtime.Scheme) error { return true, Convert_api_Endpoints_To_v1_Endpoints(a, b, s) } - case *versioned.Event: + case *metav1.WatchEvent: switch b := objB.(type) { - case *versioned.InternalEvent: - return true, versioned.Convert_versioned_Event_to_versioned_InternalEvent(a, b, s) + case *metav1.InternalEvent: + return true, metav1.Convert_versioned_Event_to_versioned_InternalEvent(a, b, s) } - case *versioned.InternalEvent: + case *metav1.InternalEvent: switch b := objB.(type) { - case *versioned.Event: - return true, versioned.Convert_versioned_InternalEvent_to_versioned_Event(a, b, s) + case *metav1.WatchEvent: + return true, metav1.Convert_versioned_InternalEvent_to_versioned_Event(a, b, s) } } return false, nil @@ -493,6 +493,12 @@ func Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(in *PodTemplateSpec, out // taking responsibility to ensure mutation of in is not exposed // back to the caller. in.Spec.InitContainers = values + + // Call defaulters explicitly until annotations are removed + for i := range in.Spec.InitContainers { + c := &in.Spec.InitContainers[i] + SetDefaults_Container(c) + } } if err := autoConvert_v1_PodTemplateSpec_To_api_PodTemplateSpec(in, out, s); err != nil { diff --git a/pkg/api/v1/defaults.go b/pkg/api/v1/defaults.go index 92ddd384..764f84d9 100644 --- a/pkg/api/v1/defaults.go +++ b/pkg/api/v1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/pkg/util" "k8s.io/client-go/pkg/util/intstr" "k8s.io/client-go/pkg/util/parsers" @@ -112,7 +112,6 @@ func SetDefaults_Container(obj *Container) { _, tag, _, _ := parsers.ParseImageName(obj.Image) // Check image tag - if tag == "latest" { obj.ImagePullPolicy = PullAlways } else { diff --git a/pkg/api/v1/generated.pb.go b/pkg/api/v1/generated.pb.go index 6bae67ca..39dcdd7d 100644 --- a/pkg/api/v1/generated.pb.go +++ b/pkg/api/v1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -39,6 +39,7 @@ limitations under the License. ComponentStatus ComponentStatusList ConfigMap + ConfigMapEnvSource ConfigMapKeySelector ConfigMapList ConfigMapVolumeSource @@ -60,6 +61,7 @@ limitations under the License. EndpointSubset Endpoints EndpointsList + EnvFromSource EnvVar EnvVarSource Event @@ -188,11 +190,12 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" -import k8s_io_kubernetes_pkg_api_resource "k8s.io/client-go/pkg/api/resource" -import k8s_io_kubernetes_pkg_apis_meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" -import k8s_io_kubernetes_pkg_runtime "k8s.io/client-go/pkg/runtime" +import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" +import k8s_io_apimachinery_pkg_runtime "k8s.io/apimachinery/pkg/runtime" -import k8s_io_kubernetes_pkg_types "k8s.io/client-go/pkg/types" +import k8s_io_kubernetes_pkg_api_resource "k8s.io/client-go/pkg/api/resource" + +import k8s_io_apimachinery_pkg_types "k8s.io/apimachinery/pkg/types" import strings "strings" import reflect "reflect" @@ -267,604 +270,612 @@ func (m *ConfigMap) Reset() { *m = ConfigMap{} } func (*ConfigMap) ProtoMessage() {} func (*ConfigMap) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } +func (m *ConfigMapEnvSource) Reset() { *m = ConfigMapEnvSource{} } +func (*ConfigMapEnvSource) ProtoMessage() {} +func (*ConfigMapEnvSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} } + func (m *ConfigMapKeySelector) Reset() { *m = ConfigMapKeySelector{} } func (*ConfigMapKeySelector) ProtoMessage() {} -func (*ConfigMapKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} } +func (*ConfigMapKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } func (m *ConfigMapList) Reset() { *m = ConfigMapList{} } func (*ConfigMapList) ProtoMessage() {} -func (*ConfigMapList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } +func (*ConfigMapList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } func (m *ConfigMapVolumeSource) Reset() { *m = ConfigMapVolumeSource{} } func (*ConfigMapVolumeSource) ProtoMessage() {} -func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } +func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} } func (m *Container) Reset() { *m = Container{} } func (*Container) ProtoMessage() {} -func (*Container) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} } +func (*Container) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } func (m *ContainerImage) Reset() { *m = ContainerImage{} } func (*ContainerImage) ProtoMessage() {} -func (*ContainerImage) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } +func (*ContainerImage) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } func (m *ContainerPort) Reset() { *m = ContainerPort{} } func (*ContainerPort) ProtoMessage() {} -func (*ContainerPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } +func (*ContainerPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} } func (m *ContainerState) Reset() { *m = ContainerState{} } func (*ContainerState) ProtoMessage() {} -func (*ContainerState) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} } +func (*ContainerState) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} } func (m *ContainerStateRunning) Reset() { *m = ContainerStateRunning{} } func (*ContainerStateRunning) ProtoMessage() {} -func (*ContainerStateRunning) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} } +func (*ContainerStateRunning) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} } func (m *ContainerStateTerminated) Reset() { *m = ContainerStateTerminated{} } func (*ContainerStateTerminated) ProtoMessage() {} func (*ContainerStateTerminated) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{22} + return fileDescriptorGenerated, []int{23} } func (m *ContainerStateWaiting) Reset() { *m = ContainerStateWaiting{} } func (*ContainerStateWaiting) ProtoMessage() {} -func (*ContainerStateWaiting) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} } +func (*ContainerStateWaiting) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} } func (m *ContainerStatus) Reset() { *m = ContainerStatus{} } func (*ContainerStatus) ProtoMessage() {} -func (*ContainerStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} } +func (*ContainerStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } func (m *DaemonEndpoint) Reset() { *m = DaemonEndpoint{} } func (*DaemonEndpoint) ProtoMessage() {} -func (*DaemonEndpoint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } +func (*DaemonEndpoint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } func (m *DeleteOptions) Reset() { *m = DeleteOptions{} } func (*DeleteOptions) ProtoMessage() {} -func (*DeleteOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } +func (*DeleteOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} } func (m *DownwardAPIVolumeFile) Reset() { *m = DownwardAPIVolumeFile{} } func (*DownwardAPIVolumeFile) ProtoMessage() {} -func (*DownwardAPIVolumeFile) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} } +func (*DownwardAPIVolumeFile) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} } func (m *DownwardAPIVolumeSource) Reset() { *m = DownwardAPIVolumeSource{} } func (*DownwardAPIVolumeSource) ProtoMessage() {} func (*DownwardAPIVolumeSource) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{28} + return fileDescriptorGenerated, []int{29} } func (m *EmptyDirVolumeSource) Reset() { *m = EmptyDirVolumeSource{} } func (*EmptyDirVolumeSource) ProtoMessage() {} -func (*EmptyDirVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} } +func (*EmptyDirVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} } func (m *EndpointAddress) Reset() { *m = EndpointAddress{} } func (*EndpointAddress) ProtoMessage() {} -func (*EndpointAddress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} } +func (*EndpointAddress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} } func (m *EndpointPort) Reset() { *m = EndpointPort{} } func (*EndpointPort) ProtoMessage() {} -func (*EndpointPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} } +func (*EndpointPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} } func (m *EndpointSubset) Reset() { *m = EndpointSubset{} } func (*EndpointSubset) ProtoMessage() {} -func (*EndpointSubset) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} } +func (*EndpointSubset) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} } func (m *Endpoints) Reset() { *m = Endpoints{} } func (*Endpoints) ProtoMessage() {} -func (*Endpoints) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} } +func (*Endpoints) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} } func (m *EndpointsList) Reset() { *m = EndpointsList{} } func (*EndpointsList) ProtoMessage() {} -func (*EndpointsList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} } +func (*EndpointsList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} } + +func (m *EnvFromSource) Reset() { *m = EnvFromSource{} } +func (*EnvFromSource) ProtoMessage() {} +func (*EnvFromSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} } func (m *EnvVar) Reset() { *m = EnvVar{} } func (*EnvVar) ProtoMessage() {} -func (*EnvVar) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} } +func (*EnvVar) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} } func (m *EnvVarSource) Reset() { *m = EnvVarSource{} } func (*EnvVarSource) ProtoMessage() {} -func (*EnvVarSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} } +func (*EnvVarSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} } func (m *Event) Reset() { *m = Event{} } func (*Event) ProtoMessage() {} -func (*Event) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} } +func (*Event) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} } func (m *EventList) Reset() { *m = EventList{} } func (*EventList) ProtoMessage() {} -func (*EventList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} } +func (*EventList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} } func (m *EventSource) Reset() { *m = EventSource{} } func (*EventSource) ProtoMessage() {} -func (*EventSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} } +func (*EventSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} } func (m *ExecAction) Reset() { *m = ExecAction{} } func (*ExecAction) ProtoMessage() {} -func (*ExecAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} } +func (*ExecAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} } func (m *FCVolumeSource) Reset() { *m = FCVolumeSource{} } func (*FCVolumeSource) ProtoMessage() {} -func (*FCVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} } +func (*FCVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} } func (m *FlexVolumeSource) Reset() { *m = FlexVolumeSource{} } func (*FlexVolumeSource) ProtoMessage() {} -func (*FlexVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} } +func (*FlexVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} } func (m *FlockerVolumeSource) Reset() { *m = FlockerVolumeSource{} } func (*FlockerVolumeSource) ProtoMessage() {} -func (*FlockerVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} } +func (*FlockerVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } func (m *GCEPersistentDiskVolumeSource) Reset() { *m = GCEPersistentDiskVolumeSource{} } func (*GCEPersistentDiskVolumeSource) ProtoMessage() {} func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{44} + return fileDescriptorGenerated, []int{46} } func (m *GitRepoVolumeSource) Reset() { *m = GitRepoVolumeSource{} } func (*GitRepoVolumeSource) ProtoMessage() {} -func (*GitRepoVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } +func (*GitRepoVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } func (m *GlusterfsVolumeSource) Reset() { *m = GlusterfsVolumeSource{} } func (*GlusterfsVolumeSource) ProtoMessage() {} -func (*GlusterfsVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} } +func (*GlusterfsVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} } func (m *HTTPGetAction) Reset() { *m = HTTPGetAction{} } func (*HTTPGetAction) ProtoMessage() {} -func (*HTTPGetAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } +func (*HTTPGetAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } func (m *HTTPHeader) Reset() { *m = HTTPHeader{} } func (*HTTPHeader) ProtoMessage() {} -func (*HTTPHeader) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} } +func (*HTTPHeader) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } func (m *Handler) Reset() { *m = Handler{} } func (*Handler) ProtoMessage() {} -func (*Handler) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } +func (*Handler) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} } func (m *HostPathVolumeSource) Reset() { *m = HostPathVolumeSource{} } func (*HostPathVolumeSource) ProtoMessage() {} -func (*HostPathVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } +func (*HostPathVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} } func (m *ISCSIVolumeSource) Reset() { *m = ISCSIVolumeSource{} } func (*ISCSIVolumeSource) ProtoMessage() {} -func (*ISCSIVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} } +func (*ISCSIVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} } func (m *KeyToPath) Reset() { *m = KeyToPath{} } func (*KeyToPath) ProtoMessage() {} -func (*KeyToPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} } +func (*KeyToPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} } func (m *Lifecycle) Reset() { *m = Lifecycle{} } func (*Lifecycle) ProtoMessage() {} -func (*Lifecycle) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} } +func (*Lifecycle) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{55} } func (m *LimitRange) Reset() { *m = LimitRange{} } func (*LimitRange) ProtoMessage() {} -func (*LimitRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} } +func (*LimitRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{56} } func (m *LimitRangeItem) Reset() { *m = LimitRangeItem{} } func (*LimitRangeItem) ProtoMessage() {} -func (*LimitRangeItem) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{55} } +func (*LimitRangeItem) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{57} } func (m *LimitRangeList) Reset() { *m = LimitRangeList{} } func (*LimitRangeList) ProtoMessage() {} -func (*LimitRangeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{56} } +func (*LimitRangeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{58} } func (m *LimitRangeSpec) Reset() { *m = LimitRangeSpec{} } func (*LimitRangeSpec) ProtoMessage() {} -func (*LimitRangeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{57} } +func (*LimitRangeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} } func (m *List) Reset() { *m = List{} } func (*List) ProtoMessage() {} -func (*List) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{58} } +func (*List) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} } func (m *ListOptions) Reset() { *m = ListOptions{} } func (*ListOptions) ProtoMessage() {} -func (*ListOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} } +func (*ListOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} } func (m *LoadBalancerIngress) Reset() { *m = LoadBalancerIngress{} } func (*LoadBalancerIngress) ProtoMessage() {} -func (*LoadBalancerIngress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} } +func (*LoadBalancerIngress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{62} } func (m *LoadBalancerStatus) Reset() { *m = LoadBalancerStatus{} } func (*LoadBalancerStatus) ProtoMessage() {} -func (*LoadBalancerStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} } +func (*LoadBalancerStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} } func (m *LocalObjectReference) Reset() { *m = LocalObjectReference{} } func (*LocalObjectReference) ProtoMessage() {} -func (*LocalObjectReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{62} } +func (*LocalObjectReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} } func (m *NFSVolumeSource) Reset() { *m = NFSVolumeSource{} } func (*NFSVolumeSource) ProtoMessage() {} -func (*NFSVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} } +func (*NFSVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} } func (m *Namespace) Reset() { *m = Namespace{} } func (*Namespace) ProtoMessage() {} -func (*Namespace) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} } +func (*Namespace) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{66} } func (m *NamespaceList) Reset() { *m = NamespaceList{} } func (*NamespaceList) ProtoMessage() {} -func (*NamespaceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} } +func (*NamespaceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{67} } func (m *NamespaceSpec) Reset() { *m = NamespaceSpec{} } func (*NamespaceSpec) ProtoMessage() {} -func (*NamespaceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{66} } +func (*NamespaceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} } func (m *NamespaceStatus) Reset() { *m = NamespaceStatus{} } func (*NamespaceStatus) ProtoMessage() {} -func (*NamespaceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{67} } +func (*NamespaceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{69} } func (m *Node) Reset() { *m = Node{} } func (*Node) ProtoMessage() {} -func (*Node) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} } +func (*Node) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{70} } func (m *NodeAddress) Reset() { *m = NodeAddress{} } func (*NodeAddress) ProtoMessage() {} -func (*NodeAddress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{69} } +func (*NodeAddress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{71} } func (m *NodeAffinity) Reset() { *m = NodeAffinity{} } func (*NodeAffinity) ProtoMessage() {} -func (*NodeAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{70} } +func (*NodeAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{72} } func (m *NodeCondition) Reset() { *m = NodeCondition{} } func (*NodeCondition) ProtoMessage() {} -func (*NodeCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{71} } +func (*NodeCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{73} } func (m *NodeDaemonEndpoints) Reset() { *m = NodeDaemonEndpoints{} } func (*NodeDaemonEndpoints) ProtoMessage() {} -func (*NodeDaemonEndpoints) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{72} } +func (*NodeDaemonEndpoints) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{74} } func (m *NodeList) Reset() { *m = NodeList{} } func (*NodeList) ProtoMessage() {} -func (*NodeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{73} } +func (*NodeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{75} } func (m *NodeProxyOptions) Reset() { *m = NodeProxyOptions{} } func (*NodeProxyOptions) ProtoMessage() {} -func (*NodeProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{74} } +func (*NodeProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{76} } func (m *NodeResources) Reset() { *m = NodeResources{} } func (*NodeResources) ProtoMessage() {} -func (*NodeResources) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{75} } +func (*NodeResources) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{77} } func (m *NodeSelector) Reset() { *m = NodeSelector{} } func (*NodeSelector) ProtoMessage() {} -func (*NodeSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{76} } +func (*NodeSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{78} } func (m *NodeSelectorRequirement) Reset() { *m = NodeSelectorRequirement{} } func (*NodeSelectorRequirement) ProtoMessage() {} func (*NodeSelectorRequirement) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{77} + return fileDescriptorGenerated, []int{79} } func (m *NodeSelectorTerm) Reset() { *m = NodeSelectorTerm{} } func (*NodeSelectorTerm) ProtoMessage() {} -func (*NodeSelectorTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{78} } +func (*NodeSelectorTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{80} } func (m *NodeSpec) Reset() { *m = NodeSpec{} } func (*NodeSpec) ProtoMessage() {} -func (*NodeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{79} } +func (*NodeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{81} } func (m *NodeStatus) Reset() { *m = NodeStatus{} } func (*NodeStatus) ProtoMessage() {} -func (*NodeStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{80} } +func (*NodeStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{82} } func (m *NodeSystemInfo) Reset() { *m = NodeSystemInfo{} } func (*NodeSystemInfo) ProtoMessage() {} -func (*NodeSystemInfo) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{81} } +func (*NodeSystemInfo) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{83} } func (m *ObjectFieldSelector) Reset() { *m = ObjectFieldSelector{} } func (*ObjectFieldSelector) ProtoMessage() {} -func (*ObjectFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{82} } +func (*ObjectFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{84} } func (m *ObjectMeta) Reset() { *m = ObjectMeta{} } func (*ObjectMeta) ProtoMessage() {} -func (*ObjectMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{83} } +func (*ObjectMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{85} } func (m *ObjectReference) Reset() { *m = ObjectReference{} } func (*ObjectReference) ProtoMessage() {} -func (*ObjectReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{84} } +func (*ObjectReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{86} } func (m *PersistentVolume) Reset() { *m = PersistentVolume{} } func (*PersistentVolume) ProtoMessage() {} -func (*PersistentVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{85} } +func (*PersistentVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{87} } func (m *PersistentVolumeClaim) Reset() { *m = PersistentVolumeClaim{} } func (*PersistentVolumeClaim) ProtoMessage() {} -func (*PersistentVolumeClaim) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{86} } +func (*PersistentVolumeClaim) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{88} } func (m *PersistentVolumeClaimList) Reset() { *m = PersistentVolumeClaimList{} } func (*PersistentVolumeClaimList) ProtoMessage() {} func (*PersistentVolumeClaimList) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{87} + return fileDescriptorGenerated, []int{89} } func (m *PersistentVolumeClaimSpec) Reset() { *m = PersistentVolumeClaimSpec{} } func (*PersistentVolumeClaimSpec) ProtoMessage() {} func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{88} + return fileDescriptorGenerated, []int{90} } func (m *PersistentVolumeClaimStatus) Reset() { *m = PersistentVolumeClaimStatus{} } func (*PersistentVolumeClaimStatus) ProtoMessage() {} func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{89} + return fileDescriptorGenerated, []int{91} } func (m *PersistentVolumeClaimVolumeSource) Reset() { *m = PersistentVolumeClaimVolumeSource{} } func (*PersistentVolumeClaimVolumeSource) ProtoMessage() {} func (*PersistentVolumeClaimVolumeSource) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{90} + return fileDescriptorGenerated, []int{92} } func (m *PersistentVolumeList) Reset() { *m = PersistentVolumeList{} } func (*PersistentVolumeList) ProtoMessage() {} -func (*PersistentVolumeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{91} } +func (*PersistentVolumeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{93} } func (m *PersistentVolumeSource) Reset() { *m = PersistentVolumeSource{} } func (*PersistentVolumeSource) ProtoMessage() {} -func (*PersistentVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{92} } +func (*PersistentVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{94} } func (m *PersistentVolumeSpec) Reset() { *m = PersistentVolumeSpec{} } func (*PersistentVolumeSpec) ProtoMessage() {} -func (*PersistentVolumeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{93} } +func (*PersistentVolumeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{95} } func (m *PersistentVolumeStatus) Reset() { *m = PersistentVolumeStatus{} } func (*PersistentVolumeStatus) ProtoMessage() {} -func (*PersistentVolumeStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{94} } +func (*PersistentVolumeStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{96} } func (m *PhotonPersistentDiskVolumeSource) Reset() { *m = PhotonPersistentDiskVolumeSource{} } func (*PhotonPersistentDiskVolumeSource) ProtoMessage() {} func (*PhotonPersistentDiskVolumeSource) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{95} + return fileDescriptorGenerated, []int{97} } func (m *Pod) Reset() { *m = Pod{} } func (*Pod) ProtoMessage() {} -func (*Pod) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{96} } +func (*Pod) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{98} } func (m *PodAffinity) Reset() { *m = PodAffinity{} } func (*PodAffinity) ProtoMessage() {} -func (*PodAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{97} } +func (*PodAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{99} } func (m *PodAffinityTerm) Reset() { *m = PodAffinityTerm{} } func (*PodAffinityTerm) ProtoMessage() {} -func (*PodAffinityTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{98} } +func (*PodAffinityTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{100} } func (m *PodAntiAffinity) Reset() { *m = PodAntiAffinity{} } func (*PodAntiAffinity) ProtoMessage() {} -func (*PodAntiAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{99} } +func (*PodAntiAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{101} } func (m *PodAttachOptions) Reset() { *m = PodAttachOptions{} } func (*PodAttachOptions) ProtoMessage() {} -func (*PodAttachOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{100} } +func (*PodAttachOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{102} } func (m *PodCondition) Reset() { *m = PodCondition{} } func (*PodCondition) ProtoMessage() {} -func (*PodCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{101} } +func (*PodCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{103} } func (m *PodExecOptions) Reset() { *m = PodExecOptions{} } func (*PodExecOptions) ProtoMessage() {} -func (*PodExecOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{102} } +func (*PodExecOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{104} } func (m *PodList) Reset() { *m = PodList{} } func (*PodList) ProtoMessage() {} -func (*PodList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{103} } +func (*PodList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{105} } func (m *PodLogOptions) Reset() { *m = PodLogOptions{} } func (*PodLogOptions) ProtoMessage() {} -func (*PodLogOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{104} } +func (*PodLogOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{106} } func (m *PodProxyOptions) Reset() { *m = PodProxyOptions{} } func (*PodProxyOptions) ProtoMessage() {} -func (*PodProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{105} } +func (*PodProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{107} } func (m *PodSecurityContext) Reset() { *m = PodSecurityContext{} } func (*PodSecurityContext) ProtoMessage() {} -func (*PodSecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{106} } +func (*PodSecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{108} } func (m *PodSignature) Reset() { *m = PodSignature{} } func (*PodSignature) ProtoMessage() {} -func (*PodSignature) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{107} } +func (*PodSignature) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{109} } func (m *PodSpec) Reset() { *m = PodSpec{} } func (*PodSpec) ProtoMessage() {} -func (*PodSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{108} } +func (*PodSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{110} } func (m *PodStatus) Reset() { *m = PodStatus{} } func (*PodStatus) ProtoMessage() {} -func (*PodStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{109} } +func (*PodStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{111} } func (m *PodStatusResult) Reset() { *m = PodStatusResult{} } func (*PodStatusResult) ProtoMessage() {} -func (*PodStatusResult) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{110} } +func (*PodStatusResult) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{112} } func (m *PodTemplate) Reset() { *m = PodTemplate{} } func (*PodTemplate) ProtoMessage() {} -func (*PodTemplate) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{111} } +func (*PodTemplate) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{113} } func (m *PodTemplateList) Reset() { *m = PodTemplateList{} } func (*PodTemplateList) ProtoMessage() {} -func (*PodTemplateList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{112} } +func (*PodTemplateList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{114} } func (m *PodTemplateSpec) Reset() { *m = PodTemplateSpec{} } func (*PodTemplateSpec) ProtoMessage() {} -func (*PodTemplateSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{113} } +func (*PodTemplateSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{115} } func (m *Preconditions) Reset() { *m = Preconditions{} } func (*Preconditions) ProtoMessage() {} -func (*Preconditions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{114} } +func (*Preconditions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{116} } func (m *PreferAvoidPodsEntry) Reset() { *m = PreferAvoidPodsEntry{} } func (*PreferAvoidPodsEntry) ProtoMessage() {} -func (*PreferAvoidPodsEntry) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{115} } +func (*PreferAvoidPodsEntry) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{117} } func (m *PreferredSchedulingTerm) Reset() { *m = PreferredSchedulingTerm{} } func (*PreferredSchedulingTerm) ProtoMessage() {} func (*PreferredSchedulingTerm) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{116} + return fileDescriptorGenerated, []int{118} } func (m *Probe) Reset() { *m = Probe{} } func (*Probe) ProtoMessage() {} -func (*Probe) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{117} } +func (*Probe) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{119} } func (m *QuobyteVolumeSource) Reset() { *m = QuobyteVolumeSource{} } func (*QuobyteVolumeSource) ProtoMessage() {} -func (*QuobyteVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{118} } +func (*QuobyteVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{120} } func (m *RBDVolumeSource) Reset() { *m = RBDVolumeSource{} } func (*RBDVolumeSource) ProtoMessage() {} -func (*RBDVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{119} } +func (*RBDVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{121} } func (m *RangeAllocation) Reset() { *m = RangeAllocation{} } func (*RangeAllocation) ProtoMessage() {} -func (*RangeAllocation) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{120} } +func (*RangeAllocation) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{122} } func (m *ReplicationController) Reset() { *m = ReplicationController{} } func (*ReplicationController) ProtoMessage() {} -func (*ReplicationController) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{121} } +func (*ReplicationController) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{123} } func (m *ReplicationControllerCondition) Reset() { *m = ReplicationControllerCondition{} } func (*ReplicationControllerCondition) ProtoMessage() {} func (*ReplicationControllerCondition) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{122} + return fileDescriptorGenerated, []int{124} } func (m *ReplicationControllerList) Reset() { *m = ReplicationControllerList{} } func (*ReplicationControllerList) ProtoMessage() {} func (*ReplicationControllerList) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{123} + return fileDescriptorGenerated, []int{125} } func (m *ReplicationControllerSpec) Reset() { *m = ReplicationControllerSpec{} } func (*ReplicationControllerSpec) ProtoMessage() {} func (*ReplicationControllerSpec) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{124} + return fileDescriptorGenerated, []int{126} } func (m *ReplicationControllerStatus) Reset() { *m = ReplicationControllerStatus{} } func (*ReplicationControllerStatus) ProtoMessage() {} func (*ReplicationControllerStatus) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{125} + return fileDescriptorGenerated, []int{127} } func (m *ResourceFieldSelector) Reset() { *m = ResourceFieldSelector{} } func (*ResourceFieldSelector) ProtoMessage() {} -func (*ResourceFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{126} } +func (*ResourceFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{128} } func (m *ResourceQuota) Reset() { *m = ResourceQuota{} } func (*ResourceQuota) ProtoMessage() {} -func (*ResourceQuota) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{127} } +func (*ResourceQuota) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{129} } func (m *ResourceQuotaList) Reset() { *m = ResourceQuotaList{} } func (*ResourceQuotaList) ProtoMessage() {} -func (*ResourceQuotaList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{128} } +func (*ResourceQuotaList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{130} } func (m *ResourceQuotaSpec) Reset() { *m = ResourceQuotaSpec{} } func (*ResourceQuotaSpec) ProtoMessage() {} -func (*ResourceQuotaSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{129} } +func (*ResourceQuotaSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{131} } func (m *ResourceQuotaStatus) Reset() { *m = ResourceQuotaStatus{} } func (*ResourceQuotaStatus) ProtoMessage() {} -func (*ResourceQuotaStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{130} } +func (*ResourceQuotaStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{132} } func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} } func (*ResourceRequirements) ProtoMessage() {} -func (*ResourceRequirements) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{131} } +func (*ResourceRequirements) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{133} } func (m *SELinuxOptions) Reset() { *m = SELinuxOptions{} } func (*SELinuxOptions) ProtoMessage() {} -func (*SELinuxOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{132} } +func (*SELinuxOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{134} } func (m *Secret) Reset() { *m = Secret{} } func (*Secret) ProtoMessage() {} -func (*Secret) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{133} } +func (*Secret) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{135} } func (m *SecretKeySelector) Reset() { *m = SecretKeySelector{} } func (*SecretKeySelector) ProtoMessage() {} -func (*SecretKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{134} } +func (*SecretKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{136} } func (m *SecretList) Reset() { *m = SecretList{} } func (*SecretList) ProtoMessage() {} -func (*SecretList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{135} } +func (*SecretList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{137} } func (m *SecretVolumeSource) Reset() { *m = SecretVolumeSource{} } func (*SecretVolumeSource) ProtoMessage() {} -func (*SecretVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{136} } +func (*SecretVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{138} } func (m *SecurityContext) Reset() { *m = SecurityContext{} } func (*SecurityContext) ProtoMessage() {} -func (*SecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{137} } +func (*SecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{139} } func (m *SerializedReference) Reset() { *m = SerializedReference{} } func (*SerializedReference) ProtoMessage() {} -func (*SerializedReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{138} } +func (*SerializedReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{140} } func (m *Service) Reset() { *m = Service{} } func (*Service) ProtoMessage() {} -func (*Service) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{139} } +func (*Service) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{141} } func (m *ServiceAccount) Reset() { *m = ServiceAccount{} } func (*ServiceAccount) ProtoMessage() {} -func (*ServiceAccount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{140} } +func (*ServiceAccount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{142} } func (m *ServiceAccountList) Reset() { *m = ServiceAccountList{} } func (*ServiceAccountList) ProtoMessage() {} -func (*ServiceAccountList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{141} } +func (*ServiceAccountList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{143} } func (m *ServiceList) Reset() { *m = ServiceList{} } func (*ServiceList) ProtoMessage() {} -func (*ServiceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{142} } +func (*ServiceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{144} } func (m *ServicePort) Reset() { *m = ServicePort{} } func (*ServicePort) ProtoMessage() {} -func (*ServicePort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{143} } +func (*ServicePort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{145} } func (m *ServiceProxyOptions) Reset() { *m = ServiceProxyOptions{} } func (*ServiceProxyOptions) ProtoMessage() {} -func (*ServiceProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{144} } +func (*ServiceProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{146} } func (m *ServiceSpec) Reset() { *m = ServiceSpec{} } func (*ServiceSpec) ProtoMessage() {} -func (*ServiceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{145} } +func (*ServiceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{147} } func (m *ServiceStatus) Reset() { *m = ServiceStatus{} } func (*ServiceStatus) ProtoMessage() {} -func (*ServiceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{146} } +func (*ServiceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{148} } func (m *Sysctl) Reset() { *m = Sysctl{} } func (*Sysctl) ProtoMessage() {} -func (*Sysctl) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{147} } +func (*Sysctl) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{149} } func (m *TCPSocketAction) Reset() { *m = TCPSocketAction{} } func (*TCPSocketAction) ProtoMessage() {} -func (*TCPSocketAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{148} } +func (*TCPSocketAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{150} } func (m *Taint) Reset() { *m = Taint{} } func (*Taint) ProtoMessage() {} -func (*Taint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{149} } +func (*Taint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{151} } func (m *Toleration) Reset() { *m = Toleration{} } func (*Toleration) ProtoMessage() {} -func (*Toleration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{150} } +func (*Toleration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{152} } func (m *Volume) Reset() { *m = Volume{} } func (*Volume) ProtoMessage() {} -func (*Volume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{151} } +func (*Volume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{153} } func (m *VolumeMount) Reset() { *m = VolumeMount{} } func (*VolumeMount) ProtoMessage() {} -func (*VolumeMount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{152} } +func (*VolumeMount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{154} } func (m *VolumeSource) Reset() { *m = VolumeSource{} } func (*VolumeSource) ProtoMessage() {} -func (*VolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{153} } +func (*VolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{155} } func (m *VsphereVirtualDiskVolumeSource) Reset() { *m = VsphereVirtualDiskVolumeSource{} } func (*VsphereVirtualDiskVolumeSource) ProtoMessage() {} func (*VsphereVirtualDiskVolumeSource) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{154} + return fileDescriptorGenerated, []int{156} } func (m *WeightedPodAffinityTerm) Reset() { *m = WeightedPodAffinityTerm{} } func (*WeightedPodAffinityTerm) ProtoMessage() {} func (*WeightedPodAffinityTerm) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{155} + return fileDescriptorGenerated, []int{157} } func init() { @@ -882,6 +893,7 @@ func init() { proto.RegisterType((*ComponentStatus)(nil), "k8s.io.client-go.pkg.api.v1.ComponentStatus") proto.RegisterType((*ComponentStatusList)(nil), "k8s.io.client-go.pkg.api.v1.ComponentStatusList") proto.RegisterType((*ConfigMap)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMap") + proto.RegisterType((*ConfigMapEnvSource)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMapEnvSource") proto.RegisterType((*ConfigMapKeySelector)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMapKeySelector") proto.RegisterType((*ConfigMapList)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMapList") proto.RegisterType((*ConfigMapVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMapVolumeSource") @@ -903,6 +915,7 @@ func init() { proto.RegisterType((*EndpointSubset)(nil), "k8s.io.client-go.pkg.api.v1.EndpointSubset") proto.RegisterType((*Endpoints)(nil), "k8s.io.client-go.pkg.api.v1.Endpoints") proto.RegisterType((*EndpointsList)(nil), "k8s.io.client-go.pkg.api.v1.EndpointsList") + proto.RegisterType((*EnvFromSource)(nil), "k8s.io.client-go.pkg.api.v1.EnvFromSource") proto.RegisterType((*EnvVar)(nil), "k8s.io.client-go.pkg.api.v1.EnvVar") proto.RegisterType((*EnvVarSource)(nil), "k8s.io.client-go.pkg.api.v1.EnvVarSource") proto.RegisterType((*Event)(nil), "k8s.io.client-go.pkg.api.v1.Event") @@ -1279,6 +1292,14 @@ func (m *Binding) MarshalTo(data []byte) (int, error) { return 0, err } i += n5 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n6, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n6 return i, nil } @@ -1376,11 +1397,11 @@ func (m *CephFSVolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(m.SecretRef.Size())) - n6, err := m.SecretRef.MarshalTo(data[i:]) + n7, err := m.SecretRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n6 + i += n7 } data[i] = 0x30 i++ @@ -1479,11 +1500,11 @@ func (m *ComponentStatus) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n7, err := m.ObjectMeta.MarshalTo(data[i:]) + n8, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n7 + i += n8 if len(m.Conditions) > 0 { for _, msg := range m.Conditions { data[i] = 0x12 @@ -1496,6 +1517,14 @@ func (m *ComponentStatus) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n9, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n9 return i, nil } @@ -1517,11 +1546,11 @@ func (m *ComponentStatusList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n8, err := m.ListMeta.MarshalTo(data[i:]) + n10, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n8 + i += n10 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -1534,6 +1563,14 @@ func (m *ComponentStatusList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n11, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n11 return i, nil } @@ -1555,11 +1592,11 @@ func (m *ConfigMap) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n9, err := m.ObjectMeta.MarshalTo(data[i:]) + n12, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n9 + i += n12 if len(m.Data) > 0 { for k := range m.Data { data[i] = 0x12 @@ -1577,6 +1614,40 @@ func (m *ConfigMap) MarshalTo(data []byte) (int, error) { i += copy(data[i:], v) } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n13, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n13 + return i, nil +} + +func (m *ConfigMapEnvSource) Marshal() (data []byte, err error) { + size := m.Size() + data = make([]byte, size) + n, err := m.MarshalTo(data) + if err != nil { + return nil, err + } + return data[:n], nil +} + +func (m *ConfigMapEnvSource) MarshalTo(data []byte) (int, error) { + var i int + _ = i + var l int + _ = l + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size())) + n14, err := m.LocalObjectReference.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n14 return i, nil } @@ -1598,11 +1669,11 @@ func (m *ConfigMapKeySelector) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size())) - n10, err := m.LocalObjectReference.MarshalTo(data[i:]) + n15, err := m.LocalObjectReference.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n10 + i += n15 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Key))) @@ -1628,11 +1699,11 @@ func (m *ConfigMapList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n11, err := m.ListMeta.MarshalTo(data[i:]) + n16, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n11 + i += n16 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -1645,6 +1716,14 @@ func (m *ConfigMapList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n17, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n17 return i, nil } @@ -1666,11 +1745,11 @@ func (m *ConfigMapVolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size())) - n12, err := m.LocalObjectReference.MarshalTo(data[i:]) + n18, err := m.LocalObjectReference.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n12 + i += n18 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -1775,11 +1854,11 @@ func (m *Container) MarshalTo(data []byte) (int, error) { data[i] = 0x42 i++ i = encodeVarintGenerated(data, i, uint64(m.Resources.Size())) - n13, err := m.Resources.MarshalTo(data[i:]) + n19, err := m.Resources.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n13 + i += n19 if len(m.VolumeMounts) > 0 { for _, msg := range m.VolumeMounts { data[i] = 0x4a @@ -1796,31 +1875,31 @@ func (m *Container) MarshalTo(data []byte) (int, error) { data[i] = 0x52 i++ i = encodeVarintGenerated(data, i, uint64(m.LivenessProbe.Size())) - n14, err := m.LivenessProbe.MarshalTo(data[i:]) + n20, err := m.LivenessProbe.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n14 + i += n20 } if m.ReadinessProbe != nil { data[i] = 0x5a i++ i = encodeVarintGenerated(data, i, uint64(m.ReadinessProbe.Size())) - n15, err := m.ReadinessProbe.MarshalTo(data[i:]) + n21, err := m.ReadinessProbe.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n15 + i += n21 } if m.Lifecycle != nil { data[i] = 0x62 i++ i = encodeVarintGenerated(data, i, uint64(m.Lifecycle.Size())) - n16, err := m.Lifecycle.MarshalTo(data[i:]) + n22, err := m.Lifecycle.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n16 + i += n22 } data[i] = 0x6a i++ @@ -1834,11 +1913,11 @@ func (m *Container) MarshalTo(data []byte) (int, error) { data[i] = 0x7a i++ i = encodeVarintGenerated(data, i, uint64(m.SecurityContext.Size())) - n17, err := m.SecurityContext.MarshalTo(data[i:]) + n23, err := m.SecurityContext.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n17 + i += n23 } data[i] = 0x80 i++ @@ -1870,6 +1949,20 @@ func (m *Container) MarshalTo(data []byte) (int, error) { data[i] = 0 } i++ + if len(m.EnvFrom) > 0 { + for _, msg := range m.EnvFrom { + data[i] = 0x9a + i++ + data[i] = 0x1 + i++ + i = encodeVarintGenerated(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n + } + } return i, nil } @@ -1964,31 +2057,31 @@ func (m *ContainerState) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Waiting.Size())) - n18, err := m.Waiting.MarshalTo(data[i:]) + n24, err := m.Waiting.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n18 + i += n24 } if m.Running != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Running.Size())) - n19, err := m.Running.MarshalTo(data[i:]) + n25, err := m.Running.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n19 + i += n25 } if m.Terminated != nil { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Terminated.Size())) - n20, err := m.Terminated.MarshalTo(data[i:]) + n26, err := m.Terminated.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n20 + i += n26 } return i, nil } @@ -2011,11 +2104,11 @@ func (m *ContainerStateRunning) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.StartedAt.Size())) - n21, err := m.StartedAt.MarshalTo(data[i:]) + n27, err := m.StartedAt.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n21 + i += n27 return i, nil } @@ -2051,19 +2144,19 @@ func (m *ContainerStateTerminated) MarshalTo(data []byte) (int, error) { data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(m.StartedAt.Size())) - n22, err := m.StartedAt.MarshalTo(data[i:]) + n28, err := m.StartedAt.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n22 + i += n28 data[i] = 0x32 i++ i = encodeVarintGenerated(data, i, uint64(m.FinishedAt.Size())) - n23, err := m.FinishedAt.MarshalTo(data[i:]) + n29, err := m.FinishedAt.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n23 + i += n29 data[i] = 0x3a i++ i = encodeVarintGenerated(data, i, uint64(len(m.ContainerID))) @@ -2119,19 +2212,19 @@ func (m *ContainerStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.State.Size())) - n24, err := m.State.MarshalTo(data[i:]) + n30, err := m.State.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n24 + i += n30 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.LastTerminationState.Size())) - n25, err := m.LastTerminationState.MarshalTo(data[i:]) + n31, err := m.LastTerminationState.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n25 + i += n31 data[i] = 0x20 i++ if m.Ready { @@ -2203,11 +2296,11 @@ func (m *DeleteOptions) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Preconditions.Size())) - n26, err := m.Preconditions.MarshalTo(data[i:]) + n32, err := m.Preconditions.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n26 + i += n32 } if m.OrphanDependents != nil { data[i] = 0x18 @@ -2219,6 +2312,14 @@ func (m *DeleteOptions) MarshalTo(data []byte) (int, error) { } i++ } + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n33, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n33 return i, nil } @@ -2245,21 +2346,21 @@ func (m *DownwardAPIVolumeFile) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.FieldRef.Size())) - n27, err := m.FieldRef.MarshalTo(data[i:]) + n34, err := m.FieldRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n27 + i += n34 } if m.ResourceFieldRef != nil { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.ResourceFieldRef.Size())) - n28, err := m.ResourceFieldRef.MarshalTo(data[i:]) + n35, err := m.ResourceFieldRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n28 + i += n35 } if m.Mode != nil { data[i] = 0x20 @@ -2349,11 +2450,11 @@ func (m *EndpointAddress) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.TargetRef.Size())) - n29, err := m.TargetRef.MarshalTo(data[i:]) + n36, err := m.TargetRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n29 + i += n36 } data[i] = 0x1a i++ @@ -2469,11 +2570,11 @@ func (m *Endpoints) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n30, err := m.ObjectMeta.MarshalTo(data[i:]) + n37, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n30 + i += n37 if len(m.Subsets) > 0 { for _, msg := range m.Subsets { data[i] = 0x12 @@ -2486,6 +2587,14 @@ func (m *Endpoints) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n38, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n38 return i, nil } @@ -2507,11 +2616,11 @@ func (m *EndpointsList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n31, err := m.ListMeta.MarshalTo(data[i:]) + n39, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n31 + i += n39 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -2524,6 +2633,46 @@ func (m *EndpointsList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n40, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n40 + return i, nil +} + +func (m *EnvFromSource) Marshal() (data []byte, err error) { + size := m.Size() + data = make([]byte, size) + n, err := m.MarshalTo(data) + if err != nil { + return nil, err + } + return data[:n], nil +} + +func (m *EnvFromSource) MarshalTo(data []byte) (int, error) { + var i int + _ = i + var l int + _ = l + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Prefix))) + i += copy(data[i:], m.Prefix) + if m.ConfigMapRef != nil { + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.ConfigMapRef.Size())) + n41, err := m.ConfigMapRef.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n41 + } return i, nil } @@ -2554,11 +2703,11 @@ func (m *EnvVar) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.ValueFrom.Size())) - n32, err := m.ValueFrom.MarshalTo(data[i:]) + n42, err := m.ValueFrom.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n32 + i += n42 } return i, nil } @@ -2582,41 +2731,41 @@ func (m *EnvVarSource) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.FieldRef.Size())) - n33, err := m.FieldRef.MarshalTo(data[i:]) + n43, err := m.FieldRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n33 + i += n43 } if m.ResourceFieldRef != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.ResourceFieldRef.Size())) - n34, err := m.ResourceFieldRef.MarshalTo(data[i:]) + n44, err := m.ResourceFieldRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n34 + i += n44 } if m.ConfigMapKeyRef != nil { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.ConfigMapKeyRef.Size())) - n35, err := m.ConfigMapKeyRef.MarshalTo(data[i:]) + n45, err := m.ConfigMapKeyRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n35 + i += n45 } if m.SecretKeyRef != nil { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.SecretKeyRef.Size())) - n36, err := m.SecretKeyRef.MarshalTo(data[i:]) + n46, err := m.SecretKeyRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n36 + i += n46 } return i, nil } @@ -2639,19 +2788,19 @@ func (m *Event) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n37, err := m.ObjectMeta.MarshalTo(data[i:]) + n47, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n37 + i += n47 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.InvolvedObject.Size())) - n38, err := m.InvolvedObject.MarshalTo(data[i:]) + n48, err := m.InvolvedObject.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n38 + i += n48 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) @@ -2663,27 +2812,27 @@ func (m *Event) MarshalTo(data []byte) (int, error) { data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(m.Source.Size())) - n39, err := m.Source.MarshalTo(data[i:]) + n49, err := m.Source.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n39 + i += n49 data[i] = 0x32 i++ i = encodeVarintGenerated(data, i, uint64(m.FirstTimestamp.Size())) - n40, err := m.FirstTimestamp.MarshalTo(data[i:]) + n50, err := m.FirstTimestamp.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n40 + i += n50 data[i] = 0x3a i++ i = encodeVarintGenerated(data, i, uint64(m.LastTimestamp.Size())) - n41, err := m.LastTimestamp.MarshalTo(data[i:]) + n51, err := m.LastTimestamp.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n41 + i += n51 data[i] = 0x40 i++ i = encodeVarintGenerated(data, i, uint64(m.Count)) @@ -2691,6 +2840,14 @@ func (m *Event) MarshalTo(data []byte) (int, error) { i++ i = encodeVarintGenerated(data, i, uint64(len(m.Type))) i += copy(data[i:], m.Type) + data[i] = 0x52 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n52, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n52 return i, nil } @@ -2712,11 +2869,11 @@ func (m *EventList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n42, err := m.ListMeta.MarshalTo(data[i:]) + n53, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n42 + i += n53 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -2729,6 +2886,14 @@ func (m *EventList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n54, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n54 return i, nil } @@ -2868,11 +3033,11 @@ func (m *FlexVolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.SecretRef.Size())) - n43, err := m.SecretRef.MarshalTo(data[i:]) + n55, err := m.SecretRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n43 + i += n55 } data[i] = 0x20 i++ @@ -3051,11 +3216,11 @@ func (m *HTTPGetAction) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Port.Size())) - n44, err := m.Port.MarshalTo(data[i:]) + n56, err := m.Port.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n44 + i += n56 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(len(m.Host))) @@ -3124,31 +3289,31 @@ func (m *Handler) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Exec.Size())) - n45, err := m.Exec.MarshalTo(data[i:]) + n57, err := m.Exec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n45 + i += n57 } if m.HTTPGet != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.HTTPGet.Size())) - n46, err := m.HTTPGet.MarshalTo(data[i:]) + n58, err := m.HTTPGet.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n46 + i += n58 } if m.TCPSocket != nil { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.TCPSocket.Size())) - n47, err := m.TCPSocket.MarshalTo(data[i:]) + n59, err := m.TCPSocket.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n47 + i += n59 } return i, nil } @@ -3270,21 +3435,21 @@ func (m *Lifecycle) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.PostStart.Size())) - n48, err := m.PostStart.MarshalTo(data[i:]) + n60, err := m.PostStart.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n48 + i += n60 } if m.PreStop != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.PreStop.Size())) - n49, err := m.PreStop.MarshalTo(data[i:]) + n61, err := m.PreStop.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n49 + i += n61 } return i, nil } @@ -3307,19 +3472,27 @@ func (m *LimitRange) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n50, err := m.ObjectMeta.MarshalTo(data[i:]) + n62, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n50 + i += n62 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n51, err := m.Spec.MarshalTo(data[i:]) + n63, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n51 + i += n63 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n64, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n64 return i, nil } @@ -3357,11 +3530,11 @@ func (m *LimitRangeItem) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n52, err := (&v).MarshalTo(data[i:]) + n65, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n52 + i += n65 } } if len(m.Min) > 0 { @@ -3379,11 +3552,11 @@ func (m *LimitRangeItem) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n53, err := (&v).MarshalTo(data[i:]) + n66, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n53 + i += n66 } } if len(m.Default) > 0 { @@ -3401,11 +3574,11 @@ func (m *LimitRangeItem) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n54, err := (&v).MarshalTo(data[i:]) + n67, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n54 + i += n67 } } if len(m.DefaultRequest) > 0 { @@ -3423,11 +3596,11 @@ func (m *LimitRangeItem) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n55, err := (&v).MarshalTo(data[i:]) + n68, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n55 + i += n68 } } if len(m.MaxLimitRequestRatio) > 0 { @@ -3445,11 +3618,11 @@ func (m *LimitRangeItem) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n56, err := (&v).MarshalTo(data[i:]) + n69, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n56 + i += n69 } } return i, nil @@ -3473,11 +3646,11 @@ func (m *LimitRangeList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n57, err := m.ListMeta.MarshalTo(data[i:]) + n70, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n57 + i += n70 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -3490,6 +3663,14 @@ func (m *LimitRangeList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n71, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n71 return i, nil } @@ -3541,11 +3722,11 @@ func (m *List) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n58, err := m.ListMeta.MarshalTo(data[i:]) + n72, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n58 + i += n72 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -3558,6 +3739,14 @@ func (m *List) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n73, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n73 return i, nil } @@ -3601,6 +3790,14 @@ func (m *ListOptions) MarshalTo(data []byte) (int, error) { i++ i = encodeVarintGenerated(data, i, uint64(*m.TimeoutSeconds)) } + data[i] = 0x32 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n74, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n74 return i, nil } @@ -3734,27 +3931,35 @@ func (m *Namespace) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n59, err := m.ObjectMeta.MarshalTo(data[i:]) + n75, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n59 + i += n75 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n60, err := m.Spec.MarshalTo(data[i:]) + n76, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n60 + i += n76 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n61, err := m.Status.MarshalTo(data[i:]) + n77, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n61 + i += n77 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n78, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n78 return i, nil } @@ -3776,11 +3981,11 @@ func (m *NamespaceList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n62, err := m.ListMeta.MarshalTo(data[i:]) + n79, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n62 + i += n79 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -3793,6 +3998,14 @@ func (m *NamespaceList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n80, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n80 return i, nil } @@ -3869,27 +4082,35 @@ func (m *Node) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n63, err := m.ObjectMeta.MarshalTo(data[i:]) + n81, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n63 + i += n81 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n64, err := m.Spec.MarshalTo(data[i:]) + n82, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n64 + i += n82 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n65, err := m.Status.MarshalTo(data[i:]) + n83, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n65 + i += n83 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n84, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n84 return i, nil } @@ -3938,11 +4159,11 @@ func (m *NodeAffinity) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.RequiredDuringSchedulingIgnoredDuringExecution.Size())) - n66, err := m.RequiredDuringSchedulingIgnoredDuringExecution.MarshalTo(data[i:]) + n85, err := m.RequiredDuringSchedulingIgnoredDuringExecution.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n66 + i += n85 } if len(m.PreferredDuringSchedulingIgnoredDuringExecution) > 0 { for _, msg := range m.PreferredDuringSchedulingIgnoredDuringExecution { @@ -3985,19 +4206,19 @@ func (m *NodeCondition) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.LastHeartbeatTime.Size())) - n67, err := m.LastHeartbeatTime.MarshalTo(data[i:]) + n86, err := m.LastHeartbeatTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n67 + i += n86 data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) - n68, err := m.LastTransitionTime.MarshalTo(data[i:]) + n87, err := m.LastTransitionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n68 + i += n87 data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) @@ -4027,11 +4248,11 @@ func (m *NodeDaemonEndpoints) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.KubeletEndpoint.Size())) - n69, err := m.KubeletEndpoint.MarshalTo(data[i:]) + n88, err := m.KubeletEndpoint.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n69 + i += n88 return i, nil } @@ -4053,11 +4274,11 @@ func (m *NodeList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n70, err := m.ListMeta.MarshalTo(data[i:]) + n89, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n70 + i += n89 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -4070,6 +4291,14 @@ func (m *NodeList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n90, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n90 return i, nil } @@ -4092,6 +4321,14 @@ func (m *NodeProxyOptions) MarshalTo(data []byte) (int, error) { i++ i = encodeVarintGenerated(data, i, uint64(len(m.Path))) i += copy(data[i:], m.Path) + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n91, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n91 return i, nil } @@ -4125,11 +4362,11 @@ func (m *NodeResources) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n71, err := (&v).MarshalTo(data[i:]) + n92, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n71 + i += n92 } } return i, nil @@ -4304,11 +4541,11 @@ func (m *NodeStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n72, err := (&v).MarshalTo(data[i:]) + n93, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n72 + i += n93 } } if len(m.Allocatable) > 0 { @@ -4326,11 +4563,11 @@ func (m *NodeStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n73, err := (&v).MarshalTo(data[i:]) + n94, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n73 + i += n94 } } data[i] = 0x1a @@ -4364,19 +4601,19 @@ func (m *NodeStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x32 i++ i = encodeVarintGenerated(data, i, uint64(m.DaemonEndpoints.Size())) - n74, err := m.DaemonEndpoints.MarshalTo(data[i:]) + n95, err := m.DaemonEndpoints.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n74 + i += n95 data[i] = 0x3a i++ i = encodeVarintGenerated(data, i, uint64(m.NodeInfo.Size())) - n75, err := m.NodeInfo.MarshalTo(data[i:]) + n96, err := m.NodeInfo.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n75 + i += n96 if len(m.Images) > 0 { for _, msg := range m.Images { data[i] = 0x42 @@ -4548,20 +4785,20 @@ func (m *ObjectMeta) MarshalTo(data []byte) (int, error) { data[i] = 0x42 i++ i = encodeVarintGenerated(data, i, uint64(m.CreationTimestamp.Size())) - n76, err := m.CreationTimestamp.MarshalTo(data[i:]) + n97, err := m.CreationTimestamp.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n76 + i += n97 if m.DeletionTimestamp != nil { data[i] = 0x4a i++ i = encodeVarintGenerated(data, i, uint64(m.DeletionTimestamp.Size())) - n77, err := m.DeletionTimestamp.MarshalTo(data[i:]) + n98, err := m.DeletionTimestamp.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n77 + i += n98 } if m.DeletionGracePeriodSeconds != nil { data[i] = 0x50 @@ -4700,27 +4937,35 @@ func (m *PersistentVolume) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n78, err := m.ObjectMeta.MarshalTo(data[i:]) + n99, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n78 + i += n99 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n79, err := m.Spec.MarshalTo(data[i:]) + n100, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n79 + i += n100 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n80, err := m.Status.MarshalTo(data[i:]) + n101, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n80 + i += n101 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n102, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n102 return i, nil } @@ -4742,27 +4987,35 @@ func (m *PersistentVolumeClaim) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n81, err := m.ObjectMeta.MarshalTo(data[i:]) + n103, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n81 + i += n103 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n82, err := m.Spec.MarshalTo(data[i:]) + n104, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n82 + i += n104 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n83, err := m.Status.MarshalTo(data[i:]) + n105, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n83 + i += n105 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n106, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n106 return i, nil } @@ -4784,11 +5037,11 @@ func (m *PersistentVolumeClaimList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n84, err := m.ListMeta.MarshalTo(data[i:]) + n107, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n84 + i += n107 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -4801,6 +5054,14 @@ func (m *PersistentVolumeClaimList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n108, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n108 return i, nil } @@ -4837,11 +5098,11 @@ func (m *PersistentVolumeClaimSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Resources.Size())) - n85, err := m.Resources.MarshalTo(data[i:]) + n109, err := m.Resources.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n85 + i += n109 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(len(m.VolumeName))) @@ -4850,11 +5111,11 @@ func (m *PersistentVolumeClaimSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n86, err := m.Selector.MarshalTo(data[i:]) + n110, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n86 + i += n110 } return i, nil } @@ -4908,11 +5169,11 @@ func (m *PersistentVolumeClaimStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n87, err := (&v).MarshalTo(data[i:]) + n111, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n87 + i += n111 } } return i, nil @@ -4966,11 +5227,11 @@ func (m *PersistentVolumeList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n88, err := m.ListMeta.MarshalTo(data[i:]) + n112, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n88 + i += n112 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -4983,6 +5244,14 @@ func (m *PersistentVolumeList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n113, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n113 return i, nil } @@ -5005,151 +5274,151 @@ func (m *PersistentVolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.GCEPersistentDisk.Size())) - n89, err := m.GCEPersistentDisk.MarshalTo(data[i:]) + n114, err := m.GCEPersistentDisk.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n89 + i += n114 } if m.AWSElasticBlockStore != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.AWSElasticBlockStore.Size())) - n90, err := m.AWSElasticBlockStore.MarshalTo(data[i:]) + n115, err := m.AWSElasticBlockStore.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n90 + i += n115 } if m.HostPath != nil { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.HostPath.Size())) - n91, err := m.HostPath.MarshalTo(data[i:]) + n116, err := m.HostPath.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n91 + i += n116 } if m.Glusterfs != nil { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.Glusterfs.Size())) - n92, err := m.Glusterfs.MarshalTo(data[i:]) + n117, err := m.Glusterfs.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n92 + i += n117 } if m.NFS != nil { data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(m.NFS.Size())) - n93, err := m.NFS.MarshalTo(data[i:]) + n118, err := m.NFS.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n93 + i += n118 } if m.RBD != nil { data[i] = 0x32 i++ i = encodeVarintGenerated(data, i, uint64(m.RBD.Size())) - n94, err := m.RBD.MarshalTo(data[i:]) + n119, err := m.RBD.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n94 + i += n119 } if m.ISCSI != nil { data[i] = 0x3a i++ i = encodeVarintGenerated(data, i, uint64(m.ISCSI.Size())) - n95, err := m.ISCSI.MarshalTo(data[i:]) + n120, err := m.ISCSI.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n95 + i += n120 } if m.Cinder != nil { data[i] = 0x42 i++ i = encodeVarintGenerated(data, i, uint64(m.Cinder.Size())) - n96, err := m.Cinder.MarshalTo(data[i:]) + n121, err := m.Cinder.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n96 + i += n121 } if m.CephFS != nil { data[i] = 0x4a i++ i = encodeVarintGenerated(data, i, uint64(m.CephFS.Size())) - n97, err := m.CephFS.MarshalTo(data[i:]) + n122, err := m.CephFS.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n97 + i += n122 } if m.FC != nil { data[i] = 0x52 i++ i = encodeVarintGenerated(data, i, uint64(m.FC.Size())) - n98, err := m.FC.MarshalTo(data[i:]) + n123, err := m.FC.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n98 + i += n123 } if m.Flocker != nil { data[i] = 0x5a i++ i = encodeVarintGenerated(data, i, uint64(m.Flocker.Size())) - n99, err := m.Flocker.MarshalTo(data[i:]) + n124, err := m.Flocker.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n99 + i += n124 } if m.FlexVolume != nil { data[i] = 0x62 i++ i = encodeVarintGenerated(data, i, uint64(m.FlexVolume.Size())) - n100, err := m.FlexVolume.MarshalTo(data[i:]) + n125, err := m.FlexVolume.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n100 + i += n125 } if m.AzureFile != nil { data[i] = 0x6a i++ i = encodeVarintGenerated(data, i, uint64(m.AzureFile.Size())) - n101, err := m.AzureFile.MarshalTo(data[i:]) + n126, err := m.AzureFile.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n101 + i += n126 } if m.VsphereVolume != nil { data[i] = 0x72 i++ i = encodeVarintGenerated(data, i, uint64(m.VsphereVolume.Size())) - n102, err := m.VsphereVolume.MarshalTo(data[i:]) + n127, err := m.VsphereVolume.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n102 + i += n127 } if m.Quobyte != nil { data[i] = 0x7a i++ i = encodeVarintGenerated(data, i, uint64(m.Quobyte.Size())) - n103, err := m.Quobyte.MarshalTo(data[i:]) + n128, err := m.Quobyte.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n103 + i += n128 } if m.AzureDisk != nil { data[i] = 0x82 @@ -5157,11 +5426,11 @@ func (m *PersistentVolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.AzureDisk.Size())) - n104, err := m.AzureDisk.MarshalTo(data[i:]) + n129, err := m.AzureDisk.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n104 + i += n129 } if m.PhotonPersistentDisk != nil { data[i] = 0x8a @@ -5169,11 +5438,11 @@ func (m *PersistentVolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.PhotonPersistentDisk.Size())) - n105, err := m.PhotonPersistentDisk.MarshalTo(data[i:]) + n130, err := m.PhotonPersistentDisk.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n105 + i += n130 } return i, nil } @@ -5208,21 +5477,21 @@ func (m *PersistentVolumeSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n106, err := (&v).MarshalTo(data[i:]) + n131, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n106 + i += n131 } } data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.PersistentVolumeSource.Size())) - n107, err := m.PersistentVolumeSource.MarshalTo(data[i:]) + n132, err := m.PersistentVolumeSource.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n107 + i += n132 if len(m.AccessModes) > 0 { for _, s := range m.AccessModes { data[i] = 0x1a @@ -5242,11 +5511,11 @@ func (m *PersistentVolumeSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.ClaimRef.Size())) - n108, err := m.ClaimRef.MarshalTo(data[i:]) + n133, err := m.ClaimRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n108 + i += n133 } data[i] = 0x2a i++ @@ -5329,27 +5598,35 @@ func (m *Pod) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n109, err := m.ObjectMeta.MarshalTo(data[i:]) + n134, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n109 + i += n134 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n110, err := m.Spec.MarshalTo(data[i:]) + n135, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n110 + i += n135 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n111, err := m.Status.MarshalTo(data[i:]) + n136, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n111 + i += n136 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n137, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n137 return i, nil } @@ -5414,11 +5691,11 @@ func (m *PodAffinityTerm) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.LabelSelector.Size())) - n112, err := m.LabelSelector.MarshalTo(data[i:]) + n138, err := m.LabelSelector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n112 + i += n138 } if len(m.Namespaces) > 0 { for _, s := range m.Namespaces { @@ -5535,6 +5812,14 @@ func (m *PodAttachOptions) MarshalTo(data []byte) (int, error) { i++ i = encodeVarintGenerated(data, i, uint64(len(m.Container))) i += copy(data[i:], m.Container) + data[i] = 0x32 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n139, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n139 return i, nil } @@ -5564,19 +5849,19 @@ func (m *PodCondition) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.LastProbeTime.Size())) - n113, err := m.LastProbeTime.MarshalTo(data[i:]) + n140, err := m.LastProbeTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n113 + i += n140 data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) - n114, err := m.LastTransitionTime.MarshalTo(data[i:]) + n141, err := m.LastTransitionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n114 + i += n141 data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) @@ -5654,6 +5939,14 @@ func (m *PodExecOptions) MarshalTo(data []byte) (int, error) { i += copy(data[i:], s) } } + data[i] = 0x3a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n142, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n142 return i, nil } @@ -5675,11 +5968,11 @@ func (m *PodList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n115, err := m.ListMeta.MarshalTo(data[i:]) + n143, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n115 + i += n143 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -5692,6 +5985,14 @@ func (m *PodList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n144, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n144 return i, nil } @@ -5739,11 +6040,11 @@ func (m *PodLogOptions) MarshalTo(data []byte) (int, error) { data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(m.SinceTime.Size())) - n116, err := m.SinceTime.MarshalTo(data[i:]) + n145, err := m.SinceTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n116 + i += n145 } data[i] = 0x30 i++ @@ -5763,6 +6064,14 @@ func (m *PodLogOptions) MarshalTo(data []byte) (int, error) { i++ i = encodeVarintGenerated(data, i, uint64(*m.LimitBytes)) } + data[i] = 0x4a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n146, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n146 return i, nil } @@ -5785,6 +6094,14 @@ func (m *PodProxyOptions) MarshalTo(data []byte) (int, error) { i++ i = encodeVarintGenerated(data, i, uint64(len(m.Path))) i += copy(data[i:], m.Path) + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n147, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n147 return i, nil } @@ -5807,11 +6124,11 @@ func (m *PodSecurityContext) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.SELinuxOptions.Size())) - n117, err := m.SELinuxOptions.MarshalTo(data[i:]) + n148, err := m.SELinuxOptions.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n117 + i += n148 } if m.RunAsUser != nil { data[i] = 0x10 @@ -5862,11 +6179,11 @@ func (m *PodSignature) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.PodController.Size())) - n118, err := m.PodController.MarshalTo(data[i:]) + n149, err := m.PodController.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n118 + i += n149 } return i, nil } @@ -5985,11 +6302,11 @@ func (m *PodSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x72 i++ i = encodeVarintGenerated(data, i, uint64(m.SecurityContext.Size())) - n119, err := m.SecurityContext.MarshalTo(data[i:]) + n150, err := m.SecurityContext.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n119 + i += n150 } if len(m.ImagePullSecrets) > 0 { for _, msg := range m.ImagePullSecrets { @@ -6021,11 +6338,11 @@ func (m *PodSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.Affinity.Size())) - n120, err := m.Affinity.MarshalTo(data[i:]) + n151, err := m.Affinity.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n120 + i += n151 } return i, nil } @@ -6081,11 +6398,11 @@ func (m *PodStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x3a i++ i = encodeVarintGenerated(data, i, uint64(m.StartTime.Size())) - n121, err := m.StartTime.MarshalTo(data[i:]) + n152, err := m.StartTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n121 + i += n152 } if len(m.ContainerStatuses) > 0 { for _, msg := range m.ContainerStatuses { @@ -6124,19 +6441,27 @@ func (m *PodStatusResult) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n122, err := m.ObjectMeta.MarshalTo(data[i:]) + n153, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n122 + i += n153 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n123, err := m.Status.MarshalTo(data[i:]) + n154, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n123 + i += n154 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n155, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n155 return i, nil } @@ -6158,19 +6483,27 @@ func (m *PodTemplate) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n124, err := m.ObjectMeta.MarshalTo(data[i:]) + n156, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n124 + i += n156 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n125, err := m.Template.MarshalTo(data[i:]) + n157, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n125 + i += n157 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n158, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n158 return i, nil } @@ -6192,11 +6525,11 @@ func (m *PodTemplateList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n126, err := m.ListMeta.MarshalTo(data[i:]) + n159, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n126 + i += n159 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -6209,6 +6542,14 @@ func (m *PodTemplateList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n160, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n160 return i, nil } @@ -6230,19 +6571,19 @@ func (m *PodTemplateSpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n127, err := m.ObjectMeta.MarshalTo(data[i:]) + n161, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n127 + i += n161 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n128, err := m.Spec.MarshalTo(data[i:]) + n162, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n128 + i += n162 return i, nil } @@ -6288,19 +6629,19 @@ func (m *PreferAvoidPodsEntry) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.PodSignature.Size())) - n129, err := m.PodSignature.MarshalTo(data[i:]) + n163, err := m.PodSignature.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n129 + i += n163 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.EvictionTime.Size())) - n130, err := m.EvictionTime.MarshalTo(data[i:]) + n164, err := m.EvictionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n130 + i += n164 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) @@ -6333,11 +6674,11 @@ func (m *PreferredSchedulingTerm) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Preference.Size())) - n131, err := m.Preference.MarshalTo(data[i:]) + n165, err := m.Preference.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n131 + i += n165 return i, nil } @@ -6359,11 +6700,11 @@ func (m *Probe) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Handler.Size())) - n132, err := m.Handler.MarshalTo(data[i:]) + n166, err := m.Handler.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n132 + i += n166 data[i] = 0x10 i++ i = encodeVarintGenerated(data, i, uint64(m.InitialDelaySeconds)) @@ -6478,11 +6819,11 @@ func (m *RBDVolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x3a i++ i = encodeVarintGenerated(data, i, uint64(m.SecretRef.Size())) - n133, err := m.SecretRef.MarshalTo(data[i:]) + n167, err := m.SecretRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n133 + i += n167 } data[i] = 0x40 i++ @@ -6513,11 +6854,11 @@ func (m *RangeAllocation) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n134, err := m.ObjectMeta.MarshalTo(data[i:]) + n168, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n134 + i += n168 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Range))) @@ -6528,6 +6869,14 @@ func (m *RangeAllocation) MarshalTo(data []byte) (int, error) { i = encodeVarintGenerated(data, i, uint64(len(m.Data))) i += copy(data[i:], m.Data) } + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n169, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n169 return i, nil } @@ -6549,27 +6898,35 @@ func (m *ReplicationController) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n135, err := m.ObjectMeta.MarshalTo(data[i:]) + n170, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n135 + i += n170 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n136, err := m.Spec.MarshalTo(data[i:]) + n171, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n136 + i += n171 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n137, err := m.Status.MarshalTo(data[i:]) + n172, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n137 + i += n172 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n173, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n173 return i, nil } @@ -6599,11 +6956,11 @@ func (m *ReplicationControllerCondition) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) - n138, err := m.LastTransitionTime.MarshalTo(data[i:]) + n174, err := m.LastTransitionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n138 + i += n174 data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) @@ -6633,11 +6990,11 @@ func (m *ReplicationControllerList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n139, err := m.ListMeta.MarshalTo(data[i:]) + n175, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n139 + i += n175 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -6650,6 +7007,14 @@ func (m *ReplicationControllerList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n176, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n176 return i, nil } @@ -6694,11 +7059,11 @@ func (m *ReplicationControllerSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n140, err := m.Template.MarshalTo(data[i:]) + n177, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n140 + i += n177 } data[i] = 0x20 i++ @@ -6777,11 +7142,11 @@ func (m *ResourceFieldSelector) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Divisor.Size())) - n141, err := m.Divisor.MarshalTo(data[i:]) + n178, err := m.Divisor.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n141 + i += n178 return i, nil } @@ -6803,27 +7168,35 @@ func (m *ResourceQuota) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n142, err := m.ObjectMeta.MarshalTo(data[i:]) + n179, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n142 + i += n179 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n143, err := m.Spec.MarshalTo(data[i:]) + n180, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n143 + i += n180 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n144, err := m.Status.MarshalTo(data[i:]) + n181, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n144 + i += n181 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n182, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n182 return i, nil } @@ -6845,11 +7218,11 @@ func (m *ResourceQuotaList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n145, err := m.ListMeta.MarshalTo(data[i:]) + n183, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n145 + i += n183 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -6862,6 +7235,14 @@ func (m *ResourceQuotaList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n184, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n184 return i, nil } @@ -6895,11 +7276,11 @@ func (m *ResourceQuotaSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n146, err := (&v).MarshalTo(data[i:]) + n185, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n146 + i += n185 } } if len(m.Scopes) > 0 { @@ -6950,11 +7331,11 @@ func (m *ResourceQuotaStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n147, err := (&v).MarshalTo(data[i:]) + n186, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n147 + i += n186 } } if len(m.Used) > 0 { @@ -6972,11 +7353,11 @@ func (m *ResourceQuotaStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n148, err := (&v).MarshalTo(data[i:]) + n187, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n148 + i += n187 } } return i, nil @@ -7012,11 +7393,11 @@ func (m *ResourceRequirements) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n149, err := (&v).MarshalTo(data[i:]) + n188, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n149 + i += n188 } } if len(m.Requests) > 0 { @@ -7034,11 +7415,11 @@ func (m *ResourceRequirements) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n150, err := (&v).MarshalTo(data[i:]) + n189, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n150 + i += n189 } } return i, nil @@ -7096,11 +7477,11 @@ func (m *Secret) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n151, err := m.ObjectMeta.MarshalTo(data[i:]) + n190, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n151 + i += n190 if len(m.Data) > 0 { for k := range m.Data { data[i] = 0x12 @@ -7139,6 +7520,14 @@ func (m *Secret) MarshalTo(data []byte) (int, error) { i += copy(data[i:], v) } } + data[i] = 0x2a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n191, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n191 return i, nil } @@ -7160,11 +7549,11 @@ func (m *SecretKeySelector) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size())) - n152, err := m.LocalObjectReference.MarshalTo(data[i:]) + n192, err := m.LocalObjectReference.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n152 + i += n192 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Key))) @@ -7190,11 +7579,11 @@ func (m *SecretList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n153, err := m.ListMeta.MarshalTo(data[i:]) + n193, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n153 + i += n193 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -7207,6 +7596,14 @@ func (m *SecretList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n194, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n194 return i, nil } @@ -7268,11 +7665,11 @@ func (m *SecurityContext) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Capabilities.Size())) - n154, err := m.Capabilities.MarshalTo(data[i:]) + n195, err := m.Capabilities.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n154 + i += n195 } if m.Privileged != nil { data[i] = 0x10 @@ -7288,11 +7685,11 @@ func (m *SecurityContext) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.SELinuxOptions.Size())) - n155, err := m.SELinuxOptions.MarshalTo(data[i:]) + n196, err := m.SELinuxOptions.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n155 + i += n196 } if m.RunAsUser != nil { data[i] = 0x20 @@ -7340,11 +7737,19 @@ func (m *SerializedReference) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Reference.Size())) - n156, err := m.Reference.MarshalTo(data[i:]) + n197, err := m.Reference.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n156 + i += n197 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n198, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n198 return i, nil } @@ -7366,27 +7771,35 @@ func (m *Service) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n157, err := m.ObjectMeta.MarshalTo(data[i:]) + n199, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n157 + i += n199 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n158, err := m.Spec.MarshalTo(data[i:]) + n200, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n158 + i += n200 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n159, err := m.Status.MarshalTo(data[i:]) + n201, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n159 + i += n201 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n202, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n202 return i, nil } @@ -7408,11 +7821,11 @@ func (m *ServiceAccount) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n160, err := m.ObjectMeta.MarshalTo(data[i:]) + n203, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n160 + i += n203 if len(m.Secrets) > 0 { for _, msg := range m.Secrets { data[i] = 0x12 @@ -7437,6 +7850,14 @@ func (m *ServiceAccount) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n204, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n204 return i, nil } @@ -7458,11 +7879,11 @@ func (m *ServiceAccountList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n161, err := m.ListMeta.MarshalTo(data[i:]) + n205, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n161 + i += n205 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -7475,6 +7896,14 @@ func (m *ServiceAccountList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n206, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n206 return i, nil } @@ -7496,11 +7925,11 @@ func (m *ServiceList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n162, err := m.ListMeta.MarshalTo(data[i:]) + n207, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n162 + i += n207 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -7513,6 +7942,14 @@ func (m *ServiceList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n208, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n208 return i, nil } @@ -7545,11 +7982,11 @@ func (m *ServicePort) MarshalTo(data []byte) (int, error) { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.TargetPort.Size())) - n163, err := m.TargetPort.MarshalTo(data[i:]) + n209, err := m.TargetPort.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n163 + i += n209 data[i] = 0x28 i++ i = encodeVarintGenerated(data, i, uint64(m.NodePort)) @@ -7575,6 +8012,14 @@ func (m *ServiceProxyOptions) MarshalTo(data []byte) (int, error) { i++ i = encodeVarintGenerated(data, i, uint64(len(m.Path))) i += copy(data[i:], m.Path) + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n210, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n210 return i, nil } @@ -7708,11 +8153,11 @@ func (m *ServiceStatus) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.LoadBalancer.Size())) - n164, err := m.LoadBalancer.MarshalTo(data[i:]) + n211, err := m.LoadBalancer.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n164 + i += n211 return i, nil } @@ -7760,11 +8205,11 @@ func (m *TCPSocketAction) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Port.Size())) - n165, err := m.Port.MarshalTo(data[i:]) + n212, err := m.Port.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n165 + i += n212 return i, nil } @@ -7854,11 +8299,11 @@ func (m *Volume) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.VolumeSource.Size())) - n166, err := m.VolumeSource.MarshalTo(data[i:]) + n213, err := m.VolumeSource.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n166 + i += n213 return i, nil } @@ -7919,151 +8364,151 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.HostPath.Size())) - n167, err := m.HostPath.MarshalTo(data[i:]) + n214, err := m.HostPath.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n167 + i += n214 } if m.EmptyDir != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.EmptyDir.Size())) - n168, err := m.EmptyDir.MarshalTo(data[i:]) + n215, err := m.EmptyDir.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n168 + i += n215 } if m.GCEPersistentDisk != nil { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.GCEPersistentDisk.Size())) - n169, err := m.GCEPersistentDisk.MarshalTo(data[i:]) + n216, err := m.GCEPersistentDisk.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n169 + i += n216 } if m.AWSElasticBlockStore != nil { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.AWSElasticBlockStore.Size())) - n170, err := m.AWSElasticBlockStore.MarshalTo(data[i:]) + n217, err := m.AWSElasticBlockStore.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n170 + i += n217 } if m.GitRepo != nil { data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(m.GitRepo.Size())) - n171, err := m.GitRepo.MarshalTo(data[i:]) + n218, err := m.GitRepo.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n171 + i += n218 } if m.Secret != nil { data[i] = 0x32 i++ i = encodeVarintGenerated(data, i, uint64(m.Secret.Size())) - n172, err := m.Secret.MarshalTo(data[i:]) + n219, err := m.Secret.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n172 + i += n219 } if m.NFS != nil { data[i] = 0x3a i++ i = encodeVarintGenerated(data, i, uint64(m.NFS.Size())) - n173, err := m.NFS.MarshalTo(data[i:]) + n220, err := m.NFS.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n173 + i += n220 } if m.ISCSI != nil { data[i] = 0x42 i++ i = encodeVarintGenerated(data, i, uint64(m.ISCSI.Size())) - n174, err := m.ISCSI.MarshalTo(data[i:]) + n221, err := m.ISCSI.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n174 + i += n221 } if m.Glusterfs != nil { data[i] = 0x4a i++ i = encodeVarintGenerated(data, i, uint64(m.Glusterfs.Size())) - n175, err := m.Glusterfs.MarshalTo(data[i:]) + n222, err := m.Glusterfs.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n175 + i += n222 } if m.PersistentVolumeClaim != nil { data[i] = 0x52 i++ i = encodeVarintGenerated(data, i, uint64(m.PersistentVolumeClaim.Size())) - n176, err := m.PersistentVolumeClaim.MarshalTo(data[i:]) + n223, err := m.PersistentVolumeClaim.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n176 + i += n223 } if m.RBD != nil { data[i] = 0x5a i++ i = encodeVarintGenerated(data, i, uint64(m.RBD.Size())) - n177, err := m.RBD.MarshalTo(data[i:]) + n224, err := m.RBD.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n177 + i += n224 } if m.FlexVolume != nil { data[i] = 0x62 i++ i = encodeVarintGenerated(data, i, uint64(m.FlexVolume.Size())) - n178, err := m.FlexVolume.MarshalTo(data[i:]) + n225, err := m.FlexVolume.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n178 + i += n225 } if m.Cinder != nil { data[i] = 0x6a i++ i = encodeVarintGenerated(data, i, uint64(m.Cinder.Size())) - n179, err := m.Cinder.MarshalTo(data[i:]) + n226, err := m.Cinder.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n179 + i += n226 } if m.CephFS != nil { data[i] = 0x72 i++ i = encodeVarintGenerated(data, i, uint64(m.CephFS.Size())) - n180, err := m.CephFS.MarshalTo(data[i:]) + n227, err := m.CephFS.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n180 + i += n227 } if m.Flocker != nil { data[i] = 0x7a i++ i = encodeVarintGenerated(data, i, uint64(m.Flocker.Size())) - n181, err := m.Flocker.MarshalTo(data[i:]) + n228, err := m.Flocker.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n181 + i += n228 } if m.DownwardAPI != nil { data[i] = 0x82 @@ -8071,11 +8516,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.DownwardAPI.Size())) - n182, err := m.DownwardAPI.MarshalTo(data[i:]) + n229, err := m.DownwardAPI.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n182 + i += n229 } if m.FC != nil { data[i] = 0x8a @@ -8083,11 +8528,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.FC.Size())) - n183, err := m.FC.MarshalTo(data[i:]) + n230, err := m.FC.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n183 + i += n230 } if m.AzureFile != nil { data[i] = 0x92 @@ -8095,11 +8540,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.AzureFile.Size())) - n184, err := m.AzureFile.MarshalTo(data[i:]) + n231, err := m.AzureFile.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n184 + i += n231 } if m.ConfigMap != nil { data[i] = 0x9a @@ -8107,11 +8552,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.ConfigMap.Size())) - n185, err := m.ConfigMap.MarshalTo(data[i:]) + n232, err := m.ConfigMap.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n185 + i += n232 } if m.VsphereVolume != nil { data[i] = 0xa2 @@ -8119,11 +8564,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.VsphereVolume.Size())) - n186, err := m.VsphereVolume.MarshalTo(data[i:]) + n233, err := m.VsphereVolume.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n186 + i += n233 } if m.Quobyte != nil { data[i] = 0xaa @@ -8131,11 +8576,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.Quobyte.Size())) - n187, err := m.Quobyte.MarshalTo(data[i:]) + n234, err := m.Quobyte.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n187 + i += n234 } if m.AzureDisk != nil { data[i] = 0xb2 @@ -8143,11 +8588,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.AzureDisk.Size())) - n188, err := m.AzureDisk.MarshalTo(data[i:]) + n235, err := m.AzureDisk.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n188 + i += n235 } if m.PhotonPersistentDisk != nil { data[i] = 0xba @@ -8155,11 +8600,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.PhotonPersistentDisk.Size())) - n189, err := m.PhotonPersistentDisk.MarshalTo(data[i:]) + n236, err := m.PhotonPersistentDisk.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n189 + i += n236 } return i, nil } @@ -8211,11 +8656,11 @@ func (m *WeightedPodAffinityTerm) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.PodAffinityTerm.Size())) - n190, err := m.PodAffinityTerm.MarshalTo(data[i:]) + n237, err := m.PodAffinityTerm.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n190 + i += n237 return i, nil } @@ -8337,6 +8782,8 @@ func (m *Binding) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Target.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -8417,6 +8864,8 @@ func (m *ComponentStatus) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -8431,6 +8880,8 @@ func (m *ComponentStatusList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -8447,6 +8898,16 @@ func (m *ConfigMap) Size() (n int) { n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) + return n +} + +func (m *ConfigMapEnvSource) Size() (n int) { + var l int + _ = l + l = m.LocalObjectReference.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -8471,6 +8932,8 @@ func (m *ConfigMapList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -8555,6 +9018,12 @@ func (m *Container) Size() (n int) { n += 3 n += 3 n += 3 + if len(m.EnvFrom) > 0 { + for _, e := range m.EnvFrom { + l = e.Size() + n += 2 + l + sovGenerated(uint64(l)) + } + } return n } @@ -8679,6 +9148,8 @@ func (m *DeleteOptions) Size() (n int) { if m.OrphanDependents != nil { n += 2 } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -8788,6 +9259,8 @@ func (m *Endpoints) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -8802,6 +9275,20 @@ func (m *EndpointsList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) + return n +} + +func (m *EnvFromSource) Size() (n int) { + var l int + _ = l + l = len(m.Prefix) + n += 1 + l + sovGenerated(uint64(l)) + if m.ConfigMapRef != nil { + l = m.ConfigMapRef.Size() + n += 1 + l + sovGenerated(uint64(l)) + } return n } @@ -8861,6 +9348,8 @@ func (m *Event) Size() (n int) { n += 1 + sovGenerated(uint64(m.Count)) l = len(m.Type) n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -8875,6 +9364,8 @@ func (m *EventList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9092,6 +9583,8 @@ func (m *LimitRange) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Spec.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9159,6 +9652,8 @@ func (m *LimitRangeList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9185,6 +9680,8 @@ func (m *List) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9201,6 +9698,8 @@ func (m *ListOptions) Size() (n int) { if m.TimeoutSeconds != nil { n += 1 + sovGenerated(uint64(*m.TimeoutSeconds)) } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9254,6 +9753,8 @@ func (m *Namespace) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9268,6 +9769,8 @@ func (m *NamespaceList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9300,6 +9803,8 @@ func (m *Node) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9366,6 +9871,8 @@ func (m *NodeList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9374,6 +9881,8 @@ func (m *NodeProxyOptions) Size() (n int) { _ = l l = len(m.Path) n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9628,6 +10137,8 @@ func (m *PersistentVolume) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9640,6 +10151,8 @@ func (m *PersistentVolumeClaim) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9654,6 +10167,8 @@ func (m *PersistentVolumeClaimList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9720,6 +10235,8 @@ func (m *PersistentVolumeList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9857,6 +10374,8 @@ func (m *Pod) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9923,6 +10442,8 @@ func (m *PodAttachOptions) Size() (n int) { n += 2 l = len(m.Container) n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9959,6 +10480,8 @@ func (m *PodExecOptions) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9973,6 +10496,8 @@ func (m *PodList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -9997,6 +10522,8 @@ func (m *PodLogOptions) Size() (n int) { if m.LimitBytes != nil { n += 1 + sovGenerated(uint64(*m.LimitBytes)) } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10005,6 +10532,8 @@ func (m *PodProxyOptions) Size() (n int) { _ = l l = len(m.Path) n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10146,6 +10675,8 @@ func (m *PodStatusResult) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10156,6 +10687,8 @@ func (m *PodTemplate) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Template.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10170,6 +10703,8 @@ func (m *PodTemplateList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10282,6 +10817,8 @@ func (m *RangeAllocation) Size() (n int) { l = len(m.Data) n += 1 + l + sovGenerated(uint64(l)) } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10294,6 +10831,8 @@ func (m *ReplicationController) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10324,6 +10863,8 @@ func (m *ReplicationControllerList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10387,6 +10928,8 @@ func (m *ResourceQuota) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10401,6 +10944,8 @@ func (m *ResourceQuotaList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10510,6 +11055,8 @@ func (m *Secret) Size() (n int) { n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10534,6 +11081,8 @@ func (m *SecretList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10585,6 +11134,8 @@ func (m *SerializedReference) Size() (n int) { _ = l l = m.Reference.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10597,6 +11148,8 @@ func (m *Service) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10617,6 +11170,8 @@ func (m *ServiceAccount) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10631,6 +11186,8 @@ func (m *ServiceAccountList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10645,6 +11202,8 @@ func (m *ServiceList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10667,6 +11226,8 @@ func (m *ServiceProxyOptions) Size() (n int) { _ = l l = len(m.Path) n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -11002,6 +11563,7 @@ func (this *Binding) String() string { s := strings.Join([]string{`&Binding{`, `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Target:` + strings.Replace(strings.Replace(this.Target.String(), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11064,6 +11626,7 @@ func (this *ComponentStatus) String() string { s := strings.Join([]string{`&ComponentStatus{`, `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ComponentCondition", "ComponentCondition", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11073,8 +11636,9 @@ func (this *ComponentStatusList) String() string { return "nil" } s := strings.Join([]string{`&ComponentStatusList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ComponentStatus", "ComponentStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11096,6 +11660,17 @@ func (this *ConfigMap) String() string { s := strings.Join([]string{`&ConfigMap{`, `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Data:` + mapStringForData + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} +func (this *ConfigMapEnvSource) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&ConfigMapEnvSource{`, + `LocalObjectReference:` + strings.Replace(strings.Replace(this.LocalObjectReference.String(), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11116,8 +11691,9 @@ func (this *ConfigMapList) String() string { return "nil" } s := strings.Join([]string{`&ConfigMapList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ConfigMap", "ConfigMap", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11157,6 +11733,7 @@ func (this *Container) String() string { `Stdin:` + fmt.Sprintf("%v", this.Stdin) + `,`, `StdinOnce:` + fmt.Sprintf("%v", this.StdinOnce) + `,`, `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`, + `EnvFrom:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.EnvFrom), "EnvFromSource", "EnvFromSource", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11203,7 +11780,7 @@ func (this *ContainerStateRunning) String() string { return "nil" } s := strings.Join([]string{`&ContainerStateRunning{`, - `StartedAt:` + strings.Replace(strings.Replace(this.StartedAt.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `StartedAt:` + strings.Replace(strings.Replace(this.StartedAt.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11217,8 +11794,8 @@ func (this *ContainerStateTerminated) String() string { `Signal:` + fmt.Sprintf("%v", this.Signal) + `,`, `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, - `StartedAt:` + strings.Replace(strings.Replace(this.StartedAt.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, - `FinishedAt:` + strings.Replace(strings.Replace(this.FinishedAt.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `StartedAt:` + strings.Replace(strings.Replace(this.StartedAt.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `FinishedAt:` + strings.Replace(strings.Replace(this.FinishedAt.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, `ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`, `}`, }, "") @@ -11270,6 +11847,7 @@ func (this *DeleteOptions) String() string { `GracePeriodSeconds:` + valueToStringGenerated(this.GracePeriodSeconds) + `,`, `Preconditions:` + strings.Replace(fmt.Sprintf("%v", this.Preconditions), "Preconditions", "Preconditions", 1) + `,`, `OrphanDependents:` + valueToStringGenerated(this.OrphanDependents) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11352,6 +11930,7 @@ func (this *Endpoints) String() string { s := strings.Join([]string{`&Endpoints{`, `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Subsets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Subsets), "EndpointSubset", "EndpointSubset", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11361,8 +11940,20 @@ func (this *EndpointsList) String() string { return "nil" } s := strings.Join([]string{`&EndpointsList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Endpoints", "Endpoints", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} +func (this *EnvFromSource) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&EnvFromSource{`, + `Prefix:` + fmt.Sprintf("%v", this.Prefix) + `,`, + `ConfigMapRef:` + strings.Replace(fmt.Sprintf("%v", this.ConfigMapRef), "ConfigMapEnvSource", "ConfigMapEnvSource", 1) + `,`, `}`, }, "") return s @@ -11402,10 +11993,11 @@ func (this *Event) String() string { `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, `Source:` + strings.Replace(strings.Replace(this.Source.String(), "EventSource", "EventSource", 1), `&`, ``, 1) + `,`, - `FirstTimestamp:` + strings.Replace(strings.Replace(this.FirstTimestamp.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, - `LastTimestamp:` + strings.Replace(strings.Replace(this.LastTimestamp.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `FirstTimestamp:` + strings.Replace(strings.Replace(this.FirstTimestamp.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastTimestamp:` + strings.Replace(strings.Replace(this.LastTimestamp.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, `Count:` + fmt.Sprintf("%v", this.Count) + `,`, `Type:` + fmt.Sprintf("%v", this.Type) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11415,8 +12007,9 @@ func (this *EventList) String() string { return "nil" } s := strings.Join([]string{`&EventList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Event", "Event", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11619,6 +12212,7 @@ func (this *LimitRange) String() string { s := strings.Join([]string{`&LimitRange{`, `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "LimitRangeSpec", "LimitRangeSpec", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11693,8 +12287,9 @@ func (this *LimitRangeList) String() string { return "nil" } s := strings.Join([]string{`&LimitRangeList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "LimitRange", "LimitRange", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11714,8 +12309,9 @@ func (this *List) String() string { return "nil" } s := strings.Join([]string{`&List{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, - `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "RawExtension", "k8s_io_kubernetes_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11730,6 +12326,7 @@ func (this *ListOptions) String() string { `Watch:` + fmt.Sprintf("%v", this.Watch) + `,`, `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, `TimeoutSeconds:` + valueToStringGenerated(this.TimeoutSeconds) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11785,6 +12382,7 @@ func (this *Namespace) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NamespaceSpec", "NamespaceSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "NamespaceStatus", "NamespaceStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11794,8 +12392,9 @@ func (this *NamespaceList) String() string { return "nil" } s := strings.Join([]string{`&NamespaceList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Namespace", "Namespace", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11828,6 +12427,7 @@ func (this *Node) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NodeSpec", "NodeSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "NodeStatus", "NodeStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11861,8 +12461,8 @@ func (this *NodeCondition) String() string { s := strings.Join([]string{`&NodeCondition{`, `Type:` + fmt.Sprintf("%v", this.Type) + `,`, `Status:` + fmt.Sprintf("%v", this.Status) + `,`, - `LastHeartbeatTime:` + strings.Replace(strings.Replace(this.LastHeartbeatTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, - `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastHeartbeatTime:` + strings.Replace(strings.Replace(this.LastHeartbeatTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, `}`, @@ -11884,8 +12484,9 @@ func (this *NodeList) String() string { return "nil" } s := strings.Join([]string{`&NodeList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Node", "Node", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -11896,6 +12497,7 @@ func (this *NodeProxyOptions) String() string { } s := strings.Join([]string{`&NodeProxyOptions{`, `Path:` + fmt.Sprintf("%v", this.Path) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12066,12 +12668,12 @@ func (this *ObjectMeta) String() string { `UID:` + fmt.Sprintf("%v", this.UID) + `,`, `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, `Generation:` + fmt.Sprintf("%v", this.Generation) + `,`, - `CreationTimestamp:` + strings.Replace(strings.Replace(this.CreationTimestamp.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, - `DeletionTimestamp:` + strings.Replace(fmt.Sprintf("%v", this.DeletionTimestamp), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1) + `,`, + `CreationTimestamp:` + strings.Replace(strings.Replace(this.CreationTimestamp.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `DeletionTimestamp:` + strings.Replace(fmt.Sprintf("%v", this.DeletionTimestamp), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`, `DeletionGracePeriodSeconds:` + valueToStringGenerated(this.DeletionGracePeriodSeconds) + `,`, `Labels:` + mapStringForLabels + `,`, `Annotations:` + mapStringForAnnotations + `,`, - `OwnerReferences:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.OwnerReferences), "OwnerReference", "k8s_io_kubernetes_pkg_apis_meta_v1.OwnerReference", 1), `&`, ``, 1) + `,`, + `OwnerReferences:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.OwnerReferences), "OwnerReference", "k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference", 1), `&`, ``, 1) + `,`, `Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`, `ClusterName:` + fmt.Sprintf("%v", this.ClusterName) + `,`, `}`, @@ -12102,6 +12704,7 @@ func (this *PersistentVolume) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PersistentVolumeSpec", "PersistentVolumeSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PersistentVolumeStatus", "PersistentVolumeStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12114,6 +12717,7 @@ func (this *PersistentVolumeClaim) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PersistentVolumeClaimSpec", "PersistentVolumeClaimSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PersistentVolumeClaimStatus", "PersistentVolumeClaimStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12123,8 +12727,9 @@ func (this *PersistentVolumeClaimList) String() string { return "nil" } s := strings.Join([]string{`&PersistentVolumeClaimList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PersistentVolumeClaim", "PersistentVolumeClaim", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12137,7 +12742,7 @@ func (this *PersistentVolumeClaimSpec) String() string { `AccessModes:` + fmt.Sprintf("%v", this.AccessModes) + `,`, `Resources:` + strings.Replace(strings.Replace(this.Resources.String(), "ResourceRequirements", "ResourceRequirements", 1), `&`, ``, 1) + `,`, `VolumeName:` + fmt.Sprintf("%v", this.VolumeName) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, `}`, }, "") return s @@ -12180,8 +12785,9 @@ func (this *PersistentVolumeList) String() string { return "nil" } s := strings.Join([]string{`&PersistentVolumeList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PersistentVolume", "PersistentVolume", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12267,6 +12873,7 @@ func (this *Pod) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSpec", "PodSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PodStatus", "PodStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12287,7 +12894,7 @@ func (this *PodAffinityTerm) String() string { return "nil" } s := strings.Join([]string{`&PodAffinityTerm{`, - `LabelSelector:` + strings.Replace(fmt.Sprintf("%v", this.LabelSelector), "LabelSelector", "k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector", 1) + `,`, + `LabelSelector:` + strings.Replace(fmt.Sprintf("%v", this.LabelSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, `Namespaces:` + fmt.Sprintf("%v", this.Namespaces) + `,`, `TopologyKey:` + fmt.Sprintf("%v", this.TopologyKey) + `,`, `}`, @@ -12315,6 +12922,7 @@ func (this *PodAttachOptions) String() string { `Stderr:` + fmt.Sprintf("%v", this.Stderr) + `,`, `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`, `Container:` + fmt.Sprintf("%v", this.Container) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12326,8 +12934,8 @@ func (this *PodCondition) String() string { s := strings.Join([]string{`&PodCondition{`, `Type:` + fmt.Sprintf("%v", this.Type) + `,`, `Status:` + fmt.Sprintf("%v", this.Status) + `,`, - `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, - `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, `}`, @@ -12345,6 +12953,7 @@ func (this *PodExecOptions) String() string { `TTY:` + fmt.Sprintf("%v", this.TTY) + `,`, `Container:` + fmt.Sprintf("%v", this.Container) + `,`, `Command:` + fmt.Sprintf("%v", this.Command) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12354,8 +12963,9 @@ func (this *PodList) String() string { return "nil" } s := strings.Join([]string{`&PodList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Pod", "Pod", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12369,10 +12979,11 @@ func (this *PodLogOptions) String() string { `Follow:` + fmt.Sprintf("%v", this.Follow) + `,`, `Previous:` + fmt.Sprintf("%v", this.Previous) + `,`, `SinceSeconds:` + valueToStringGenerated(this.SinceSeconds) + `,`, - `SinceTime:` + strings.Replace(fmt.Sprintf("%v", this.SinceTime), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1) + `,`, + `SinceTime:` + strings.Replace(fmt.Sprintf("%v", this.SinceTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`, `Timestamps:` + fmt.Sprintf("%v", this.Timestamps) + `,`, `TailLines:` + valueToStringGenerated(this.TailLines) + `,`, `LimitBytes:` + valueToStringGenerated(this.LimitBytes) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12383,6 +12994,7 @@ func (this *PodProxyOptions) String() string { } s := strings.Join([]string{`&PodProxyOptions{`, `Path:` + fmt.Sprintf("%v", this.Path) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12406,7 +13018,7 @@ func (this *PodSignature) String() string { return "nil" } s := strings.Join([]string{`&PodSignature{`, - `PodController:` + strings.Replace(fmt.Sprintf("%v", this.PodController), "OwnerReference", "k8s_io_kubernetes_pkg_apis_meta_v1.OwnerReference", 1) + `,`, + `PodController:` + strings.Replace(fmt.Sprintf("%v", this.PodController), "OwnerReference", "k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference", 1) + `,`, `}`, }, "") return s @@ -12459,7 +13071,7 @@ func (this *PodStatus) String() string { `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `HostIP:` + fmt.Sprintf("%v", this.HostIP) + `,`, `PodIP:` + fmt.Sprintf("%v", this.PodIP) + `,`, - `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1) + `,`, + `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`, `ContainerStatuses:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ContainerStatuses), "ContainerStatus", "ContainerStatus", 1), `&`, ``, 1) + `,`, `QOSClass:` + fmt.Sprintf("%v", this.QOSClass) + `,`, `}`, @@ -12473,6 +13085,7 @@ func (this *PodStatusResult) String() string { s := strings.Join([]string{`&PodStatusResult{`, `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PodStatus", "PodStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12484,6 +13097,7 @@ func (this *PodTemplate) String() string { s := strings.Join([]string{`&PodTemplate{`, `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "PodTemplateSpec", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12493,8 +13107,9 @@ func (this *PodTemplateList) String() string { return "nil" } s := strings.Join([]string{`&PodTemplateList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodTemplate", "PodTemplate", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12526,7 +13141,7 @@ func (this *PreferAvoidPodsEntry) String() string { } s := strings.Join([]string{`&PreferAvoidPodsEntry{`, `PodSignature:` + strings.Replace(strings.Replace(this.PodSignature.String(), "PodSignature", "PodSignature", 1), `&`, ``, 1) + `,`, - `EvictionTime:` + strings.Replace(strings.Replace(this.EvictionTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `EvictionTime:` + strings.Replace(strings.Replace(this.EvictionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, `}`, @@ -12598,6 +13213,7 @@ func (this *RangeAllocation) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Range:` + fmt.Sprintf("%v", this.Range) + `,`, `Data:` + valueToStringGenerated(this.Data) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12610,6 +13226,7 @@ func (this *ReplicationController) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicationControllerSpec", "ReplicationControllerSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicationControllerStatus", "ReplicationControllerStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12621,7 +13238,7 @@ func (this *ReplicationControllerCondition) String() string { s := strings.Join([]string{`&ReplicationControllerCondition{`, `Type:` + fmt.Sprintf("%v", this.Type) + `,`, `Status:` + fmt.Sprintf("%v", this.Status) + `,`, - `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, `}`, @@ -12633,8 +13250,9 @@ func (this *ReplicationControllerList) String() string { return "nil" } s := strings.Join([]string{`&ReplicationControllerList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ReplicationController", "ReplicationController", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12697,6 +13315,7 @@ func (this *ResourceQuota) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ResourceQuotaSpec", "ResourceQuotaSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ResourceQuotaStatus", "ResourceQuotaStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12706,8 +13325,9 @@ func (this *ResourceQuotaList) String() string { return "nil" } s := strings.Join([]string{`&ResourceQuotaList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ResourceQuota", "ResourceQuota", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12837,6 +13457,7 @@ func (this *Secret) String() string { `Data:` + mapStringForData + `,`, `Type:` + fmt.Sprintf("%v", this.Type) + `,`, `StringData:` + mapStringForStringData + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12857,8 +13478,9 @@ func (this *SecretList) String() string { return "nil" } s := strings.Join([]string{`&SecretList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Secret", "Secret", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12896,6 +13518,7 @@ func (this *SerializedReference) String() string { } s := strings.Join([]string{`&SerializedReference{`, `Reference:` + strings.Replace(strings.Replace(this.Reference.String(), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12908,6 +13531,7 @@ func (this *Service) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ServiceSpec", "ServiceSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ServiceStatus", "ServiceStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12920,6 +13544,7 @@ func (this *ServiceAccount) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, `Secrets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Secrets), "ObjectReference", "ObjectReference", 1), `&`, ``, 1) + `,`, `ImagePullSecrets:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ImagePullSecrets), "LocalObjectReference", "LocalObjectReference", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12929,8 +13554,9 @@ func (this *ServiceAccountList) String() string { return "nil" } s := strings.Join([]string{`&ServiceAccountList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ServiceAccount", "ServiceAccount", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12940,8 +13566,9 @@ func (this *ServiceList) String() string { return "nil" } s := strings.Join([]string{`&ServiceList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Service", "Service", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -12966,6 +13593,7 @@ func (this *ServiceProxyOptions) String() string { } s := strings.Join([]string{`&ServiceProxyOptions{`, `Path:` + fmt.Sprintf("%v", this.Path) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -14032,6 +14660,36 @@ func (m *Binding) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -14764,6 +15422,36 @@ func (m *ComponentStatus) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -14875,6 +15563,36 @@ func (m *ComponentStatusList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -15066,6 +15784,116 @@ func (m *ConfigMap) Unmarshal(data []byte) error { } m.Data[mapkey] = mapvalue iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(data[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ConfigMapEnvSource) Unmarshal(data []byte) error { + l := len(data) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ConfigMapEnvSource: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConfigMapEnvSource: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LocalObjectReference", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.LocalObjectReference.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -15286,6 +16114,36 @@ func (m *ConfigMapList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -15985,6 +16843,37 @@ func (m *Container) Unmarshal(data []byte) error { } } m.TTY = bool(v != 0) + case 19: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EnvFrom", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.EnvFrom = append(m.EnvFrom, EnvFromSource{}) + if err := m.EnvFrom[len(m.EnvFrom)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -17288,6 +18177,36 @@ func (m *DeleteOptions) Unmarshal(data []byte) error { } b := bool(v != 0) m.OrphanDependents = &b + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -18185,6 +19104,36 @@ func (m *Endpoints) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -18296,6 +19245,148 @@ func (m *EndpointsList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(data[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EnvFromSource) Unmarshal(data []byte) error { + l := len(data) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EnvFromSource: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EnvFromSource: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Prefix", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Prefix = string(data[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConfigMapRef", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ConfigMapRef == nil { + m.ConfigMapRef = &ConfigMapEnvSource{} + } + if err := m.ConfigMapRef.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -18925,6 +20016,36 @@ func (m *Event) Unmarshal(data []byte) error { } m.Type = string(data[iNdEx:postIndex]) iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -19036,6 +20157,36 @@ func (m *EventList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -21256,6 +22407,36 @@ func (m *LimitRange) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -22026,6 +23207,36 @@ func (m *LimitRangeList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -22213,11 +23424,41 @@ func (m *List) Unmarshal(data []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Items = append(m.Items, k8s_io_kubernetes_pkg_runtime.RawExtension{}) + m.Items = append(m.Items, k8s_io_apimachinery_pkg_runtime.RawExtension{}) if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -22395,6 +23636,36 @@ func (m *ListOptions) Unmarshal(data []byte) error { } } m.TimeoutSeconds = &v + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -22931,6 +24202,36 @@ func (m *Namespace) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -23042,6 +24343,36 @@ func (m *NamespaceList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -23340,6 +24671,36 @@ func (m *Node) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -23979,6 +25340,36 @@ func (m *NodeList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -24058,6 +25449,36 @@ func (m *NodeProxyOptions) Unmarshal(data []byte) error { } m.Path = string(data[iNdEx:postIndex]) iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -25845,7 +27266,7 @@ func (m *ObjectMeta) Unmarshal(data []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.UID = k8s_io_kubernetes_pkg_types.UID(data[iNdEx:postIndex]) + m.UID = k8s_io_apimachinery_pkg_types.UID(data[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -25952,7 +27373,7 @@ func (m *ObjectMeta) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.DeletionTimestamp == nil { - m.DeletionTimestamp = &k8s_io_kubernetes_pkg_apis_meta_v1.Time{} + m.DeletionTimestamp = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{} } if err := m.DeletionTimestamp.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -26226,7 +27647,7 @@ func (m *ObjectMeta) Unmarshal(data []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OwnerReferences = append(m.OwnerReferences, k8s_io_kubernetes_pkg_apis_meta_v1.OwnerReference{}) + m.OwnerReferences = append(m.OwnerReferences, k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference{}) if err := m.OwnerReferences[len(m.OwnerReferences)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } @@ -26453,7 +27874,7 @@ func (m *ObjectReference) Unmarshal(data []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.UID = k8s_io_kubernetes_pkg_types.UID(data[iNdEx:postIndex]) + m.UID = k8s_io_apimachinery_pkg_types.UID(data[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { @@ -26682,6 +28103,36 @@ func (m *PersistentVolume) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -26822,6 +28273,36 @@ func (m *PersistentVolumeClaim) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -26933,6 +28414,36 @@ func (m *PersistentVolumeClaimList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -27098,7 +28609,7 @@ func (m *PersistentVolumeClaimSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector{} + m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -27538,6 +29049,36 @@ func (m *PersistentVolumeList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -28821,6 +30362,36 @@ func (m *Pod) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -29010,7 +30581,7 @@ func (m *PodAffinityTerm) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.LabelSelector == nil { - m.LabelSelector = &k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector{} + m.LabelSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} } if err := m.LabelSelector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -29345,6 +30916,36 @@ func (m *PodAttachOptions) Unmarshal(data []byte) error { } m.Container = string(data[iNdEx:postIndex]) iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -29759,6 +31360,36 @@ func (m *PodExecOptions) Unmarshal(data []byte) error { } m.Command = append(m.Command, string(data[iNdEx:postIndex])) iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -29870,6 +31501,36 @@ func (m *PodList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -30036,7 +31697,7 @@ func (m *PodLogOptions) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.SinceTime == nil { - m.SinceTime = &k8s_io_kubernetes_pkg_apis_meta_v1.Time{} + m.SinceTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{} } if err := m.SinceTime.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -30102,6 +31763,36 @@ func (m *PodLogOptions) Unmarshal(data []byte) error { } } m.LimitBytes = &v + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -30181,6 +31872,36 @@ func (m *PodProxyOptions) Unmarshal(data []byte) error { } m.Path = string(data[iNdEx:postIndex]) iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -30422,7 +32143,7 @@ func (m *PodSignature) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.PodController == nil { - m.PodController = &k8s_io_kubernetes_pkg_apis_meta_v1.OwnerReference{} + m.PodController = &k8s_io_apimachinery_pkg_apis_meta_v1.OwnerReference{} } if err := m.PodController.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -31304,7 +33025,7 @@ func (m *PodStatus) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.StartTime == nil { - m.StartTime = &k8s_io_kubernetes_pkg_apis_meta_v1.Time{} + m.StartTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{} } if err := m.StartTime.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -31480,6 +33201,36 @@ func (m *PodStatusResult) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -31590,6 +33341,36 @@ func (m *PodTemplate) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -31701,6 +33482,36 @@ func (m *PodTemplateList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -31888,7 +33699,7 @@ func (m *Preconditions) Unmarshal(data []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := k8s_io_kubernetes_pkg_types.UID(data[iNdEx:postIndex]) + s := k8s_io_apimachinery_pkg_types.UID(data[iNdEx:postIndex]) m.UID = &s iNdEx = postIndex default: @@ -32936,6 +34747,36 @@ func (m *RangeAllocation) Unmarshal(data []byte) error { m.Data = []byte{} } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -33076,6 +34917,36 @@ func (m *ReplicationController) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -33383,6 +35254,36 @@ func (m *ReplicationControllerList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -34070,6 +35971,36 @@ func (m *ResourceQuota) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -34181,6 +36112,36 @@ func (m *ResourceQuotaList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -35438,6 +37399,36 @@ func (m *Secret) Unmarshal(data []byte) error { } m.StringData[mapkey] = mapvalue iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -35658,6 +37649,36 @@ func (m *SecretList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -36067,6 +38088,36 @@ func (m *SerializedReference) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -36207,6 +38258,36 @@ func (m *Service) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -36349,6 +38430,36 @@ func (m *ServiceAccount) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -36460,6 +38571,36 @@ func (m *ServiceAccountList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -36571,6 +38712,36 @@ func (m *ServiceList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -36826,6 +38997,36 @@ func (m *ServiceProxyOptions) Unmarshal(data []byte) error { } m.Path = string(data[iNdEx:postIndex]) iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -39230,633 +41431,653 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 10040 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x7d, 0x6d, 0x8c, 0x24, 0xc7, - 0x75, 0x98, 0x7a, 0x66, 0xbf, 0xe6, 0xed, 0xe7, 0xd5, 0x7d, 0x70, 0xb9, 0x26, 0x6f, 0x4f, 0x4d, - 0x91, 0x3a, 0x92, 0xc7, 0x5d, 0xdd, 0x91, 0x14, 0x29, 0x91, 0xa1, 0xb4, 0xbb, 0xb3, 0x7b, 0xb7, - 0xba, 0xaf, 0x61, 0xcd, 0xde, 0x1d, 0x25, 0x11, 0x92, 0x7a, 0xa7, 0x6b, 0x77, 0x5b, 0xd7, 0xdb, - 0x3d, 0xec, 0xee, 0xd9, 0xbb, 0xa5, 0x62, 0xc0, 0x91, 0x19, 0x1b, 0x81, 0x05, 0x47, 0x41, 0x20, - 0x24, 0x40, 0xbe, 0x94, 0x00, 0x09, 0x9c, 0x18, 0xb6, 0xa2, 0x48, 0x09, 0xa4, 0x58, 0x36, 0x10, - 0xc4, 0x76, 0x14, 0x04, 0x0e, 0xa4, 0x3f, 0xb1, 0x61, 0x03, 0x1b, 0x73, 0x9d, 0x7f, 0xc9, 0x8f, - 0x00, 0xf9, 0x95, 0x85, 0x91, 0x04, 0xf5, 0xd9, 0x55, 0x3d, 0x3d, 0xdb, 0x3d, 0xc7, 0x9b, 0x33, - 0x65, 0xe4, 0xdf, 0xcc, 0x7b, 0xaf, 0x5e, 0x7d, 0xf4, 0xab, 0x57, 0xaf, 0x5e, 0xbd, 0x7a, 0x05, - 0x17, 0xee, 0xbe, 0x1a, 0x2f, 0x78, 0xe1, 0xe2, 0xdd, 0xce, 0x26, 0x89, 0x02, 0x92, 0x90, 0x78, - 0xb1, 0x7d, 0x77, 0x7b, 0xd1, 0x69, 0x7b, 0x8b, 0x7b, 0x17, 0x17, 0xb7, 0x49, 0x40, 0x22, 0x27, - 0x21, 0xee, 0x42, 0x3b, 0x0a, 0x93, 0x10, 0x3d, 0xc1, 0xa9, 0x17, 0x52, 0xea, 0x85, 0xf6, 0xdd, - 0xed, 0x05, 0xa7, 0xed, 0x2d, 0xec, 0x5d, 0x9c, 0x7b, 0x61, 0xdb, 0x4b, 0x76, 0x3a, 0x9b, 0x0b, - 0xad, 0x70, 0x77, 0x71, 0x3b, 0xdc, 0x0e, 0x17, 0x59, 0xa1, 0xcd, 0xce, 0x16, 0xfb, 0xc7, 0xfe, - 0xb0, 0x5f, 0x9c, 0xd9, 0xdc, 0xa5, 0xde, 0x55, 0x47, 0x24, 0x0e, 0x3b, 0x51, 0x8b, 0x64, 0x1b, - 0x70, 0x4c, 0x99, 0x78, 0x71, 0x97, 0x24, 0x4e, 0x4e, 0xa3, 0xe7, 0x5e, 0xc8, 0x2f, 0x13, 0x75, - 0x82, 0xc4, 0xdb, 0xed, 0xae, 0xe2, 0xa5, 0xe3, 0xc9, 0xe3, 0xd6, 0x0e, 0xd9, 0x75, 0xba, 0x4a, - 0x5d, 0xcc, 0x2f, 0xd5, 0x49, 0x3c, 0x7f, 0xd1, 0x0b, 0x92, 0x38, 0x89, 0xb2, 0x45, 0xec, 0x3f, - 0xb4, 0xe0, 0xdc, 0xd2, 0x9d, 0xe6, 0xaa, 0xef, 0xc4, 0x89, 0xd7, 0x5a, 0xf6, 0xc3, 0xd6, 0xdd, - 0x66, 0x12, 0x46, 0xe4, 0x76, 0xe8, 0x77, 0x76, 0x49, 0x93, 0x0d, 0x00, 0xba, 0x00, 0x63, 0x7b, - 0xec, 0xff, 0x7a, 0x7d, 0xd6, 0x3a, 0x67, 0x9d, 0xaf, 0x2d, 0xcf, 0xfc, 0xf8, 0x60, 0xfe, 0x23, - 0x87, 0x07, 0xf3, 0x63, 0xb7, 0x05, 0x1c, 0x2b, 0x0a, 0xf4, 0x0c, 0x8c, 0x6c, 0xc5, 0x1b, 0xfb, - 0x6d, 0x32, 0x5b, 0x61, 0xb4, 0x53, 0x82, 0x76, 0x64, 0xad, 0x49, 0xa1, 0x58, 0x60, 0xd1, 0x22, - 0xd4, 0xda, 0x4e, 0x94, 0x78, 0x89, 0x17, 0x06, 0xb3, 0xd5, 0x73, 0xd6, 0xf9, 0xe1, 0xe5, 0x13, - 0x82, 0xb4, 0xd6, 0x90, 0x08, 0x9c, 0xd2, 0xd0, 0x66, 0x44, 0xc4, 0x71, 0x6f, 0x06, 0xfe, 0xfe, - 0xec, 0xd0, 0x39, 0xeb, 0xfc, 0x58, 0xda, 0x0c, 0x2c, 0xe0, 0x58, 0x51, 0xd8, 0x3f, 0xa8, 0xc0, - 0xd8, 0xd2, 0xd6, 0x96, 0x17, 0x78, 0xc9, 0x3e, 0xfa, 0x0a, 0x4c, 0x04, 0xa1, 0x4b, 0xe4, 0x7f, - 0xd6, 0x8b, 0xf1, 0x4b, 0xcf, 0x2d, 0x1c, 0x27, 0x4a, 0x0b, 0x37, 0xb4, 0x12, 0xcb, 0x33, 0x87, - 0x07, 0xf3, 0x13, 0x3a, 0x04, 0x1b, 0x1c, 0xd1, 0xdb, 0x30, 0xde, 0x0e, 0x5d, 0x55, 0x41, 0x85, - 0x55, 0xf0, 0xec, 0xf1, 0x15, 0x34, 0xd2, 0x02, 0xcb, 0xd3, 0x87, 0x07, 0xf3, 0xe3, 0x1a, 0x00, - 0xeb, 0xec, 0x90, 0x0f, 0xd3, 0xf4, 0x6f, 0x90, 0x78, 0xaa, 0x86, 0x2a, 0xab, 0xe1, 0x85, 0xe2, - 0x1a, 0xb4, 0x42, 0xcb, 0x27, 0x0f, 0x0f, 0xe6, 0xa7, 0x33, 0x40, 0x9c, 0x65, 0x6d, 0xbf, 0x0b, - 0x53, 0x4b, 0x49, 0xe2, 0xb4, 0x76, 0x88, 0xcb, 0xbf, 0x2f, 0x7a, 0x09, 0x86, 0x02, 0x67, 0x97, - 0x88, 0xaf, 0x7f, 0x4e, 0x0c, 0xfb, 0xd0, 0x0d, 0x67, 0x97, 0x1c, 0x1d, 0xcc, 0xcf, 0xdc, 0x0a, - 0xbc, 0x77, 0x3a, 0x42, 0x66, 0x28, 0x0c, 0x33, 0x6a, 0x74, 0x09, 0xc0, 0x25, 0x7b, 0x5e, 0x8b, - 0x34, 0x9c, 0x64, 0x47, 0x48, 0x03, 0x12, 0x65, 0xa1, 0xae, 0x30, 0x58, 0xa3, 0xb2, 0xbf, 0x6e, - 0x41, 0x6d, 0x69, 0x2f, 0xf4, 0xdc, 0x46, 0xe8, 0xc6, 0xa8, 0x03, 0xd3, 0xed, 0x88, 0x6c, 0x91, - 0x48, 0x81, 0x66, 0xad, 0x73, 0xd5, 0xf3, 0xe3, 0x97, 0x2e, 0x15, 0xf4, 0xdb, 0x2c, 0xb4, 0x1a, - 0x24, 0xd1, 0xfe, 0xf2, 0x63, 0xa2, 0xea, 0xe9, 0x0c, 0x16, 0x67, 0xeb, 0xb0, 0xff, 0x56, 0x05, - 0x4e, 0x2f, 0xbd, 0xdb, 0x89, 0x48, 0xdd, 0x8b, 0xef, 0x66, 0xa7, 0x82, 0xeb, 0xc5, 0x77, 0x6f, - 0xa4, 0x83, 0xa1, 0x64, 0xb0, 0x2e, 0xe0, 0x58, 0x51, 0xa0, 0x17, 0x60, 0x94, 0xfe, 0xbe, 0x85, - 0xd7, 0x45, 0xef, 0x4f, 0x0a, 0xe2, 0xf1, 0xba, 0x93, 0x38, 0x75, 0x8e, 0xc2, 0x92, 0x06, 0x5d, - 0x87, 0xf1, 0x96, 0xd3, 0xda, 0xf1, 0x82, 0xed, 0xeb, 0xa1, 0x4b, 0xd8, 0x17, 0xae, 0x2d, 0x3f, - 0x4f, 0xc9, 0x57, 0x52, 0xf0, 0xd1, 0xc1, 0xfc, 0x2c, 0x6f, 0x9b, 0x60, 0xa1, 0xe1, 0xb0, 0x5e, - 0x1e, 0xd9, 0x6a, 0x22, 0x0e, 0x31, 0x4e, 0x90, 0x33, 0x09, 0xcf, 0x6b, 0x73, 0x6a, 0x98, 0xcd, - 0xa9, 0x89, 0x1e, 0xf3, 0xe9, 0x5f, 0x58, 0x62, 0x4c, 0xd6, 0x3c, 0xdf, 0x54, 0x0f, 0x97, 0x00, - 0x62, 0xd2, 0x8a, 0x48, 0xa2, 0x8d, 0x8a, 0xfa, 0xcc, 0x4d, 0x85, 0xc1, 0x1a, 0x15, 0x9d, 0xfc, - 0xf1, 0x8e, 0x13, 0x31, 0x69, 0x11, 0x63, 0xa3, 0x26, 0x7f, 0x53, 0x22, 0x70, 0x4a, 0x63, 0x4c, - 0xfe, 0x6a, 0xe1, 0xe4, 0xff, 0xb7, 0x16, 0x8c, 0x2e, 0x7b, 0x81, 0xeb, 0x05, 0xdb, 0xe8, 0x2d, - 0x18, 0xa3, 0x5a, 0xd9, 0x75, 0x12, 0x47, 0xcc, 0xfb, 0xf3, 0xc7, 0x0b, 0xcf, 0xcd, 0xcd, 0xaf, - 0x92, 0x56, 0x72, 0x9d, 0x24, 0x4e, 0xda, 0x8d, 0x14, 0x86, 0x15, 0x37, 0x74, 0x0b, 0x46, 0x12, - 0x27, 0xda, 0x26, 0x89, 0x98, 0xee, 0x2f, 0x94, 0xe1, 0x8b, 0xa9, 0xa8, 0x91, 0xa0, 0x45, 0x52, - 0xc5, 0xb8, 0xc1, 0x98, 0x60, 0xc1, 0xcc, 0x6e, 0xc1, 0xc4, 0x8a, 0xd3, 0x76, 0x36, 0x3d, 0xdf, - 0x4b, 0x3c, 0x12, 0xa3, 0x8f, 0x43, 0xd5, 0x71, 0x5d, 0x26, 0xf8, 0xb5, 0xe5, 0xd3, 0x87, 0x07, - 0xf3, 0xd5, 0x25, 0xd7, 0x3d, 0x3a, 0x98, 0x07, 0x45, 0xb5, 0x8f, 0x29, 0x05, 0x7a, 0x0e, 0x86, - 0xdc, 0x28, 0x6c, 0xcf, 0x56, 0x18, 0xe5, 0x19, 0x3a, 0x43, 0xeb, 0x51, 0xd8, 0xce, 0x90, 0x32, - 0x1a, 0xfb, 0xf7, 0x2a, 0x80, 0x56, 0x48, 0x7b, 0x67, 0xad, 0x69, 0x7c, 0xcb, 0xf3, 0x30, 0xb6, - 0x1b, 0x06, 0x5e, 0x12, 0x46, 0xb1, 0xa8, 0x90, 0xc9, 0xc3, 0x75, 0x01, 0xc3, 0x0a, 0x8b, 0xce, - 0xc1, 0x50, 0x3b, 0x9d, 0xd6, 0x13, 0x52, 0x25, 0xb0, 0x09, 0xcd, 0x30, 0x94, 0xa2, 0x13, 0x93, - 0x48, 0xc8, 0xb1, 0xa2, 0xb8, 0x15, 0x93, 0x08, 0x33, 0x4c, 0x2a, 0x39, 0x54, 0xa6, 0x84, 0x94, - 0x66, 0x24, 0x87, 0x62, 0xb0, 0x46, 0x85, 0xbe, 0x0c, 0x35, 0xfe, 0x0f, 0x93, 0x2d, 0x26, 0xb2, - 0x85, 0xca, 0xe0, 0x5a, 0xd8, 0x72, 0xfc, 0xec, 0xe0, 0x4f, 0x32, 0x49, 0x93, 0x8c, 0x70, 0xca, - 0xd3, 0x90, 0xb4, 0x91, 0x42, 0x49, 0xfb, 0xbb, 0x16, 0xa0, 0x15, 0x2f, 0x70, 0x49, 0xf4, 0x08, - 0x96, 0xcc, 0xfe, 0x26, 0xc1, 0x9f, 0xd0, 0xa6, 0x85, 0xbb, 0xed, 0x30, 0x20, 0x41, 0xb2, 0x12, - 0x06, 0x2e, 0x5f, 0x46, 0x3f, 0x0d, 0x43, 0x09, 0xad, 0x8a, 0x37, 0xeb, 0x19, 0xf9, 0x59, 0x68, - 0x05, 0x47, 0x07, 0xf3, 0x67, 0xba, 0x4b, 0xb0, 0x26, 0xb0, 0x32, 0xe8, 0x53, 0x30, 0x12, 0x27, - 0x4e, 0xd2, 0x89, 0x45, 0x43, 0x3f, 0x2a, 0x1b, 0xda, 0x64, 0xd0, 0xa3, 0x83, 0xf9, 0x69, 0x55, - 0x8c, 0x83, 0xb0, 0x28, 0x80, 0x9e, 0x85, 0xd1, 0x5d, 0x12, 0xc7, 0xce, 0xb6, 0x54, 0x6c, 0xd3, - 0xa2, 0xec, 0xe8, 0x75, 0x0e, 0xc6, 0x12, 0x8f, 0x9e, 0x82, 0x61, 0x12, 0x45, 0x61, 0x24, 0x24, - 0x62, 0x52, 0x10, 0x0e, 0xaf, 0x52, 0x20, 0xe6, 0x38, 0xfb, 0xa7, 0x16, 0x4c, 0xab, 0xb6, 0xf2, - 0xba, 0x06, 0x38, 0xd5, 0x5d, 0x80, 0x96, 0xec, 0x58, 0xcc, 0x26, 0xd8, 0xf8, 0xa5, 0x4f, 0x1c, - 0xcf, 0xbb, 0x7b, 0x20, 0xd3, 0x3a, 0x14, 0x28, 0xc6, 0x1a, 0x5f, 0xfb, 0xf7, 0x2c, 0x38, 0x99, - 0xe9, 0xd3, 0x35, 0x2f, 0x4e, 0xd0, 0x17, 0xba, 0xfa, 0x75, 0xa1, 0x77, 0xdd, 0xf1, 0x02, 0xa5, - 0x65, 0x82, 0xef, 0xc5, 0xbc, 0x6f, 0x4a, 0x4a, 0x24, 0x44, 0xeb, 0x19, 0x86, 0x61, 0x2f, 0x21, - 0xbb, 0xb2, 0x53, 0x2f, 0x94, 0xec, 0x14, 0x6f, 0x5d, 0xfa, 0x6d, 0xd6, 0x29, 0x0f, 0xcc, 0x59, - 0xd9, 0xff, 0xcb, 0x82, 0xda, 0x4a, 0x18, 0x6c, 0x79, 0xdb, 0xd7, 0x9d, 0xf6, 0x00, 0xbf, 0x4a, - 0x13, 0x86, 0x18, 0x57, 0xde, 0xf4, 0x8b, 0x45, 0x4d, 0x17, 0x0d, 0x5a, 0xa0, 0x2b, 0x27, 0x37, - 0x09, 0x94, 0x52, 0xa2, 0x20, 0xcc, 0x98, 0xcd, 0xbd, 0x02, 0x35, 0x45, 0x80, 0x66, 0xa0, 0x7a, - 0x97, 0x70, 0x7b, 0xb1, 0x86, 0xe9, 0x4f, 0x74, 0x0a, 0x86, 0xf7, 0x1c, 0xbf, 0x23, 0xa6, 0x2a, - 0xe6, 0x7f, 0x3e, 0x5d, 0x79, 0xd5, 0xb2, 0x7f, 0x64, 0xc1, 0x29, 0x55, 0xc9, 0x55, 0xb2, 0xdf, - 0x24, 0x3e, 0x69, 0x25, 0x61, 0x84, 0xde, 0xb3, 0xe0, 0x94, 0x9f, 0xa3, 0x84, 0xc4, 0x68, 0x3c, - 0x88, 0xfa, 0x7a, 0x42, 0x34, 0xfc, 0x54, 0x1e, 0x16, 0xe7, 0xd6, 0x86, 0x9e, 0xe4, 0x7d, 0xe1, - 0x33, 0x77, 0x5c, 0x30, 0xa8, 0x5e, 0x25, 0xfb, 0xac, 0x63, 0xf6, 0x0f, 0x2d, 0x98, 0x54, 0xcd, - 0x1f, 0xb8, 0xd8, 0x5d, 0x33, 0xc5, 0xee, 0xe3, 0x25, 0xbf, 0x5d, 0x0f, 0x81, 0xfb, 0x47, 0x15, - 0x38, 0xad, 0x68, 0x0c, 0x45, 0xfc, 0x21, 0x19, 0xfb, 0xfe, 0xba, 0x7b, 0x95, 0xec, 0x6f, 0x84, - 0x74, 0x25, 0xcd, 0xef, 0x2e, 0xba, 0x08, 0xe3, 0x2e, 0xd9, 0x72, 0x3a, 0x7e, 0xa2, 0x0c, 0xc5, - 0x61, 0xbe, 0x83, 0xa8, 0xa7, 0x60, 0xac, 0xd3, 0xd8, 0x7f, 0x50, 0x63, 0x53, 0x32, 0x71, 0xbc, - 0x80, 0x44, 0x74, 0x69, 0xd6, 0xec, 0xf9, 0x09, 0xdd, 0x9e, 0x17, 0xb6, 0xfb, 0x53, 0x30, 0xec, - 0xed, 0x52, 0x65, 0x5d, 0x31, 0x75, 0xf0, 0x3a, 0x05, 0x62, 0x8e, 0x43, 0x4f, 0xc3, 0x68, 0x2b, - 0xdc, 0xdd, 0x75, 0x02, 0x77, 0xb6, 0xca, 0x8c, 0x85, 0x71, 0xaa, 0xcf, 0x57, 0x38, 0x08, 0x4b, - 0x1c, 0x7a, 0x02, 0x86, 0x9c, 0x68, 0x3b, 0x9e, 0x1d, 0x62, 0x34, 0x63, 0xb4, 0xa6, 0xa5, 0x68, - 0x3b, 0xc6, 0x0c, 0x4a, 0x8d, 0x80, 0x7b, 0x61, 0x74, 0xd7, 0x0b, 0xb6, 0xeb, 0x5e, 0xc4, 0x56, - 0x74, 0xcd, 0x08, 0xb8, 0xa3, 0x30, 0x58, 0xa3, 0x42, 0x0d, 0x18, 0x6e, 0x87, 0x51, 0x12, 0xcf, - 0x8e, 0xb0, 0xe1, 0x7c, 0xbe, 0x50, 0x7a, 0x78, 0xbf, 0x1b, 0x61, 0x94, 0xa4, 0x5d, 0xa1, 0xff, - 0x62, 0xcc, 0x19, 0xa1, 0x15, 0xa8, 0x92, 0x60, 0x6f, 0x76, 0x94, 0xf1, 0xfb, 0xd8, 0xf1, 0xfc, - 0x56, 0x83, 0xbd, 0xdb, 0x4e, 0x94, 0x4e, 0xa1, 0xd5, 0x60, 0x0f, 0xd3, 0xd2, 0xa8, 0x05, 0x35, - 0xe9, 0x35, 0x88, 0x67, 0xc7, 0xca, 0x08, 0x18, 0x16, 0xe4, 0x98, 0xbc, 0xd3, 0xf1, 0x22, 0xb2, - 0x4b, 0x82, 0x24, 0x4e, 0x2d, 0x61, 0x89, 0x8d, 0x71, 0xca, 0x17, 0xb5, 0x60, 0x82, 0x1b, 0x0e, - 0xd7, 0xc3, 0x4e, 0x90, 0xc4, 0xb3, 0x35, 0xd6, 0xe4, 0x82, 0xad, 0xe6, 0xed, 0xb4, 0xc4, 0xf2, - 0x29, 0xc1, 0x7e, 0x42, 0x03, 0xc6, 0xd8, 0x60, 0x8a, 0xde, 0x86, 0x49, 0xdf, 0xdb, 0x23, 0x01, - 0x89, 0xe3, 0x46, 0x14, 0x6e, 0x92, 0x59, 0x60, 0xbd, 0x79, 0xaa, 0x68, 0xdb, 0x15, 0x6e, 0x92, - 0xe5, 0x13, 0x87, 0x07, 0xf3, 0x93, 0xd7, 0xf4, 0xd2, 0xd8, 0x64, 0x86, 0xbe, 0x0c, 0x53, 0xd4, - 0x4a, 0xf1, 0x52, 0xf6, 0xe3, 0xe5, 0xd9, 0xa3, 0xc3, 0x83, 0xf9, 0x29, 0x6c, 0x14, 0xc7, 0x19, - 0x76, 0x68, 0x03, 0x6a, 0xbe, 0xb7, 0x45, 0x5a, 0xfb, 0x2d, 0x9f, 0xcc, 0x4e, 0x30, 0xde, 0x05, - 0x53, 0xee, 0x9a, 0x24, 0xe7, 0x96, 0xa1, 0xfa, 0x8b, 0x53, 0x46, 0xe8, 0x36, 0x9c, 0x49, 0x48, - 0xb4, 0xeb, 0x05, 0x0e, 0x5d, 0xae, 0x85, 0xd9, 0xc2, 0xf6, 0xb6, 0x93, 0x4c, 0x6a, 0xcf, 0x8a, - 0x81, 0x3d, 0xb3, 0x91, 0x4b, 0x85, 0x7b, 0x94, 0x46, 0x37, 0x61, 0x9a, 0xcd, 0xa7, 0x46, 0xc7, - 0xf7, 0x1b, 0xa1, 0xef, 0xb5, 0xf6, 0x67, 0xa7, 0x18, 0xc3, 0xa7, 0xe5, 0x8e, 0x75, 0xdd, 0x44, - 0x53, 0x8b, 0x3e, 0xfd, 0x87, 0xb3, 0xa5, 0x91, 0x0f, 0xd3, 0x31, 0x69, 0x75, 0x22, 0x2f, 0xd9, - 0xa7, 0xb2, 0x4f, 0xee, 0x27, 0xb3, 0xd3, 0x65, 0x76, 0x28, 0x4d, 0xb3, 0x10, 0x77, 0x17, 0x64, - 0x80, 0x38, 0xcb, 0x9a, 0xaa, 0x8a, 0x38, 0x71, 0xbd, 0x60, 0x76, 0x86, 0x99, 0xa4, 0x6a, 0x7e, - 0x35, 0x29, 0x10, 0x73, 0x1c, 0xdb, 0xf0, 0xd1, 0x1f, 0x37, 0xa9, 0xee, 0x3d, 0xc1, 0x08, 0xd3, - 0x0d, 0x9f, 0x44, 0xe0, 0x94, 0x86, 0xae, 0x56, 0x49, 0xb2, 0x3f, 0x8b, 0x18, 0xa9, 0x9a, 0x6a, - 0x1b, 0x1b, 0x9f, 0xc7, 0x14, 0x6e, 0x6f, 0xc2, 0x94, 0x9a, 0xd6, 0x6c, 0x74, 0xd0, 0x3c, 0x0c, - 0x53, 0xcd, 0x25, 0xf7, 0x2d, 0x35, 0xda, 0x04, 0xaa, 0xd0, 0x62, 0xcc, 0xe1, 0xac, 0x09, 0xde, - 0xbb, 0x64, 0x79, 0x3f, 0x21, 0xdc, 0x7e, 0xad, 0x6a, 0x4d, 0x90, 0x08, 0x9c, 0xd2, 0xd8, 0xff, - 0x87, 0xaf, 0x88, 0xa9, 0xee, 0x28, 0xa1, 0x37, 0x2f, 0xc0, 0xd8, 0x4e, 0x18, 0x27, 0x94, 0x9a, - 0xd5, 0x31, 0x9c, 0xae, 0x82, 0x57, 0x04, 0x1c, 0x2b, 0x0a, 0xf4, 0x1a, 0x4c, 0xb6, 0xf4, 0x0a, - 0x84, 0x2a, 0x3f, 0x2d, 0x8a, 0x98, 0xb5, 0x63, 0x93, 0x16, 0xbd, 0x0a, 0x63, 0xcc, 0x89, 0xd7, - 0x0a, 0x7d, 0x61, 0x29, 0xcb, 0x95, 0x69, 0xac, 0x21, 0xe0, 0x47, 0xda, 0x6f, 0xac, 0xa8, 0xe9, - 0x7e, 0x83, 0x36, 0x61, 0xbd, 0x21, 0xd4, 0xad, 0xda, 0x6f, 0x5c, 0x61, 0x50, 0x2c, 0xb0, 0xf6, - 0xbf, 0xac, 0x68, 0xa3, 0x4c, 0x2d, 0x3e, 0x82, 0xbe, 0x00, 0xa3, 0xf7, 0x1c, 0x2f, 0xf1, 0x82, - 0x6d, 0xb1, 0x82, 0xbe, 0x58, 0x52, 0xf7, 0xb2, 0xe2, 0x77, 0x78, 0x51, 0xbe, 0x4e, 0x88, 0x3f, - 0x58, 0x32, 0xa4, 0xbc, 0xa3, 0x4e, 0x10, 0x50, 0xde, 0x95, 0xfe, 0x79, 0x63, 0x5e, 0x94, 0xf3, - 0x16, 0x7f, 0xb0, 0x64, 0x88, 0xb6, 0x00, 0xe4, 0xec, 0x23, 0xae, 0x70, 0x9e, 0x7d, 0xb2, 0x1f, - 0xf6, 0x1b, 0xaa, 0xf4, 0xf2, 0x14, 0x5d, 0x99, 0xd2, 0xff, 0x58, 0xe3, 0x6c, 0x47, 0xcc, 0x10, - 0xe9, 0x6e, 0x16, 0xfa, 0x3c, 0x9d, 0x00, 0x4e, 0x94, 0x10, 0x77, 0x29, 0x29, 0x36, 0x83, 0x53, - 0x6b, 0x6a, 0xc3, 0xdb, 0x25, 0xfa, 0x54, 0x11, 0x2c, 0x70, 0xca, 0xcd, 0xfe, 0x5e, 0x15, 0x66, - 0x7b, 0x35, 0x96, 0x0a, 0x24, 0xb9, 0xef, 0x25, 0x2b, 0xd4, 0x50, 0xb0, 0x4c, 0x81, 0x5c, 0x15, - 0x70, 0xac, 0x28, 0xa8, 0x64, 0xc4, 0xde, 0x76, 0xe0, 0xf8, 0x42, 0x78, 0x95, 0x64, 0x34, 0x19, - 0x14, 0x0b, 0x2c, 0xa5, 0x8b, 0x88, 0x13, 0x0b, 0xcf, 0xad, 0x26, 0x41, 0x98, 0x41, 0xb1, 0xc0, - 0xea, 0xbb, 0xbe, 0xa1, 0x82, 0x5d, 0x9f, 0x31, 0x40, 0xc3, 0x0f, 0x73, 0x80, 0xd0, 0xdb, 0x00, - 0x5b, 0x5e, 0xe0, 0xc5, 0x3b, 0x8c, 0xf7, 0x48, 0x9f, 0xbc, 0x95, 0x31, 0xb2, 0xa6, 0x78, 0x60, - 0x8d, 0x1f, 0x7a, 0x19, 0xc6, 0xd5, 0xc4, 0x5c, 0xaf, 0xcf, 0x8e, 0x9a, 0x9e, 0xbe, 0x54, 0x4b, - 0xd5, 0xb1, 0x4e, 0x67, 0x7f, 0x35, 0x2b, 0x29, 0x62, 0x3e, 0x68, 0x63, 0x6b, 0x95, 0x1d, 0xdb, - 0xca, 0xf1, 0x63, 0x6b, 0xff, 0x97, 0x2a, 0xdd, 0x2c, 0x6b, 0x95, 0x75, 0xe2, 0x12, 0xba, 0xec, - 0x4d, 0xaa, 0xd8, 0x9d, 0x84, 0x88, 0xd9, 0x78, 0xa1, 0x9f, 0xe9, 0xa2, 0x2f, 0x03, 0x74, 0x16, - 0x70, 0x4e, 0x68, 0x07, 0x6a, 0xbe, 0x13, 0xb3, 0xdd, 0x23, 0x11, 0xb3, 0xb0, 0x3f, 0xb6, 0xa9, - 0xf1, 0xed, 0xc4, 0x89, 0xb6, 0xce, 0xf2, 0x5a, 0x52, 0xe6, 0x74, 0x55, 0xa2, 0x46, 0x81, 0x3c, - 0x2a, 0x50, 0xcd, 0xa1, 0x96, 0xc3, 0x3e, 0xe6, 0x38, 0xf4, 0x2a, 0x4c, 0x44, 0x84, 0xc9, 0xc9, - 0x0a, 0xb5, 0x7b, 0x98, 0xd8, 0x0d, 0xa7, 0x06, 0x12, 0xd6, 0x70, 0xd8, 0xa0, 0x4c, 0xed, 0xe3, - 0x91, 0x63, 0xec, 0xe3, 0x67, 0x61, 0x94, 0xfd, 0x50, 0x52, 0xa1, 0xbe, 0xd0, 0x3a, 0x07, 0x63, - 0x89, 0xcf, 0x0a, 0xd1, 0x58, 0x49, 0x21, 0x7a, 0x0e, 0xa6, 0xea, 0x0e, 0xd9, 0x0d, 0x83, 0xd5, - 0xc0, 0x6d, 0x87, 0x5e, 0x90, 0xa0, 0x59, 0x18, 0x62, 0x2b, 0x09, 0x9f, 0xeb, 0x43, 0x94, 0x03, - 0x1e, 0xa2, 0x36, 0xae, 0xfd, 0x7f, 0x2d, 0x98, 0xac, 0x13, 0x9f, 0x24, 0xe4, 0x66, 0x9b, 0xf9, - 0x1b, 0xd0, 0x1a, 0xa0, 0xed, 0xc8, 0x69, 0x91, 0x06, 0x89, 0xbc, 0xd0, 0x6d, 0x92, 0x56, 0x18, - 0x30, 0x0f, 0x3b, 0x5d, 0x1a, 0xcf, 0x1c, 0x1e, 0xcc, 0xa3, 0xcb, 0x5d, 0x58, 0x9c, 0x53, 0x02, - 0xb9, 0x30, 0xd9, 0x8e, 0x88, 0xe1, 0x20, 0xb1, 0x8a, 0xcd, 0xf2, 0x86, 0x5e, 0x84, 0x5b, 0x8d, - 0x06, 0x08, 0x9b, 0x4c, 0xd1, 0x67, 0x61, 0x26, 0x8c, 0xda, 0x3b, 0x4e, 0x50, 0x27, 0x6d, 0x12, - 0xb8, 0xd4, 0x54, 0x16, 0x5e, 0xb0, 0x53, 0x87, 0x07, 0xf3, 0x33, 0x37, 0x33, 0x38, 0xdc, 0x45, - 0x6d, 0xff, 0x7a, 0x05, 0x4e, 0xd7, 0xc3, 0x7b, 0xc1, 0x3d, 0x27, 0x72, 0x97, 0x1a, 0xeb, 0xdc, - 0xfe, 0x65, 0x5e, 0x45, 0xe9, 0xcd, 0xb4, 0x7a, 0x7a, 0x33, 0xbf, 0x08, 0x63, 0x5b, 0x1e, 0xf1, - 0x5d, 0x4c, 0xb6, 0x44, 0xf7, 0x2e, 0x96, 0xf1, 0x62, 0xac, 0xd1, 0x32, 0xd2, 0x13, 0xc0, 0x9d, - 0xa9, 0x6b, 0x82, 0x0d, 0x56, 0x0c, 0x51, 0x07, 0x66, 0xa4, 0x81, 0x2f, 0xb1, 0x62, 0x76, 0xbc, - 0x58, 0x6e, 0xff, 0x60, 0x56, 0xc3, 0xc6, 0x03, 0x67, 0x18, 0xe2, 0xae, 0x2a, 0xe8, 0xc6, 0x6c, - 0x97, 0xae, 0x0b, 0x43, 0x4c, 0x56, 0xd8, 0xc6, 0x8c, 0xed, 0x1c, 0x19, 0xd4, 0xfe, 0x67, 0x16, - 0x3c, 0xd6, 0x35, 0x5a, 0x62, 0x5b, 0xfd, 0x96, 0xdc, 0xcf, 0xf2, 0xe3, 0x98, 0x82, 0x56, 0xe6, - 0x8e, 0x79, 0xb9, 0xbd, 0x6d, 0xa5, 0xc4, 0xde, 0xf6, 0x26, 0x9c, 0x5a, 0xdd, 0x6d, 0x27, 0xfb, - 0x75, 0xcf, 0x74, 0xc2, 0xbe, 0x02, 0x23, 0xbb, 0xc4, 0xf5, 0x3a, 0xbb, 0xe2, 0xb3, 0xce, 0x4b, - 0x45, 0x7a, 0x9d, 0x41, 0x8f, 0x0e, 0xe6, 0x27, 0x9b, 0x49, 0x18, 0x39, 0xdb, 0x84, 0x03, 0xb0, - 0x20, 0xb7, 0xdf, 0xb7, 0x60, 0x5a, 0x4e, 0xa8, 0x25, 0xd7, 0x8d, 0x48, 0x1c, 0xa3, 0x39, 0xa8, - 0x78, 0x6d, 0xc1, 0x08, 0x04, 0xa3, 0xca, 0x7a, 0x03, 0x57, 0xbc, 0x36, 0xfa, 0x02, 0xd4, 0xb8, - 0xef, 0x3e, 0x15, 0x8e, 0x3e, 0xcf, 0x02, 0xd8, 0xa6, 0x63, 0x43, 0xf2, 0xc0, 0x29, 0x3b, 0x69, - 0x50, 0x32, 0x55, 0x5d, 0x35, 0x3d, 0xc9, 0x57, 0x04, 0x1c, 0x2b, 0x0a, 0x74, 0x1e, 0xc6, 0x82, - 0xd0, 0xe5, 0xc7, 0x2a, 0x7c, 0xc1, 0x65, 0x22, 0x77, 0x43, 0xc0, 0xb0, 0xc2, 0xda, 0xdf, 0xb0, - 0x60, 0x42, 0xf6, 0xb1, 0xa4, 0x6d, 0x4b, 0x27, 0x49, 0x6a, 0xd7, 0xa6, 0x93, 0x84, 0xda, 0xa6, - 0x0c, 0x63, 0x98, 0xa4, 0xd5, 0x7e, 0x4c, 0x52, 0xfb, 0x87, 0x15, 0x98, 0x92, 0xcd, 0x69, 0x76, - 0x36, 0x63, 0x92, 0xa0, 0x2f, 0x41, 0xcd, 0xe1, 0x83, 0x4f, 0xa4, 0x9c, 0xbd, 0x50, 0xb4, 0x31, - 0x37, 0xbe, 0x59, 0x6a, 0x15, 0x2c, 0x49, 0x3e, 0x38, 0x65, 0x89, 0xf6, 0xe0, 0x44, 0x10, 0x26, - 0x6c, 0x3d, 0x50, 0xf8, 0x72, 0x5e, 0xd0, 0x6c, 0x3d, 0x8f, 0x8b, 0x7a, 0x4e, 0xdc, 0xc8, 0xf2, - 0xc3, 0xdd, 0x55, 0xa0, 0x9b, 0xd2, 0x79, 0x51, 0x65, 0x75, 0x3d, 0x57, 0xae, 0xae, 0xde, 0xbe, - 0x0b, 0xfb, 0x77, 0x2c, 0xa8, 0x49, 0xb2, 0x41, 0x3a, 0xc1, 0xef, 0xc0, 0x68, 0xcc, 0x3e, 0x8d, - 0x1c, 0xa6, 0x0b, 0xe5, 0x9a, 0xce, 0xbf, 0x67, 0xba, 0xf8, 0xf1, 0xff, 0x31, 0x96, 0xdc, 0x98, - 0xeb, 0x51, 0x75, 0xe0, 0x43, 0xe6, 0x7a, 0x54, 0xed, 0xea, 0xe1, 0x7a, 0xfc, 0x35, 0x0b, 0x46, - 0xb8, 0x43, 0xa8, 0x9c, 0x57, 0x4d, 0x73, 0x1e, 0xa7, 0x1c, 0x6f, 0x53, 0xa0, 0xf0, 0x25, 0xa3, - 0x3b, 0x50, 0x63, 0x3f, 0xd6, 0xa2, 0x70, 0x57, 0xac, 0x02, 0xcf, 0x95, 0x71, 0x48, 0x71, 0xad, - 0xc7, 0x55, 0xc9, 0x6d, 0xc9, 0x00, 0xa7, 0xbc, 0xec, 0x1f, 0x55, 0xe9, 0x94, 0x4f, 0x49, 0x8d, - 0x35, 0xcd, 0x7a, 0x14, 0x6b, 0x5a, 0x65, 0xf0, 0x6b, 0xda, 0x3b, 0x30, 0xdd, 0xd2, 0x9c, 0xf0, - 0xe9, 0x4a, 0x7a, 0xa9, 0xa4, 0x8b, 0x59, 0xf3, 0xdc, 0x73, 0x07, 0xc8, 0x8a, 0xc9, 0x0e, 0x67, - 0xf9, 0x23, 0x02, 0x13, 0xfc, 0xf8, 0x50, 0xd4, 0x37, 0xc4, 0xea, 0x5b, 0x2c, 0xf4, 0xb5, 0xf0, - 0x12, 0xaa, 0x32, 0x16, 0x62, 0xd2, 0xd4, 0x18, 0x61, 0x83, 0xad, 0xfd, 0xab, 0xc3, 0x30, 0xbc, - 0xba, 0x47, 0x82, 0x64, 0x80, 0x53, 0x7c, 0x17, 0xa6, 0xbc, 0x60, 0x2f, 0xf4, 0xf7, 0x88, 0xcb, - 0xf1, 0x0f, 0xb6, 0x9c, 0x9d, 0x11, 0x95, 0x4c, 0xad, 0x1b, 0xcc, 0x70, 0x86, 0xf9, 0x20, 0xb6, - 0x91, 0x6f, 0xc2, 0x08, 0x97, 0x08, 0xb1, 0x87, 0x2c, 0x70, 0x8c, 0xb2, 0x01, 0x15, 0x33, 0x27, - 0xdd, 0xec, 0x72, 0x9f, 0xac, 0x60, 0x84, 0x76, 0x60, 0x6a, 0xcb, 0x8b, 0xe2, 0x84, 0xee, 0x06, - 0xe3, 0xc4, 0xd9, 0x6d, 0xf7, 0xbd, 0x85, 0x54, 0xe3, 0xb1, 0x66, 0xf0, 0xc1, 0x19, 0xbe, 0x88, - 0xc0, 0x24, 0xdd, 0xc1, 0xa4, 0x15, 0x8d, 0xf6, 0x59, 0x91, 0xf2, 0x1c, 0x5d, 0xd3, 0xd9, 0x60, - 0x93, 0x2b, 0x55, 0x43, 0x2d, 0xb6, 0xdf, 0x19, 0x63, 0x2b, 0xb9, 0x52, 0x43, 0x7c, 0xa3, 0xc3, - 0x71, 0x54, 0x9b, 0xb1, 0x73, 0xe2, 0x9a, 0xa9, 0xcd, 0xd2, 0xd3, 0x60, 0xfb, 0xbb, 0x74, 0xdd, - 0xa1, 0xe3, 0x37, 0x70, 0x95, 0x7d, 0xc5, 0x54, 0xd9, 0x4f, 0x95, 0xf8, 0xa6, 0x3d, 0xd4, 0xf5, - 0x57, 0x60, 0x5c, 0xfb, 0xe4, 0x68, 0x11, 0x6a, 0x2d, 0x79, 0xa4, 0x29, 0xf4, 0xb6, 0x32, 0x1a, - 0xd4, 0x59, 0x27, 0x4e, 0x69, 0xe8, 0xa8, 0x50, 0x63, 0x2b, 0x1b, 0xf6, 0x40, 0x4d, 0x31, 0xcc, - 0x30, 0xf6, 0x8b, 0x00, 0xab, 0xf7, 0x49, 0x6b, 0xa9, 0xc5, 0x4e, 0xdb, 0xb5, 0x23, 0x12, 0xab, - 0xf7, 0x11, 0x09, 0x1d, 0xca, 0xa9, 0xb5, 0x15, 0xc3, 0x7a, 0x5d, 0x00, 0xe0, 0x56, 0xe0, 0x9d, - 0x3b, 0x37, 0xa4, 0x53, 0x93, 0x7b, 0x9e, 0x14, 0x14, 0x6b, 0x14, 0xe8, 0x71, 0xa8, 0xfa, 0x9d, - 0x40, 0x18, 0x67, 0xa3, 0x87, 0x07, 0xf3, 0xd5, 0x6b, 0x9d, 0x00, 0x53, 0x98, 0x16, 0x5f, 0x50, - 0x2d, 0x1d, 0x5f, 0x50, 0x1c, 0x61, 0xf7, 0xad, 0x2a, 0xcc, 0xac, 0xf9, 0xe4, 0xbe, 0xd1, 0xea, - 0x67, 0x60, 0xc4, 0x8d, 0xbc, 0x3d, 0x12, 0x65, 0x9d, 0x17, 0x75, 0x06, 0xc5, 0x02, 0x5b, 0x3a, - 0xe4, 0xc1, 0x08, 0xf7, 0xa8, 0x0e, 0x38, 0xdc, 0xa3, 0xb0, 0xcf, 0x68, 0x0b, 0x46, 0x43, 0xbe, - 0x79, 0x9e, 0x1d, 0x66, 0xa2, 0xf8, 0xda, 0xf1, 0x8d, 0xc9, 0x8e, 0xcf, 0x82, 0xd8, 0x7a, 0xf3, - 0xe3, 0x67, 0xa5, 0xc5, 0x04, 0x14, 0x4b, 0xe6, 0x73, 0x9f, 0x86, 0x09, 0x9d, 0xb2, 0xaf, 0x73, - 0xe8, 0x5f, 0xb4, 0xe0, 0xe4, 0x9a, 0x1f, 0xb6, 0xee, 0x66, 0x62, 0x52, 0x5e, 0x86, 0x71, 0x3a, - 0x99, 0x62, 0x23, 0x50, 0xcb, 0x88, 0x48, 0x13, 0x28, 0xac, 0xd3, 0x69, 0xc5, 0x6e, 0xdd, 0x5a, - 0xaf, 0xe7, 0x05, 0xb2, 0x09, 0x14, 0xd6, 0xe9, 0xec, 0xff, 0x6c, 0xc1, 0x93, 0x97, 0x57, 0x56, - 0x1b, 0x24, 0x8a, 0xbd, 0x38, 0x21, 0x41, 0xd2, 0x15, 0x4b, 0xf7, 0x0c, 0x8c, 0xb4, 0x5d, 0xad, - 0x29, 0x4a, 0x04, 0x1a, 0x75, 0xd6, 0x0a, 0x81, 0xfd, 0xb0, 0x04, 0x94, 0xfe, 0x9a, 0x05, 0x27, - 0x2f, 0x7b, 0x09, 0x26, 0xed, 0x30, 0x1b, 0xfe, 0x16, 0x91, 0x76, 0x18, 0x7b, 0x49, 0x18, 0xed, - 0x67, 0xc3, 0xdf, 0xb0, 0xc2, 0x60, 0x8d, 0x8a, 0xd7, 0xbc, 0xe7, 0xc5, 0xb4, 0xa5, 0x15, 0x73, - 0x53, 0x87, 0x05, 0x1c, 0x2b, 0x0a, 0xda, 0x31, 0xd7, 0x8b, 0x98, 0x91, 0xb0, 0x2f, 0x66, 0xb0, - 0xea, 0x58, 0x5d, 0x22, 0x70, 0x4a, 0x63, 0xff, 0x7d, 0x0b, 0x4e, 0x5f, 0xf6, 0x3b, 0x71, 0x42, - 0xa2, 0xad, 0xd8, 0x68, 0xec, 0x8b, 0x50, 0x23, 0xd2, 0xa0, 0x15, 0x6d, 0x55, 0x4b, 0x86, 0xb2, - 0x74, 0x79, 0xec, 0x9d, 0xa2, 0x2b, 0x11, 0xea, 0xd5, 0x5f, 0x60, 0xd2, 0x6f, 0x55, 0x60, 0xf2, - 0xca, 0xc6, 0x46, 0xe3, 0x32, 0x49, 0x84, 0x96, 0x2c, 0x76, 0xbf, 0x34, 0xb4, 0xbd, 0xe7, 0xf8, - 0xa5, 0x85, 0x1e, 0xb3, 0xae, 0x93, 0x78, 0xfe, 0x02, 0x0f, 0x75, 0x5e, 0x58, 0x0f, 0x92, 0x9b, - 0x51, 0x33, 0x89, 0xbc, 0x60, 0x3b, 0x77, 0xaf, 0x2a, 0x35, 0x79, 0xb5, 0x97, 0x26, 0x47, 0x2f, - 0xc2, 0x08, 0x8b, 0xb4, 0x96, 0x46, 0xc7, 0xcf, 0x29, 0xfb, 0x80, 0x41, 0x8f, 0x0e, 0xe6, 0x6b, - 0xb7, 0xf0, 0x3a, 0xff, 0x83, 0x05, 0x29, 0xfa, 0x32, 0x8c, 0xef, 0x24, 0x49, 0xfb, 0x0a, 0x71, - 0x5c, 0x12, 0x49, 0x2d, 0x51, 0x60, 0x9e, 0xd1, 0xc1, 0xe0, 0x05, 0xd2, 0x89, 0x95, 0xc2, 0x62, - 0xac, 0x73, 0xb4, 0x9b, 0x00, 0x29, 0xee, 0x21, 0xed, 0x39, 0xec, 0xbf, 0x56, 0x81, 0xd1, 0x2b, - 0x4e, 0xe0, 0xfa, 0x24, 0x42, 0x6b, 0x30, 0x44, 0xee, 0x93, 0x56, 0x39, 0xcb, 0x32, 0x5d, 0xea, - 0xb8, 0xff, 0x88, 0xfe, 0xc7, 0xac, 0x3c, 0xc2, 0x30, 0x4a, 0xdb, 0x7d, 0x59, 0xc5, 0x47, 0x3e, - 0x5f, 0x3c, 0x0a, 0x4a, 0x24, 0xf8, 0x3a, 0x29, 0x40, 0x58, 0x32, 0x62, 0x9e, 0x96, 0x56, 0xbb, - 0x49, 0x95, 0x5b, 0x52, 0x2e, 0x04, 0x7a, 0x63, 0xa5, 0xc1, 0xc9, 0x05, 0x5f, 0xee, 0x69, 0x91, - 0x40, 0x9c, 0xb2, 0xb3, 0x5f, 0x85, 0x53, 0xec, 0x88, 0xce, 0x49, 0x76, 0x8c, 0x39, 0x53, 0x28, - 0x9c, 0xf6, 0x3f, 0xae, 0xc0, 0x89, 0xf5, 0xe6, 0x4a, 0xd3, 0xf4, 0x91, 0xbd, 0x0a, 0x13, 0x7c, - 0x79, 0xa6, 0x42, 0xe7, 0xf8, 0xa2, 0xbc, 0x72, 0x2e, 0x6f, 0x68, 0x38, 0x6c, 0x50, 0xa2, 0x27, - 0xa1, 0xea, 0xbd, 0x13, 0x64, 0x23, 0x75, 0xd6, 0xdf, 0xbc, 0x81, 0x29, 0x9c, 0xa2, 0xe9, 0x4a, - 0xcf, 0x55, 0x9c, 0x42, 0xab, 0xd5, 0xfe, 0x0d, 0x98, 0xf2, 0xe2, 0x56, 0xec, 0xad, 0x07, 0x74, - 0xfe, 0x3b, 0x2d, 0x29, 0xbe, 0xa9, 0x51, 0x4e, 0x9b, 0xaa, 0xb0, 0x38, 0x43, 0xad, 0xe9, 0xdb, - 0xe1, 0xd2, 0xd6, 0x42, 0x71, 0xa0, 0xe4, 0x57, 0xa1, 0xa6, 0xc2, 0x5a, 0x64, 0x28, 0x92, 0x95, - 0x1f, 0x8a, 0x54, 0x42, 0xe1, 0x48, 0xcf, 0x65, 0x35, 0xd7, 0x73, 0xf9, 0x1b, 0x16, 0xa4, 0x27, - 0xf8, 0x08, 0x43, 0xad, 0x1d, 0xb2, 0x63, 0x81, 0x48, 0x9e, 0xbc, 0x3d, 0x5d, 0x20, 0x89, 0x7c, - 0x26, 0x70, 0x59, 0x69, 0xc8, 0xb2, 0x38, 0x65, 0x83, 0xae, 0xc1, 0x68, 0x3b, 0x22, 0xcd, 0x84, - 0x45, 0xdb, 0xf6, 0xc1, 0x91, 0x49, 0x75, 0x83, 0x97, 0xc4, 0x92, 0x85, 0xfd, 0x6f, 0x2c, 0x80, - 0x6b, 0xde, 0xae, 0x97, 0x60, 0x27, 0xd8, 0x26, 0x03, 0xdc, 0xde, 0xdd, 0x80, 0xa1, 0xb8, 0x4d, - 0x5a, 0xe5, 0x0e, 0x74, 0xd2, 0x16, 0x35, 0xdb, 0xa4, 0x95, 0x7e, 0x06, 0xfa, 0x0f, 0x33, 0x3e, - 0xf6, 0x6f, 0x02, 0x4c, 0xa5, 0x64, 0xd4, 0xd0, 0x46, 0x2f, 0x18, 0xe1, 0xa5, 0x8f, 0x67, 0xc2, - 0x4b, 0x6b, 0x8c, 0x5a, 0x8b, 0x28, 0x4d, 0xa0, 0xba, 0xeb, 0xdc, 0x17, 0x76, 0xfd, 0xcb, 0x65, - 0x1b, 0x44, 0x6b, 0x5a, 0xb8, 0xee, 0xdc, 0xe7, 0x66, 0xd4, 0xf3, 0x52, 0x80, 0xae, 0x3b, 0xf7, - 0x8f, 0xf8, 0xb1, 0x0d, 0x9b, 0x81, 0x74, 0x23, 0xf1, 0xf5, 0xff, 0x9a, 0xfe, 0x67, 0x4a, 0x91, - 0x56, 0xc7, 0x6a, 0xf5, 0x02, 0xe1, 0x80, 0xeb, 0xb3, 0x56, 0x2f, 0xc8, 0xd6, 0xea, 0x05, 0x25, - 0x6a, 0xf5, 0x02, 0xf4, 0x9e, 0x05, 0xa3, 0xc2, 0x6f, 0xcd, 0x62, 0xa1, 0xc6, 0x2f, 0x7d, 0xaa, - 0xaf, 0xaa, 0x85, 0x03, 0x9c, 0x57, 0xbf, 0x28, 0x6d, 0x47, 0x01, 0x2d, 0x6c, 0x82, 0xac, 0x1a, - 0x7d, 0xdb, 0x82, 0x29, 0xf1, 0x1b, 0x93, 0x77, 0x3a, 0x24, 0x4e, 0xc4, 0x2a, 0xf5, 0xd9, 0x07, - 0x69, 0x8d, 0x60, 0xc1, 0x1b, 0xf5, 0x49, 0xa9, 0x62, 0x4c, 0x64, 0x61, 0xdb, 0x32, 0xed, 0x41, - 0x3f, 0xb0, 0xe0, 0xd4, 0xae, 0x73, 0x9f, 0xd7, 0xc8, 0x61, 0xd8, 0x49, 0xbc, 0x50, 0xc4, 0x7b, - 0xad, 0xf5, 0x2b, 0x27, 0x5d, 0x8c, 0x78, 0x73, 0x5f, 0x97, 0x87, 0x89, 0x79, 0x24, 0x85, 0x8d, - 0xce, 0x6d, 0xe1, 0x9c, 0x0b, 0x63, 0x52, 0x30, 0x73, 0xac, 0xf6, 0x65, 0x7d, 0x31, 0x3e, 0x7e, - 0x06, 0x4a, 0xcf, 0xd6, 0xc2, 0x9b, 0x1d, 0x27, 0x48, 0xbc, 0x64, 0x5f, 0xb3, 0xf1, 0x59, 0x2d, - 0x42, 0x10, 0x07, 0x58, 0xcb, 0x0e, 0x4c, 0xe8, 0x32, 0x37, 0xc0, 0x9a, 0x42, 0x38, 0x99, 0x23, - 0x4f, 0x03, 0xac, 0xb0, 0x03, 0x8f, 0xf7, 0x94, 0x8b, 0xc1, 0x55, 0x6b, 0xff, 0x96, 0xa5, 0x2b, - 0xcc, 0x81, 0xfb, 0x4d, 0xae, 0x9b, 0x7e, 0x93, 0xf3, 0x65, 0xe7, 0x4d, 0x0f, 0xe7, 0xc9, 0x96, - 0xde, 0x78, 0xba, 0x0c, 0xa0, 0x0d, 0x18, 0xf1, 0x29, 0x44, 0x1e, 0xd0, 0x5c, 0xe8, 0x67, 0x66, - 0xa6, 0x96, 0x05, 0x83, 0xc7, 0x58, 0xf0, 0xb2, 0xbf, 0x6f, 0xc1, 0xd0, 0xc0, 0xc7, 0xa6, 0x61, - 0x8e, 0x4d, 0x2f, 0xe3, 0x54, 0xdc, 0xb9, 0x5c, 0xc0, 0xce, 0xbd, 0xd5, 0xfb, 0x09, 0x09, 0x62, - 0x66, 0x44, 0xe6, 0x0e, 0xcf, 0xaf, 0x57, 0x60, 0x9c, 0x56, 0x24, 0x8f, 0xd7, 0x5f, 0x83, 0x49, - 0xdf, 0xd9, 0x24, 0xbe, 0xf4, 0xf0, 0x66, 0x37, 0x5c, 0xd7, 0x74, 0x24, 0x36, 0x69, 0x69, 0xe1, - 0x2d, 0xdd, 0x01, 0x2e, 0x8c, 0x21, 0x55, 0xd8, 0xf0, 0x8e, 0x63, 0x93, 0x96, 0xda, 0xfc, 0xf7, - 0x9c, 0xa4, 0xb5, 0x23, 0x36, 0x63, 0xaa, 0xb9, 0x77, 0x28, 0x10, 0x73, 0x1c, 0x5a, 0x82, 0x69, - 0x29, 0xab, 0xb7, 0xe9, 0x2e, 0x3d, 0x0c, 0x84, 0xa1, 0xa8, 0x2e, 0xca, 0x61, 0x13, 0x8d, 0xb3, - 0xf4, 0xe8, 0xd3, 0x30, 0x45, 0x07, 0x27, 0xec, 0x24, 0x32, 0x78, 0x60, 0x98, 0x05, 0x0f, 0xb0, - 0x18, 0xcd, 0x0d, 0x03, 0x83, 0x33, 0x94, 0xf6, 0x97, 0xe1, 0xe4, 0xb5, 0xd0, 0x71, 0x97, 0x1d, - 0xdf, 0x09, 0x5a, 0x24, 0x5a, 0x0f, 0xb6, 0x0b, 0xcf, 0x59, 0xf5, 0xb3, 0xd0, 0x4a, 0xd1, 0x59, - 0xa8, 0x1d, 0x01, 0xd2, 0x2b, 0x10, 0x61, 0x2f, 0x6f, 0xc3, 0xa8, 0xc7, 0xab, 0x12, 0x22, 0x7b, - 0xb1, 0xc8, 0x9d, 0xd4, 0xd5, 0x46, 0x2d, 0x8c, 0x83, 0x03, 0xb0, 0x64, 0x49, 0xf7, 0x10, 0x79, - 0xfe, 0xa7, 0xe2, 0x6d, 0x9a, 0xfd, 0x37, 0x2c, 0x98, 0xbe, 0x91, 0xb9, 0x8d, 0xf5, 0x0c, 0x8c, - 0xc4, 0x24, 0xca, 0x71, 0xa6, 0x35, 0x19, 0x14, 0x0b, 0xec, 0x43, 0xdf, 0xa0, 0xff, 0x4a, 0x05, - 0x6a, 0x2c, 0x74, 0xb2, 0xed, 0xb4, 0x06, 0x69, 0x8e, 0x5e, 0x37, 0xcc, 0xd1, 0x82, 0xed, 0xa1, - 0x6a, 0x50, 0x2f, 0x6b, 0x14, 0xdd, 0x52, 0xb7, 0x93, 0x4a, 0xed, 0x0c, 0x53, 0x86, 0xfc, 0x2e, - 0xcb, 0x94, 0x79, 0x99, 0x49, 0xde, 0x5c, 0x62, 0xa7, 0x93, 0x8a, 0xf6, 0x43, 0x76, 0x3a, 0xa9, - 0xda, 0xd5, 0x43, 0x25, 0x35, 0xb4, 0xa6, 0x33, 0x85, 0xfd, 0x19, 0x16, 0x0a, 0xe7, 0xf8, 0xde, - 0xbb, 0x44, 0x5d, 0xf1, 0x9b, 0x17, 0xc1, 0x6d, 0x02, 0x7a, 0xc4, 0xb4, 0x8b, 0xf8, 0xc7, 0x6f, - 0x6e, 0xa6, 0x45, 0xec, 0x2b, 0x30, 0x9d, 0x19, 0x38, 0xf4, 0x32, 0x0c, 0xb7, 0x77, 0x9c, 0x98, - 0x64, 0xc2, 0x2c, 0x86, 0x1b, 0x14, 0x78, 0x74, 0x30, 0x3f, 0xa5, 0x0a, 0x30, 0x08, 0xe6, 0xd4, - 0xf6, 0x9f, 0x5b, 0x30, 0x74, 0x23, 0x74, 0x07, 0x29, 0x60, 0x57, 0x0c, 0x01, 0x7b, 0xa6, 0xf8, - 0xbe, 0x77, 0x4f, 0xd9, 0x6a, 0x64, 0x64, 0xeb, 0x7c, 0x09, 0x5e, 0xc7, 0x8b, 0xd5, 0x2e, 0x8c, - 0xb3, 0xfb, 0xe4, 0x22, 0xbe, 0xe4, 0x45, 0x63, 0xdf, 0x34, 0x9f, 0xd9, 0x37, 0x4d, 0x6b, 0xa4, - 0xda, 0xee, 0xe9, 0x59, 0x18, 0x15, 0xf1, 0x0c, 0xd9, 0x10, 0x40, 0x41, 0x8b, 0x25, 0xde, 0xfe, - 0x57, 0x55, 0x30, 0xee, 0xaf, 0xa3, 0xdf, 0xb7, 0x60, 0x21, 0xe2, 0xd7, 0x0e, 0xdc, 0x7a, 0x27, - 0xf2, 0x82, 0xed, 0x66, 0x6b, 0x87, 0xb8, 0x1d, 0xdf, 0x0b, 0xb6, 0xd7, 0xb7, 0x83, 0x50, 0x81, - 0x57, 0xef, 0x93, 0x56, 0x87, 0x39, 0x55, 0x4b, 0x5f, 0x9b, 0x57, 0x67, 0x9a, 0x97, 0x0e, 0x0f, - 0xe6, 0x17, 0x70, 0x5f, 0xb5, 0xe0, 0x3e, 0x5b, 0x85, 0xfe, 0xc8, 0x82, 0x45, 0x7e, 0x83, 0xbb, - 0x7c, 0x4f, 0x4a, 0xed, 0x37, 0x1b, 0x92, 0x69, 0xca, 0x6e, 0x83, 0x44, 0xbb, 0xcb, 0xaf, 0x88, - 0x41, 0x5e, 0x6c, 0xf4, 0x57, 0x2b, 0xee, 0xb7, 0x99, 0xf6, 0x6f, 0x57, 0x61, 0x92, 0x8e, 0x67, - 0x7a, 0x7b, 0xf3, 0x65, 0x43, 0x4c, 0x3e, 0x9a, 0x11, 0x93, 0x13, 0x06, 0xf1, 0xc3, 0xb9, 0xb8, - 0xf9, 0x0e, 0x9c, 0xf0, 0x9d, 0x38, 0xb9, 0x42, 0x9c, 0x28, 0xd9, 0x24, 0x0e, 0x3b, 0x46, 0x2c, - 0x9e, 0x04, 0x99, 0x73, 0x49, 0x15, 0x21, 0x73, 0x2d, 0xcb, 0x0a, 0x77, 0x73, 0x47, 0x09, 0x20, - 0x76, 0x60, 0x19, 0x39, 0x41, 0xcc, 0x7b, 0xe2, 0x09, 0x27, 0x6c, 0x3f, 0x75, 0xce, 0x89, 0x3a, - 0xd1, 0xb5, 0x2e, 0x5e, 0x38, 0x87, 0xbf, 0x76, 0x18, 0x3d, 0x5c, 0xf6, 0x30, 0x7a, 0xa4, 0x20, - 0xee, 0xf6, 0x97, 0x2c, 0x38, 0x49, 0x3f, 0x89, 0x19, 0xa3, 0x19, 0xa3, 0x10, 0xa6, 0x69, 0xf3, - 0x7d, 0x92, 0x48, 0x58, 0xf1, 0x3a, 0xc2, 0x02, 0xe9, 0x0c, 0x3e, 0xa9, 0xa1, 0x76, 0xd5, 0x64, - 0x86, 0xb3, 0xdc, 0xed, 0xef, 0x58, 0xc0, 0x82, 0xc0, 0x06, 0xbe, 0x7c, 0x5d, 0x36, 0x97, 0x2f, - 0xbb, 0x58, 0x57, 0xf4, 0x58, 0xb9, 0x5e, 0x82, 0x19, 0x8a, 0x6d, 0x44, 0xe1, 0xfd, 0x7d, 0x69, - 0x50, 0x17, 0x7b, 0x62, 0xdf, 0xab, 0xf0, 0x09, 0xa3, 0x6e, 0x4e, 0xa1, 0x5f, 0xb6, 0x60, 0xac, - 0xe5, 0xb4, 0x9d, 0x16, 0xcf, 0xfb, 0x51, 0xc2, 0xeb, 0x62, 0x94, 0x5f, 0x58, 0x11, 0x65, 0xb9, - 0xc7, 0xe0, 0x13, 0xb2, 0xeb, 0x12, 0x5c, 0xe8, 0x25, 0x50, 0x95, 0xcf, 0x79, 0x30, 0x69, 0x30, - 0x1b, 0xe0, 0x36, 0xf3, 0x97, 0x2d, 0xae, 0xec, 0xd5, 0x86, 0xe0, 0x1e, 0x9c, 0x08, 0xb4, 0xff, - 0x54, 0x8d, 0x49, 0xfb, 0x77, 0xa1, 0xbc, 0x3a, 0x67, 0xda, 0x4f, 0x0b, 0x76, 0xcb, 0x30, 0xc4, - 0xdd, 0x75, 0xd8, 0xff, 0xc4, 0x82, 0xc7, 0x74, 0x42, 0xed, 0xa2, 0x5b, 0x91, 0x17, 0xb8, 0x0e, - 0x63, 0x61, 0x9b, 0x44, 0x4e, 0xba, 0xf9, 0x39, 0x2f, 0x47, 0xff, 0xa6, 0x80, 0x1f, 0x1d, 0xcc, - 0x9f, 0xd2, 0xb9, 0x4b, 0x38, 0x56, 0x25, 0x91, 0x0d, 0x23, 0x6c, 0x5c, 0x62, 0x71, 0x45, 0x91, - 0x65, 0xc1, 0x60, 0x67, 0x1f, 0x31, 0x16, 0x18, 0xfb, 0x6f, 0x5a, 0x5c, 0xd8, 0xf4, 0xa6, 0xa3, - 0xaf, 0xc1, 0xcc, 0x2e, 0xdd, 0x27, 0xad, 0xde, 0x6f, 0xd3, 0x05, 0x94, 0x9d, 0xf9, 0x5a, 0x65, - 0x96, 0x8d, 0x1e, 0xdd, 0x5d, 0x9e, 0x15, 0xad, 0x9f, 0xb9, 0x9e, 0x61, 0x8b, 0xbb, 0x2a, 0xb2, - 0xff, 0x58, 0xcc, 0x57, 0x66, 0xb3, 0x3d, 0x0b, 0xa3, 0xed, 0xd0, 0x5d, 0x59, 0xaf, 0x63, 0x31, - 0x56, 0x4a, 0xe1, 0x34, 0x38, 0x18, 0x4b, 0x3c, 0xba, 0x04, 0x40, 0xee, 0x27, 0x24, 0x0a, 0x1c, - 0x5f, 0x9d, 0xd5, 0x2a, 0x13, 0x69, 0x55, 0x61, 0xb0, 0x46, 0x45, 0xcb, 0xb4, 0xa3, 0x70, 0xcf, - 0x73, 0x59, 0xe4, 0x79, 0xd5, 0x2c, 0xd3, 0x50, 0x18, 0xac, 0x51, 0xd1, 0xdd, 0x69, 0x27, 0x88, - 0xf9, 0xf2, 0xe5, 0x6c, 0x8a, 0xe4, 0x0d, 0x63, 0xe9, 0xee, 0xf4, 0x96, 0x8e, 0xc4, 0x26, 0xad, - 0xfd, 0xd3, 0x1a, 0x40, 0x6a, 0x20, 0xa1, 0xf7, 0xba, 0x67, 0xe8, 0x27, 0xcb, 0x5a, 0x57, 0x0f, - 0x6f, 0x7a, 0xa2, 0x6f, 0x5a, 0x30, 0xee, 0xf8, 0x7e, 0xd8, 0x72, 0x12, 0xd6, 0xa3, 0x4a, 0x59, - 0x5d, 0x21, 0x5a, 0xb2, 0x94, 0x96, 0xe5, 0x8d, 0x79, 0x51, 0x1e, 0xe5, 0x69, 0x98, 0xc2, 0xf6, - 0xe8, 0x4d, 0x40, 0x9f, 0x90, 0x86, 0x35, 0xff, 0x28, 0x73, 0x59, 0xc3, 0xba, 0xc6, 0x34, 0xa4, - 0x66, 0x53, 0xa3, 0x2f, 0x1b, 0x79, 0x0a, 0x86, 0xca, 0xdc, 0x8e, 0x35, 0x4c, 0x86, 0xa2, 0x14, - 0x05, 0xe8, 0x0b, 0x7a, 0x50, 0xee, 0x70, 0x99, 0xab, 0xa7, 0x9a, 0xe5, 0x5a, 0x10, 0x90, 0x9b, - 0xc0, 0xb4, 0x6b, 0x2e, 0x94, 0x22, 0xd0, 0xea, 0x62, 0x71, 0x0d, 0x99, 0x15, 0x36, 0x5d, 0x1a, - 0x33, 0x08, 0x9c, 0xad, 0x82, 0xae, 0x86, 0x54, 0x6d, 0xad, 0x07, 0x5b, 0xa1, 0x08, 0xb7, 0xba, - 0x50, 0xe2, 0x9b, 0xef, 0xc7, 0x09, 0xd9, 0xa5, 0x65, 0xd2, 0xd5, 0xf0, 0x86, 0xe0, 0x82, 0x15, - 0x3f, 0xb4, 0x01, 0x23, 0xec, 0x82, 0x47, 0x3c, 0x3b, 0x56, 0xc6, 0x3d, 0x66, 0xde, 0x68, 0x4c, - 0x0d, 0x10, 0xf6, 0x37, 0xc6, 0x82, 0x17, 0xba, 0x22, 0x6f, 0x00, 0xc7, 0xeb, 0xc1, 0xad, 0x98, - 0xb0, 0x1b, 0xc0, 0xb5, 0xe5, 0x8f, 0xa5, 0x57, 0x7a, 0x39, 0x3c, 0x37, 0x33, 0x93, 0x51, 0x92, - 0xda, 0x21, 0xe2, 0xbf, 0x4c, 0xf8, 0x34, 0x0b, 0x65, 0x1a, 0x6a, 0xa6, 0x87, 0x4a, 0x07, 0xfb, - 0xb6, 0xc9, 0x0c, 0x67, 0xb9, 0x3f, 0xc2, 0x35, 0x70, 0xce, 0x87, 0x99, 0xec, 0x94, 0x1c, 0xe0, - 0x8a, 0xfb, 0x67, 0x43, 0x30, 0x65, 0x0a, 0x06, 0x5a, 0x84, 0xda, 0x2e, 0x4b, 0xc7, 0x94, 0x26, - 0x81, 0x51, 0xf2, 0x7f, 0x5d, 0x22, 0x70, 0x4a, 0xc3, 0xd2, 0xe1, 0xb0, 0xe2, 0x5a, 0xa0, 0x4d, - 0x9a, 0x0e, 0x47, 0x61, 0xb0, 0x46, 0x45, 0x8d, 0xd6, 0xcd, 0x30, 0x4c, 0x94, 0xe2, 0x56, 0x32, - 0xb3, 0xcc, 0xa0, 0x58, 0x60, 0xa9, 0xc2, 0xbe, 0x4b, 0x3b, 0xe4, 0x9b, 0xae, 0x3e, 0xa5, 0xb0, - 0xaf, 0xea, 0x48, 0x6c, 0xd2, 0xd2, 0x05, 0x28, 0x8c, 0x99, 0x10, 0x0a, 0xd3, 0x38, 0x0d, 0x5c, - 0x6a, 0xf2, 0x0b, 0x4f, 0x12, 0x8f, 0x3e, 0x0f, 0x8f, 0xa9, 0xfb, 0x49, 0x98, 0xbb, 0x4e, 0x65, - 0x8d, 0x23, 0xc6, 0xce, 0xf6, 0xb1, 0x95, 0x7c, 0x32, 0xdc, 0xab, 0x3c, 0x7a, 0x03, 0xa6, 0x84, - 0x59, 0x2b, 0x39, 0x8e, 0x9a, 0xe7, 0xda, 0x57, 0x0d, 0x2c, 0xce, 0x50, 0xa3, 0x3a, 0xcc, 0x50, - 0x08, 0xb3, 0x28, 0x25, 0x07, 0x7e, 0xcf, 0x4a, 0xad, 0xcc, 0x57, 0x33, 0x78, 0xdc, 0x55, 0x02, - 0x2d, 0xc1, 0x34, 0xb7, 0x2d, 0xe8, 0xfe, 0x8d, 0x7d, 0x07, 0x11, 0x21, 0xa9, 0x26, 0xc1, 0x4d, - 0x13, 0x8d, 0xb3, 0xf4, 0xe8, 0x55, 0x98, 0x70, 0xa2, 0xd6, 0x8e, 0x97, 0x90, 0x56, 0xd2, 0x89, - 0xf8, 0xdd, 0x7a, 0x2d, 0x30, 0x60, 0x49, 0xc3, 0x61, 0x83, 0xd2, 0x7e, 0x17, 0x4e, 0xe6, 0x84, - 0x60, 0x53, 0xc1, 0x71, 0xda, 0x9e, 0xec, 0x53, 0x26, 0x04, 0x69, 0xa9, 0xb1, 0x2e, 0x7b, 0xa3, - 0x51, 0x51, 0xe9, 0x64, 0x3e, 0x63, 0x2d, 0x37, 0x9b, 0x92, 0xce, 0x35, 0x89, 0xc0, 0x29, 0x8d, - 0xfd, 0xdf, 0x6b, 0xa0, 0x39, 0x59, 0x4a, 0x04, 0x9e, 0xbc, 0x0a, 0x13, 0x32, 0xdd, 0xa0, 0x96, - 0xe6, 0x4b, 0x75, 0xf3, 0xb2, 0x86, 0xc3, 0x06, 0x25, 0x6d, 0x5b, 0x20, 0x5d, 0x46, 0xd9, 0x80, - 0x27, 0xe5, 0x4b, 0xc2, 0x29, 0x0d, 0xba, 0x00, 0x63, 0x31, 0xf1, 0xb7, 0xae, 0x79, 0xc1, 0x5d, - 0x21, 0xd8, 0x4a, 0x2b, 0x37, 0x05, 0x1c, 0x2b, 0x0a, 0xf4, 0x59, 0xa8, 0x76, 0x3c, 0x57, 0x88, - 0xf2, 0x82, 0xb4, 0x3b, 0x6f, 0xad, 0xd7, 0x8f, 0x0e, 0xe6, 0xe7, 0xf3, 0x73, 0x28, 0xd2, 0x4d, - 0x74, 0xbc, 0x40, 0x27, 0x1f, 0x2d, 0x9a, 0xe7, 0x3a, 0x1f, 0xe9, 0xd3, 0x75, 0x7e, 0x09, 0x40, - 0xf4, 0x59, 0x4a, 0x72, 0x35, 0xfd, 0x66, 0x97, 0x15, 0x06, 0x6b, 0x54, 0x74, 0x2b, 0xde, 0x8a, - 0x88, 0x23, 0x77, 0xac, 0x3c, 0x44, 0x78, 0xec, 0x41, 0xb7, 0xe2, 0x2b, 0x59, 0x56, 0xb8, 0x9b, - 0x3b, 0xda, 0x85, 0x13, 0x2e, 0x9d, 0x44, 0x46, 0x95, 0xb5, 0x7e, 0xa3, 0x92, 0x69, 0x75, 0xf5, - 0x2c, 0x1b, 0xdc, 0xcd, 0x19, 0x7d, 0x09, 0xe6, 0x24, 0xb0, 0xfb, 0xee, 0x21, 0x9b, 0x28, 0xd5, - 0xe5, 0xb3, 0x87, 0x07, 0xf3, 0x73, 0xf5, 0x9e, 0x54, 0xf8, 0x18, 0x0e, 0xe8, 0x6d, 0x18, 0x61, - 0xc7, 0x2c, 0xf1, 0xec, 0x38, 0x5b, 0xe7, 0x5e, 0x2a, 0xeb, 0x68, 0x5c, 0x60, 0x87, 0x35, 0x22, - 0x6e, 0x33, 0x3d, 0xb7, 0x62, 0x40, 0x2c, 0x78, 0xa2, 0x36, 0x8c, 0x3b, 0x41, 0x10, 0x26, 0x0e, - 0x37, 0xbf, 0x26, 0xca, 0x58, 0x90, 0x5a, 0x15, 0x4b, 0x69, 0x59, 0x5e, 0x8f, 0x0a, 0x06, 0xd3, - 0x30, 0x58, 0xaf, 0x02, 0x75, 0x60, 0x3a, 0xbc, 0x47, 0x55, 0xa5, 0x3c, 0x69, 0x88, 0x67, 0x27, - 0x8b, 0x12, 0x24, 0xa6, 0x1f, 0xe7, 0xa6, 0x51, 0x54, 0xd3, 0x60, 0x26, 0x4b, 0x9c, 0xad, 0x03, - 0x2d, 0x18, 0x5e, 0xe4, 0xa9, 0x34, 0x36, 0x39, 0xf5, 0x22, 0xeb, 0x4e, 0x63, 0x76, 0xbb, 0x95, - 0xc7, 0x23, 0x32, 0x4d, 0x30, 0x9d, 0xb9, 0xdd, 0x9a, 0xa2, 0xb0, 0x4e, 0x37, 0xf7, 0x29, 0x18, - 0xd7, 0x86, 0xbd, 0x9f, 0x20, 0xd8, 0xb9, 0x37, 0x60, 0x26, 0x3b, 0x9c, 0x7d, 0x05, 0xd1, 0xfe, - 0xcf, 0x0a, 0x4c, 0xe7, 0x1c, 0xe2, 0xdc, 0xf5, 0x58, 0x20, 0xb7, 0xa1, 0xf2, 0xae, 0x7a, 0x81, - 0x8b, 0x19, 0xc6, 0x54, 0x5c, 0x95, 0x12, 0x8a, 0x4b, 0x6a, 0xd1, 0x6a, 0x4f, 0x2d, 0x2a, 0x94, - 0xd5, 0xd0, 0x83, 0x2b, 0x2b, 0x73, 0x75, 0x18, 0x2e, 0xb5, 0x3a, 0x3c, 0x04, 0x05, 0x67, 0x2c, - 0x30, 0xa3, 0x25, 0x16, 0x98, 0x6f, 0x57, 0x60, 0x26, 0x0d, 0x17, 0x16, 0x99, 0x47, 0x07, 0x77, - 0x36, 0xb0, 0x61, 0x9c, 0x0d, 0x14, 0x25, 0x14, 0xcd, 0xb4, 0xab, 0xe7, 0x39, 0xc1, 0xdb, 0x99, - 0x73, 0x82, 0x97, 0xfa, 0xe4, 0x7b, 0xfc, 0x99, 0xc1, 0x77, 0x2a, 0x70, 0x3a, 0x5b, 0x64, 0xc5, - 0x77, 0xbc, 0xdd, 0x01, 0x8e, 0xd3, 0xe7, 0x8d, 0x71, 0x7a, 0xa5, 0xbf, 0xfe, 0xb0, 0xc6, 0xf5, - 0x1c, 0x2c, 0x27, 0x33, 0x58, 0x9f, 0x7a, 0x10, 0xe6, 0xc7, 0x8f, 0xd8, 0x4f, 0x2d, 0x78, 0x3c, - 0xb7, 0xdc, 0xc0, 0x3d, 0xa1, 0x6f, 0x99, 0x9e, 0xd0, 0x17, 0x1f, 0xa0, 0x6f, 0x3d, 0x5c, 0xa3, - 0x87, 0x95, 0x1e, 0x7d, 0x62, 0xde, 0xa2, 0x9b, 0x30, 0xee, 0xb4, 0x5a, 0x24, 0x8e, 0xaf, 0x87, - 0xae, 0xca, 0x86, 0xf3, 0x02, 0x5b, 0x45, 0x52, 0xf0, 0xd1, 0xc1, 0xfc, 0x5c, 0x96, 0x45, 0x8a, - 0xc6, 0x3a, 0x07, 0x33, 0xab, 0x55, 0x65, 0x40, 0x59, 0xad, 0x2e, 0x01, 0xec, 0xa9, 0x5d, 0x6a, - 0xd6, 0x09, 0xa5, 0xed, 0x5f, 0x35, 0x2a, 0xf4, 0x45, 0x66, 0xf5, 0xf1, 0xe8, 0x88, 0xa1, 0x22, - 0x47, 0x81, 0xf6, 0xf5, 0xf4, 0x38, 0x0b, 0x7e, 0x7d, 0x51, 0xb9, 0xeb, 0x14, 0x43, 0xfb, 0xfb, - 0x55, 0xf8, 0xb9, 0x63, 0x04, 0x0e, 0x2d, 0x99, 0x87, 0x9e, 0xcf, 0x67, 0x7d, 0x33, 0x73, 0xb9, - 0x85, 0x0d, 0x67, 0x4d, 0xe6, 0x4b, 0x55, 0x3e, 0xf0, 0x97, 0xfa, 0x96, 0xee, 0x49, 0xe3, 0xc1, - 0x8d, 0x97, 0x1f, 0x78, 0x4a, 0xfd, 0x6c, 0x7a, 0xbe, 0xbf, 0x6e, 0xc1, 0x47, 0x73, 0x3b, 0x65, - 0x04, 0x56, 0x2c, 0x42, 0xad, 0x45, 0x81, 0xda, 0xed, 0x93, 0xf4, 0xda, 0x97, 0x44, 0xe0, 0x94, - 0xc6, 0x88, 0x9f, 0xa8, 0x14, 0xc6, 0x4f, 0xfc, 0x07, 0x0b, 0x4e, 0x65, 0x1b, 0x31, 0x70, 0x7d, - 0xd3, 0x34, 0xf5, 0xcd, 0x42, 0x7f, 0x1f, 0xbe, 0x87, 0xaa, 0xf9, 0xf6, 0x24, 0x9c, 0xe9, 0x5a, - 0xa3, 0xf8, 0x18, 0xfe, 0x82, 0x05, 0x27, 0xb6, 0x99, 0x7d, 0xad, 0x5d, 0xf0, 0x11, 0xbd, 0x2a, - 0xb8, 0x15, 0x75, 0xec, 0xbd, 0x20, 0xbe, 0x5b, 0xe8, 0x22, 0xc1, 0xdd, 0x95, 0xa1, 0x6f, 0x58, - 0x70, 0xca, 0xb9, 0x17, 0x77, 0x65, 0xaf, 0x17, 0x42, 0xf4, 0x46, 0x81, 0x13, 0xab, 0x20, 0xef, - 0xfd, 0xf2, 0xec, 0xe1, 0xc1, 0xfc, 0xa9, 0x3c, 0x2a, 0x9c, 0x5b, 0x2b, 0x7a, 0x5b, 0xe4, 0xfe, - 0xa2, 0x06, 0x4f, 0xa9, 0xab, 0x6a, 0x79, 0xd7, 0x0d, 0xb8, 0x42, 0x92, 0x18, 0xac, 0x38, 0xa2, - 0xaf, 0x40, 0x6d, 0x5b, 0xde, 0xe9, 0x11, 0xea, 0xae, 0x60, 0x4d, 0xc9, 0xbd, 0x02, 0xc4, 0x83, - 0xda, 0x15, 0x0a, 0xa7, 0x4c, 0xd1, 0x15, 0xa8, 0x06, 0x5b, 0xb1, 0xb8, 0x37, 0x5b, 0x14, 0x3c, - 0x63, 0x86, 0x2a, 0xf1, 0x0b, 0x87, 0x37, 0xd6, 0x9a, 0x98, 0xb2, 0xa0, 0x9c, 0xa2, 0x4d, 0x57, - 0x78, 0x6f, 0x0b, 0x38, 0xe1, 0xe5, 0x7a, 0x37, 0x27, 0xbc, 0x5c, 0xc7, 0x94, 0x05, 0x8b, 0xd2, - 0x8b, 0x5b, 0xb1, 0x27, 0x5c, 0xb3, 0x05, 0x97, 0xaa, 0xbb, 0x2e, 0x61, 0xf0, 0x34, 0x70, 0x0c, - 0x8c, 0x39, 0x23, 0xb4, 0x01, 0x23, 0x2d, 0x96, 0xb0, 0x59, 0xec, 0x9c, 0x8b, 0xd2, 0xf8, 0x76, - 0x25, 0x77, 0xe6, 0x47, 0x48, 0x1c, 0x8e, 0x05, 0x2f, 0xc6, 0x95, 0xb4, 0x77, 0xb6, 0x62, 0xb1, - 0x39, 0x2e, 0xe2, 0xda, 0x95, 0x7a, 0x5b, 0x70, 0x65, 0x70, 0x2c, 0x78, 0xa1, 0x3a, 0x54, 0xb6, - 0x5a, 0x22, 0xf7, 0x62, 0x81, 0x4b, 0xd6, 0xbc, 0x3d, 0xba, 0x3c, 0x72, 0x78, 0x30, 0x5f, 0x59, - 0x5b, 0xc1, 0x95, 0xad, 0x16, 0x7a, 0x0b, 0x46, 0xb7, 0xf8, 0x7d, 0x40, 0x91, 0x67, 0xf1, 0x62, - 0xd1, 0xa5, 0xc5, 0xae, 0xcb, 0x83, 0xfc, 0xe2, 0x82, 0x40, 0x60, 0xc9, 0x0e, 0x7d, 0x09, 0x60, - 0x4b, 0xdd, 0x70, 0x14, 0x89, 0x16, 0x17, 0xfa, 0xbb, 0x11, 0x29, 0xf6, 0x8d, 0x0a, 0x8a, 0x35, - 0x8e, 0x54, 0xe6, 0x1d, 0x99, 0x73, 0x9e, 0x25, 0x59, 0x2c, 0x94, 0xf9, 0xdc, 0x14, 0xf5, 0x5c, - 0xe6, 0x15, 0x0a, 0xa7, 0x4c, 0x51, 0x07, 0x26, 0xf7, 0xe2, 0xf6, 0x0e, 0x91, 0x53, 0x9f, 0x65, - 0x5e, 0x1c, 0xbf, 0xf4, 0x7a, 0x41, 0x3a, 0x4d, 0x51, 0xc4, 0x8b, 0x92, 0x8e, 0xe3, 0x77, 0x69, - 0x30, 0x96, 0xcb, 0xe8, 0xb6, 0xce, 0x16, 0x9b, 0xb5, 0xd0, 0x4f, 0xf2, 0x4e, 0x27, 0xdc, 0xdc, - 0x4f, 0x88, 0xc8, 0xcc, 0x58, 0xf0, 0x49, 0xde, 0xe4, 0xc4, 0xdd, 0x9f, 0x44, 0x20, 0xb0, 0x64, - 0xa7, 0x86, 0x8c, 0x69, 0xe3, 0x99, 0xd2, 0x43, 0xd6, 0xd5, 0x87, 0x74, 0xc8, 0x98, 0xf6, 0x4d, - 0x99, 0x32, 0xad, 0xdb, 0xde, 0x09, 0x93, 0x30, 0xc8, 0xe8, 0xfe, 0x13, 0x65, 0xb4, 0x6e, 0x23, - 0xa7, 0x64, 0xb7, 0xd6, 0xcd, 0xa3, 0xc2, 0xb9, 0xb5, 0xda, 0x7f, 0x3c, 0xdc, 0xbd, 0xd8, 0x32, - 0x43, 0xf8, 0x57, 0xbb, 0xcf, 0x15, 0x3f, 0xdb, 0xff, 0x2e, 0xef, 0x21, 0x9e, 0x30, 0x7e, 0xc3, - 0x82, 0x33, 0xed, 0xdc, 0xc5, 0x54, 0x2c, 0x58, 0xfd, 0x6e, 0x16, 0xf9, 0x80, 0xa9, 0xb4, 0xa3, - 0xf9, 0x78, 0xdc, 0xa3, 0xce, 0xac, 0xf9, 0x59, 0xfd, 0xc0, 0xe6, 0xe7, 0x1d, 0x18, 0x63, 0x16, - 0x53, 0x9a, 0x03, 0xa3, 0xcf, 0xb4, 0x11, 0x6c, 0xe9, 0x5b, 0x11, 0x2c, 0xb0, 0x62, 0x46, 0x07, - 0xee, 0xc9, 0x6c, 0x27, 0x30, 0x61, 0x68, 0x91, 0x2f, 0x95, 0x7b, 0x35, 0xd6, 0xc4, 0x48, 0x3c, - 0xd9, 0x38, 0x8e, 0xf8, 0xa8, 0x88, 0x00, 0x1f, 0x5f, 0xd9, 0xa3, 0x34, 0x67, 0xff, 0xb9, 0x95, - 0x63, 0x7f, 0xf1, 0x0d, 0xc8, 0xeb, 0xe6, 0x06, 0xe4, 0x99, 0xec, 0x06, 0xa4, 0xcb, 0x51, 0x60, - 0xec, 0x3d, 0xca, 0x27, 0x0f, 0x2c, 0x9b, 0xa4, 0xc3, 0xf6, 0xe1, 0x5c, 0xd1, 0xe4, 0x66, 0x11, - 0x3c, 0xae, 0x3a, 0x0e, 0x4b, 0x23, 0x78, 0xdc, 0xf5, 0x3a, 0x66, 0x98, 0xb2, 0xb7, 0xbd, 0xed, - 0xff, 0x6d, 0x41, 0xb5, 0x11, 0xba, 0x03, 0x74, 0x7c, 0x5c, 0x36, 0x1c, 0x1f, 0x4f, 0x17, 0xbe, - 0xb4, 0xd3, 0xd3, 0xcd, 0x71, 0x33, 0xe3, 0xe6, 0xf8, 0x78, 0x31, 0xab, 0xe3, 0x9d, 0x1a, 0x3f, - 0xa8, 0x82, 0xfe, 0x56, 0x10, 0xfa, 0x83, 0x07, 0x09, 0xe5, 0xac, 0x96, 0x7b, 0x3e, 0x48, 0xd4, - 0xc1, 0x42, 0x7f, 0xe4, 0xf5, 0xae, 0x9f, 0xd9, 0x88, 0xce, 0x3b, 0xc4, 0xdb, 0xde, 0x49, 0x88, - 0x9b, 0xed, 0xd8, 0xa3, 0x8b, 0xe8, 0xfc, 0x6f, 0x16, 0x4c, 0x67, 0x6a, 0x47, 0x5f, 0xcd, 0xbb, - 0x27, 0xf2, 0x40, 0xce, 0x8c, 0x13, 0x85, 0xd7, 0x4a, 0x16, 0x00, 0x94, 0xf7, 0x59, 0xba, 0x1c, - 0x98, 0x05, 0xa6, 0xdc, 0xd3, 0x31, 0xd6, 0x28, 0xd0, 0xcb, 0x30, 0x9e, 0x84, 0xed, 0xd0, 0x0f, - 0xb7, 0xf7, 0xaf, 0x12, 0x99, 0x7d, 0x40, 0x79, 0xee, 0x37, 0x52, 0x14, 0xd6, 0xe9, 0xec, 0x1f, - 0x55, 0x21, 0xfb, 0xce, 0xd4, 0xff, 0x97, 0xd2, 0x9f, 0x1d, 0x29, 0xfd, 0x43, 0x0b, 0x66, 0x68, - 0xed, 0x2c, 0x6c, 0x43, 0x46, 0x5f, 0xaa, 0x3c, 0xdf, 0xd6, 0x31, 0x79, 0xbe, 0x9f, 0xa1, 0xba, - 0xce, 0x0d, 0x3b, 0x89, 0x70, 0x93, 0x68, 0x2a, 0x8c, 0x42, 0xb1, 0xc0, 0x0a, 0x3a, 0x12, 0x45, - 0xe2, 0x3a, 0x8a, 0x4e, 0x47, 0xa2, 0x08, 0x0b, 0xac, 0x4c, 0x03, 0x3e, 0x94, 0x9f, 0x06, 0x9c, - 0xe7, 0xef, 0x11, 0xe1, 0x02, 0xc2, 0x08, 0xd0, 0xf2, 0xf7, 0xc8, 0x38, 0x82, 0x94, 0xc6, 0xfe, - 0x4e, 0x15, 0x26, 0x1a, 0xa1, 0x9b, 0x06, 0x54, 0xbf, 0x64, 0x04, 0x54, 0x9f, 0xcb, 0x04, 0x54, - 0xcf, 0xe8, 0xb4, 0x0f, 0x27, 0x9e, 0x5a, 0xe4, 0x78, 0x62, 0x89, 0xea, 0x1f, 0x28, 0x96, 0xda, - 0xc8, 0xf1, 0xa4, 0xd8, 0x60, 0x93, 0xeb, 0x5f, 0x9e, 0x18, 0xea, 0x3f, 0xb7, 0x60, 0xaa, 0x11, - 0xba, 0x54, 0x38, 0xff, 0x32, 0x49, 0xa2, 0x9e, 0x19, 0x6a, 0xe4, 0x98, 0xcc, 0x50, 0xbf, 0x61, - 0xc1, 0x68, 0x23, 0x74, 0x07, 0xee, 0x3e, 0x5c, 0x33, 0xdd, 0x87, 0x1f, 0x2d, 0xd4, 0xb9, 0x3d, - 0x3c, 0x86, 0xdf, 0xaf, 0xc2, 0x24, 0x6d, 0x6f, 0xb8, 0x2d, 0xbf, 0x96, 0x31, 0x32, 0x56, 0x89, - 0x91, 0xa1, 0x26, 0x60, 0xe8, 0xfb, 0xe1, 0xbd, 0xec, 0x97, 0x5b, 0x63, 0x50, 0x2c, 0xb0, 0xe8, - 0x02, 0x8c, 0xb5, 0x23, 0xb2, 0xe7, 0x85, 0x9d, 0x38, 0x7b, 0xa9, 0xad, 0x21, 0xe0, 0x58, 0x51, - 0xa0, 0x97, 0x60, 0x22, 0xf6, 0x82, 0x16, 0x91, 0xc1, 0x04, 0x43, 0x2c, 0x98, 0x80, 0x27, 0xdd, - 0xd3, 0xe0, 0xd8, 0xa0, 0x42, 0xb7, 0xa0, 0xc6, 0xfe, 0xb3, 0xd9, 0xd3, 0x6f, 0x56, 0x72, 0x9e, - 0x75, 0x4a, 0x16, 0xc7, 0x29, 0x27, 0x74, 0x09, 0x20, 0x91, 0x41, 0x0f, 0xb1, 0xc8, 0x9e, 0xa1, - 0xac, 0x51, 0x15, 0x0e, 0x11, 0x63, 0x8d, 0x0a, 0x3d, 0x0f, 0xb5, 0xc4, 0xf1, 0xfc, 0x6b, 0x5e, - 0x40, 0x62, 0x11, 0x30, 0x22, 0xd2, 0xc6, 0x0a, 0x20, 0x4e, 0xf1, 0x74, 0x9d, 0x67, 0x97, 0x69, - 0xf9, 0x6b, 0x07, 0x63, 0x8c, 0x9a, 0xad, 0xf3, 0xd7, 0x14, 0x14, 0x6b, 0x14, 0xf6, 0x8b, 0x6c, - 0xbd, 0xee, 0x33, 0xda, 0xfe, 0x27, 0x15, 0x40, 0x0d, 0x16, 0x5c, 0x61, 0x3c, 0x08, 0xb1, 0x03, - 0x53, 0x31, 0xb9, 0xe6, 0x05, 0x9d, 0xfb, 0x82, 0x55, 0xb9, 0xcb, 0x0d, 0xcd, 0x55, 0xbd, 0x0c, - 0xbf, 0x43, 0x6a, 0xc2, 0x70, 0x86, 0x2f, 0x1d, 0x92, 0xa8, 0x13, 0x2c, 0xc5, 0xb7, 0x62, 0x12, - 0x89, 0x27, 0x1d, 0xd8, 0x90, 0x60, 0x09, 0xc4, 0x29, 0x9e, 0x0a, 0x00, 0xfb, 0x73, 0x23, 0x0c, - 0x70, 0x18, 0x26, 0x52, 0x64, 0x58, 0xa2, 0x6f, 0x0d, 0x8e, 0x0d, 0x2a, 0xb4, 0x06, 0x28, 0xee, - 0xb4, 0xdb, 0x3e, 0x3b, 0xc5, 0x72, 0xfc, 0xcb, 0x51, 0xd8, 0x69, 0xf3, 0xc8, 0x5a, 0x91, 0x23, - 0xbb, 0xd9, 0x85, 0xc5, 0x39, 0x25, 0xe8, 0x74, 0xdf, 0x8a, 0xd9, 0x6f, 0x71, 0x47, 0x96, 0x7b, - 0xd4, 0x9a, 0x0c, 0x84, 0x25, 0xce, 0xfe, 0x1a, 0x5b, 0x9e, 0x58, 0xb6, 0xfd, 0xa4, 0x13, 0x11, - 0x74, 0x17, 0x26, 0xdb, 0x6c, 0x09, 0x4a, 0xa2, 0xd0, 0xf7, 0x49, 0x54, 0xfc, 0x6e, 0x51, 0xcf, - 0xf0, 0x0e, 0x9e, 0x61, 0x5b, 0x67, 0x86, 0x4d, 0xde, 0xf6, 0x3f, 0x1c, 0x67, 0xba, 0x46, 0x1c, - 0x23, 0x8e, 0x8a, 0xe0, 0x4d, 0x61, 0x85, 0x7d, 0xac, 0xcc, 0x0b, 0x33, 0xa9, 0x1e, 0x17, 0xa1, - 0xa0, 0x58, 0x72, 0x41, 0x5f, 0x64, 0xa1, 0xc9, 0x7c, 0x8a, 0x97, 0x7f, 0xf6, 0x89, 0xd3, 0x1b, - 0x61, 0xc9, 0x82, 0x05, 0xd6, 0xd8, 0xa1, 0x6b, 0x30, 0x29, 0xd2, 0xb3, 0x0b, 0x87, 0x40, 0xd5, - 0xd8, 0x14, 0x4f, 0x62, 0x1d, 0x79, 0x94, 0x05, 0x60, 0xb3, 0x30, 0xda, 0x86, 0x27, 0xb5, 0xa7, - 0x5a, 0x72, 0x02, 0x91, 0xb8, 0xee, 0xf8, 0xe8, 0xe1, 0xc1, 0xfc, 0x93, 0x1b, 0xc7, 0x11, 0xe2, - 0xe3, 0xf9, 0xa0, 0x9b, 0x70, 0xda, 0x69, 0x25, 0xde, 0x1e, 0xa9, 0x13, 0xc7, 0xf5, 0xbd, 0x80, - 0x98, 0xd7, 0xa8, 0x1f, 0x3f, 0x3c, 0x98, 0x3f, 0xbd, 0x94, 0x47, 0x80, 0xf3, 0xcb, 0xa1, 0xd7, - 0xa1, 0xe6, 0x06, 0xb1, 0x18, 0x83, 0x11, 0xe3, 0x55, 0x9a, 0x5a, 0xfd, 0x46, 0x53, 0xf5, 0x3f, - 0xfd, 0x83, 0xd3, 0x02, 0xe8, 0x1d, 0xfe, 0x4c, 0xae, 0xda, 0x87, 0xf0, 0xd7, 0x90, 0x5e, 0x29, - 0xb5, 0xf3, 0x35, 0xae, 0x3d, 0x70, 0x5f, 0x99, 0x0a, 0xf5, 0x33, 0x6e, 0x44, 0x18, 0x55, 0xa0, - 0xcf, 0x01, 0x8a, 0x49, 0xb4, 0xe7, 0xb5, 0xc8, 0x52, 0x8b, 0xe5, 0x9d, 0x64, 0x47, 0x72, 0x63, - 0x46, 0xbc, 0x3b, 0x6a, 0x76, 0x51, 0xe0, 0x9c, 0x52, 0xe8, 0x0a, 0xd5, 0x3b, 0x3a, 0x54, 0x44, - 0x66, 0x4a, 0xa3, 0x6e, 0xb6, 0x4e, 0xda, 0x11, 0x69, 0x39, 0x09, 0x71, 0x4d, 0x8e, 0x38, 0x53, - 0x8e, 0xae, 0x2c, 0x2a, 0x8d, 0x36, 0x98, 0xf1, 0x84, 0xdd, 0xa9, 0xb4, 0xe9, 0x1e, 0x69, 0x27, - 0x8c, 0x93, 0x1b, 0x24, 0xb9, 0x17, 0x46, 0x77, 0x99, 0x8f, 0x7d, 0x4c, 0x4b, 0xe4, 0x95, 0xa2, - 0xb0, 0x4e, 0x47, 0x6d, 0x20, 0x76, 0xb8, 0xb3, 0x5e, 0x67, 0x9e, 0xf3, 0xb1, 0x74, 0xee, 0x5c, - 0xe1, 0x60, 0x2c, 0xf1, 0x92, 0x74, 0xbd, 0xb1, 0xc2, 0xbc, 0xe0, 0x19, 0xd2, 0xf5, 0xc6, 0x0a, - 0x96, 0x78, 0x14, 0x76, 0xbf, 0xfd, 0x33, 0x55, 0xe6, 0x44, 0xa2, 0x5b, 0x8f, 0x97, 0x7c, 0xfe, - 0xe7, 0x3e, 0xcc, 0xa8, 0xf7, 0x87, 0x78, 0x86, 0xc5, 0x78, 0x76, 0xba, 0xcc, 0x23, 0xbd, 0xb9, - 0x89, 0x1a, 0x55, 0x28, 0xee, 0x7a, 0x86, 0x27, 0xee, 0xaa, 0xc5, 0x48, 0x07, 0x30, 0x53, 0x98, - 0x1a, 0x7d, 0x11, 0x6a, 0x71, 0x67, 0xd3, 0x0d, 0x77, 0x1d, 0x2f, 0x60, 0xae, 0x6a, 0xfd, 0xc9, - 0x59, 0x89, 0xc0, 0x29, 0x0d, 0x6a, 0xc0, 0x98, 0x23, 0x5f, 0x5b, 0x46, 0x65, 0x2e, 0x10, 0xab, - 0x67, 0x96, 0x99, 0x1f, 0x53, 0xbd, 0xaf, 0xac, 0xb8, 0xcc, 0x7d, 0x06, 0x4e, 0x74, 0xcd, 0x92, - 0xbe, 0xa2, 0xd2, 0x7e, 0x3c, 0x04, 0x35, 0xe5, 0x1e, 0x42, 0x8b, 0xa6, 0x07, 0xf0, 0xf1, 0xac, - 0x07, 0x70, 0x8c, 0xae, 0xe8, 0xba, 0xd3, 0xef, 0x4b, 0x39, 0xaf, 0x58, 0x3e, 0x57, 0x28, 0x16, - 0xe5, 0x2f, 0x87, 0xf4, 0xf1, 0xc6, 0x67, 0xba, 0x51, 0x18, 0x3a, 0x76, 0xa3, 0x50, 0xf2, 0xa9, - 0x22, 0xba, 0x25, 0x68, 0x87, 0xee, 0x7a, 0x23, 0xfb, 0x1e, 0x47, 0x83, 0x02, 0x31, 0xc7, 0x31, - 0x63, 0x8e, 0xaa, 0x79, 0x66, 0xcc, 0x8d, 0x3e, 0x90, 0x31, 0x27, 0x8b, 0xe3, 0x94, 0x13, 0xda, - 0x83, 0x13, 0x2d, 0xf3, 0x71, 0x15, 0x75, 0xe1, 0xe3, 0x85, 0x3e, 0x1e, 0x37, 0xe9, 0x68, 0x89, - 0xe4, 0x57, 0xb2, 0xfc, 0x70, 0x77, 0x15, 0xe8, 0x35, 0x18, 0x7b, 0x27, 0x8c, 0x57, 0x7c, 0x27, - 0x8e, 0x85, 0xa6, 0x93, 0xc1, 0xf5, 0x63, 0x6f, 0xde, 0x6c, 0x32, 0xf8, 0x11, 0x7f, 0x55, 0x5c, - 0xfe, 0xc5, 0xaa, 0x80, 0xfd, 0x23, 0xee, 0x88, 0x12, 0x9b, 0x53, 0x12, 0x77, 0xfc, 0x41, 0xe6, - 0x95, 0xbe, 0x69, 0xec, 0x97, 0x1f, 0x82, 0x0b, 0xf4, 0x77, 0x2d, 0xe6, 0x02, 0xdd, 0x20, 0xbb, - 0x6d, 0xdf, 0x49, 0x06, 0x19, 0x27, 0xf8, 0x45, 0x18, 0x4b, 0x44, 0x2d, 0xe5, 0x92, 0x61, 0x6b, - 0xcd, 0x62, 0x2e, 0x61, 0xa5, 0x94, 0x24, 0x14, 0x2b, 0x86, 0xf6, 0x6f, 0xf3, 0xaf, 0x20, 0x31, - 0x03, 0xdf, 0xe5, 0xdd, 0x30, 0x77, 0x79, 0xcf, 0x96, 0xee, 0x49, 0xaf, 0xdd, 0x9e, 0xd9, 0x7e, - 0x66, 0x39, 0x7e, 0xf8, 0x3d, 0xf2, 0xf6, 0x75, 0x30, 0x9f, 0x9a, 0x41, 0xaf, 0xf3, 0x28, 0x5b, - 0xae, 0x48, 0x9f, 0xeb, 0x33, 0xc2, 0xd6, 0xfe, 0x5e, 0x05, 0x4e, 0xe5, 0x3d, 0x39, 0x8f, 0x5c, - 0x98, 0x68, 0x6b, 0xd6, 0x7c, 0xb9, 0x04, 0x0a, 0xba, 0xfd, 0x9f, 0xda, 0x50, 0x3a, 0x14, 0x1b, - 0x5c, 0xd1, 0x26, 0x4c, 0x90, 0x3d, 0xaf, 0xa5, 0x9c, 0x3c, 0x95, 0x3e, 0x35, 0x9b, 0xaa, 0x63, - 0x55, 0xe3, 0x82, 0x0d, 0x9e, 0x03, 0xc8, 0xd4, 0x6e, 0xff, 0x53, 0x0b, 0x1e, 0xeb, 0x91, 0x62, - 0x81, 0x56, 0x77, 0x8f, 0x79, 0x41, 0xc5, 0x3b, 0x46, 0xaa, 0x3a, 0xee, 0x1b, 0xc5, 0x02, 0x8b, - 0x36, 0x01, 0xb8, 0x6f, 0x93, 0xbd, 0xe9, 0x5a, 0x29, 0x13, 0x80, 0xd0, 0x75, 0xa1, 0x59, 0xbb, - 0xeb, 0xaa, 0x5e, 0x71, 0xd5, 0xb8, 0xda, 0xdf, 0xad, 0xc2, 0x30, 0x7f, 0x56, 0xb2, 0x01, 0xa3, - 0x3b, 0x3c, 0x91, 0x63, 0x7f, 0x79, 0x24, 0x53, 0x6b, 0x8d, 0x03, 0xb0, 0x64, 0x83, 0xae, 0xc3, - 0x49, 0x6a, 0x1a, 0x78, 0x8e, 0x5f, 0x27, 0xbe, 0xb3, 0x2f, 0xcd, 0x7f, 0x9e, 0xc4, 0x5b, 0xe6, - 0x9b, 0x3d, 0xb9, 0xde, 0x4d, 0x82, 0xf3, 0xca, 0xa1, 0x37, 0xba, 0xf2, 0x31, 0xf1, 0x04, 0x99, - 0xea, 0x8a, 0xd4, 0xf1, 0x39, 0x99, 0xd0, 0x6b, 0x30, 0xd9, 0xee, 0xda, 0xe8, 0x68, 0xef, 0x11, - 0x9a, 0x9b, 0x1b, 0x93, 0x16, 0xd5, 0x61, 0x26, 0xee, 0xb0, 0xe3, 0xe0, 0x8d, 0x9d, 0x88, 0xc4, - 0x3b, 0xa1, 0xef, 0x8a, 0x07, 0xb5, 0x94, 0x51, 0xd7, 0xcc, 0xe0, 0x71, 0x57, 0x09, 0xca, 0x65, - 0xcb, 0xf1, 0xfc, 0x4e, 0x44, 0x52, 0x2e, 0x23, 0x26, 0x97, 0xb5, 0x0c, 0x1e, 0x77, 0x95, 0xb0, - 0xff, 0xd4, 0x82, 0x93, 0x39, 0x31, 0x13, 0x3c, 0x8e, 0x6f, 0xdb, 0x8b, 0x13, 0x95, 0xaa, 0x59, - 0x8b, 0xe3, 0xe3, 0x70, 0xac, 0x28, 0xa8, 0x14, 0xf2, 0xdd, 0x6b, 0xf6, 0x2c, 0x52, 0x9c, 0x0a, - 0x0b, 0x6c, 0x7f, 0xd9, 0x95, 0xd4, 0xbb, 0xf8, 0x43, 0x3d, 0xdf, 0xc5, 0x7f, 0x0a, 0x86, 0xb7, - 0x95, 0xa7, 0x40, 0x33, 0x66, 0xb8, 0xaf, 0x80, 0xe3, 0xec, 0x6f, 0x55, 0x61, 0x3a, 0x13, 0x3b, - 0x45, 0x1b, 0x92, 0x79, 0xbe, 0x9f, 0xb9, 0x37, 0x56, 0x48, 0x7b, 0x27, 0xe7, 0x09, 0xff, 0x67, - 0xcc, 0x37, 0x7e, 0xd3, 0x36, 0x2f, 0xd7, 0x8d, 0x67, 0xcc, 0xca, 0xa6, 0x8f, 0x7f, 0x0a, 0x86, - 0xda, 0xa1, 0x7a, 0x8c, 0x52, 0x09, 0x3d, 0x5e, 0xae, 0x37, 0xc2, 0xd0, 0xc7, 0x0c, 0x89, 0x9e, - 0x16, 0xbd, 0xcf, 0xb8, 0x48, 0xb1, 0xe3, 0x86, 0xb1, 0x36, 0x04, 0xcf, 0xc2, 0xe8, 0x5d, 0xb2, - 0x1f, 0x79, 0xc1, 0x76, 0xd6, 0x41, 0x7c, 0x95, 0x83, 0xb1, 0xc4, 0x9b, 0x29, 0xe2, 0x47, 0x07, - 0x9c, 0x22, 0x7e, 0xac, 0x30, 0xf8, 0xf3, 0x37, 0x2d, 0x98, 0x66, 0x29, 0xee, 0xc4, 0xed, 0x53, - 0x2f, 0x0c, 0x06, 0xb8, 0x24, 0x3e, 0x05, 0xc3, 0x11, 0xad, 0x2c, 0x9b, 0xdd, 0x99, 0xb5, 0x00, - 0x73, 0x1c, 0x7a, 0x42, 0xbc, 0x93, 0x4e, 0x3f, 0xdf, 0x04, 0xcf, 0x96, 0x9b, 0x3e, 0x78, 0xce, - 0x2e, 0x15, 0x60, 0xd2, 0xf6, 0x3d, 0xde, 0xd8, 0xd4, 0x1f, 0xf4, 0x61, 0xb9, 0x54, 0x90, 0xdb, - 0xb8, 0x87, 0x75, 0xa9, 0x20, 0x9f, 0xf9, 0xf1, 0xc6, 0xe7, 0xff, 0xa8, 0xc0, 0xd9, 0xdc, 0x72, - 0xe9, 0xb1, 0xd2, 0x9a, 0x71, 0xac, 0x74, 0x29, 0x73, 0xac, 0x64, 0x1f, 0x5f, 0xfa, 0xe1, 0x1c, - 0x34, 0xe5, 0x9f, 0x00, 0x55, 0x1f, 0xd9, 0x09, 0xd0, 0x50, 0x59, 0x43, 0x61, 0xb8, 0xc0, 0x50, - 0xf8, 0xa9, 0x05, 0x8f, 0xe7, 0x0e, 0xd8, 0x87, 0xec, 0x0e, 0x47, 0x6e, 0x1b, 0x7b, 0x18, 0xce, - 0x7f, 0xbb, 0xda, 0xa3, 0x4f, 0xcc, 0x84, 0x3e, 0x4f, 0x35, 0x0e, 0x43, 0xc6, 0xc2, 0x00, 0x9a, - 0xe0, 0xda, 0x86, 0xc3, 0xb0, 0xc2, 0xa2, 0x58, 0xbb, 0x03, 0xc1, 0x1b, 0xb9, 0xfa, 0x80, 0x93, - 0x69, 0xc1, 0x74, 0xde, 0xe9, 0x17, 0x68, 0x33, 0x77, 0x23, 0xd0, 0x1d, 0x6d, 0x4b, 0x54, 0x7d, - 0x90, 0x2d, 0xd1, 0x44, 0xfe, 0x76, 0x08, 0x2d, 0xc1, 0xf4, 0xae, 0x17, 0xb0, 0xf7, 0xd2, 0x4c, - 0x0b, 0x44, 0x5d, 0x3b, 0xbb, 0x6e, 0xa2, 0x71, 0x96, 0x7e, 0xee, 0x35, 0x98, 0x7c, 0x70, 0xff, - 0xca, 0xfb, 0x55, 0xf8, 0xb9, 0x63, 0x14, 0x02, 0x5f, 0x09, 0x8c, 0xef, 0xa2, 0xad, 0x04, 0x5d, - 0xdf, 0xa6, 0x01, 0xa7, 0xb6, 0x3a, 0xbe, 0xbf, 0xcf, 0x02, 0x32, 0x88, 0x2b, 0x29, 0x84, 0x75, - 0xa7, 0x5e, 0x32, 0x5d, 0xcb, 0xa1, 0xc1, 0xb9, 0x25, 0xd1, 0xe7, 0x00, 0x85, 0x9b, 0x2c, 0xe9, - 0xa3, 0x9b, 0x5e, 0x11, 0x66, 0x9f, 0xa0, 0x9a, 0x4e, 0xd4, 0x9b, 0x5d, 0x14, 0x38, 0xa7, 0x14, - 0xb5, 0xf5, 0xd8, 0x23, 0xa8, 0xaa, 0x59, 0x19, 0x5b, 0x0f, 0xeb, 0x48, 0x6c, 0xd2, 0xa2, 0xcb, - 0x70, 0xc2, 0xd9, 0x73, 0x3c, 0x9e, 0xde, 0x45, 0x32, 0xe0, 0xc6, 0x9e, 0xf2, 0x61, 0x2c, 0x65, - 0x09, 0x70, 0x77, 0x19, 0xd4, 0x36, 0x5c, 0x52, 0x3c, 0xbd, 0xf3, 0xeb, 0x0f, 0x20, 0xc1, 0xa5, - 0x9d, 0x54, 0xf6, 0x9f, 0x58, 0x74, 0xb9, 0xcb, 0x79, 0x62, 0xcc, 0x78, 0x8d, 0x5b, 0xbb, 0x19, - 0xd2, 0xfd, 0x1a, 0x37, 0xf3, 0xff, 0x9a, 0xb4, 0x5c, 0x34, 0xe2, 0x34, 0x9a, 0xd3, 0xb0, 0x2c, - 0xc5, 0x75, 0x28, 0x45, 0x81, 0xee, 0xc0, 0xa8, 0xeb, 0xed, 0x79, 0x71, 0x18, 0x95, 0x78, 0x05, - 0xb7, 0x2b, 0x42, 0x30, 0xd5, 0x95, 0x75, 0xce, 0x04, 0x4b, 0x6e, 0xf6, 0xdf, 0xa9, 0xc0, 0xa4, - 0xac, 0xef, 0xcd, 0x4e, 0xc8, 0x74, 0xd8, 0xa0, 0x16, 0xf1, 0x37, 0x8d, 0x45, 0x7c, 0xb1, 0xdc, - 0x9d, 0x30, 0xd6, 0xa8, 0x9e, 0x8b, 0xf7, 0xe7, 0x33, 0x8b, 0xf7, 0xc5, 0x7e, 0x98, 0x1e, 0xbf, - 0x68, 0xff, 0x3b, 0x0b, 0x4e, 0x18, 0xf4, 0x1f, 0x96, 0x0c, 0xc3, 0x79, 0x7d, 0xe9, 0xb1, 0x6a, - 0x7c, 0xb7, 0x92, 0xe9, 0x03, 0x5b, 0x2d, 0xbe, 0x06, 0x43, 0x3b, 0x4e, 0xe4, 0x96, 0xcb, 0x6e, - 0xd6, 0x55, 0x7c, 0xe1, 0x8a, 0x13, 0xb9, 0x5c, 0xe7, 0x5f, 0x50, 0x8f, 0xa0, 0x38, 0x91, 0x5b, - 0x18, 0xd8, 0xcc, 0x2a, 0x45, 0xaf, 0xc2, 0x48, 0xdc, 0x0a, 0xdb, 0x2a, 0x98, 0xec, 0x1c, 0x7f, - 0x20, 0x85, 0x42, 0x8e, 0x0e, 0xe6, 0x91, 0x59, 0x1d, 0x05, 0x63, 0x41, 0x3f, 0x47, 0xa0, 0xa6, - 0xaa, 0x1e, 0x60, 0x08, 0xed, 0xfb, 0x55, 0x38, 0x99, 0x23, 0x27, 0xe8, 0xe7, 0x8d, 0x51, 0x7b, - 0xad, 0x6f, 0x41, 0xfb, 0x80, 0xe3, 0xf6, 0xf3, 0x6c, 0x1f, 0xe4, 0x0a, 0xd9, 0x78, 0x80, 0xea, - 0x6f, 0xc5, 0x24, 0x5b, 0x3d, 0x05, 0x15, 0x57, 0x4f, 0xab, 0x7d, 0x44, 0x83, 0x4f, 0xab, 0x51, - 0xed, 0x1c, 0xe0, 0x37, 0x7e, 0x6f, 0x08, 0x4e, 0xe5, 0x5d, 0x3a, 0x45, 0xbf, 0x64, 0x65, 0x12, - 0x94, 0xbf, 0xd1, 0xff, 0xcd, 0x55, 0x9e, 0xb5, 0x5c, 0xa4, 0x64, 0x58, 0x30, 0x53, 0x96, 0x17, - 0x8e, 0xb6, 0xa8, 0x9d, 0x5d, 0x46, 0x88, 0x78, 0xa2, 0x79, 0xa9, 0x0f, 0x3e, 0xfb, 0x00, 0x4d, - 0x11, 0xb9, 0xea, 0xe3, 0xcc, 0x65, 0x04, 0x09, 0x2e, 0xbe, 0x8c, 0x20, 0xdb, 0x30, 0xb7, 0x0d, - 0xe3, 0x5a, 0xbf, 0x06, 0x28, 0x02, 0x1e, 0x5d, 0x90, 0xb4, 0x56, 0x0f, 0x50, 0x0c, 0xfe, 0x9e, - 0x05, 0x99, 0x88, 0x11, 0xe5, 0x6c, 0xb1, 0x7a, 0x3a, 0x5b, 0xce, 0xc1, 0x50, 0x14, 0xfa, 0x24, - 0x9b, 0x3c, 0x1b, 0x87, 0x3e, 0xc1, 0x0c, 0xa3, 0x5e, 0x42, 0xac, 0xf6, 0x7a, 0x09, 0x91, 0xee, - 0xc2, 0x7d, 0xb2, 0x47, 0xa4, 0xeb, 0x43, 0x29, 0xef, 0x6b, 0x14, 0x88, 0x39, 0xce, 0xfe, 0xfd, - 0x2a, 0x8c, 0x70, 0xff, 0xc2, 0x00, 0xd7, 0xe4, 0x86, 0xd8, 0xea, 0x97, 0xba, 0x04, 0xca, 0x5b, - 0xb3, 0x50, 0x77, 0x12, 0x87, 0x0b, 0x94, 0xea, 0x5b, 0xea, 0x1e, 0x40, 0x0b, 0x46, 0xef, 0xe7, - 0x32, 0x3b, 0x59, 0xe0, 0x3c, 0xb4, 0xb1, 0xd8, 0x01, 0x88, 0xd9, 0xab, 0x5b, 0x94, 0x87, 0x48, - 0x41, 0xf7, 0x52, 0xa9, 0x76, 0x34, 0x55, 0x31, 0xde, 0x9a, 0x34, 0xf7, 0x95, 0x42, 0x60, 0x8d, - 0xf7, 0xdc, 0x2b, 0x50, 0x53, 0xc4, 0x45, 0x66, 0xfe, 0x84, 0x2e, 0x92, 0x7f, 0x05, 0xa6, 0x33, - 0x75, 0xf5, 0xb5, 0x4b, 0xf8, 0xa1, 0x05, 0x27, 0xba, 0x9e, 0x6f, 0x45, 0xef, 0x59, 0x70, 0xca, - 0xcf, 0x71, 0x2c, 0x15, 0x47, 0xec, 0xf4, 0x74, 0x49, 0xa9, 0x2d, 0x42, 0x1e, 0x16, 0xe7, 0xd6, - 0x26, 0x93, 0x6a, 0x56, 0xf2, 0x93, 0x6a, 0xda, 0xdf, 0xb3, 0x40, 0x7c, 0xb2, 0x81, 0x9b, 0x3f, - 0xeb, 0xa6, 0xf9, 0xf3, 0xb1, 0x32, 0x32, 0xd0, 0xc3, 0xee, 0xf9, 0x8f, 0x16, 0x20, 0x4e, 0x90, - 0x7d, 0x7a, 0x8f, 0x7b, 0xe9, 0x34, 0x6b, 0x3d, 0x15, 0x1a, 0x85, 0xc1, 0x1a, 0x55, 0x9f, 0xf9, - 0xd5, 0xd5, 0x93, 0x55, 0xe5, 0x5e, 0xab, 0xaf, 0x96, 0x78, 0xad, 0xfe, 0x77, 0xab, 0x90, 0x0d, - 0xaa, 0x40, 0x5f, 0x81, 0x89, 0x96, 0xd3, 0x76, 0x36, 0x3d, 0xdf, 0x4b, 0x3c, 0x12, 0x97, 0x3b, - 0x27, 0x5a, 0xd1, 0x4a, 0x08, 0x3f, 0xaf, 0x06, 0xc1, 0x06, 0x47, 0xb4, 0x00, 0xd0, 0x8e, 0xbc, - 0x3d, 0xcf, 0x27, 0xdb, 0xcc, 0xe8, 0x60, 0x71, 0x95, 0xfc, 0xd0, 0x43, 0x42, 0xb1, 0x46, 0x91, - 0x13, 0xc3, 0x57, 0x7d, 0x14, 0x31, 0x7c, 0x43, 0x7d, 0xc6, 0xf0, 0x0d, 0x97, 0x8a, 0xe1, 0xc3, - 0x70, 0x46, 0xba, 0x67, 0xe9, 0xff, 0x35, 0xcf, 0x27, 0x3c, 0x85, 0x9e, 0x88, 0xbc, 0x9c, 0x3b, - 0x3c, 0x98, 0x3f, 0x83, 0x73, 0x29, 0x70, 0x8f, 0x92, 0x76, 0x07, 0x4e, 0x36, 0x49, 0xe4, 0xb1, - 0x0c, 0x47, 0x6e, 0x3a, 0xfd, 0xbe, 0x04, 0xb5, 0x28, 0x33, 0xf3, 0xfb, 0xbc, 0x04, 0xa7, 0xe5, - 0xc9, 0x90, 0x33, 0x3d, 0x65, 0x69, 0xff, 0xf5, 0x0a, 0x8c, 0x8a, 0xe0, 0xa5, 0x01, 0xae, 0x22, - 0x57, 0x8d, 0x9d, 0xdd, 0xb3, 0x45, 0x33, 0x97, 0x35, 0xa7, 0xe7, 0x9e, 0xae, 0x99, 0xd9, 0xd3, - 0x3d, 0x5f, 0x8e, 0xdd, 0xf1, 0xbb, 0xb9, 0xdf, 0xa9, 0xc0, 0x94, 0x19, 0xc4, 0x35, 0xc0, 0xe1, - 0x78, 0x0b, 0x46, 0x63, 0x11, 0xd9, 0x54, 0x29, 0x13, 0xd6, 0x91, 0xfd, 0xa4, 0xe9, 0xcb, 0xf7, - 0x22, 0x96, 0x49, 0xb2, 0xcb, 0x0d, 0x9e, 0xaa, 0x3e, 0x8a, 0xe0, 0x29, 0xfb, 0xdf, 0x33, 0x95, - 0xaa, 0x0f, 0xe0, 0xc0, 0x17, 0x84, 0x37, 0x4d, 0xd5, 0x7b, 0xa1, 0x94, 0x1c, 0x88, 0xc6, 0xf5, - 0x58, 0x18, 0xfe, 0xb5, 0x05, 0xe3, 0x82, 0x70, 0xe0, 0xcd, 0xff, 0x9c, 0xd9, 0xfc, 0xa7, 0x4b, - 0x35, 0xbf, 0x47, 0xbb, 0xff, 0x41, 0x45, 0xb5, 0xbb, 0x21, 0x1e, 0x23, 0x2d, 0xcc, 0xa6, 0x38, - 0xd6, 0x8e, 0xc2, 0x24, 0x6c, 0x85, 0xbe, 0x58, 0xdc, 0x9f, 0x48, 0x83, 0xdd, 0x39, 0xfc, 0x48, - 0xfb, 0x8d, 0x15, 0x35, 0x8b, 0xe3, 0x0e, 0xa3, 0x44, 0x2c, 0x4e, 0x79, 0x4f, 0xa1, 0x6e, 0xca, - 0xa7, 0xa6, 0x29, 0x4c, 0xdc, 0x11, 0xe9, 0xf7, 0x89, 0xd5, 0x34, 0x7a, 0x5d, 0x71, 0xc2, 0x1a, - 0x57, 0x19, 0x52, 0xc9, 0x6a, 0x18, 0x36, 0x5d, 0xa7, 0x37, 0x04, 0x1c, 0x2b, 0x0a, 0xfb, 0x15, - 0xa6, 0x5d, 0xd9, 0xf0, 0xf4, 0x17, 0x92, 0xfe, 0x2b, 0x23, 0x6a, 0x60, 0x99, 0x6f, 0xe4, 0x06, - 0x0c, 0xd3, 0x2e, 0xca, 0xed, 0x5f, 0x39, 0x55, 0x46, 0x9b, 0xa0, 0x87, 0x90, 0x45, 0x49, 0x8c, - 0x39, 0x1b, 0x44, 0xba, 0xfc, 0xed, 0xaf, 0x94, 0xd6, 0x8e, 0x7d, 0x78, 0xd8, 0x59, 0x82, 0x1a, - 0x96, 0x97, 0x63, 0xbd, 0x91, 0xcd, 0x80, 0xb9, 0x22, 0x11, 0x38, 0xa5, 0x41, 0x8b, 0xc2, 0x4a, - 0x37, 0x5f, 0xaa, 0x95, 0x56, 0xba, 0x1c, 0x12, 0xcd, 0x4c, 0xbf, 0x08, 0xe3, 0x2a, 0x07, 0x78, - 0x83, 0xa7, 0x72, 0xae, 0x71, 0xcb, 0x65, 0x35, 0x05, 0x63, 0x9d, 0x06, 0xad, 0xc3, 0x49, 0x57, - 0x45, 0xd0, 0x36, 0x3a, 0x9b, 0xbe, 0xd7, 0xa2, 0x45, 0xf9, 0xed, 0x95, 0xc7, 0x0e, 0x0f, 0xe6, - 0x4f, 0xd6, 0xbb, 0xd1, 0x38, 0xaf, 0x0c, 0xda, 0x80, 0xe9, 0x98, 0xe7, 0x3a, 0x97, 0x61, 0x92, - 0x22, 0x45, 0xdc, 0x73, 0xd2, 0xd1, 0xdf, 0x34, 0xd1, 0x47, 0x0c, 0xc4, 0x35, 0x82, 0x0c, 0xac, - 0xcc, 0xb2, 0x40, 0x6f, 0xc0, 0x94, 0xaf, 0x3f, 0xd7, 0xd4, 0x10, 0x81, 0xc4, 0x2a, 0xfc, 0xc1, - 0x78, 0xcc, 0xa9, 0x81, 0x33, 0xd4, 0xe8, 0x2d, 0x98, 0xd5, 0x21, 0xe2, 0xfe, 0xbc, 0x13, 0x6c, - 0x93, 0x58, 0x24, 0x59, 0x7e, 0xe2, 0xf0, 0x60, 0x7e, 0xf6, 0x5a, 0x0f, 0x1a, 0xdc, 0xb3, 0x34, - 0x7a, 0x15, 0x26, 0xe4, 0x48, 0x6a, 0x41, 0xc5, 0x69, 0xe0, 0x8d, 0x86, 0xc3, 0x06, 0xe5, 0x07, - 0x3b, 0xcf, 0xf8, 0x1a, 0x2d, 0xac, 0x2d, 0xa7, 0xe8, 0xab, 0x30, 0xa1, 0xb7, 0x51, 0xe8, 0xc8, - 0x4f, 0x94, 0x7f, 0x02, 0x4b, 0x2c, 0xcb, 0xaa, 0xe5, 0x3a, 0x0e, 0x1b, 0xbc, 0xed, 0x9b, 0x30, - 0xd2, 0xdc, 0x8f, 0x5b, 0x89, 0xff, 0xb0, 0x1e, 0x29, 0x6e, 0xc1, 0x74, 0xe6, 0x35, 0x5f, 0xf5, - 0x2c, 0xb4, 0xf5, 0xb0, 0x9e, 0x85, 0xb6, 0xbf, 0x6e, 0xc1, 0xf0, 0x86, 0xe3, 0x15, 0x3f, 0x4f, - 0x50, 0xa6, 0xc9, 0xe8, 0x65, 0x18, 0x21, 0x5b, 0x5b, 0xa4, 0x25, 0x9f, 0x99, 0x7e, 0x52, 0x9a, - 0x33, 0xab, 0x0c, 0x4a, 0xa7, 0x26, 0xab, 0x8c, 0xff, 0xc5, 0x82, 0xd8, 0xfe, 0x4f, 0x16, 0xc0, - 0x46, 0xe8, 0xcb, 0xa3, 0x9a, 0x82, 0x96, 0x2c, 0x77, 0x3d, 0x94, 0xf0, 0x4c, 0xce, 0x43, 0x09, - 0x28, 0x65, 0x98, 0xf3, 0x4c, 0x82, 0xea, 0x4d, 0xb5, 0x54, 0x6f, 0x86, 0xfa, 0xe9, 0xcd, 0x37, - 0x2d, 0x10, 0x11, 0x33, 0x25, 0x24, 0xc1, 0x95, 0xc9, 0xcd, 0x8d, 0xcc, 0x18, 0xcf, 0x95, 0xb9, - 0x7c, 0x22, 0xf2, 0x61, 0x28, 0xd9, 0x34, 0xb2, 0x60, 0x18, 0x5c, 0xe9, 0x16, 0x7e, 0x9c, 0xa3, - 0xaf, 0x33, 0xdb, 0xb1, 0xb8, 0x5d, 0x7d, 0x65, 0x00, 0x63, 0xb9, 0xbf, 0x29, 0x63, 0x95, 0x0b, - 0x4a, 0xcf, 0xfd, 0x2d, 0x11, 0x38, 0xa5, 0x41, 0xcf, 0xc2, 0x68, 0xdc, 0xd9, 0x64, 0xe4, 0x99, - 0xf0, 0x99, 0x26, 0x07, 0x63, 0x89, 0xb7, 0x7f, 0x11, 0x81, 0xd1, 0x35, 0x23, 0xef, 0x94, 0xf5, - 0xd0, 0xf3, 0x4e, 0xbd, 0x0d, 0x63, 0x64, 0xb7, 0x9d, 0xec, 0xd7, 0xbd, 0xa8, 0x5c, 0xf6, 0xbf, - 0x55, 0x41, 0xdd, 0xcd, 0x5d, 0x62, 0xb0, 0xe2, 0xd8, 0x23, 0x8b, 0x58, 0xf5, 0x43, 0x91, 0x45, - 0x6c, 0xe8, 0x2f, 0x24, 0x8b, 0xd8, 0x5b, 0x30, 0xba, 0xed, 0x25, 0x98, 0xb4, 0x43, 0x71, 0xdf, - 0xb0, 0xe0, 0x0c, 0xec, 0x32, 0x27, 0xee, 0x4e, 0x0d, 0x24, 0x10, 0x58, 0xb2, 0x43, 0x1b, 0x30, - 0xc2, 0xf7, 0x1d, 0x22, 0x31, 0xd7, 0x27, 0xca, 0x78, 0x64, 0xba, 0x73, 0x54, 0x89, 0x18, 0x29, - 0xc1, 0x4b, 0x66, 0x0d, 0x1b, 0xfd, 0xe0, 0x59, 0xc3, 0x54, 0xae, 0xaf, 0xb1, 0x87, 0x95, 0xeb, - 0xcb, 0xc8, 0x99, 0x56, 0x1b, 0x44, 0xce, 0xb4, 0x6f, 0x5a, 0x70, 0xba, 0x9d, 0x97, 0x6f, 0x50, - 0x64, 0xed, 0xfa, 0xcc, 0x03, 0xe4, 0x5f, 0x34, 0xaa, 0x66, 0x77, 0xc0, 0x72, 0xc9, 0x70, 0x7e, - 0xc5, 0x32, 0xf9, 0xda, 0xf8, 0x07, 0x4f, 0xbe, 0x36, 0xe8, 0xf4, 0x5e, 0x69, 0x2a, 0xb6, 0xc9, - 0x81, 0xa4, 0x62, 0x9b, 0x7a, 0x88, 0xa9, 0xd8, 0xb4, 0x24, 0x6a, 0xd3, 0x0f, 0x37, 0x89, 0xda, - 0x0e, 0x8c, 0xbb, 0xe1, 0xbd, 0xe0, 0x9e, 0x13, 0xb9, 0x4b, 0x8d, 0x75, 0x91, 0xb3, 0xab, 0x20, - 0x45, 0x44, 0x3d, 0x2d, 0x60, 0xd4, 0xc0, 0x5d, 0x8f, 0x29, 0x12, 0xeb, 0xac, 0x45, 0x3a, 0xb9, - 0x13, 0x1f, 0x30, 0x9d, 0x9c, 0x91, 0x94, 0x0d, 0x0d, 0x22, 0x29, 0xdb, 0x57, 0xd8, 0x8d, 0xf1, - 0x2d, 0x6f, 0xfb, 0xba, 0xd3, 0x9e, 0x3d, 0x59, 0xa6, 0x86, 0x15, 0x49, 0xde, 0x5d, 0x83, 0x42, - 0xe1, 0x94, 0x69, 0x77, 0xda, 0xb7, 0x53, 0x8f, 0x3a, 0xed, 0xdb, 0xe9, 0x01, 0xa6, 0x7d, 0x3b, - 0xf3, 0x48, 0xd3, 0xbe, 0x3d, 0xf6, 0x17, 0x92, 0xf6, 0xed, 0xaf, 0xc2, 0xd9, 0xe3, 0x3f, 0x47, - 0x9a, 0x52, 0xb8, 0x91, 0xba, 0x0c, 0x32, 0x29, 0x85, 0x99, 0xa9, 0xa3, 0x51, 0x95, 0xce, 0x3e, - 0xf5, 0x3d, 0x0b, 0x1e, 0xeb, 0x91, 0xa6, 0xa5, 0xf4, 0xdd, 0x85, 0x36, 0x4c, 0xb7, 0xcd, 0xa2, - 0xa5, 0xef, 0x17, 0x19, 0x69, 0x61, 0x54, 0x6c, 0x5c, 0x06, 0x81, 0xb3, 0xec, 0x97, 0x3f, 0xf6, - 0xe3, 0xf7, 0xcf, 0x7e, 0xe4, 0x27, 0xef, 0x9f, 0xfd, 0xc8, 0x1f, 0xbd, 0x7f, 0xf6, 0x23, 0xbf, - 0x70, 0x78, 0xd6, 0xfa, 0xf1, 0xe1, 0x59, 0xeb, 0x27, 0x87, 0x67, 0xad, 0x3f, 0x3d, 0x3c, 0x6b, - 0x7d, 0xf3, 0xcf, 0xce, 0x7e, 0xe4, 0x0b, 0x95, 0xbd, 0x8b, 0xff, 0x2f, 0x00, 0x00, 0xff, 0xff, - 0xe9, 0x83, 0x6c, 0x69, 0x8f, 0xb5, 0x00, 0x00, + // 10354 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x7d, 0x6d, 0x6c, 0x24, 0xc7, + 0x95, 0x98, 0x67, 0x86, 0x5f, 0xf3, 0xf8, 0xb9, 0xb5, 0x1f, 0xa2, 0x68, 0x69, 0xb9, 0x6a, 0x59, + 0xf2, 0x4a, 0x5a, 0x91, 0xda, 0x95, 0x64, 0xc9, 0x96, 0x23, 0x9b, 0xe4, 0x90, 0xbb, 0xf4, 0x2e, + 0x97, 0xa3, 0x1a, 0xee, 0xae, 0x6c, 0x2b, 0xb6, 0x9b, 0xd3, 0x45, 0xb2, 0xbd, 0x3d, 0xdd, 0xa3, + 0xee, 0x1e, 0xee, 0xd2, 0x8e, 0x81, 0x8b, 0x4f, 0xb8, 0xc3, 0x21, 0x4e, 0xce, 0x97, 0x3b, 0x07, + 0x71, 0xce, 0x97, 0xdc, 0x5d, 0xe2, 0xe4, 0x92, 0x20, 0x1f, 0xce, 0xdd, 0x21, 0x36, 0xe2, 0x3f, + 0x01, 0x92, 0xc0, 0x49, 0x90, 0xc0, 0x87, 0x00, 0xb9, 0x83, 0x0f, 0x61, 0x4e, 0x74, 0x10, 0x20, + 0x7f, 0x82, 0x20, 0x41, 0xfe, 0xf0, 0xc7, 0x21, 0xa8, 0xcf, 0xae, 0xea, 0x19, 0xb2, 0x7b, 0x28, + 0x0e, 0xb9, 0x3e, 0xe4, 0xdf, 0xcc, 0x7b, 0xaf, 0x5e, 0x55, 0xd7, 0xc7, 0xab, 0xf7, 0x5e, 0xbd, + 0x7a, 0x05, 0x57, 0xee, 0xbf, 0x1e, 0xcd, 0xb8, 0xc1, 0xec, 0xfd, 0xd6, 0x3a, 0x09, 0x7d, 0x12, + 0x93, 0x68, 0xb6, 0x79, 0x7f, 0x73, 0xd6, 0x6e, 0xba, 0xb3, 0xdb, 0x57, 0x67, 0x37, 0x89, 0x4f, + 0x42, 0x3b, 0x26, 0xce, 0x4c, 0x33, 0x0c, 0xe2, 0x00, 0x3d, 0xc1, 0xa9, 0x67, 0x12, 0xea, 0x99, + 0xe6, 0xfd, 0xcd, 0x19, 0xbb, 0xe9, 0xce, 0x6c, 0x5f, 0x9d, 0x7a, 0x71, 0xd3, 0x8d, 0xb7, 0x5a, + 0xeb, 0x33, 0xf5, 0xa0, 0x31, 0xbb, 0x19, 0x6c, 0x06, 0xb3, 0xac, 0xd0, 0x7a, 0x6b, 0x83, 0xfd, + 0x63, 0x7f, 0xd8, 0x2f, 0xce, 0x6c, 0xea, 0x15, 0x51, 0xb5, 0xdd, 0x74, 0x1b, 0x76, 0x7d, 0xcb, + 0xf5, 0x49, 0xb8, 0x23, 0x2b, 0x8f, 0x66, 0x1b, 0x24, 0xb6, 0x3b, 0x34, 0x61, 0x6a, 0xf6, 0xa0, + 0x52, 0x61, 0xcb, 0x8f, 0xdd, 0x06, 0x69, 0x2b, 0xf0, 0xb1, 0xac, 0x02, 0x51, 0x7d, 0x8b, 0x34, + 0xec, 0xb6, 0x72, 0xd7, 0x0e, 0xee, 0x99, 0x90, 0x44, 0x41, 0x2b, 0xac, 0xb7, 0xd7, 0x75, 0xb5, + 0x73, 0x99, 0x56, 0xec, 0x7a, 0xb3, 0xae, 0x1f, 0x47, 0x71, 0x98, 0x2e, 0x62, 0xfd, 0x61, 0x01, + 0x2e, 0xcd, 0xdd, 0xab, 0x2d, 0x7a, 0x76, 0x14, 0xbb, 0xf5, 0x79, 0x2f, 0xa8, 0xdf, 0xaf, 0xc5, + 0x41, 0x48, 0xee, 0x06, 0x5e, 0xab, 0x41, 0x6a, 0xac, 0x1e, 0x74, 0x05, 0x86, 0xb6, 0xd9, 0xff, + 0xe5, 0xca, 0x64, 0xe1, 0x52, 0xe1, 0x72, 0x79, 0x7e, 0xe2, 0x47, 0xbb, 0xd3, 0x1f, 0xda, 0xdb, + 0x9d, 0x1e, 0xba, 0x2b, 0xe0, 0x58, 0x51, 0xa0, 0x67, 0x61, 0x60, 0x23, 0x5a, 0xdb, 0x69, 0x92, + 0xc9, 0x22, 0xa3, 0x1d, 0x13, 0xb4, 0x03, 0x4b, 0x35, 0x0a, 0xc5, 0x02, 0x8b, 0x66, 0xa1, 0xdc, + 0xb4, 0xc3, 0xd8, 0x8d, 0xdd, 0xc0, 0x9f, 0x2c, 0x5d, 0x2a, 0x5c, 0xee, 0x9f, 0x3f, 0x23, 0x48, + 0xcb, 0x55, 0x89, 0xc0, 0x09, 0x0d, 0x6d, 0x46, 0x48, 0x6c, 0x67, 0xd5, 0xf7, 0x76, 0x26, 0xfb, + 0x2e, 0x15, 0x2e, 0x0f, 0x25, 0xcd, 0xc0, 0x02, 0x8e, 0x15, 0x85, 0xf5, 0xfd, 0x22, 0x0c, 0xcd, + 0x6d, 0x6c, 0xb8, 0xbe, 0x1b, 0xef, 0xa0, 0x2f, 0xc1, 0x88, 0x1f, 0x38, 0x44, 0xfe, 0x67, 0x5f, + 0x31, 0x7c, 0xed, 0xf9, 0x99, 0xc3, 0x26, 0xd4, 0xcc, 0x6d, 0xad, 0xc4, 0xfc, 0xc4, 0xde, 0xee, + 0xf4, 0x88, 0x0e, 0xc1, 0x06, 0x47, 0xf4, 0x0e, 0x0c, 0x37, 0x03, 0x47, 0x55, 0x50, 0x64, 0x15, + 0x3c, 0x77, 0x78, 0x05, 0xd5, 0xa4, 0xc0, 0xfc, 0xf8, 0xde, 0xee, 0xf4, 0xb0, 0x06, 0xc0, 0x3a, + 0x3b, 0xe4, 0xc1, 0x38, 0xfd, 0xeb, 0xc7, 0xae, 0xaa, 0xa1, 0xc4, 0x6a, 0x78, 0x31, 0xbb, 0x06, + 0xad, 0xd0, 0xfc, 0xd9, 0xbd, 0xdd, 0xe9, 0xf1, 0x14, 0x10, 0xa7, 0x59, 0x5b, 0x5f, 0x81, 0xb1, + 0xb9, 0x38, 0xb6, 0xeb, 0x5b, 0xc4, 0xe1, 0xe3, 0x8b, 0x5e, 0x81, 0x3e, 0xdf, 0x6e, 0x10, 0x31, + 0xfa, 0x97, 0x44, 0xb7, 0xf7, 0xdd, 0xb6, 0x1b, 0x64, 0x7f, 0x77, 0x7a, 0xe2, 0x8e, 0xef, 0xbe, + 0xdb, 0x12, 0x73, 0x86, 0xc2, 0x30, 0xa3, 0x46, 0xd7, 0x00, 0x1c, 0xb2, 0xed, 0xd6, 0x49, 0xd5, + 0x8e, 0xb7, 0xc4, 0x6c, 0x40, 0xa2, 0x2c, 0x54, 0x14, 0x06, 0x6b, 0x54, 0xd6, 0xd7, 0x0b, 0x50, + 0x9e, 0xdb, 0x0e, 0x5c, 0xa7, 0x1a, 0x38, 0x11, 0x6a, 0xc1, 0x78, 0x33, 0x24, 0x1b, 0x24, 0x54, + 0xa0, 0xc9, 0xc2, 0xa5, 0xd2, 0xe5, 0xe1, 0x6b, 0xd7, 0x32, 0xbe, 0xdb, 0x2c, 0xb4, 0xe8, 0xc7, + 0xe1, 0xce, 0xfc, 0x63, 0xa2, 0xea, 0xf1, 0x14, 0x16, 0xa7, 0xeb, 0xb0, 0x7e, 0xa5, 0x08, 0xe7, + 0xe7, 0xbe, 0xd2, 0x0a, 0x49, 0xc5, 0x8d, 0xee, 0xa7, 0x97, 0x82, 0xe3, 0x46, 0xf7, 0x6f, 0x27, + 0x9d, 0xa1, 0xe6, 0x60, 0x45, 0xc0, 0xb1, 0xa2, 0x40, 0x2f, 0xc2, 0x20, 0xfd, 0x7d, 0x07, 0x2f, + 0x8b, 0xaf, 0x3f, 0x2b, 0x88, 0x87, 0x2b, 0x76, 0x6c, 0x57, 0x38, 0x0a, 0x4b, 0x1a, 0xb4, 0x02, + 0xc3, 0x75, 0x26, 0x23, 0x36, 0x57, 0x02, 0x87, 0xb0, 0x11, 0x2e, 0xcf, 0xbf, 0x40, 0xc9, 0x17, + 0x12, 0xf0, 0xfe, 0xee, 0xf4, 0x24, 0x6f, 0x9b, 0x60, 0xa1, 0xe1, 0xb0, 0x5e, 0x1e, 0x59, 0x6a, + 0x21, 0xf6, 0x31, 0x4e, 0xd0, 0x61, 0x11, 0x5e, 0xd6, 0xd6, 0x54, 0x3f, 0x5b, 0x53, 0x23, 0x07, + 0xac, 0xa7, 0x7f, 0x50, 0x10, 0x7d, 0xb2, 0xe4, 0x7a, 0xa6, 0x78, 0xb8, 0x06, 0x10, 0x91, 0x7a, + 0x48, 0x62, 0xad, 0x57, 0xd4, 0x30, 0xd7, 0x14, 0x06, 0x6b, 0x54, 0x74, 0xf1, 0x47, 0x5b, 0x76, + 0xc8, 0x66, 0x8b, 0xe8, 0x1b, 0xb5, 0xf8, 0x6b, 0x12, 0x81, 0x13, 0x1a, 0x63, 0xf1, 0x97, 0x32, + 0x17, 0xff, 0x5f, 0x2f, 0xc2, 0xe0, 0xbc, 0xeb, 0x3b, 0xae, 0xbf, 0x89, 0xde, 0x86, 0x21, 0x2a, + 0xcd, 0x1d, 0x3b, 0xb6, 0xc5, 0xba, 0xbf, 0x7c, 0xf8, 0xe4, 0x59, 0x5d, 0xff, 0x32, 0xa9, 0xc7, + 0x2b, 0x24, 0xb6, 0x93, 0xcf, 0x48, 0x60, 0x58, 0x71, 0x43, 0x77, 0x60, 0x20, 0xb6, 0xc3, 0x4d, + 0x12, 0x8b, 0xe5, 0xfe, 0x62, 0x1e, 0xbe, 0x98, 0x4e, 0x35, 0xe2, 0xd7, 0x49, 0x22, 0x18, 0xd7, + 0x18, 0x13, 0x2c, 0x98, 0xa1, 0x77, 0x60, 0x28, 0xde, 0x69, 0x12, 0x5a, 0x99, 0x58, 0xe5, 0x33, + 0x92, 0xb1, 0xbe, 0x8b, 0x48, 0xd6, 0xd1, 0x0c, 0x6d, 0x10, 0xad, 0x60, 0x4d, 0x94, 0x4a, 0xba, + 0x46, 0x42, 0xb0, 0xe2, 0x68, 0xd5, 0x61, 0x64, 0xc1, 0x6e, 0xda, 0xeb, 0xae, 0xe7, 0xc6, 0x2e, + 0x89, 0xd0, 0x47, 0xa1, 0x64, 0x3b, 0x0e, 0x5b, 0x56, 0xe5, 0xf9, 0xf3, 0x7b, 0xbb, 0xd3, 0xa5, + 0x39, 0xc7, 0xd9, 0xdf, 0x9d, 0x06, 0x45, 0xb5, 0x83, 0x29, 0x05, 0x7a, 0x1e, 0xfa, 0x9c, 0x30, + 0x68, 0x4e, 0x16, 0x19, 0xe5, 0x05, 0xba, 0xfe, 0x2b, 0x61, 0xd0, 0x4c, 0x91, 0x32, 0x1a, 0xeb, + 0x5f, 0x17, 0x01, 0x2d, 0x90, 0xe6, 0xd6, 0x52, 0xcd, 0x98, 0x29, 0x97, 0x61, 0xa8, 0x11, 0xf8, + 0x6e, 0x1c, 0x84, 0x91, 0xa8, 0x90, 0xcd, 0xb6, 0x15, 0x01, 0xc3, 0x0a, 0x8b, 0x2e, 0x41, 0x5f, + 0x33, 0x11, 0x1a, 0x23, 0x52, 0xe0, 0x30, 0x71, 0xc1, 0x30, 0x94, 0xa2, 0x15, 0x91, 0x50, 0xac, + 0x12, 0x45, 0x71, 0x27, 0x22, 0x21, 0x66, 0x98, 0x64, 0x5e, 0xd2, 0x19, 0x2b, 0xd6, 0x40, 0x6a, + 0x5e, 0x52, 0x0c, 0xd6, 0xa8, 0xd0, 0x17, 0xa1, 0xcc, 0xff, 0x61, 0xb2, 0xc1, 0x16, 0x44, 0xa6, + 0xa8, 0xb9, 0x15, 0xd4, 0x6d, 0x2f, 0x3d, 0xb4, 0xa3, 0x6c, 0x1e, 0x4b, 0x46, 0x38, 0xe1, 0x69, + 0xcc, 0xe3, 0x81, 0xec, 0x79, 0x5c, 0x00, 0xb4, 0xe0, 0xfa, 0x0e, 0x09, 0x4f, 0x60, 0x43, 0xee, + 0x6e, 0x89, 0xfd, 0x31, 0x6d, 0x5a, 0xd0, 0x68, 0x06, 0x3e, 0xf1, 0xe3, 0x85, 0xc0, 0x77, 0xf8, + 0x26, 0xfd, 0x09, 0xe8, 0xa3, 0x53, 0x4d, 0x34, 0xeb, 0x59, 0x39, 0x2c, 0xb4, 0x82, 0xfd, 0xdd, + 0xe9, 0x0b, 0xed, 0x25, 0x58, 0x13, 0x58, 0x19, 0xf4, 0x71, 0x18, 0x88, 0x62, 0x3b, 0x6e, 0x45, + 0xa2, 0xa1, 0x4f, 0xc9, 0x86, 0xd6, 0x18, 0x74, 0x7f, 0x77, 0x7a, 0x5c, 0x15, 0xe3, 0x20, 0x2c, + 0x0a, 0xa0, 0xe7, 0x60, 0xb0, 0x41, 0xa2, 0xc8, 0xde, 0x94, 0x62, 0x73, 0x5c, 0x94, 0x1d, 0x5c, + 0xe1, 0x60, 0x2c, 0xf1, 0xe8, 0x69, 0xe8, 0x27, 0x61, 0x18, 0x84, 0x62, 0x46, 0x8c, 0x0a, 0xc2, + 0xfe, 0x45, 0x0a, 0xc4, 0x1c, 0x67, 0xfd, 0x93, 0x22, 0x8c, 0xab, 0xb6, 0xf2, 0xba, 0x7a, 0x28, + 0x48, 0x1c, 0x80, 0xba, 0xfc, 0xb0, 0x88, 0x2d, 0xb0, 0xe1, 0x6b, 0x2f, 0x1d, 0xce, 0xbb, 0xbd, + 0x23, 0x93, 0x3a, 0x14, 0x28, 0xc2, 0x1a, 0xdf, 0x1e, 0xcb, 0x95, 0xef, 0x16, 0xe1, 0x6c, 0xaa, + 0xc7, 0x6e, 0xb9, 0x11, 0x93, 0x66, 0xa9, 0x5e, 0xcb, 0x59, 0x2b, 0x2d, 0x6d, 0xd6, 0x2a, 0x21, + 0x5a, 0xcf, 0x61, 0xe8, 0x77, 0x63, 0xd2, 0x90, 0x9d, 0xf6, 0x62, 0xce, 0x4e, 0xe3, 0xed, 0x4b, + 0xc6, 0x7e, 0x99, 0xf2, 0xc0, 0x9c, 0x55, 0x8f, 0xfb, 0xe9, 0x0f, 0x8a, 0x50, 0x5e, 0x08, 0xfc, + 0x0d, 0x77, 0x73, 0xc5, 0x6e, 0xf6, 0x70, 0x4e, 0xd5, 0xa0, 0x8f, 0x71, 0xe5, 0x1d, 0x73, 0x35, + 0xab, 0x63, 0x44, 0x83, 0x66, 0xa8, 0x56, 0xc1, 0xd5, 0x25, 0x25, 0x52, 0x29, 0x08, 0x33, 0x66, + 0xbd, 0xed, 0x9a, 0xa9, 0xd7, 0xa0, 0xac, 0xaa, 0x47, 0x13, 0x50, 0xba, 0x4f, 0xb8, 0xa6, 0x5e, + 0xc6, 0xf4, 0x27, 0x3a, 0x07, 0xfd, 0xdb, 0xb6, 0xd7, 0x12, 0x62, 0x0c, 0xf3, 0x3f, 0x9f, 0x28, + 0xbe, 0x5e, 0xb0, 0x7e, 0x9d, 0xc9, 0x22, 0xf1, 0x09, 0x8b, 0xfe, 0xb6, 0x10, 0x93, 0xef, 0x15, + 0xe0, 0x9c, 0xd7, 0x41, 0x3c, 0x8b, 0x9e, 0x3e, 0x8a, 0x60, 0x7f, 0x42, 0x34, 0xff, 0x5c, 0x27, + 0x2c, 0xee, 0x58, 0x9b, 0xf5, 0xc3, 0x02, 0x9c, 0x53, 0xad, 0xbb, 0x49, 0x76, 0x6a, 0xc4, 0x23, + 0xf5, 0x38, 0x08, 0x1f, 0x91, 0xf6, 0xa1, 0x27, 0x79, 0x4f, 0x73, 0x99, 0x3b, 0x2c, 0x18, 0x94, + 0x6e, 0x92, 0x1d, 0xd6, 0xed, 0xd6, 0xb7, 0x8b, 0x30, 0xaa, 0x9a, 0x7f, 0x02, 0x4b, 0xfa, 0x96, + 0xb9, 0xa4, 0x3f, 0x9a, 0x73, 0xe6, 0x9e, 0xca, 0x62, 0xfe, 0x5b, 0x45, 0x38, 0xaf, 0x5a, 0x60, + 0x6c, 0xd1, 0x8f, 0xc8, 0xd8, 0x76, 0xd7, 0x99, 0x37, 0xc9, 0xce, 0x5a, 0x40, 0x75, 0xac, 0x03, + 0x3a, 0xf3, 0x2a, 0x0c, 0x3b, 0x64, 0xc3, 0x6e, 0x79, 0xb1, 0x32, 0x50, 0xfa, 0xb9, 0xe5, 0x5a, + 0x49, 0xc0, 0x58, 0xa7, 0xb1, 0xbe, 0x0b, 0x4c, 0xdc, 0xc5, 0x36, 0xed, 0x66, 0xaa, 0xb4, 0x69, + 0x76, 0xe4, 0x88, 0x6e, 0x47, 0x0a, 0x9b, 0xf1, 0x69, 0xe8, 0x77, 0x1b, 0x74, 0x1b, 0x2f, 0x9a, + 0xbb, 0xf3, 0x32, 0x05, 0x62, 0x8e, 0x43, 0xcf, 0xc0, 0x60, 0x3d, 0x68, 0x34, 0x6c, 0xdf, 0x99, + 0x2c, 0x31, 0x35, 0x72, 0x98, 0xee, 0xf4, 0x0b, 0x1c, 0x84, 0x25, 0x0e, 0x3d, 0x01, 0x7d, 0x76, + 0xb8, 0x19, 0x4d, 0xf6, 0x31, 0x9a, 0x21, 0x5a, 0xd3, 0x5c, 0xb8, 0x19, 0x61, 0x06, 0xa5, 0xea, + 0xe1, 0x83, 0x20, 0xbc, 0xef, 0xfa, 0x9b, 0x15, 0x37, 0x64, 0xba, 0x9e, 0xa6, 0x1e, 0xde, 0x53, + 0x18, 0xac, 0x51, 0xa1, 0x2a, 0xf4, 0x37, 0x83, 0x30, 0x8e, 0x26, 0x07, 0x58, 0x77, 0xbe, 0x90, + 0x39, 0x37, 0xf9, 0x77, 0x57, 0x83, 0x30, 0x4e, 0x3e, 0x85, 0xfe, 0x8b, 0x30, 0x67, 0x84, 0x16, + 0xa0, 0x44, 0xfc, 0xed, 0xc9, 0x41, 0xc6, 0xef, 0x23, 0x87, 0xf3, 0x5b, 0xf4, 0xb7, 0xef, 0xda, + 0x61, 0xb2, 0x44, 0x17, 0xfd, 0x6d, 0x4c, 0x4b, 0xa3, 0x3a, 0x94, 0xa5, 0x53, 0x28, 0x9a, 0x1c, + 0xca, 0x33, 0xc1, 0xb0, 0x20, 0xc7, 0xe4, 0xdd, 0x96, 0x1b, 0x92, 0x06, 0xf1, 0xe3, 0x28, 0xb1, + 0xc0, 0x24, 0x36, 0xc2, 0x09, 0x5f, 0x54, 0x87, 0x11, 0xae, 0x52, 0xae, 0x04, 0x2d, 0x3f, 0x8e, + 0x26, 0xcb, 0xac, 0xc9, 0x19, 0x2e, 0x8e, 0xbb, 0x49, 0x89, 0xf9, 0x73, 0x82, 0xfd, 0x88, 0x06, + 0x8c, 0xb0, 0xc1, 0x14, 0xbd, 0x03, 0xa3, 0x9e, 0xbb, 0x4d, 0x7c, 0x12, 0x45, 0xd5, 0x30, 0x58, + 0x27, 0x93, 0xc0, 0xbe, 0xe6, 0xe9, 0x2c, 0x73, 0x3f, 0x58, 0x27, 0xf3, 0x67, 0xf6, 0x76, 0xa7, + 0x47, 0x6f, 0xe9, 0xa5, 0xb1, 0xc9, 0x0c, 0x7d, 0x11, 0xc6, 0xa8, 0xfe, 0xea, 0x26, 0xec, 0x87, + 0xf3, 0xb3, 0x47, 0x7b, 0xbb, 0xd3, 0x63, 0xd8, 0x28, 0x8e, 0x53, 0xec, 0xd0, 0x1a, 0x94, 0x3d, + 0x77, 0x83, 0xd4, 0x77, 0xea, 0x1e, 0x99, 0x1c, 0x61, 0xbc, 0x33, 0x96, 0xdc, 0x2d, 0x49, 0xce, + 0x6d, 0x06, 0xf5, 0x17, 0x27, 0x8c, 0xd0, 0x5d, 0xb8, 0x10, 0x93, 0xb0, 0xe1, 0xfa, 0x36, 0x55, + 0xe4, 0x84, 0x42, 0xcb, 0x7c, 0x2a, 0xa3, 0x6c, 0xd6, 0x5e, 0x14, 0x1d, 0x7b, 0x61, 0xad, 0x23, + 0x15, 0x3e, 0xa0, 0x34, 0x5a, 0x85, 0x71, 0xb6, 0x9e, 0xaa, 0x2d, 0xcf, 0xab, 0x06, 0x9e, 0x5b, + 0xdf, 0x99, 0x1c, 0x63, 0x0c, 0x9f, 0x91, 0x9e, 0x92, 0x65, 0x13, 0x4d, 0x6d, 0xbd, 0xe4, 0x1f, + 0x4e, 0x97, 0x46, 0x1e, 0x8c, 0x47, 0xa4, 0xde, 0x0a, 0xdd, 0x78, 0x87, 0xce, 0x7d, 0xf2, 0x30, + 0x9e, 0x1c, 0xcf, 0x63, 0x19, 0xd7, 0xcc, 0x42, 0xdc, 0x4d, 0x95, 0x02, 0xe2, 0x34, 0x6b, 0x2a, + 0x2a, 0xa2, 0xd8, 0x71, 0xfd, 0xc9, 0x09, 0x66, 0xac, 0xa8, 0xf5, 0x55, 0xa3, 0x40, 0xcc, 0x71, + 0xcc, 0xd1, 0x40, 0x7f, 0xac, 0x52, 0xd9, 0x7b, 0x86, 0x11, 0x26, 0x8e, 0x06, 0x89, 0xc0, 0x09, + 0x0d, 0xdd, 0x0d, 0xe3, 0x78, 0x67, 0x12, 0x31, 0x52, 0xb5, 0xd4, 0xd6, 0xd6, 0x3e, 0x8b, 0x29, + 0x1c, 0xdd, 0x85, 0x41, 0xe2, 0x6f, 0x2f, 0x85, 0x41, 0x63, 0xf2, 0x6c, 0x1e, 0x19, 0xb0, 0xc8, + 0x89, 0xf9, 0xae, 0x90, 0x58, 0x25, 0x02, 0x8c, 0x25, 0x33, 0x6b, 0x1d, 0xc6, 0x94, 0xb8, 0x60, + 0xbd, 0x8e, 0xa6, 0xa1, 0x9f, 0x4a, 0x44, 0x69, 0x29, 0x97, 0xe9, 0xa7, 0x51, 0x41, 0x19, 0x61, + 0x0e, 0x67, 0x9f, 0xe6, 0x7e, 0x85, 0xcc, 0xef, 0xc4, 0x84, 0x5b, 0x4c, 0x25, 0xed, 0xd3, 0x24, + 0x02, 0x27, 0x34, 0xd6, 0x9f, 0x16, 0xd8, 0x4e, 0x9e, 0xc8, 0xa4, 0x1c, 0xf2, 0xf8, 0x0a, 0x0c, + 0x6d, 0x05, 0x51, 0x4c, 0xa9, 0x59, 0x1d, 0xfd, 0xc9, 0x7e, 0x78, 0x43, 0xc0, 0xb1, 0xa2, 0x40, + 0x6f, 0xc0, 0x68, 0x5d, 0xaf, 0x40, 0x6c, 0x11, 0xe7, 0x45, 0x11, 0xb3, 0x76, 0x6c, 0xd2, 0xa2, + 0xd7, 0x61, 0x88, 0x39, 0xa5, 0xeb, 0x81, 0x27, 0x6c, 0x33, 0xb9, 0xe3, 0x0d, 0x55, 0x05, 0x7c, + 0x5f, 0xfb, 0x8d, 0x15, 0x35, 0xb5, 0x70, 0x69, 0x13, 0x96, 0xab, 0x42, 0x8c, 0x2b, 0x0b, 0xf7, + 0x06, 0x83, 0x62, 0x81, 0xb5, 0xfe, 0x69, 0x51, 0xeb, 0x65, 0x6a, 0x03, 0x10, 0xf4, 0x39, 0x18, + 0x7c, 0x60, 0xbb, 0xb1, 0xeb, 0x6f, 0x8a, 0x9d, 0xf9, 0xe5, 0x9c, 0x32, 0x9d, 0x15, 0xbf, 0xc7, + 0x8b, 0xf2, 0xfd, 0x47, 0xfc, 0xc1, 0x92, 0x21, 0xe5, 0x1d, 0xb6, 0x7c, 0x9f, 0xf2, 0x2e, 0x76, + 0xcf, 0x1b, 0xf3, 0xa2, 0x9c, 0xb7, 0xf8, 0x83, 0x25, 0x43, 0xb4, 0x01, 0x20, 0x57, 0x35, 0x71, + 0x84, 0x66, 0xf3, 0xb1, 0x6e, 0xd8, 0xaf, 0xa9, 0xd2, 0xf3, 0x63, 0x74, 0xc7, 0x4b, 0xfe, 0x63, + 0x8d, 0xb3, 0x15, 0x33, 0x05, 0xa7, 0xbd, 0x59, 0xe8, 0xf3, 0x74, 0x61, 0xd9, 0x61, 0x4c, 0x9c, + 0xb9, 0x38, 0xed, 0x4f, 0xcf, 0xd0, 0xac, 0xdc, 0x06, 0xd1, 0x17, 0xa1, 0x60, 0x82, 0x13, 0x7e, + 0xd6, 0x3f, 0x2f, 0xc1, 0xe4, 0x41, 0xcd, 0xa5, 0x53, 0x92, 0x3c, 0x74, 0xe3, 0x05, 0xaa, 0x82, + 0x14, 0xcc, 0x29, 0xb9, 0x28, 0xe0, 0x58, 0x51, 0xd0, 0xb9, 0x11, 0xb9, 0x9b, 0xbe, 0xed, 0x89, + 0xe9, 0xab, 0xe6, 0x46, 0x8d, 0x41, 0xb1, 0xc0, 0x52, 0xba, 0x90, 0xd8, 0x91, 0x38, 0x8b, 0xd0, + 0xe6, 0x10, 0x66, 0x50, 0x2c, 0xb0, 0xba, 0xa7, 0xa1, 0x2f, 0xc3, 0xd3, 0x60, 0x74, 0x51, 0xff, + 0xf1, 0x76, 0x11, 0xfa, 0x02, 0xc0, 0x86, 0xeb, 0xbb, 0xd1, 0x16, 0xe3, 0x3e, 0xd0, 0x35, 0x77, + 0xa5, 0xea, 0x2c, 0x29, 0x2e, 0x58, 0xe3, 0x88, 0x5e, 0x85, 0x61, 0xb5, 0x3c, 0x97, 0x2b, 0x93, + 0x83, 0xa6, 0xff, 0x3a, 0x91, 0x55, 0x15, 0xac, 0xd3, 0x59, 0x5f, 0x4e, 0xcf, 0x17, 0xb1, 0x2a, + 0xb4, 0xfe, 0x2d, 0xe4, 0xed, 0xdf, 0xe2, 0xe1, 0xfd, 0x6b, 0xfd, 0xe7, 0x12, 0x8c, 0x1b, 0x95, + 0xb5, 0xa2, 0x1c, 0x12, 0xed, 0x2d, 0xba, 0x6d, 0xd8, 0x31, 0x11, 0x6b, 0xf2, 0x4a, 0x37, 0x8b, + 0x46, 0xdf, 0x64, 0xe8, 0x5a, 0xe0, 0x9c, 0xd0, 0x16, 0x94, 0x3d, 0x3b, 0x62, 0x5e, 0x05, 0x22, + 0xd6, 0x62, 0x77, 0x6c, 0x13, 0xd5, 0xde, 0x8e, 0x62, 0x6d, 0x17, 0xe7, 0xb5, 0x24, 0xcc, 0xe9, + 0x9e, 0x47, 0x55, 0x0e, 0x79, 0x00, 0xa6, 0x9a, 0x43, 0xf5, 0x92, 0x1d, 0xcc, 0x71, 0xe8, 0x75, + 0x18, 0x09, 0x09, 0x9b, 0x29, 0x0b, 0x54, 0xab, 0x62, 0x53, 0xaf, 0x3f, 0x51, 0xbf, 0xb0, 0x86, + 0xc3, 0x06, 0x65, 0xa2, 0x7d, 0x0f, 0x1c, 0xa2, 0x7d, 0x3f, 0x07, 0x83, 0xec, 0x87, 0x9a, 0x15, + 0x6a, 0x84, 0x96, 0x39, 0x18, 0x4b, 0x7c, 0x7a, 0x12, 0x0d, 0xe5, 0x9c, 0x44, 0xcf, 0xc3, 0x58, + 0xc5, 0x26, 0x8d, 0xc0, 0x5f, 0xf4, 0x9d, 0x66, 0xe0, 0xfa, 0x31, 0x9a, 0x84, 0x3e, 0xb6, 0x9f, + 0xf0, 0xf5, 0xde, 0x47, 0x39, 0xe0, 0x3e, 0xaa, 0x41, 0x5b, 0xff, 0xa5, 0x08, 0xa3, 0x15, 0xe2, + 0x91, 0x98, 0xac, 0x36, 0xb9, 0x9f, 0x6b, 0x09, 0xd0, 0x66, 0x68, 0xd7, 0x49, 0x95, 0x84, 0x6e, + 0xe0, 0xd4, 0x48, 0x3d, 0xf0, 0xd9, 0xb9, 0x11, 0xdd, 0x20, 0x2f, 0xec, 0xed, 0x4e, 0xa3, 0xeb, + 0x6d, 0x58, 0xdc, 0xa1, 0x04, 0x72, 0x60, 0xb4, 0x19, 0x12, 0xc3, 0x31, 0x57, 0xc8, 0xde, 0xf0, + 0xab, 0x7a, 0x11, 0xae, 0x93, 0x1a, 0x20, 0x6c, 0x32, 0x45, 0x9f, 0x86, 0x89, 0x20, 0x6c, 0x6e, + 0xd9, 0x7e, 0x85, 0x34, 0x89, 0xef, 0x50, 0x45, 0x5c, 0x78, 0x5f, 0xcf, 0xed, 0xed, 0x4e, 0x4f, + 0xac, 0xa6, 0x70, 0xb8, 0x8d, 0xda, 0x30, 0x71, 0xfb, 0x8e, 0xdd, 0xc4, 0xfd, 0x87, 0x45, 0x38, + 0x5f, 0x09, 0x1e, 0xf8, 0x0f, 0xec, 0xd0, 0x99, 0xab, 0x2e, 0x73, 0xdd, 0x9d, 0xf9, 0xca, 0xa5, + 0x8f, 0xbe, 0x70, 0xa0, 0x8f, 0xfe, 0xf3, 0x30, 0xb4, 0xe1, 0x12, 0xcf, 0xc1, 0x64, 0x43, 0x74, + 0xde, 0xd5, 0x3c, 0xde, 0xad, 0x25, 0x5a, 0x46, 0x7a, 0x49, 0xf8, 0x11, 0xc1, 0x92, 0x60, 0x83, + 0x15, 0x43, 0xd4, 0x82, 0x09, 0x69, 0x9c, 0x48, 0xac, 0x58, 0x7b, 0x2f, 0xe7, 0xb3, 0x7d, 0xcc, + 0x6a, 0x58, 0x6f, 0xe3, 0x14, 0x43, 0xdc, 0x56, 0x05, 0x35, 0x2a, 0x1b, 0x74, 0xe7, 0xe9, 0x63, + 0x33, 0x91, 0x19, 0x95, 0xcc, 0xea, 0x65, 0x50, 0xeb, 0xef, 0x16, 0xe0, 0xb1, 0xb6, 0xde, 0x12, + 0x2e, 0x81, 0xb7, 0xa5, 0x2d, 0xce, 0x8f, 0x30, 0x33, 0x5a, 0xd9, 0xb1, 0xcf, 0xf3, 0xd9, 0xe5, + 0xc5, 0x1c, 0x76, 0xf9, 0x2a, 0x9c, 0x5b, 0x6c, 0x34, 0xe3, 0x9d, 0x8a, 0x6b, 0x1e, 0x2d, 0xbc, + 0x06, 0x03, 0x0d, 0xe2, 0xb8, 0xad, 0x86, 0x18, 0xd6, 0x69, 0x29, 0xa6, 0x57, 0x18, 0x74, 0x7f, + 0x77, 0x7a, 0xb4, 0x16, 0x07, 0xa1, 0xbd, 0x49, 0x38, 0x00, 0x0b, 0x72, 0xeb, 0xfd, 0x02, 0x8c, + 0xcb, 0xe5, 0x3a, 0xe7, 0x38, 0x21, 0x89, 0x22, 0x34, 0x05, 0x45, 0xb7, 0x29, 0x18, 0x81, 0x60, + 0x54, 0x5c, 0xae, 0xe2, 0xa2, 0xdb, 0x44, 0x9f, 0x83, 0x32, 0x3f, 0xef, 0x4a, 0x26, 0x47, 0x97, + 0xe7, 0x67, 0xcc, 0x60, 0x5a, 0x93, 0x3c, 0x70, 0xc2, 0x4e, 0x2a, 0xad, 0x6c, 0x23, 0x28, 0x99, + 0xe7, 0x23, 0x37, 0x04, 0x1c, 0x2b, 0x0a, 0x74, 0x19, 0x86, 0xfc, 0xc0, 0xe1, 0x47, 0x91, 0x7c, + 0x4b, 0x67, 0x53, 0xee, 0xb6, 0x80, 0x61, 0x85, 0xb5, 0xbe, 0x51, 0x80, 0x11, 0xf9, 0x8d, 0x39, + 0xf5, 0x67, 0xba, 0x48, 0x12, 0xdd, 0x39, 0x59, 0x24, 0x54, 0xff, 0x65, 0x18, 0x43, 0xed, 0x2d, + 0x75, 0xa3, 0xf6, 0x5a, 0x3f, 0x28, 0xc2, 0x98, 0x6c, 0x4e, 0xad, 0xb5, 0x1e, 0x11, 0xaa, 0x15, + 0x94, 0x6d, 0xde, 0xf9, 0x44, 0xce, 0xb3, 0x17, 0xb3, 0x0c, 0x14, 0x63, 0xcc, 0x12, 0xad, 0x63, + 0x4e, 0xf2, 0xc1, 0x09, 0x4b, 0xb4, 0x0d, 0x67, 0xfc, 0x20, 0x66, 0xbb, 0x8d, 0xc2, 0xe7, 0xf3, + 0xbd, 0xa7, 0xeb, 0x79, 0x5c, 0xd4, 0x73, 0xe6, 0x76, 0x9a, 0x1f, 0x6e, 0xaf, 0x02, 0xad, 0x4a, + 0xc7, 0x4b, 0x89, 0xd5, 0xf5, 0x7c, 0xbe, 0xba, 0x0e, 0xf6, 0xbb, 0x58, 0xdf, 0x29, 0x42, 0x59, + 0x92, 0xf5, 0xf2, 0x68, 0xe7, 0x1e, 0x0c, 0x46, 0x6c, 0x68, 0x64, 0x37, 0x5d, 0xc9, 0xd7, 0x74, + 0x3e, 0x9e, 0xc9, 0xd6, 0xca, 0xff, 0x47, 0x58, 0x72, 0xeb, 0xb1, 0x63, 0xf3, 0xdb, 0x45, 0x18, + 0x55, 0xdd, 0xf3, 0xc8, 0x39, 0x7d, 0x55, 0xcb, 0x4e, 0xc7, 0xe9, 0x5b, 0xa0, 0x7d, 0xa3, 0x99, + 0xf5, 0x54, 0xb7, 0x6d, 0x86, 0x64, 0xc3, 0x7d, 0x98, 0xd6, 0x6d, 0xab, 0x0c, 0x8a, 0x05, 0x16, + 0x6d, 0xc0, 0x48, 0x5d, 0x7a, 0x8b, 0x13, 0xb1, 0xf7, 0x52, 0x4e, 0x0f, 0xb7, 0x3a, 0xd8, 0xe0, + 0xc1, 0x48, 0x0b, 0x1a, 0x27, 0x6c, 0xf0, 0xb5, 0x7e, 0xa7, 0x00, 0x03, 0xdc, 0x59, 0x98, 0xcf, + 0xe3, 0xaa, 0x1d, 0xab, 0x24, 0x3d, 0x7a, 0x97, 0x02, 0xc5, 0x29, 0x0b, 0xba, 0x07, 0x65, 0xf6, + 0x83, 0x39, 0x3e, 0x4a, 0x79, 0xa2, 0xa7, 0x78, 0xfd, 0xa2, 0xc1, 0x4c, 0x54, 0xdf, 0x95, 0x0c, + 0x70, 0xc2, 0xcb, 0xfa, 0x61, 0x89, 0x8a, 0xd4, 0x84, 0xd4, 0xd0, 0x19, 0x0a, 0x27, 0xa1, 0x33, + 0x14, 0x7b, 0xaf, 0x33, 0xbc, 0x0b, 0xe3, 0x75, 0xed, 0x00, 0x28, 0xd1, 0x54, 0xae, 0xe5, 0x1c, + 0x7a, 0xed, 0xd4, 0x88, 0x3b, 0xc7, 0x16, 0x4c, 0x76, 0x38, 0xcd, 0x1f, 0x11, 0x18, 0xe1, 0x41, + 0x07, 0xa2, 0x3e, 0xae, 0x18, 0xce, 0x66, 0xfa, 0xe1, 0x78, 0x09, 0x55, 0x19, 0x9b, 0x69, 0x35, + 0x8d, 0x11, 0x36, 0xd8, 0x5a, 0xff, 0xab, 0x1f, 0xfa, 0x17, 0xb7, 0x89, 0x1f, 0xf7, 0x50, 0x84, + 0x36, 0x60, 0xcc, 0xf5, 0xb7, 0x03, 0x6f, 0x9b, 0x38, 0x1c, 0x7f, 0x34, 0x75, 0xe1, 0x82, 0xa8, + 0x64, 0x6c, 0xd9, 0x60, 0x86, 0x53, 0xcc, 0x7b, 0xe1, 0x08, 0x78, 0x0b, 0x06, 0xf8, 0x8c, 0x10, + 0x5e, 0x80, 0x0c, 0xa7, 0x39, 0xeb, 0x50, 0xb1, 0x72, 0x12, 0x77, 0x05, 0xf7, 0xd7, 0x0b, 0x46, + 0xe8, 0xcb, 0x30, 0xb6, 0xe1, 0x86, 0x51, 0x4c, 0x6d, 0xf9, 0x28, 0xb6, 0x1b, 0xcd, 0x23, 0xb8, + 0x00, 0x54, 0x8f, 0x2c, 0x19, 0x9c, 0x70, 0x8a, 0x33, 0xda, 0x84, 0x51, 0x6a, 0x81, 0x26, 0x55, + 0x0d, 0x76, 0x5d, 0x95, 0xf2, 0x00, 0xde, 0xd2, 0x19, 0x61, 0x93, 0x2f, 0x15, 0x45, 0x75, 0x66, + 0xb1, 0x0e, 0x31, 0x6d, 0x49, 0x89, 0x22, 0x6e, 0xaa, 0x72, 0x1c, 0x95, 0x68, 0x2c, 0xc2, 0xa4, + 0x6c, 0x4a, 0x34, 0x2d, 0x8e, 0x44, 0x17, 0xff, 0x70, 0xec, 0xe2, 0xff, 0x57, 0xa8, 0xe6, 0x40, + 0x47, 0xe8, 0x04, 0xb6, 0xc5, 0x1b, 0xe6, 0xb6, 0xf8, 0x74, 0x8e, 0x79, 0x73, 0x2a, 0x5b, 0xe2, + 0x97, 0x60, 0x58, 0x9b, 0xb4, 0x68, 0x16, 0xca, 0x75, 0x19, 0x6a, 0x21, 0x76, 0x1e, 0xa5, 0x56, + 0xaa, 0x18, 0x0c, 0x9c, 0xd0, 0xd0, 0x31, 0xa5, 0xea, 0x78, 0x3a, 0xdc, 0x8b, 0x2a, 0xeb, 0x98, + 0x61, 0xac, 0x97, 0x01, 0x16, 0x1f, 0x92, 0xfa, 0x5c, 0x9d, 0x45, 0x19, 0x69, 0x07, 0x80, 0x85, + 0x83, 0x0f, 0x00, 0xad, 0xef, 0x15, 0x60, 0x6c, 0x69, 0xc1, 0xb0, 0x6f, 0x66, 0x00, 0xb8, 0x9d, + 0x70, 0xef, 0xde, 0x6d, 0xe9, 0x5a, 0xe7, 0xfe, 0x4f, 0x05, 0xc5, 0x1a, 0x05, 0x7a, 0x1c, 0x4a, + 0x5e, 0xcb, 0x17, 0xea, 0xfb, 0xe0, 0xde, 0xee, 0x74, 0xe9, 0x56, 0xcb, 0xc7, 0x14, 0xa6, 0xc5, + 0x55, 0x95, 0x72, 0xc7, 0x55, 0x65, 0xc7, 0x2d, 0x7f, 0xab, 0x04, 0x13, 0x4b, 0x1e, 0x79, 0x68, + 0xb4, 0xfa, 0x59, 0x18, 0x70, 0x42, 0x77, 0x9b, 0x84, 0x69, 0x05, 0xa3, 0xc2, 0xa0, 0x58, 0x60, + 0x73, 0x87, 0x7a, 0x19, 0x61, 0x6e, 0xa5, 0x1e, 0x87, 0xb9, 0x65, 0x7e, 0x33, 0xda, 0x80, 0xc1, + 0x80, 0x3b, 0x6f, 0x26, 0xfb, 0xd9, 0x44, 0x7f, 0xe3, 0xf0, 0xc6, 0xa4, 0xfb, 0x67, 0x46, 0xb8, + 0x7e, 0x78, 0xe0, 0x8a, 0x92, 0xc3, 0x02, 0x8a, 0x25, 0xf3, 0xa9, 0x4f, 0xc0, 0x88, 0x4e, 0xd9, + 0x55, 0x8c, 0xc9, 0xcf, 0x17, 0xe0, 0xec, 0x92, 0x17, 0xd4, 0xef, 0xa7, 0x62, 0xf1, 0x5e, 0x85, + 0x61, 0xba, 0x54, 0x23, 0x23, 0xfc, 0xd5, 0x88, 0xf3, 0x15, 0x28, 0xac, 0xd3, 0x69, 0xc5, 0xee, + 0xdc, 0x59, 0xae, 0x74, 0x0a, 0x0f, 0x16, 0x28, 0xac, 0xd3, 0x59, 0xff, 0xb1, 0x00, 0x4f, 0x5e, + 0x5f, 0x58, 0xac, 0x92, 0x30, 0x72, 0xa3, 0x98, 0xf8, 0x71, 0x5b, 0x84, 0x32, 0xd5, 0x45, 0x1d, + 0xad, 0x29, 0x89, 0x2e, 0x5a, 0x61, 0xad, 0x10, 0xd8, 0x47, 0x25, 0x4c, 0xff, 0x77, 0x0a, 0x70, + 0xf6, 0xba, 0x1b, 0x63, 0xd2, 0x0c, 0xd2, 0x41, 0xc5, 0x21, 0x69, 0x06, 0x91, 0x1b, 0x07, 0xe1, + 0x4e, 0x3a, 0xa8, 0x18, 0x2b, 0x0c, 0xd6, 0xa8, 0x78, 0xcd, 0xdb, 0x6e, 0x44, 0x5b, 0x5a, 0x34, + 0xcd, 0x7e, 0x2c, 0xe0, 0x58, 0x51, 0xd0, 0x0f, 0x73, 0xdc, 0x90, 0xa9, 0x39, 0x3b, 0x62, 0x05, + 0xab, 0x0f, 0xab, 0x48, 0x04, 0x4e, 0x68, 0xac, 0xef, 0x14, 0xe0, 0xfc, 0x75, 0xaf, 0x15, 0xc5, + 0x24, 0xdc, 0x88, 0x8c, 0xc6, 0xbe, 0x0c, 0x65, 0x22, 0x4d, 0x12, 0xd1, 0x56, 0xb5, 0xe1, 0x29, + 0x5b, 0x85, 0x47, 0x34, 0x2b, 0xba, 0x1c, 0x21, 0xae, 0xdd, 0x05, 0x64, 0xfe, 0x8b, 0x22, 0x8c, + 0xde, 0x58, 0x5b, 0xab, 0x5e, 0x27, 0xb1, 0x90, 0x92, 0xd9, 0x0e, 0xba, 0xaa, 0xe6, 0x9d, 0xd0, + 0x76, 0x84, 0xd4, 0xaa, 0x6b, 0xc5, 0xae, 0x37, 0xc3, 0x2f, 0x90, 0xcc, 0x2c, 0xfb, 0xf1, 0x6a, + 0x58, 0x8b, 0x43, 0xd7, 0xdf, 0xec, 0xe8, 0xcd, 0x90, 0x92, 0xbc, 0x74, 0x90, 0x24, 0x47, 0x2f, + 0xc3, 0x00, 0xbb, 0xf3, 0x22, 0xd5, 0xa6, 0x0f, 0x2b, 0x0d, 0x87, 0x41, 0xf7, 0x77, 0xa7, 0xcb, + 0x77, 0xf0, 0x32, 0xff, 0x83, 0x05, 0x29, 0xfa, 0x22, 0x0c, 0x6f, 0xc5, 0x71, 0xf3, 0x06, 0xb1, + 0x1d, 0x12, 0x4a, 0x29, 0x91, 0xa1, 0x60, 0xd2, 0xce, 0xe0, 0x05, 0x92, 0x85, 0x95, 0xc0, 0x22, + 0xac, 0x73, 0xb4, 0x6a, 0x00, 0x09, 0xee, 0x98, 0xac, 0x26, 0xeb, 0x2f, 0x16, 0x61, 0xf0, 0x86, + 0xed, 0x3b, 0x1e, 0x09, 0xd1, 0x12, 0xf4, 0x91, 0x87, 0xa4, 0x9e, 0x4f, 0x37, 0x4e, 0xb6, 0x3a, + 0xee, 0x61, 0xa4, 0xff, 0x31, 0x2b, 0x8f, 0x30, 0x0c, 0xd2, 0x76, 0x5f, 0x57, 0x51, 0xe7, 0x2f, + 0x64, 0xf7, 0x82, 0x9a, 0x12, 0x7c, 0x9f, 0x14, 0x20, 0x2c, 0x19, 0x31, 0x5f, 0x5c, 0xbd, 0x59, + 0xa3, 0xc2, 0x2d, 0xce, 0x77, 0xb1, 0x64, 0x6d, 0xa1, 0xca, 0xc9, 0x05, 0x5f, 0xee, 0x8b, 0x93, + 0x40, 0x9c, 0xb0, 0xb3, 0x5e, 0x87, 0x73, 0xec, 0xa0, 0xd8, 0x8e, 0xb7, 0x8c, 0x35, 0x93, 0x39, + 0x39, 0xad, 0xdf, 0x2a, 0xc2, 0x99, 0xe5, 0xda, 0x42, 0xcd, 0xf4, 0xa2, 0xbe, 0x0e, 0x23, 0x7c, + 0x7b, 0xa6, 0x93, 0xce, 0xf6, 0x44, 0x79, 0x75, 0xb8, 0xb1, 0xa6, 0xe1, 0xb0, 0x41, 0x89, 0x9e, + 0x84, 0x92, 0xfb, 0xae, 0x9f, 0x8e, 0x73, 0x5b, 0x7e, 0xeb, 0x36, 0xa6, 0x70, 0x8a, 0xa6, 0x3b, + 0x3d, 0x17, 0x71, 0x0a, 0xad, 0x76, 0xfb, 0x37, 0x61, 0xcc, 0x8d, 0xea, 0x91, 0xbb, 0xec, 0xd3, + 0xf5, 0x6f, 0xd7, 0xe5, 0xf4, 0x4d, 0xcc, 0x0a, 0xda, 0x54, 0x85, 0xc5, 0x29, 0x6a, 0x4d, 0xde, + 0xf6, 0xe7, 0xd6, 0x16, 0xb2, 0x03, 0xc4, 0xbf, 0x0c, 0x65, 0x15, 0xb4, 0x25, 0x03, 0xf9, 0x0a, + 0x9d, 0x03, 0xf9, 0x72, 0x08, 0x1c, 0xe9, 0xdb, 0x2e, 0x75, 0xf4, 0x6d, 0xff, 0xa3, 0x02, 0x24, + 0xf1, 0x29, 0x08, 0x43, 0xb9, 0x19, 0xb0, 0x63, 0xa9, 0x50, 0x9e, 0xff, 0x3e, 0x93, 0x31, 0x13, + 0xf9, 0x4a, 0xe0, 0x73, 0xa5, 0x2a, 0xcb, 0xe2, 0x84, 0x0d, 0xba, 0x05, 0x83, 0xcd, 0x90, 0xd4, + 0x62, 0x76, 0xcb, 0xa0, 0x0b, 0x8e, 0x6c, 0x56, 0x57, 0x79, 0x49, 0x2c, 0x59, 0x58, 0xbf, 0x56, + 0x04, 0xb8, 0xe5, 0x36, 0xdc, 0x18, 0xdb, 0xfe, 0x26, 0xe9, 0xa1, 0x81, 0x7a, 0x1b, 0xfa, 0xa2, + 0x26, 0xa9, 0xe7, 0x3b, 0x50, 0x4c, 0x5a, 0x54, 0x6b, 0x92, 0x7a, 0x32, 0x0c, 0xf4, 0x1f, 0x66, + 0x7c, 0x7a, 0xac, 0xab, 0xff, 0x63, 0x80, 0xb1, 0xa4, 0x11, 0xd4, 0x48, 0x40, 0x2f, 0x1a, 0x41, + 0xfb, 0x8f, 0xa7, 0x82, 0xf6, 0xcb, 0x8c, 0x5a, 0xb3, 0xaf, 0x62, 0x28, 0x35, 0xec, 0x87, 0xc2, + 0x26, 0x79, 0x35, 0xef, 0xe7, 0xd2, 0x9a, 0x66, 0x56, 0xec, 0x87, 0x5c, 0x49, 0x7b, 0x41, 0x4e, + 0xcf, 0x15, 0xfb, 0xe1, 0x3e, 0x3f, 0x94, 0x64, 0xeb, 0x9b, 0x1a, 0x41, 0x5f, 0xff, 0xaf, 0xc9, + 0x7f, 0x26, 0x72, 0x69, 0x75, 0xac, 0x56, 0xd7, 0x17, 0x0e, 0xe0, 0x2e, 0x6b, 0x75, 0xfd, 0x74, + 0xad, 0xae, 0x9f, 0xa3, 0x56, 0xd7, 0x47, 0xef, 0x15, 0x60, 0x50, 0x9c, 0x9b, 0xb0, 0x38, 0xc2, + 0xe1, 0x6b, 0x1f, 0xef, 0xaa, 0x6a, 0x71, 0x00, 0xc3, 0xab, 0x9f, 0x95, 0x9a, 0xa9, 0x80, 0x66, + 0x36, 0x41, 0x56, 0x8d, 0x7e, 0xb3, 0x00, 0x63, 0xe2, 0x37, 0x26, 0xef, 0xb6, 0x48, 0x14, 0x8b, + 0x3d, 0xf0, 0xd3, 0x47, 0x69, 0x8d, 0x60, 0xc1, 0x1b, 0xf5, 0x31, 0x29, 0xc0, 0x4c, 0x64, 0x66, + 0xdb, 0x52, 0xed, 0x41, 0xdf, 0x2f, 0xc0, 0xb9, 0x86, 0xfd, 0x90, 0xd7, 0xc8, 0x61, 0xd8, 0x8e, + 0xdd, 0x40, 0xc4, 0x4a, 0x2e, 0x75, 0x3b, 0x4f, 0xda, 0x18, 0xf1, 0xe6, 0x7e, 0x52, 0x1e, 0x95, + 0x77, 0x22, 0xc9, 0x6c, 0x74, 0xc7, 0x16, 0x4e, 0x39, 0x30, 0x24, 0x27, 0x66, 0x07, 0x9b, 0x60, + 0x5e, 0xdf, 0xea, 0x0f, 0x5f, 0xdf, 0xd2, 0xf3, 0x37, 0xf3, 0x56, 0xcb, 0xf6, 0x63, 0x37, 0xde, + 0xd1, 0x2c, 0x08, 0x56, 0x8b, 0x98, 0x88, 0x3d, 0xac, 0x65, 0x0b, 0x46, 0xf4, 0x39, 0xd7, 0xc3, + 0x9a, 0x02, 0x38, 0xdb, 0x61, 0x3e, 0xf5, 0xb0, 0xc2, 0x16, 0x3c, 0x7e, 0xe0, 0xbc, 0xe8, 0x5d, + 0xb5, 0xd6, 0xaf, 0x17, 0x75, 0x81, 0x79, 0x02, 0x5e, 0x9f, 0x15, 0xd3, 0xeb, 0x73, 0x39, 0xef, + 0xca, 0x39, 0x15, 0xd7, 0xcf, 0x86, 0xde, 0x39, 0x74, 0x13, 0x43, 0x6b, 0x30, 0xe0, 0x51, 0x88, + 0x3c, 0x80, 0xbc, 0xd2, 0xcd, 0xca, 0x4f, 0xf4, 0x22, 0x06, 0x8f, 0xb0, 0xe0, 0x65, 0xfd, 0xb5, + 0x22, 0xf4, 0x9d, 0xe2, 0x85, 0xa2, 0x36, 0xd6, 0xe2, 0xfe, 0xfe, 0x0c, 0xb6, 0x1f, 0x2c, 0x3e, + 0x8c, 0x89, 0x1f, 0x31, 0x35, 0xf8, 0x14, 0x06, 0xe0, 0x97, 0x4a, 0x30, 0x4c, 0x3f, 0x44, 0x86, + 0xbf, 0xbc, 0x01, 0xa3, 0x9e, 0xbd, 0x4e, 0x3c, 0xe9, 0xc3, 0x4f, 0x1b, 0xa4, 0xb7, 0x74, 0x24, + 0x36, 0x69, 0x69, 0xe1, 0x0d, 0xfd, 0x88, 0x43, 0x28, 0x8b, 0xaa, 0xb0, 0x71, 0xfe, 0x81, 0x4d, + 0x5a, 0x6a, 0x13, 0x3d, 0xb0, 0xe3, 0xfa, 0x96, 0x30, 0x56, 0x55, 0x67, 0xdc, 0xa3, 0x40, 0xcc, + 0x71, 0x68, 0x0e, 0xc6, 0xe5, 0x6a, 0xbb, 0x4b, 0x42, 0x66, 0xab, 0x73, 0x45, 0x5a, 0x5d, 0xcf, + 0xc6, 0x26, 0x1a, 0xa7, 0xe9, 0xd1, 0x27, 0x60, 0x8c, 0x76, 0x7d, 0xd0, 0x8a, 0x65, 0x70, 0x4f, + 0x3f, 0x0b, 0xee, 0x61, 0x11, 0xda, 0x6b, 0x06, 0x06, 0xa7, 0x28, 0x8d, 0xb1, 0x18, 0x38, 0xf6, + 0xb1, 0xf8, 0x22, 0x9c, 0xbd, 0x15, 0xd8, 0xce, 0xbc, 0xed, 0xd9, 0x7e, 0x9d, 0x84, 0xcb, 0xfe, + 0x66, 0x66, 0x1c, 0x84, 0x1e, 0xab, 0x50, 0xcc, 0x8a, 0x55, 0xb0, 0x42, 0x40, 0x7a, 0x05, 0x22, + 0xe8, 0xed, 0x1d, 0x18, 0x74, 0x79, 0x55, 0x62, 0xc9, 0x5d, 0xcd, 0x72, 0xe6, 0xb5, 0xb5, 0x51, + 0x0b, 0xe2, 0xe2, 0x00, 0x2c, 0x59, 0x52, 0x0b, 0xae, 0x93, 0xf7, 0x2f, 0xdb, 0x48, 0xb6, 0x7e, + 0xa9, 0x00, 0xe3, 0xb7, 0x53, 0x77, 0x80, 0x9f, 0x85, 0x81, 0x88, 0x84, 0x1d, 0x5c, 0x99, 0x35, + 0x06, 0xc5, 0x02, 0x7b, 0xec, 0xee, 0x91, 0xff, 0x51, 0x84, 0x32, 0x0b, 0x9f, 0x6e, 0xda, 0xf5, + 0x5e, 0x1a, 0x03, 0x2b, 0x86, 0x31, 0x90, 0x61, 0x9c, 0xab, 0x06, 0x1d, 0x68, 0x0b, 0xdc, 0x51, + 0x77, 0x62, 0x73, 0xd9, 0xe5, 0x09, 0x43, 0x7e, 0xc3, 0x71, 0xcc, 0xbc, 0x42, 0xab, 0xee, 0xcb, + 0xf6, 0x36, 0x66, 0xec, 0xdb, 0x45, 0x18, 0x55, 0x2d, 0x79, 0xe4, 0xa2, 0x07, 0x54, 0xcb, 0x4e, + 0x45, 0x5c, 0x57, 0xb5, 0xae, 0x61, 0xdb, 0xe5, 0xa7, 0x58, 0x20, 0xaf, 0xed, 0xb9, 0x5f, 0x21, + 0xea, 0x5a, 0xfc, 0xb4, 0x08, 0xcc, 0x15, 0xd0, 0x7d, 0x26, 0x79, 0xc5, 0x3f, 0x9e, 0x4b, 0x21, + 0x29, 0x62, 0xdd, 0x80, 0xf1, 0xd4, 0xb0, 0xa3, 0x57, 0xa1, 0xbf, 0xb9, 0x65, 0x47, 0x24, 0x15, + 0xc4, 0xd5, 0x5f, 0xa5, 0xc0, 0xfd, 0xdd, 0xe9, 0x31, 0x55, 0x80, 0x41, 0x30, 0xa7, 0xb6, 0x7e, + 0x52, 0x84, 0xbe, 0xdb, 0x81, 0xd3, 0xcb, 0xe5, 0x71, 0xc3, 0x58, 0x1e, 0xcf, 0x66, 0x67, 0x60, + 0x39, 0x70, 0x65, 0x54, 0x53, 0x2b, 0xe3, 0x72, 0x0e, 0x5e, 0xa7, 0xb9, 0x28, 0x1a, 0x30, 0xcc, + 0xf2, 0xc7, 0x88, 0xd8, 0xb8, 0x97, 0x0d, 0x9b, 0x7b, 0x3a, 0x65, 0x73, 0x8f, 0x6b, 0xa4, 0x9a, + 0xe5, 0xfd, 0x1c, 0x0c, 0x8a, 0x58, 0xac, 0x74, 0x70, 0xb4, 0xa0, 0xc5, 0x12, 0x6f, 0xfd, 0xb3, + 0x12, 0x18, 0xf9, 0x6a, 0xd0, 0xbf, 0x29, 0xc0, 0x4c, 0xc8, 0xaf, 0x7b, 0x39, 0x95, 0x56, 0xe8, + 0xfa, 0x9b, 0xb5, 0xfa, 0x16, 0x71, 0x5a, 0x9e, 0xeb, 0x6f, 0x2e, 0x6f, 0xfa, 0x81, 0x02, 0x2f, + 0x3e, 0x24, 0xf5, 0x16, 0x73, 0xf7, 0xe7, 0x4e, 0x93, 0xa3, 0xe2, 0x05, 0xae, 0xed, 0xed, 0x4e, + 0xcf, 0xe0, 0xae, 0x6a, 0xc1, 0x5d, 0xb6, 0x0a, 0xfd, 0x51, 0x01, 0x66, 0x79, 0xc6, 0x96, 0xfc, + 0x5f, 0x92, 0xcb, 0x57, 0x51, 0x95, 0x4c, 0x13, 0x76, 0x6b, 0x24, 0x6c, 0xcc, 0xbf, 0x26, 0x3a, + 0x79, 0xb6, 0xda, 0x5d, 0xad, 0xb8, 0xdb, 0x66, 0x5a, 0xff, 0xb2, 0x04, 0xa3, 0xb4, 0x3f, 0x93, + 0x7c, 0x0a, 0xaf, 0x1a, 0xd3, 0xe4, 0xa9, 0xd4, 0x34, 0x39, 0x63, 0x10, 0x1f, 0x4f, 0x2a, 0x85, + 0x08, 0xce, 0x78, 0x76, 0x14, 0xdf, 0x20, 0x76, 0x18, 0xaf, 0x13, 0x9b, 0x1d, 0xcf, 0xa7, 0x43, + 0x7e, 0x72, 0x9c, 0xf8, 0xab, 0xf8, 0xbe, 0x5b, 0x69, 0x66, 0xb8, 0x9d, 0x3f, 0xda, 0x06, 0xc4, + 0x42, 0x01, 0x42, 0xdb, 0x8f, 0xf8, 0xb7, 0xb8, 0xe2, 0x80, 0xa0, 0xbb, 0x5a, 0xa7, 0x44, 0xad, + 0xe8, 0x56, 0x1b, 0x37, 0xdc, 0xa1, 0x06, 0x2d, 0xd8, 0xa3, 0x3f, 0x6f, 0xb0, 0xc7, 0x40, 0xc6, + 0xad, 0x84, 0x5f, 0x28, 0xc0, 0x59, 0x3a, 0x2c, 0x66, 0x04, 0x7b, 0x84, 0x02, 0x18, 0xa7, 0xd3, + 0xce, 0x23, 0xb1, 0x84, 0x89, 0xf5, 0x95, 0x61, 0x1f, 0x99, 0x7c, 0x12, 0x35, 0xf9, 0xa6, 0xc9, + 0x0c, 0xa7, 0xb9, 0x5b, 0xbf, 0x5c, 0x04, 0x16, 0xc4, 0x7a, 0x02, 0x1b, 0xf0, 0x75, 0x73, 0x03, + 0xb6, 0xb2, 0x25, 0xc6, 0xa9, 0xec, 0xbd, 0x7f, 0xb5, 0x00, 0x13, 0xb4, 0xf2, 0x6a, 0x18, 0x3c, + 0xdc, 0x91, 0xf6, 0x52, 0xf6, 0x29, 0x99, 0xde, 0xa8, 0xe2, 0xb1, 0x37, 0xea, 0xbd, 0x22, 0x5f, + 0xf3, 0xea, 0xd2, 0x2d, 0xfa, 0xc5, 0x02, 0x0c, 0xd5, 0xed, 0xa6, 0x5d, 0xe7, 0xa9, 0xca, 0x72, + 0x38, 0x1d, 0x8d, 0xf2, 0x33, 0x0b, 0xa2, 0x2c, 0x77, 0x98, 0xbd, 0x24, 0xeb, 0x96, 0xe0, 0x4c, + 0x27, 0x99, 0xaa, 0x7c, 0xca, 0x85, 0x51, 0x83, 0x59, 0x0f, 0xbd, 0x2c, 0xbf, 0x58, 0xe0, 0xfb, + 0x95, 0xb2, 0x26, 0x1f, 0xc0, 0x19, 0x5f, 0xfb, 0x4f, 0x25, 0xb1, 0x34, 0x6f, 0x66, 0xf2, 0xef, + 0x48, 0x4c, 0x80, 0x6b, 0xb1, 0xc6, 0x29, 0x86, 0xb8, 0xbd, 0x0e, 0xeb, 0xb7, 0x0b, 0xf0, 0x98, + 0x4e, 0xa8, 0xdd, 0x91, 0xce, 0x3a, 0x62, 0xa9, 0xc0, 0x50, 0xd0, 0x24, 0xa1, 0x9d, 0x58, 0xce, + 0x97, 0x65, 0xef, 0xaf, 0x0a, 0xf8, 0xfe, 0xee, 0xf4, 0x39, 0x9d, 0xbb, 0x84, 0x63, 0x55, 0x12, + 0x59, 0x30, 0xc0, 0xfa, 0x25, 0x12, 0xb7, 0xdb, 0x59, 0xe2, 0x2e, 0x76, 0xb0, 0x18, 0x61, 0x81, + 0xb1, 0x7e, 0x59, 0x4c, 0x65, 0xbd, 0xe9, 0xe8, 0xab, 0x30, 0xd1, 0xa0, 0x46, 0xf6, 0xe2, 0xc3, + 0x26, 0xd5, 0x01, 0x58, 0x40, 0x45, 0x21, 0xcf, 0xce, 0x77, 0xc0, 0xe7, 0xce, 0x4f, 0x8a, 0xd6, + 0x4f, 0xac, 0xa4, 0xd8, 0xe2, 0xb6, 0x8a, 0xac, 0x9f, 0x14, 0xb8, 0xb8, 0x61, 0x4a, 0xed, 0x73, + 0x30, 0xd8, 0x0c, 0x9c, 0x85, 0xe5, 0x0a, 0x16, 0x7d, 0xa5, 0xe4, 0x65, 0x95, 0x83, 0xb1, 0xc4, + 0xa3, 0x6b, 0x00, 0xe4, 0x61, 0x4c, 0x42, 0xdf, 0xf6, 0x54, 0x20, 0x84, 0xd2, 0x21, 0x17, 0x15, + 0x06, 0x6b, 0x54, 0xb4, 0x4c, 0x33, 0x0c, 0xb6, 0x5d, 0x87, 0x5d, 0x2b, 0x2a, 0x99, 0x65, 0xaa, + 0x0a, 0x83, 0x35, 0x2a, 0xf4, 0x06, 0x8c, 0xb6, 0xfc, 0x88, 0xef, 0xc0, 0xf6, 0xba, 0xc8, 0x08, + 0x35, 0x94, 0xb8, 0x36, 0xee, 0xe8, 0x48, 0x6c, 0xd2, 0x5a, 0x7f, 0x50, 0x06, 0x48, 0x34, 0x48, + 0xf4, 0x5e, 0xfb, 0x0a, 0xfd, 0x58, 0x5e, 0xf5, 0xf3, 0xf8, 0x96, 0x27, 0xfa, 0x66, 0x01, 0x86, + 0x6d, 0xcf, 0x0b, 0xea, 0x76, 0xcc, 0xbe, 0xa8, 0x98, 0x57, 0x56, 0x88, 0x96, 0xcc, 0x25, 0x65, + 0x79, 0x63, 0x5e, 0x96, 0xe7, 0xe4, 0x1a, 0x26, 0xb3, 0x3d, 0x7a, 0x13, 0xd0, 0x4b, 0xd2, 0xf2, + 0xe0, 0x83, 0x32, 0x95, 0xb6, 0x3c, 0xca, 0x4c, 0xfe, 0x6a, 0x46, 0x07, 0xfa, 0xa2, 0x91, 0xfc, + 0xa8, 0x2f, 0xcf, 0xa5, 0x6a, 0x43, 0xeb, 0xc9, 0xcc, 0x7b, 0xf4, 0x39, 0xfd, 0x4e, 0x44, 0x7f, + 0x9e, 0xac, 0x05, 0x9a, 0xf2, 0x9d, 0x71, 0x1f, 0x22, 0x86, 0x71, 0xc7, 0xdc, 0xe7, 0x85, 0x57, + 0xe9, 0x6a, 0x76, 0x0d, 0x29, 0x05, 0x21, 0xd9, 0xd9, 0x53, 0x08, 0x9c, 0xae, 0x02, 0x7d, 0x8e, + 0xdf, 0x58, 0x59, 0xf6, 0x37, 0x02, 0x11, 0x8b, 0x79, 0x25, 0xc7, 0x98, 0xef, 0x44, 0x31, 0x69, + 0xd0, 0x32, 0xc9, 0x76, 0x74, 0x5b, 0x70, 0xc1, 0x8a, 0x1f, 0x5a, 0x83, 0x01, 0x76, 0x7b, 0x2f, + 0x9a, 0x1c, 0xca, 0xe3, 0xbd, 0x35, 0x2f, 0xad, 0x27, 0xfa, 0x13, 0xfb, 0x1b, 0x61, 0xc1, 0x0b, + 0xdd, 0x90, 0xc9, 0x23, 0xa2, 0x65, 0xff, 0x4e, 0x44, 0x58, 0xf2, 0x88, 0xf2, 0xfc, 0x47, 0x92, + 0x6c, 0x10, 0x1c, 0xde, 0x31, 0x99, 0xa4, 0x51, 0x92, 0xaa, 0x51, 0xe2, 0xbf, 0xcc, 0x51, 0x39, + 0x09, 0x79, 0x1a, 0x6a, 0x66, 0xb4, 0x4c, 0x3a, 0xfb, 0xae, 0xc9, 0x0c, 0xa7, 0xb9, 0x9f, 0xe0, + 0x1e, 0x38, 0xe5, 0xc1, 0x44, 0x7a, 0x49, 0xf6, 0x70, 0xc7, 0xfd, 0x69, 0x1f, 0x8c, 0x99, 0x13, + 0x03, 0xcd, 0x42, 0x59, 0xa8, 0x33, 0x2a, 0xb3, 0x9c, 0x9a, 0xff, 0x2b, 0x12, 0x81, 0x13, 0x1a, + 0x96, 0x63, 0x8f, 0x15, 0xd7, 0xa2, 0xd8, 0x92, 0x1c, 0x7b, 0x0a, 0x83, 0x35, 0x2a, 0xaa, 0x73, + 0xaf, 0x07, 0x41, 0xac, 0x04, 0xb7, 0x9a, 0x33, 0xf3, 0x0c, 0x8a, 0x05, 0x96, 0x0a, 0xec, 0xfb, + 0xf4, 0x83, 0x3c, 0xd3, 0x4f, 0xac, 0x04, 0xf6, 0x4d, 0x1d, 0x89, 0x4d, 0x5a, 0xba, 0x01, 0x05, + 0x11, 0x9b, 0x84, 0x42, 0xb3, 0x4f, 0xa2, 0x02, 0x6b, 0xfc, 0x36, 0xab, 0xc4, 0xa3, 0xcf, 0xc2, + 0x63, 0xea, 0xf2, 0x29, 0xe6, 0x5e, 0x7d, 0x59, 0xe3, 0x80, 0x61, 0x9c, 0x3f, 0xb6, 0xd0, 0x99, + 0x0c, 0x1f, 0x54, 0x1e, 0xbd, 0x09, 0x63, 0x42, 0x2b, 0x97, 0x1c, 0x07, 0xcd, 0xa0, 0x91, 0x9b, + 0x06, 0x16, 0xa7, 0xa8, 0x51, 0x05, 0x26, 0x28, 0x84, 0xe9, 0xab, 0x92, 0x03, 0xbf, 0x44, 0xab, + 0x76, 0xe6, 0x9b, 0x29, 0x3c, 0x6e, 0x2b, 0x81, 0xe6, 0x60, 0x9c, 0xeb, 0x16, 0xd4, 0x04, 0x65, + 0xe3, 0x20, 0x82, 0xa7, 0xd5, 0x22, 0x58, 0x35, 0xd1, 0x38, 0x4d, 0x8f, 0x5e, 0x87, 0x11, 0x3b, + 0xac, 0x6f, 0xb9, 0x31, 0xa9, 0xc7, 0xad, 0x90, 0xa7, 0x65, 0xd1, 0xa2, 0x6e, 0xe6, 0x34, 0x1c, + 0x36, 0x28, 0xad, 0xaf, 0xc0, 0xd9, 0x0e, 0x37, 0x34, 0xe8, 0xc4, 0xb1, 0x9b, 0xae, 0xfc, 0xa6, + 0x54, 0x7c, 0xdf, 0x5c, 0x75, 0x59, 0x7e, 0x8d, 0x46, 0x45, 0x67, 0x27, 0x3b, 0x70, 0xd0, 0xd2, + 0xc9, 0xaa, 0xd9, 0xb9, 0x24, 0x11, 0x38, 0xa1, 0xb1, 0xfe, 0x4f, 0x19, 0x34, 0x2f, 0x54, 0x8e, + 0xa8, 0xae, 0xd7, 0x61, 0x44, 0x66, 0x48, 0xd6, 0x32, 0x93, 0xaa, 0xcf, 0xbc, 0xae, 0xe1, 0xb0, + 0x41, 0x49, 0xdb, 0xe6, 0x4b, 0x9f, 0x5a, 0x3a, 0x9a, 0x50, 0x39, 0xdb, 0x70, 0x42, 0x83, 0xae, + 0xc0, 0x50, 0x44, 0xbc, 0x8d, 0x5b, 0xae, 0x7f, 0x5f, 0x4c, 0x6c, 0x25, 0x95, 0x6b, 0x02, 0x8e, + 0x15, 0x05, 0x9a, 0x87, 0x52, 0xcb, 0x75, 0xc4, 0x54, 0x96, 0x2a, 0x43, 0xe9, 0xce, 0x72, 0x65, + 0x7f, 0x77, 0xfa, 0xa9, 0x83, 0x52, 0x4c, 0x53, 0x13, 0x23, 0x9a, 0xa1, 0xcb, 0x8f, 0x16, 0xee, + 0x74, 0xf2, 0x32, 0xd0, 0xe5, 0xc9, 0xcb, 0x35, 0x00, 0xf1, 0xd5, 0x72, 0x2e, 0x97, 0x92, 0x51, + 0xbb, 0xae, 0x30, 0x58, 0xa3, 0x42, 0x11, 0x9c, 0xa9, 0x87, 0xc4, 0x96, 0x26, 0x37, 0xbf, 0x41, + 0x30, 0x74, 0x74, 0x7f, 0xc2, 0x42, 0x9a, 0x19, 0x6e, 0xe7, 0x8f, 0x02, 0x38, 0xe3, 0xd0, 0x85, + 0x64, 0x54, 0x5a, 0xee, 0xfe, 0xda, 0x02, 0xad, 0xb0, 0x92, 0x66, 0x84, 0xdb, 0x79, 0xa3, 0x2f, + 0xc0, 0x94, 0x04, 0xb6, 0x5f, 0x2f, 0x67, 0xcb, 0xa5, 0x34, 0x7f, 0x71, 0x6f, 0x77, 0x7a, 0xaa, + 0x72, 0x20, 0x15, 0x3e, 0x84, 0x03, 0x7a, 0x07, 0x06, 0xd8, 0x49, 0x5d, 0x34, 0x39, 0xcc, 0x76, + 0xbb, 0x57, 0xf2, 0xfa, 0x63, 0x67, 0xd8, 0x79, 0x9f, 0x08, 0x8d, 0x4e, 0x0e, 0x57, 0x19, 0x10, + 0x0b, 0x9e, 0xa8, 0x09, 0xc3, 0xb6, 0xef, 0x07, 0xb1, 0xcd, 0x95, 0xb0, 0x91, 0x3c, 0x7a, 0xa4, + 0x56, 0xc5, 0x5c, 0x52, 0x96, 0xd7, 0xa3, 0xe2, 0x2d, 0x35, 0x0c, 0xd6, 0xab, 0x40, 0x0f, 0x60, + 0x3c, 0x78, 0x40, 0x05, 0xa6, 0x3c, 0x4e, 0x8a, 0x26, 0x47, 0xcd, 0x0f, 0x3b, 0x7c, 0x78, 0x56, + 0x8d, 0xc2, 0x9a, 0x24, 0x33, 0x99, 0xe2, 0x74, 0x2d, 0x68, 0xc6, 0x70, 0xb7, 0x8f, 0x25, 0x17, + 0x00, 0x12, 0x77, 0xbb, 0xee, 0x5d, 0x67, 0x29, 0x0c, 0x78, 0xd0, 0x2f, 0x93, 0x08, 0xe3, 0xa9, + 0x14, 0x06, 0x09, 0x0a, 0xeb, 0x74, 0x53, 0x1f, 0x87, 0x61, 0xad, 0xe3, 0xbb, 0x89, 0x34, 0x9f, + 0x7a, 0x13, 0x26, 0xd2, 0x1d, 0xda, 0x55, 0xa4, 0xfa, 0xff, 0x2e, 0xc2, 0x78, 0x87, 0xb3, 0xba, + 0xfb, 0x2e, 0xbb, 0x2d, 0x61, 0x88, 0xbe, 0x9b, 0xae, 0xef, 0x60, 0x86, 0x31, 0x05, 0x58, 0x31, + 0x87, 0x00, 0x93, 0xd2, 0xb4, 0x74, 0xa0, 0x34, 0x15, 0x42, 0xab, 0xef, 0x83, 0x08, 0x2d, 0x73, + 0x9f, 0xe8, 0xcf, 0xb5, 0x4f, 0x1c, 0x83, 0xa0, 0x33, 0xb6, 0x9a, 0xc1, 0x1c, 0x5b, 0xcd, 0x9f, + 0x16, 0x61, 0x22, 0x89, 0xca, 0x17, 0x69, 0xd3, 0x7b, 0x77, 0x8c, 0xb2, 0x66, 0x1c, 0xa3, 0x64, + 0x65, 0x43, 0x4f, 0xb5, 0xeb, 0x90, 0xc0, 0x43, 0xf3, 0x48, 0xe5, 0x95, 0x2e, 0xf9, 0x9e, 0xe6, + 0xf1, 0xca, 0x5f, 0x2e, 0xc1, 0xf9, 0x74, 0x83, 0x16, 0x3c, 0xdb, 0x6d, 0xf4, 0x70, 0x14, 0x3e, + 0x6b, 0x8c, 0xc2, 0x6b, 0xdd, 0xf5, 0x16, 0x6b, 0xdc, 0x81, 0x43, 0x61, 0xa7, 0x86, 0xe2, 0xe3, + 0x47, 0x61, 0x7e, 0x9a, 0xe3, 0xf1, 0xbd, 0x22, 0x3c, 0xde, 0xb1, 0x55, 0x27, 0xe0, 0x8e, 0x7e, + 0xdb, 0x74, 0x47, 0xbf, 0x7c, 0x84, 0xbe, 0x3b, 0x15, 0xff, 0xf4, 0x7f, 0x3b, 0xa8, 0xcf, 0x98, + 0x4f, 0x6d, 0x15, 0x86, 0xed, 0x7a, 0x9d, 0x44, 0xd1, 0x4a, 0xe0, 0xa8, 0xb4, 0x70, 0x2f, 0xb2, + 0x5d, 0x36, 0x01, 0xef, 0xef, 0x4e, 0x4f, 0xa5, 0x59, 0x24, 0x68, 0xac, 0x73, 0x30, 0xd3, 0x46, + 0x16, 0x7b, 0x94, 0x36, 0xf2, 0x1a, 0xc0, 0xb6, 0xb2, 0xe5, 0xd3, 0xae, 0x3a, 0xcd, 0xca, 0xd7, + 0xa8, 0xd0, 0x9f, 0x67, 0xba, 0x31, 0x0f, 0x40, 0xea, 0x33, 0xaf, 0x67, 0x67, 0xcc, 0x0e, 0x3d, + 0x98, 0x89, 0xdf, 0x02, 0x57, 0x6e, 0x4d, 0xc5, 0xd2, 0xfa, 0xbd, 0x12, 0x7c, 0xf8, 0x90, 0x05, + 0x83, 0xe6, 0xcc, 0xd3, 0xf3, 0x17, 0xd2, 0x3e, 0xac, 0xa9, 0x8e, 0x85, 0x0d, 0xa7, 0x56, 0x6a, + 0xac, 0x8a, 0x1f, 0x78, 0xac, 0xbe, 0xa5, 0x7b, 0x1c, 0x79, 0x0c, 0xf4, 0xf5, 0x23, 0x8b, 0x84, + 0x9f, 0xcd, 0x13, 0x82, 0xaf, 0x17, 0xe0, 0xa9, 0x8e, 0x1f, 0x65, 0xc4, 0x17, 0xcd, 0x42, 0xb9, + 0x4e, 0x81, 0xda, 0x15, 0xb8, 0xe4, 0xee, 0xa9, 0x44, 0xe0, 0x84, 0xc6, 0x08, 0x23, 0x2a, 0x66, + 0x86, 0x11, 0xfd, 0xbd, 0x22, 0x9c, 0x4b, 0x37, 0xe2, 0x04, 0x24, 0x5a, 0xcd, 0x94, 0x68, 0x33, + 0xdd, 0x0d, 0xfd, 0xa9, 0x08, 0xb3, 0xdf, 0x1c, 0x85, 0x0b, 0x6d, 0x1a, 0x02, 0x1f, 0xa3, 0x9f, + 0x2b, 0xc0, 0x99, 0x4d, 0x66, 0xe1, 0x68, 0xb7, 0x18, 0x45, 0xaf, 0x65, 0x5c, 0xfd, 0x3c, 0xf4, + 0xf2, 0x23, 0xb7, 0xd7, 0xda, 0x48, 0x70, 0x7b, 0x65, 0xe8, 0x1b, 0x05, 0x38, 0x67, 0x3f, 0x88, + 0xda, 0x1e, 0x3e, 0x12, 0x93, 0xf4, 0xcd, 0x0c, 0x67, 0x62, 0xc6, 0x93, 0x49, 0xf3, 0x93, 0x7b, + 0xbb, 0xd3, 0xe7, 0x3a, 0x51, 0xe1, 0x8e, 0xb5, 0xd2, 0xa1, 0xd8, 0x12, 0xb7, 0xa4, 0xf2, 0xdd, + 0xc7, 0xed, 0x74, 0xa7, 0x8a, 0x0b, 0x3c, 0x89, 0xc1, 0x8a, 0x23, 0xfa, 0x12, 0x94, 0x37, 0xe5, + 0xc5, 0xc5, 0xb4, 0x40, 0x3d, 0xa0, 0x9b, 0x3b, 0xdd, 0x73, 0xe4, 0x37, 0x77, 0x14, 0x0a, 0x27, + 0x4c, 0xd1, 0x0d, 0x28, 0xf9, 0x1b, 0x91, 0x48, 0x6f, 0x90, 0x15, 0xa3, 0x66, 0x46, 0x04, 0xf2, + 0x5b, 0xd5, 0xb7, 0x97, 0x6a, 0x98, 0xb2, 0xa0, 0x9c, 0xc2, 0x75, 0x47, 0x78, 0xd1, 0x33, 0x38, + 0xe1, 0xf9, 0x4a, 0x3b, 0x27, 0x3c, 0x5f, 0xc1, 0x94, 0x05, 0xaa, 0x42, 0x3f, 0xbb, 0x83, 0x25, + 0x5c, 0xe4, 0x19, 0xb9, 0x2f, 0xda, 0x6e, 0x9a, 0xf1, 0x8c, 0xab, 0x0c, 0x8c, 0x39, 0x23, 0xb4, + 0x06, 0x03, 0x75, 0xf6, 0x1a, 0x87, 0xf0, 0x5f, 0x64, 0x65, 0x6e, 0x69, 0x7b, 0xb9, 0x83, 0x1f, + 0xe5, 0x71, 0x38, 0x16, 0xbc, 0x18, 0x57, 0xd2, 0xdc, 0xda, 0x88, 0x84, 0x83, 0x22, 0x8b, 0x6b, + 0xdb, 0xbb, 0x2a, 0x82, 0x2b, 0x83, 0x63, 0xc1, 0x0b, 0x55, 0xa0, 0xb8, 0x51, 0x17, 0xe9, 0x0f, + 0x32, 0x5c, 0xe3, 0xe6, 0x15, 0xf9, 0xf9, 0x81, 0xbd, 0xdd, 0xe9, 0xe2, 0xd2, 0x02, 0x2e, 0x6e, + 0xd4, 0xd1, 0xdb, 0x30, 0xb8, 0xc1, 0x2f, 0x3d, 0x8b, 0x54, 0xc9, 0x57, 0xb3, 0x6e, 0x66, 0xb7, + 0xdd, 0x90, 0xe6, 0xb7, 0xb3, 0x04, 0x02, 0x4b, 0x76, 0x2c, 0x7f, 0xa5, 0xba, 0xc6, 0x2d, 0x72, + 0x25, 0xcf, 0x74, 0x77, 0xed, 0x5b, 0xd8, 0xed, 0x0a, 0x8a, 0x35, 0x8e, 0x74, 0xce, 0xdb, 0xf2, + 0xb9, 0x22, 0x96, 0x27, 0x39, 0x73, 0xce, 0x77, 0x7c, 0xdd, 0x88, 0xcf, 0x79, 0x85, 0xc2, 0x09, + 0x53, 0xd4, 0x82, 0xd1, 0xed, 0xa8, 0xb9, 0x45, 0xe4, 0xd2, 0x67, 0xc9, 0x93, 0x87, 0xaf, 0x7d, + 0x32, 0x23, 0x23, 0xb6, 0x28, 0xe2, 0x86, 0x71, 0xcb, 0xf6, 0xda, 0x24, 0x18, 0x4b, 0x18, 0x78, + 0x57, 0x67, 0x8b, 0xcd, 0x5a, 0xe8, 0x90, 0xbc, 0xdb, 0x0a, 0xd6, 0x77, 0x62, 0x22, 0x92, 0x2b, + 0x67, 0x0c, 0xc9, 0x5b, 0x9c, 0xb8, 0x7d, 0x48, 0x04, 0x02, 0x4b, 0x76, 0xaa, 0xcb, 0x98, 0x34, + 0x9e, 0xc8, 0xdd, 0x65, 0x6d, 0xdf, 0x90, 0x74, 0x19, 0x93, 0xbe, 0x09, 0x53, 0x26, 0x75, 0x9b, + 0x5b, 0x41, 0x1c, 0xf8, 0x29, 0xd9, 0x7f, 0x26, 0x8f, 0xd4, 0xad, 0x76, 0x28, 0xd9, 0x2e, 0x75, + 0x3b, 0x51, 0xe1, 0x8e, 0xb5, 0x5a, 0x3f, 0xe9, 0x6f, 0xdf, 0xcc, 0x99, 0xaa, 0xfd, 0x57, 0xda, + 0xcf, 0x77, 0x3f, 0xdd, 0xbd, 0x8d, 0x7d, 0x8c, 0x27, 0xbd, 0xdf, 0x28, 0xc0, 0x85, 0x66, 0xc7, + 0xcd, 0x54, 0x6c, 0x58, 0xdd, 0x9a, 0xea, 0xbc, 0xc3, 0x54, 0xe6, 0xf0, 0xce, 0x78, 0x7c, 0x40, + 0x9d, 0x69, 0xf5, 0xb6, 0xf4, 0x81, 0xd5, 0xdb, 0x7b, 0x30, 0xc4, 0x34, 0xb2, 0x24, 0x55, 0x51, + 0x97, 0xd9, 0x7d, 0xd8, 0xd6, 0xb7, 0x20, 0x58, 0x60, 0xc5, 0x8c, 0x76, 0xdc, 0x93, 0xe9, 0x8f, + 0xc0, 0x84, 0xa1, 0x45, 0xca, 0x73, 0xee, 0x53, 0x5a, 0x12, 0x3d, 0xf1, 0x64, 0xf5, 0x30, 0xe2, + 0xfd, 0x2c, 0x02, 0x7c, 0x78, 0x65, 0x27, 0xa9, 0x2e, 0xff, 0xfd, 0x42, 0x07, 0xfd, 0x8b, 0x1b, + 0x38, 0x9f, 0x34, 0x0d, 0x9c, 0x67, 0xd3, 0x06, 0x4e, 0x9b, 0x23, 0xc5, 0xb0, 0x6d, 0xf2, 0x67, + 0xe8, 0xcd, 0x9b, 0x4b, 0xc9, 0xf2, 0xe0, 0x52, 0xd6, 0xe2, 0x66, 0x71, 0x5a, 0x8e, 0x3a, 0x96, + 0x4c, 0xe2, 0xb4, 0x9c, 0xe5, 0x0a, 0x66, 0x98, 0xbc, 0x29, 0x2d, 0xac, 0x3f, 0x2c, 0x42, 0xa9, + 0x1a, 0x38, 0x3d, 0x74, 0x0c, 0x5d, 0x37, 0x1c, 0x43, 0xcf, 0x64, 0x3e, 0xd2, 0x78, 0xa0, 0x1b, + 0x68, 0x35, 0xe5, 0x06, 0xfa, 0x68, 0x36, 0xab, 0xd3, 0x74, 0xfa, 0x7c, 0xbf, 0x04, 0xfa, 0x23, + 0x96, 0xe8, 0x3f, 0x1c, 0x25, 0xe6, 0xb8, 0x94, 0xef, 0x5d, 0x4b, 0x51, 0x07, 0x0b, 0xf0, 0x92, + 0x77, 0x58, 0x7f, 0x66, 0x43, 0x8f, 0xef, 0x11, 0x77, 0x73, 0x2b, 0x26, 0x4e, 0xfa, 0xc3, 0x4e, + 0x2e, 0xf4, 0xf8, 0xbf, 0x17, 0x60, 0x3c, 0x55, 0x3b, 0xf2, 0x3a, 0x5d, 0x25, 0x3b, 0xa2, 0x33, + 0xe6, 0x4c, 0xe6, 0xdd, 0xb3, 0x19, 0x00, 0x75, 0xba, 0x20, 0x5d, 0x26, 0x4c, 0xc3, 0x53, 0xc7, + 0x0f, 0x11, 0xd6, 0x28, 0xd0, 0xab, 0x30, 0x1c, 0x07, 0xcd, 0xc0, 0x0b, 0x36, 0x77, 0x6e, 0x12, + 0x99, 0xc2, 0x45, 0x9d, 0xcc, 0xac, 0x25, 0x28, 0xac, 0xd3, 0x59, 0x3f, 0x2c, 0x41, 0xfa, 0x09, + 0xd4, 0xff, 0x3f, 0x4f, 0x7f, 0x76, 0xe6, 0xe9, 0xef, 0x17, 0x61, 0x82, 0xd6, 0xce, 0xc2, 0x73, + 0x64, 0x0c, 0xaf, 0x7a, 0x0a, 0xa4, 0x70, 0xc8, 0x53, 0x20, 0xcf, 0x52, 0x59, 0xea, 0x04, 0xad, + 0x58, 0xb8, 0x79, 0x34, 0x11, 0x49, 0xa1, 0x58, 0x60, 0x05, 0x1d, 0x09, 0x43, 0x71, 0xab, 0x4c, + 0xa7, 0x23, 0x61, 0x88, 0x05, 0x56, 0xbe, 0x14, 0xd2, 0x77, 0xc0, 0x4b, 0x21, 0x2c, 0x09, 0x9a, + 0x08, 0x0b, 0x11, 0x4a, 0x86, 0x96, 0x04, 0x4d, 0xc6, 0x8b, 0x24, 0x34, 0x3d, 0xbe, 0x9a, 0xf8, + 0xbb, 0x25, 0x18, 0xa9, 0x06, 0x4e, 0x72, 0xb3, 0xe0, 0x15, 0xe3, 0x66, 0xc1, 0xa5, 0xd4, 0xcd, + 0x82, 0x09, 0x9d, 0xf6, 0x78, 0x2e, 0x16, 0x88, 0x34, 0x82, 0xec, 0xa5, 0x9c, 0x23, 0x5e, 0x2a, + 0x30, 0xd2, 0x08, 0x2a, 0x46, 0xd8, 0xe4, 0xfb, 0x67, 0xe9, 0x32, 0xc1, 0x4f, 0x8a, 0x30, 0x56, + 0x0d, 0x1c, 0x3a, 0xfd, 0xff, 0x4c, 0xcd, 0x75, 0x2d, 0x81, 0xdf, 0xc0, 0x21, 0x2f, 0x78, 0xe9, + 0x4b, 0x62, 0xf0, 0xf8, 0x8f, 0x0c, 0x8b, 0x30, 0x58, 0x0d, 0x9c, 0x13, 0x70, 0xdf, 0x2e, 0x99, + 0xee, 0xdb, 0xa7, 0x32, 0x77, 0x8d, 0x53, 0xf1, 0xd8, 0xfe, 0x5a, 0x1f, 0x8c, 0xd2, 0xfe, 0x08, + 0x36, 0xe5, 0x5c, 0x33, 0xc6, 0xb5, 0x90, 0x63, 0x5c, 0xa9, 0x0a, 0x1e, 0x78, 0x5e, 0xf0, 0x20, + 0x3d, 0xef, 0x96, 0x18, 0x14, 0x0b, 0x2c, 0xba, 0x02, 0x43, 0xcd, 0x90, 0x6c, 0xbb, 0x41, 0x2b, + 0x4a, 0xdf, 0xdd, 0xad, 0x0a, 0x38, 0x56, 0x14, 0xe8, 0x15, 0x18, 0x89, 0x5c, 0xbf, 0x4e, 0x64, + 0x38, 0x4d, 0x1f, 0x0b, 0xa7, 0xe1, 0xb9, 0x69, 0x35, 0x38, 0x36, 0xa8, 0xd0, 0x3d, 0x28, 0xb3, + 0xff, 0x6c, 0xf5, 0x77, 0xff, 0xfc, 0x0a, 0x4f, 0x6e, 0x28, 0x19, 0xe0, 0x84, 0x17, 0xba, 0x06, + 0x10, 0xcb, 0xc0, 0x9f, 0x48, 0x24, 0x69, 0x52, 0xf6, 0x80, 0x0a, 0x09, 0x8a, 0xb0, 0x46, 0x85, + 0x5e, 0x80, 0x72, 0x6c, 0xbb, 0xde, 0x2d, 0xd7, 0x27, 0x91, 0x08, 0x9c, 0x12, 0xf9, 0xeb, 0x05, + 0x10, 0x27, 0x78, 0xaa, 0x09, 0xb1, 0xac, 0x07, 0xfc, 0x69, 0xa7, 0x21, 0x46, 0xcd, 0x34, 0xa1, + 0x5b, 0x0a, 0x8a, 0x35, 0x0a, 0x63, 0x5a, 0x94, 0x8f, 0x3f, 0xe1, 0x29, 0xd7, 0x0c, 0x1f, 0xa9, + 0x4b, 0x33, 0x3f, 0x2e, 0x02, 0xaa, 0xb2, 0xe8, 0x28, 0xe3, 0x49, 0xb0, 0x2d, 0x18, 0x8b, 0xc8, + 0x2d, 0xd7, 0x6f, 0x3d, 0x14, 0x0d, 0xcd, 0x77, 0xc5, 0xaa, 0xb6, 0xa8, 0x97, 0xe1, 0x79, 0x04, + 0x4c, 0x18, 0x4e, 0xf1, 0xa5, 0xe3, 0x19, 0xb6, 0xfc, 0xb9, 0xe8, 0x4e, 0x44, 0x42, 0xf1, 0xf8, + 0x16, 0x1b, 0x4f, 0x2c, 0x81, 0x38, 0xc1, 0xd3, 0xf9, 0xcb, 0xfe, 0xdc, 0x0e, 0x7c, 0x1c, 0x04, + 0xb1, 0x9c, 0xf1, 0xec, 0x31, 0x16, 0x0d, 0x8e, 0x0d, 0x2a, 0xb4, 0x04, 0x28, 0x6a, 0x35, 0x9b, + 0x1e, 0x3b, 0x66, 0xb5, 0xbd, 0xeb, 0x61, 0xd0, 0x6a, 0xf2, 0x00, 0x79, 0xf1, 0x8e, 0x49, 0xad, + 0x0d, 0x8b, 0x3b, 0x94, 0xa0, 0xb2, 0x76, 0x23, 0x62, 0xbf, 0x45, 0x9e, 0x04, 0xee, 0x90, 0xad, + 0x31, 0x10, 0x96, 0x38, 0xeb, 0x6b, 0x4c, 0x3f, 0x60, 0xaf, 0x22, 0xc5, 0xad, 0x90, 0xa0, 0x06, + 0x8c, 0x36, 0x99, 0x0e, 0x10, 0x87, 0x81, 0xe7, 0x11, 0xa9, 0xfc, 0x1f, 0x2d, 0x3e, 0x8b, 0xbf, + 0x83, 0xa2, 0xb3, 0xc3, 0x26, 0x77, 0xeb, 0x6f, 0x0e, 0x33, 0x61, 0x2c, 0x4e, 0xba, 0x07, 0x45, + 0x14, 0xb6, 0x50, 0xb3, 0x3f, 0x92, 0xe7, 0x95, 0xc1, 0x64, 0x1b, 0x15, 0x31, 0xdd, 0x58, 0x72, + 0x41, 0x9f, 0x67, 0x77, 0x0c, 0xb8, 0x8c, 0xca, 0xff, 0xb0, 0x28, 0xa7, 0x37, 0xee, 0x17, 0x08, + 0x16, 0x58, 0x63, 0x87, 0x6e, 0xc1, 0xa8, 0x78, 0x44, 0x47, 0x78, 0x94, 0x4a, 0x86, 0x57, 0x65, + 0x14, 0xeb, 0xc8, 0xfd, 0x34, 0x00, 0x9b, 0x85, 0xd1, 0x26, 0x3c, 0xa9, 0x3d, 0xd7, 0xd7, 0x21, + 0x96, 0x90, 0x0b, 0xbf, 0xa7, 0xf6, 0x76, 0xa7, 0x9f, 0x5c, 0x3b, 0x8c, 0x10, 0x1f, 0xce, 0x07, + 0xad, 0xc2, 0x79, 0xbb, 0x1e, 0xbb, 0xdb, 0xa4, 0x42, 0x6c, 0xc7, 0x73, 0x7d, 0x62, 0x26, 0xd3, + 0x78, 0x7c, 0x6f, 0x77, 0xfa, 0xfc, 0x5c, 0x27, 0x02, 0xdc, 0xb9, 0x1c, 0xfa, 0x24, 0x94, 0x1d, + 0x3f, 0x12, 0x7d, 0x30, 0x60, 0xbc, 0x4c, 0x58, 0xae, 0xdc, 0xae, 0xa9, 0xef, 0x4f, 0xfe, 0xe0, + 0xa4, 0x00, 0x7a, 0x17, 0x46, 0xf4, 0xab, 0x58, 0xe2, 0x45, 0xcc, 0xd7, 0x72, 0xb9, 0x4e, 0x8c, + 0xfb, 0x4b, 0xdc, 0xd9, 0xaa, 0x62, 0x76, 0x8d, 0xab, 0x4d, 0x46, 0x15, 0xe8, 0x33, 0x80, 0x22, + 0x12, 0x6e, 0xbb, 0x75, 0x32, 0x57, 0x67, 0xb9, 0xa5, 0xd9, 0x99, 0xf1, 0x90, 0x71, 0x71, 0x05, + 0xd5, 0xda, 0x28, 0x70, 0x87, 0x52, 0xe8, 0x06, 0x95, 0x3c, 0x3a, 0x54, 0x84, 0x58, 0x4b, 0xbd, + 0x7a, 0xb2, 0x42, 0x9a, 0x21, 0xa9, 0xdb, 0x31, 0x71, 0x4c, 0x8e, 0x38, 0x55, 0x8e, 0x6e, 0x8d, + 0xea, 0x39, 0x12, 0x30, 0x03, 0x83, 0xdb, 0x9f, 0x24, 0xa1, 0x46, 0xf0, 0x56, 0x10, 0xc5, 0xb7, + 0x49, 0xfc, 0x20, 0x08, 0xef, 0xb3, 0x43, 0x9a, 0x21, 0x2d, 0xdd, 0x65, 0x82, 0xc2, 0x3a, 0x1d, + 0x55, 0x41, 0xd9, 0xe9, 0xe0, 0x72, 0x85, 0x1d, 0xbd, 0x0c, 0x25, 0x6b, 0xe7, 0x06, 0x07, 0x63, + 0x89, 0x97, 0xa4, 0xcb, 0xd5, 0x05, 0x76, 0x8c, 0x92, 0x22, 0x5d, 0xae, 0x2e, 0x60, 0x89, 0x47, + 0x41, 0xfb, 0xfb, 0x8f, 0x63, 0x79, 0x8e, 0xb4, 0xda, 0x25, 0x79, 0xce, 0x27, 0x20, 0x1f, 0xc2, + 0x84, 0x7a, 0x83, 0x92, 0xe7, 0x21, 0x8e, 0x26, 0xc7, 0xd9, 0xc4, 0x39, 0x4a, 0x3a, 0x63, 0x15, + 0x53, 0xbf, 0x9c, 0xe2, 0x89, 0xdb, 0x6a, 0x31, 0xd2, 0xb6, 0x4c, 0x64, 0x3e, 0x31, 0x33, 0x0b, + 0xe5, 0xa8, 0xb5, 0xee, 0x04, 0x0d, 0xdb, 0xf5, 0xd9, 0x59, 0x87, 0xa6, 0x47, 0xd5, 0x24, 0x02, + 0x27, 0x34, 0xa8, 0x0a, 0x43, 0xb6, 0xb0, 0xaf, 0xd9, 0x53, 0x94, 0x99, 0xa9, 0x12, 0xa4, 0x35, + 0xce, 0x1d, 0xe1, 0xf2, 0x1f, 0x56, 0x5c, 0xa6, 0x3e, 0x05, 0x67, 0xda, 0x56, 0x49, 0x57, 0x61, + 0xa5, 0xff, 0xae, 0x0f, 0xca, 0xca, 0xbf, 0x88, 0x66, 0x4d, 0x17, 0xf2, 0xe3, 0x69, 0x17, 0xf2, + 0x10, 0xd5, 0x18, 0x74, 0xaf, 0xf1, 0x17, 0x3a, 0xbc, 0x71, 0xff, 0x7c, 0xe6, 0xb4, 0xc8, 0x7f, + 0xcb, 0x4b, 0x33, 0xaa, 0x4a, 0xb9, 0xbd, 0xd2, 0x7d, 0x87, 0xda, 0x69, 0x39, 0x9f, 0x95, 0xa4, + 0x16, 0x59, 0x33, 0x70, 0x96, 0xab, 0xe9, 0x57, 0xd3, 0xaa, 0x14, 0x88, 0x39, 0x8e, 0x69, 0xa3, + 0x54, 0xcc, 0x33, 0x6d, 0x74, 0xf0, 0x88, 0xda, 0xa8, 0x64, 0x80, 0x13, 0x5e, 0x68, 0x1b, 0xce, + 0xd4, 0xcd, 0x47, 0xf0, 0xd4, 0xdd, 0xad, 0x17, 0xbb, 0x78, 0x84, 0xae, 0xa5, 0x3d, 0xc9, 0xb3, + 0x90, 0xe6, 0x87, 0xdb, 0xab, 0x40, 0x6f, 0xc0, 0xd0, 0xbb, 0x41, 0xb4, 0xe0, 0xd9, 0x51, 0x24, + 0x64, 0x9d, 0xbc, 0x27, 0x33, 0xf4, 0xd6, 0x6a, 0x8d, 0xc1, 0xf7, 0x77, 0xa7, 0x87, 0xab, 0x81, + 0x23, 0xff, 0x62, 0x55, 0xc0, 0xfa, 0x1b, 0x45, 0xa6, 0x53, 0x0a, 0x0f, 0x01, 0x89, 0x5a, 0x5e, + 0x2f, 0x5f, 0x90, 0x58, 0x35, 0x9c, 0x16, 0xc7, 0xec, 0x45, 0x3f, 0x7e, 0x3b, 0xec, 0xb7, 0x8b, + 0xcc, 0x8b, 0xbe, 0x46, 0x1a, 0x4d, 0xcf, 0x8e, 0x7b, 0x19, 0x46, 0xfc, 0x79, 0x18, 0x8a, 0x45, + 0x2d, 0xf9, 0x1e, 0xd5, 0xd0, 0x9a, 0xc5, 0xce, 0x2c, 0x92, 0xcf, 0x10, 0x50, 0xac, 0x18, 0xf6, + 0xb8, 0x93, 0x7e, 0x83, 0xcf, 0x20, 0x59, 0xef, 0x09, 0x18, 0xf1, 0xb7, 0x4d, 0x23, 0xfe, 0xb9, + 0xdc, 0x3d, 0x75, 0x2a, 0xc6, 0xfc, 0xef, 0x15, 0x8c, 0xfe, 0x61, 0x7a, 0xf5, 0xa3, 0x7f, 0xe0, + 0x65, 0xad, 0x82, 0xf9, 0x5c, 0x22, 0x7a, 0x93, 0x5f, 0x22, 0xe0, 0xdb, 0xcc, 0x95, 0xae, 0x2f, + 0x10, 0x58, 0xbf, 0x5f, 0x84, 0x73, 0xdc, 0x29, 0x3d, 0xb7, 0x1d, 0xb8, 0x4e, 0x35, 0x70, 0xc4, + 0x95, 0x0a, 0x07, 0x46, 0x9a, 0x9a, 0xbd, 0x93, 0x2f, 0xd9, 0x8d, 0x6e, 0x21, 0x25, 0x3a, 0xa6, + 0x0e, 0xc5, 0x06, 0x57, 0x5a, 0x0b, 0xd9, 0x76, 0xeb, 0xca, 0x0b, 0x59, 0xec, 0x5a, 0xf2, 0xab, + 0x5a, 0x16, 0x35, 0x3e, 0xd8, 0xe0, 0xda, 0x83, 0x37, 0x6b, 0xac, 0xef, 0x16, 0xe0, 0xb1, 0x03, + 0x12, 0xe2, 0xd0, 0xea, 0x1e, 0xb0, 0x83, 0x00, 0xf1, 0x1e, 0xa7, 0xaa, 0x8e, 0x1f, 0x0f, 0x60, + 0x81, 0x45, 0xeb, 0x00, 0xdc, 0xbd, 0x4f, 0xd5, 0xab, 0x8c, 0x24, 0xf3, 0x07, 0xe5, 0x6e, 0xd0, + 0xae, 0xf5, 0x4b, 0x4e, 0x58, 0xe3, 0x6a, 0x7d, 0xaf, 0x04, 0xfd, 0xfc, 0xf1, 0xf5, 0x2a, 0x0c, + 0x6e, 0xf1, 0x84, 0xd0, 0xdd, 0xe5, 0xa3, 0x4e, 0xf4, 0x59, 0x0e, 0xc0, 0x92, 0x0d, 0x5a, 0x81, + 0xb3, 0x54, 0x79, 0x72, 0x6d, 0xaf, 0x42, 0x3c, 0x7b, 0x47, 0x1a, 0x48, 0xfc, 0x31, 0x10, 0x99, + 0xb7, 0xfe, 0xec, 0x72, 0x3b, 0x09, 0xee, 0x54, 0x0e, 0xbd, 0xd9, 0x96, 0xb7, 0x90, 0x27, 0xda, + 0x56, 0xb7, 0x41, 0x33, 0x72, 0x17, 0xbe, 0x01, 0xa3, 0xcd, 0x36, 0x53, 0x50, 0x7b, 0x5d, 0xdb, + 0x34, 0xff, 0x4c, 0x5a, 0x54, 0x81, 0x89, 0xa8, 0xc5, 0x22, 0x2e, 0xd6, 0xb6, 0x42, 0x12, 0x6d, + 0x05, 0x9e, 0x23, 0x1e, 0x86, 0x55, 0x6a, 0x6f, 0x2d, 0x85, 0xc7, 0x6d, 0x25, 0x28, 0x97, 0x0d, + 0xdb, 0xf5, 0x5a, 0x21, 0x49, 0xb8, 0x0c, 0x98, 0x5c, 0x96, 0x52, 0x78, 0xdc, 0x56, 0xc2, 0xfa, + 0x93, 0x02, 0x9c, 0xed, 0x10, 0x96, 0xc4, 0x43, 0x71, 0x37, 0xdd, 0x28, 0x56, 0x4f, 0x3e, 0x68, + 0xa1, 0xb8, 0x1c, 0x8e, 0x15, 0x05, 0x9d, 0x85, 0xdc, 0xbe, 0x4f, 0x1f, 0xf7, 0x8b, 0xc0, 0x0b, + 0x81, 0xed, 0x2e, 0x4f, 0x20, 0xba, 0x04, 0x7d, 0xad, 0x88, 0x84, 0xf2, 0x25, 0x48, 0x29, 0xa2, + 0x98, 0x4b, 0x87, 0x61, 0xa8, 0xba, 0xb7, 0xa9, 0xbc, 0x29, 0x9a, 0xba, 0xc7, 0xfd, 0x29, 0x1c, + 0x67, 0x7d, 0xab, 0x04, 0xe3, 0xa9, 0xf0, 0x44, 0xda, 0x90, 0x46, 0xe0, 0xbb, 0x71, 0xa0, 0xf2, + 0xbc, 0xf1, 0x87, 0xdc, 0x48, 0x73, 0x6b, 0x45, 0xc0, 0xb1, 0xa2, 0x40, 0xcf, 0xca, 0xb7, 0x78, + 0xd3, 0x4f, 0x59, 0xcc, 0x57, 0x8c, 0xe7, 0x78, 0xf3, 0x3e, 0x43, 0xf3, 0x34, 0xf4, 0x35, 0x03, + 0xf5, 0xb4, 0xba, 0x9a, 0xf4, 0x78, 0xbe, 0x52, 0x0d, 0x02, 0x0f, 0x33, 0x24, 0x7a, 0x46, 0x7c, + 0x7d, 0xca, 0x87, 0x8f, 0x6d, 0x27, 0x88, 0xb4, 0x2e, 0x78, 0x0e, 0x06, 0xef, 0x93, 0x9d, 0xd0, + 0xf5, 0x37, 0xd3, 0x27, 0x18, 0x37, 0x39, 0x18, 0x4b, 0xbc, 0xf9, 0xd4, 0xcc, 0x60, 0x8f, 0x9f, + 0x9a, 0x19, 0xca, 0x8c, 0xdf, 0xfe, 0x46, 0x11, 0xc6, 0x59, 0xb2, 0x59, 0x71, 0xd1, 0xde, 0x0d, + 0xfc, 0x1e, 0x6e, 0x8b, 0x4f, 0x43, 0x7f, 0x48, 0x2b, 0x4b, 0xbf, 0x12, 0xc1, 0x5a, 0x80, 0x39, + 0x0e, 0x3d, 0x01, 0x7d, 0xac, 0x6a, 0x3a, 0x7c, 0x23, 0x3c, 0xeb, 0x7e, 0xc5, 0x8e, 0x6d, 0xcc, + 0xa0, 0x27, 0x70, 0x6b, 0x0a, 0x93, 0xa6, 0xe7, 0xf2, 0xae, 0x48, 0xfc, 0x71, 0x8f, 0xca, 0xad, + 0xa9, 0x8e, 0x8d, 0x3b, 0xae, 0x5b, 0x53, 0x9d, 0x99, 0x9f, 0x66, 0x00, 0xcd, 0xff, 0x2c, 0xc2, + 0xc5, 0x8e, 0xad, 0x4a, 0xce, 0x6d, 0x97, 0x8c, 0x73, 0xdb, 0x6b, 0xa9, 0x73, 0x5b, 0xeb, 0xf0, + 0xd2, 0xc7, 0x73, 0x92, 0xdb, 0xf9, 0x80, 0xb5, 0x74, 0x82, 0x07, 0xac, 0x7d, 0x79, 0xd5, 0x9c, + 0xfe, 0x0c, 0x35, 0xe7, 0x7b, 0x45, 0x78, 0xbc, 0x63, 0x97, 0x3d, 0x72, 0xd7, 0xd4, 0x3a, 0xb6, + 0xf2, 0x54, 0x4c, 0x8b, 0x5f, 0x2d, 0x1d, 0xd0, 0x67, 0xcc, 0xc8, 0xb8, 0x4c, 0xe5, 0x31, 0x43, + 0x46, 0x42, 0x3d, 0x1c, 0xe1, 0xb2, 0x98, 0xc3, 0xb0, 0xc2, 0xa2, 0x48, 0xbb, 0xe6, 0xc5, 0xbb, + 0x60, 0xf1, 0x88, 0xc2, 0x60, 0xc6, 0x74, 0xfe, 0xea, 0x99, 0x14, 0x52, 0x97, 0xbf, 0xd0, 0x3d, + 0xcd, 0xe4, 0x2d, 0x1d, 0xc5, 0xe4, 0x1d, 0x39, 0xc0, 0xdc, 0x9d, 0x83, 0xf1, 0x86, 0xeb, 0xb3, + 0x77, 0x8b, 0x4d, 0xfd, 0x4c, 0xdd, 0x3a, 0x5e, 0x31, 0xd1, 0x38, 0x4d, 0x3f, 0xf5, 0x06, 0x8c, + 0x1e, 0xdd, 0x3f, 0xf7, 0x7e, 0x09, 0x3e, 0x7c, 0x88, 0x40, 0xe3, 0xfb, 0xa4, 0x31, 0x2e, 0xda, + 0x3e, 0xd9, 0x36, 0x36, 0x55, 0x38, 0xb7, 0xd1, 0xf2, 0xbc, 0x1d, 0x16, 0xb1, 0x45, 0x1c, 0x49, + 0x21, 0x74, 0x5f, 0xf9, 0x42, 0xf5, 0xb9, 0xa5, 0x0e, 0x34, 0xb8, 0x63, 0x49, 0xf4, 0x19, 0x40, + 0xc1, 0x3a, 0x4b, 0xee, 0xec, 0x24, 0x99, 0x22, 0xd8, 0x10, 0x94, 0x12, 0x41, 0xb0, 0xda, 0x46, + 0x81, 0x3b, 0x94, 0xa2, 0x9a, 0x30, 0xdd, 0xd1, 0x77, 0x54, 0xb3, 0x52, 0x9a, 0x30, 0xd6, 0x91, + 0xd8, 0xa4, 0x45, 0xd7, 0xe1, 0x8c, 0xbd, 0x6d, 0xbb, 0x3c, 0xcf, 0x97, 0x64, 0xc0, 0x55, 0x61, + 0xe5, 0x01, 0x9b, 0x4b, 0x13, 0xe0, 0xf6, 0x32, 0xa8, 0x69, 0xb8, 0x34, 0xf9, 0x33, 0x17, 0x9f, + 0x3c, 0xc2, 0x0c, 0xce, 0xed, 0xe4, 0xb4, 0xfe, 0xb8, 0x40, 0xb7, 0xeb, 0x0e, 0x4f, 0xd1, 0xd2, + 0x1e, 0x51, 0x2e, 0x3a, 0xed, 0xea, 0x9b, 0xea, 0x91, 0x05, 0x1d, 0x89, 0x4d, 0x5a, 0x3e, 0x35, + 0xa2, 0x24, 0x9c, 0xdc, 0xd0, 0xbb, 0xc5, 0x8d, 0x4f, 0x45, 0x81, 0xee, 0xc1, 0xa0, 0xe3, 0x6e, + 0xbb, 0x51, 0x10, 0x8a, 0x05, 0xd4, 0x55, 0x88, 0x72, 0x22, 0x8b, 0x2b, 0x9c, 0x09, 0x96, 0xdc, + 0xac, 0xff, 0x5b, 0x84, 0x51, 0x59, 0xdf, 0x5b, 0xad, 0x80, 0x49, 0xc8, 0x5e, 0x29, 0x21, 0x6f, + 0x19, 0x4a, 0xc8, 0x6c, 0xbe, 0x6b, 0xaf, 0xac, 0x51, 0x07, 0x2a, 0x1f, 0x9f, 0x4d, 0x29, 0x1f, + 0x57, 0xbb, 0x61, 0x7a, 0x9a, 0x4a, 0xc7, 0x6f, 0x15, 0xe1, 0x8c, 0xd1, 0x9a, 0x13, 0xd8, 0xfb, + 0xaa, 0xe6, 0xde, 0xf7, 0x42, 0x17, 0x7d, 0x75, 0x2a, 0x7b, 0xde, 0xf7, 0xd2, 0x7d, 0xc4, 0xf6, + 0xba, 0xaf, 0x42, 0xdf, 0x96, 0x1d, 0x3a, 0xf9, 0x92, 0x74, 0xb6, 0x15, 0x9f, 0xb9, 0x61, 0x87, + 0x0e, 0xdf, 0xb1, 0xae, 0xa8, 0x87, 0xf2, 0xec, 0xd0, 0xc9, 0xbc, 0x17, 0xc2, 0x2a, 0x45, 0xaf, + 0xc3, 0x40, 0x54, 0x0f, 0x9a, 0x2a, 0x56, 0xf6, 0x12, 0x7f, 0x44, 0x8f, 0x42, 0xf6, 0x77, 0xa7, + 0x91, 0x59, 0x1d, 0x05, 0x63, 0x41, 0x3f, 0x45, 0xa0, 0xac, 0xaa, 0xee, 0xe1, 0x0d, 0x84, 0xf7, + 0x4b, 0x70, 0xb6, 0xc3, 0x2c, 0x47, 0x5f, 0x33, 0x7a, 0xed, 0x8d, 0xae, 0x97, 0xc9, 0x07, 0xec, + 0xb7, 0xaf, 0x31, 0x1b, 0xd7, 0x11, 0x33, 0xef, 0x08, 0xd5, 0xdf, 0x89, 0x48, 0xba, 0x7a, 0x0a, + 0xca, 0xae, 0x9e, 0x56, 0x7b, 0x42, 0x9d, 0x4f, 0xab, 0x51, 0xed, 0xec, 0xe1, 0x18, 0xbf, 0xd7, + 0x07, 0xe7, 0x3a, 0x65, 0x05, 0x40, 0xbf, 0x50, 0x48, 0x3d, 0x03, 0xf3, 0x66, 0xf7, 0xa9, 0x05, + 0xf8, 0xdb, 0x30, 0x22, 0xa7, 0xd0, 0x8c, 0xf9, 0x30, 0x4c, 0x66, 0x6f, 0x8b, 0xda, 0xd9, 0x5d, + 0xae, 0x90, 0x3f, 0x17, 0x24, 0xa5, 0xcd, 0xa7, 0x8f, 0xd0, 0x14, 0xf1, 0xe2, 0x50, 0x94, 0xba, + 0xcb, 0x25, 0xc1, 0xd9, 0x77, 0xb9, 0x64, 0x1b, 0xa6, 0x36, 0x61, 0x58, 0xfb, 0xae, 0x1e, 0x4e, + 0x01, 0x97, 0x6e, 0xa7, 0x5a, 0xab, 0x7b, 0xf9, 0x46, 0x52, 0x01, 0x52, 0x11, 0x53, 0xca, 0x91, + 0x56, 0x38, 0xd0, 0x91, 0x76, 0x09, 0xfa, 0xc2, 0xc0, 0x23, 0xe9, 0x27, 0x3e, 0x70, 0xe0, 0x11, + 0xcc, 0x30, 0xea, 0xad, 0xef, 0xd2, 0x81, 0x6f, 0x7d, 0x3f, 0x0d, 0xfd, 0x1e, 0xd9, 0x26, 0xd2, + 0xad, 0xa5, 0xb6, 0x86, 0x5b, 0x14, 0x88, 0x39, 0xce, 0xfa, 0x3b, 0x7d, 0x30, 0xc0, 0x7d, 0x47, + 0x3d, 0xd4, 0x28, 0xaa, 0xc2, 0x8d, 0x93, 0xeb, 0x86, 0x3e, 0x6f, 0xcd, 0x4c, 0xc5, 0x8e, 0x6d, + 0x3e, 0xa1, 0xd4, 0xb7, 0x69, 0xae, 0x9f, 0x19, 0xe3, 0xeb, 0xa7, 0x52, 0x96, 0x3e, 0x70, 0x1e, + 0x5a, 0x5f, 0x6c, 0x01, 0x44, 0xec, 0x65, 0x56, 0xca, 0x43, 0x64, 0x52, 0x7d, 0x25, 0x57, 0x3b, + 0x6a, 0xaa, 0x18, 0x6f, 0x4d, 0x92, 0xc2, 0x51, 0x21, 0xb0, 0xc6, 0xdb, 0xd8, 0x6b, 0xfb, 0x8f, + 0x7b, 0xaf, 0x9d, 0x7a, 0x0d, 0xca, 0xaa, 0x29, 0x59, 0x26, 0xd0, 0x88, 0x3e, 0xe1, 0xff, 0x1c, + 0x8c, 0xa7, 0xbe, 0xa4, 0x2b, 0x0b, 0xea, 0x07, 0x05, 0x38, 0xc3, 0x3b, 0xe4, 0x26, 0xd9, 0x51, + 0x9a, 0xf5, 0x7b, 0x05, 0x38, 0xe7, 0x75, 0x70, 0x49, 0x8a, 0xe9, 0x73, 0x14, 0x67, 0xa6, 0x32, + 0x9f, 0x3a, 0x61, 0x71, 0xc7, 0xda, 0x64, 0xe6, 0xe9, 0x62, 0xe7, 0xcc, 0xd3, 0xd6, 0xaf, 0x16, + 0x41, 0x4c, 0x88, 0x13, 0x50, 0xde, 0x96, 0x4d, 0xe5, 0xed, 0x23, 0x79, 0xe6, 0xd8, 0xa9, 0x68, + 0x6d, 0xff, 0xb6, 0x00, 0x88, 0x57, 0x9f, 0x7e, 0x5c, 0x9a, 0xfb, 0x8f, 0x35, 0x4b, 0x29, 0x99, + 0xf2, 0x0a, 0x83, 0x35, 0xaa, 0x2e, 0xdf, 0x98, 0x51, 0x8f, 0xb2, 0x1e, 0xf0, 0xd9, 0x57, 0x61, + 0x58, 0x3c, 0x9f, 0xb8, 0x92, 0x3c, 0xb8, 0x3a, 0xce, 0x9e, 0xfe, 0x4e, 0xc0, 0x58, 0xa7, 0xb1, + 0xfe, 0x55, 0x09, 0xd2, 0x01, 0x51, 0xe8, 0x4b, 0x30, 0x52, 0xb7, 0x9b, 0xf6, 0xba, 0xeb, 0xb9, + 0xb1, 0x4b, 0xa2, 0x7c, 0x67, 0x98, 0x0b, 0x5a, 0x09, 0x71, 0x02, 0xa1, 0x41, 0xb0, 0xc1, 0x11, + 0xcd, 0x00, 0x34, 0x43, 0x77, 0xdb, 0xf5, 0xc8, 0x26, 0x53, 0x99, 0x58, 0x50, 0x37, 0x3f, 0x8e, + 0x93, 0x50, 0xac, 0x51, 0x74, 0x88, 0xc0, 0x2d, 0x9d, 0x44, 0x04, 0x6e, 0x5f, 0x97, 0x11, 0xb8, + 0xfd, 0xb9, 0x22, 0x70, 0x31, 0x5c, 0x90, 0x07, 0x07, 0xf4, 0xff, 0x92, 0xeb, 0x11, 0x9e, 0xc7, + 0x56, 0x04, 0x7d, 0x4f, 0xed, 0xed, 0x4e, 0x5f, 0xc0, 0x1d, 0x29, 0xf0, 0x01, 0x25, 0xad, 0xff, + 0x54, 0x80, 0xb3, 0x35, 0x12, 0xba, 0x2c, 0xbf, 0xa0, 0x93, 0xac, 0xef, 0x2f, 0x40, 0x39, 0x4c, + 0x89, 0x96, 0x2e, 0xaf, 0x40, 0x6b, 0x79, 0x98, 0xa4, 0x28, 0x49, 0x58, 0xf6, 0x38, 0x1e, 0xfb, + 0xa7, 0x45, 0x18, 0x14, 0x71, 0x8d, 0x3d, 0xdc, 0x62, 0x6f, 0x1a, 0x46, 0xfb, 0x73, 0x59, 0x62, + 0x87, 0x35, 0xe7, 0x40, 0x73, 0xbd, 0x96, 0x32, 0xd7, 0x5f, 0xc8, 0xc7, 0xee, 0x34, 0x0d, 0xf5, + 0xef, 0x94, 0x60, 0xcc, 0x8c, 0x1e, 0xed, 0x61, 0x67, 0xbf, 0x0d, 0x83, 0x91, 0x08, 0xa9, 0x2c, + 0xe6, 0x89, 0x26, 0x4b, 0x4f, 0x47, 0xe5, 0xe7, 0x91, 0x41, 0x94, 0x92, 0x5d, 0xc7, 0xa8, 0xcd, + 0xd2, 0x89, 0x44, 0x6d, 0xf6, 0x76, 0x78, 0xfe, 0x76, 0x11, 0x52, 0xe1, 0xc2, 0x27, 0xb0, 0x17, + 0xbf, 0x65, 0xee, 0x4b, 0x57, 0x72, 0xcd, 0x62, 0xd1, 0xbc, 0x53, 0xd9, 0x93, 0xbf, 0x55, 0x84, + 0x61, 0xd1, 0x8c, 0x13, 0xe8, 0x9e, 0xcf, 0x98, 0xdd, 0xf3, 0x4c, 0xae, 0xee, 0x39, 0x95, 0x7e, + 0xf9, 0x8d, 0xa4, 0x5f, 0xaa, 0x41, 0x18, 0xe7, 0xca, 0x56, 0x3d, 0xd4, 0x0c, 0x83, 0x38, 0xa8, + 0x07, 0x9e, 0xd0, 0x0b, 0x9f, 0x48, 0x2e, 0x51, 0x71, 0xf8, 0xbe, 0xf6, 0x1b, 0x2b, 0x6a, 0x76, + 0x7d, 0x27, 0x08, 0x63, 0xa1, 0x77, 0x24, 0xd7, 0x77, 0x82, 0x30, 0xc6, 0x0c, 0x83, 0xd6, 0x01, + 0x92, 0xc7, 0xf3, 0xd3, 0x6b, 0x25, 0xd5, 0x79, 0xad, 0xd8, 0xf5, 0x66, 0x5c, 0x3f, 0x8e, 0xe2, + 0x70, 0x66, 0xd9, 0x8f, 0x57, 0x43, 0xae, 0x84, 0x6b, 0x77, 0xa2, 0x14, 0x27, 0xac, 0x71, 0x95, + 0x91, 0xee, 0xac, 0x86, 0x7e, 0xf3, 0x44, 0xe2, 0xb6, 0x80, 0x63, 0x45, 0x61, 0x7d, 0x8b, 0x6f, + 0x9c, 0xac, 0x7f, 0x1e, 0xa5, 0xab, 0x48, 0x7f, 0x69, 0x40, 0x8d, 0x1b, 0xf3, 0x09, 0xde, 0x86, + 0x7e, 0xda, 0x83, 0xd2, 0xed, 0x91, 0x6f, 0x97, 0xa2, 0x5f, 0xa8, 0x07, 0x0e, 0x87, 0x71, 0x84, + 0x39, 0x1b, 0x44, 0xda, 0x4e, 0xc9, 0x5e, 0xcb, 0xbd, 0xf1, 0x75, 0x71, 0x2e, 0xc6, 0xf2, 0xe6, + 0xb1, 0x74, 0x5e, 0xcb, 0xd5, 0x74, 0x02, 0xf3, 0x05, 0x89, 0xc0, 0x09, 0x0d, 0x9a, 0x15, 0xd6, + 0x29, 0x37, 0xbc, 0x3f, 0x9c, 0xb2, 0x4e, 0x65, 0x97, 0x68, 0xe6, 0xe9, 0x55, 0x18, 0x56, 0x4f, + 0xb8, 0x54, 0xf9, 0x4b, 0x1c, 0x65, 0xae, 0xf3, 0x2e, 0x26, 0x60, 0xac, 0xd3, 0xa0, 0x65, 0x38, + 0xeb, 0xa8, 0x7b, 0x13, 0xd5, 0xd6, 0xba, 0xe7, 0xd6, 0x69, 0x51, 0x7e, 0x65, 0xf4, 0xb1, 0xbd, + 0xdd, 0xe9, 0xb3, 0x95, 0x76, 0x34, 0xee, 0x54, 0x06, 0xad, 0xc1, 0x78, 0xc4, 0x9f, 0xaa, 0x91, + 0xc1, 0xf1, 0x22, 0xaf, 0xef, 0xf3, 0xf2, 0x78, 0xae, 0x66, 0xa2, 0xf7, 0x19, 0x88, 0x8b, 0x4b, + 0x19, 0x4e, 0x9f, 0x66, 0x81, 0xde, 0x84, 0x31, 0x4f, 0x7f, 0x4c, 0xb5, 0x2a, 0xae, 0x8f, 0xa8, + 0x90, 0x2e, 0xe3, 0xa9, 0xd5, 0x2a, 0x4e, 0x51, 0xa3, 0xb7, 0x61, 0x52, 0x87, 0x88, 0xb4, 0x3b, + 0xb6, 0xbf, 0x49, 0x22, 0xf1, 0x46, 0xc6, 0x13, 0x7b, 0xbb, 0xd3, 0x93, 0xb7, 0x0e, 0xa0, 0xc1, + 0x07, 0x96, 0x46, 0xaf, 0xc3, 0x88, 0xec, 0x49, 0xed, 0x2a, 0x49, 0x12, 0x4c, 0xa8, 0xe1, 0xb0, + 0x41, 0xf9, 0xc1, 0x4e, 0x21, 0xbf, 0x4a, 0x0b, 0x6b, 0x9a, 0x12, 0xfa, 0x32, 0x8c, 0xe8, 0x6d, + 0x14, 0x22, 0xfe, 0xa5, 0xfc, 0x0f, 0xd4, 0x0a, 0x8d, 0x4b, 0xb5, 0x5c, 0xc7, 0x61, 0x83, 0xb7, + 0xb5, 0x0a, 0x03, 0xb5, 0x9d, 0xa8, 0x1e, 0x7b, 0x39, 0x84, 0xe7, 0xd3, 0xc6, 0x27, 0x24, 0x6b, + 0x8f, 0xbd, 0xb3, 0x24, 0xbe, 0xc8, 0xaa, 0xc3, 0xf8, 0xda, 0x42, 0xb5, 0x16, 0xd4, 0xef, 0x93, + 0x78, 0x8e, 0x85, 0x5b, 0xa2, 0xaa, 0x10, 0x9d, 0x85, 0x23, 0x89, 0xc4, 0x0e, 0xa2, 0xd6, 0xfa, + 0x7a, 0x01, 0xfa, 0xd7, 0x6c, 0x37, 0xfb, 0x75, 0xa9, 0x3c, 0x4d, 0x46, 0xaf, 0xc2, 0x00, 0xd9, + 0xd8, 0x20, 0xf5, 0x58, 0x2c, 0xe2, 0x27, 0xa5, 0xa6, 0xba, 0xc8, 0xa0, 0x74, 0x69, 0xb2, 0xca, + 0xf8, 0x5f, 0x2c, 0x88, 0xad, 0x7f, 0x5f, 0x00, 0x58, 0x0b, 0x3c, 0x79, 0xc0, 0x9a, 0xd1, 0x92, + 0xf9, 0xb6, 0x77, 0xae, 0x9e, 0xed, 0xf0, 0xce, 0x15, 0x4a, 0x18, 0x76, 0x78, 0xe5, 0x4a, 0x7d, + 0x4d, 0x29, 0xd7, 0xd7, 0xf4, 0x75, 0xf3, 0x35, 0xdf, 0x2c, 0x80, 0x88, 0x02, 0xcc, 0x31, 0x13, + 0x1c, 0xf9, 0x36, 0x8d, 0x91, 0x50, 0xeb, 0xf9, 0x3c, 0x57, 0x0e, 0x45, 0x1a, 0x2d, 0x35, 0x37, + 0x8d, 0xe4, 0x59, 0x06, 0x57, 0xeb, 0x07, 0x05, 0x18, 0xe6, 0xe8, 0x15, 0xa6, 0xb8, 0x67, 0xb7, + 0xab, 0xab, 0xc4, 0xa4, 0xec, 0xe9, 0x16, 0xca, 0x58, 0xa5, 0x90, 0xd4, 0x9f, 0x6e, 0x91, 0x08, + 0x9c, 0xd0, 0xa0, 0xe7, 0x60, 0x30, 0x6a, 0xad, 0x33, 0xf2, 0x54, 0x48, 0x60, 0x8d, 0x83, 0xb1, + 0xc4, 0x5b, 0x3f, 0x8f, 0xc0, 0xf8, 0x34, 0x23, 0x5d, 0x65, 0xe1, 0xd8, 0xd3, 0x55, 0xbe, 0x03, + 0x43, 0xa4, 0xd1, 0x8c, 0x77, 0x2a, 0x6e, 0x98, 0x2f, 0x2d, 0xf1, 0xa2, 0xa0, 0x6e, 0xe7, 0x2e, + 0x31, 0x58, 0x71, 0x3c, 0x20, 0xf9, 0x68, 0xe9, 0x91, 0x48, 0x3e, 0xda, 0x77, 0x2a, 0xc9, 0x47, + 0xdf, 0x86, 0xc1, 0x4d, 0x37, 0xc6, 0xa4, 0x19, 0x08, 0x67, 0x6e, 0xc6, 0xc9, 0xf5, 0x75, 0x4e, + 0xdc, 0x9e, 0x51, 0x50, 0x20, 0xb0, 0x64, 0x87, 0xd6, 0x60, 0x80, 0x1b, 0x7d, 0x22, 0xa1, 0xc9, + 0x4b, 0x79, 0x3c, 0x85, 0xed, 0xa9, 0x2d, 0x45, 0xdc, 0xa7, 0xe0, 0x25, 0x93, 0x8d, 0x0e, 0x7e, + 0xf0, 0x64, 0xa3, 0x2a, 0x45, 0xe8, 0xd0, 0x71, 0xa5, 0x08, 0x35, 0x52, 0xad, 0x96, 0x7b, 0x91, + 0x6a, 0xf5, 0x9b, 0x05, 0x38, 0xdf, 0xec, 0x94, 0x06, 0x59, 0x24, 0xfb, 0xfc, 0xd4, 0x11, 0xd2, + 0x42, 0x1b, 0x55, 0xb3, 0x9b, 0xbf, 0x1d, 0xc9, 0x70, 0xe7, 0x8a, 0x65, 0xce, 0xd6, 0xe1, 0x0f, + 0x9e, 0xb3, 0xb5, 0xd7, 0x59, 0x41, 0x93, 0x0c, 0xae, 0xa3, 0x3d, 0xc9, 0xe0, 0x3a, 0x76, 0x8c, + 0x19, 0x5c, 0xb5, 0xdc, 0xab, 0xe3, 0xc7, 0x9b, 0x7b, 0x75, 0x0b, 0x86, 0x9d, 0xe0, 0x81, 0xff, + 0xc0, 0x0e, 0x9d, 0xb9, 0xea, 0xb2, 0x48, 0xf5, 0x99, 0x91, 0xf9, 0xa9, 0x92, 0x14, 0x30, 0x6a, + 0xe0, 0x4e, 0xeb, 0x04, 0x89, 0x75, 0xd6, 0x22, 0x0b, 0xed, 0x99, 0x0f, 0x98, 0x85, 0xd6, 0xc8, + 0xe5, 0x8a, 0x7a, 0x91, 0xcb, 0xf5, 0x4b, 0x2c, 0xd1, 0xc9, 0x86, 0xbb, 0xb9, 0x62, 0x37, 0x27, + 0xcf, 0xe6, 0xa9, 0x61, 0x41, 0x92, 0xb7, 0xd7, 0xa0, 0x50, 0x38, 0x61, 0xda, 0x9e, 0x2d, 0xf6, + 0xdc, 0x49, 0x67, 0x8b, 0x3d, 0xdf, 0xc3, 0x6c, 0xb1, 0x17, 0x4e, 0x34, 0x5b, 0xec, 0x63, 0xa7, + 0x92, 0x2d, 0xf6, 0x2f, 0xc0, 0xc5, 0xc3, 0x87, 0x23, 0x79, 0xeb, 0xa0, 0x9a, 0x38, 0x24, 0x52, + 0x6f, 0x1d, 0x30, 0x55, 0x47, 0xa3, 0xca, 0x9d, 0xb4, 0xf2, 0x77, 0x0b, 0xf0, 0xd8, 0x01, 0xd9, + 0xd7, 0x72, 0xdf, 0xc7, 0x6a, 0xc2, 0x78, 0xd3, 0x2c, 0x9a, 0xfb, 0xd6, 0xa7, 0x91, 0xed, 0x4d, + 0x45, 0xb4, 0xa6, 0x10, 0x38, 0xcd, 0x7e, 0xfe, 0x23, 0x3f, 0x7a, 0xff, 0xe2, 0x87, 0x7e, 0xfc, + 0xfe, 0xc5, 0x0f, 0xfd, 0xd1, 0xfb, 0x17, 0x3f, 0xf4, 0x73, 0x7b, 0x17, 0x0b, 0x3f, 0xda, 0xbb, + 0x58, 0xf8, 0xf1, 0xde, 0xc5, 0xc2, 0x9f, 0xec, 0x5d, 0x2c, 0x7c, 0xf3, 0xa7, 0x17, 0x3f, 0xf4, + 0xb9, 0xe2, 0xf6, 0xd5, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, 0x8d, 0x50, 0x19, 0x54, 0x07, 0xc8, + 0x00, 0x00, } diff --git a/pkg/api/v1/generated.proto b/pkg/api/v1/generated.proto index ec09b757..7bbe91b7 100644 --- a/pkg/api/v1/generated.proto +++ b/pkg/api/v1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.api.v1; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; -import "k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". @@ -138,6 +138,8 @@ message AzureFileVolumeSource { // Binding ties one object to another. // For example, a pod is bound to a node by a scheduler. message Binding { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -237,6 +239,8 @@ message ComponentCondition { // ComponentStatus (and ComponentStatusList) holds the cluster validation info. message ComponentStatus { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -249,10 +253,12 @@ message ComponentStatus { // Status of all the conditions for the component as a list of ComponentStatus objects. message ComponentStatusList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // List of ComponentStatus objects. repeated ComponentStatus items = 2; @@ -260,6 +266,8 @@ message ComponentStatusList { // ConfigMap holds configuration data for pods to consume. message ConfigMap { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -271,6 +279,16 @@ message ConfigMap { map data = 2; } +// ConfigMapEnvSource selects a ConfigMap to populate the environment +// variables with. +// +// The contents of the target ConfigMap's Data field will represent the +// key-value pairs as environment variables. +message ConfigMapEnvSource { + // The ConfigMap to select from. + optional LocalObjectReference localObjectReference = 1; +} + // Selects a key from a ConfigMap. message ConfigMapKeySelector { // The ConfigMap to select from. @@ -282,9 +300,11 @@ message ConfigMapKeySelector { // ConfigMapList is a resource containing a list of ConfigMap objects. message ConfigMapList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is the list of ConfigMaps. repeated ConfigMap items = 2; @@ -369,6 +389,15 @@ message Container { // +optional repeated ContainerPort ports = 6; + // List of sources to populate environment variables in the container. + // The keys defined within a source must be a C_IDENTIFIER. An invalid key + // will prevent the container from starting. When a key exists in multiple + // sources, the value associated with the last source will take precedence. + // Values defined by an Env with a duplicate key will take precedence. + // Cannot be updated. + // +optional + repeated EnvFromSource envFrom = 19; + // List of environment variables to set in the container. // Cannot be updated. // +optional @@ -508,7 +537,7 @@ message ContainerState { message ContainerStateRunning { // Time at which the container was last (re-)started // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time startedAt = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time startedAt = 1; } // ContainerStateTerminated is a terminated state of a container. @@ -530,11 +559,11 @@ message ContainerStateTerminated { // Time at which previous execution of the container started // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time startedAt = 5; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time startedAt = 5; // Time at which the container last terminated // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time finishedAt = 6; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time finishedAt = 6; // Container's ID in the format 'docker://' // +optional @@ -597,6 +626,8 @@ message DaemonEndpoint { // DeleteOptions may be provided when deleting an API object message DeleteOptions { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // The duration in seconds before the object should be deleted. Value must be non-negative integer. // The value zero indicates delete immediately. If this value is nil, the default grace period for the // specified type will be used. @@ -745,6 +776,8 @@ message EndpointSubset { // }, // ] message Endpoints { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -762,15 +795,28 @@ message Endpoints { // EndpointsList is a list of endpoints. message EndpointsList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // List of endpoints. repeated Endpoints items = 2; } +// EnvFromSource represents the source of a set of ConfigMaps +message EnvFromSource { + // An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. + // +optional + optional string prefix = 1; + + // The ConfigMap to select from + // +optional + optional ConfigMapEnvSource configMapRef = 2; +} + // EnvVar represents an environment variable present in a Container. message EnvVar { // Name of the environment variable. Must be a C_IDENTIFIER. @@ -816,6 +862,8 @@ message EnvVarSource { // Event is a report of an event somewhere in the cluster. // TODO: Decide whether to store these separately or with the object they apply to. message Event { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 10; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata optional ObjectMeta metadata = 1; @@ -840,11 +888,11 @@ message Event { // The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time firstTimestamp = 6; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time firstTimestamp = 6; // The time at which the most recent occurrence of this event was recorded. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastTimestamp = 7; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTimestamp = 7; // The number of times this event has occurred. // +optional @@ -857,10 +905,12 @@ message Event { // EventList is a list of events. message EventList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // List of events repeated Event items = 2; @@ -1162,6 +1212,8 @@ message Lifecycle { // LimitRange sets resource usage limits for each kind of resource in a Namespace. message LimitRange { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -1202,10 +1254,12 @@ message LimitRangeItem { // LimitRangeList is a list of LimitRange items. message LimitRangeList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is a list of LimitRange objects. // More info: http://releases.k8s.io/HEAD/docs/design/admission_control_limit_range.md @@ -1220,17 +1274,21 @@ message LimitRangeSpec { // List holds a list of objects, which may not be known by the server. message List { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // List of objects - repeated k8s.io.kubernetes.pkg.runtime.RawExtension items = 2; + repeated k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; } // ListOptions is the query options to a standard REST list call. message ListOptions { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 6; + // A selector to restrict the list of returned objects by their labels. // Defaults to everything. // +optional @@ -1314,6 +1372,8 @@ message NFSVolumeSource { // Namespace provides a scope for Names. // Use of multiple namespaces is optional. message Namespace { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -1332,10 +1392,12 @@ message Namespace { // NamespaceList is a list of Namespaces. message NamespaceList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is the list of Namespace objects in the list. // More info: http://kubernetes.io/docs/user-guide/namespaces @@ -1361,6 +1423,8 @@ message NamespaceStatus { // Node is a worker node in Kubernetes. // Each node will have a unique identifier in the cache (i.e. in etcd). message Node { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -1421,11 +1485,11 @@ message NodeCondition { // Last time we got an update on a given condition. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastHeartbeatTime = 3; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastHeartbeatTime = 3; // Last time the condition transit from one status to another. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastTransitionTime = 4; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; // (brief) reason for the condition's last transition. // +optional @@ -1445,10 +1509,12 @@ message NodeDaemonEndpoints { // NodeList is the whole list of all Nodes which have been registered with master. message NodeList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // List of nodes repeated Node items = 2; @@ -1456,6 +1522,8 @@ message NodeList { // NodeProxyOptions is the query options to a Node's proxy call. message NodeProxyOptions { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 2; + // Path is the URL path to use for the current proxy request to node. // +optional optional string path = 1; @@ -1704,7 +1772,7 @@ message ObjectMeta { // Null for lists. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time creationTimestamp = 8; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time creationTimestamp = 8; // DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This // field is set by the server when a graceful deletion is requested by the user, and is not @@ -1724,7 +1792,7 @@ message ObjectMeta { // Read-only. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time deletionTimestamp = 9; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time deletionTimestamp = 9; // Number of seconds allowed for this object to gracefully terminate before // it will be removed from the system. Only set when deletionTimestamp is also set. @@ -1752,7 +1820,7 @@ message ObjectMeta { // then an entry in this list will point to this controller, with the controller field set to true. // There cannot be more than one managing controller. // +optional - repeated k8s.io.kubernetes.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; + repeated k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference ownerReferences = 13; // Must be empty before the object is deleted from the registry. Each entry // is an identifier for the responsible component that will remove the entry @@ -1815,6 +1883,8 @@ message ObjectReference { // It is analogous to a node. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes message PersistentVolume { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -1836,6 +1906,8 @@ message PersistentVolume { // PersistentVolumeClaim is a user's request for and claim to a persistent volume message PersistentVolumeClaim { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -1855,10 +1927,12 @@ message PersistentVolumeClaim { // PersistentVolumeClaimList is a list of PersistentVolumeClaim items. message PersistentVolumeClaimList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // A list of persistent volume claims. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims @@ -1875,7 +1949,7 @@ message PersistentVolumeClaimSpec { // A label query over volumes to consider for binding. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.LabelSelector selector = 4; + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4; // Resources represents the minimum resources the volume should have. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources @@ -1920,10 +1994,12 @@ message PersistentVolumeClaimVolumeSource { // PersistentVolumeList is a list of PersistentVolume items. message PersistentVolumeList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // List of persistent volumes. // More info: http://kubernetes.io/docs/user-guide/persistent-volumes @@ -2078,6 +2154,8 @@ message PhotonPersistentDiskVolumeSource { // Pod is a collection of containers that can run on a host. This resource is created // by clients and scheduled onto hosts. message Pod { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -2141,7 +2219,7 @@ message PodAffinity { message PodAffinityTerm { // A label query over a set of resources, in this case pods. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.LabelSelector labelSelector = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector labelSelector = 1; // namespaces specifies which namespaces the labelSelector applies to (matches against); // nil list means "this pod's namespace," empty list means "all namespaces" @@ -2200,6 +2278,8 @@ message PodAntiAffinity { // TODO: merge w/ PodExecOptions below for stdin, stdout, etc // and also when we cut V2, we should export a "StreamOptions" or somesuch that contains Stdin, Stdout, Stder and TTY message PodAttachOptions { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 6; + // Stdin if true, redirects the standard input stream of the pod for this call. // Defaults to false. // +optional @@ -2242,11 +2322,11 @@ message PodCondition { // Last time we probed the condition. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastProbeTime = 3; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3; // Last time the condition transitioned from one status to another. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastTransitionTime = 4; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; // Unique, one-word, CamelCase reason for the condition's last transition. // +optional @@ -2262,6 +2342,8 @@ message PodCondition { // TODO: This is largely identical to PodAttachOptions above, make sure they stay in sync and see about merging // and also when we cut V2, we should export a "StreamOptions" or somesuch that contains Stdin, Stdout, Stder and TTY message PodExecOptions { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 7; + // Redirect the standard input stream of the pod for this call. // Defaults to false. // +optional @@ -2293,10 +2375,12 @@ message PodExecOptions { // PodList is a list of Pods. message PodList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // List of pods. // More info: http://kubernetes.io/docs/user-guide/pods @@ -2305,6 +2389,8 @@ message PodList { // PodLogOptions is the query options for a Pod's logs REST call. message PodLogOptions { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 9; + // The container for which to stream logs. Defaults to only container if there is one container in the pod. // +optional optional string container = 1; @@ -2329,7 +2415,7 @@ message PodLogOptions { // If this value is in the future, no logs will be returned. // Only one of sinceSeconds or sinceTime may be specified. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time sinceTime = 5; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 5; // If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line // of log output. Defaults to false. @@ -2350,6 +2436,8 @@ message PodLogOptions { // PodProxyOptions is the query options to a Pod's proxy call. message PodProxyOptions { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 2; + // Path is the URL path to use for the current proxy request to pod. // +optional optional string path = 1; @@ -2408,7 +2496,7 @@ message PodSecurityContext { message PodSignature { // Reference to controller whose pods should avoid this node. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.OwnerReference podController = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference podController = 1; } // PodSpec is a description of a pod. @@ -2557,7 +2645,7 @@ message PodStatus { // RFC 3339 date and time at which the object was acknowledged by the Kubelet. // This is before the Kubelet pulled the container image(s) for the pod. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time startTime = 7; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 7; // The list has one entry per container in the manifest. Each entry is currently the output // of `docker inspect`. @@ -2574,6 +2662,8 @@ message PodStatus { // PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded message PodStatusResult { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -2590,6 +2680,8 @@ message PodStatusResult { // PodTemplate describes a template for creating copies of a predefined pod. message PodTemplate { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -2603,10 +2695,12 @@ message PodTemplate { // PodTemplateList is a list of PodTemplates. message PodTemplateList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // List of pod templates repeated PodTemplate items = 2; @@ -2639,7 +2733,7 @@ message PreferAvoidPodsEntry { // Time at which this entry was added to the list. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time evictionTime = 2; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time evictionTime = 2; // (brief) reason why this entry was added to the list. // +optional @@ -2773,6 +2867,8 @@ message RBDVolumeSource { // RangeAllocation is not a public type. message RangeAllocation { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -2787,6 +2883,8 @@ message RangeAllocation { // ReplicationController represents the configuration of a replication controller. message ReplicationController { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // If the Labels of a ReplicationController are empty, they are defaulted to // be the same as the Pod(s) that the replication controller manages. // Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata @@ -2817,7 +2915,7 @@ message ReplicationControllerCondition { // The last time the condition transitioned from one status to another. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastTransitionTime = 3; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 3; // The reason for the condition's last transition. // +optional @@ -2830,10 +2928,12 @@ message ReplicationControllerCondition { // ReplicationControllerList is a collection of replication controllers. message ReplicationControllerList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // List of replication controllers. // More info: http://kubernetes.io/docs/user-guide/replication-controller @@ -2914,6 +3014,8 @@ message ResourceFieldSelector { // ResourceQuota sets aggregate quota restrictions enforced per namespace message ResourceQuota { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -2932,10 +3034,12 @@ message ResourceQuota { // ResourceQuotaList is a list of ResourceQuota items. message ResourceQuotaList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is a list of ResourceQuota objects. // More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota @@ -3004,6 +3108,8 @@ message SELinuxOptions { // Secret holds secret data of a certain type. The total bytes of the values in // the Data field must be less than MaxSecretSize bytes. message Secret { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 5; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -3041,10 +3147,12 @@ message SecretKeySelector { // SecretList is a list of Secret. message SecretList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is a list of secret objects. // More info: http://kubernetes.io/docs/user-guide/secrets @@ -3127,6 +3235,8 @@ message SecurityContext { // SerializedReference is a reference to serialized object. message SerializedReference { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 2; + // The reference to an object in the system. // +optional optional ObjectReference reference = 1; @@ -3136,6 +3246,8 @@ message SerializedReference { // (for example 3306) that the proxy listens on, and the selector that determines which pods // will answer requests sent through the proxy. message Service { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -3159,6 +3271,8 @@ message Service { // * a principal that can be authenticated and authorized // * a set of secrets message ServiceAccount { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -3179,10 +3293,12 @@ message ServiceAccount { // ServiceAccountList is a list of ServiceAccount objects message ServiceAccountList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // List of ServiceAccounts. // More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md#service-accounts @@ -3191,10 +3307,12 @@ message ServiceAccountList { // ServiceList holds a list of services. message ServiceList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // List of services repeated Service items = 2; @@ -3239,6 +3357,8 @@ message ServicePort { // ServiceProxyOptions is the query options to a Service's proxy call. message ServiceProxyOptions { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 2; + // Path is the part of URLs that include service endpoints, suffixes, // and parameters to use for the current proxy request to service. // For example, the whole request URL is diff --git a/pkg/api/v1/helpers.go b/pkg/api/v1/helpers.go index d7fa9afe..828f7675 100644 --- a/pkg/api/v1/helpers.go +++ b/pkg/api/v1/helpers.go @@ -21,12 +21,12 @@ import ( "fmt" "strings" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/selection" + "k8s.io/apimachinery/pkg/types" + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/fields" - "k8s.io/client-go/pkg/labels" - "k8s.io/client-go/pkg/selection" - "k8s.io/client-go/pkg/types" - "k8s.io/client-go/pkg/util/sets" ) // IsOpaqueIntResourceName returns true if the resource name has the opaque diff --git a/pkg/api/v1/meta.go b/pkg/api/v1/meta.go index 8a474555..89ea6847 100644 --- a/pkg/api/v1/meta.go +++ b/pkg/api/v1/meta.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/pkg/api/meta" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/types" + "k8s.io/apimachinery/pkg/api/meta" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/types" ) func (obj *ObjectMeta) GetObjectMeta() meta.Object { return obj } diff --git a/pkg/api/v1/ref.go b/pkg/api/v1/ref.go index 1422ee55..1b145b03 100644 --- a/pkg/api/v1/ref.go +++ b/pkg/api/v1/ref.go @@ -23,9 +23,9 @@ import ( "net/url" "strings" - "k8s.io/client-go/pkg/api/meta" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) var ( diff --git a/pkg/api/v1/register.go b/pkg/api/v1/register.go index 1ec0c049..915a66f6 100644 --- a/pkg/api/v1/register.go +++ b/pkg/api/v1/register.go @@ -17,10 +17,9 @@ limitations under the License. package v1 import ( - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - versionedwatch "k8s.io/client-go/pkg/watch/versioned" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) // GroupName is the group name use in this package @@ -95,6 +94,6 @@ func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &metav1.Status{}) // Add the watch version that applies - versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/api/v1/resource_helpers.go b/pkg/api/v1/resource_helpers.go index d263de32..3459a097 100644 --- a/pkg/api/v1/resource_helpers.go +++ b/pkg/api/v1/resource_helpers.go @@ -19,8 +19,8 @@ package v1 import ( "time" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/resource" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // Returns string version of ResourceName. diff --git a/pkg/api/v1/types.generated.go b/pkg/api/v1/types.generated.go index b000073c..a156f103 100644 --- a/pkg/api/v1/types.generated.go +++ b/pkg/api/v1/types.generated.go @@ -25,10 +25,10 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" + pkg2_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + pkg5_runtime "k8s.io/apimachinery/pkg/runtime" + pkg1_types "k8s.io/apimachinery/pkg/types" pkg3_resource "k8s.io/client-go/pkg/api/resource" - pkg2_v1 "k8s.io/client-go/pkg/apis/meta/v1" - pkg5_runtime "k8s.io/client-go/pkg/runtime" - pkg1_types "k8s.io/client-go/pkg/types" pkg4_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" @@ -65,10 +65,10 @@ func init() { panic(err) } if false { // reference the types, but skip this branch at build/run time - var v0 pkg3_resource.Quantity - var v1 pkg2_v1.Time - var v2 pkg5_runtime.RawExtension - var v3 pkg1_types.UID + var v0 pkg2_v1.Time + var v1 pkg5_runtime.RawExtension + var v2 pkg1_types.UID + var v3 pkg3_resource.Quantity var v4 pkg4_intstr.IntOrString var v5 time.Time _, _, _, _, _, _ = v0, v1, v2, v3, v4, v5 @@ -582,25 +582,25 @@ func (x *ObjectMeta) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym52 := z.DecBinary() - _ = yym52 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct53 := r.ContainerType() - if yyct53 == codecSelferValueTypeMap1234 { - yyl53 := r.ReadMapStart() - if yyl53 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl53, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct53 == codecSelferValueTypeArray1234 { - yyl53 := r.ReadArrayStart() - if yyl53 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl53, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -612,12 +612,12 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys54Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys54Slc - var yyhl54 bool = l >= 0 - for yyj54 := 0; ; yyj54++ { - if yyhl54 { - if yyj54 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -626,67 +626,110 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys54Slc = r.DecodeBytes(yys54Slc, true, true) - yys54 := string(yys54Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys54 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "generateName": if r.TryDecodeAsNil() { x.GenerateName = "" } else { - x.GenerateName = string(r.DecodeString()) + yyv6 := &x.GenerateName + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "namespace": if r.TryDecodeAsNil() { x.Namespace = "" } else { - x.Namespace = string(r.DecodeString()) + yyv8 := &x.Namespace + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "selfLink": if r.TryDecodeAsNil() { x.SelfLink = "" } else { - x.SelfLink = string(r.DecodeString()) + yyv10 := &x.SelfLink + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "uid": if r.TryDecodeAsNil() { x.UID = "" } else { - x.UID = pkg1_types.UID(r.DecodeString()) + yyv12 := &x.UID + yym13 := z.DecBinary() + _ = yym13 + if false { + } else if z.HasExtensions() && z.DecExt(yyv12) { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } case "resourceVersion": if r.TryDecodeAsNil() { x.ResourceVersion = "" } else { - x.ResourceVersion = string(r.DecodeString()) + yyv14 := &x.ResourceVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } case "generation": if r.TryDecodeAsNil() { x.Generation = 0 } else { - x.Generation = int64(r.DecodeInt(64)) + yyv16 := &x.Generation + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*int64)(yyv16)) = int64(r.DecodeInt(64)) + } } case "creationTimestamp": if r.TryDecodeAsNil() { x.CreationTimestamp = pkg2_v1.Time{} } else { - yyv62 := &x.CreationTimestamp - yym63 := z.DecBinary() - _ = yym63 + yyv18 := &x.CreationTimestamp + yym19 := z.DecBinary() + _ = yym19 if false { - } else if z.HasExtensions() && z.DecExt(yyv62) { - } else if yym63 { - z.DecBinaryUnmarshal(yyv62) - } else if !yym63 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv62) + } else if z.HasExtensions() && z.DecExt(yyv18) { + } else if yym19 { + z.DecBinaryUnmarshal(yyv18) + } else if !yym19 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv18) } else { - z.DecFallback(yyv62, false) + z.DecFallback(yyv18, false) } } case "deletionTimestamp": @@ -698,13 +741,13 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.DeletionTimestamp == nil { x.DeletionTimestamp = new(pkg2_v1.Time) } - yym65 := z.DecBinary() - _ = yym65 + yym21 := z.DecBinary() + _ = yym21 if false { } else if z.HasExtensions() && z.DecExt(x.DeletionTimestamp) { - } else if yym65 { + } else if yym21 { z.DecBinaryUnmarshal(x.DeletionTimestamp) - } else if !yym65 && z.IsJSONHandle() { + } else if !yym21 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.DeletionTimestamp) } else { z.DecFallback(x.DeletionTimestamp, false) @@ -719,8 +762,8 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.DeletionGracePeriodSeconds == nil { x.DeletionGracePeriodSeconds = new(int64) } - yym67 := z.DecBinary() - _ = yym67 + yym23 := z.DecBinary() + _ = yym23 if false { } else { *((*int64)(x.DeletionGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -730,60 +773,66 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv68 := &x.Labels - yym69 := z.DecBinary() - _ = yym69 + yyv24 := &x.Labels + yym25 := z.DecBinary() + _ = yym25 if false { } else { - z.F.DecMapStringStringX(yyv68, false, d) + z.F.DecMapStringStringX(yyv24, false, d) } } case "annotations": if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv70 := &x.Annotations - yym71 := z.DecBinary() - _ = yym71 + yyv26 := &x.Annotations + yym27 := z.DecBinary() + _ = yym27 if false { } else { - z.F.DecMapStringStringX(yyv70, false, d) + z.F.DecMapStringStringX(yyv26, false, d) } } case "ownerReferences": if r.TryDecodeAsNil() { x.OwnerReferences = nil } else { - yyv72 := &x.OwnerReferences - yym73 := z.DecBinary() - _ = yym73 + yyv28 := &x.OwnerReferences + yym29 := z.DecBinary() + _ = yym29 if false { } else { - h.decSlicev1_OwnerReference((*[]pkg2_v1.OwnerReference)(yyv72), d) + h.decSlicev1_OwnerReference((*[]pkg2_v1.OwnerReference)(yyv28), d) } } case "finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv74 := &x.Finalizers - yym75 := z.DecBinary() - _ = yym75 + yyv30 := &x.Finalizers + yym31 := z.DecBinary() + _ = yym31 if false { } else { - z.F.DecSliceStringX(yyv74, false, d) + z.F.DecSliceStringX(yyv30, false, d) } } case "clusterName": if r.TryDecodeAsNil() { x.ClusterName = "" } else { - x.ClusterName = string(r.DecodeString()) + yyv32 := &x.ClusterName + yym33 := z.DecBinary() + _ = yym33 + if false { + } else { + *((*string)(yyv32)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys54) - } // end switch yys54 - } // end for yyj54 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -791,16 +840,16 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj77 int - var yyb77 bool - var yyhl77 bool = l >= 0 - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + var yyj34 int + var yyb34 bool + var yyhl34 bool = l >= 0 + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -808,15 +857,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv35 := &x.Name + yym36 := z.DecBinary() + _ = yym36 + if false { + } else { + *((*string)(yyv35)) = r.DecodeString() + } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -824,15 +879,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.GenerateName = "" } else { - x.GenerateName = string(r.DecodeString()) + yyv37 := &x.GenerateName + yym38 := z.DecBinary() + _ = yym38 + if false { + } else { + *((*string)(yyv37)) = r.DecodeString() + } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -840,15 +901,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Namespace = "" } else { - x.Namespace = string(r.DecodeString()) + yyv39 := &x.Namespace + yym40 := z.DecBinary() + _ = yym40 + if false { + } else { + *((*string)(yyv39)) = r.DecodeString() + } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -856,15 +923,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.SelfLink = "" } else { - x.SelfLink = string(r.DecodeString()) + yyv41 := &x.SelfLink + yym42 := z.DecBinary() + _ = yym42 + if false { + } else { + *((*string)(yyv41)) = r.DecodeString() + } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -872,15 +945,22 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.UID = "" } else { - x.UID = pkg1_types.UID(r.DecodeString()) + yyv43 := &x.UID + yym44 := z.DecBinary() + _ = yym44 + if false { + } else if z.HasExtensions() && z.DecExt(yyv43) { + } else { + *((*string)(yyv43)) = r.DecodeString() + } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -888,15 +968,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ResourceVersion = "" } else { - x.ResourceVersion = string(r.DecodeString()) + yyv45 := &x.ResourceVersion + yym46 := z.DecBinary() + _ = yym46 + if false { + } else { + *((*string)(yyv45)) = r.DecodeString() + } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -904,15 +990,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Generation = 0 } else { - x.Generation = int64(r.DecodeInt(64)) + yyv47 := &x.Generation + yym48 := z.DecBinary() + _ = yym48 + if false { + } else { + *((*int64)(yyv47)) = int64(r.DecodeInt(64)) + } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -920,26 +1012,26 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.CreationTimestamp = pkg2_v1.Time{} } else { - yyv85 := &x.CreationTimestamp - yym86 := z.DecBinary() - _ = yym86 + yyv49 := &x.CreationTimestamp + yym50 := z.DecBinary() + _ = yym50 if false { - } else if z.HasExtensions() && z.DecExt(yyv85) { - } else if yym86 { - z.DecBinaryUnmarshal(yyv85) - } else if !yym86 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv85) + } else if z.HasExtensions() && z.DecExt(yyv49) { + } else if yym50 { + z.DecBinaryUnmarshal(yyv49) + } else if !yym50 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv49) } else { - z.DecFallback(yyv85, false) + z.DecFallback(yyv49, false) } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -952,25 +1044,25 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.DeletionTimestamp == nil { x.DeletionTimestamp = new(pkg2_v1.Time) } - yym88 := z.DecBinary() - _ = yym88 + yym52 := z.DecBinary() + _ = yym52 if false { } else if z.HasExtensions() && z.DecExt(x.DeletionTimestamp) { - } else if yym88 { + } else if yym52 { z.DecBinaryUnmarshal(x.DeletionTimestamp) - } else if !yym88 && z.IsJSONHandle() { + } else if !yym52 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.DeletionTimestamp) } else { z.DecFallback(x.DeletionTimestamp, false) } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -983,20 +1075,20 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.DeletionGracePeriodSeconds == nil { x.DeletionGracePeriodSeconds = new(int64) } - yym90 := z.DecBinary() - _ = yym90 + yym54 := z.DecBinary() + _ = yym54 if false { } else { *((*int64)(x.DeletionGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1004,21 +1096,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv91 := &x.Labels - yym92 := z.DecBinary() - _ = yym92 + yyv55 := &x.Labels + yym56 := z.DecBinary() + _ = yym56 if false { } else { - z.F.DecMapStringStringX(yyv91, false, d) + z.F.DecMapStringStringX(yyv55, false, d) } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1026,21 +1118,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv93 := &x.Annotations - yym94 := z.DecBinary() - _ = yym94 + yyv57 := &x.Annotations + yym58 := z.DecBinary() + _ = yym58 if false { } else { - z.F.DecMapStringStringX(yyv93, false, d) + z.F.DecMapStringStringX(yyv57, false, d) } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1048,21 +1140,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.OwnerReferences = nil } else { - yyv95 := &x.OwnerReferences - yym96 := z.DecBinary() - _ = yym96 + yyv59 := &x.OwnerReferences + yym60 := z.DecBinary() + _ = yym60 if false { } else { - h.decSlicev1_OwnerReference((*[]pkg2_v1.OwnerReference)(yyv95), d) + h.decSlicev1_OwnerReference((*[]pkg2_v1.OwnerReference)(yyv59), d) } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1070,21 +1162,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv97 := &x.Finalizers - yym98 := z.DecBinary() - _ = yym98 + yyv61 := &x.Finalizers + yym62 := z.DecBinary() + _ = yym62 if false { } else { - z.F.DecSliceStringX(yyv97, false, d) + z.F.DecSliceStringX(yyv61, false, d) } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1092,20 +1184,26 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ClusterName = "" } else { - x.ClusterName = string(r.DecodeString()) + yyv63 := &x.ClusterName + yym64 := z.DecBinary() + _ = yym64 + if false { + } else { + *((*string)(yyv63)) = r.DecodeString() + } } for { - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj34++ + if yyhl34 { + yyb34 = yyj34 > l } else { - yyb77 = r.CheckBreak() + yyb34 = r.CheckBreak() } - if yyb77 { + if yyb34 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj77-1, "") + z.DecStructFieldNotFound(yyj34-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1117,56 +1215,56 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym100 := z.EncBinary() - _ = yym100 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep101 := !z.EncBinary() - yy2arr101 := z.EncBasicHandle().StructToArray - var yyq101 [24]bool - _, _, _ = yysep101, yyq101, yy2arr101 - const yyr101 bool = false - yyq101[1] = x.VolumeSource.HostPath != nil && x.HostPath != nil - yyq101[2] = x.VolumeSource.EmptyDir != nil && x.EmptyDir != nil - yyq101[3] = x.VolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil - yyq101[4] = x.VolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil - yyq101[5] = x.VolumeSource.GitRepo != nil && x.GitRepo != nil - yyq101[6] = x.VolumeSource.Secret != nil && x.Secret != nil - yyq101[7] = x.VolumeSource.NFS != nil && x.NFS != nil - yyq101[8] = x.VolumeSource.ISCSI != nil && x.ISCSI != nil - yyq101[9] = x.VolumeSource.Glusterfs != nil && x.Glusterfs != nil - yyq101[10] = x.VolumeSource.PersistentVolumeClaim != nil && x.PersistentVolumeClaim != nil - yyq101[11] = x.VolumeSource.RBD != nil && x.RBD != nil - yyq101[12] = x.VolumeSource.FlexVolume != nil && x.FlexVolume != nil - yyq101[13] = x.VolumeSource.Cinder != nil && x.Cinder != nil - yyq101[14] = x.VolumeSource.CephFS != nil && x.CephFS != nil - yyq101[15] = x.VolumeSource.Flocker != nil && x.Flocker != nil - yyq101[16] = x.VolumeSource.DownwardAPI != nil && x.DownwardAPI != nil - yyq101[17] = x.VolumeSource.FC != nil && x.FC != nil - yyq101[18] = x.VolumeSource.AzureFile != nil && x.AzureFile != nil - yyq101[19] = x.VolumeSource.ConfigMap != nil && x.ConfigMap != nil - yyq101[20] = x.VolumeSource.VsphereVolume != nil && x.VsphereVolume != nil - yyq101[21] = x.VolumeSource.Quobyte != nil && x.Quobyte != nil - yyq101[22] = x.VolumeSource.AzureDisk != nil && x.AzureDisk != nil - yyq101[23] = x.VolumeSource.PhotonPersistentDisk != nil && x.PhotonPersistentDisk != nil - var yynn101 int - if yyr101 || yy2arr101 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [24]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.VolumeSource.HostPath != nil && x.HostPath != nil + yyq2[2] = x.VolumeSource.EmptyDir != nil && x.EmptyDir != nil + yyq2[3] = x.VolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil + yyq2[4] = x.VolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil + yyq2[5] = x.VolumeSource.GitRepo != nil && x.GitRepo != nil + yyq2[6] = x.VolumeSource.Secret != nil && x.Secret != nil + yyq2[7] = x.VolumeSource.NFS != nil && x.NFS != nil + yyq2[8] = x.VolumeSource.ISCSI != nil && x.ISCSI != nil + yyq2[9] = x.VolumeSource.Glusterfs != nil && x.Glusterfs != nil + yyq2[10] = x.VolumeSource.PersistentVolumeClaim != nil && x.PersistentVolumeClaim != nil + yyq2[11] = x.VolumeSource.RBD != nil && x.RBD != nil + yyq2[12] = x.VolumeSource.FlexVolume != nil && x.FlexVolume != nil + yyq2[13] = x.VolumeSource.Cinder != nil && x.Cinder != nil + yyq2[14] = x.VolumeSource.CephFS != nil && x.CephFS != nil + yyq2[15] = x.VolumeSource.Flocker != nil && x.Flocker != nil + yyq2[16] = x.VolumeSource.DownwardAPI != nil && x.DownwardAPI != nil + yyq2[17] = x.VolumeSource.FC != nil && x.FC != nil + yyq2[18] = x.VolumeSource.AzureFile != nil && x.AzureFile != nil + yyq2[19] = x.VolumeSource.ConfigMap != nil && x.ConfigMap != nil + yyq2[20] = x.VolumeSource.VsphereVolume != nil && x.VsphereVolume != nil + yyq2[21] = x.VolumeSource.Quobyte != nil && x.Quobyte != nil + yyq2[22] = x.VolumeSource.AzureDisk != nil && x.AzureDisk != nil + yyq2[23] = x.VolumeSource.PhotonPersistentDisk != nil && x.PhotonPersistentDisk != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(24) } else { - yynn101 = 1 - for _, b := range yyq101 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn101++ + yynn2++ } } - r.EncodeMapStart(yynn101) - yynn101 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr101 || yy2arr101 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym103 := z.EncBinary() - _ = yym103 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -1175,25 +1273,25 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym104 := z.EncBinary() - _ = yym104 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - var yyn105 bool + var yyn6 bool if x.VolumeSource.HostPath == nil { - yyn105 = true - goto LABEL105 + yyn6 = true + goto LABEL6 } - LABEL105: - if yyr101 || yy2arr101 { - if yyn105 { + LABEL6: + if yyr2 || yy2arr2 { + if yyn6 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[1] { + if yyq2[1] { if x.HostPath == nil { r.EncodeNil() } else { @@ -1204,11 +1302,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn105 { + if yyn6 { r.EncodeNil() } else { if x.HostPath == nil { @@ -1219,18 +1317,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn106 bool + var yyn9 bool if x.VolumeSource.EmptyDir == nil { - yyn106 = true - goto LABEL106 + yyn9 = true + goto LABEL9 } - LABEL106: - if yyr101 || yy2arr101 { - if yyn106 { + LABEL9: + if yyr2 || yy2arr2 { + if yyn9 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[2] { + if yyq2[2] { if x.EmptyDir == nil { r.EncodeNil() } else { @@ -1241,11 +1339,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("emptyDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn106 { + if yyn9 { r.EncodeNil() } else { if x.EmptyDir == nil { @@ -1256,18 +1354,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn107 bool + var yyn12 bool if x.VolumeSource.GCEPersistentDisk == nil { - yyn107 = true - goto LABEL107 + yyn12 = true + goto LABEL12 } - LABEL107: - if yyr101 || yy2arr101 { - if yyn107 { + LABEL12: + if yyr2 || yy2arr2 { + if yyn12 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[3] { + if yyq2[3] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -1278,11 +1376,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn107 { + if yyn12 { r.EncodeNil() } else { if x.GCEPersistentDisk == nil { @@ -1293,18 +1391,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn108 bool + var yyn15 bool if x.VolumeSource.AWSElasticBlockStore == nil { - yyn108 = true - goto LABEL108 + yyn15 = true + goto LABEL15 } - LABEL108: - if yyr101 || yy2arr101 { - if yyn108 { + LABEL15: + if yyr2 || yy2arr2 { + if yyn15 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[4] { + if yyq2[4] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -1315,11 +1413,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn108 { + if yyn15 { r.EncodeNil() } else { if x.AWSElasticBlockStore == nil { @@ -1330,18 +1428,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn109 bool + var yyn18 bool if x.VolumeSource.GitRepo == nil { - yyn109 = true - goto LABEL109 + yyn18 = true + goto LABEL18 } - LABEL109: - if yyr101 || yy2arr101 { - if yyn109 { + LABEL18: + if yyr2 || yy2arr2 { + if yyn18 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[5] { + if yyq2[5] { if x.GitRepo == nil { r.EncodeNil() } else { @@ -1352,11 +1450,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gitRepo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn109 { + if yyn18 { r.EncodeNil() } else { if x.GitRepo == nil { @@ -1367,18 +1465,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn110 bool + var yyn21 bool if x.VolumeSource.Secret == nil { - yyn110 = true - goto LABEL110 + yyn21 = true + goto LABEL21 } - LABEL110: - if yyr101 || yy2arr101 { - if yyn110 { + LABEL21: + if yyr2 || yy2arr2 { + if yyn21 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[6] { + if yyq2[6] { if x.Secret == nil { r.EncodeNil() } else { @@ -1389,11 +1487,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secret")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn110 { + if yyn21 { r.EncodeNil() } else { if x.Secret == nil { @@ -1404,18 +1502,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn111 bool + var yyn24 bool if x.VolumeSource.NFS == nil { - yyn111 = true - goto LABEL111 + yyn24 = true + goto LABEL24 } - LABEL111: - if yyr101 || yy2arr101 { - if yyn111 { + LABEL24: + if yyr2 || yy2arr2 { + if yyn24 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[7] { + if yyq2[7] { if x.NFS == nil { r.EncodeNil() } else { @@ -1426,11 +1524,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn111 { + if yyn24 { r.EncodeNil() } else { if x.NFS == nil { @@ -1441,18 +1539,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn112 bool + var yyn27 bool if x.VolumeSource.ISCSI == nil { - yyn112 = true - goto LABEL112 + yyn27 = true + goto LABEL27 } - LABEL112: - if yyr101 || yy2arr101 { - if yyn112 { + LABEL27: + if yyr2 || yy2arr2 { + if yyn27 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[8] { + if yyq2[8] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -1463,11 +1561,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[8] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn112 { + if yyn27 { r.EncodeNil() } else { if x.ISCSI == nil { @@ -1478,18 +1576,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn113 bool + var yyn30 bool if x.VolumeSource.Glusterfs == nil { - yyn113 = true - goto LABEL113 + yyn30 = true + goto LABEL30 } - LABEL113: - if yyr101 || yy2arr101 { - if yyn113 { + LABEL30: + if yyr2 || yy2arr2 { + if yyn30 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[9] { + if yyq2[9] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -1500,11 +1598,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[9] { + if yyq2[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn113 { + if yyn30 { r.EncodeNil() } else { if x.Glusterfs == nil { @@ -1515,18 +1613,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn114 bool + var yyn33 bool if x.VolumeSource.PersistentVolumeClaim == nil { - yyn114 = true - goto LABEL114 + yyn33 = true + goto LABEL33 } - LABEL114: - if yyr101 || yy2arr101 { - if yyn114 { + LABEL33: + if yyr2 || yy2arr2 { + if yyn33 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[10] { + if yyq2[10] { if x.PersistentVolumeClaim == nil { r.EncodeNil() } else { @@ -1537,11 +1635,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[10] { + if yyq2[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeClaim")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn114 { + if yyn33 { r.EncodeNil() } else { if x.PersistentVolumeClaim == nil { @@ -1552,18 +1650,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn115 bool + var yyn36 bool if x.VolumeSource.RBD == nil { - yyn115 = true - goto LABEL115 + yyn36 = true + goto LABEL36 } - LABEL115: - if yyr101 || yy2arr101 { - if yyn115 { + LABEL36: + if yyr2 || yy2arr2 { + if yyn36 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[11] { + if yyq2[11] { if x.RBD == nil { r.EncodeNil() } else { @@ -1574,11 +1672,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[11] { + if yyq2[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn115 { + if yyn36 { r.EncodeNil() } else { if x.RBD == nil { @@ -1589,18 +1687,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn116 bool + var yyn39 bool if x.VolumeSource.FlexVolume == nil { - yyn116 = true - goto LABEL116 + yyn39 = true + goto LABEL39 } - LABEL116: - if yyr101 || yy2arr101 { - if yyn116 { + LABEL39: + if yyr2 || yy2arr2 { + if yyn39 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[12] { + if yyq2[12] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -1611,11 +1709,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[12] { + if yyq2[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn116 { + if yyn39 { r.EncodeNil() } else { if x.FlexVolume == nil { @@ -1626,18 +1724,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn117 bool + var yyn42 bool if x.VolumeSource.Cinder == nil { - yyn117 = true - goto LABEL117 + yyn42 = true + goto LABEL42 } - LABEL117: - if yyr101 || yy2arr101 { - if yyn117 { + LABEL42: + if yyr2 || yy2arr2 { + if yyn42 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[13] { + if yyq2[13] { if x.Cinder == nil { r.EncodeNil() } else { @@ -1648,11 +1746,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[13] { + if yyq2[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn117 { + if yyn42 { r.EncodeNil() } else { if x.Cinder == nil { @@ -1663,18 +1761,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn118 bool + var yyn45 bool if x.VolumeSource.CephFS == nil { - yyn118 = true - goto LABEL118 + yyn45 = true + goto LABEL45 } - LABEL118: - if yyr101 || yy2arr101 { - if yyn118 { + LABEL45: + if yyr2 || yy2arr2 { + if yyn45 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[14] { + if yyq2[14] { if x.CephFS == nil { r.EncodeNil() } else { @@ -1685,11 +1783,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[14] { + if yyq2[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn118 { + if yyn45 { r.EncodeNil() } else { if x.CephFS == nil { @@ -1700,18 +1798,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn119 bool + var yyn48 bool if x.VolumeSource.Flocker == nil { - yyn119 = true - goto LABEL119 + yyn48 = true + goto LABEL48 } - LABEL119: - if yyr101 || yy2arr101 { - if yyn119 { + LABEL48: + if yyr2 || yy2arr2 { + if yyn48 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[15] { + if yyq2[15] { if x.Flocker == nil { r.EncodeNil() } else { @@ -1722,11 +1820,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[15] { + if yyq2[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn119 { + if yyn48 { r.EncodeNil() } else { if x.Flocker == nil { @@ -1737,18 +1835,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn120 bool + var yyn51 bool if x.VolumeSource.DownwardAPI == nil { - yyn120 = true - goto LABEL120 + yyn51 = true + goto LABEL51 } - LABEL120: - if yyr101 || yy2arr101 { - if yyn120 { + LABEL51: + if yyr2 || yy2arr2 { + if yyn51 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[16] { + if yyq2[16] { if x.DownwardAPI == nil { r.EncodeNil() } else { @@ -1759,11 +1857,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[16] { + if yyq2[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("downwardAPI")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn120 { + if yyn51 { r.EncodeNil() } else { if x.DownwardAPI == nil { @@ -1774,18 +1872,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn121 bool + var yyn54 bool if x.VolumeSource.FC == nil { - yyn121 = true - goto LABEL121 + yyn54 = true + goto LABEL54 } - LABEL121: - if yyr101 || yy2arr101 { - if yyn121 { + LABEL54: + if yyr2 || yy2arr2 { + if yyn54 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[17] { + if yyq2[17] { if x.FC == nil { r.EncodeNil() } else { @@ -1796,11 +1894,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[17] { + if yyq2[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn121 { + if yyn54 { r.EncodeNil() } else { if x.FC == nil { @@ -1811,18 +1909,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn122 bool + var yyn57 bool if x.VolumeSource.AzureFile == nil { - yyn122 = true - goto LABEL122 + yyn57 = true + goto LABEL57 } - LABEL122: - if yyr101 || yy2arr101 { - if yyn122 { + LABEL57: + if yyr2 || yy2arr2 { + if yyn57 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[18] { + if yyq2[18] { if x.AzureFile == nil { r.EncodeNil() } else { @@ -1833,11 +1931,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[18] { + if yyq2[18] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("azureFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn122 { + if yyn57 { r.EncodeNil() } else { if x.AzureFile == nil { @@ -1848,18 +1946,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn123 bool + var yyn60 bool if x.VolumeSource.ConfigMap == nil { - yyn123 = true - goto LABEL123 + yyn60 = true + goto LABEL60 } - LABEL123: - if yyr101 || yy2arr101 { - if yyn123 { + LABEL60: + if yyr2 || yy2arr2 { + if yyn60 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[19] { + if yyq2[19] { if x.ConfigMap == nil { r.EncodeNil() } else { @@ -1870,11 +1968,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[19] { + if yyq2[19] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configMap")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn123 { + if yyn60 { r.EncodeNil() } else { if x.ConfigMap == nil { @@ -1885,18 +1983,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn124 bool + var yyn63 bool if x.VolumeSource.VsphereVolume == nil { - yyn124 = true - goto LABEL124 + yyn63 = true + goto LABEL63 } - LABEL124: - if yyr101 || yy2arr101 { - if yyn124 { + LABEL63: + if yyr2 || yy2arr2 { + if yyn63 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[20] { + if yyq2[20] { if x.VsphereVolume == nil { r.EncodeNil() } else { @@ -1907,11 +2005,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[20] { + if yyq2[20] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("vsphereVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn124 { + if yyn63 { r.EncodeNil() } else { if x.VsphereVolume == nil { @@ -1922,18 +2020,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn125 bool + var yyn66 bool if x.VolumeSource.Quobyte == nil { - yyn125 = true - goto LABEL125 + yyn66 = true + goto LABEL66 } - LABEL125: - if yyr101 || yy2arr101 { - if yyn125 { + LABEL66: + if yyr2 || yy2arr2 { + if yyn66 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[21] { + if yyq2[21] { if x.Quobyte == nil { r.EncodeNil() } else { @@ -1944,11 +2042,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[21] { + if yyq2[21] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("quobyte")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn125 { + if yyn66 { r.EncodeNil() } else { if x.Quobyte == nil { @@ -1959,18 +2057,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn126 bool + var yyn69 bool if x.VolumeSource.AzureDisk == nil { - yyn126 = true - goto LABEL126 + yyn69 = true + goto LABEL69 } - LABEL126: - if yyr101 || yy2arr101 { - if yyn126 { + LABEL69: + if yyr2 || yy2arr2 { + if yyn69 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[22] { + if yyq2[22] { if x.AzureDisk == nil { r.EncodeNil() } else { @@ -1981,11 +2079,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[22] { + if yyq2[22] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("azureDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn126 { + if yyn69 { r.EncodeNil() } else { if x.AzureDisk == nil { @@ -1996,18 +2094,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn127 bool + var yyn72 bool if x.VolumeSource.PhotonPersistentDisk == nil { - yyn127 = true - goto LABEL127 + yyn72 = true + goto LABEL72 } - LABEL127: - if yyr101 || yy2arr101 { - if yyn127 { + LABEL72: + if yyr2 || yy2arr2 { + if yyn72 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq101[23] { + if yyq2[23] { if x.PhotonPersistentDisk == nil { r.EncodeNil() } else { @@ -2018,11 +2116,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq101[23] { + if yyq2[23] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("photonPersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn127 { + if yyn72 { r.EncodeNil() } else { if x.PhotonPersistentDisk == nil { @@ -2033,7 +2131,7 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr101 || yy2arr101 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2046,25 +2144,25 @@ func (x *Volume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym128 := z.DecBinary() - _ = yym128 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct129 := r.ContainerType() - if yyct129 == codecSelferValueTypeMap1234 { - yyl129 := r.ReadMapStart() - if yyl129 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl129, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct129 == codecSelferValueTypeArray1234 { - yyl129 := r.ReadArrayStart() - if yyl129 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl129, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2076,12 +2174,12 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys130Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys130Slc - var yyhl130 bool = l >= 0 - for yyj130 := 0; ; yyj130++ { - if yyhl130 { - if yyj130 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2090,15 +2188,21 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys130Slc = r.DecodeBytes(yys130Slc, true, true) - yys130 := string(yys130Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys130 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "hostPath": if x.VolumeSource.HostPath == nil { @@ -2423,9 +2527,9 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PhotonPersistentDisk.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys130) - } // end switch yys130 - } // end for yyj130 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2433,16 +2537,16 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj155 int - var yyb155 bool - var yyhl155 bool = l >= 0 - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + var yyj29 int + var yyb29 bool + var yyhl29 bool = l >= 0 + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2450,18 +2554,24 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv30 := &x.Name + yym31 := z.DecBinary() + _ = yym31 + if false { + } else { + *((*string)(yyv30)) = r.DecodeString() + } } if x.VolumeSource.HostPath == nil { x.VolumeSource.HostPath = new(HostPathVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2479,13 +2589,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.EmptyDir == nil { x.VolumeSource.EmptyDir = new(EmptyDirVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2503,13 +2613,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.GCEPersistentDisk == nil { x.VolumeSource.GCEPersistentDisk = new(GCEPersistentDiskVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2527,13 +2637,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.AWSElasticBlockStore == nil { x.VolumeSource.AWSElasticBlockStore = new(AWSElasticBlockStoreVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2551,13 +2661,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.GitRepo == nil { x.VolumeSource.GitRepo = new(GitRepoVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2575,13 +2685,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Secret == nil { x.VolumeSource.Secret = new(SecretVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2599,13 +2709,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.NFS == nil { x.VolumeSource.NFS = new(NFSVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2623,13 +2733,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.ISCSI == nil { x.VolumeSource.ISCSI = new(ISCSIVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2647,13 +2757,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Glusterfs == nil { x.VolumeSource.Glusterfs = new(GlusterfsVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2671,13 +2781,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.PersistentVolumeClaim == nil { x.VolumeSource.PersistentVolumeClaim = new(PersistentVolumeClaimVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2695,13 +2805,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.RBD == nil { x.VolumeSource.RBD = new(RBDVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2719,13 +2829,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.FlexVolume == nil { x.VolumeSource.FlexVolume = new(FlexVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2743,13 +2853,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Cinder == nil { x.VolumeSource.Cinder = new(CinderVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2767,13 +2877,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.CephFS == nil { x.VolumeSource.CephFS = new(CephFSVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2791,13 +2901,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Flocker == nil { x.VolumeSource.Flocker = new(FlockerVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2815,13 +2925,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.DownwardAPI == nil { x.VolumeSource.DownwardAPI = new(DownwardAPIVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2839,13 +2949,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.FC == nil { x.VolumeSource.FC = new(FCVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2863,13 +2973,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.AzureFile == nil { x.VolumeSource.AzureFile = new(AzureFileVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2887,13 +2997,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.ConfigMap == nil { x.VolumeSource.ConfigMap = new(ConfigMapVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2911,13 +3021,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.VsphereVolume == nil { x.VolumeSource.VsphereVolume = new(VsphereVirtualDiskVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2935,13 +3045,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Quobyte == nil { x.VolumeSource.Quobyte = new(QuobyteVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2959,13 +3069,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.AzureDisk == nil { x.VolumeSource.AzureDisk = new(AzureDiskVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2983,13 +3093,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.PhotonPersistentDisk == nil { x.VolumeSource.PhotonPersistentDisk = new(PhotonPersistentDiskVolumeSource) } - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3005,17 +3115,17 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PhotonPersistentDisk.CodecDecodeSelf(d) } for { - yyj155++ - if yyhl155 { - yyb155 = yyj155 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb155 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb155 { + if yyb29 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj155-1, "") + z.DecStructFieldNotFound(yyj29-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3027,55 +3137,55 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym180 := z.EncBinary() - _ = yym180 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep181 := !z.EncBinary() - yy2arr181 := z.EncBasicHandle().StructToArray - var yyq181 [23]bool - _, _, _ = yysep181, yyq181, yy2arr181 - const yyr181 bool = false - yyq181[0] = x.HostPath != nil - yyq181[1] = x.EmptyDir != nil - yyq181[2] = x.GCEPersistentDisk != nil - yyq181[3] = x.AWSElasticBlockStore != nil - yyq181[4] = x.GitRepo != nil - yyq181[5] = x.Secret != nil - yyq181[6] = x.NFS != nil - yyq181[7] = x.ISCSI != nil - yyq181[8] = x.Glusterfs != nil - yyq181[9] = x.PersistentVolumeClaim != nil - yyq181[10] = x.RBD != nil - yyq181[11] = x.FlexVolume != nil - yyq181[12] = x.Cinder != nil - yyq181[13] = x.CephFS != nil - yyq181[14] = x.Flocker != nil - yyq181[15] = x.DownwardAPI != nil - yyq181[16] = x.FC != nil - yyq181[17] = x.AzureFile != nil - yyq181[18] = x.ConfigMap != nil - yyq181[19] = x.VsphereVolume != nil - yyq181[20] = x.Quobyte != nil - yyq181[21] = x.AzureDisk != nil - yyq181[22] = x.PhotonPersistentDisk != nil - var yynn181 int - if yyr181 || yy2arr181 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [23]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.HostPath != nil + yyq2[1] = x.EmptyDir != nil + yyq2[2] = x.GCEPersistentDisk != nil + yyq2[3] = x.AWSElasticBlockStore != nil + yyq2[4] = x.GitRepo != nil + yyq2[5] = x.Secret != nil + yyq2[6] = x.NFS != nil + yyq2[7] = x.ISCSI != nil + yyq2[8] = x.Glusterfs != nil + yyq2[9] = x.PersistentVolumeClaim != nil + yyq2[10] = x.RBD != nil + yyq2[11] = x.FlexVolume != nil + yyq2[12] = x.Cinder != nil + yyq2[13] = x.CephFS != nil + yyq2[14] = x.Flocker != nil + yyq2[15] = x.DownwardAPI != nil + yyq2[16] = x.FC != nil + yyq2[17] = x.AzureFile != nil + yyq2[18] = x.ConfigMap != nil + yyq2[19] = x.VsphereVolume != nil + yyq2[20] = x.Quobyte != nil + yyq2[21] = x.AzureDisk != nil + yyq2[22] = x.PhotonPersistentDisk != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(23) } else { - yynn181 = 0 - for _, b := range yyq181 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn181++ + yynn2++ } } - r.EncodeMapStart(yynn181) - yynn181 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[0] { + if yyq2[0] { if x.HostPath == nil { r.EncodeNil() } else { @@ -3085,7 +3195,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3096,9 +3206,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[1] { + if yyq2[1] { if x.EmptyDir == nil { r.EncodeNil() } else { @@ -3108,7 +3218,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("emptyDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3119,9 +3229,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[2] { + if yyq2[2] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -3131,7 +3241,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3142,9 +3252,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[3] { + if yyq2[3] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -3154,7 +3264,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3165,9 +3275,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[4] { + if yyq2[4] { if x.GitRepo == nil { r.EncodeNil() } else { @@ -3177,7 +3287,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gitRepo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3188,9 +3298,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[5] { + if yyq2[5] { if x.Secret == nil { r.EncodeNil() } else { @@ -3200,7 +3310,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secret")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3211,9 +3321,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[6] { + if yyq2[6] { if x.NFS == nil { r.EncodeNil() } else { @@ -3223,7 +3333,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3234,9 +3344,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[7] { + if yyq2[7] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -3246,7 +3356,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3257,9 +3367,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[8] { + if yyq2[8] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -3269,7 +3379,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[8] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3280,9 +3390,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[9] { + if yyq2[9] { if x.PersistentVolumeClaim == nil { r.EncodeNil() } else { @@ -3292,7 +3402,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[9] { + if yyq2[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeClaim")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3303,9 +3413,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[10] { + if yyq2[10] { if x.RBD == nil { r.EncodeNil() } else { @@ -3315,7 +3425,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[10] { + if yyq2[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3326,9 +3436,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[11] { + if yyq2[11] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -3338,7 +3448,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[11] { + if yyq2[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3349,9 +3459,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[12] { + if yyq2[12] { if x.Cinder == nil { r.EncodeNil() } else { @@ -3361,7 +3471,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[12] { + if yyq2[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3372,9 +3482,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[13] { + if yyq2[13] { if x.CephFS == nil { r.EncodeNil() } else { @@ -3384,7 +3494,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[13] { + if yyq2[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3395,9 +3505,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[14] { + if yyq2[14] { if x.Flocker == nil { r.EncodeNil() } else { @@ -3407,7 +3517,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[14] { + if yyq2[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3418,9 +3528,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[15] { + if yyq2[15] { if x.DownwardAPI == nil { r.EncodeNil() } else { @@ -3430,7 +3540,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[15] { + if yyq2[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("downwardAPI")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3441,9 +3551,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[16] { + if yyq2[16] { if x.FC == nil { r.EncodeNil() } else { @@ -3453,7 +3563,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[16] { + if yyq2[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3464,9 +3574,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[17] { + if yyq2[17] { if x.AzureFile == nil { r.EncodeNil() } else { @@ -3476,7 +3586,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[17] { + if yyq2[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("azureFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3487,9 +3597,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[18] { + if yyq2[18] { if x.ConfigMap == nil { r.EncodeNil() } else { @@ -3499,7 +3609,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[18] { + if yyq2[18] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configMap")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3510,9 +3620,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[19] { + if yyq2[19] { if x.VsphereVolume == nil { r.EncodeNil() } else { @@ -3522,7 +3632,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[19] { + if yyq2[19] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("vsphereVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3533,9 +3643,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[20] { + if yyq2[20] { if x.Quobyte == nil { r.EncodeNil() } else { @@ -3545,7 +3655,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[20] { + if yyq2[20] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("quobyte")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3556,9 +3666,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[21] { + if yyq2[21] { if x.AzureDisk == nil { r.EncodeNil() } else { @@ -3568,7 +3678,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[21] { + if yyq2[21] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("azureDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3579,9 +3689,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq181[22] { + if yyq2[22] { if x.PhotonPersistentDisk == nil { r.EncodeNil() } else { @@ -3591,7 +3701,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq181[22] { + if yyq2[22] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("photonPersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3602,7 +3712,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr181 || yy2arr181 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3615,25 +3725,25 @@ func (x *VolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym205 := z.DecBinary() - _ = yym205 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct206 := r.ContainerType() - if yyct206 == codecSelferValueTypeMap1234 { - yyl206 := r.ReadMapStart() - if yyl206 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl206, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct206 == codecSelferValueTypeArray1234 { - yyl206 := r.ReadArrayStart() - if yyl206 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl206, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3645,12 +3755,12 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys207Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys207Slc - var yyhl207 bool = l >= 0 - for yyj207 := 0; ; yyj207++ { - if yyhl207 { - if yyj207 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -3659,10 +3769,10 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys207Slc = r.DecodeBytes(yys207Slc, true, true) - yys207 := string(yys207Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys207 { + switch yys3 { case "hostPath": if r.TryDecodeAsNil() { if x.HostPath != nil { @@ -3917,9 +4027,9 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PhotonPersistentDisk.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys207) - } // end switch yys207 - } // end for yyj207 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3927,16 +4037,16 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj231 int - var yyb231 bool - var yyhl231 bool = l >= 0 - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + var yyj27 int + var yyb27 bool + var yyhl27 bool = l >= 0 + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3951,13 +4061,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HostPath.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3972,13 +4082,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.EmptyDir.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3993,13 +4103,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.GCEPersistentDisk.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4014,13 +4124,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.AWSElasticBlockStore.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4035,13 +4145,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.GitRepo.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4056,13 +4166,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Secret.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4077,13 +4187,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.NFS.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4098,13 +4208,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ISCSI.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4119,13 +4229,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Glusterfs.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4140,13 +4250,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PersistentVolumeClaim.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4161,13 +4271,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RBD.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4182,13 +4292,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FlexVolume.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4203,13 +4313,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Cinder.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4224,13 +4334,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.CephFS.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4245,13 +4355,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Flocker.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4266,13 +4376,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.DownwardAPI.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4287,13 +4397,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FC.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4308,13 +4418,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.AzureFile.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4329,13 +4439,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ConfigMap.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4350,13 +4460,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.VsphereVolume.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4371,13 +4481,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Quobyte.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4392,13 +4502,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.AzureDisk.CodecDecodeSelf(d) } - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4414,17 +4524,17 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PhotonPersistentDisk.CodecDecodeSelf(d) } for { - yyj231++ - if yyhl231 { - yyb231 = yyj231 > l + yyj27++ + if yyhl27 { + yyb27 = yyj27 > l } else { - yyb231 = r.CheckBreak() + yyb27 = r.CheckBreak() } - if yyb231 { + if yyb27 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj231-1, "") + z.DecStructFieldNotFound(yyj27-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4436,34 +4546,34 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym255 := z.EncBinary() - _ = yym255 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep256 := !z.EncBinary() - yy2arr256 := z.EncBasicHandle().StructToArray - var yyq256 [2]bool - _, _, _ = yysep256, yyq256, yy2arr256 - const yyr256 bool = false - yyq256[1] = x.ReadOnly != false - var yynn256 int - if yyr256 || yy2arr256 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.ReadOnly != false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn256 = 1 - for _, b := range yyq256 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn256++ + yynn2++ } } - r.EncodeMapStart(yynn256) - yynn256 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr256 || yy2arr256 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym258 := z.EncBinary() - _ = yym258 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClaimName)) @@ -4472,18 +4582,18 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("claimName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym259 := z.EncBinary() - _ = yym259 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClaimName)) } } - if yyr256 || yy2arr256 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq256[1] { - yym261 := z.EncBinary() - _ = yym261 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -4492,19 +4602,19 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder r.EncodeBool(false) } } else { - if yyq256[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym262 := z.EncBinary() - _ = yym262 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr256 || yy2arr256 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4517,25 +4627,25 @@ func (x *PersistentVolumeClaimVolumeSource) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym263 := z.DecBinary() - _ = yym263 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct264 := r.ContainerType() - if yyct264 == codecSelferValueTypeMap1234 { - yyl264 := r.ReadMapStart() - if yyl264 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl264, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct264 == codecSelferValueTypeArray1234 { - yyl264 := r.ReadArrayStart() - if yyl264 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl264, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4547,12 +4657,12 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys265Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys265Slc - var yyhl265 bool = l >= 0 - for yyj265 := 0; ; yyj265++ { - if yyhl265 { - if yyj265 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -4561,26 +4671,38 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys265Slc = r.DecodeBytes(yys265Slc, true, true) - yys265 := string(yys265Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys265 { + switch yys3 { case "claimName": if r.TryDecodeAsNil() { x.ClaimName = "" } else { - x.ClaimName = string(r.DecodeString()) + yyv4 := &x.ClaimName + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "readOnly": if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv6 := &x.ReadOnly + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*bool)(yyv6)) = r.DecodeBool() + } } default: - z.DecStructFieldNotFound(-1, yys265) - } // end switch yys265 - } // end for yyj265 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4588,16 +4710,16 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj268 int - var yyb268 bool - var yyhl268 bool = l >= 0 - yyj268++ - if yyhl268 { - yyb268 = yyj268 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb268 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb268 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4605,15 +4727,21 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c if r.TryDecodeAsNil() { x.ClaimName = "" } else { - x.ClaimName = string(r.DecodeString()) + yyv9 := &x.ClaimName + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj268++ - if yyhl268 { - yyb268 = yyj268 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb268 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb268 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4621,20 +4749,26 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv11 := &x.ReadOnly + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*bool)(yyv11)) = r.DecodeBool() + } } for { - yyj268++ - if yyhl268 { - yyb268 = yyj268 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb268 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb268 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj268-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4646,49 +4780,49 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym271 := z.EncBinary() - _ = yym271 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep272 := !z.EncBinary() - yy2arr272 := z.EncBasicHandle().StructToArray - var yyq272 [17]bool - _, _, _ = yysep272, yyq272, yy2arr272 - const yyr272 bool = false - yyq272[0] = x.GCEPersistentDisk != nil - yyq272[1] = x.AWSElasticBlockStore != nil - yyq272[2] = x.HostPath != nil - yyq272[3] = x.Glusterfs != nil - yyq272[4] = x.NFS != nil - yyq272[5] = x.RBD != nil - yyq272[6] = x.ISCSI != nil - yyq272[7] = x.Cinder != nil - yyq272[8] = x.CephFS != nil - yyq272[9] = x.FC != nil - yyq272[10] = x.Flocker != nil - yyq272[11] = x.FlexVolume != nil - yyq272[12] = x.AzureFile != nil - yyq272[13] = x.VsphereVolume != nil - yyq272[14] = x.Quobyte != nil - yyq272[15] = x.AzureDisk != nil - yyq272[16] = x.PhotonPersistentDisk != nil - var yynn272 int - if yyr272 || yy2arr272 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [17]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.GCEPersistentDisk != nil + yyq2[1] = x.AWSElasticBlockStore != nil + yyq2[2] = x.HostPath != nil + yyq2[3] = x.Glusterfs != nil + yyq2[4] = x.NFS != nil + yyq2[5] = x.RBD != nil + yyq2[6] = x.ISCSI != nil + yyq2[7] = x.Cinder != nil + yyq2[8] = x.CephFS != nil + yyq2[9] = x.FC != nil + yyq2[10] = x.Flocker != nil + yyq2[11] = x.FlexVolume != nil + yyq2[12] = x.AzureFile != nil + yyq2[13] = x.VsphereVolume != nil + yyq2[14] = x.Quobyte != nil + yyq2[15] = x.AzureDisk != nil + yyq2[16] = x.PhotonPersistentDisk != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(17) } else { - yynn272 = 0 - for _, b := range yyq272 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn272++ + yynn2++ } } - r.EncodeMapStart(yynn272) - yynn272 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[0] { + if yyq2[0] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -4698,7 +4832,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4709,9 +4843,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[1] { + if yyq2[1] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -4721,7 +4855,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4732,9 +4866,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[2] { + if yyq2[2] { if x.HostPath == nil { r.EncodeNil() } else { @@ -4744,7 +4878,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4755,9 +4889,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[3] { + if yyq2[3] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -4767,7 +4901,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4778,9 +4912,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[4] { + if yyq2[4] { if x.NFS == nil { r.EncodeNil() } else { @@ -4790,7 +4924,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4801,9 +4935,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[5] { + if yyq2[5] { if x.RBD == nil { r.EncodeNil() } else { @@ -4813,7 +4947,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4824,9 +4958,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[6] { + if yyq2[6] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -4836,7 +4970,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4847,9 +4981,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[7] { + if yyq2[7] { if x.Cinder == nil { r.EncodeNil() } else { @@ -4859,7 +4993,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4870,9 +5004,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[8] { + if yyq2[8] { if x.CephFS == nil { r.EncodeNil() } else { @@ -4882,7 +5016,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[8] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4893,9 +5027,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[9] { + if yyq2[9] { if x.FC == nil { r.EncodeNil() } else { @@ -4905,7 +5039,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[9] { + if yyq2[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4916,9 +5050,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[10] { + if yyq2[10] { if x.Flocker == nil { r.EncodeNil() } else { @@ -4928,7 +5062,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[10] { + if yyq2[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4939,9 +5073,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[11] { + if yyq2[11] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -4951,7 +5085,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[11] { + if yyq2[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4962,9 +5096,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[12] { + if yyq2[12] { if x.AzureFile == nil { r.EncodeNil() } else { @@ -4974,7 +5108,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[12] { + if yyq2[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("azureFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4985,9 +5119,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[13] { + if yyq2[13] { if x.VsphereVolume == nil { r.EncodeNil() } else { @@ -4997,7 +5131,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[13] { + if yyq2[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("vsphereVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -5008,9 +5142,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[14] { + if yyq2[14] { if x.Quobyte == nil { r.EncodeNil() } else { @@ -5020,7 +5154,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[14] { + if yyq2[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("quobyte")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -5031,9 +5165,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[15] { + if yyq2[15] { if x.AzureDisk == nil { r.EncodeNil() } else { @@ -5043,7 +5177,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[15] { + if yyq2[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("azureDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -5054,9 +5188,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq272[16] { + if yyq2[16] { if x.PhotonPersistentDisk == nil { r.EncodeNil() } else { @@ -5066,7 +5200,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq272[16] { + if yyq2[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("photonPersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -5077,7 +5211,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr272 || yy2arr272 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5090,25 +5224,25 @@ func (x *PersistentVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym290 := z.DecBinary() - _ = yym290 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct291 := r.ContainerType() - if yyct291 == codecSelferValueTypeMap1234 { - yyl291 := r.ReadMapStart() - if yyl291 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl291, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct291 == codecSelferValueTypeArray1234 { - yyl291 := r.ReadArrayStart() - if yyl291 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl291, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5120,12 +5254,12 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys292Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys292Slc - var yyhl292 bool = l >= 0 - for yyj292 := 0; ; yyj292++ { - if yyhl292 { - if yyj292 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -5134,10 +5268,10 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys292Slc = r.DecodeBytes(yys292Slc, true, true) - yys292 := string(yys292Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys292 { + switch yys3 { case "gcePersistentDisk": if r.TryDecodeAsNil() { if x.GCEPersistentDisk != nil { @@ -5326,9 +5460,9 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.PhotonPersistentDisk.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys292) - } // end switch yys292 - } // end for yyj292 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5336,16 +5470,16 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj310 int - var yyb310 bool - var yyhl310 bool = l >= 0 - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + var yyj21 int + var yyb21 bool + var yyhl21 bool = l >= 0 + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5360,13 +5494,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.GCEPersistentDisk.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5381,13 +5515,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.AWSElasticBlockStore.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5402,13 +5536,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.HostPath.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5423,13 +5557,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Glusterfs.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5444,13 +5578,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.NFS.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5465,13 +5599,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.RBD.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5486,13 +5620,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.ISCSI.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5507,13 +5641,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Cinder.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5528,13 +5662,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.CephFS.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5549,13 +5683,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.FC.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5570,13 +5704,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Flocker.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5591,13 +5725,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.FlexVolume.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5612,13 +5746,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.AzureFile.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5633,13 +5767,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.VsphereVolume.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5654,13 +5788,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Quobyte.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5675,13 +5809,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.AzureDisk.CodecDecodeSelf(d) } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5697,17 +5831,17 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De x.PhotonPersistentDisk.CodecDecodeSelf(d) } for { - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb310 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb310 { + if yyb21 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj310-1, "") + z.DecStructFieldNotFound(yyj21-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5719,39 +5853,39 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym328 := z.EncBinary() - _ = yym328 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep329 := !z.EncBinary() - yy2arr329 := z.EncBasicHandle().StructToArray - var yyq329 [5]bool - _, _, _ = yysep329, yyq329, yy2arr329 - const yyr329 bool = false - yyq329[0] = x.Kind != "" - yyq329[1] = x.APIVersion != "" - yyq329[2] = true - yyq329[3] = true - yyq329[4] = true - var yynn329 int - if yyr329 || yy2arr329 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn329 = 0 - for _, b := range yyq329 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn329++ + yynn2++ } } - r.EncodeMapStart(yynn329) - yynn329 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr329 || yy2arr329 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq329[0] { - yym331 := z.EncBinary() - _ = yym331 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -5760,23 +5894,23 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq329[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym332 := z.EncBinary() - _ = yym332 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr329 || yy2arr329 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq329[1] { - yym334 := z.EncBinary() - _ = yym334 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -5785,70 +5919,70 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq329[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym335 := z.EncBinary() - _ = yym335 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr329 || yy2arr329 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq329[2] { - yy337 := &x.ObjectMeta - yy337.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq329[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy338 := &x.ObjectMeta - yy338.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr329 || yy2arr329 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq329[3] { - yy340 := &x.Spec - yy340.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq329[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy341 := &x.Spec - yy341.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr329 || yy2arr329 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq329[4] { - yy343 := &x.Status - yy343.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq329[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy344 := &x.Status - yy344.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr329 || yy2arr329 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5861,25 +5995,25 @@ func (x *PersistentVolume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym345 := z.DecBinary() - _ = yym345 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct346 := r.ContainerType() - if yyct346 == codecSelferValueTypeMap1234 { - yyl346 := r.ReadMapStart() - if yyl346 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl346, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct346 == codecSelferValueTypeArray1234 { - yyl346 := r.ReadArrayStart() - if yyl346 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl346, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5891,12 +6025,12 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys347Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys347Slc - var yyhl347 bool = l >= 0 - for yyj347 := 0; ; yyj347++ { - if yyhl347 { - if yyj347 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -5905,47 +6039,59 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys347Slc = r.DecodeBytes(yys347Slc, true, true) - yys347 := string(yys347Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys347 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv350 := &x.ObjectMeta - yyv350.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PersistentVolumeSpec{} } else { - yyv351 := &x.Spec - yyv351.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PersistentVolumeStatus{} } else { - yyv352 := &x.Status - yyv352.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys347) - } // end switch yys347 - } // end for yyj347 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5953,16 +6099,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj353 int - var yyb353 bool - var yyhl353 bool = l >= 0 - yyj353++ - if yyhl353 { - yyb353 = yyj353 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb353 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb353 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5970,15 +6116,21 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj353++ - if yyhl353 { - yyb353 = yyj353 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb353 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb353 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5986,15 +6138,21 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj353++ - if yyhl353 { - yyb353 = yyj353 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb353 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb353 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6002,16 +6160,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv356 := &x.ObjectMeta - yyv356.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj353++ - if yyhl353 { - yyb353 = yyj353 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb353 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb353 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6019,16 +6177,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = PersistentVolumeSpec{} } else { - yyv357 := &x.Spec - yyv357.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj353++ - if yyhl353 { - yyb353 = yyj353 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb353 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb353 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6036,21 +6194,21 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Status = PersistentVolumeStatus{} } else { - yyv358 := &x.Status - yyv358.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj353++ - if yyhl353 { - yyb353 = yyj353 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb353 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb353 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj353-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6062,53 +6220,53 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym359 := z.EncBinary() - _ = yym359 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep360 := !z.EncBinary() - yy2arr360 := z.EncBasicHandle().StructToArray - var yyq360 [21]bool - _, _, _ = yysep360, yyq360, yy2arr360 - const yyr360 bool = false - yyq360[0] = len(x.Capacity) != 0 - yyq360[1] = x.PersistentVolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil - yyq360[2] = x.PersistentVolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil - yyq360[3] = x.PersistentVolumeSource.HostPath != nil && x.HostPath != nil - yyq360[4] = x.PersistentVolumeSource.Glusterfs != nil && x.Glusterfs != nil - yyq360[5] = x.PersistentVolumeSource.NFS != nil && x.NFS != nil - yyq360[6] = x.PersistentVolumeSource.RBD != nil && x.RBD != nil - yyq360[7] = x.PersistentVolumeSource.ISCSI != nil && x.ISCSI != nil - yyq360[8] = x.PersistentVolumeSource.Cinder != nil && x.Cinder != nil - yyq360[9] = x.PersistentVolumeSource.CephFS != nil && x.CephFS != nil - yyq360[10] = x.PersistentVolumeSource.FC != nil && x.FC != nil - yyq360[11] = x.PersistentVolumeSource.Flocker != nil && x.Flocker != nil - yyq360[12] = x.PersistentVolumeSource.FlexVolume != nil && x.FlexVolume != nil - yyq360[13] = x.PersistentVolumeSource.AzureFile != nil && x.AzureFile != nil - yyq360[14] = x.PersistentVolumeSource.VsphereVolume != nil && x.VsphereVolume != nil - yyq360[15] = x.PersistentVolumeSource.Quobyte != nil && x.Quobyte != nil - yyq360[16] = x.PersistentVolumeSource.AzureDisk != nil && x.AzureDisk != nil - yyq360[17] = x.PersistentVolumeSource.PhotonPersistentDisk != nil && x.PhotonPersistentDisk != nil - yyq360[18] = len(x.AccessModes) != 0 - yyq360[19] = x.ClaimRef != nil - yyq360[20] = x.PersistentVolumeReclaimPolicy != "" - var yynn360 int - if yyr360 || yy2arr360 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [21]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Capacity) != 0 + yyq2[1] = x.PersistentVolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil + yyq2[2] = x.PersistentVolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil + yyq2[3] = x.PersistentVolumeSource.HostPath != nil && x.HostPath != nil + yyq2[4] = x.PersistentVolumeSource.Glusterfs != nil && x.Glusterfs != nil + yyq2[5] = x.PersistentVolumeSource.NFS != nil && x.NFS != nil + yyq2[6] = x.PersistentVolumeSource.RBD != nil && x.RBD != nil + yyq2[7] = x.PersistentVolumeSource.ISCSI != nil && x.ISCSI != nil + yyq2[8] = x.PersistentVolumeSource.Cinder != nil && x.Cinder != nil + yyq2[9] = x.PersistentVolumeSource.CephFS != nil && x.CephFS != nil + yyq2[10] = x.PersistentVolumeSource.FC != nil && x.FC != nil + yyq2[11] = x.PersistentVolumeSource.Flocker != nil && x.Flocker != nil + yyq2[12] = x.PersistentVolumeSource.FlexVolume != nil && x.FlexVolume != nil + yyq2[13] = x.PersistentVolumeSource.AzureFile != nil && x.AzureFile != nil + yyq2[14] = x.PersistentVolumeSource.VsphereVolume != nil && x.VsphereVolume != nil + yyq2[15] = x.PersistentVolumeSource.Quobyte != nil && x.Quobyte != nil + yyq2[16] = x.PersistentVolumeSource.AzureDisk != nil && x.AzureDisk != nil + yyq2[17] = x.PersistentVolumeSource.PhotonPersistentDisk != nil && x.PhotonPersistentDisk != nil + yyq2[18] = len(x.AccessModes) != 0 + yyq2[19] = x.ClaimRef != nil + yyq2[20] = x.PersistentVolumeReclaimPolicy != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(21) } else { - yynn360 = 0 - for _, b := range yyq360 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn360++ + yynn2++ } } - r.EncodeMapStart(yynn360) - yynn360 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr360 || yy2arr360 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[0] { + if yyq2[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -6118,7 +6276,7 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq360[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -6129,18 +6287,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn362 bool + var yyn6 bool if x.PersistentVolumeSource.GCEPersistentDisk == nil { - yyn362 = true - goto LABEL362 + yyn6 = true + goto LABEL6 } - LABEL362: - if yyr360 || yy2arr360 { - if yyn362 { + LABEL6: + if yyr2 || yy2arr2 { + if yyn6 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[1] { + if yyq2[1] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -6151,11 +6309,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn362 { + if yyn6 { r.EncodeNil() } else { if x.GCEPersistentDisk == nil { @@ -6166,18 +6324,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn363 bool + var yyn9 bool if x.PersistentVolumeSource.AWSElasticBlockStore == nil { - yyn363 = true - goto LABEL363 + yyn9 = true + goto LABEL9 } - LABEL363: - if yyr360 || yy2arr360 { - if yyn363 { + LABEL9: + if yyr2 || yy2arr2 { + if yyn9 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[2] { + if yyq2[2] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -6188,11 +6346,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn363 { + if yyn9 { r.EncodeNil() } else { if x.AWSElasticBlockStore == nil { @@ -6203,18 +6361,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn364 bool + var yyn12 bool if x.PersistentVolumeSource.HostPath == nil { - yyn364 = true - goto LABEL364 + yyn12 = true + goto LABEL12 } - LABEL364: - if yyr360 || yy2arr360 { - if yyn364 { + LABEL12: + if yyr2 || yy2arr2 { + if yyn12 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[3] { + if yyq2[3] { if x.HostPath == nil { r.EncodeNil() } else { @@ -6225,11 +6383,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn364 { + if yyn12 { r.EncodeNil() } else { if x.HostPath == nil { @@ -6240,18 +6398,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn365 bool + var yyn15 bool if x.PersistentVolumeSource.Glusterfs == nil { - yyn365 = true - goto LABEL365 + yyn15 = true + goto LABEL15 } - LABEL365: - if yyr360 || yy2arr360 { - if yyn365 { + LABEL15: + if yyr2 || yy2arr2 { + if yyn15 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[4] { + if yyq2[4] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -6262,11 +6420,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn365 { + if yyn15 { r.EncodeNil() } else { if x.Glusterfs == nil { @@ -6277,18 +6435,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn366 bool + var yyn18 bool if x.PersistentVolumeSource.NFS == nil { - yyn366 = true - goto LABEL366 + yyn18 = true + goto LABEL18 } - LABEL366: - if yyr360 || yy2arr360 { - if yyn366 { + LABEL18: + if yyr2 || yy2arr2 { + if yyn18 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[5] { + if yyq2[5] { if x.NFS == nil { r.EncodeNil() } else { @@ -6299,11 +6457,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn366 { + if yyn18 { r.EncodeNil() } else { if x.NFS == nil { @@ -6314,18 +6472,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn367 bool + var yyn21 bool if x.PersistentVolumeSource.RBD == nil { - yyn367 = true - goto LABEL367 + yyn21 = true + goto LABEL21 } - LABEL367: - if yyr360 || yy2arr360 { - if yyn367 { + LABEL21: + if yyr2 || yy2arr2 { + if yyn21 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[6] { + if yyq2[6] { if x.RBD == nil { r.EncodeNil() } else { @@ -6336,11 +6494,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn367 { + if yyn21 { r.EncodeNil() } else { if x.RBD == nil { @@ -6351,18 +6509,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn368 bool + var yyn24 bool if x.PersistentVolumeSource.ISCSI == nil { - yyn368 = true - goto LABEL368 + yyn24 = true + goto LABEL24 } - LABEL368: - if yyr360 || yy2arr360 { - if yyn368 { + LABEL24: + if yyr2 || yy2arr2 { + if yyn24 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[7] { + if yyq2[7] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -6373,11 +6531,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn368 { + if yyn24 { r.EncodeNil() } else { if x.ISCSI == nil { @@ -6388,18 +6546,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn369 bool + var yyn27 bool if x.PersistentVolumeSource.Cinder == nil { - yyn369 = true - goto LABEL369 + yyn27 = true + goto LABEL27 } - LABEL369: - if yyr360 || yy2arr360 { - if yyn369 { + LABEL27: + if yyr2 || yy2arr2 { + if yyn27 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[8] { + if yyq2[8] { if x.Cinder == nil { r.EncodeNil() } else { @@ -6410,11 +6568,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[8] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn369 { + if yyn27 { r.EncodeNil() } else { if x.Cinder == nil { @@ -6425,18 +6583,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn370 bool + var yyn30 bool if x.PersistentVolumeSource.CephFS == nil { - yyn370 = true - goto LABEL370 + yyn30 = true + goto LABEL30 } - LABEL370: - if yyr360 || yy2arr360 { - if yyn370 { + LABEL30: + if yyr2 || yy2arr2 { + if yyn30 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[9] { + if yyq2[9] { if x.CephFS == nil { r.EncodeNil() } else { @@ -6447,11 +6605,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[9] { + if yyq2[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn370 { + if yyn30 { r.EncodeNil() } else { if x.CephFS == nil { @@ -6462,18 +6620,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn371 bool + var yyn33 bool if x.PersistentVolumeSource.FC == nil { - yyn371 = true - goto LABEL371 + yyn33 = true + goto LABEL33 } - LABEL371: - if yyr360 || yy2arr360 { - if yyn371 { + LABEL33: + if yyr2 || yy2arr2 { + if yyn33 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[10] { + if yyq2[10] { if x.FC == nil { r.EncodeNil() } else { @@ -6484,11 +6642,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[10] { + if yyq2[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn371 { + if yyn33 { r.EncodeNil() } else { if x.FC == nil { @@ -6499,18 +6657,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn372 bool + var yyn36 bool if x.PersistentVolumeSource.Flocker == nil { - yyn372 = true - goto LABEL372 + yyn36 = true + goto LABEL36 } - LABEL372: - if yyr360 || yy2arr360 { - if yyn372 { + LABEL36: + if yyr2 || yy2arr2 { + if yyn36 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[11] { + if yyq2[11] { if x.Flocker == nil { r.EncodeNil() } else { @@ -6521,11 +6679,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[11] { + if yyq2[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn372 { + if yyn36 { r.EncodeNil() } else { if x.Flocker == nil { @@ -6536,18 +6694,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn373 bool + var yyn39 bool if x.PersistentVolumeSource.FlexVolume == nil { - yyn373 = true - goto LABEL373 + yyn39 = true + goto LABEL39 } - LABEL373: - if yyr360 || yy2arr360 { - if yyn373 { + LABEL39: + if yyr2 || yy2arr2 { + if yyn39 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[12] { + if yyq2[12] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -6558,11 +6716,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[12] { + if yyq2[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn373 { + if yyn39 { r.EncodeNil() } else { if x.FlexVolume == nil { @@ -6573,18 +6731,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn374 bool + var yyn42 bool if x.PersistentVolumeSource.AzureFile == nil { - yyn374 = true - goto LABEL374 + yyn42 = true + goto LABEL42 } - LABEL374: - if yyr360 || yy2arr360 { - if yyn374 { + LABEL42: + if yyr2 || yy2arr2 { + if yyn42 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[13] { + if yyq2[13] { if x.AzureFile == nil { r.EncodeNil() } else { @@ -6595,11 +6753,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[13] { + if yyq2[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("azureFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn374 { + if yyn42 { r.EncodeNil() } else { if x.AzureFile == nil { @@ -6610,18 +6768,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn375 bool + var yyn45 bool if x.PersistentVolumeSource.VsphereVolume == nil { - yyn375 = true - goto LABEL375 + yyn45 = true + goto LABEL45 } - LABEL375: - if yyr360 || yy2arr360 { - if yyn375 { + LABEL45: + if yyr2 || yy2arr2 { + if yyn45 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[14] { + if yyq2[14] { if x.VsphereVolume == nil { r.EncodeNil() } else { @@ -6632,11 +6790,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[14] { + if yyq2[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("vsphereVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn375 { + if yyn45 { r.EncodeNil() } else { if x.VsphereVolume == nil { @@ -6647,18 +6805,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn376 bool + var yyn48 bool if x.PersistentVolumeSource.Quobyte == nil { - yyn376 = true - goto LABEL376 + yyn48 = true + goto LABEL48 } - LABEL376: - if yyr360 || yy2arr360 { - if yyn376 { + LABEL48: + if yyr2 || yy2arr2 { + if yyn48 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[15] { + if yyq2[15] { if x.Quobyte == nil { r.EncodeNil() } else { @@ -6669,11 +6827,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[15] { + if yyq2[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("quobyte")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn376 { + if yyn48 { r.EncodeNil() } else { if x.Quobyte == nil { @@ -6684,18 +6842,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn377 bool + var yyn51 bool if x.PersistentVolumeSource.AzureDisk == nil { - yyn377 = true - goto LABEL377 + yyn51 = true + goto LABEL51 } - LABEL377: - if yyr360 || yy2arr360 { - if yyn377 { + LABEL51: + if yyr2 || yy2arr2 { + if yyn51 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[16] { + if yyq2[16] { if x.AzureDisk == nil { r.EncodeNil() } else { @@ -6706,11 +6864,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[16] { + if yyq2[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("azureDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn377 { + if yyn51 { r.EncodeNil() } else { if x.AzureDisk == nil { @@ -6721,18 +6879,18 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn378 bool + var yyn54 bool if x.PersistentVolumeSource.PhotonPersistentDisk == nil { - yyn378 = true - goto LABEL378 + yyn54 = true + goto LABEL54 } - LABEL378: - if yyr360 || yy2arr360 { - if yyn378 { + LABEL54: + if yyr2 || yy2arr2 { + if yyn54 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[17] { + if yyq2[17] { if x.PhotonPersistentDisk == nil { r.EncodeNil() } else { @@ -6743,11 +6901,11 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq360[17] { + if yyq2[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("photonPersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn378 { + if yyn54 { r.EncodeNil() } else { if x.PhotonPersistentDisk == nil { @@ -6758,14 +6916,14 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr360 || yy2arr360 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[18] { + if yyq2[18] { if x.AccessModes == nil { r.EncodeNil() } else { - yym380 := z.EncBinary() - _ = yym380 + yym58 := z.EncBinary() + _ = yym58 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -6775,15 +6933,15 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq360[18] { + if yyq2[18] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym381 := z.EncBinary() - _ = yym381 + yym59 := z.EncBinary() + _ = yym59 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -6791,9 +6949,9 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr360 || yy2arr360 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[19] { + if yyq2[19] { if x.ClaimRef == nil { r.EncodeNil() } else { @@ -6803,7 +6961,7 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq360[19] { + if yyq2[19] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("claimRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -6814,22 +6972,22 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr360 || yy2arr360 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq360[20] { + if yyq2[20] { x.PersistentVolumeReclaimPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq360[20] { + if yyq2[20] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeReclaimPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.PersistentVolumeReclaimPolicy.CodecEncodeSelf(e) } } - if yyr360 || yy2arr360 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6842,25 +7000,25 @@ func (x *PersistentVolumeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym384 := z.DecBinary() - _ = yym384 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct385 := r.ContainerType() - if yyct385 == codecSelferValueTypeMap1234 { - yyl385 := r.ReadMapStart() - if yyl385 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl385, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct385 == codecSelferValueTypeArray1234 { - yyl385 := r.ReadArrayStart() - if yyl385 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl385, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6872,12 +7030,12 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys386Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys386Slc - var yyhl386 bool = l >= 0 - for yyj386 := 0; ; yyj386++ { - if yyhl386 { - if yyj386 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -6886,16 +7044,16 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys386Slc = r.DecodeBytes(yys386Slc, true, true) - yys386 := string(yys386Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys386 { + switch yys3 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv387 := &x.Capacity - yyv387.CodecDecodeSelf(d) + yyv4 := &x.Capacity + yyv4.CodecDecodeSelf(d) } case "gcePersistentDisk": if x.PersistentVolumeSource.GCEPersistentDisk == nil { @@ -7139,12 +7297,12 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv405 := &x.AccessModes - yym406 := z.DecBinary() - _ = yym406 + yyv22 := &x.AccessModes + yym23 := z.DecBinary() + _ = yym23 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv405), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv22), d) } } case "claimRef": @@ -7162,12 +7320,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.PersistentVolumeReclaimPolicy = "" } else { - x.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(r.DecodeString()) + yyv25 := &x.PersistentVolumeReclaimPolicy + yyv25.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys386) - } // end switch yys386 - } // end for yyj386 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7175,16 +7334,16 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj409 int - var yyb409 bool - var yyhl409 bool = l >= 0 - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + var yyj26 int + var yyb26 bool + var yyhl26 bool = l >= 0 + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7192,19 +7351,19 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv410 := &x.Capacity - yyv410.CodecDecodeSelf(d) + yyv27 := &x.Capacity + yyv27.CodecDecodeSelf(d) } if x.PersistentVolumeSource.GCEPersistentDisk == nil { x.PersistentVolumeSource.GCEPersistentDisk = new(GCEPersistentDiskVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7222,13 +7381,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.AWSElasticBlockStore == nil { x.PersistentVolumeSource.AWSElasticBlockStore = new(AWSElasticBlockStoreVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7246,13 +7405,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.HostPath == nil { x.PersistentVolumeSource.HostPath = new(HostPathVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7270,13 +7429,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Glusterfs == nil { x.PersistentVolumeSource.Glusterfs = new(GlusterfsVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7294,13 +7453,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.NFS == nil { x.PersistentVolumeSource.NFS = new(NFSVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7318,13 +7477,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.RBD == nil { x.PersistentVolumeSource.RBD = new(RBDVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7342,13 +7501,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.ISCSI == nil { x.PersistentVolumeSource.ISCSI = new(ISCSIVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7366,13 +7525,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Cinder == nil { x.PersistentVolumeSource.Cinder = new(CinderVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7390,13 +7549,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.CephFS == nil { x.PersistentVolumeSource.CephFS = new(CephFSVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7414,13 +7573,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.FC == nil { x.PersistentVolumeSource.FC = new(FCVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7438,13 +7597,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Flocker == nil { x.PersistentVolumeSource.Flocker = new(FlockerVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7462,13 +7621,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.FlexVolume == nil { x.PersistentVolumeSource.FlexVolume = new(FlexVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7486,13 +7645,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.AzureFile == nil { x.PersistentVolumeSource.AzureFile = new(AzureFileVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7510,13 +7669,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.VsphereVolume == nil { x.PersistentVolumeSource.VsphereVolume = new(VsphereVirtualDiskVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7534,13 +7693,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Quobyte == nil { x.PersistentVolumeSource.Quobyte = new(QuobyteVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7558,13 +7717,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.AzureDisk == nil { x.PersistentVolumeSource.AzureDisk = new(AzureDiskVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7582,13 +7741,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.PhotonPersistentDisk == nil { x.PersistentVolumeSource.PhotonPersistentDisk = new(PhotonPersistentDiskVolumeSource) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7603,13 +7762,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco } x.PhotonPersistentDisk.CodecDecodeSelf(d) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7617,21 +7776,21 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv428 := &x.AccessModes - yym429 := z.DecBinary() - _ = yym429 + yyv45 := &x.AccessModes + yym46 := z.DecBinary() + _ = yym46 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv428), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv45), d) } } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7646,13 +7805,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco } x.ClaimRef.CodecDecodeSelf(d) } - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7660,20 +7819,21 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.PersistentVolumeReclaimPolicy = "" } else { - x.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(r.DecodeString()) + yyv48 := &x.PersistentVolumeReclaimPolicy + yyv48.CodecDecodeSelf(d) } for { - yyj409++ - if yyhl409 { - yyb409 = yyj409 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb409 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb409 { + if yyb26 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj409-1, "") + z.DecStructFieldNotFound(yyj26-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7682,8 +7842,8 @@ func (x PersistentVolumeReclaimPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym432 := z.EncBinary() - _ = yym432 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -7695,8 +7855,8 @@ func (x *PersistentVolumeReclaimPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym433 := z.DecBinary() - _ = yym433 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -7711,52 +7871,52 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym434 := z.EncBinary() - _ = yym434 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep435 := !z.EncBinary() - yy2arr435 := z.EncBasicHandle().StructToArray - var yyq435 [3]bool - _, _, _ = yysep435, yyq435, yy2arr435 - const yyr435 bool = false - yyq435[0] = x.Phase != "" - yyq435[1] = x.Message != "" - yyq435[2] = x.Reason != "" - var yynn435 int - if yyr435 || yy2arr435 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Phase != "" + yyq2[1] = x.Message != "" + yyq2[2] = x.Reason != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn435 = 0 - for _, b := range yyq435 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn435++ + yynn2++ } } - r.EncodeMapStart(yynn435) - yynn435 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr435 || yy2arr435 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq435[0] { + if yyq2[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq435[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr435 || yy2arr435 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq435[1] { - yym438 := z.EncBinary() - _ = yym438 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -7765,23 +7925,23 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq435[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym439 := z.EncBinary() - _ = yym439 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr435 || yy2arr435 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq435[2] { - yym441 := z.EncBinary() - _ = yym441 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -7790,19 +7950,19 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq435[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym442 := z.EncBinary() - _ = yym442 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr435 || yy2arr435 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7815,25 +7975,25 @@ func (x *PersistentVolumeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym443 := z.DecBinary() - _ = yym443 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct444 := r.ContainerType() - if yyct444 == codecSelferValueTypeMap1234 { - yyl444 := r.ReadMapStart() - if yyl444 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl444, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct444 == codecSelferValueTypeArray1234 { - yyl444 := r.ReadArrayStart() - if yyl444 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl444, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7845,12 +8005,12 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys445Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys445Slc - var yyhl445 bool = l >= 0 - for yyj445 := 0; ; yyj445++ { - if yyhl445 { - if yyj445 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -7859,32 +8019,45 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys445Slc = r.DecodeBytes(yys445Slc, true, true) - yys445 := string(yys445Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys445 { + switch yys3 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" } else { - x.Phase = PersistentVolumePhase(r.DecodeString()) + yyv4 := &x.Phase + yyv4.CodecDecodeSelf(d) } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv5 := &x.Message + yym6 := z.DecBinary() + _ = yym6 + if false { + } else { + *((*string)(yyv5)) = r.DecodeString() + } } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv7 := &x.Reason + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*string)(yyv7)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys445) - } // end switch yys445 - } // end for yyj445 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7892,16 +8065,16 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj449 int - var yyb449 bool - var yyhl449 bool = l >= 0 - yyj449++ - if yyhl449 { - yyb449 = yyj449 > l + var yyj9 int + var yyb9 bool + var yyhl9 bool = l >= 0 + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb449 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb449 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7909,15 +8082,16 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Phase = "" } else { - x.Phase = PersistentVolumePhase(r.DecodeString()) + yyv10 := &x.Phase + yyv10.CodecDecodeSelf(d) } - yyj449++ - if yyhl449 { - yyb449 = yyj449 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb449 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb449 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7925,15 +8099,21 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv11 := &x.Message + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj449++ - if yyhl449 { - yyb449 = yyj449 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb449 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb449 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7941,20 +8121,26 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv13 := &x.Reason + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } for { - yyj449++ - if yyhl449 { - yyb449 = yyj449 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb449 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb449 { + if yyb9 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj449-1, "") + z.DecStructFieldNotFound(yyj9-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7966,37 +8152,37 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym453 := z.EncBinary() - _ = yym453 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep454 := !z.EncBinary() - yy2arr454 := z.EncBasicHandle().StructToArray - var yyq454 [4]bool - _, _, _ = yysep454, yyq454, yy2arr454 - const yyr454 bool = false - yyq454[0] = x.Kind != "" - yyq454[1] = x.APIVersion != "" - yyq454[2] = true - var yynn454 int - if yyr454 || yy2arr454 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn454 = 1 - for _, b := range yyq454 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn454++ + yynn2++ } } - r.EncodeMapStart(yynn454) - yynn454 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr454 || yy2arr454 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq454[0] { - yym456 := z.EncBinary() - _ = yym456 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8005,23 +8191,23 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq454[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym457 := z.EncBinary() - _ = yym457 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr454 || yy2arr454 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq454[1] { - yym459 := z.EncBinary() - _ = yym459 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8030,54 +8216,54 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq454[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym460 := z.EncBinary() - _ = yym460 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr454 || yy2arr454 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq454[2] { - yy462 := &x.ListMeta - yym463 := z.EncBinary() - _ = yym463 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy462) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy462) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq454[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy464 := &x.ListMeta - yym465 := z.EncBinary() - _ = yym465 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy464) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy464) + z.EncFallback(yy12) } } } - if yyr454 || yy2arr454 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym467 := z.EncBinary() - _ = yym467 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSlicePersistentVolume(([]PersistentVolume)(x.Items), e) @@ -8090,15 +8276,15 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym468 := z.EncBinary() - _ = yym468 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSlicePersistentVolume(([]PersistentVolume)(x.Items), e) } } } - if yyr454 || yy2arr454 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8111,25 +8297,25 @@ func (x *PersistentVolumeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym469 := z.DecBinary() - _ = yym469 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct470 := r.ContainerType() - if yyct470 == codecSelferValueTypeMap1234 { - yyl470 := r.ReadMapStart() - if yyl470 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl470, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct470 == codecSelferValueTypeArray1234 { - yyl470 := r.ReadArrayStart() - if yyl470 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl470, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8141,12 +8327,12 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys471Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys471Slc - var yyhl471 bool = l >= 0 - for yyj471 := 0; ; yyj471++ { - if yyhl471 { - if yyj471 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -8155,51 +8341,63 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys471Slc = r.DecodeBytes(yys471Slc, true, true) - yys471 := string(yys471Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys471 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv474 := &x.ListMeta - yym475 := z.DecBinary() - _ = yym475 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv474) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv474, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv476 := &x.Items - yym477 := z.DecBinary() - _ = yym477 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSlicePersistentVolume((*[]PersistentVolume)(yyv476), d) + h.decSlicePersistentVolume((*[]PersistentVolume)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys471) - } // end switch yys471 - } // end for yyj471 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8207,16 +8405,16 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj478 int - var yyb478 bool - var yyhl478 bool = l >= 0 - yyj478++ - if yyhl478 { - yyb478 = yyj478 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb478 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb478 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8224,15 +8422,21 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj478++ - if yyhl478 { - yyb478 = yyj478 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb478 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb478 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8240,15 +8444,21 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj478++ - if yyhl478 { - yyb478 = yyj478 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb478 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb478 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8256,22 +8466,22 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv481 := &x.ListMeta - yym482 := z.DecBinary() - _ = yym482 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv481) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv481, false) + z.DecFallback(yyv17, false) } } - yyj478++ - if yyhl478 { - yyb478 = yyj478 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb478 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb478 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8279,26 +8489,26 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Items = nil } else { - yyv483 := &x.Items - yym484 := z.DecBinary() - _ = yym484 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSlicePersistentVolume((*[]PersistentVolume)(yyv483), d) + h.decSlicePersistentVolume((*[]PersistentVolume)(yyv19), d) } } for { - yyj478++ - if yyhl478 { - yyb478 = yyj478 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb478 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb478 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj478-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8310,39 +8520,39 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym485 := z.EncBinary() - _ = yym485 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep486 := !z.EncBinary() - yy2arr486 := z.EncBasicHandle().StructToArray - var yyq486 [5]bool - _, _, _ = yysep486, yyq486, yy2arr486 - const yyr486 bool = false - yyq486[0] = x.Kind != "" - yyq486[1] = x.APIVersion != "" - yyq486[2] = true - yyq486[3] = true - yyq486[4] = true - var yynn486 int - if yyr486 || yy2arr486 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn486 = 0 - for _, b := range yyq486 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn486++ + yynn2++ } } - r.EncodeMapStart(yynn486) - yynn486 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr486 || yy2arr486 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq486[0] { - yym488 := z.EncBinary() - _ = yym488 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8351,23 +8561,23 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq486[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym489 := z.EncBinary() - _ = yym489 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr486 || yy2arr486 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq486[1] { - yym491 := z.EncBinary() - _ = yym491 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8376,70 +8586,70 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq486[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym492 := z.EncBinary() - _ = yym492 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr486 || yy2arr486 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq486[2] { - yy494 := &x.ObjectMeta - yy494.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq486[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy495 := &x.ObjectMeta - yy495.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr486 || yy2arr486 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq486[3] { - yy497 := &x.Spec - yy497.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq486[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy498 := &x.Spec - yy498.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr486 || yy2arr486 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq486[4] { - yy500 := &x.Status - yy500.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq486[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy501 := &x.Status - yy501.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr486 || yy2arr486 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8452,25 +8662,25 @@ func (x *PersistentVolumeClaim) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym502 := z.DecBinary() - _ = yym502 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct503 := r.ContainerType() - if yyct503 == codecSelferValueTypeMap1234 { - yyl503 := r.ReadMapStart() - if yyl503 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl503, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct503 == codecSelferValueTypeArray1234 { - yyl503 := r.ReadArrayStart() - if yyl503 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl503, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8482,12 +8692,12 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys504Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys504Slc - var yyhl504 bool = l >= 0 - for yyj504 := 0; ; yyj504++ { - if yyhl504 { - if yyj504 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -8496,47 +8706,59 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys504Slc = r.DecodeBytes(yys504Slc, true, true) - yys504 := string(yys504Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys504 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv507 := &x.ObjectMeta - yyv507.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PersistentVolumeClaimSpec{} } else { - yyv508 := &x.Spec - yyv508.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PersistentVolumeClaimStatus{} } else { - yyv509 := &x.Status - yyv509.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys504) - } // end switch yys504 - } // end for yyj504 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8544,16 +8766,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj510 int - var yyb510 bool - var yyhl510 bool = l >= 0 - yyj510++ - if yyhl510 { - yyb510 = yyj510 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb510 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb510 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8561,15 +8783,21 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj510++ - if yyhl510 { - yyb510 = yyj510 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb510 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb510 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8577,15 +8805,21 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj510++ - if yyhl510 { - yyb510 = yyj510 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb510 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb510 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8593,16 +8827,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv513 := &x.ObjectMeta - yyv513.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj510++ - if yyhl510 { - yyb510 = yyj510 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb510 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb510 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8610,16 +8844,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Spec = PersistentVolumeClaimSpec{} } else { - yyv514 := &x.Spec - yyv514.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj510++ - if yyhl510 { - yyb510 = yyj510 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb510 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb510 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8627,21 +8861,21 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Status = PersistentVolumeClaimStatus{} } else { - yyv515 := &x.Status - yyv515.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj510++ - if yyhl510 { - yyb510 = yyj510 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb510 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb510 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj510-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8653,37 +8887,37 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym516 := z.EncBinary() - _ = yym516 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep517 := !z.EncBinary() - yy2arr517 := z.EncBasicHandle().StructToArray - var yyq517 [4]bool - _, _, _ = yysep517, yyq517, yy2arr517 - const yyr517 bool = false - yyq517[0] = x.Kind != "" - yyq517[1] = x.APIVersion != "" - yyq517[2] = true - var yynn517 int - if yyr517 || yy2arr517 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn517 = 1 - for _, b := range yyq517 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn517++ + yynn2++ } } - r.EncodeMapStart(yynn517) - yynn517 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr517 || yy2arr517 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq517[0] { - yym519 := z.EncBinary() - _ = yym519 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8692,23 +8926,23 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq517[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym520 := z.EncBinary() - _ = yym520 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr517 || yy2arr517 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq517[1] { - yym522 := z.EncBinary() - _ = yym522 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8717,54 +8951,54 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq517[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym523 := z.EncBinary() - _ = yym523 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr517 || yy2arr517 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq517[2] { - yy525 := &x.ListMeta - yym526 := z.EncBinary() - _ = yym526 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy525) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy525) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq517[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy527 := &x.ListMeta - yym528 := z.EncBinary() - _ = yym528 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy527) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy527) + z.EncFallback(yy12) } } } - if yyr517 || yy2arr517 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym530 := z.EncBinary() - _ = yym530 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSlicePersistentVolumeClaim(([]PersistentVolumeClaim)(x.Items), e) @@ -8777,15 +9011,15 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym531 := z.EncBinary() - _ = yym531 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSlicePersistentVolumeClaim(([]PersistentVolumeClaim)(x.Items), e) } } } - if yyr517 || yy2arr517 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8798,25 +9032,25 @@ func (x *PersistentVolumeClaimList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym532 := z.DecBinary() - _ = yym532 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct533 := r.ContainerType() - if yyct533 == codecSelferValueTypeMap1234 { - yyl533 := r.ReadMapStart() - if yyl533 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl533, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct533 == codecSelferValueTypeArray1234 { - yyl533 := r.ReadArrayStart() - if yyl533 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl533, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8828,12 +9062,12 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys534Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys534Slc - var yyhl534 bool = l >= 0 - for yyj534 := 0; ; yyj534++ { - if yyhl534 { - if yyj534 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -8842,51 +9076,63 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys534Slc = r.DecodeBytes(yys534Slc, true, true) - yys534 := string(yys534Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys534 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv537 := &x.ListMeta - yym538 := z.DecBinary() - _ = yym538 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv537) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv537, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv539 := &x.Items - yym540 := z.DecBinary() - _ = yym540 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv539), d) + h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys534) - } // end switch yys534 - } // end for yyj534 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8894,16 +9140,16 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj541 int - var yyb541 bool - var yyhl541 bool = l >= 0 - yyj541++ - if yyhl541 { - yyb541 = yyj541 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb541 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb541 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8911,15 +9157,21 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj541++ - if yyhl541 { - yyb541 = yyj541 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb541 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb541 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8927,15 +9179,21 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj541++ - if yyhl541 { - yyb541 = yyj541 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb541 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb541 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8943,22 +9201,22 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv544 := &x.ListMeta - yym545 := z.DecBinary() - _ = yym545 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv544) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv544, false) + z.DecFallback(yyv17, false) } } - yyj541++ - if yyhl541 { - yyb541 = yyj541 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb541 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb541 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8966,26 +9224,26 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv546 := &x.Items - yym547 := z.DecBinary() - _ = yym547 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv546), d) + h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv19), d) } } for { - yyj541++ - if yyhl541 { - yyb541 = yyj541 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb541 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb541 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj541-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8997,41 +9255,41 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym548 := z.EncBinary() - _ = yym548 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep549 := !z.EncBinary() - yy2arr549 := z.EncBasicHandle().StructToArray - var yyq549 [4]bool - _, _, _ = yysep549, yyq549, yy2arr549 - const yyr549 bool = false - yyq549[0] = len(x.AccessModes) != 0 - yyq549[1] = x.Selector != nil - yyq549[2] = true - yyq549[3] = x.VolumeName != "" - var yynn549 int - if yyr549 || yy2arr549 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.AccessModes) != 0 + yyq2[1] = x.Selector != nil + yyq2[2] = true + yyq2[3] = x.VolumeName != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn549 = 0 - for _, b := range yyq549 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn549++ + yynn2++ } } - r.EncodeMapStart(yynn549) - yynn549 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr549 || yy2arr549 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq549[0] { + if yyq2[0] { if x.AccessModes == nil { r.EncodeNil() } else { - yym551 := z.EncBinary() - _ = yym551 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -9041,15 +9299,15 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq549[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym552 := z.EncBinary() - _ = yym552 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -9057,14 +9315,14 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr549 || yy2arr549 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq549[1] { + if yyq2[1] { if x.Selector == nil { r.EncodeNil() } else { - yym554 := z.EncBinary() - _ = yym554 + yym7 := z.EncBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -9075,15 +9333,15 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq549[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym555 := z.EncBinary() - _ = yym555 + yym8 := z.EncBinary() + _ = yym8 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -9092,28 +9350,28 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr549 || yy2arr549 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq549[2] { - yy557 := &x.Resources - yy557.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.Resources + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq549[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy558 := &x.Resources - yy558.CodecEncodeSelf(e) + yy12 := &x.Resources + yy12.CodecEncodeSelf(e) } } - if yyr549 || yy2arr549 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq549[3] { - yym560 := z.EncBinary() - _ = yym560 + if yyq2[3] { + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeName)) @@ -9122,19 +9380,19 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq549[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym561 := z.EncBinary() - _ = yym561 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeName)) } } } - if yyr549 || yy2arr549 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9147,25 +9405,25 @@ func (x *PersistentVolumeClaimSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym562 := z.DecBinary() - _ = yym562 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct563 := r.ContainerType() - if yyct563 == codecSelferValueTypeMap1234 { - yyl563 := r.ReadMapStart() - if yyl563 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl563, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct563 == codecSelferValueTypeArray1234 { - yyl563 := r.ReadArrayStart() - if yyl563 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl563, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9177,12 +9435,12 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys564Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys564Slc - var yyhl564 bool = l >= 0 - for yyj564 := 0; ; yyj564++ { - if yyhl564 { - if yyj564 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -9191,20 +9449,20 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys564Slc = r.DecodeBytes(yys564Slc, true, true) - yys564 := string(yys564Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys564 { + switch yys3 { case "accessModes": if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv565 := &x.AccessModes - yym566 := z.DecBinary() - _ = yym566 + yyv4 := &x.AccessModes + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv565), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv4), d) } } case "selector": @@ -9216,8 +9474,8 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if x.Selector == nil { x.Selector = new(pkg2_v1.LabelSelector) } - yym568 := z.DecBinary() - _ = yym568 + yym7 := z.DecBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -9228,19 +9486,25 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv569 := &x.Resources - yyv569.CodecDecodeSelf(d) + yyv8 := &x.Resources + yyv8.CodecDecodeSelf(d) } case "volumeName": if r.TryDecodeAsNil() { x.VolumeName = "" } else { - x.VolumeName = string(r.DecodeString()) + yyv9 := &x.VolumeName + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys564) - } // end switch yys564 - } // end for yyj564 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9248,16 +9512,16 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj571 int - var yyb571 bool - var yyhl571 bool = l >= 0 - yyj571++ - if yyhl571 { - yyb571 = yyj571 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb571 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb571 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9265,21 +9529,21 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv572 := &x.AccessModes - yym573 := z.DecBinary() - _ = yym573 + yyv12 := &x.AccessModes + yym13 := z.DecBinary() + _ = yym13 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv572), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv12), d) } } - yyj571++ - if yyhl571 { - yyb571 = yyj571 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb571 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb571 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9292,21 +9556,21 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if x.Selector == nil { x.Selector = new(pkg2_v1.LabelSelector) } - yym575 := z.DecBinary() - _ = yym575 + yym15 := z.DecBinary() + _ = yym15 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj571++ - if yyhl571 { - yyb571 = yyj571 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb571 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb571 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9314,16 +9578,16 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv576 := &x.Resources - yyv576.CodecDecodeSelf(d) + yyv16 := &x.Resources + yyv16.CodecDecodeSelf(d) } - yyj571++ - if yyhl571 { - yyb571 = yyj571 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb571 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb571 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9331,20 +9595,26 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.VolumeName = "" } else { - x.VolumeName = string(r.DecodeString()) + yyv17 := &x.VolumeName + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*string)(yyv17)) = r.DecodeString() + } } for { - yyj571++ - if yyhl571 { - yyb571 = yyj571 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb571 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb571 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj571-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9356,55 +9626,55 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym578 := z.EncBinary() - _ = yym578 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep579 := !z.EncBinary() - yy2arr579 := z.EncBasicHandle().StructToArray - var yyq579 [3]bool - _, _, _ = yysep579, yyq579, yy2arr579 - const yyr579 bool = false - yyq579[0] = x.Phase != "" - yyq579[1] = len(x.AccessModes) != 0 - yyq579[2] = len(x.Capacity) != 0 - var yynn579 int - if yyr579 || yy2arr579 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Phase != "" + yyq2[1] = len(x.AccessModes) != 0 + yyq2[2] = len(x.Capacity) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn579 = 0 - for _, b := range yyq579 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn579++ + yynn2++ } } - r.EncodeMapStart(yynn579) - yynn579 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr579 || yy2arr579 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq579[0] { + if yyq2[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq579[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr579 || yy2arr579 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq579[1] { + if yyq2[1] { if x.AccessModes == nil { r.EncodeNil() } else { - yym582 := z.EncBinary() - _ = yym582 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -9414,15 +9684,15 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq579[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym583 := z.EncBinary() - _ = yym583 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -9430,9 +9700,9 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr579 || yy2arr579 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq579[2] { + if yyq2[2] { if x.Capacity == nil { r.EncodeNil() } else { @@ -9442,7 +9712,7 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq579[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -9453,7 +9723,7 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr579 || yy2arr579 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9466,25 +9736,25 @@ func (x *PersistentVolumeClaimStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym585 := z.DecBinary() - _ = yym585 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct586 := r.ContainerType() - if yyct586 == codecSelferValueTypeMap1234 { - yyl586 := r.ReadMapStart() - if yyl586 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl586, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct586 == codecSelferValueTypeArray1234 { - yyl586 := r.ReadArrayStart() - if yyl586 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl586, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9496,12 +9766,12 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys587Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys587Slc - var yyhl587 bool = l >= 0 - for yyj587 := 0; ; yyj587++ { - if yyhl587 { - if yyj587 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -9510,39 +9780,40 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys587Slc = r.DecodeBytes(yys587Slc, true, true) - yys587 := string(yys587Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys587 { + switch yys3 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" } else { - x.Phase = PersistentVolumeClaimPhase(r.DecodeString()) + yyv4 := &x.Phase + yyv4.CodecDecodeSelf(d) } case "accessModes": if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv589 := &x.AccessModes - yym590 := z.DecBinary() - _ = yym590 + yyv5 := &x.AccessModes + yym6 := z.DecBinary() + _ = yym6 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv589), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv5), d) } } case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv591 := &x.Capacity - yyv591.CodecDecodeSelf(d) + yyv7 := &x.Capacity + yyv7.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys587) - } // end switch yys587 - } // end for yyj587 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9550,16 +9821,16 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj592 int - var yyb592 bool - var yyhl592 bool = l >= 0 - yyj592++ - if yyhl592 { - yyb592 = yyj592 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb592 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb592 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9567,15 +9838,16 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Phase = "" } else { - x.Phase = PersistentVolumeClaimPhase(r.DecodeString()) + yyv9 := &x.Phase + yyv9.CodecDecodeSelf(d) } - yyj592++ - if yyhl592 { - yyb592 = yyj592 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb592 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb592 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9583,21 +9855,21 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv594 := &x.AccessModes - yym595 := z.DecBinary() - _ = yym595 + yyv10 := &x.AccessModes + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv594), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv10), d) } } - yyj592++ - if yyhl592 { - yyb592 = yyj592 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb592 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb592 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9605,21 +9877,21 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv596 := &x.Capacity - yyv596.CodecDecodeSelf(d) + yyv12 := &x.Capacity + yyv12.CodecDecodeSelf(d) } for { - yyj592++ - if yyhl592 { - yyb592 = yyj592 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb592 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb592 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj592-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9628,8 +9900,8 @@ func (x PersistentVolumeAccessMode) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym597 := z.EncBinary() - _ = yym597 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -9641,8 +9913,8 @@ func (x *PersistentVolumeAccessMode) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym598 := z.DecBinary() - _ = yym598 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -9654,8 +9926,8 @@ func (x PersistentVolumePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym599 := z.EncBinary() - _ = yym599 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -9667,8 +9939,8 @@ func (x *PersistentVolumePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym600 := z.DecBinary() - _ = yym600 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -9680,8 +9952,8 @@ func (x PersistentVolumeClaimPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym601 := z.EncBinary() - _ = yym601 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -9693,8 +9965,8 @@ func (x *PersistentVolumeClaimPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym602 := z.DecBinary() - _ = yym602 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -9709,33 +9981,33 @@ func (x *HostPathVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym603 := z.EncBinary() - _ = yym603 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep604 := !z.EncBinary() - yy2arr604 := z.EncBasicHandle().StructToArray - var yyq604 [1]bool - _, _, _ = yysep604, yyq604, yy2arr604 - const yyr604 bool = false - var yynn604 int - if yyr604 || yy2arr604 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn604 = 1 - for _, b := range yyq604 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn604++ + yynn2++ } } - r.EncodeMapStart(yynn604) - yynn604 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr604 || yy2arr604 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym606 := z.EncBinary() - _ = yym606 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -9744,14 +10016,14 @@ func (x *HostPathVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym607 := z.EncBinary() - _ = yym607 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr604 || yy2arr604 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9764,25 +10036,25 @@ func (x *HostPathVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym608 := z.DecBinary() - _ = yym608 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct609 := r.ContainerType() - if yyct609 == codecSelferValueTypeMap1234 { - yyl609 := r.ReadMapStart() - if yyl609 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl609, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct609 == codecSelferValueTypeArray1234 { - yyl609 := r.ReadArrayStart() - if yyl609 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl609, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9794,12 +10066,12 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys610Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys610Slc - var yyhl610 bool = l >= 0 - for yyj610 := 0; ; yyj610++ { - if yyhl610 { - if yyj610 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -9808,20 +10080,26 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys610Slc = r.DecodeBytes(yys610Slc, true, true) - yys610 := string(yys610Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys610 { + switch yys3 { case "path": if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv4 := &x.Path + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys610) - } // end switch yys610 - } // end for yyj610 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9829,16 +10107,16 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj612 int - var yyb612 bool - var yyhl612 bool = l >= 0 - yyj612++ - if yyhl612 { - yyb612 = yyj612 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb612 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb612 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9846,20 +10124,26 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv7 := &x.Path + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*string)(yyv7)) = r.DecodeString() + } } for { - yyj612++ - if yyhl612 { - yyb612 = yyj612 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb612 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb612 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj612-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9871,46 +10155,46 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym614 := z.EncBinary() - _ = yym614 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep615 := !z.EncBinary() - yy2arr615 := z.EncBasicHandle().StructToArray - var yyq615 [1]bool - _, _, _ = yysep615, yyq615, yy2arr615 - const yyr615 bool = false - yyq615[0] = x.Medium != "" - var yynn615 int - if yyr615 || yy2arr615 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Medium != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn615 = 0 - for _, b := range yyq615 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn615++ + yynn2++ } } - r.EncodeMapStart(yynn615) - yynn615 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr615 || yy2arr615 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq615[0] { + if yyq2[0] { x.Medium.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq615[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("medium")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Medium.CodecEncodeSelf(e) } } - if yyr615 || yy2arr615 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9923,25 +10207,25 @@ func (x *EmptyDirVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym617 := z.DecBinary() - _ = yym617 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct618 := r.ContainerType() - if yyct618 == codecSelferValueTypeMap1234 { - yyl618 := r.ReadMapStart() - if yyl618 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl618, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct618 == codecSelferValueTypeArray1234 { - yyl618 := r.ReadArrayStart() - if yyl618 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl618, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9953,12 +10237,12 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys619Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys619Slc - var yyhl619 bool = l >= 0 - for yyj619 := 0; ; yyj619++ { - if yyhl619 { - if yyj619 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -9967,20 +10251,21 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys619Slc = r.DecodeBytes(yys619Slc, true, true) - yys619 := string(yys619Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys619 { + switch yys3 { case "medium": if r.TryDecodeAsNil() { x.Medium = "" } else { - x.Medium = StorageMedium(r.DecodeString()) + yyv4 := &x.Medium + yyv4.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys619) - } // end switch yys619 - } // end for yyj619 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9988,16 +10273,16 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj621 int - var yyb621 bool - var yyhl621 bool = l >= 0 - yyj621++ - if yyhl621 { - yyb621 = yyj621 > l + var yyj5 int + var yyb5 bool + var yyhl5 bool = l >= 0 + yyj5++ + if yyhl5 { + yyb5 = yyj5 > l } else { - yyb621 = r.CheckBreak() + yyb5 = r.CheckBreak() } - if yyb621 { + if yyb5 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10005,20 +10290,21 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Medium = "" } else { - x.Medium = StorageMedium(r.DecodeString()) + yyv6 := &x.Medium + yyv6.CodecDecodeSelf(d) } for { - yyj621++ - if yyhl621 { - yyb621 = yyj621 > l + yyj5++ + if yyhl5 { + yyb5 = yyj5 > l } else { - yyb621 = r.CheckBreak() + yyb5 = r.CheckBreak() } - if yyb621 { + if yyb5 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj621-1, "") + z.DecStructFieldNotFound(yyj5-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10030,34 +10316,34 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym623 := z.EncBinary() - _ = yym623 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep624 := !z.EncBinary() - yy2arr624 := z.EncBasicHandle().StructToArray - var yyq624 [3]bool - _, _, _ = yysep624, yyq624, yy2arr624 - const yyr624 bool = false - yyq624[2] = x.ReadOnly != false - var yynn624 int - if yyr624 || yy2arr624 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = x.ReadOnly != false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn624 = 2 - for _, b := range yyq624 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn624++ + yynn2++ } } - r.EncodeMapStart(yynn624) - yynn624 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr624 || yy2arr624 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym626 := z.EncBinary() - _ = yym626 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EndpointsName)) @@ -10066,17 +10352,17 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("endpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym627 := z.EncBinary() - _ = yym627 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EndpointsName)) } } - if yyr624 || yy2arr624 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym629 := z.EncBinary() - _ = yym629 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -10085,18 +10371,18 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym630 := z.EncBinary() - _ = yym630 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr624 || yy2arr624 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq624[2] { - yym632 := z.EncBinary() - _ = yym632 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10105,19 +10391,19 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq624[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym633 := z.EncBinary() - _ = yym633 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr624 || yy2arr624 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10130,25 +10416,25 @@ func (x *GlusterfsVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym634 := z.DecBinary() - _ = yym634 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct635 := r.ContainerType() - if yyct635 == codecSelferValueTypeMap1234 { - yyl635 := r.ReadMapStart() - if yyl635 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl635, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct635 == codecSelferValueTypeArray1234 { - yyl635 := r.ReadArrayStart() - if yyl635 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl635, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10160,12 +10446,12 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys636Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys636Slc - var yyhl636 bool = l >= 0 - for yyj636 := 0; ; yyj636++ { - if yyhl636 { - if yyj636 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -10174,32 +10460,50 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys636Slc = r.DecodeBytes(yys636Slc, true, true) - yys636 := string(yys636Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys636 { + switch yys3 { case "endpoints": if r.TryDecodeAsNil() { x.EndpointsName = "" } else { - x.EndpointsName = string(r.DecodeString()) + yyv4 := &x.EndpointsName + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "path": if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv6 := &x.Path + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "readOnly": if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv8 := &x.ReadOnly + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*bool)(yyv8)) = r.DecodeBool() + } } default: - z.DecStructFieldNotFound(-1, yys636) - } // end switch yys636 - } // end for yyj636 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10207,16 +10511,16 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj640 int - var yyb640 bool - var yyhl640 bool = l >= 0 - yyj640++ - if yyhl640 { - yyb640 = yyj640 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb640 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb640 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10224,15 +10528,21 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.EndpointsName = "" } else { - x.EndpointsName = string(r.DecodeString()) + yyv11 := &x.EndpointsName + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj640++ - if yyhl640 { - yyb640 = yyj640 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb640 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb640 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10240,15 +10550,21 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv13 := &x.Path + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj640++ - if yyhl640 { - yyb640 = yyj640 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb640 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb640 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10256,20 +10572,26 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv15 := &x.ReadOnly + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*bool)(yyv15)) = r.DecodeBool() + } } for { - yyj640++ - if yyhl640 { - yyb640 = yyj640 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb640 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb640 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj640-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10281,42 +10603,42 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym644 := z.EncBinary() - _ = yym644 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep645 := !z.EncBinary() - yy2arr645 := z.EncBasicHandle().StructToArray - var yyq645 [8]bool - _, _, _ = yysep645, yyq645, yy2arr645 - const yyr645 bool = false - yyq645[2] = x.FSType != "" - yyq645[3] = x.RBDPool != "" - yyq645[4] = x.RadosUser != "" - yyq645[5] = x.Keyring != "" - yyq645[6] = x.SecretRef != nil - yyq645[7] = x.ReadOnly != false - var yynn645 int - if yyr645 || yy2arr645 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [8]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = x.FSType != "" + yyq2[3] = x.RBDPool != "" + yyq2[4] = x.RadosUser != "" + yyq2[5] = x.Keyring != "" + yyq2[6] = x.SecretRef != nil + yyq2[7] = x.ReadOnly != false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(8) } else { - yynn645 = 2 - for _, b := range yyq645 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn645++ + yynn2++ } } - r.EncodeMapStart(yynn645) - yynn645 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr645 || yy2arr645 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.CephMonitors == nil { r.EncodeNil() } else { - yym647 := z.EncBinary() - _ = yym647 + yym4 := z.EncBinary() + _ = yym4 if false { } else { z.F.EncSliceStringV(x.CephMonitors, false, e) @@ -10329,18 +10651,18 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.CephMonitors == nil { r.EncodeNil() } else { - yym648 := z.EncBinary() - _ = yym648 + yym5 := z.EncBinary() + _ = yym5 if false { } else { z.F.EncSliceStringV(x.CephMonitors, false, e) } } } - if yyr645 || yy2arr645 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym650 := z.EncBinary() - _ = yym650 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDImage)) @@ -10349,18 +10671,18 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym651 := z.EncBinary() - _ = yym651 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDImage)) } } - if yyr645 || yy2arr645 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq645[2] { - yym653 := z.EncBinary() - _ = yym653 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -10369,23 +10691,23 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq645[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym654 := z.EncBinary() - _ = yym654 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr645 || yy2arr645 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq645[3] { - yym656 := z.EncBinary() - _ = yym656 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDPool)) @@ -10394,23 +10716,23 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq645[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pool")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym657 := z.EncBinary() - _ = yym657 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDPool)) } } } - if yyr645 || yy2arr645 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq645[4] { - yym659 := z.EncBinary() - _ = yym659 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RadosUser)) @@ -10419,23 +10741,23 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq645[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym660 := z.EncBinary() - _ = yym660 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RadosUser)) } } } - if yyr645 || yy2arr645 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq645[5] { - yym662 := z.EncBinary() - _ = yym662 + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Keyring)) @@ -10444,21 +10766,21 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq645[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("keyring")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym663 := z.EncBinary() - _ = yym663 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Keyring)) } } } - if yyr645 || yy2arr645 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq645[6] { + if yyq2[6] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -10468,7 +10790,7 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq645[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -10479,11 +10801,11 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr645 || yy2arr645 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq645[7] { - yym666 := z.EncBinary() - _ = yym666 + if yyq2[7] { + yym25 := z.EncBinary() + _ = yym25 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10492,19 +10814,19 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq645[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym667 := z.EncBinary() - _ = yym667 + yym26 := z.EncBinary() + _ = yym26 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr645 || yy2arr645 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10517,25 +10839,25 @@ func (x *RBDVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym668 := z.DecBinary() - _ = yym668 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct669 := r.ContainerType() - if yyct669 == codecSelferValueTypeMap1234 { - yyl669 := r.ReadMapStart() - if yyl669 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl669, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct669 == codecSelferValueTypeArray1234 { - yyl669 := r.ReadArrayStart() - if yyl669 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl669, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10547,12 +10869,12 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys670Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys670Slc - var yyhl670 bool = l >= 0 - for yyj670 := 0; ; yyj670++ { - if yyhl670 { - if yyj670 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -10561,51 +10883,81 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys670Slc = r.DecodeBytes(yys670Slc, true, true) - yys670 := string(yys670Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys670 { + switch yys3 { case "monitors": if r.TryDecodeAsNil() { x.CephMonitors = nil } else { - yyv671 := &x.CephMonitors - yym672 := z.DecBinary() - _ = yym672 + yyv4 := &x.CephMonitors + yym5 := z.DecBinary() + _ = yym5 if false { } else { - z.F.DecSliceStringX(yyv671, false, d) + z.F.DecSliceStringX(yyv4, false, d) } } case "image": if r.TryDecodeAsNil() { x.RBDImage = "" } else { - x.RBDImage = string(r.DecodeString()) + yyv6 := &x.RBDImage + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "fsType": if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv8 := &x.FSType + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "pool": if r.TryDecodeAsNil() { x.RBDPool = "" } else { - x.RBDPool = string(r.DecodeString()) + yyv10 := &x.RBDPool + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "user": if r.TryDecodeAsNil() { x.RadosUser = "" } else { - x.RadosUser = string(r.DecodeString()) + yyv12 := &x.RadosUser + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } case "keyring": if r.TryDecodeAsNil() { x.Keyring = "" } else { - x.Keyring = string(r.DecodeString()) + yyv14 := &x.Keyring + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } case "secretRef": if r.TryDecodeAsNil() { @@ -10622,12 +10974,18 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv17 := &x.ReadOnly + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*bool)(yyv17)) = r.DecodeBool() + } } default: - z.DecStructFieldNotFound(-1, yys670) - } // end switch yys670 - } // end for yyj670 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10635,16 +10993,16 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj680 int - var yyb680 bool - var yyhl680 bool = l >= 0 - yyj680++ - if yyhl680 { - yyb680 = yyj680 > l + var yyj19 int + var yyb19 bool + var yyhl19 bool = l >= 0 + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb680 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb680 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10652,21 +11010,21 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.CephMonitors = nil } else { - yyv681 := &x.CephMonitors - yym682 := z.DecBinary() - _ = yym682 + yyv20 := &x.CephMonitors + yym21 := z.DecBinary() + _ = yym21 if false { } else { - z.F.DecSliceStringX(yyv681, false, d) + z.F.DecSliceStringX(yyv20, false, d) } } - yyj680++ - if yyhl680 { - yyb680 = yyj680 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb680 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb680 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10674,15 +11032,21 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.RBDImage = "" } else { - x.RBDImage = string(r.DecodeString()) + yyv22 := &x.RBDImage + yym23 := z.DecBinary() + _ = yym23 + if false { + } else { + *((*string)(yyv22)) = r.DecodeString() + } } - yyj680++ - if yyhl680 { - yyb680 = yyj680 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb680 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb680 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10690,15 +11054,21 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv24 := &x.FSType + yym25 := z.DecBinary() + _ = yym25 + if false { + } else { + *((*string)(yyv24)) = r.DecodeString() + } } - yyj680++ - if yyhl680 { - yyb680 = yyj680 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb680 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb680 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10706,15 +11076,21 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.RBDPool = "" } else { - x.RBDPool = string(r.DecodeString()) + yyv26 := &x.RBDPool + yym27 := z.DecBinary() + _ = yym27 + if false { + } else { + *((*string)(yyv26)) = r.DecodeString() + } } - yyj680++ - if yyhl680 { - yyb680 = yyj680 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb680 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb680 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10722,15 +11098,21 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.RadosUser = "" } else { - x.RadosUser = string(r.DecodeString()) + yyv28 := &x.RadosUser + yym29 := z.DecBinary() + _ = yym29 + if false { + } else { + *((*string)(yyv28)) = r.DecodeString() + } } - yyj680++ - if yyhl680 { - yyb680 = yyj680 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb680 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb680 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10738,15 +11120,21 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Keyring = "" } else { - x.Keyring = string(r.DecodeString()) + yyv30 := &x.Keyring + yym31 := z.DecBinary() + _ = yym31 + if false { + } else { + *((*string)(yyv30)) = r.DecodeString() + } } - yyj680++ - if yyhl680 { - yyb680 = yyj680 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb680 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb680 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10761,13 +11149,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SecretRef.CodecDecodeSelf(d) } - yyj680++ - if yyhl680 { - yyb680 = yyj680 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb680 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb680 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10775,20 +11163,26 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv33 := &x.ReadOnly + yym34 := z.DecBinary() + _ = yym34 + if false { + } else { + *((*bool)(yyv33)) = r.DecodeBool() + } } for { - yyj680++ - if yyhl680 { - yyb680 = yyj680 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb680 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb680 { + if yyb19 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj680-1, "") + z.DecStructFieldNotFound(yyj19-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10800,35 +11194,35 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym690 := z.EncBinary() - _ = yym690 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep691 := !z.EncBinary() - yy2arr691 := z.EncBasicHandle().StructToArray - var yyq691 [3]bool - _, _, _ = yysep691, yyq691, yy2arr691 - const yyr691 bool = false - yyq691[1] = x.FSType != "" - yyq691[2] = x.ReadOnly != false - var yynn691 int - if yyr691 || yy2arr691 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.FSType != "" + yyq2[2] = x.ReadOnly != false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn691 = 1 - for _, b := range yyq691 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn691++ + yynn2++ } } - r.EncodeMapStart(yynn691) - yynn691 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr691 || yy2arr691 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym693 := z.EncBinary() - _ = yym693 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -10837,18 +11231,18 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym694 := z.EncBinary() - _ = yym694 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr691 || yy2arr691 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq691[1] { - yym696 := z.EncBinary() - _ = yym696 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -10857,23 +11251,23 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq691[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym697 := z.EncBinary() - _ = yym697 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr691 || yy2arr691 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq691[2] { - yym699 := z.EncBinary() - _ = yym699 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10882,19 +11276,19 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq691[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym700 := z.EncBinary() - _ = yym700 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr691 || yy2arr691 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10907,25 +11301,25 @@ func (x *CinderVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym701 := z.DecBinary() - _ = yym701 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct702 := r.ContainerType() - if yyct702 == codecSelferValueTypeMap1234 { - yyl702 := r.ReadMapStart() - if yyl702 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl702, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct702 == codecSelferValueTypeArray1234 { - yyl702 := r.ReadArrayStart() - if yyl702 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl702, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10937,12 +11331,12 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys703Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys703Slc - var yyhl703 bool = l >= 0 - for yyj703 := 0; ; yyj703++ { - if yyhl703 { - if yyj703 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -10951,32 +11345,50 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys703Slc = r.DecodeBytes(yys703Slc, true, true) - yys703 := string(yys703Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys703 { + switch yys3 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" } else { - x.VolumeID = string(r.DecodeString()) + yyv4 := &x.VolumeID + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "fsType": if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv6 := &x.FSType + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "readOnly": if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv8 := &x.ReadOnly + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*bool)(yyv8)) = r.DecodeBool() + } } default: - z.DecStructFieldNotFound(-1, yys703) - } // end switch yys703 - } // end for yyj703 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10984,16 +11396,16 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj707 int - var yyb707 bool - var yyhl707 bool = l >= 0 - yyj707++ - if yyhl707 { - yyb707 = yyj707 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb707 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb707 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11001,15 +11413,21 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.VolumeID = "" } else { - x.VolumeID = string(r.DecodeString()) + yyv11 := &x.VolumeID + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj707++ - if yyhl707 { - yyb707 = yyj707 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb707 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb707 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11017,15 +11435,21 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv13 := &x.FSType + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj707++ - if yyhl707 { - yyb707 = yyj707 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb707 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb707 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11033,20 +11457,26 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv15 := &x.ReadOnly + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*bool)(yyv15)) = r.DecodeBool() + } } for { - yyj707++ - if yyhl707 { - yyb707 = yyj707 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb707 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb707 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj707-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11058,41 +11488,41 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym711 := z.EncBinary() - _ = yym711 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep712 := !z.EncBinary() - yy2arr712 := z.EncBasicHandle().StructToArray - var yyq712 [6]bool - _, _, _ = yysep712, yyq712, yy2arr712 - const yyr712 bool = false - yyq712[1] = x.Path != "" - yyq712[2] = x.User != "" - yyq712[3] = x.SecretFile != "" - yyq712[4] = x.SecretRef != nil - yyq712[5] = x.ReadOnly != false - var yynn712 int - if yyr712 || yy2arr712 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.Path != "" + yyq2[2] = x.User != "" + yyq2[3] = x.SecretFile != "" + yyq2[4] = x.SecretRef != nil + yyq2[5] = x.ReadOnly != false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn712 = 1 - for _, b := range yyq712 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn712++ + yynn2++ } } - r.EncodeMapStart(yynn712) - yynn712 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr712 || yy2arr712 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Monitors == nil { r.EncodeNil() } else { - yym714 := z.EncBinary() - _ = yym714 + yym4 := z.EncBinary() + _ = yym4 if false { } else { z.F.EncSliceStringV(x.Monitors, false, e) @@ -11105,19 +11535,19 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Monitors == nil { r.EncodeNil() } else { - yym715 := z.EncBinary() - _ = yym715 + yym5 := z.EncBinary() + _ = yym5 if false { } else { z.F.EncSliceStringV(x.Monitors, false, e) } } } - if yyr712 || yy2arr712 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq712[1] { - yym717 := z.EncBinary() - _ = yym717 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -11126,23 +11556,23 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq712[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym718 := z.EncBinary() - _ = yym718 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr712 || yy2arr712 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq712[2] { - yym720 := z.EncBinary() - _ = yym720 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -11151,23 +11581,23 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq712[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym721 := z.EncBinary() - _ = yym721 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr712 || yy2arr712 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq712[3] { - yym723 := z.EncBinary() - _ = yym723 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretFile)) @@ -11176,21 +11606,21 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq712[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym724 := z.EncBinary() - _ = yym724 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretFile)) } } } - if yyr712 || yy2arr712 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq712[4] { + if yyq2[4] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -11200,7 +11630,7 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq712[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -11211,11 +11641,11 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr712 || yy2arr712 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq712[5] { - yym727 := z.EncBinary() - _ = yym727 + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11224,19 +11654,19 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq712[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym728 := z.EncBinary() - _ = yym728 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr712 || yy2arr712 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11249,25 +11679,25 @@ func (x *CephFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym729 := z.DecBinary() - _ = yym729 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct730 := r.ContainerType() - if yyct730 == codecSelferValueTypeMap1234 { - yyl730 := r.ReadMapStart() - if yyl730 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl730, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct730 == codecSelferValueTypeArray1234 { - yyl730 := r.ReadArrayStart() - if yyl730 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl730, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11279,12 +11709,12 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys731Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys731Slc - var yyhl731 bool = l >= 0 - for yyj731 := 0; ; yyj731++ { - if yyhl731 { - if yyj731 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -11293,39 +11723,57 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys731Slc = r.DecodeBytes(yys731Slc, true, true) - yys731 := string(yys731Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys731 { + switch yys3 { case "monitors": if r.TryDecodeAsNil() { x.Monitors = nil } else { - yyv732 := &x.Monitors - yym733 := z.DecBinary() - _ = yym733 + yyv4 := &x.Monitors + yym5 := z.DecBinary() + _ = yym5 if false { } else { - z.F.DecSliceStringX(yyv732, false, d) + z.F.DecSliceStringX(yyv4, false, d) } } case "path": if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv6 := &x.Path + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "user": if r.TryDecodeAsNil() { x.User = "" } else { - x.User = string(r.DecodeString()) + yyv8 := &x.User + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "secretFile": if r.TryDecodeAsNil() { x.SecretFile = "" } else { - x.SecretFile = string(r.DecodeString()) + yyv10 := &x.SecretFile + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "secretRef": if r.TryDecodeAsNil() { @@ -11342,12 +11790,18 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv13 := &x.ReadOnly + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*bool)(yyv13)) = r.DecodeBool() + } } default: - z.DecStructFieldNotFound(-1, yys731) - } // end switch yys731 - } // end for yyj731 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11355,16 +11809,16 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj739 int - var yyb739 bool - var yyhl739 bool = l >= 0 - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + var yyj15 int + var yyb15 bool + var yyhl15 bool = l >= 0 + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb739 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb739 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11372,21 +11826,21 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Monitors = nil } else { - yyv740 := &x.Monitors - yym741 := z.DecBinary() - _ = yym741 + yyv16 := &x.Monitors + yym17 := z.DecBinary() + _ = yym17 if false { } else { - z.F.DecSliceStringX(yyv740, false, d) + z.F.DecSliceStringX(yyv16, false, d) } } - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb739 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb739 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11394,15 +11848,21 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv18 := &x.Path + yym19 := z.DecBinary() + _ = yym19 + if false { + } else { + *((*string)(yyv18)) = r.DecodeString() + } } - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb739 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb739 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11410,15 +11870,21 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.User = "" } else { - x.User = string(r.DecodeString()) + yyv20 := &x.User + yym21 := z.DecBinary() + _ = yym21 + if false { + } else { + *((*string)(yyv20)) = r.DecodeString() + } } - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb739 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb739 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11426,15 +11892,21 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SecretFile = "" } else { - x.SecretFile = string(r.DecodeString()) + yyv22 := &x.SecretFile + yym23 := z.DecBinary() + _ = yym23 + if false { + } else { + *((*string)(yyv22)) = r.DecodeString() + } } - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb739 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb739 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11449,13 +11921,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SecretRef.CodecDecodeSelf(d) } - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb739 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb739 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11463,20 +11935,26 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv25 := &x.ReadOnly + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*bool)(yyv25)) = r.DecodeBool() + } } for { - yyj739++ - if yyhl739 { - yyb739 = yyj739 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb739 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb739 { + if yyb15 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj739-1, "") + z.DecStructFieldNotFound(yyj15-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11488,36 +11966,36 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym747 := z.EncBinary() - _ = yym747 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep748 := !z.EncBinary() - yy2arr748 := z.EncBasicHandle().StructToArray - var yyq748 [2]bool - _, _, _ = yysep748, yyq748, yy2arr748 - const yyr748 bool = false - yyq748[0] = x.DatasetName != "" - yyq748[1] = x.DatasetUUID != "" - var yynn748 int - if yyr748 || yy2arr748 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.DatasetName != "" + yyq2[1] = x.DatasetUUID != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn748 = 0 - for _, b := range yyq748 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn748++ + yynn2++ } } - r.EncodeMapStart(yynn748) - yynn748 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr748 || yy2arr748 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq748[0] { - yym750 := z.EncBinary() - _ = yym750 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) @@ -11526,23 +12004,23 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq748[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("datasetName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym751 := z.EncBinary() - _ = yym751 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) } } } - if yyr748 || yy2arr748 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq748[1] { - yym753 := z.EncBinary() - _ = yym753 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetUUID)) @@ -11551,19 +12029,19 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq748[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("datasetUUID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym754 := z.EncBinary() - _ = yym754 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetUUID)) } } } - if yyr748 || yy2arr748 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11576,25 +12054,25 @@ func (x *FlockerVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym755 := z.DecBinary() - _ = yym755 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct756 := r.ContainerType() - if yyct756 == codecSelferValueTypeMap1234 { - yyl756 := r.ReadMapStart() - if yyl756 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl756, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct756 == codecSelferValueTypeArray1234 { - yyl756 := r.ReadArrayStart() - if yyl756 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl756, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11606,12 +12084,12 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys757Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys757Slc - var yyhl757 bool = l >= 0 - for yyj757 := 0; ; yyj757++ { - if yyhl757 { - if yyj757 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -11620,26 +12098,38 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys757Slc = r.DecodeBytes(yys757Slc, true, true) - yys757 := string(yys757Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys757 { + switch yys3 { case "datasetName": if r.TryDecodeAsNil() { x.DatasetName = "" } else { - x.DatasetName = string(r.DecodeString()) + yyv4 := &x.DatasetName + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "datasetUUID": if r.TryDecodeAsNil() { x.DatasetUUID = "" } else { - x.DatasetUUID = string(r.DecodeString()) + yyv6 := &x.DatasetUUID + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys757) - } // end switch yys757 - } // end for yyj757 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11647,16 +12137,16 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj760 int - var yyb760 bool - var yyhl760 bool = l >= 0 - yyj760++ - if yyhl760 { - yyb760 = yyj760 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb760 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb760 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11664,15 +12154,21 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.DatasetName = "" } else { - x.DatasetName = string(r.DecodeString()) + yyv9 := &x.DatasetName + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj760++ - if yyhl760 { - yyb760 = yyj760 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb760 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb760 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11680,20 +12176,26 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.DatasetUUID = "" } else { - x.DatasetUUID = string(r.DecodeString()) + yyv11 := &x.DatasetUUID + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj760++ - if yyhl760 { - yyb760 = yyj760 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb760 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb760 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj760-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11702,8 +12204,8 @@ func (x StorageMedium) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym763 := z.EncBinary() - _ = yym763 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -11715,8 +12217,8 @@ func (x *StorageMedium) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym764 := z.DecBinary() - _ = yym764 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -11728,8 +12230,8 @@ func (x Protocol) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym765 := z.EncBinary() - _ = yym765 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -11741,8 +12243,8 @@ func (x *Protocol) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym766 := z.DecBinary() - _ = yym766 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -11757,36 +12259,36 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym767 := z.EncBinary() - _ = yym767 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep768 := !z.EncBinary() - yy2arr768 := z.EncBasicHandle().StructToArray - var yyq768 [4]bool - _, _, _ = yysep768, yyq768, yy2arr768 - const yyr768 bool = false - yyq768[1] = x.FSType != "" - yyq768[2] = x.Partition != 0 - yyq768[3] = x.ReadOnly != false - var yynn768 int - if yyr768 || yy2arr768 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.FSType != "" + yyq2[2] = x.Partition != 0 + yyq2[3] = x.ReadOnly != false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn768 = 1 - for _, b := range yyq768 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn768++ + yynn2++ } } - r.EncodeMapStart(yynn768) - yynn768 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr768 || yy2arr768 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym770 := z.EncBinary() - _ = yym770 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) @@ -11795,18 +12297,18 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pdName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym771 := z.EncBinary() - _ = yym771 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) } } - if yyr768 || yy2arr768 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq768[1] { - yym773 := z.EncBinary() - _ = yym773 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -11815,23 +12317,23 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq768[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym774 := z.EncBinary() - _ = yym774 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr768 || yy2arr768 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq768[2] { - yym776 := z.EncBinary() - _ = yym776 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -11840,23 +12342,23 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq768[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym777 := z.EncBinary() - _ = yym777 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr768 || yy2arr768 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq768[3] { - yym779 := z.EncBinary() - _ = yym779 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11865,19 +12367,19 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq768[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym780 := z.EncBinary() - _ = yym780 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr768 || yy2arr768 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11890,25 +12392,25 @@ func (x *GCEPersistentDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym781 := z.DecBinary() - _ = yym781 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct782 := r.ContainerType() - if yyct782 == codecSelferValueTypeMap1234 { - yyl782 := r.ReadMapStart() - if yyl782 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl782, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct782 == codecSelferValueTypeArray1234 { - yyl782 := r.ReadArrayStart() - if yyl782 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl782, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11920,12 +12422,12 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys783Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys783Slc - var yyhl783 bool = l >= 0 - for yyj783 := 0; ; yyj783++ { - if yyhl783 { - if yyj783 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -11934,38 +12436,62 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys783Slc = r.DecodeBytes(yys783Slc, true, true) - yys783 := string(yys783Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys783 { + switch yys3 { case "pdName": if r.TryDecodeAsNil() { x.PDName = "" } else { - x.PDName = string(r.DecodeString()) + yyv4 := &x.PDName + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "fsType": if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv6 := &x.FSType + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "partition": if r.TryDecodeAsNil() { x.Partition = 0 } else { - x.Partition = int32(r.DecodeInt(32)) + yyv8 := &x.Partition + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*int32)(yyv8)) = int32(r.DecodeInt(32)) + } } case "readOnly": if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv10 := &x.ReadOnly + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*bool)(yyv10)) = r.DecodeBool() + } } default: - z.DecStructFieldNotFound(-1, yys783) - } // end switch yys783 - } // end for yyj783 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11973,16 +12499,16 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj788 int - var yyb788 bool - var yyhl788 bool = l >= 0 - yyj788++ - if yyhl788 { - yyb788 = yyj788 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb788 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb788 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11990,15 +12516,21 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.PDName = "" } else { - x.PDName = string(r.DecodeString()) + yyv13 := &x.PDName + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj788++ - if yyhl788 { - yyb788 = yyj788 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb788 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb788 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12006,15 +12538,21 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv15 := &x.FSType + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj788++ - if yyhl788 { - yyb788 = yyj788 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb788 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb788 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12022,15 +12560,21 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.Partition = 0 } else { - x.Partition = int32(r.DecodeInt(32)) + yyv17 := &x.Partition + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*int32)(yyv17)) = int32(r.DecodeInt(32)) + } } - yyj788++ - if yyhl788 { - yyb788 = yyj788 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb788 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb788 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12038,20 +12582,26 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv19 := &x.ReadOnly + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*bool)(yyv19)) = r.DecodeBool() + } } for { - yyj788++ - if yyhl788 { - yyb788 = yyj788 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb788 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb788 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj788-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12063,36 +12613,36 @@ func (x *QuobyteVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym793 := z.EncBinary() - _ = yym793 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep794 := !z.EncBinary() - yy2arr794 := z.EncBasicHandle().StructToArray - var yyq794 [5]bool - _, _, _ = yysep794, yyq794, yy2arr794 - const yyr794 bool = false - yyq794[2] = x.ReadOnly != false - yyq794[3] = x.User != "" - yyq794[4] = x.Group != "" - var yynn794 int - if yyr794 || yy2arr794 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = x.ReadOnly != false + yyq2[3] = x.User != "" + yyq2[4] = x.Group != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn794 = 2 - for _, b := range yyq794 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn794++ + yynn2++ } } - r.EncodeMapStart(yynn794) - yynn794 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr794 || yy2arr794 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym796 := z.EncBinary() - _ = yym796 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Registry)) @@ -12101,17 +12651,17 @@ func (x *QuobyteVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("registry")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym797 := z.EncBinary() - _ = yym797 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Registry)) } } - if yyr794 || yy2arr794 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym799 := z.EncBinary() - _ = yym799 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Volume)) @@ -12120,18 +12670,18 @@ func (x *QuobyteVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym800 := z.EncBinary() - _ = yym800 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Volume)) } } - if yyr794 || yy2arr794 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq794[2] { - yym802 := z.EncBinary() - _ = yym802 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -12140,23 +12690,23 @@ func (x *QuobyteVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq794[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym803 := z.EncBinary() - _ = yym803 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr794 || yy2arr794 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq794[3] { - yym805 := z.EncBinary() - _ = yym805 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -12165,23 +12715,23 @@ func (x *QuobyteVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq794[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym806 := z.EncBinary() - _ = yym806 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr794 || yy2arr794 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq794[4] { - yym808 := z.EncBinary() - _ = yym808 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Group)) @@ -12190,19 +12740,19 @@ func (x *QuobyteVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq794[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("group")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym809 := z.EncBinary() - _ = yym809 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Group)) } } } - if yyr794 || yy2arr794 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12215,25 +12765,25 @@ func (x *QuobyteVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym810 := z.DecBinary() - _ = yym810 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct811 := r.ContainerType() - if yyct811 == codecSelferValueTypeMap1234 { - yyl811 := r.ReadMapStart() - if yyl811 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl811, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct811 == codecSelferValueTypeArray1234 { - yyl811 := r.ReadArrayStart() - if yyl811 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl811, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12245,12 +12795,12 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys812Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys812Slc - var yyhl812 bool = l >= 0 - for yyj812 := 0; ; yyj812++ { - if yyhl812 { - if yyj812 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -12259,44 +12809,74 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys812Slc = r.DecodeBytes(yys812Slc, true, true) - yys812 := string(yys812Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys812 { + switch yys3 { case "registry": if r.TryDecodeAsNil() { x.Registry = "" } else { - x.Registry = string(r.DecodeString()) + yyv4 := &x.Registry + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "volume": if r.TryDecodeAsNil() { x.Volume = "" } else { - x.Volume = string(r.DecodeString()) + yyv6 := &x.Volume + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "readOnly": if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv8 := &x.ReadOnly + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*bool)(yyv8)) = r.DecodeBool() + } } case "user": if r.TryDecodeAsNil() { x.User = "" } else { - x.User = string(r.DecodeString()) + yyv10 := &x.User + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "group": if r.TryDecodeAsNil() { x.Group = "" } else { - x.Group = string(r.DecodeString()) + yyv12 := &x.Group + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys812) - } // end switch yys812 - } // end for yyj812 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12304,16 +12884,16 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj818 int - var yyb818 bool - var yyhl818 bool = l >= 0 - yyj818++ - if yyhl818 { - yyb818 = yyj818 > l + var yyj14 int + var yyb14 bool + var yyhl14 bool = l >= 0 + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb818 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb818 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12321,15 +12901,21 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Registry = "" } else { - x.Registry = string(r.DecodeString()) + yyv15 := &x.Registry + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj818++ - if yyhl818 { - yyb818 = yyj818 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb818 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb818 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12337,15 +12923,21 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Volume = "" } else { - x.Volume = string(r.DecodeString()) + yyv17 := &x.Volume + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*string)(yyv17)) = r.DecodeString() + } } - yyj818++ - if yyhl818 { - yyb818 = yyj818 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb818 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb818 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12353,15 +12945,21 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv19 := &x.ReadOnly + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*bool)(yyv19)) = r.DecodeBool() + } } - yyj818++ - if yyhl818 { - yyb818 = yyj818 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb818 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb818 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12369,15 +12967,21 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.User = "" } else { - x.User = string(r.DecodeString()) + yyv21 := &x.User + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } - yyj818++ - if yyhl818 { - yyb818 = yyj818 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb818 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb818 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12385,20 +12989,26 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Group = "" } else { - x.Group = string(r.DecodeString()) + yyv23 := &x.Group + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*string)(yyv23)) = r.DecodeString() + } } for { - yyj818++ - if yyhl818 { - yyb818 = yyj818 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb818 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb818 { + if yyb14 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj818-1, "") + z.DecStructFieldNotFound(yyj14-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12410,37 +13020,37 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym824 := z.EncBinary() - _ = yym824 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep825 := !z.EncBinary() - yy2arr825 := z.EncBasicHandle().StructToArray - var yyq825 [5]bool - _, _, _ = yysep825, yyq825, yy2arr825 - const yyr825 bool = false - yyq825[1] = x.FSType != "" - yyq825[2] = x.SecretRef != nil - yyq825[3] = x.ReadOnly != false - yyq825[4] = len(x.Options) != 0 - var yynn825 int - if yyr825 || yy2arr825 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.FSType != "" + yyq2[2] = x.SecretRef != nil + yyq2[3] = x.ReadOnly != false + yyq2[4] = len(x.Options) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn825 = 1 - for _, b := range yyq825 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn825++ + yynn2++ } } - r.EncodeMapStart(yynn825) - yynn825 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr825 || yy2arr825 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym827 := z.EncBinary() - _ = yym827 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) @@ -12449,18 +13059,18 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("driver")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym828 := z.EncBinary() - _ = yym828 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) } } - if yyr825 || yy2arr825 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq825[1] { - yym830 := z.EncBinary() - _ = yym830 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -12469,21 +13079,21 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq825[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym831 := z.EncBinary() - _ = yym831 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr825 || yy2arr825 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq825[2] { + if yyq2[2] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -12493,7 +13103,7 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq825[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12504,11 +13114,11 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr825 || yy2arr825 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq825[3] { - yym834 := z.EncBinary() - _ = yym834 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -12517,26 +13127,26 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq825[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym835 := z.EncBinary() - _ = yym835 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr825 || yy2arr825 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq825[4] { + if yyq2[4] { if x.Options == nil { r.EncodeNil() } else { - yym837 := z.EncBinary() - _ = yym837 + yym16 := z.EncBinary() + _ = yym16 if false { } else { z.F.EncMapStringStringV(x.Options, false, e) @@ -12546,15 +13156,15 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq825[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("options")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Options == nil { r.EncodeNil() } else { - yym838 := z.EncBinary() - _ = yym838 + yym17 := z.EncBinary() + _ = yym17 if false { } else { z.F.EncMapStringStringV(x.Options, false, e) @@ -12562,7 +13172,7 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr825 || yy2arr825 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12575,25 +13185,25 @@ func (x *FlexVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym839 := z.DecBinary() - _ = yym839 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct840 := r.ContainerType() - if yyct840 == codecSelferValueTypeMap1234 { - yyl840 := r.ReadMapStart() - if yyl840 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl840, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct840 == codecSelferValueTypeArray1234 { - yyl840 := r.ReadArrayStart() - if yyl840 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl840, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12605,12 +13215,12 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys841Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys841Slc - var yyhl841 bool = l >= 0 - for yyj841 := 0; ; yyj841++ { - if yyhl841 { - if yyj841 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -12619,21 +13229,33 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys841Slc = r.DecodeBytes(yys841Slc, true, true) - yys841 := string(yys841Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys841 { + switch yys3 { case "driver": if r.TryDecodeAsNil() { x.Driver = "" } else { - x.Driver = string(r.DecodeString()) + yyv4 := &x.Driver + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "fsType": if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv6 := &x.FSType + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "secretRef": if r.TryDecodeAsNil() { @@ -12650,24 +13272,30 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv9 := &x.ReadOnly + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*bool)(yyv9)) = r.DecodeBool() + } } case "options": if r.TryDecodeAsNil() { x.Options = nil } else { - yyv846 := &x.Options - yym847 := z.DecBinary() - _ = yym847 + yyv11 := &x.Options + yym12 := z.DecBinary() + _ = yym12 if false { } else { - z.F.DecMapStringStringX(yyv846, false, d) + z.F.DecMapStringStringX(yyv11, false, d) } } default: - z.DecStructFieldNotFound(-1, yys841) - } // end switch yys841 - } // end for yyj841 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12675,16 +13303,16 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj848 int - var yyb848 bool - var yyhl848 bool = l >= 0 - yyj848++ - if yyhl848 { - yyb848 = yyj848 > l + var yyj13 int + var yyb13 bool + var yyhl13 bool = l >= 0 + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb848 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb848 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12692,15 +13320,21 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Driver = "" } else { - x.Driver = string(r.DecodeString()) + yyv14 := &x.Driver + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj848++ - if yyhl848 { - yyb848 = yyj848 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb848 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb848 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12708,15 +13342,21 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv16 := &x.FSType + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } - yyj848++ - if yyhl848 { - yyb848 = yyj848 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb848 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb848 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12731,13 +13371,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SecretRef.CodecDecodeSelf(d) } - yyj848++ - if yyhl848 { - yyb848 = yyj848 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb848 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb848 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12745,15 +13385,21 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv19 := &x.ReadOnly + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*bool)(yyv19)) = r.DecodeBool() + } } - yyj848++ - if yyhl848 { - yyb848 = yyj848 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb848 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb848 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12761,26 +13407,26 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Options = nil } else { - yyv853 := &x.Options - yym854 := z.DecBinary() - _ = yym854 + yyv21 := &x.Options + yym22 := z.DecBinary() + _ = yym22 if false { } else { - z.F.DecMapStringStringX(yyv853, false, d) + z.F.DecMapStringStringX(yyv21, false, d) } } for { - yyj848++ - if yyhl848 { - yyb848 = yyj848 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb848 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb848 { + if yyb13 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj848-1, "") + z.DecStructFieldNotFound(yyj13-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12792,36 +13438,36 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) if x == nil { r.EncodeNil() } else { - yym855 := z.EncBinary() - _ = yym855 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep856 := !z.EncBinary() - yy2arr856 := z.EncBasicHandle().StructToArray - var yyq856 [4]bool - _, _, _ = yysep856, yyq856, yy2arr856 - const yyr856 bool = false - yyq856[1] = x.FSType != "" - yyq856[2] = x.Partition != 0 - yyq856[3] = x.ReadOnly != false - var yynn856 int - if yyr856 || yy2arr856 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.FSType != "" + yyq2[2] = x.Partition != 0 + yyq2[3] = x.ReadOnly != false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn856 = 1 - for _, b := range yyq856 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn856++ + yynn2++ } } - r.EncodeMapStart(yynn856) - yynn856 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr856 || yy2arr856 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym858 := z.EncBinary() - _ = yym858 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -12830,18 +13476,18 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym859 := z.EncBinary() - _ = yym859 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr856 || yy2arr856 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq856[1] { - yym861 := z.EncBinary() - _ = yym861 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -12850,23 +13496,23 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq856[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym862 := z.EncBinary() - _ = yym862 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr856 || yy2arr856 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq856[2] { - yym864 := z.EncBinary() - _ = yym864 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -12875,23 +13521,23 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeInt(0) } } else { - if yyq856[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym865 := z.EncBinary() - _ = yym865 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr856 || yy2arr856 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq856[3] { - yym867 := z.EncBinary() - _ = yym867 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -12900,19 +13546,19 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeBool(false) } } else { - if yyq856[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym868 := z.EncBinary() - _ = yym868 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr856 || yy2arr856 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12925,25 +13571,25 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym869 := z.DecBinary() - _ = yym869 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct870 := r.ContainerType() - if yyct870 == codecSelferValueTypeMap1234 { - yyl870 := r.ReadMapStart() - if yyl870 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl870, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct870 == codecSelferValueTypeArray1234 { - yyl870 := r.ReadArrayStart() - if yyl870 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl870, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12955,12 +13601,12 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys871Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys871Slc - var yyhl871 bool = l >= 0 - for yyj871 := 0; ; yyj871++ { - if yyhl871 { - if yyj871 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -12969,38 +13615,62 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys871Slc = r.DecodeBytes(yys871Slc, true, true) - yys871 := string(yys871Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys871 { + switch yys3 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" } else { - x.VolumeID = string(r.DecodeString()) + yyv4 := &x.VolumeID + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "fsType": if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv6 := &x.FSType + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "partition": if r.TryDecodeAsNil() { x.Partition = 0 } else { - x.Partition = int32(r.DecodeInt(32)) + yyv8 := &x.Partition + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*int32)(yyv8)) = int32(r.DecodeInt(32)) + } } case "readOnly": if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv10 := &x.ReadOnly + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*bool)(yyv10)) = r.DecodeBool() + } } default: - z.DecStructFieldNotFound(-1, yys871) - } // end switch yys871 - } // end for yyj871 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13008,16 +13678,16 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj876 int - var yyb876 bool - var yyhl876 bool = l >= 0 - yyj876++ - if yyhl876 { - yyb876 = yyj876 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb876 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb876 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13025,15 +13695,21 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co if r.TryDecodeAsNil() { x.VolumeID = "" } else { - x.VolumeID = string(r.DecodeString()) + yyv13 := &x.VolumeID + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj876++ - if yyhl876 { - yyb876 = yyj876 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb876 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb876 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13041,15 +13717,21 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv15 := &x.FSType + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj876++ - if yyhl876 { - yyb876 = yyj876 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb876 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb876 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13057,15 +13739,21 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co if r.TryDecodeAsNil() { x.Partition = 0 } else { - x.Partition = int32(r.DecodeInt(32)) + yyv17 := &x.Partition + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*int32)(yyv17)) = int32(r.DecodeInt(32)) + } } - yyj876++ - if yyhl876 { - yyb876 = yyj876 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb876 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb876 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13073,20 +13761,26 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv19 := &x.ReadOnly + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*bool)(yyv19)) = r.DecodeBool() + } } for { - yyj876++ - if yyhl876 { - yyb876 = yyj876 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb876 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb876 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj876-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13098,35 +13792,35 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym881 := z.EncBinary() - _ = yym881 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep882 := !z.EncBinary() - yy2arr882 := z.EncBasicHandle().StructToArray - var yyq882 [3]bool - _, _, _ = yysep882, yyq882, yy2arr882 - const yyr882 bool = false - yyq882[1] = x.Revision != "" - yyq882[2] = x.Directory != "" - var yynn882 int - if yyr882 || yy2arr882 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.Revision != "" + yyq2[2] = x.Directory != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn882 = 1 - for _, b := range yyq882 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn882++ + yynn2++ } } - r.EncodeMapStart(yynn882) - yynn882 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr882 || yy2arr882 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym884 := z.EncBinary() - _ = yym884 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) @@ -13135,18 +13829,18 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("repository")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym885 := z.EncBinary() - _ = yym885 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) } } - if yyr882 || yy2arr882 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq882[1] { - yym887 := z.EncBinary() - _ = yym887 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) @@ -13155,23 +13849,23 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq882[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym888 := z.EncBinary() - _ = yym888 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) } } } - if yyr882 || yy2arr882 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq882[2] { - yym890 := z.EncBinary() - _ = yym890 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) @@ -13180,19 +13874,19 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq882[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("directory")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym891 := z.EncBinary() - _ = yym891 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) } } } - if yyr882 || yy2arr882 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13205,25 +13899,25 @@ func (x *GitRepoVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym892 := z.DecBinary() - _ = yym892 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct893 := r.ContainerType() - if yyct893 == codecSelferValueTypeMap1234 { - yyl893 := r.ReadMapStart() - if yyl893 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl893, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct893 == codecSelferValueTypeArray1234 { - yyl893 := r.ReadArrayStart() - if yyl893 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl893, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13235,12 +13929,12 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys894Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys894Slc - var yyhl894 bool = l >= 0 - for yyj894 := 0; ; yyj894++ { - if yyhl894 { - if yyj894 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -13249,32 +13943,50 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys894Slc = r.DecodeBytes(yys894Slc, true, true) - yys894 := string(yys894Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys894 { + switch yys3 { case "repository": if r.TryDecodeAsNil() { x.Repository = "" } else { - x.Repository = string(r.DecodeString()) + yyv4 := &x.Repository + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "revision": if r.TryDecodeAsNil() { x.Revision = "" } else { - x.Revision = string(r.DecodeString()) + yyv6 := &x.Revision + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "directory": if r.TryDecodeAsNil() { x.Directory = "" } else { - x.Directory = string(r.DecodeString()) + yyv8 := &x.Directory + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys894) - } // end switch yys894 - } // end for yyj894 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13282,16 +13994,16 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj898 int - var yyb898 bool - var yyhl898 bool = l >= 0 - yyj898++ - if yyhl898 { - yyb898 = yyj898 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb898 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb898 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13299,15 +14011,21 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Repository = "" } else { - x.Repository = string(r.DecodeString()) + yyv11 := &x.Repository + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj898++ - if yyhl898 { - yyb898 = yyj898 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb898 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb898 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13315,15 +14033,21 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Revision = "" } else { - x.Revision = string(r.DecodeString()) + yyv13 := &x.Revision + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj898++ - if yyhl898 { - yyb898 = yyj898 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb898 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb898 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13331,20 +14055,26 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Directory = "" } else { - x.Directory = string(r.DecodeString()) + yyv15 := &x.Directory + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } for { - yyj898++ - if yyhl898 { - yyb898 = yyj898 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb898 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb898 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj898-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13356,37 +14086,37 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym902 := z.EncBinary() - _ = yym902 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep903 := !z.EncBinary() - yy2arr903 := z.EncBasicHandle().StructToArray - var yyq903 [3]bool - _, _, _ = yysep903, yyq903, yy2arr903 - const yyr903 bool = false - yyq903[0] = x.SecretName != "" - yyq903[1] = len(x.Items) != 0 - yyq903[2] = x.DefaultMode != nil - var yynn903 int - if yyr903 || yy2arr903 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.SecretName != "" + yyq2[1] = len(x.Items) != 0 + yyq2[2] = x.DefaultMode != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn903 = 0 - for _, b := range yyq903 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn903++ + yynn2++ } } - r.EncodeMapStart(yynn903) - yynn903 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr903 || yy2arr903 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq903[0] { - yym905 := z.EncBinary() - _ = yym905 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -13395,26 +14125,26 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq903[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym906 := z.EncBinary() - _ = yym906 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } } - if yyr903 || yy2arr903 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq903[1] { + if yyq2[1] { if x.Items == nil { r.EncodeNil() } else { - yym908 := z.EncBinary() - _ = yym908 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -13424,15 +14154,15 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq903[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym909 := z.EncBinary() - _ = yym909 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -13440,42 +14170,42 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr903 || yy2arr903 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq903[2] { + if yyq2[2] { if x.DefaultMode == nil { r.EncodeNil() } else { - yy911 := *x.DefaultMode - yym912 := z.EncBinary() - _ = yym912 + yy10 := *x.DefaultMode + yym11 := z.EncBinary() + _ = yym11 if false { } else { - r.EncodeInt(int64(yy911)) + r.EncodeInt(int64(yy10)) } } } else { r.EncodeNil() } } else { - if yyq903[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultMode == nil { r.EncodeNil() } else { - yy913 := *x.DefaultMode - yym914 := z.EncBinary() - _ = yym914 + yy12 := *x.DefaultMode + yym13 := z.EncBinary() + _ = yym13 if false { } else { - r.EncodeInt(int64(yy913)) + r.EncodeInt(int64(yy12)) } } } } - if yyr903 || yy2arr903 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13488,25 +14218,25 @@ func (x *SecretVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym915 := z.DecBinary() - _ = yym915 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct916 := r.ContainerType() - if yyct916 == codecSelferValueTypeMap1234 { - yyl916 := r.ReadMapStart() - if yyl916 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl916, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct916 == codecSelferValueTypeArray1234 { - yyl916 := r.ReadArrayStart() - if yyl916 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl916, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13518,12 +14248,12 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys917Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys917Slc - var yyhl917 bool = l >= 0 - for yyj917 := 0; ; yyj917++ { - if yyhl917 { - if yyj917 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -13532,26 +14262,32 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys917Slc = r.DecodeBytes(yys917Slc, true, true) - yys917 := string(yys917Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys917 { + switch yys3 { case "secretName": if r.TryDecodeAsNil() { x.SecretName = "" } else { - x.SecretName = string(r.DecodeString()) + yyv4 := &x.SecretName + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv919 := &x.Items - yym920 := z.DecBinary() - _ = yym920 + yyv6 := &x.Items + yym7 := z.DecBinary() + _ = yym7 if false { } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv919), d) + h.decSliceKeyToPath((*[]KeyToPath)(yyv6), d) } } case "defaultMode": @@ -13563,17 +14299,17 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym922 := z.DecBinary() - _ = yym922 + yym9 := z.DecBinary() + _ = yym9 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys917) - } // end switch yys917 - } // end for yyj917 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13581,16 +14317,16 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj923 int - var yyb923 bool - var yyhl923 bool = l >= 0 - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb923 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb923 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13598,15 +14334,21 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SecretName = "" } else { - x.SecretName = string(r.DecodeString()) + yyv11 := &x.SecretName + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb923 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb923 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13614,21 +14356,21 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Items = nil } else { - yyv925 := &x.Items - yym926 := z.DecBinary() - _ = yym926 + yyv13 := &x.Items + yym14 := z.DecBinary() + _ = yym14 if false { } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv925), d) + h.decSliceKeyToPath((*[]KeyToPath)(yyv13), d) } } - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb923 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb923 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13641,25 +14383,25 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym928 := z.DecBinary() - _ = yym928 + yym16 := z.DecBinary() + _ = yym16 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } for { - yyj923++ - if yyhl923 { - yyb923 = yyj923 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb923 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb923 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj923-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13671,34 +14413,34 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym929 := z.EncBinary() - _ = yym929 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep930 := !z.EncBinary() - yy2arr930 := z.EncBasicHandle().StructToArray - var yyq930 [3]bool - _, _, _ = yysep930, yyq930, yy2arr930 - const yyr930 bool = false - yyq930[2] = x.ReadOnly != false - var yynn930 int - if yyr930 || yy2arr930 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = x.ReadOnly != false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn930 = 2 - for _, b := range yyq930 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn930++ + yynn2++ } } - r.EncodeMapStart(yynn930) - yynn930 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr930 || yy2arr930 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym932 := z.EncBinary() - _ = yym932 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) @@ -13707,17 +14449,17 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("server")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym933 := z.EncBinary() - _ = yym933 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) } } - if yyr930 || yy2arr930 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym935 := z.EncBinary() - _ = yym935 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -13726,18 +14468,18 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym936 := z.EncBinary() - _ = yym936 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr930 || yy2arr930 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq930[2] { - yym938 := z.EncBinary() - _ = yym938 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -13746,19 +14488,19 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq930[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym939 := z.EncBinary() - _ = yym939 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr930 || yy2arr930 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13771,25 +14513,25 @@ func (x *NFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym940 := z.DecBinary() - _ = yym940 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct941 := r.ContainerType() - if yyct941 == codecSelferValueTypeMap1234 { - yyl941 := r.ReadMapStart() - if yyl941 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl941, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct941 == codecSelferValueTypeArray1234 { - yyl941 := r.ReadArrayStart() - if yyl941 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl941, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13801,12 +14543,12 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys942Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys942Slc - var yyhl942 bool = l >= 0 - for yyj942 := 0; ; yyj942++ { - if yyhl942 { - if yyj942 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -13815,32 +14557,50 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys942Slc = r.DecodeBytes(yys942Slc, true, true) - yys942 := string(yys942Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys942 { + switch yys3 { case "server": if r.TryDecodeAsNil() { x.Server = "" } else { - x.Server = string(r.DecodeString()) + yyv4 := &x.Server + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "path": if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv6 := &x.Path + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "readOnly": if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv8 := &x.ReadOnly + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*bool)(yyv8)) = r.DecodeBool() + } } default: - z.DecStructFieldNotFound(-1, yys942) - } // end switch yys942 - } // end for yyj942 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13848,16 +14608,16 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj946 int - var yyb946 bool - var yyhl946 bool = l >= 0 - yyj946++ - if yyhl946 { - yyb946 = yyj946 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb946 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb946 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13865,15 +14625,21 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Server = "" } else { - x.Server = string(r.DecodeString()) + yyv11 := &x.Server + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj946++ - if yyhl946 { - yyb946 = yyj946 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb946 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb946 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13881,15 +14647,21 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv13 := &x.Path + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj946++ - if yyhl946 { - yyb946 = yyj946 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb946 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb946 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13897,20 +14669,26 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv15 := &x.ReadOnly + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*bool)(yyv15)) = r.DecodeBool() + } } for { - yyj946++ - if yyhl946 { - yyb946 = yyj946 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb946 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb946 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj946-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13922,36 +14700,36 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym950 := z.EncBinary() - _ = yym950 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep951 := !z.EncBinary() - yy2arr951 := z.EncBasicHandle().StructToArray - var yyq951 [6]bool - _, _, _ = yysep951, yyq951, yy2arr951 - const yyr951 bool = false - yyq951[3] = x.ISCSIInterface != "" - yyq951[4] = x.FSType != "" - yyq951[5] = x.ReadOnly != false - var yynn951 int - if yyr951 || yy2arr951 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[3] = x.ISCSIInterface != "" + yyq2[4] = x.FSType != "" + yyq2[5] = x.ReadOnly != false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn951 = 3 - for _, b := range yyq951 { + yynn2 = 3 + for _, b := range yyq2 { if b { - yynn951++ + yynn2++ } } - r.EncodeMapStart(yynn951) - yynn951 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr951 || yy2arr951 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym953 := z.EncBinary() - _ = yym953 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) @@ -13960,17 +14738,17 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPortal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym954 := z.EncBinary() - _ = yym954 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) } } - if yyr951 || yy2arr951 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym956 := z.EncBinary() - _ = yym956 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) @@ -13979,17 +14757,17 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iqn")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym957 := z.EncBinary() - _ = yym957 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) } } - if yyr951 || yy2arr951 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym959 := z.EncBinary() - _ = yym959 + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeInt(int64(x.Lun)) @@ -13998,18 +14776,18 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lun")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym960 := z.EncBinary() - _ = yym960 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeInt(int64(x.Lun)) } } - if yyr951 || yy2arr951 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq951[3] { - yym962 := z.EncBinary() - _ = yym962 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) @@ -14018,23 +14796,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq951[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsiInterface")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym963 := z.EncBinary() - _ = yym963 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) } } } - if yyr951 || yy2arr951 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq951[4] { - yym965 := z.EncBinary() - _ = yym965 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -14043,23 +14821,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq951[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym966 := z.EncBinary() - _ = yym966 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr951 || yy2arr951 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq951[5] { - yym968 := z.EncBinary() - _ = yym968 + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -14068,19 +14846,19 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq951[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym969 := z.EncBinary() - _ = yym969 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr951 || yy2arr951 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14093,25 +14871,25 @@ func (x *ISCSIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym970 := z.DecBinary() - _ = yym970 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct971 := r.ContainerType() - if yyct971 == codecSelferValueTypeMap1234 { - yyl971 := r.ReadMapStart() - if yyl971 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl971, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct971 == codecSelferValueTypeArray1234 { - yyl971 := r.ReadArrayStart() - if yyl971 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl971, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14123,12 +14901,12 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys972Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys972Slc - var yyhl972 bool = l >= 0 - for yyj972 := 0; ; yyj972++ { - if yyhl972 { - if yyj972 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -14137,50 +14915,86 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys972Slc = r.DecodeBytes(yys972Slc, true, true) - yys972 := string(yys972Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys972 { + switch yys3 { case "targetPortal": if r.TryDecodeAsNil() { x.TargetPortal = "" } else { - x.TargetPortal = string(r.DecodeString()) + yyv4 := &x.TargetPortal + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "iqn": if r.TryDecodeAsNil() { x.IQN = "" } else { - x.IQN = string(r.DecodeString()) + yyv6 := &x.IQN + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "lun": if r.TryDecodeAsNil() { x.Lun = 0 } else { - x.Lun = int32(r.DecodeInt(32)) + yyv8 := &x.Lun + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*int32)(yyv8)) = int32(r.DecodeInt(32)) + } } case "iscsiInterface": if r.TryDecodeAsNil() { x.ISCSIInterface = "" } else { - x.ISCSIInterface = string(r.DecodeString()) + yyv10 := &x.ISCSIInterface + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "fsType": if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv12 := &x.FSType + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } case "readOnly": if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv14 := &x.ReadOnly + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*bool)(yyv14)) = r.DecodeBool() + } } default: - z.DecStructFieldNotFound(-1, yys972) - } // end switch yys972 - } // end for yyj972 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14188,16 +15002,16 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj979 int - var yyb979 bool - var yyhl979 bool = l >= 0 - yyj979++ - if yyhl979 { - yyb979 = yyj979 > l + var yyj16 int + var yyb16 bool + var yyhl16 bool = l >= 0 + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb979 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb979 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14205,15 +15019,21 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.TargetPortal = "" } else { - x.TargetPortal = string(r.DecodeString()) + yyv17 := &x.TargetPortal + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*string)(yyv17)) = r.DecodeString() + } } - yyj979++ - if yyhl979 { - yyb979 = yyj979 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb979 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb979 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14221,15 +15041,21 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.IQN = "" } else { - x.IQN = string(r.DecodeString()) + yyv19 := &x.IQN + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } - yyj979++ - if yyhl979 { - yyb979 = yyj979 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb979 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb979 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14237,15 +15063,21 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Lun = 0 } else { - x.Lun = int32(r.DecodeInt(32)) + yyv21 := &x.Lun + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*int32)(yyv21)) = int32(r.DecodeInt(32)) + } } - yyj979++ - if yyhl979 { - yyb979 = yyj979 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb979 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb979 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14253,15 +15085,21 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ISCSIInterface = "" } else { - x.ISCSIInterface = string(r.DecodeString()) + yyv23 := &x.ISCSIInterface + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*string)(yyv23)) = r.DecodeString() + } } - yyj979++ - if yyhl979 { - yyb979 = yyj979 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb979 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb979 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14269,15 +15107,21 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv25 := &x.FSType + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*string)(yyv25)) = r.DecodeString() + } } - yyj979++ - if yyhl979 { - yyb979 = yyj979 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb979 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb979 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14285,20 +15129,26 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv27 := &x.ReadOnly + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*bool)(yyv27)) = r.DecodeBool() + } } for { - yyj979++ - if yyhl979 { - yyb979 = yyj979 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb979 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb979 { + if yyb16 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj979-1, "") + z.DecStructFieldNotFound(yyj16-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14310,38 +15160,38 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym986 := z.EncBinary() - _ = yym986 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep987 := !z.EncBinary() - yy2arr987 := z.EncBasicHandle().StructToArray - var yyq987 [4]bool - _, _, _ = yysep987, yyq987, yy2arr987 - const yyr987 bool = false - yyq987[2] = x.FSType != "" - yyq987[3] = x.ReadOnly != false - var yynn987 int - if yyr987 || yy2arr987 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = x.FSType != "" + yyq2[3] = x.ReadOnly != false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn987 = 2 - for _, b := range yyq987 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn987++ + yynn2++ } } - r.EncodeMapStart(yynn987) - yynn987 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr987 || yy2arr987 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TargetWWNs == nil { r.EncodeNil() } else { - yym989 := z.EncBinary() - _ = yym989 + yym4 := z.EncBinary() + _ = yym4 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) @@ -14354,25 +15204,25 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.TargetWWNs == nil { r.EncodeNil() } else { - yym990 := z.EncBinary() - _ = yym990 + yym5 := z.EncBinary() + _ = yym5 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) } } } - if yyr987 || yy2arr987 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Lun == nil { r.EncodeNil() } else { - yy992 := *x.Lun - yym993 := z.EncBinary() - _ = yym993 + yy7 := *x.Lun + yym8 := z.EncBinary() + _ = yym8 if false { } else { - r.EncodeInt(int64(yy992)) + r.EncodeInt(int64(yy7)) } } } else { @@ -14382,20 +15232,20 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Lun == nil { r.EncodeNil() } else { - yy994 := *x.Lun - yym995 := z.EncBinary() - _ = yym995 + yy9 := *x.Lun + yym10 := z.EncBinary() + _ = yym10 if false { } else { - r.EncodeInt(int64(yy994)) + r.EncodeInt(int64(yy9)) } } } - if yyr987 || yy2arr987 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq987[2] { - yym997 := z.EncBinary() - _ = yym997 + if yyq2[2] { + yym12 := z.EncBinary() + _ = yym12 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -14404,23 +15254,23 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq987[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym998 := z.EncBinary() - _ = yym998 + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr987 || yy2arr987 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq987[3] { - yym1000 := z.EncBinary() - _ = yym1000 + if yyq2[3] { + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -14429,19 +15279,19 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq987[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1001 := z.EncBinary() - _ = yym1001 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr987 || yy2arr987 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14454,25 +15304,25 @@ func (x *FCVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1002 := z.DecBinary() - _ = yym1002 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1003 := r.ContainerType() - if yyct1003 == codecSelferValueTypeMap1234 { - yyl1003 := r.ReadMapStart() - if yyl1003 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1003, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1003 == codecSelferValueTypeArray1234 { - yyl1003 := r.ReadArrayStart() - if yyl1003 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1003, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14484,12 +15334,12 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1004Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1004Slc - var yyhl1004 bool = l >= 0 - for yyj1004 := 0; ; yyj1004++ { - if yyhl1004 { - if yyj1004 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -14498,20 +15348,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1004Slc = r.DecodeBytes(yys1004Slc, true, true) - yys1004 := string(yys1004Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1004 { + switch yys3 { case "targetWWNs": if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv1005 := &x.TargetWWNs - yym1006 := z.DecBinary() - _ = yym1006 + yyv4 := &x.TargetWWNs + yym5 := z.DecBinary() + _ = yym5 if false { } else { - z.F.DecSliceStringX(yyv1005, false, d) + z.F.DecSliceStringX(yyv4, false, d) } } case "lun": @@ -14523,8 +15373,8 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int32) } - yym1008 := z.DecBinary() - _ = yym1008 + yym7 := z.DecBinary() + _ = yym7 if false { } else { *((*int32)(x.Lun)) = int32(r.DecodeInt(32)) @@ -14534,18 +15384,30 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv8 := &x.FSType + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "readOnly": if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv10 := &x.ReadOnly + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*bool)(yyv10)) = r.DecodeBool() + } } default: - z.DecStructFieldNotFound(-1, yys1004) - } // end switch yys1004 - } // end for yyj1004 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14553,16 +15415,16 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1011 int - var yyb1011 bool - var yyhl1011 bool = l >= 0 - yyj1011++ - if yyhl1011 { - yyb1011 = yyj1011 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1011 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1011 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14570,21 +15432,21 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv1012 := &x.TargetWWNs - yym1013 := z.DecBinary() - _ = yym1013 + yyv13 := &x.TargetWWNs + yym14 := z.DecBinary() + _ = yym14 if false { } else { - z.F.DecSliceStringX(yyv1012, false, d) + z.F.DecSliceStringX(yyv13, false, d) } } - yyj1011++ - if yyhl1011 { - yyb1011 = yyj1011 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1011 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1011 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14597,20 +15459,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int32) } - yym1015 := z.DecBinary() - _ = yym1015 + yym16 := z.DecBinary() + _ = yym16 if false { } else { *((*int32)(x.Lun)) = int32(r.DecodeInt(32)) } } - yyj1011++ - if yyhl1011 { - yyb1011 = yyj1011 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1011 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1011 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14618,15 +15480,21 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv17 := &x.FSType + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*string)(yyv17)) = r.DecodeString() + } } - yyj1011++ - if yyhl1011 { - yyb1011 = yyj1011 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1011 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1011 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14634,20 +15502,26 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv19 := &x.ReadOnly + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*bool)(yyv19)) = r.DecodeBool() + } } for { - yyj1011++ - if yyhl1011 { - yyb1011 = yyj1011 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1011 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1011 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1011-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14659,34 +15533,34 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1018 := z.EncBinary() - _ = yym1018 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1019 := !z.EncBinary() - yy2arr1019 := z.EncBasicHandle().StructToArray - var yyq1019 [3]bool - _, _, _ = yysep1019, yyq1019, yy2arr1019 - const yyr1019 bool = false - yyq1019[2] = x.ReadOnly != false - var yynn1019 int - if yyr1019 || yy2arr1019 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = x.ReadOnly != false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn1019 = 2 - for _, b := range yyq1019 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn1019++ + yynn2++ } } - r.EncodeMapStart(yynn1019) - yynn1019 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1019 || yy2arr1019 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1021 := z.EncBinary() - _ = yym1021 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -14695,17 +15569,17 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1022 := z.EncBinary() - _ = yym1022 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } - if yyr1019 || yy2arr1019 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1024 := z.EncBinary() - _ = yym1024 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ShareName)) @@ -14714,18 +15588,18 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("shareName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1025 := z.EncBinary() - _ = yym1025 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ShareName)) } } - if yyr1019 || yy2arr1019 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1019[2] { - yym1027 := z.EncBinary() - _ = yym1027 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -14734,19 +15608,19 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1019[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1028 := z.EncBinary() - _ = yym1028 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr1019 || yy2arr1019 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14759,25 +15633,25 @@ func (x *AzureFileVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1029 := z.DecBinary() - _ = yym1029 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1030 := r.ContainerType() - if yyct1030 == codecSelferValueTypeMap1234 { - yyl1030 := r.ReadMapStart() - if yyl1030 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1030, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1030 == codecSelferValueTypeArray1234 { - yyl1030 := r.ReadArrayStart() - if yyl1030 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1030, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14789,12 +15663,12 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1031Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1031Slc - var yyhl1031 bool = l >= 0 - for yyj1031 := 0; ; yyj1031++ { - if yyhl1031 { - if yyj1031 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -14803,32 +15677,50 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1031Slc = r.DecodeBytes(yys1031Slc, true, true) - yys1031 := string(yys1031Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1031 { + switch yys3 { case "secretName": if r.TryDecodeAsNil() { x.SecretName = "" } else { - x.SecretName = string(r.DecodeString()) + yyv4 := &x.SecretName + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "shareName": if r.TryDecodeAsNil() { x.ShareName = "" } else { - x.ShareName = string(r.DecodeString()) + yyv6 := &x.ShareName + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "readOnly": if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv8 := &x.ReadOnly + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*bool)(yyv8)) = r.DecodeBool() + } } default: - z.DecStructFieldNotFound(-1, yys1031) - } // end switch yys1031 - } // end for yyj1031 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14836,16 +15728,16 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1035 int - var yyb1035 bool - var yyhl1035 bool = l >= 0 - yyj1035++ - if yyhl1035 { - yyb1035 = yyj1035 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1035 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1035 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14853,15 +15745,21 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SecretName = "" } else { - x.SecretName = string(r.DecodeString()) + yyv11 := &x.SecretName + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj1035++ - if yyhl1035 { - yyb1035 = yyj1035 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1035 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1035 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14869,15 +15767,21 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ShareName = "" } else { - x.ShareName = string(r.DecodeString()) + yyv13 := &x.ShareName + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj1035++ - if yyhl1035 { - yyb1035 = yyj1035 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1035 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1035 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14885,20 +15789,26 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv15 := &x.ReadOnly + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*bool)(yyv15)) = r.DecodeBool() + } } for { - yyj1035++ - if yyhl1035 { - yyb1035 = yyj1035 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1035 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1035 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1035-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14910,34 +15820,34 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1039 := z.EncBinary() - _ = yym1039 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1040 := !z.EncBinary() - yy2arr1040 := z.EncBasicHandle().StructToArray - var yyq1040 [2]bool - _, _, _ = yysep1040, yyq1040, yy2arr1040 - const yyr1040 bool = false - yyq1040[1] = x.FSType != "" - var yynn1040 int - if yyr1040 || yy2arr1040 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.FSType != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1040 = 1 - for _, b := range yyq1040 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1040++ + yynn2++ } } - r.EncodeMapStart(yynn1040) - yynn1040 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1040 || yy2arr1040 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1042 := z.EncBinary() - _ = yym1042 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumePath)) @@ -14946,18 +15856,18 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1043 := z.EncBinary() - _ = yym1043 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumePath)) } } - if yyr1040 || yy2arr1040 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1040[1] { - yym1045 := z.EncBinary() - _ = yym1045 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -14966,19 +15876,19 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1040[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1046 := z.EncBinary() - _ = yym1046 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr1040 || yy2arr1040 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14991,25 +15901,25 @@ func (x *VsphereVirtualDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1047 := z.DecBinary() - _ = yym1047 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1048 := r.ContainerType() - if yyct1048 == codecSelferValueTypeMap1234 { - yyl1048 := r.ReadMapStart() - if yyl1048 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1048, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1048 == codecSelferValueTypeArray1234 { - yyl1048 := r.ReadArrayStart() - if yyl1048 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1048, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15021,12 +15931,12 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1049Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1049Slc - var yyhl1049 bool = l >= 0 - for yyj1049 := 0; ; yyj1049++ { - if yyhl1049 { - if yyj1049 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -15035,26 +15945,38 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1049Slc = r.DecodeBytes(yys1049Slc, true, true) - yys1049 := string(yys1049Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1049 { + switch yys3 { case "volumePath": if r.TryDecodeAsNil() { x.VolumePath = "" } else { - x.VolumePath = string(r.DecodeString()) + yyv4 := &x.VolumePath + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "fsType": if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv6 := &x.FSType + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys1049) - } // end switch yys1049 - } // end for yyj1049 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15062,16 +15984,16 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1052 int - var yyb1052 bool - var yyhl1052 bool = l >= 0 - yyj1052++ - if yyhl1052 { - yyb1052 = yyj1052 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1052 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1052 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15079,15 +16001,21 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code if r.TryDecodeAsNil() { x.VolumePath = "" } else { - x.VolumePath = string(r.DecodeString()) + yyv9 := &x.VolumePath + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj1052++ - if yyhl1052 { - yyb1052 = yyj1052 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1052 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1052 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15095,20 +16023,26 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv11 := &x.FSType + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj1052++ - if yyhl1052 { - yyb1052 = yyj1052 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1052 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1052 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1052-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15120,34 +16054,34 @@ func (x *PhotonPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) if x == nil { r.EncodeNil() } else { - yym1055 := z.EncBinary() - _ = yym1055 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1056 := !z.EncBinary() - yy2arr1056 := z.EncBasicHandle().StructToArray - var yyq1056 [2]bool - _, _, _ = yysep1056, yyq1056, yy2arr1056 - const yyr1056 bool = false - yyq1056[1] = x.FSType != "" - var yynn1056 int - if yyr1056 || yy2arr1056 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.FSType != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1056 = 1 - for _, b := range yyq1056 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1056++ + yynn2++ } } - r.EncodeMapStart(yynn1056) - yynn1056 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1056 || yy2arr1056 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1058 := z.EncBinary() - _ = yym1058 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PdID)) @@ -15156,18 +16090,18 @@ func (x *PhotonPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pdID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1059 := z.EncBinary() - _ = yym1059 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PdID)) } } - if yyr1056 || yy2arr1056 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1056[1] { - yym1061 := z.EncBinary() - _ = yym1061 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -15176,19 +16110,19 @@ func (x *PhotonPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1056[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1062 := z.EncBinary() - _ = yym1062 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr1056 || yy2arr1056 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15201,25 +16135,25 @@ func (x *PhotonPersistentDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1063 := z.DecBinary() - _ = yym1063 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1064 := r.ContainerType() - if yyct1064 == codecSelferValueTypeMap1234 { - yyl1064 := r.ReadMapStart() - if yyl1064 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1064, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1064 == codecSelferValueTypeArray1234 { - yyl1064 := r.ReadArrayStart() - if yyl1064 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1064, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15231,12 +16165,12 @@ func (x *PhotonPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1065Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1065Slc - var yyhl1065 bool = l >= 0 - for yyj1065 := 0; ; yyj1065++ { - if yyhl1065 { - if yyj1065 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -15245,26 +16179,38 @@ func (x *PhotonPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *code } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1065Slc = r.DecodeBytes(yys1065Slc, true, true) - yys1065 := string(yys1065Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1065 { + switch yys3 { case "pdID": if r.TryDecodeAsNil() { x.PdID = "" } else { - x.PdID = string(r.DecodeString()) + yyv4 := &x.PdID + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "fsType": if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv6 := &x.FSType + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys1065) - } // end switch yys1065 - } // end for yyj1065 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15272,16 +16218,16 @@ func (x *PhotonPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1068 int - var yyb1068 bool - var yyhl1068 bool = l >= 0 - yyj1068++ - if yyhl1068 { - yyb1068 = yyj1068 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1068 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1068 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15289,15 +16235,21 @@ func (x *PhotonPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *co if r.TryDecodeAsNil() { x.PdID = "" } else { - x.PdID = string(r.DecodeString()) + yyv9 := &x.PdID + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj1068++ - if yyhl1068 { - yyb1068 = yyj1068 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1068 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1068 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15305,20 +16257,26 @@ func (x *PhotonPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *co if r.TryDecodeAsNil() { x.FSType = "" } else { - x.FSType = string(r.DecodeString()) + yyv11 := &x.FSType + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj1068++ - if yyhl1068 { - yyb1068 = yyj1068 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1068 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1068 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1068-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15327,8 +16285,8 @@ func (x AzureDataDiskCachingMode) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1071 := z.EncBinary() - _ = yym1071 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -15340,8 +16298,8 @@ func (x *AzureDataDiskCachingMode) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1072 := z.DecBinary() - _ = yym1072 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -15356,36 +16314,36 @@ func (x *AzureDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1073 := z.EncBinary() - _ = yym1073 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1074 := !z.EncBinary() - yy2arr1074 := z.EncBasicHandle().StructToArray - var yyq1074 [5]bool - _, _, _ = yysep1074, yyq1074, yy2arr1074 - const yyr1074 bool = false - yyq1074[2] = x.CachingMode != nil - yyq1074[3] = x.FSType != nil - yyq1074[4] = x.ReadOnly != nil - var yynn1074 int - if yyr1074 || yy2arr1074 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = x.CachingMode != nil + yyq2[3] = x.FSType != nil + yyq2[4] = x.ReadOnly != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn1074 = 2 - for _, b := range yyq1074 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn1074++ + yynn2++ } } - r.EncodeMapStart(yynn1074) - yynn1074 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1074 || yy2arr1074 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1076 := z.EncBinary() - _ = yym1076 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DiskName)) @@ -15394,17 +16352,17 @@ func (x *AzureDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("diskName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1077 := z.EncBinary() - _ = yym1077 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DiskName)) } } - if yyr1074 || yy2arr1074 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1079 := z.EncBinary() - _ = yym1079 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DataDiskURI)) @@ -15413,109 +16371,109 @@ func (x *AzureDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("diskURI")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1080 := z.EncBinary() - _ = yym1080 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DataDiskURI)) } } - if yyr1074 || yy2arr1074 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1074[2] { + if yyq2[2] { if x.CachingMode == nil { r.EncodeNil() } else { - yy1082 := *x.CachingMode - yy1082.CodecEncodeSelf(e) + yy10 := *x.CachingMode + yy10.CodecEncodeSelf(e) } } else { r.EncodeNil() } } else { - if yyq1074[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cachingMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CachingMode == nil { r.EncodeNil() } else { - yy1083 := *x.CachingMode - yy1083.CodecEncodeSelf(e) + yy12 := *x.CachingMode + yy12.CodecEncodeSelf(e) } } } - if yyr1074 || yy2arr1074 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1074[3] { + if yyq2[3] { if x.FSType == nil { r.EncodeNil() } else { - yy1085 := *x.FSType - yym1086 := z.EncBinary() - _ = yym1086 + yy15 := *x.FSType + yym16 := z.EncBinary() + _ = yym16 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1085)) + r.EncodeString(codecSelferC_UTF81234, string(yy15)) } } } else { r.EncodeNil() } } else { - if yyq1074[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.FSType == nil { r.EncodeNil() } else { - yy1087 := *x.FSType - yym1088 := z.EncBinary() - _ = yym1088 + yy17 := *x.FSType + yym18 := z.EncBinary() + _ = yym18 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1087)) + r.EncodeString(codecSelferC_UTF81234, string(yy17)) } } } } - if yyr1074 || yy2arr1074 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1074[4] { + if yyq2[4] { if x.ReadOnly == nil { r.EncodeNil() } else { - yy1090 := *x.ReadOnly - yym1091 := z.EncBinary() - _ = yym1091 + yy20 := *x.ReadOnly + yym21 := z.EncBinary() + _ = yym21 if false { } else { - r.EncodeBool(bool(yy1090)) + r.EncodeBool(bool(yy20)) } } } else { r.EncodeNil() } } else { - if yyq1074[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ReadOnly == nil { r.EncodeNil() } else { - yy1092 := *x.ReadOnly - yym1093 := z.EncBinary() - _ = yym1093 + yy22 := *x.ReadOnly + yym23 := z.EncBinary() + _ = yym23 if false { } else { - r.EncodeBool(bool(yy1092)) + r.EncodeBool(bool(yy22)) } } } } - if yyr1074 || yy2arr1074 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15528,25 +16486,25 @@ func (x *AzureDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1094 := z.DecBinary() - _ = yym1094 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1095 := r.ContainerType() - if yyct1095 == codecSelferValueTypeMap1234 { - yyl1095 := r.ReadMapStart() - if yyl1095 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1095, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1095 == codecSelferValueTypeArray1234 { - yyl1095 := r.ReadArrayStart() - if yyl1095 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1095, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15558,12 +16516,12 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1096Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1096Slc - var yyhl1096 bool = l >= 0 - for yyj1096 := 0; ; yyj1096++ { - if yyhl1096 { - if yyj1096 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -15572,21 +16530,33 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1096Slc = r.DecodeBytes(yys1096Slc, true, true) - yys1096 := string(yys1096Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1096 { + switch yys3 { case "diskName": if r.TryDecodeAsNil() { x.DiskName = "" } else { - x.DiskName = string(r.DecodeString()) + yyv4 := &x.DiskName + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "diskURI": if r.TryDecodeAsNil() { x.DataDiskURI = "" } else { - x.DataDiskURI = string(r.DecodeString()) + yyv6 := &x.DataDiskURI + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "cachingMode": if r.TryDecodeAsNil() { @@ -15608,8 +16578,8 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod if x.FSType == nil { x.FSType = new(string) } - yym1101 := z.DecBinary() - _ = yym1101 + yym10 := z.DecBinary() + _ = yym10 if false { } else { *((*string)(x.FSType)) = r.DecodeString() @@ -15624,17 +16594,17 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod if x.ReadOnly == nil { x.ReadOnly = new(bool) } - yym1103 := z.DecBinary() - _ = yym1103 + yym12 := z.DecBinary() + _ = yym12 if false { } else { *((*bool)(x.ReadOnly)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys1096) - } // end switch yys1096 - } // end for yyj1096 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15642,16 +16612,16 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1104 int - var yyb1104 bool - var yyhl1104 bool = l >= 0 - yyj1104++ - if yyhl1104 { - yyb1104 = yyj1104 > l + var yyj13 int + var yyb13 bool + var yyhl13 bool = l >= 0 + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1104 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1104 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15659,15 +16629,21 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.DiskName = "" } else { - x.DiskName = string(r.DecodeString()) + yyv14 := &x.DiskName + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj1104++ - if yyhl1104 { - yyb1104 = yyj1104 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1104 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1104 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15675,15 +16651,21 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.DataDiskURI = "" } else { - x.DataDiskURI = string(r.DecodeString()) + yyv16 := &x.DataDiskURI + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } - yyj1104++ - if yyhl1104 { - yyb1104 = yyj1104 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1104 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1104 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15698,13 +16680,13 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } x.CachingMode.CodecDecodeSelf(d) } - yyj1104++ - if yyhl1104 { - yyb1104 = yyj1104 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1104 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1104 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15717,20 +16699,20 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if x.FSType == nil { x.FSType = new(string) } - yym1109 := z.DecBinary() - _ = yym1109 + yym20 := z.DecBinary() + _ = yym20 if false { } else { *((*string)(x.FSType)) = r.DecodeString() } } - yyj1104++ - if yyhl1104 { - yyb1104 = yyj1104 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1104 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1104 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15743,25 +16725,25 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if x.ReadOnly == nil { x.ReadOnly = new(bool) } - yym1111 := z.DecBinary() - _ = yym1111 + yym22 := z.DecBinary() + _ = yym22 if false { } else { *((*bool)(x.ReadOnly)) = r.DecodeBool() } } for { - yyj1104++ - if yyhl1104 { - yyb1104 = yyj1104 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1104 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1104 { + if yyb13 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1104-1, "") + z.DecStructFieldNotFound(yyj13-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15773,37 +16755,37 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1112 := z.EncBinary() - _ = yym1112 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1113 := !z.EncBinary() - yy2arr1113 := z.EncBasicHandle().StructToArray - var yyq1113 [3]bool - _, _, _ = yysep1113, yyq1113, yy2arr1113 - const yyr1113 bool = false - yyq1113[0] = x.Name != "" - yyq1113[1] = len(x.Items) != 0 - yyq1113[2] = x.DefaultMode != nil - var yynn1113 int - if yyr1113 || yy2arr1113 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Name != "" + yyq2[1] = len(x.Items) != 0 + yyq2[2] = x.DefaultMode != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn1113 = 0 - for _, b := range yyq1113 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1113++ + yynn2++ } } - r.EncodeMapStart(yynn1113) - yynn1113 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1113 || yy2arr1113 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1113[0] { - yym1115 := z.EncBinary() - _ = yym1115 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -15812,26 +16794,26 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1113[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1116 := z.EncBinary() - _ = yym1116 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr1113 || yy2arr1113 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1113[1] { + if yyq2[1] { if x.Items == nil { r.EncodeNil() } else { - yym1118 := z.EncBinary() - _ = yym1118 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -15841,15 +16823,15 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1113[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym1119 := z.EncBinary() - _ = yym1119 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -15857,42 +16839,42 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1113 || yy2arr1113 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1113[2] { + if yyq2[2] { if x.DefaultMode == nil { r.EncodeNil() } else { - yy1121 := *x.DefaultMode - yym1122 := z.EncBinary() - _ = yym1122 + yy10 := *x.DefaultMode + yym11 := z.EncBinary() + _ = yym11 if false { } else { - r.EncodeInt(int64(yy1121)) + r.EncodeInt(int64(yy10)) } } } else { r.EncodeNil() } } else { - if yyq1113[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultMode == nil { r.EncodeNil() } else { - yy1123 := *x.DefaultMode - yym1124 := z.EncBinary() - _ = yym1124 + yy12 := *x.DefaultMode + yym13 := z.EncBinary() + _ = yym13 if false { } else { - r.EncodeInt(int64(yy1123)) + r.EncodeInt(int64(yy12)) } } } } - if yyr1113 || yy2arr1113 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15905,25 +16887,25 @@ func (x *ConfigMapVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1125 := z.DecBinary() - _ = yym1125 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1126 := r.ContainerType() - if yyct1126 == codecSelferValueTypeMap1234 { - yyl1126 := r.ReadMapStart() - if yyl1126 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1126, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1126 == codecSelferValueTypeArray1234 { - yyl1126 := r.ReadArrayStart() - if yyl1126 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1126, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15935,12 +16917,12 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1127Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1127Slc - var yyhl1127 bool = l >= 0 - for yyj1127 := 0; ; yyj1127++ { - if yyhl1127 { - if yyj1127 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -15949,26 +16931,32 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1127Slc = r.DecodeBytes(yys1127Slc, true, true) - yys1127 := string(yys1127Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1127 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1129 := &x.Items - yym1130 := z.DecBinary() - _ = yym1130 + yyv6 := &x.Items + yym7 := z.DecBinary() + _ = yym7 if false { } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv1129), d) + h.decSliceKeyToPath((*[]KeyToPath)(yyv6), d) } } case "defaultMode": @@ -15980,17 +16968,17 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym1132 := z.DecBinary() - _ = yym1132 + yym9 := z.DecBinary() + _ = yym9 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys1127) - } // end switch yys1127 - } // end for yyj1127 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15998,16 +16986,16 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1133 int - var yyb1133 bool - var yyhl1133 bool = l >= 0 - yyj1133++ - if yyhl1133 { - yyb1133 = yyj1133 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1133 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1133 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16015,15 +17003,21 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv11 := &x.Name + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj1133++ - if yyhl1133 { - yyb1133 = yyj1133 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1133 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1133 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16031,21 +17025,21 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1135 := &x.Items - yym1136 := z.DecBinary() - _ = yym1136 + yyv13 := &x.Items + yym14 := z.DecBinary() + _ = yym14 if false { } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv1135), d) + h.decSliceKeyToPath((*[]KeyToPath)(yyv13), d) } } - yyj1133++ - if yyhl1133 { - yyb1133 = yyj1133 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1133 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1133 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16058,25 +17052,25 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym1138 := z.DecBinary() - _ = yym1138 + yym16 := z.DecBinary() + _ = yym16 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } for { - yyj1133++ - if yyhl1133 { - yyb1133 = yyj1133 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1133 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1133 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1133-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16088,34 +17082,34 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1139 := z.EncBinary() - _ = yym1139 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1140 := !z.EncBinary() - yy2arr1140 := z.EncBasicHandle().StructToArray - var yyq1140 [3]bool - _, _, _ = yysep1140, yyq1140, yy2arr1140 - const yyr1140 bool = false - yyq1140[2] = x.Mode != nil - var yynn1140 int - if yyr1140 || yy2arr1140 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = x.Mode != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn1140 = 2 - for _, b := range yyq1140 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn1140++ + yynn2++ } } - r.EncodeMapStart(yynn1140) - yynn1140 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1140 || yy2arr1140 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1142 := z.EncBinary() - _ = yym1142 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -16124,17 +17118,17 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1143 := z.EncBinary() - _ = yym1143 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1140 || yy2arr1140 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1145 := z.EncBinary() - _ = yym1145 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -16143,49 +17137,49 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1146 := z.EncBinary() - _ = yym1146 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr1140 || yy2arr1140 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1140[2] { + if yyq2[2] { if x.Mode == nil { r.EncodeNil() } else { - yy1148 := *x.Mode - yym1149 := z.EncBinary() - _ = yym1149 + yy10 := *x.Mode + yym11 := z.EncBinary() + _ = yym11 if false { } else { - r.EncodeInt(int64(yy1148)) + r.EncodeInt(int64(yy10)) } } } else { r.EncodeNil() } } else { - if yyq1140[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Mode == nil { r.EncodeNil() } else { - yy1150 := *x.Mode - yym1151 := z.EncBinary() - _ = yym1151 + yy12 := *x.Mode + yym13 := z.EncBinary() + _ = yym13 if false { } else { - r.EncodeInt(int64(yy1150)) + r.EncodeInt(int64(yy12)) } } } } - if yyr1140 || yy2arr1140 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16198,25 +17192,25 @@ func (x *KeyToPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1152 := z.DecBinary() - _ = yym1152 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1153 := r.ContainerType() - if yyct1153 == codecSelferValueTypeMap1234 { - yyl1153 := r.ReadMapStart() - if yyl1153 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1153, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1153 == codecSelferValueTypeArray1234 { - yyl1153 := r.ReadArrayStart() - if yyl1153 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1153, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16228,12 +17222,12 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1154Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1154Slc - var yyhl1154 bool = l >= 0 - for yyj1154 := 0; ; yyj1154++ { - if yyhl1154 { - if yyj1154 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -16242,21 +17236,33 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1154Slc = r.DecodeBytes(yys1154Slc, true, true) - yys1154 := string(yys1154Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1154 { + switch yys3 { case "key": if r.TryDecodeAsNil() { x.Key = "" } else { - x.Key = string(r.DecodeString()) + yyv4 := &x.Key + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "path": if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv6 := &x.Path + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "mode": if r.TryDecodeAsNil() { @@ -16267,17 +17273,17 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Mode == nil { x.Mode = new(int32) } - yym1158 := z.DecBinary() - _ = yym1158 + yym9 := z.DecBinary() + _ = yym9 if false { } else { *((*int32)(x.Mode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys1154) - } // end switch yys1154 - } // end for yyj1154 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16285,16 +17291,16 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1159 int - var yyb1159 bool - var yyhl1159 bool = l >= 0 - yyj1159++ - if yyhl1159 { - yyb1159 = yyj1159 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1159 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1159 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16302,15 +17308,21 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Key = "" } else { - x.Key = string(r.DecodeString()) + yyv11 := &x.Key + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj1159++ - if yyhl1159 { - yyb1159 = yyj1159 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1159 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1159 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16318,15 +17330,21 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv13 := &x.Path + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj1159++ - if yyhl1159 { - yyb1159 = yyj1159 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1159 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1159 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16339,25 +17357,25 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Mode == nil { x.Mode = new(int32) } - yym1163 := z.DecBinary() - _ = yym1163 + yym16 := z.DecBinary() + _ = yym16 if false { } else { *((*int32)(x.Mode)) = int32(r.DecodeInt(32)) } } for { - yyj1159++ - if yyhl1159 { - yyb1159 = yyj1159 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1159 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1159 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1159-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16369,38 +17387,38 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1164 := z.EncBinary() - _ = yym1164 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1165 := !z.EncBinary() - yy2arr1165 := z.EncBasicHandle().StructToArray - var yyq1165 [5]bool - _, _, _ = yysep1165, yyq1165, yy2arr1165 - const yyr1165 bool = false - yyq1165[0] = x.Name != "" - yyq1165[1] = x.HostPort != 0 - yyq1165[3] = x.Protocol != "" - yyq1165[4] = x.HostIP != "" - var yynn1165 int - if yyr1165 || yy2arr1165 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Name != "" + yyq2[1] = x.HostPort != 0 + yyq2[3] = x.Protocol != "" + yyq2[4] = x.HostIP != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn1165 = 1 - for _, b := range yyq1165 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1165++ + yynn2++ } } - r.EncodeMapStart(yynn1165) - yynn1165 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1165 || yy2arr1165 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1165[0] { - yym1167 := z.EncBinary() - _ = yym1167 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -16409,23 +17427,23 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1165[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1168 := z.EncBinary() - _ = yym1168 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr1165 || yy2arr1165 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1165[1] { - yym1170 := z.EncBinary() - _ = yym1170 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeInt(int64(x.HostPort)) @@ -16434,22 +17452,22 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1165[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1171 := z.EncBinary() - _ = yym1171 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeInt(int64(x.HostPort)) } } } - if yyr1165 || yy2arr1165 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1173 := z.EncBinary() - _ = yym1173 + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeInt(int64(x.ContainerPort)) @@ -16458,33 +17476,33 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1174 := z.EncBinary() - _ = yym1174 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeInt(int64(x.ContainerPort)) } } - if yyr1165 || yy2arr1165 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1165[3] { + if yyq2[3] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1165[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr1165 || yy2arr1165 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1165[4] { - yym1177 := z.EncBinary() - _ = yym1177 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -16493,19 +17511,19 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1165[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1178 := z.EncBinary() - _ = yym1178 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr1165 || yy2arr1165 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16518,25 +17536,25 @@ func (x *ContainerPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1179 := z.DecBinary() - _ = yym1179 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1180 := r.ContainerType() - if yyct1180 == codecSelferValueTypeMap1234 { - yyl1180 := r.ReadMapStart() - if yyl1180 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1180, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1180 == codecSelferValueTypeArray1234 { - yyl1180 := r.ReadArrayStart() - if yyl1180 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1180, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16548,12 +17566,12 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1181Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1181Slc - var yyhl1181 bool = l >= 0 - for yyj1181 := 0; ; yyj1181++ { - if yyhl1181 { - if yyj1181 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -16562,44 +17580,69 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1181Slc = r.DecodeBytes(yys1181Slc, true, true) - yys1181 := string(yys1181Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1181 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "hostPort": if r.TryDecodeAsNil() { x.HostPort = 0 } else { - x.HostPort = int32(r.DecodeInt(32)) + yyv6 := &x.HostPort + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*int32)(yyv6)) = int32(r.DecodeInt(32)) + } } case "containerPort": if r.TryDecodeAsNil() { x.ContainerPort = 0 } else { - x.ContainerPort = int32(r.DecodeInt(32)) + yyv8 := &x.ContainerPort + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*int32)(yyv8)) = int32(r.DecodeInt(32)) + } } case "protocol": if r.TryDecodeAsNil() { x.Protocol = "" } else { - x.Protocol = Protocol(r.DecodeString()) + yyv10 := &x.Protocol + yyv10.CodecDecodeSelf(d) } case "hostIP": if r.TryDecodeAsNil() { x.HostIP = "" } else { - x.HostIP = string(r.DecodeString()) + yyv11 := &x.HostIP + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys1181) - } // end switch yys1181 - } // end for yyj1181 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16607,16 +17650,16 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1187 int - var yyb1187 bool - var yyhl1187 bool = l >= 0 - yyj1187++ - if yyhl1187 { - yyb1187 = yyj1187 > l + var yyj13 int + var yyb13 bool + var yyhl13 bool = l >= 0 + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1187 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1187 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16624,15 +17667,21 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv14 := &x.Name + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj1187++ - if yyhl1187 { - yyb1187 = yyj1187 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1187 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1187 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16640,15 +17689,21 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HostPort = 0 } else { - x.HostPort = int32(r.DecodeInt(32)) + yyv16 := &x.HostPort + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*int32)(yyv16)) = int32(r.DecodeInt(32)) + } } - yyj1187++ - if yyhl1187 { - yyb1187 = yyj1187 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1187 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1187 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16656,15 +17711,21 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerPort = 0 } else { - x.ContainerPort = int32(r.DecodeInt(32)) + yyv18 := &x.ContainerPort + yym19 := z.DecBinary() + _ = yym19 + if false { + } else { + *((*int32)(yyv18)) = int32(r.DecodeInt(32)) + } } - yyj1187++ - if yyhl1187 { - yyb1187 = yyj1187 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1187 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1187 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16672,15 +17733,16 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Protocol = "" } else { - x.Protocol = Protocol(r.DecodeString()) + yyv20 := &x.Protocol + yyv20.CodecDecodeSelf(d) } - yyj1187++ - if yyhl1187 { - yyb1187 = yyj1187 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1187 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1187 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16688,20 +17750,26 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HostIP = "" } else { - x.HostIP = string(r.DecodeString()) + yyv21 := &x.HostIP + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } for { - yyj1187++ - if yyhl1187 { - yyb1187 = yyj1187 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1187 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1187 { + if yyb13 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1187-1, "") + z.DecStructFieldNotFound(yyj13-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16713,35 +17781,35 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1193 := z.EncBinary() - _ = yym1193 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1194 := !z.EncBinary() - yy2arr1194 := z.EncBasicHandle().StructToArray - var yyq1194 [4]bool - _, _, _ = yysep1194, yyq1194, yy2arr1194 - const yyr1194 bool = false - yyq1194[1] = x.ReadOnly != false - yyq1194[3] = x.SubPath != "" - var yynn1194 int - if yyr1194 || yy2arr1194 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.ReadOnly != false + yyq2[3] = x.SubPath != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn1194 = 2 - for _, b := range yyq1194 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn1194++ + yynn2++ } } - r.EncodeMapStart(yynn1194) - yynn1194 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1194 || yy2arr1194 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1196 := z.EncBinary() - _ = yym1196 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -16750,18 +17818,18 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1197 := z.EncBinary() - _ = yym1197 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1194 || yy2arr1194 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1194[1] { - yym1199 := z.EncBinary() - _ = yym1199 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -16770,22 +17838,22 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1194[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1200 := z.EncBinary() - _ = yym1200 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr1194 || yy2arr1194 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1202 := z.EncBinary() - _ = yym1202 + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) @@ -16794,18 +17862,18 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mountPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1203 := z.EncBinary() - _ = yym1203 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) } } - if yyr1194 || yy2arr1194 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1194[3] { - yym1205 := z.EncBinary() - _ = yym1205 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SubPath)) @@ -16814,19 +17882,19 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1194[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1206 := z.EncBinary() - _ = yym1206 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SubPath)) } } } - if yyr1194 || yy2arr1194 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16839,25 +17907,25 @@ func (x *VolumeMount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1207 := z.DecBinary() - _ = yym1207 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1208 := r.ContainerType() - if yyct1208 == codecSelferValueTypeMap1234 { - yyl1208 := r.ReadMapStart() - if yyl1208 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1208, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1208 == codecSelferValueTypeArray1234 { - yyl1208 := r.ReadArrayStart() - if yyl1208 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1208, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16869,12 +17937,12 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1209Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1209Slc - var yyhl1209 bool = l >= 0 - for yyj1209 := 0; ; yyj1209++ { - if yyhl1209 { - if yyj1209 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -16883,38 +17951,62 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1209Slc = r.DecodeBytes(yys1209Slc, true, true) - yys1209 := string(yys1209Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1209 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "readOnly": if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv6 := &x.ReadOnly + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*bool)(yyv6)) = r.DecodeBool() + } } case "mountPath": if r.TryDecodeAsNil() { x.MountPath = "" } else { - x.MountPath = string(r.DecodeString()) + yyv8 := &x.MountPath + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "subPath": if r.TryDecodeAsNil() { x.SubPath = "" } else { - x.SubPath = string(r.DecodeString()) + yyv10 := &x.SubPath + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys1209) - } // end switch yys1209 - } // end for yyj1209 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16922,16 +18014,16 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1214 int - var yyb1214 bool - var yyhl1214 bool = l >= 0 - yyj1214++ - if yyhl1214 { - yyb1214 = yyj1214 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1214 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1214 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16939,15 +18031,21 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv13 := &x.Name + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj1214++ - if yyhl1214 { - yyb1214 = yyj1214 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1214 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1214 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16955,15 +18053,21 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ReadOnly = false } else { - x.ReadOnly = bool(r.DecodeBool()) + yyv15 := &x.ReadOnly + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*bool)(yyv15)) = r.DecodeBool() + } } - yyj1214++ - if yyhl1214 { - yyb1214 = yyj1214 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1214 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1214 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16971,15 +18075,21 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MountPath = "" } else { - x.MountPath = string(r.DecodeString()) + yyv17 := &x.MountPath + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*string)(yyv17)) = r.DecodeString() + } } - yyj1214++ - if yyhl1214 { - yyb1214 = yyj1214 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1214 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1214 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16987,20 +18097,26 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.SubPath = "" } else { - x.SubPath = string(r.DecodeString()) + yyv19 := &x.SubPath + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } for { - yyj1214++ - if yyhl1214 { - yyb1214 = yyj1214 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1214 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1214 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1214-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17012,35 +18128,35 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1219 := z.EncBinary() - _ = yym1219 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1220 := !z.EncBinary() - yy2arr1220 := z.EncBasicHandle().StructToArray - var yyq1220 [3]bool - _, _, _ = yysep1220, yyq1220, yy2arr1220 - const yyr1220 bool = false - yyq1220[1] = x.Value != "" - yyq1220[2] = x.ValueFrom != nil - var yynn1220 int - if yyr1220 || yy2arr1220 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.Value != "" + yyq2[2] = x.ValueFrom != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn1220 = 1 - for _, b := range yyq1220 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1220++ + yynn2++ } } - r.EncodeMapStart(yynn1220) - yynn1220 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1220 || yy2arr1220 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1222 := z.EncBinary() - _ = yym1222 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -17049,18 +18165,18 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1223 := z.EncBinary() - _ = yym1223 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1220 || yy2arr1220 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1220[1] { - yym1225 := z.EncBinary() - _ = yym1225 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -17069,21 +18185,21 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1220[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1226 := z.EncBinary() - _ = yym1226 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr1220 || yy2arr1220 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1220[2] { + if yyq2[2] { if x.ValueFrom == nil { r.EncodeNil() } else { @@ -17093,7 +18209,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1220[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("valueFrom")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17104,7 +18220,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1220 || yy2arr1220 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17117,25 +18233,25 @@ func (x *EnvVar) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1228 := z.DecBinary() - _ = yym1228 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1229 := r.ContainerType() - if yyct1229 == codecSelferValueTypeMap1234 { - yyl1229 := r.ReadMapStart() - if yyl1229 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1229, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1229 == codecSelferValueTypeArray1234 { - yyl1229 := r.ReadArrayStart() - if yyl1229 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1229, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17147,12 +18263,12 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1230Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1230Slc - var yyhl1230 bool = l >= 0 - for yyj1230 := 0; ; yyj1230++ { - if yyhl1230 { - if yyj1230 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -17161,21 +18277,33 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1230Slc = r.DecodeBytes(yys1230Slc, true, true) - yys1230 := string(yys1230Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1230 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "value": if r.TryDecodeAsNil() { x.Value = "" } else { - x.Value = string(r.DecodeString()) + yyv6 := &x.Value + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "valueFrom": if r.TryDecodeAsNil() { @@ -17189,9 +18317,9 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1230) - } // end switch yys1230 - } // end for yyj1230 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17199,16 +18327,16 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1234 int - var yyb1234 bool - var yyhl1234 bool = l >= 0 - yyj1234++ - if yyhl1234 { - yyb1234 = yyj1234 > l + var yyj9 int + var yyb9 bool + var yyhl9 bool = l >= 0 + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb1234 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb1234 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17216,15 +18344,21 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv10 := &x.Name + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } - yyj1234++ - if yyhl1234 { - yyb1234 = yyj1234 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb1234 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb1234 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17232,15 +18366,21 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Value = "" } else { - x.Value = string(r.DecodeString()) + yyv12 := &x.Value + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj1234++ - if yyhl1234 { - yyb1234 = yyj1234 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb1234 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb1234 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17256,17 +18396,17 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } for { - yyj1234++ - if yyhl1234 { - yyb1234 = yyj1234 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb1234 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb1234 { + if yyb9 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1234-1, "") + z.DecStructFieldNotFound(yyj9-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17278,36 +18418,36 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1238 := z.EncBinary() - _ = yym1238 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1239 := !z.EncBinary() - yy2arr1239 := z.EncBasicHandle().StructToArray - var yyq1239 [4]bool - _, _, _ = yysep1239, yyq1239, yy2arr1239 - const yyr1239 bool = false - yyq1239[0] = x.FieldRef != nil - yyq1239[1] = x.ResourceFieldRef != nil - yyq1239[2] = x.ConfigMapKeyRef != nil - yyq1239[3] = x.SecretKeyRef != nil - var yynn1239 int - if yyr1239 || yy2arr1239 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.FieldRef != nil + yyq2[1] = x.ResourceFieldRef != nil + yyq2[2] = x.ConfigMapKeyRef != nil + yyq2[3] = x.SecretKeyRef != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn1239 = 0 - for _, b := range yyq1239 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1239++ + yynn2++ } } - r.EncodeMapStart(yynn1239) - yynn1239 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1239 || yy2arr1239 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1239[0] { + if yyq2[0] { if x.FieldRef == nil { r.EncodeNil() } else { @@ -17317,7 +18457,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1239[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17328,9 +18468,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1239 || yy2arr1239 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1239[1] { + if yyq2[1] { if x.ResourceFieldRef == nil { r.EncodeNil() } else { @@ -17340,7 +18480,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1239[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceFieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17351,9 +18491,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1239 || yy2arr1239 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1239[2] { + if yyq2[2] { if x.ConfigMapKeyRef == nil { r.EncodeNil() } else { @@ -17363,7 +18503,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1239[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configMapKeyRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17374,9 +18514,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1239 || yy2arr1239 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1239[3] { + if yyq2[3] { if x.SecretKeyRef == nil { r.EncodeNil() } else { @@ -17386,7 +18526,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1239[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretKeyRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17397,7 +18537,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1239 || yy2arr1239 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17410,25 +18550,25 @@ func (x *EnvVarSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1244 := z.DecBinary() - _ = yym1244 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1245 := r.ContainerType() - if yyct1245 == codecSelferValueTypeMap1234 { - yyl1245 := r.ReadMapStart() - if yyl1245 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1245, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1245 == codecSelferValueTypeArray1234 { - yyl1245 := r.ReadArrayStart() - if yyl1245 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1245, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17440,12 +18580,12 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1246Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1246Slc - var yyhl1246 bool = l >= 0 - for yyj1246 := 0; ; yyj1246++ { - if yyhl1246 { - if yyj1246 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -17454,10 +18594,10 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1246Slc = r.DecodeBytes(yys1246Slc, true, true) - yys1246 := string(yys1246Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1246 { + switch yys3 { case "fieldRef": if r.TryDecodeAsNil() { if x.FieldRef != nil { @@ -17503,9 +18643,9 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretKeyRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1246) - } // end switch yys1246 - } // end for yyj1246 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17513,16 +18653,16 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1251 int - var yyb1251 bool - var yyhl1251 bool = l >= 0 - yyj1251++ - if yyhl1251 { - yyb1251 = yyj1251 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1251 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1251 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17537,13 +18677,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FieldRef.CodecDecodeSelf(d) } - yyj1251++ - if yyhl1251 { - yyb1251 = yyj1251 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1251 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1251 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17558,13 +18698,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ResourceFieldRef.CodecDecodeSelf(d) } - yyj1251++ - if yyhl1251 { - yyb1251 = yyj1251 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1251 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1251 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17579,13 +18719,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ConfigMapKeyRef.CodecDecodeSelf(d) } - yyj1251++ - if yyhl1251 { - yyb1251 = yyj1251 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1251 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1251 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17601,17 +18741,17 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SecretKeyRef.CodecDecodeSelf(d) } for { - yyj1251++ - if yyhl1251 { - yyb1251 = yyj1251 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1251 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1251 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1251-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17623,35 +18763,35 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1256 := z.EncBinary() - _ = yym1256 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1257 := !z.EncBinary() - yy2arr1257 := z.EncBasicHandle().StructToArray - var yyq1257 [2]bool - _, _, _ = yysep1257, yyq1257, yy2arr1257 - const yyr1257 bool = false - yyq1257[0] = x.APIVersion != "" - var yynn1257 int - if yyr1257 || yy2arr1257 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.APIVersion != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1257 = 1 - for _, b := range yyq1257 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1257++ + yynn2++ } } - r.EncodeMapStart(yynn1257) - yynn1257 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1257 || yy2arr1257 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1257[0] { - yym1259 := z.EncBinary() - _ = yym1259 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -17660,22 +18800,22 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1257[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1260 := z.EncBinary() - _ = yym1260 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1257 || yy2arr1257 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1262 := z.EncBinary() - _ = yym1262 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -17684,14 +18824,14 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1263 := z.EncBinary() - _ = yym1263 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } - if yyr1257 || yy2arr1257 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17704,25 +18844,25 @@ func (x *ObjectFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1264 := z.DecBinary() - _ = yym1264 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1265 := r.ContainerType() - if yyct1265 == codecSelferValueTypeMap1234 { - yyl1265 := r.ReadMapStart() - if yyl1265 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1265, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1265 == codecSelferValueTypeArray1234 { - yyl1265 := r.ReadArrayStart() - if yyl1265 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1265, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17734,12 +18874,12 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1266Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1266Slc - var yyhl1266 bool = l >= 0 - for yyj1266 := 0; ; yyj1266++ { - if yyhl1266 { - if yyj1266 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -17748,26 +18888,38 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1266Slc = r.DecodeBytes(yys1266Slc, true, true) - yys1266 := string(yys1266Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1266 { + switch yys3 { case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv4 := &x.APIVersion + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "fieldPath": if r.TryDecodeAsNil() { x.FieldPath = "" } else { - x.FieldPath = string(r.DecodeString()) + yyv6 := &x.FieldPath + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys1266) - } // end switch yys1266 - } // end for yyj1266 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17775,16 +18927,16 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1269 int - var yyb1269 bool - var yyhl1269 bool = l >= 0 - yyj1269++ - if yyhl1269 { - yyb1269 = yyj1269 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1269 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1269 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17792,15 +18944,21 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv9 := &x.APIVersion + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj1269++ - if yyhl1269 { - yyb1269 = yyj1269 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1269 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1269 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17808,20 +18966,26 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.FieldPath = "" } else { - x.FieldPath = string(r.DecodeString()) + yyv11 := &x.FieldPath + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj1269++ - if yyhl1269 { - yyb1269 = yyj1269 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1269 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1269 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1269-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17833,36 +18997,36 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1272 := z.EncBinary() - _ = yym1272 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1273 := !z.EncBinary() - yy2arr1273 := z.EncBasicHandle().StructToArray - var yyq1273 [3]bool - _, _, _ = yysep1273, yyq1273, yy2arr1273 - const yyr1273 bool = false - yyq1273[0] = x.ContainerName != "" - yyq1273[2] = true - var yynn1273 int - if yyr1273 || yy2arr1273 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.ContainerName != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn1273 = 1 - for _, b := range yyq1273 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1273++ + yynn2++ } } - r.EncodeMapStart(yynn1273) - yynn1273 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1273 || yy2arr1273 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1273[0] { - yym1275 := z.EncBinary() - _ = yym1275 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerName)) @@ -17871,22 +19035,22 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1273[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1276 := z.EncBinary() - _ = yym1276 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerName)) } } } - if yyr1273 || yy2arr1273 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1278 := z.EncBinary() - _ = yym1278 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) @@ -17895,47 +19059,47 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1279 := z.EncBinary() - _ = yym1279 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) } } - if yyr1273 || yy2arr1273 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1273[2] { - yy1281 := &x.Divisor - yym1282 := z.EncBinary() - _ = yym1282 + if yyq2[2] { + yy10 := &x.Divisor + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy1281) { - } else if !yym1282 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1281) + } else if z.HasExtensions() && z.EncExt(yy10) { + } else if !yym11 && z.IsJSONHandle() { + z.EncJSONMarshal(yy10) } else { - z.EncFallback(yy1281) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq1273[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("divisor")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1283 := &x.Divisor - yym1284 := z.EncBinary() - _ = yym1284 + yy12 := &x.Divisor + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy1283) { - } else if !yym1284 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1283) + } else if z.HasExtensions() && z.EncExt(yy12) { + } else if !yym13 && z.IsJSONHandle() { + z.EncJSONMarshal(yy12) } else { - z.EncFallback(yy1283) + z.EncFallback(yy12) } } } - if yyr1273 || yy2arr1273 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17948,25 +19112,25 @@ func (x *ResourceFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1285 := z.DecBinary() - _ = yym1285 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1286 := r.ContainerType() - if yyct1286 == codecSelferValueTypeMap1234 { - yyl1286 := r.ReadMapStart() - if yyl1286 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1286, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1286 == codecSelferValueTypeArray1234 { - yyl1286 := r.ReadArrayStart() - if yyl1286 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1286, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17978,12 +19142,12 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1287Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1287Slc - var yyhl1287 bool = l >= 0 - for yyj1287 := 0; ; yyj1287++ { - if yyhl1287 { - if yyj1287 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -17992,41 +19156,53 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1287Slc = r.DecodeBytes(yys1287Slc, true, true) - yys1287 := string(yys1287Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1287 { + switch yys3 { case "containerName": if r.TryDecodeAsNil() { x.ContainerName = "" } else { - x.ContainerName = string(r.DecodeString()) + yyv4 := &x.ContainerName + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "resource": if r.TryDecodeAsNil() { x.Resource = "" } else { - x.Resource = string(r.DecodeString()) + yyv6 := &x.Resource + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "divisor": if r.TryDecodeAsNil() { x.Divisor = pkg3_resource.Quantity{} } else { - yyv1290 := &x.Divisor - yym1291 := z.DecBinary() - _ = yym1291 + yyv8 := &x.Divisor + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv1290) { - } else if !yym1291 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1290) + } else if z.HasExtensions() && z.DecExt(yyv8) { + } else if !yym9 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv8) } else { - z.DecFallback(yyv1290, false) + z.DecFallback(yyv8, false) } } default: - z.DecStructFieldNotFound(-1, yys1287) - } // end switch yys1287 - } // end for yyj1287 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18034,16 +19210,16 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1292 int - var yyb1292 bool - var yyhl1292 bool = l >= 0 - yyj1292++ - if yyhl1292 { - yyb1292 = yyj1292 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1292 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1292 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18051,15 +19227,21 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ContainerName = "" } else { - x.ContainerName = string(r.DecodeString()) + yyv11 := &x.ContainerName + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj1292++ - if yyhl1292 { - yyb1292 = yyj1292 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1292 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1292 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18067,15 +19249,21 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Resource = "" } else { - x.Resource = string(r.DecodeString()) + yyv13 := &x.Resource + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj1292++ - if yyhl1292 { - yyb1292 = yyj1292 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1292 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1292 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18083,29 +19271,29 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Divisor = pkg3_resource.Quantity{} } else { - yyv1295 := &x.Divisor - yym1296 := z.DecBinary() - _ = yym1296 + yyv15 := &x.Divisor + yym16 := z.DecBinary() + _ = yym16 if false { - } else if z.HasExtensions() && z.DecExt(yyv1295) { - } else if !yym1296 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1295) + } else if z.HasExtensions() && z.DecExt(yyv15) { + } else if !yym16 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv15) } else { - z.DecFallback(yyv1295, false) + z.DecFallback(yyv15, false) } } for { - yyj1292++ - if yyhl1292 { - yyb1292 = yyj1292 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1292 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1292 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1292-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18117,35 +19305,35 @@ func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1297 := z.EncBinary() - _ = yym1297 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1298 := !z.EncBinary() - yy2arr1298 := z.EncBasicHandle().StructToArray - var yyq1298 [2]bool - _, _, _ = yysep1298, yyq1298, yy2arr1298 - const yyr1298 bool = false - yyq1298[0] = x.Name != "" - var yynn1298 int - if yyr1298 || yy2arr1298 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Name != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1298 = 1 - for _, b := range yyq1298 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1298++ + yynn2++ } } - r.EncodeMapStart(yynn1298) - yynn1298 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1298 || yy2arr1298 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1298[0] { - yym1300 := z.EncBinary() - _ = yym1300 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -18154,22 +19342,22 @@ func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1298[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1301 := z.EncBinary() - _ = yym1301 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr1298 || yy2arr1298 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1303 := z.EncBinary() - _ = yym1303 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -18178,14 +19366,14 @@ func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1304 := z.EncBinary() - _ = yym1304 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1298 || yy2arr1298 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18198,25 +19386,25 @@ func (x *ConfigMapKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1305 := z.DecBinary() - _ = yym1305 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1306 := r.ContainerType() - if yyct1306 == codecSelferValueTypeMap1234 { - yyl1306 := r.ReadMapStart() - if yyl1306 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1306, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1306 == codecSelferValueTypeArray1234 { - yyl1306 := r.ReadArrayStart() - if yyl1306 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1306, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18228,12 +19416,12 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1307Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1307Slc - var yyhl1307 bool = l >= 0 - for yyj1307 := 0; ; yyj1307++ { - if yyhl1307 { - if yyj1307 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -18242,26 +19430,38 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1307Slc = r.DecodeBytes(yys1307Slc, true, true) - yys1307 := string(yys1307Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1307 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "key": if r.TryDecodeAsNil() { x.Key = "" } else { - x.Key = string(r.DecodeString()) + yyv6 := &x.Key + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys1307) - } // end switch yys1307 - } // end for yyj1307 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18269,16 +19469,16 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1310 int - var yyb1310 bool - var yyhl1310 bool = l >= 0 - yyj1310++ - if yyhl1310 { - yyb1310 = yyj1310 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1310 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1310 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18286,15 +19486,21 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv9 := &x.Name + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj1310++ - if yyhl1310 { - yyb1310 = yyj1310 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1310 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1310 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18302,20 +19508,26 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Key = "" } else { - x.Key = string(r.DecodeString()) + yyv11 := &x.Key + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj1310++ - if yyhl1310 { - yyb1310 = yyj1310 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1310 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1310 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1310-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18327,35 +19539,35 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1313 := z.EncBinary() - _ = yym1313 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1314 := !z.EncBinary() - yy2arr1314 := z.EncBasicHandle().StructToArray - var yyq1314 [2]bool - _, _, _ = yysep1314, yyq1314, yy2arr1314 - const yyr1314 bool = false - yyq1314[0] = x.Name != "" - var yynn1314 int - if yyr1314 || yy2arr1314 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Name != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1314 = 1 - for _, b := range yyq1314 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1314++ + yynn2++ } } - r.EncodeMapStart(yynn1314) - yynn1314 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1314 || yy2arr1314 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1314[0] { - yym1316 := z.EncBinary() - _ = yym1316 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -18364,22 +19576,22 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1314[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1317 := z.EncBinary() - _ = yym1317 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr1314 || yy2arr1314 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1319 := z.EncBinary() - _ = yym1319 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -18388,14 +19600,14 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1320 := z.EncBinary() - _ = yym1320 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1314 || yy2arr1314 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18408,25 +19620,25 @@ func (x *SecretKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1321 := z.DecBinary() - _ = yym1321 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1322 := r.ContainerType() - if yyct1322 == codecSelferValueTypeMap1234 { - yyl1322 := r.ReadMapStart() - if yyl1322 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1322, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1322 == codecSelferValueTypeArray1234 { - yyl1322 := r.ReadArrayStart() - if yyl1322 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1322, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18438,12 +19650,12 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1323Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1323Slc - var yyhl1323 bool = l >= 0 - for yyj1323 := 0; ; yyj1323++ { - if yyhl1323 { - if yyj1323 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -18452,26 +19664,38 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1323Slc = r.DecodeBytes(yys1323Slc, true, true) - yys1323 := string(yys1323Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1323 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "key": if r.TryDecodeAsNil() { x.Key = "" } else { - x.Key = string(r.DecodeString()) + yyv6 := &x.Key + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys1323) - } // end switch yys1323 - } // end for yyj1323 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18479,16 +19703,16 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1326 int - var yyb1326 bool - var yyhl1326 bool = l >= 0 - yyj1326++ - if yyhl1326 { - yyb1326 = yyj1326 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1326 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1326 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18496,15 +19720,21 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv9 := &x.Name + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj1326++ - if yyhl1326 { - yyb1326 = yyj1326 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1326 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1326 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18512,20 +19742,444 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Key = "" } else { - x.Key = string(r.DecodeString()) + yyv11 := &x.Key + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj1326++ - if yyhl1326 { - yyb1326 = yyj1326 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1326 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1326 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1326-1, "") + z.DecStructFieldNotFound(yyj8-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *EnvFromSource) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1 := z.EncBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Prefix != "" + yyq2[1] = x.ConfigMapRef != nil + var yynn2 int + if yyr2 || yy2arr2 { + r.EncodeArrayStart(2) + } else { + yynn2 = 0 + for _, b := range yyq2 { + if b { + yynn2++ + } + } + r.EncodeMapStart(yynn2) + yynn2 = 0 + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Prefix)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("prefix")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Prefix)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[1] { + if x.ConfigMapRef == nil { + r.EncodeNil() + } else { + x.ConfigMapRef.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq2[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("configMapRef")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.ConfigMapRef == nil { + r.EncodeNil() + } else { + x.ConfigMapRef.CodecEncodeSelf(e) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *EnvFromSource) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1 := z.DecBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2, d) + } + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *EnvFromSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3 { + case "prefix": + if r.TryDecodeAsNil() { + x.Prefix = "" + } else { + yyv4 := &x.Prefix + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } + } + case "configMapRef": + if r.TryDecodeAsNil() { + if x.ConfigMapRef != nil { + x.ConfigMapRef = nil + } + } else { + if x.ConfigMapRef == nil { + x.ConfigMapRef = new(ConfigMapEnvSource) + } + x.ConfigMapRef.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *EnvFromSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l + } else { + yyb7 = r.CheckBreak() + } + if yyb7 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Prefix = "" + } else { + yyv8 := &x.Prefix + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } + } + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l + } else { + yyb7 = r.CheckBreak() + } + if yyb7 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.ConfigMapRef != nil { + x.ConfigMapRef = nil + } + } else { + if x.ConfigMapRef == nil { + x.ConfigMapRef = new(ConfigMapEnvSource) + } + x.ConfigMapRef.CodecDecodeSelf(d) + } + for { + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l + } else { + yyb7 = r.CheckBreak() + } + if yyb7 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj7-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ConfigMapEnvSource) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1 := z.EncBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Name != "" + var yynn2 int + if yyr2 || yy2arr2 { + r.EncodeArrayStart(1) + } else { + yynn2 = 0 + for _, b := range yyq2 { + if b { + yynn2++ + } + } + r.EncodeMapStart(yynn2) + yynn2 = 0 + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ConfigMapEnvSource) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1 := z.DecBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2, d) + } + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ConfigMapEnvSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3 { + case "name": + if r.TryDecodeAsNil() { + x.Name = "" + } else { + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } + } + default: + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ConfigMapEnvSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l + } else { + yyb6 = r.CheckBreak() + } + if yyb6 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Name = "" + } else { + yyv7 := &x.Name + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*string)(yyv7)) = r.DecodeString() + } + } + for { + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l + } else { + yyb6 = r.CheckBreak() + } + if yyb6 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18537,33 +20191,33 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1329 := z.EncBinary() - _ = yym1329 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1330 := !z.EncBinary() - yy2arr1330 := z.EncBasicHandle().StructToArray - var yyq1330 [2]bool - _, _, _ = yysep1330, yyq1330, yy2arr1330 - const yyr1330 bool = false - var yynn1330 int - if yyr1330 || yy2arr1330 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1330 = 2 - for _, b := range yyq1330 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn1330++ + yynn2++ } } - r.EncodeMapStart(yynn1330) - yynn1330 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1330 || yy2arr1330 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1332 := z.EncBinary() - _ = yym1332 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -18572,17 +20226,17 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1333 := z.EncBinary() - _ = yym1333 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1330 || yy2arr1330 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1335 := z.EncBinary() - _ = yym1335 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -18591,14 +20245,14 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1336 := z.EncBinary() - _ = yym1336 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } - if yyr1330 || yy2arr1330 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18611,25 +20265,25 @@ func (x *HTTPHeader) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1337 := z.DecBinary() - _ = yym1337 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1338 := r.ContainerType() - if yyct1338 == codecSelferValueTypeMap1234 { - yyl1338 := r.ReadMapStart() - if yyl1338 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1338, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1338 == codecSelferValueTypeArray1234 { - yyl1338 := r.ReadArrayStart() - if yyl1338 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1338, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18641,12 +20295,12 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1339Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1339Slc - var yyhl1339 bool = l >= 0 - for yyj1339 := 0; ; yyj1339++ { - if yyhl1339 { - if yyj1339 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -18655,26 +20309,38 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1339Slc = r.DecodeBytes(yys1339Slc, true, true) - yys1339 := string(yys1339Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1339 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "value": if r.TryDecodeAsNil() { x.Value = "" } else { - x.Value = string(r.DecodeString()) + yyv6 := &x.Value + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys1339) - } // end switch yys1339 - } // end for yyj1339 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18682,16 +20348,16 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1342 int - var yyb1342 bool - var yyhl1342 bool = l >= 0 - yyj1342++ - if yyhl1342 { - yyb1342 = yyj1342 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1342 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1342 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18699,15 +20365,21 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv9 := &x.Name + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj1342++ - if yyhl1342 { - yyb1342 = yyj1342 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1342 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1342 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18715,20 +20387,26 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Value = "" } else { - x.Value = string(r.DecodeString()) + yyv11 := &x.Value + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj1342++ - if yyhl1342 { - yyb1342 = yyj1342 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1342 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1342 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1342-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18740,38 +20418,38 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1345 := z.EncBinary() - _ = yym1345 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1346 := !z.EncBinary() - yy2arr1346 := z.EncBasicHandle().StructToArray - var yyq1346 [5]bool - _, _, _ = yysep1346, yyq1346, yy2arr1346 - const yyr1346 bool = false - yyq1346[0] = x.Path != "" - yyq1346[2] = x.Host != "" - yyq1346[3] = x.Scheme != "" - yyq1346[4] = len(x.HTTPHeaders) != 0 - var yynn1346 int - if yyr1346 || yy2arr1346 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Path != "" + yyq2[2] = x.Host != "" + yyq2[3] = x.Scheme != "" + yyq2[4] = len(x.HTTPHeaders) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn1346 = 1 - for _, b := range yyq1346 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1346++ + yynn2++ } } - r.EncodeMapStart(yynn1346) - yynn1346 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1346 || yy2arr1346 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1346[0] { - yym1348 := z.EncBinary() - _ = yym1348 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -18780,50 +20458,50 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1346[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1349 := z.EncBinary() - _ = yym1349 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr1346 || yy2arr1346 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1351 := &x.Port - yym1352 := z.EncBinary() - _ = yym1352 + yy7 := &x.Port + yym8 := z.EncBinary() + _ = yym8 if false { - } else if z.HasExtensions() && z.EncExt(yy1351) { - } else if !yym1352 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1351) + } else if z.HasExtensions() && z.EncExt(yy7) { + } else if !yym8 && z.IsJSONHandle() { + z.EncJSONMarshal(yy7) } else { - z.EncFallback(yy1351) + z.EncFallback(yy7) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1353 := &x.Port - yym1354 := z.EncBinary() - _ = yym1354 + yy9 := &x.Port + yym10 := z.EncBinary() + _ = yym10 if false { - } else if z.HasExtensions() && z.EncExt(yy1353) { - } else if !yym1354 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1353) + } else if z.HasExtensions() && z.EncExt(yy9) { + } else if !yym10 && z.IsJSONHandle() { + z.EncJSONMarshal(yy9) } else { - z.EncFallback(yy1353) + z.EncFallback(yy9) } } - if yyr1346 || yy2arr1346 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1346[2] { - yym1356 := z.EncBinary() - _ = yym1356 + if yyq2[2] { + yym12 := z.EncBinary() + _ = yym12 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -18832,41 +20510,41 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1346[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1357 := z.EncBinary() - _ = yym1357 + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr1346 || yy2arr1346 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1346[3] { + if yyq2[3] { x.Scheme.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1346[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scheme")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Scheme.CodecEncodeSelf(e) } } - if yyr1346 || yy2arr1346 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1346[4] { + if yyq2[4] { if x.HTTPHeaders == nil { r.EncodeNil() } else { - yym1360 := z.EncBinary() - _ = yym1360 + yym18 := z.EncBinary() + _ = yym18 if false { } else { h.encSliceHTTPHeader(([]HTTPHeader)(x.HTTPHeaders), e) @@ -18876,15 +20554,15 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1346[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpHeaders")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HTTPHeaders == nil { r.EncodeNil() } else { - yym1361 := z.EncBinary() - _ = yym1361 + yym19 := z.EncBinary() + _ = yym19 if false { } else { h.encSliceHTTPHeader(([]HTTPHeader)(x.HTTPHeaders), e) @@ -18892,7 +20570,7 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1346 || yy2arr1346 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18905,25 +20583,25 @@ func (x *HTTPGetAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1362 := z.DecBinary() - _ = yym1362 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1363 := r.ContainerType() - if yyct1363 == codecSelferValueTypeMap1234 { - yyl1363 := r.ReadMapStart() - if yyl1363 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1363, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1363 == codecSelferValueTypeArray1234 { - yyl1363 := r.ReadArrayStart() - if yyl1363 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1363, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18935,12 +20613,12 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1364Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1364Slc - var yyhl1364 bool = l >= 0 - for yyj1364 := 0; ; yyj1364++ { - if yyhl1364 { - if yyj1364 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -18949,59 +20627,72 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1364Slc = r.DecodeBytes(yys1364Slc, true, true) - yys1364 := string(yys1364Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1364 { + switch yys3 { case "path": if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv4 := &x.Path + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "port": if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv1366 := &x.Port - yym1367 := z.DecBinary() - _ = yym1367 + yyv6 := &x.Port + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv1366) { - } else if !yym1367 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1366) + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) } else { - z.DecFallback(yyv1366, false) + z.DecFallback(yyv6, false) } } case "host": if r.TryDecodeAsNil() { x.Host = "" } else { - x.Host = string(r.DecodeString()) + yyv8 := &x.Host + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "scheme": if r.TryDecodeAsNil() { x.Scheme = "" } else { - x.Scheme = URIScheme(r.DecodeString()) + yyv10 := &x.Scheme + yyv10.CodecDecodeSelf(d) } case "httpHeaders": if r.TryDecodeAsNil() { x.HTTPHeaders = nil } else { - yyv1370 := &x.HTTPHeaders - yym1371 := z.DecBinary() - _ = yym1371 + yyv11 := &x.HTTPHeaders + yym12 := z.DecBinary() + _ = yym12 if false { } else { - h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1370), d) + h.decSliceHTTPHeader((*[]HTTPHeader)(yyv11), d) } } default: - z.DecStructFieldNotFound(-1, yys1364) - } // end switch yys1364 - } // end for yyj1364 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19009,16 +20700,16 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1372 int - var yyb1372 bool - var yyhl1372 bool = l >= 0 - yyj1372++ - if yyhl1372 { - yyb1372 = yyj1372 > l + var yyj13 int + var yyb13 bool + var yyhl13 bool = l >= 0 + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1372 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1372 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19026,15 +20717,21 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv14 := &x.Path + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj1372++ - if yyhl1372 { - yyb1372 = yyj1372 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1372 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1372 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19042,24 +20739,24 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv1374 := &x.Port - yym1375 := z.DecBinary() - _ = yym1375 + yyv16 := &x.Port + yym17 := z.DecBinary() + _ = yym17 if false { - } else if z.HasExtensions() && z.DecExt(yyv1374) { - } else if !yym1375 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1374) + } else if z.HasExtensions() && z.DecExt(yyv16) { + } else if !yym17 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv16) } else { - z.DecFallback(yyv1374, false) + z.DecFallback(yyv16, false) } } - yyj1372++ - if yyhl1372 { - yyb1372 = yyj1372 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1372 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1372 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19067,15 +20764,21 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Host = "" } else { - x.Host = string(r.DecodeString()) + yyv18 := &x.Host + yym19 := z.DecBinary() + _ = yym19 + if false { + } else { + *((*string)(yyv18)) = r.DecodeString() + } } - yyj1372++ - if yyhl1372 { - yyb1372 = yyj1372 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1372 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1372 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19083,15 +20786,16 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Scheme = "" } else { - x.Scheme = URIScheme(r.DecodeString()) + yyv20 := &x.Scheme + yyv20.CodecDecodeSelf(d) } - yyj1372++ - if yyhl1372 { - yyb1372 = yyj1372 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1372 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1372 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19099,26 +20803,26 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HTTPHeaders = nil } else { - yyv1378 := &x.HTTPHeaders - yym1379 := z.DecBinary() - _ = yym1379 + yyv21 := &x.HTTPHeaders + yym22 := z.DecBinary() + _ = yym22 if false { } else { - h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1378), d) + h.decSliceHTTPHeader((*[]HTTPHeader)(yyv21), d) } } for { - yyj1372++ - if yyhl1372 { - yyb1372 = yyj1372 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb1372 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb1372 { + if yyb13 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1372-1, "") + z.DecStructFieldNotFound(yyj13-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19127,8 +20831,8 @@ func (x URIScheme) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1380 := z.EncBinary() - _ = yym1380 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -19140,8 +20844,8 @@ func (x *URIScheme) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1381 := z.DecBinary() - _ = yym1381 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -19156,57 +20860,57 @@ func (x *TCPSocketAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1382 := z.EncBinary() - _ = yym1382 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1383 := !z.EncBinary() - yy2arr1383 := z.EncBasicHandle().StructToArray - var yyq1383 [1]bool - _, _, _ = yysep1383, yyq1383, yy2arr1383 - const yyr1383 bool = false - var yynn1383 int - if yyr1383 || yy2arr1383 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn1383 = 1 - for _, b := range yyq1383 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1383++ + yynn2++ } } - r.EncodeMapStart(yynn1383) - yynn1383 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1383 || yy2arr1383 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1385 := &x.Port - yym1386 := z.EncBinary() - _ = yym1386 + yy4 := &x.Port + yym5 := z.EncBinary() + _ = yym5 if false { - } else if z.HasExtensions() && z.EncExt(yy1385) { - } else if !yym1386 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1385) + } else if z.HasExtensions() && z.EncExt(yy4) { + } else if !yym5 && z.IsJSONHandle() { + z.EncJSONMarshal(yy4) } else { - z.EncFallback(yy1385) + z.EncFallback(yy4) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1387 := &x.Port - yym1388 := z.EncBinary() - _ = yym1388 + yy6 := &x.Port + yym7 := z.EncBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.EncExt(yy1387) { - } else if !yym1388 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1387) + } else if z.HasExtensions() && z.EncExt(yy6) { + } else if !yym7 && z.IsJSONHandle() { + z.EncJSONMarshal(yy6) } else { - z.EncFallback(yy1387) + z.EncFallback(yy6) } } - if yyr1383 || yy2arr1383 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19219,25 +20923,25 @@ func (x *TCPSocketAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1389 := z.DecBinary() - _ = yym1389 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1390 := r.ContainerType() - if yyct1390 == codecSelferValueTypeMap1234 { - yyl1390 := r.ReadMapStart() - if yyl1390 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1390, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1390 == codecSelferValueTypeArray1234 { - yyl1390 := r.ReadArrayStart() - if yyl1390 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1390, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19249,12 +20953,12 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1391Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1391Slc - var yyhl1391 bool = l >= 0 - for yyj1391 := 0; ; yyj1391++ { - if yyhl1391 { - if yyj1391 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -19263,29 +20967,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1391Slc = r.DecodeBytes(yys1391Slc, true, true) - yys1391 := string(yys1391Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1391 { + switch yys3 { case "port": if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv1392 := &x.Port - yym1393 := z.DecBinary() - _ = yym1393 + yyv4 := &x.Port + yym5 := z.DecBinary() + _ = yym5 if false { - } else if z.HasExtensions() && z.DecExt(yyv1392) { - } else if !yym1393 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1392) + } else if z.HasExtensions() && z.DecExt(yyv4) { + } else if !yym5 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4) } else { - z.DecFallback(yyv1392, false) + z.DecFallback(yyv4, false) } } default: - z.DecStructFieldNotFound(-1, yys1391) - } // end switch yys1391 - } // end for yyj1391 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19293,16 +20997,16 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1394 int - var yyb1394 bool - var yyhl1394 bool = l >= 0 - yyj1394++ - if yyhl1394 { - yyb1394 = yyj1394 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1394 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1394 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19310,29 +21014,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv1395 := &x.Port - yym1396 := z.DecBinary() - _ = yym1396 + yyv7 := &x.Port + yym8 := z.DecBinary() + _ = yym8 if false { - } else if z.HasExtensions() && z.DecExt(yyv1395) { - } else if !yym1396 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1395) + } else if z.HasExtensions() && z.DecExt(yyv7) { + } else if !yym8 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv7) } else { - z.DecFallback(yyv1395, false) + z.DecFallback(yyv7, false) } } for { - yyj1394++ - if yyhl1394 { - yyb1394 = yyj1394 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1394 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1394 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1394-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19344,38 +21048,38 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1397 := z.EncBinary() - _ = yym1397 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1398 := !z.EncBinary() - yy2arr1398 := z.EncBasicHandle().StructToArray - var yyq1398 [1]bool - _, _, _ = yysep1398, yyq1398, yy2arr1398 - const yyr1398 bool = false - yyq1398[0] = len(x.Command) != 0 - var yynn1398 int - if yyr1398 || yy2arr1398 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Command) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn1398 = 0 - for _, b := range yyq1398 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1398++ + yynn2++ } } - r.EncodeMapStart(yynn1398) - yynn1398 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1398 || yy2arr1398 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1398[0] { + if yyq2[0] { if x.Command == nil { r.EncodeNil() } else { - yym1400 := z.EncBinary() - _ = yym1400 + yym4 := z.EncBinary() + _ = yym4 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -19385,15 +21089,15 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1398[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym1401 := z.EncBinary() - _ = yym1401 + yym5 := z.EncBinary() + _ = yym5 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -19401,7 +21105,7 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1398 || yy2arr1398 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19414,25 +21118,25 @@ func (x *ExecAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1402 := z.DecBinary() - _ = yym1402 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1403 := r.ContainerType() - if yyct1403 == codecSelferValueTypeMap1234 { - yyl1403 := r.ReadMapStart() - if yyl1403 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1403, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1403 == codecSelferValueTypeArray1234 { - yyl1403 := r.ReadArrayStart() - if yyl1403 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1403, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19444,12 +21148,12 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1404Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1404Slc - var yyhl1404 bool = l >= 0 - for yyj1404 := 0; ; yyj1404++ { - if yyhl1404 { - if yyj1404 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -19458,26 +21162,26 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1404Slc = r.DecodeBytes(yys1404Slc, true, true) - yys1404 := string(yys1404Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1404 { + switch yys3 { case "command": if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1405 := &x.Command - yym1406 := z.DecBinary() - _ = yym1406 + yyv4 := &x.Command + yym5 := z.DecBinary() + _ = yym5 if false { } else { - z.F.DecSliceStringX(yyv1405, false, d) + z.F.DecSliceStringX(yyv4, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1404) - } // end switch yys1404 - } // end for yyj1404 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19485,16 +21189,16 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1407 int - var yyb1407 bool - var yyhl1407 bool = l >= 0 - yyj1407++ - if yyhl1407 { - yyb1407 = yyj1407 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1407 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1407 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19502,26 +21206,26 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1408 := &x.Command - yym1409 := z.DecBinary() - _ = yym1409 + yyv7 := &x.Command + yym8 := z.DecBinary() + _ = yym8 if false { } else { - z.F.DecSliceStringX(yyv1408, false, d) + z.F.DecSliceStringX(yyv7, false, d) } } for { - yyj1407++ - if yyhl1407 { - yyb1407 = yyj1407 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1407 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1407 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1407-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19533,49 +21237,49 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1410 := z.EncBinary() - _ = yym1410 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1411 := !z.EncBinary() - yy2arr1411 := z.EncBasicHandle().StructToArray - var yyq1411 [8]bool - _, _, _ = yysep1411, yyq1411, yy2arr1411 - const yyr1411 bool = false - yyq1411[0] = x.Handler.Exec != nil && x.Exec != nil - yyq1411[1] = x.Handler.HTTPGet != nil && x.HTTPGet != nil - yyq1411[2] = x.Handler.TCPSocket != nil && x.TCPSocket != nil - yyq1411[3] = x.InitialDelaySeconds != 0 - yyq1411[4] = x.TimeoutSeconds != 0 - yyq1411[5] = x.PeriodSeconds != 0 - yyq1411[6] = x.SuccessThreshold != 0 - yyq1411[7] = x.FailureThreshold != 0 - var yynn1411 int - if yyr1411 || yy2arr1411 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [8]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Handler.Exec != nil && x.Exec != nil + yyq2[1] = x.Handler.HTTPGet != nil && x.HTTPGet != nil + yyq2[2] = x.Handler.TCPSocket != nil && x.TCPSocket != nil + yyq2[3] = x.InitialDelaySeconds != 0 + yyq2[4] = x.TimeoutSeconds != 0 + yyq2[5] = x.PeriodSeconds != 0 + yyq2[6] = x.SuccessThreshold != 0 + yyq2[7] = x.FailureThreshold != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(8) } else { - yynn1411 = 0 - for _, b := range yyq1411 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1411++ + yynn2++ } } - r.EncodeMapStart(yynn1411) - yynn1411 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - var yyn1412 bool + var yyn3 bool if x.Handler.Exec == nil { - yyn1412 = true - goto LABEL1412 + yyn3 = true + goto LABEL3 } - LABEL1412: - if yyr1411 || yy2arr1411 { - if yyn1412 { + LABEL3: + if yyr2 || yy2arr2 { + if yyn3 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1411[0] { + if yyq2[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -19586,11 +21290,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1411[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1412 { + if yyn3 { r.EncodeNil() } else { if x.Exec == nil { @@ -19601,18 +21305,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn1413 bool + var yyn6 bool if x.Handler.HTTPGet == nil { - yyn1413 = true - goto LABEL1413 + yyn6 = true + goto LABEL6 } - LABEL1413: - if yyr1411 || yy2arr1411 { - if yyn1413 { + LABEL6: + if yyr2 || yy2arr2 { + if yyn6 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1411[1] { + if yyq2[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -19623,11 +21327,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1411[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1413 { + if yyn6 { r.EncodeNil() } else { if x.HTTPGet == nil { @@ -19638,18 +21342,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn1414 bool + var yyn9 bool if x.Handler.TCPSocket == nil { - yyn1414 = true - goto LABEL1414 + yyn9 = true + goto LABEL9 } - LABEL1414: - if yyr1411 || yy2arr1411 { - if yyn1414 { + LABEL9: + if yyr2 || yy2arr2 { + if yyn9 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1411[2] { + if yyq2[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -19660,11 +21364,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1411[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1414 { + if yyn9 { r.EncodeNil() } else { if x.TCPSocket == nil { @@ -19675,11 +21379,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1411 || yy2arr1411 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1411[3] { - yym1416 := z.EncBinary() - _ = yym1416 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeInt(int64(x.InitialDelaySeconds)) @@ -19688,23 +21392,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1411[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("initialDelaySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1417 := z.EncBinary() - _ = yym1417 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeInt(int64(x.InitialDelaySeconds)) } } } - if yyr1411 || yy2arr1411 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1411[4] { - yym1419 := z.EncBinary() - _ = yym1419 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeInt(int64(x.TimeoutSeconds)) @@ -19713,23 +21417,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1411[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1420 := z.EncBinary() - _ = yym1420 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeInt(int64(x.TimeoutSeconds)) } } } - if yyr1411 || yy2arr1411 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1411[5] { - yym1422 := z.EncBinary() - _ = yym1422 + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeInt(int64(x.PeriodSeconds)) @@ -19738,23 +21442,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1411[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("periodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1423 := z.EncBinary() - _ = yym1423 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeInt(int64(x.PeriodSeconds)) } } } - if yyr1411 || yy2arr1411 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1411[6] { - yym1425 := z.EncBinary() - _ = yym1425 + if yyq2[6] { + yym22 := z.EncBinary() + _ = yym22 if false { } else { r.EncodeInt(int64(x.SuccessThreshold)) @@ -19763,23 +21467,23 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1411[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("successThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1426 := z.EncBinary() - _ = yym1426 + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeInt(int64(x.SuccessThreshold)) } } } - if yyr1411 || yy2arr1411 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1411[7] { - yym1428 := z.EncBinary() - _ = yym1428 + if yyq2[7] { + yym25 := z.EncBinary() + _ = yym25 if false { } else { r.EncodeInt(int64(x.FailureThreshold)) @@ -19788,19 +21492,19 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1411[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failureThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1429 := z.EncBinary() - _ = yym1429 + yym26 := z.EncBinary() + _ = yym26 if false { } else { r.EncodeInt(int64(x.FailureThreshold)) } } } - if yyr1411 || yy2arr1411 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19813,25 +21517,25 @@ func (x *Probe) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1430 := z.DecBinary() - _ = yym1430 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1431 := r.ContainerType() - if yyct1431 == codecSelferValueTypeMap1234 { - yyl1431 := r.ReadMapStart() - if yyl1431 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1431, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1431 == codecSelferValueTypeArray1234 { - yyl1431 := r.ReadArrayStart() - if yyl1431 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1431, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19843,12 +21547,12 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1432Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1432Slc - var yyhl1432 bool = l >= 0 - for yyj1432 := 0; ; yyj1432++ { - if yyhl1432 { - if yyj1432 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -19857,10 +21561,10 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1432Slc = r.DecodeBytes(yys1432Slc, true, true) - yys1432 := string(yys1432Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1432 { + switch yys3 { case "exec": if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) @@ -19907,36 +21611,66 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.InitialDelaySeconds = 0 } else { - x.InitialDelaySeconds = int32(r.DecodeInt(32)) + yyv7 := &x.InitialDelaySeconds + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*int32)(yyv7)) = int32(r.DecodeInt(32)) + } } case "timeoutSeconds": if r.TryDecodeAsNil() { x.TimeoutSeconds = 0 } else { - x.TimeoutSeconds = int32(r.DecodeInt(32)) + yyv9 := &x.TimeoutSeconds + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*int32)(yyv9)) = int32(r.DecodeInt(32)) + } } case "periodSeconds": if r.TryDecodeAsNil() { x.PeriodSeconds = 0 } else { - x.PeriodSeconds = int32(r.DecodeInt(32)) + yyv11 := &x.PeriodSeconds + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*int32)(yyv11)) = int32(r.DecodeInt(32)) + } } case "successThreshold": if r.TryDecodeAsNil() { x.SuccessThreshold = 0 } else { - x.SuccessThreshold = int32(r.DecodeInt(32)) + yyv13 := &x.SuccessThreshold + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*int32)(yyv13)) = int32(r.DecodeInt(32)) + } } case "failureThreshold": if r.TryDecodeAsNil() { x.FailureThreshold = 0 } else { - x.FailureThreshold = int32(r.DecodeInt(32)) + yyv15 := &x.FailureThreshold + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*int32)(yyv15)) = int32(r.DecodeInt(32)) + } } default: - z.DecStructFieldNotFound(-1, yys1432) - } // end switch yys1432 - } // end for yyj1432 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19944,19 +21678,19 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1441 int - var yyb1441 bool - var yyhl1441 bool = l >= 0 + var yyj17 int + var yyb17 bool + var yyhl17 bool = l >= 0 if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) } - yyj1441++ - if yyhl1441 { - yyb1441 = yyj1441 > l + yyj17++ + if yyhl17 { + yyb17 = yyj17 > l } else { - yyb1441 = r.CheckBreak() + yyb17 = r.CheckBreak() } - if yyb1441 { + if yyb17 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19974,13 +21708,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.HTTPGet == nil { x.Handler.HTTPGet = new(HTTPGetAction) } - yyj1441++ - if yyhl1441 { - yyb1441 = yyj1441 > l + yyj17++ + if yyhl17 { + yyb17 = yyj17 > l } else { - yyb1441 = r.CheckBreak() + yyb17 = r.CheckBreak() } - if yyb1441 { + if yyb17 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19998,13 +21732,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.TCPSocket == nil { x.Handler.TCPSocket = new(TCPSocketAction) } - yyj1441++ - if yyhl1441 { - yyb1441 = yyj1441 > l + yyj17++ + if yyhl17 { + yyb17 = yyj17 > l } else { - yyb1441 = r.CheckBreak() + yyb17 = r.CheckBreak() } - if yyb1441 { + if yyb17 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20019,13 +21753,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.TCPSocket.CodecDecodeSelf(d) } - yyj1441++ - if yyhl1441 { - yyb1441 = yyj1441 > l + yyj17++ + if yyhl17 { + yyb17 = yyj17 > l } else { - yyb1441 = r.CheckBreak() + yyb17 = r.CheckBreak() } - if yyb1441 { + if yyb17 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20033,15 +21767,21 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.InitialDelaySeconds = 0 } else { - x.InitialDelaySeconds = int32(r.DecodeInt(32)) + yyv21 := &x.InitialDelaySeconds + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*int32)(yyv21)) = int32(r.DecodeInt(32)) + } } - yyj1441++ - if yyhl1441 { - yyb1441 = yyj1441 > l + yyj17++ + if yyhl17 { + yyb17 = yyj17 > l } else { - yyb1441 = r.CheckBreak() + yyb17 = r.CheckBreak() } - if yyb1441 { + if yyb17 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20049,15 +21789,21 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TimeoutSeconds = 0 } else { - x.TimeoutSeconds = int32(r.DecodeInt(32)) + yyv23 := &x.TimeoutSeconds + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*int32)(yyv23)) = int32(r.DecodeInt(32)) + } } - yyj1441++ - if yyhl1441 { - yyb1441 = yyj1441 > l + yyj17++ + if yyhl17 { + yyb17 = yyj17 > l } else { - yyb1441 = r.CheckBreak() + yyb17 = r.CheckBreak() } - if yyb1441 { + if yyb17 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20065,15 +21811,21 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PeriodSeconds = 0 } else { - x.PeriodSeconds = int32(r.DecodeInt(32)) + yyv25 := &x.PeriodSeconds + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*int32)(yyv25)) = int32(r.DecodeInt(32)) + } } - yyj1441++ - if yyhl1441 { - yyb1441 = yyj1441 > l + yyj17++ + if yyhl17 { + yyb17 = yyj17 > l } else { - yyb1441 = r.CheckBreak() + yyb17 = r.CheckBreak() } - if yyb1441 { + if yyb17 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20081,15 +21833,21 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.SuccessThreshold = 0 } else { - x.SuccessThreshold = int32(r.DecodeInt(32)) + yyv27 := &x.SuccessThreshold + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*int32)(yyv27)) = int32(r.DecodeInt(32)) + } } - yyj1441++ - if yyhl1441 { - yyb1441 = yyj1441 > l + yyj17++ + if yyhl17 { + yyb17 = yyj17 > l } else { - yyb1441 = r.CheckBreak() + yyb17 = r.CheckBreak() } - if yyb1441 { + if yyb17 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20097,20 +21855,26 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FailureThreshold = 0 } else { - x.FailureThreshold = int32(r.DecodeInt(32)) + yyv29 := &x.FailureThreshold + yym30 := z.DecBinary() + _ = yym30 + if false { + } else { + *((*int32)(yyv29)) = int32(r.DecodeInt(32)) + } } for { - yyj1441++ - if yyhl1441 { - yyb1441 = yyj1441 > l + yyj17++ + if yyhl17 { + yyb17 = yyj17 > l } else { - yyb1441 = r.CheckBreak() + yyb17 = r.CheckBreak() } - if yyb1441 { + if yyb17 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1441-1, "") + z.DecStructFieldNotFound(yyj17-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20119,8 +21883,8 @@ func (x PullPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1450 := z.EncBinary() - _ = yym1450 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -20132,8 +21896,8 @@ func (x *PullPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1451 := z.DecBinary() - _ = yym1451 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -20145,8 +21909,8 @@ func (x Capability) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1452 := z.EncBinary() - _ = yym1452 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -20158,8 +21922,8 @@ func (x *Capability) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1453 := z.DecBinary() - _ = yym1453 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -20174,39 +21938,39 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1454 := z.EncBinary() - _ = yym1454 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1455 := !z.EncBinary() - yy2arr1455 := z.EncBasicHandle().StructToArray - var yyq1455 [2]bool - _, _, _ = yysep1455, yyq1455, yy2arr1455 - const yyr1455 bool = false - yyq1455[0] = len(x.Add) != 0 - yyq1455[1] = len(x.Drop) != 0 - var yynn1455 int - if yyr1455 || yy2arr1455 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Add) != 0 + yyq2[1] = len(x.Drop) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1455 = 0 - for _, b := range yyq1455 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1455++ + yynn2++ } } - r.EncodeMapStart(yynn1455) - yynn1455 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1455 || yy2arr1455 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1455[0] { + if yyq2[0] { if x.Add == nil { r.EncodeNil() } else { - yym1457 := z.EncBinary() - _ = yym1457 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -20216,15 +21980,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1455[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("add")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Add == nil { r.EncodeNil() } else { - yym1458 := z.EncBinary() - _ = yym1458 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -20232,14 +21996,14 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1455 || yy2arr1455 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1455[1] { + if yyq2[1] { if x.Drop == nil { r.EncodeNil() } else { - yym1460 := z.EncBinary() - _ = yym1460 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -20249,15 +22013,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1455[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("drop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Drop == nil { r.EncodeNil() } else { - yym1461 := z.EncBinary() - _ = yym1461 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -20265,7 +22029,7 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1455 || yy2arr1455 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20278,25 +22042,25 @@ func (x *Capabilities) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1462 := z.DecBinary() - _ = yym1462 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1463 := r.ContainerType() - if yyct1463 == codecSelferValueTypeMap1234 { - yyl1463 := r.ReadMapStart() - if yyl1463 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1463, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1463 == codecSelferValueTypeArray1234 { - yyl1463 := r.ReadArrayStart() - if yyl1463 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1463, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20308,12 +22072,12 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1464Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1464Slc - var yyhl1464 bool = l >= 0 - for yyj1464 := 0; ; yyj1464++ { - if yyhl1464 { - if yyj1464 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -20322,38 +22086,38 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1464Slc = r.DecodeBytes(yys1464Slc, true, true) - yys1464 := string(yys1464Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1464 { + switch yys3 { case "add": if r.TryDecodeAsNil() { x.Add = nil } else { - yyv1465 := &x.Add - yym1466 := z.DecBinary() - _ = yym1466 + yyv4 := &x.Add + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1465), d) + h.decSliceCapability((*[]Capability)(yyv4), d) } } case "drop": if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv1467 := &x.Drop - yym1468 := z.DecBinary() - _ = yym1468 + yyv6 := &x.Drop + yym7 := z.DecBinary() + _ = yym7 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1467), d) + h.decSliceCapability((*[]Capability)(yyv6), d) } } default: - z.DecStructFieldNotFound(-1, yys1464) - } // end switch yys1464 - } // end for yyj1464 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20361,16 +22125,16 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1469 int - var yyb1469 bool - var yyhl1469 bool = l >= 0 - yyj1469++ - if yyhl1469 { - yyb1469 = yyj1469 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1469 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1469 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20378,21 +22142,21 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Add = nil } else { - yyv1470 := &x.Add - yym1471 := z.DecBinary() - _ = yym1471 + yyv9 := &x.Add + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1470), d) + h.decSliceCapability((*[]Capability)(yyv9), d) } } - yyj1469++ - if yyhl1469 { - yyb1469 = yyj1469 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1469 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1469 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20400,26 +22164,26 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv1472 := &x.Drop - yym1473 := z.DecBinary() - _ = yym1473 + yyv11 := &x.Drop + yym12 := z.DecBinary() + _ = yym12 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1472), d) + h.decSliceCapability((*[]Capability)(yyv11), d) } } for { - yyj1469++ - if yyhl1469 { - yyb1469 = yyj1469 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1469 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1469 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1469-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20431,34 +22195,34 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1474 := z.EncBinary() - _ = yym1474 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1475 := !z.EncBinary() - yy2arr1475 := z.EncBasicHandle().StructToArray - var yyq1475 [2]bool - _, _, _ = yysep1475, yyq1475, yy2arr1475 - const yyr1475 bool = false - yyq1475[0] = len(x.Limits) != 0 - yyq1475[1] = len(x.Requests) != 0 - var yynn1475 int - if yyr1475 || yy2arr1475 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Limits) != 0 + yyq2[1] = len(x.Requests) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1475 = 0 - for _, b := range yyq1475 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1475++ + yynn2++ } } - r.EncodeMapStart(yynn1475) - yynn1475 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1475 || yy2arr1475 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1475[0] { + if yyq2[0] { if x.Limits == nil { r.EncodeNil() } else { @@ -20468,7 +22232,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1475[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limits")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20479,9 +22243,9 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1475 || yy2arr1475 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1475[1] { + if yyq2[1] { if x.Requests == nil { r.EncodeNil() } else { @@ -20491,7 +22255,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1475[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requests")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20502,7 +22266,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1475 || yy2arr1475 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20515,25 +22279,25 @@ func (x *ResourceRequirements) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1478 := z.DecBinary() - _ = yym1478 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1479 := r.ContainerType() - if yyct1479 == codecSelferValueTypeMap1234 { - yyl1479 := r.ReadMapStart() - if yyl1479 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1479, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1479 == codecSelferValueTypeArray1234 { - yyl1479 := r.ReadArrayStart() - if yyl1479 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1479, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20545,12 +22309,12 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1480Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1480Slc - var yyhl1480 bool = l >= 0 - for yyj1480 := 0; ; yyj1480++ { - if yyhl1480 { - if yyj1480 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -20559,28 +22323,28 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1480Slc = r.DecodeBytes(yys1480Slc, true, true) - yys1480 := string(yys1480Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1480 { + switch yys3 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv1481 := &x.Limits - yyv1481.CodecDecodeSelf(d) + yyv4 := &x.Limits + yyv4.CodecDecodeSelf(d) } case "requests": if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv1482 := &x.Requests - yyv1482.CodecDecodeSelf(d) + yyv5 := &x.Requests + yyv5.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1480) - } // end switch yys1480 - } // end for yyj1480 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20588,16 +22352,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1483 int - var yyb1483 bool - var yyhl1483 bool = l >= 0 - yyj1483++ - if yyhl1483 { - yyb1483 = yyj1483 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1483 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1483 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20605,16 +22369,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv1484 := &x.Limits - yyv1484.CodecDecodeSelf(d) + yyv7 := &x.Limits + yyv7.CodecDecodeSelf(d) } - yyj1483++ - if yyhl1483 { - yyb1483 = yyj1483 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1483 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1483 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20622,21 +22386,21 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv1485 := &x.Requests - yyv1485.CodecDecodeSelf(d) + yyv8 := &x.Requests + yyv8.CodecDecodeSelf(d) } for { - yyj1483++ - if yyhl1483 { - yyb1483 = yyj1483 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1483 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1483 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1483-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20648,50 +22412,51 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1486 := z.EncBinary() - _ = yym1486 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1487 := !z.EncBinary() - yy2arr1487 := z.EncBasicHandle().StructToArray - var yyq1487 [18]bool - _, _, _ = yysep1487, yyq1487, yy2arr1487 - const yyr1487 bool = false - yyq1487[1] = x.Image != "" - yyq1487[2] = len(x.Command) != 0 - yyq1487[3] = len(x.Args) != 0 - yyq1487[4] = x.WorkingDir != "" - yyq1487[5] = len(x.Ports) != 0 - yyq1487[6] = len(x.Env) != 0 - yyq1487[7] = true - yyq1487[8] = len(x.VolumeMounts) != 0 - yyq1487[9] = x.LivenessProbe != nil - yyq1487[10] = x.ReadinessProbe != nil - yyq1487[11] = x.Lifecycle != nil - yyq1487[12] = x.TerminationMessagePath != "" - yyq1487[13] = x.ImagePullPolicy != "" - yyq1487[14] = x.SecurityContext != nil - yyq1487[15] = x.Stdin != false - yyq1487[16] = x.StdinOnce != false - yyq1487[17] = x.TTY != false - var yynn1487 int - if yyr1487 || yy2arr1487 { - r.EncodeArrayStart(18) + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [19]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.Image != "" + yyq2[2] = len(x.Command) != 0 + yyq2[3] = len(x.Args) != 0 + yyq2[4] = x.WorkingDir != "" + yyq2[5] = len(x.Ports) != 0 + yyq2[6] = len(x.EnvFrom) != 0 + yyq2[7] = len(x.Env) != 0 + yyq2[8] = true + yyq2[9] = len(x.VolumeMounts) != 0 + yyq2[10] = x.LivenessProbe != nil + yyq2[11] = x.ReadinessProbe != nil + yyq2[12] = x.Lifecycle != nil + yyq2[13] = x.TerminationMessagePath != "" + yyq2[14] = x.ImagePullPolicy != "" + yyq2[15] = x.SecurityContext != nil + yyq2[16] = x.Stdin != false + yyq2[17] = x.StdinOnce != false + yyq2[18] = x.TTY != false + var yynn2 int + if yyr2 || yy2arr2 { + r.EncodeArrayStart(19) } else { - yynn1487 = 1 - for _, b := range yyq1487 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1487++ + yynn2++ } } - r.EncodeMapStart(yynn1487) - yynn1487 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1489 := z.EncBinary() - _ = yym1489 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -20700,18 +22465,18 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1490 := z.EncBinary() - _ = yym1490 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[1] { - yym1492 := z.EncBinary() - _ = yym1492 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -20720,26 +22485,26 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1487[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1493 := z.EncBinary() - _ = yym1493 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[2] { + if yyq2[2] { if x.Command == nil { r.EncodeNil() } else { - yym1495 := z.EncBinary() - _ = yym1495 + yym10 := z.EncBinary() + _ = yym10 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -20749,15 +22514,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1487[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym1496 := z.EncBinary() - _ = yym1496 + yym11 := z.EncBinary() + _ = yym11 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -20765,14 +22530,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[3] { + if yyq2[3] { if x.Args == nil { r.EncodeNil() } else { - yym1498 := z.EncBinary() - _ = yym1498 + yym13 := z.EncBinary() + _ = yym13 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -20782,15 +22547,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1487[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("args")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Args == nil { r.EncodeNil() } else { - yym1499 := z.EncBinary() - _ = yym1499 + yym14 := z.EncBinary() + _ = yym14 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -20798,11 +22563,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[4] { - yym1501 := z.EncBinary() - _ = yym1501 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) @@ -20811,26 +22576,26 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1487[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("workingDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1502 := z.EncBinary() - _ = yym1502 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[5] { + if yyq2[5] { if x.Ports == nil { r.EncodeNil() } else { - yym1504 := z.EncBinary() - _ = yym1504 + yym19 := z.EncBinary() + _ = yym19 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -20840,15 +22605,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1487[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym1505 := z.EncBinary() - _ = yym1505 + yym20 := z.EncBinary() + _ = yym20 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -20856,14 +22621,47 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[6] { + if yyq2[6] { + if x.EnvFrom == nil { + r.EncodeNil() + } else { + yym22 := z.EncBinary() + _ = yym22 + if false { + } else { + h.encSliceEnvFromSource(([]EnvFromSource)(x.EnvFrom), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq2[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("envFrom")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.EnvFrom == nil { + r.EncodeNil() + } else { + yym23 := z.EncBinary() + _ = yym23 + if false { + } else { + h.encSliceEnvFromSource(([]EnvFromSource)(x.EnvFrom), e) + } + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[7] { if x.Env == nil { r.EncodeNil() } else { - yym1507 := z.EncBinary() - _ = yym1507 + yym25 := z.EncBinary() + _ = yym25 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -20873,15 +22671,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1487[6] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("env")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Env == nil { r.EncodeNil() } else { - yym1508 := z.EncBinary() - _ = yym1508 + yym26 := z.EncBinary() + _ = yym26 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -20889,31 +22687,31 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[7] { - yy1510 := &x.Resources - yy1510.CodecEncodeSelf(e) + if yyq2[8] { + yy28 := &x.Resources + yy28.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1487[7] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1511 := &x.Resources - yy1511.CodecEncodeSelf(e) + yy30 := &x.Resources + yy30.CodecEncodeSelf(e) } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[8] { + if yyq2[9] { if x.VolumeMounts == nil { r.EncodeNil() } else { - yym1513 := z.EncBinary() - _ = yym1513 + yym33 := z.EncBinary() + _ = yym33 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -20923,15 +22721,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1487[8] { + if yyq2[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeMounts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumeMounts == nil { r.EncodeNil() } else { - yym1514 := z.EncBinary() - _ = yym1514 + yym34 := z.EncBinary() + _ = yym34 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -20939,9 +22737,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[9] { + if yyq2[10] { if x.LivenessProbe == nil { r.EncodeNil() } else { @@ -20951,7 +22749,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1487[9] { + if yyq2[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("livenessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20962,9 +22760,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[10] { + if yyq2[11] { if x.ReadinessProbe == nil { r.EncodeNil() } else { @@ -20974,7 +22772,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1487[10] { + if yyq2[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readinessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20985,9 +22783,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[11] { + if yyq2[12] { if x.Lifecycle == nil { r.EncodeNil() } else { @@ -20997,7 +22795,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1487[11] { + if yyq2[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lifecycle")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21008,11 +22806,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[12] { - yym1519 := z.EncBinary() - _ = yym1519 + if yyq2[13] { + yym45 := z.EncBinary() + _ = yym45 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) @@ -21021,36 +22819,36 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1487[12] { + if yyq2[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationMessagePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1520 := z.EncBinary() - _ = yym1520 + yym46 := z.EncBinary() + _ = yym46 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[13] { + if yyq2[14] { x.ImagePullPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1487[13] { + if yyq2[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ImagePullPolicy.CodecEncodeSelf(e) } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[14] { + if yyq2[15] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -21060,7 +22858,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1487[14] { + if yyq2[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21071,11 +22869,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[15] { - yym1524 := z.EncBinary() - _ = yym1524 + if yyq2[16] { + yym54 := z.EncBinary() + _ = yym54 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -21084,23 +22882,23 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1487[15] { + if yyq2[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1525 := z.EncBinary() - _ = yym1525 + yym55 := z.EncBinary() + _ = yym55 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[16] { - yym1527 := z.EncBinary() - _ = yym1527 + if yyq2[17] { + yym57 := z.EncBinary() + _ = yym57 if false { } else { r.EncodeBool(bool(x.StdinOnce)) @@ -21109,23 +22907,23 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1487[16] { + if yyq2[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdinOnce")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1528 := z.EncBinary() - _ = yym1528 + yym58 := z.EncBinary() + _ = yym58 if false { } else { r.EncodeBool(bool(x.StdinOnce)) } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1487[17] { - yym1530 := z.EncBinary() - _ = yym1530 + if yyq2[18] { + yym60 := z.EncBinary() + _ = yym60 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -21134,19 +22932,19 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1487[17] { + if yyq2[18] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1531 := z.EncBinary() - _ = yym1531 + yym61 := z.EncBinary() + _ = yym61 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr1487 || yy2arr1487 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21159,25 +22957,25 @@ func (x *Container) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1532 := z.DecBinary() - _ = yym1532 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1533 := r.ContainerType() - if yyct1533 == codecSelferValueTypeMap1234 { - yyl1533 := r.ReadMapStart() - if yyl1533 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1533, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1533 == codecSelferValueTypeArray1234 { - yyl1533 := r.ReadArrayStart() - if yyl1533 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1533, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21189,12 +22987,12 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1534Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1534Slc - var yyhl1534 bool = l >= 0 - for yyj1534 := 0; ; yyj1534++ { - if yyhl1534 { - if yyj1534 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -21203,93 +23001,123 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1534Slc = r.DecodeBytes(yys1534Slc, true, true) - yys1534 := string(yys1534Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1534 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "image": if r.TryDecodeAsNil() { x.Image = "" } else { - x.Image = string(r.DecodeString()) + yyv6 := &x.Image + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "command": if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1537 := &x.Command - yym1538 := z.DecBinary() - _ = yym1538 + yyv8 := &x.Command + yym9 := z.DecBinary() + _ = yym9 if false { } else { - z.F.DecSliceStringX(yyv1537, false, d) + z.F.DecSliceStringX(yyv8, false, d) } } case "args": if r.TryDecodeAsNil() { x.Args = nil } else { - yyv1539 := &x.Args - yym1540 := z.DecBinary() - _ = yym1540 + yyv10 := &x.Args + yym11 := z.DecBinary() + _ = yym11 if false { } else { - z.F.DecSliceStringX(yyv1539, false, d) + z.F.DecSliceStringX(yyv10, false, d) } } case "workingDir": if r.TryDecodeAsNil() { x.WorkingDir = "" } else { - x.WorkingDir = string(r.DecodeString()) + yyv12 := &x.WorkingDir + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1542 := &x.Ports - yym1543 := z.DecBinary() - _ = yym1543 + yyv14 := &x.Ports + yym15 := z.DecBinary() + _ = yym15 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv1542), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv14), d) + } + } + case "envFrom": + if r.TryDecodeAsNil() { + x.EnvFrom = nil + } else { + yyv16 := &x.EnvFrom + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + h.decSliceEnvFromSource((*[]EnvFromSource)(yyv16), d) } } case "env": if r.TryDecodeAsNil() { x.Env = nil } else { - yyv1544 := &x.Env - yym1545 := z.DecBinary() - _ = yym1545 + yyv18 := &x.Env + yym19 := z.DecBinary() + _ = yym19 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv1544), d) + h.decSliceEnvVar((*[]EnvVar)(yyv18), d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv1546 := &x.Resources - yyv1546.CodecDecodeSelf(d) + yyv20 := &x.Resources + yyv20.CodecDecodeSelf(d) } case "volumeMounts": if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv1547 := &x.VolumeMounts - yym1548 := z.DecBinary() - _ = yym1548 + yyv21 := &x.VolumeMounts + yym22 := z.DecBinary() + _ = yym22 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv1547), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv21), d) } } case "livenessProbe": @@ -21329,13 +23157,20 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TerminationMessagePath = "" } else { - x.TerminationMessagePath = string(r.DecodeString()) + yyv26 := &x.TerminationMessagePath + yym27 := z.DecBinary() + _ = yym27 + if false { + } else { + *((*string)(yyv26)) = r.DecodeString() + } } case "imagePullPolicy": if r.TryDecodeAsNil() { x.ImagePullPolicy = "" } else { - x.ImagePullPolicy = PullPolicy(r.DecodeString()) + yyv28 := &x.ImagePullPolicy + yyv28.CodecDecodeSelf(d) } case "securityContext": if r.TryDecodeAsNil() { @@ -21352,24 +23187,42 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Stdin = false } else { - x.Stdin = bool(r.DecodeBool()) + yyv30 := &x.Stdin + yym31 := z.DecBinary() + _ = yym31 + if false { + } else { + *((*bool)(yyv30)) = r.DecodeBool() + } } case "stdinOnce": if r.TryDecodeAsNil() { x.StdinOnce = false } else { - x.StdinOnce = bool(r.DecodeBool()) + yyv32 := &x.StdinOnce + yym33 := z.DecBinary() + _ = yym33 + if false { + } else { + *((*bool)(yyv32)) = r.DecodeBool() + } } case "tty": if r.TryDecodeAsNil() { x.TTY = false } else { - x.TTY = bool(r.DecodeBool()) + yyv34 := &x.TTY + yym35 := z.DecBinary() + _ = yym35 + if false { + } else { + *((*bool)(yyv34)) = r.DecodeBool() + } } default: - z.DecStructFieldNotFound(-1, yys1534) - } // end switch yys1534 - } // end for yyj1534 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21377,16 +23230,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1558 int - var yyb1558 bool - var yyhl1558 bool = l >= 0 - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + var yyj36 int + var yyb36 bool + var yyhl36 bool = l >= 0 + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21394,15 +23247,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv37 := &x.Name + yym38 := z.DecBinary() + _ = yym38 + if false { + } else { + *((*string)(yyv37)) = r.DecodeString() + } } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21410,15 +23269,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Image = "" } else { - x.Image = string(r.DecodeString()) + yyv39 := &x.Image + yym40 := z.DecBinary() + _ = yym40 + if false { + } else { + *((*string)(yyv39)) = r.DecodeString() + } } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21426,21 +23291,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1561 := &x.Command - yym1562 := z.DecBinary() - _ = yym1562 + yyv41 := &x.Command + yym42 := z.DecBinary() + _ = yym42 if false { } else { - z.F.DecSliceStringX(yyv1561, false, d) + z.F.DecSliceStringX(yyv41, false, d) } } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21448,21 +23313,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Args = nil } else { - yyv1563 := &x.Args - yym1564 := z.DecBinary() - _ = yym1564 + yyv43 := &x.Args + yym44 := z.DecBinary() + _ = yym44 if false { } else { - z.F.DecSliceStringX(yyv1563, false, d) + z.F.DecSliceStringX(yyv43, false, d) } } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21470,15 +23335,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.WorkingDir = "" } else { - x.WorkingDir = string(r.DecodeString()) + yyv45 := &x.WorkingDir + yym46 := z.DecBinary() + _ = yym46 + if false { + } else { + *((*string)(yyv45)) = r.DecodeString() + } } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21486,21 +23357,43 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1566 := &x.Ports - yym1567 := z.DecBinary() - _ = yym1567 + yyv47 := &x.Ports + yym48 := z.DecBinary() + _ = yym48 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv1566), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv47), d) } } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EnvFrom = nil + } else { + yyv49 := &x.EnvFrom + yym50 := z.DecBinary() + _ = yym50 + if false { + } else { + h.decSliceEnvFromSource((*[]EnvFromSource)(yyv49), d) + } + } + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l + } else { + yyb36 = r.CheckBreak() + } + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21508,21 +23401,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Env = nil } else { - yyv1568 := &x.Env - yym1569 := z.DecBinary() - _ = yym1569 + yyv51 := &x.Env + yym52 := z.DecBinary() + _ = yym52 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv1568), d) + h.decSliceEnvVar((*[]EnvVar)(yyv51), d) } } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21530,16 +23423,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv1570 := &x.Resources - yyv1570.CodecDecodeSelf(d) + yyv53 := &x.Resources + yyv53.CodecDecodeSelf(d) } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21547,21 +23440,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv1571 := &x.VolumeMounts - yym1572 := z.DecBinary() - _ = yym1572 + yyv54 := &x.VolumeMounts + yym55 := z.DecBinary() + _ = yym55 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv1571), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv54), d) } } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21576,13 +23469,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.LivenessProbe.CodecDecodeSelf(d) } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21597,13 +23490,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ReadinessProbe.CodecDecodeSelf(d) } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21618,13 +23511,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Lifecycle.CodecDecodeSelf(d) } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21632,15 +23525,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TerminationMessagePath = "" } else { - x.TerminationMessagePath = string(r.DecodeString()) + yyv59 := &x.TerminationMessagePath + yym60 := z.DecBinary() + _ = yym60 + if false { + } else { + *((*string)(yyv59)) = r.DecodeString() + } } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21648,15 +23547,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullPolicy = "" } else { - x.ImagePullPolicy = PullPolicy(r.DecodeString()) + yyv61 := &x.ImagePullPolicy + yyv61.CodecDecodeSelf(d) } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21671,13 +23571,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21685,15 +23585,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Stdin = false } else { - x.Stdin = bool(r.DecodeBool()) + yyv63 := &x.Stdin + yym64 := z.DecBinary() + _ = yym64 + if false { + } else { + *((*bool)(yyv63)) = r.DecodeBool() + } } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21701,15 +23607,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.StdinOnce = false } else { - x.StdinOnce = bool(r.DecodeBool()) + yyv65 := &x.StdinOnce + yym66 := z.DecBinary() + _ = yym66 + if false { + } else { + *((*bool)(yyv65)) = r.DecodeBool() + } } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21717,20 +23629,26 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TTY = false } else { - x.TTY = bool(r.DecodeBool()) + yyv67 := &x.TTY + yym68 := z.DecBinary() + _ = yym68 + if false { + } else { + *((*bool)(yyv67)) = r.DecodeBool() + } } for { - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb1558 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb1558 { + if yyb36 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1558-1, "") + z.DecStructFieldNotFound(yyj36-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21742,35 +23660,35 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1582 := z.EncBinary() - _ = yym1582 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1583 := !z.EncBinary() - yy2arr1583 := z.EncBasicHandle().StructToArray - var yyq1583 [3]bool - _, _, _ = yysep1583, yyq1583, yy2arr1583 - const yyr1583 bool = false - yyq1583[0] = x.Exec != nil - yyq1583[1] = x.HTTPGet != nil - yyq1583[2] = x.TCPSocket != nil - var yynn1583 int - if yyr1583 || yy2arr1583 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Exec != nil + yyq2[1] = x.HTTPGet != nil + yyq2[2] = x.TCPSocket != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn1583 = 0 - for _, b := range yyq1583 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1583++ + yynn2++ } } - r.EncodeMapStart(yynn1583) - yynn1583 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1583 || yy2arr1583 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1583[0] { + if yyq2[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -21780,7 +23698,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1583[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21791,9 +23709,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1583 || yy2arr1583 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1583[1] { + if yyq2[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -21803,7 +23721,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1583[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21814,9 +23732,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1583 || yy2arr1583 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1583[2] { + if yyq2[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -21826,7 +23744,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1583[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21837,7 +23755,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1583 || yy2arr1583 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21850,25 +23768,25 @@ func (x *Handler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1587 := z.DecBinary() - _ = yym1587 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1588 := r.ContainerType() - if yyct1588 == codecSelferValueTypeMap1234 { - yyl1588 := r.ReadMapStart() - if yyl1588 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1588, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1588 == codecSelferValueTypeArray1234 { - yyl1588 := r.ReadArrayStart() - if yyl1588 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1588, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21880,12 +23798,12 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1589Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1589Slc - var yyhl1589 bool = l >= 0 - for yyj1589 := 0; ; yyj1589++ { - if yyhl1589 { - if yyj1589 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -21894,10 +23812,10 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1589Slc = r.DecodeBytes(yys1589Slc, true, true) - yys1589 := string(yys1589Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1589 { + switch yys3 { case "exec": if r.TryDecodeAsNil() { if x.Exec != nil { @@ -21932,9 +23850,9 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1589) - } // end switch yys1589 - } // end for yyj1589 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21942,16 +23860,16 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1593 int - var yyb1593 bool - var yyhl1593 bool = l >= 0 - yyj1593++ - if yyhl1593 { - yyb1593 = yyj1593 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1593 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1593 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21966,13 +23884,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Exec.CodecDecodeSelf(d) } - yyj1593++ - if yyhl1593 { - yyb1593 = yyj1593 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1593 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1593 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21987,13 +23905,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HTTPGet.CodecDecodeSelf(d) } - yyj1593++ - if yyhl1593 { - yyb1593 = yyj1593 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1593 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1593 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22009,17 +23927,17 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } for { - yyj1593++ - if yyhl1593 { - yyb1593 = yyj1593 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1593 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1593 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1593-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22031,34 +23949,34 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1597 := z.EncBinary() - _ = yym1597 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1598 := !z.EncBinary() - yy2arr1598 := z.EncBasicHandle().StructToArray - var yyq1598 [2]bool - _, _, _ = yysep1598, yyq1598, yy2arr1598 - const yyr1598 bool = false - yyq1598[0] = x.PostStart != nil - yyq1598[1] = x.PreStop != nil - var yynn1598 int - if yyr1598 || yy2arr1598 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.PostStart != nil + yyq2[1] = x.PreStop != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1598 = 0 - for _, b := range yyq1598 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1598++ + yynn2++ } } - r.EncodeMapStart(yynn1598) - yynn1598 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1598 || yy2arr1598 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1598[0] { + if yyq2[0] { if x.PostStart == nil { r.EncodeNil() } else { @@ -22068,7 +23986,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1598[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("postStart")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -22079,9 +23997,9 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1598 || yy2arr1598 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1598[1] { + if yyq2[1] { if x.PreStop == nil { r.EncodeNil() } else { @@ -22091,7 +24009,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1598[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preStop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -22102,7 +24020,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1598 || yy2arr1598 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22115,25 +24033,25 @@ func (x *Lifecycle) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1601 := z.DecBinary() - _ = yym1601 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1602 := r.ContainerType() - if yyct1602 == codecSelferValueTypeMap1234 { - yyl1602 := r.ReadMapStart() - if yyl1602 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1602, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1602 == codecSelferValueTypeArray1234 { - yyl1602 := r.ReadArrayStart() - if yyl1602 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1602, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22145,12 +24063,12 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1603Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1603Slc - var yyhl1603 bool = l >= 0 - for yyj1603 := 0; ; yyj1603++ { - if yyhl1603 { - if yyj1603 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -22159,10 +24077,10 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1603Slc = r.DecodeBytes(yys1603Slc, true, true) - yys1603 := string(yys1603Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1603 { + switch yys3 { case "postStart": if r.TryDecodeAsNil() { if x.PostStart != nil { @@ -22186,9 +24104,9 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PreStop.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1603) - } // end switch yys1603 - } // end for yyj1603 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22196,16 +24114,16 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1606 int - var yyb1606 bool - var yyhl1606 bool = l >= 0 - yyj1606++ - if yyhl1606 { - yyb1606 = yyj1606 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1606 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1606 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22220,13 +24138,13 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PostStart.CodecDecodeSelf(d) } - yyj1606++ - if yyhl1606 { - yyb1606 = yyj1606 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1606 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1606 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22242,17 +24160,17 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PreStop.CodecDecodeSelf(d) } for { - yyj1606++ - if yyhl1606 { - yyb1606 = yyj1606 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1606 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1606 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1606-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22261,8 +24179,8 @@ func (x ConditionStatus) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1609 := z.EncBinary() - _ = yym1609 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -22274,8 +24192,8 @@ func (x *ConditionStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1610 := z.DecBinary() - _ = yym1610 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -22290,36 +24208,36 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1611 := z.EncBinary() - _ = yym1611 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1612 := !z.EncBinary() - yy2arr1612 := z.EncBasicHandle().StructToArray - var yyq1612 [2]bool - _, _, _ = yysep1612, yyq1612, yy2arr1612 - const yyr1612 bool = false - yyq1612[0] = x.Reason != "" - yyq1612[1] = x.Message != "" - var yynn1612 int - if yyr1612 || yy2arr1612 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Reason != "" + yyq2[1] = x.Message != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1612 = 0 - for _, b := range yyq1612 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1612++ + yynn2++ } } - r.EncodeMapStart(yynn1612) - yynn1612 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1612 || yy2arr1612 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1612[0] { - yym1614 := z.EncBinary() - _ = yym1614 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -22328,23 +24246,23 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1612[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1615 := z.EncBinary() - _ = yym1615 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1612 || yy2arr1612 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1612[1] { - yym1617 := z.EncBinary() - _ = yym1617 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -22353,19 +24271,19 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1612[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1618 := z.EncBinary() - _ = yym1618 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1612 || yy2arr1612 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22378,25 +24296,25 @@ func (x *ContainerStateWaiting) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1619 := z.DecBinary() - _ = yym1619 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1620 := r.ContainerType() - if yyct1620 == codecSelferValueTypeMap1234 { - yyl1620 := r.ReadMapStart() - if yyl1620 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1620, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1620 == codecSelferValueTypeArray1234 { - yyl1620 := r.ReadArrayStart() - if yyl1620 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1620, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22408,12 +24326,12 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1621Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1621Slc - var yyhl1621 bool = l >= 0 - for yyj1621 := 0; ; yyj1621++ { - if yyhl1621 { - if yyj1621 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -22422,26 +24340,38 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1621Slc = r.DecodeBytes(yys1621Slc, true, true) - yys1621 := string(yys1621Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1621 { + switch yys3 { case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv4 := &x.Reason + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv6 := &x.Message + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys1621) - } // end switch yys1621 - } // end for yyj1621 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22449,16 +24379,16 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1624 int - var yyb1624 bool - var yyhl1624 bool = l >= 0 - yyj1624++ - if yyhl1624 { - yyb1624 = yyj1624 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1624 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1624 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22466,15 +24396,21 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv9 := &x.Reason + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj1624++ - if yyhl1624 { - yyb1624 = yyj1624 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1624 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1624 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22482,20 +24418,26 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv11 := &x.Message + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj1624++ - if yyhl1624 { - yyb1624 = yyj1624 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1624 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1624 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1624-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22507,68 +24449,68 @@ func (x *ContainerStateRunning) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1627 := z.EncBinary() - _ = yym1627 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1628 := !z.EncBinary() - yy2arr1628 := z.EncBasicHandle().StructToArray - var yyq1628 [1]bool - _, _, _ = yysep1628, yyq1628, yy2arr1628 - const yyr1628 bool = false - yyq1628[0] = true - var yynn1628 int - if yyr1628 || yy2arr1628 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn1628 = 0 - for _, b := range yyq1628 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1628++ + yynn2++ } } - r.EncodeMapStart(yynn1628) - yynn1628 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1628 || yy2arr1628 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1628[0] { - yy1630 := &x.StartedAt - yym1631 := z.EncBinary() - _ = yym1631 + if yyq2[0] { + yy4 := &x.StartedAt + yym5 := z.EncBinary() + _ = yym5 if false { - } else if z.HasExtensions() && z.EncExt(yy1630) { - } else if yym1631 { - z.EncBinaryMarshal(yy1630) - } else if !yym1631 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1630) + } else if z.HasExtensions() && z.EncExt(yy4) { + } else if yym5 { + z.EncBinaryMarshal(yy4) + } else if !yym5 && z.IsJSONHandle() { + z.EncJSONMarshal(yy4) } else { - z.EncFallback(yy1630) + z.EncFallback(yy4) } } else { r.EncodeNil() } } else { - if yyq1628[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1632 := &x.StartedAt - yym1633 := z.EncBinary() - _ = yym1633 + yy6 := &x.StartedAt + yym7 := z.EncBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.EncExt(yy1632) { - } else if yym1633 { - z.EncBinaryMarshal(yy1632) - } else if !yym1633 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1632) + } else if z.HasExtensions() && z.EncExt(yy6) { + } else if yym7 { + z.EncBinaryMarshal(yy6) + } else if !yym7 && z.IsJSONHandle() { + z.EncJSONMarshal(yy6) } else { - z.EncFallback(yy1632) + z.EncFallback(yy6) } } } - if yyr1628 || yy2arr1628 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22581,25 +24523,25 @@ func (x *ContainerStateRunning) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1634 := z.DecBinary() - _ = yym1634 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1635 := r.ContainerType() - if yyct1635 == codecSelferValueTypeMap1234 { - yyl1635 := r.ReadMapStart() - if yyl1635 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1635, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1635 == codecSelferValueTypeArray1234 { - yyl1635 := r.ReadArrayStart() - if yyl1635 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1635, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22611,12 +24553,12 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1636Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1636Slc - var yyhl1636 bool = l >= 0 - for yyj1636 := 0; ; yyj1636++ { - if yyhl1636 { - if yyj1636 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -22625,31 +24567,31 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1636Slc = r.DecodeBytes(yys1636Slc, true, true) - yys1636 := string(yys1636Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1636 { + switch yys3 { case "startedAt": if r.TryDecodeAsNil() { x.StartedAt = pkg2_v1.Time{} } else { - yyv1637 := &x.StartedAt - yym1638 := z.DecBinary() - _ = yym1638 + yyv4 := &x.StartedAt + yym5 := z.DecBinary() + _ = yym5 if false { - } else if z.HasExtensions() && z.DecExt(yyv1637) { - } else if yym1638 { - z.DecBinaryUnmarshal(yyv1637) - } else if !yym1638 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1637) + } else if z.HasExtensions() && z.DecExt(yyv4) { + } else if yym5 { + z.DecBinaryUnmarshal(yyv4) + } else if !yym5 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4) } else { - z.DecFallback(yyv1637, false) + z.DecFallback(yyv4, false) } } default: - z.DecStructFieldNotFound(-1, yys1636) - } // end switch yys1636 - } // end for yyj1636 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22657,16 +24599,16 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1639 int - var yyb1639 bool - var yyhl1639 bool = l >= 0 - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1639 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1639 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22674,31 +24616,31 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.StartedAt = pkg2_v1.Time{} } else { - yyv1640 := &x.StartedAt - yym1641 := z.DecBinary() - _ = yym1641 + yyv7 := &x.StartedAt + yym8 := z.DecBinary() + _ = yym8 if false { - } else if z.HasExtensions() && z.DecExt(yyv1640) { - } else if yym1641 { - z.DecBinaryUnmarshal(yyv1640) - } else if !yym1641 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1640) + } else if z.HasExtensions() && z.DecExt(yyv7) { + } else if yym8 { + z.DecBinaryUnmarshal(yyv7) + } else if !yym8 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv7) } else { - z.DecFallback(yyv1640, false) + z.DecFallback(yyv7, false) } } for { - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1639 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1639 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1639-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22710,39 +24652,39 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1642 := z.EncBinary() - _ = yym1642 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1643 := !z.EncBinary() - yy2arr1643 := z.EncBasicHandle().StructToArray - var yyq1643 [7]bool - _, _, _ = yysep1643, yyq1643, yy2arr1643 - const yyr1643 bool = false - yyq1643[1] = x.Signal != 0 - yyq1643[2] = x.Reason != "" - yyq1643[3] = x.Message != "" - yyq1643[4] = true - yyq1643[5] = true - yyq1643[6] = x.ContainerID != "" - var yynn1643 int - if yyr1643 || yy2arr1643 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [7]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.Signal != 0 + yyq2[2] = x.Reason != "" + yyq2[3] = x.Message != "" + yyq2[4] = true + yyq2[5] = true + yyq2[6] = x.ContainerID != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(7) } else { - yynn1643 = 1 - for _, b := range yyq1643 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1643++ + yynn2++ } } - r.EncodeMapStart(yynn1643) - yynn1643 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1643 || yy2arr1643 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1645 := z.EncBinary() - _ = yym1645 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.ExitCode)) @@ -22751,18 +24693,18 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exitCode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1646 := z.EncBinary() - _ = yym1646 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.ExitCode)) } } - if yyr1643 || yy2arr1643 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1643[1] { - yym1648 := z.EncBinary() - _ = yym1648 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeInt(int64(x.Signal)) @@ -22771,23 +24713,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1643[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("signal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1649 := z.EncBinary() - _ = yym1649 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeInt(int64(x.Signal)) } } } - if yyr1643 || yy2arr1643 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1643[2] { - yym1651 := z.EncBinary() - _ = yym1651 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -22796,23 +24738,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1643[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1652 := z.EncBinary() - _ = yym1652 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1643 || yy2arr1643 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1643[3] { - yym1654 := z.EncBinary() - _ = yym1654 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -22821,97 +24763,97 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1643[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1655 := z.EncBinary() - _ = yym1655 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1643 || yy2arr1643 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1643[4] { - yy1657 := &x.StartedAt - yym1658 := z.EncBinary() - _ = yym1658 + if yyq2[4] { + yy16 := &x.StartedAt + yym17 := z.EncBinary() + _ = yym17 if false { - } else if z.HasExtensions() && z.EncExt(yy1657) { - } else if yym1658 { - z.EncBinaryMarshal(yy1657) - } else if !yym1658 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1657) + } else if z.HasExtensions() && z.EncExt(yy16) { + } else if yym17 { + z.EncBinaryMarshal(yy16) + } else if !yym17 && z.IsJSONHandle() { + z.EncJSONMarshal(yy16) } else { - z.EncFallback(yy1657) + z.EncFallback(yy16) } } else { r.EncodeNil() } } else { - if yyq1643[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1659 := &x.StartedAt - yym1660 := z.EncBinary() - _ = yym1660 + yy18 := &x.StartedAt + yym19 := z.EncBinary() + _ = yym19 if false { - } else if z.HasExtensions() && z.EncExt(yy1659) { - } else if yym1660 { - z.EncBinaryMarshal(yy1659) - } else if !yym1660 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1659) + } else if z.HasExtensions() && z.EncExt(yy18) { + } else if yym19 { + z.EncBinaryMarshal(yy18) + } else if !yym19 && z.IsJSONHandle() { + z.EncJSONMarshal(yy18) } else { - z.EncFallback(yy1659) + z.EncFallback(yy18) } } } - if yyr1643 || yy2arr1643 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1643[5] { - yy1662 := &x.FinishedAt - yym1663 := z.EncBinary() - _ = yym1663 + if yyq2[5] { + yy21 := &x.FinishedAt + yym22 := z.EncBinary() + _ = yym22 if false { - } else if z.HasExtensions() && z.EncExt(yy1662) { - } else if yym1663 { - z.EncBinaryMarshal(yy1662) - } else if !yym1663 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1662) + } else if z.HasExtensions() && z.EncExt(yy21) { + } else if yym22 { + z.EncBinaryMarshal(yy21) + } else if !yym22 && z.IsJSONHandle() { + z.EncJSONMarshal(yy21) } else { - z.EncFallback(yy1662) + z.EncFallback(yy21) } } else { r.EncodeNil() } } else { - if yyq1643[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finishedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1664 := &x.FinishedAt - yym1665 := z.EncBinary() - _ = yym1665 + yy23 := &x.FinishedAt + yym24 := z.EncBinary() + _ = yym24 if false { - } else if z.HasExtensions() && z.EncExt(yy1664) { - } else if yym1665 { - z.EncBinaryMarshal(yy1664) - } else if !yym1665 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1664) + } else if z.HasExtensions() && z.EncExt(yy23) { + } else if yym24 { + z.EncBinaryMarshal(yy23) + } else if !yym24 && z.IsJSONHandle() { + z.EncJSONMarshal(yy23) } else { - z.EncFallback(yy1664) + z.EncFallback(yy23) } } } - if yyr1643 || yy2arr1643 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1643[6] { - yym1667 := z.EncBinary() - _ = yym1667 + if yyq2[6] { + yym26 := z.EncBinary() + _ = yym26 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -22920,19 +24862,19 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1643[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1668 := z.EncBinary() - _ = yym1668 + yym27 := z.EncBinary() + _ = yym27 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr1643 || yy2arr1643 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22945,25 +24887,25 @@ func (x *ContainerStateTerminated) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1669 := z.DecBinary() - _ = yym1669 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1670 := r.ContainerType() - if yyct1670 == codecSelferValueTypeMap1234 { - yyl1670 := r.ReadMapStart() - if yyl1670 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1670, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1670 == codecSelferValueTypeArray1234 { - yyl1670 := r.ReadArrayStart() - if yyl1670 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1670, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22975,12 +24917,12 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1671Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1671Slc - var yyhl1671 bool = l >= 0 - for yyj1671 := 0; ; yyj1671++ { - if yyhl1671 { - if yyj1671 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -22989,78 +24931,108 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1671Slc = r.DecodeBytes(yys1671Slc, true, true) - yys1671 := string(yys1671Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1671 { + switch yys3 { case "exitCode": if r.TryDecodeAsNil() { x.ExitCode = 0 } else { - x.ExitCode = int32(r.DecodeInt(32)) + yyv4 := &x.ExitCode + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int32)(yyv4)) = int32(r.DecodeInt(32)) + } } case "signal": if r.TryDecodeAsNil() { x.Signal = 0 } else { - x.Signal = int32(r.DecodeInt(32)) + yyv6 := &x.Signal + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*int32)(yyv6)) = int32(r.DecodeInt(32)) + } } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv8 := &x.Reason + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv10 := &x.Message + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "startedAt": if r.TryDecodeAsNil() { x.StartedAt = pkg2_v1.Time{} } else { - yyv1676 := &x.StartedAt - yym1677 := z.DecBinary() - _ = yym1677 + yyv12 := &x.StartedAt + yym13 := z.DecBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.DecExt(yyv1676) { - } else if yym1677 { - z.DecBinaryUnmarshal(yyv1676) - } else if !yym1677 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1676) + } else if z.HasExtensions() && z.DecExt(yyv12) { + } else if yym13 { + z.DecBinaryUnmarshal(yyv12) + } else if !yym13 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv12) } else { - z.DecFallback(yyv1676, false) + z.DecFallback(yyv12, false) } } case "finishedAt": if r.TryDecodeAsNil() { x.FinishedAt = pkg2_v1.Time{} } else { - yyv1678 := &x.FinishedAt - yym1679 := z.DecBinary() - _ = yym1679 + yyv14 := &x.FinishedAt + yym15 := z.DecBinary() + _ = yym15 if false { - } else if z.HasExtensions() && z.DecExt(yyv1678) { - } else if yym1679 { - z.DecBinaryUnmarshal(yyv1678) - } else if !yym1679 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1678) + } else if z.HasExtensions() && z.DecExt(yyv14) { + } else if yym15 { + z.DecBinaryUnmarshal(yyv14) + } else if !yym15 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv14) } else { - z.DecFallback(yyv1678, false) + z.DecFallback(yyv14, false) } } case "containerID": if r.TryDecodeAsNil() { x.ContainerID = "" } else { - x.ContainerID = string(r.DecodeString()) + yyv16 := &x.ContainerID + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys1671) - } // end switch yys1671 - } // end for yyj1671 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23068,16 +25040,16 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1681 int - var yyb1681 bool - var yyhl1681 bool = l >= 0 - yyj1681++ - if yyhl1681 { - yyb1681 = yyj1681 > l + var yyj18 int + var yyb18 bool + var yyhl18 bool = l >= 0 + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1681 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1681 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23085,15 +25057,21 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.ExitCode = 0 } else { - x.ExitCode = int32(r.DecodeInt(32)) + yyv19 := &x.ExitCode + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*int32)(yyv19)) = int32(r.DecodeInt(32)) + } } - yyj1681++ - if yyhl1681 { - yyb1681 = yyj1681 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1681 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1681 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23101,15 +25079,21 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Signal = 0 } else { - x.Signal = int32(r.DecodeInt(32)) + yyv21 := &x.Signal + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*int32)(yyv21)) = int32(r.DecodeInt(32)) + } } - yyj1681++ - if yyhl1681 { - yyb1681 = yyj1681 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1681 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1681 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23117,15 +25101,21 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv23 := &x.Reason + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*string)(yyv23)) = r.DecodeString() + } } - yyj1681++ - if yyhl1681 { - yyb1681 = yyj1681 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1681 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1681 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23133,15 +25123,21 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv25 := &x.Message + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*string)(yyv25)) = r.DecodeString() + } } - yyj1681++ - if yyhl1681 { - yyb1681 = yyj1681 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1681 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1681 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23149,26 +25145,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.StartedAt = pkg2_v1.Time{} } else { - yyv1686 := &x.StartedAt - yym1687 := z.DecBinary() - _ = yym1687 + yyv27 := &x.StartedAt + yym28 := z.DecBinary() + _ = yym28 if false { - } else if z.HasExtensions() && z.DecExt(yyv1686) { - } else if yym1687 { - z.DecBinaryUnmarshal(yyv1686) - } else if !yym1687 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1686) + } else if z.HasExtensions() && z.DecExt(yyv27) { + } else if yym28 { + z.DecBinaryUnmarshal(yyv27) + } else if !yym28 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv27) } else { - z.DecFallback(yyv1686, false) + z.DecFallback(yyv27, false) } } - yyj1681++ - if yyhl1681 { - yyb1681 = yyj1681 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1681 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1681 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23176,26 +25172,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.FinishedAt = pkg2_v1.Time{} } else { - yyv1688 := &x.FinishedAt - yym1689 := z.DecBinary() - _ = yym1689 + yyv29 := &x.FinishedAt + yym30 := z.DecBinary() + _ = yym30 if false { - } else if z.HasExtensions() && z.DecExt(yyv1688) { - } else if yym1689 { - z.DecBinaryUnmarshal(yyv1688) - } else if !yym1689 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1688) + } else if z.HasExtensions() && z.DecExt(yyv29) { + } else if yym30 { + z.DecBinaryUnmarshal(yyv29) + } else if !yym30 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv29) } else { - z.DecFallback(yyv1688, false) + z.DecFallback(yyv29, false) } } - yyj1681++ - if yyhl1681 { - yyb1681 = yyj1681 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1681 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1681 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23203,20 +25199,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.ContainerID = "" } else { - x.ContainerID = string(r.DecodeString()) + yyv31 := &x.ContainerID + yym32 := z.DecBinary() + _ = yym32 + if false { + } else { + *((*string)(yyv31)) = r.DecodeString() + } } for { - yyj1681++ - if yyhl1681 { - yyb1681 = yyj1681 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1681 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1681 { + if yyb18 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1681-1, "") + z.DecStructFieldNotFound(yyj18-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23228,35 +25230,35 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1691 := z.EncBinary() - _ = yym1691 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1692 := !z.EncBinary() - yy2arr1692 := z.EncBasicHandle().StructToArray - var yyq1692 [3]bool - _, _, _ = yysep1692, yyq1692, yy2arr1692 - const yyr1692 bool = false - yyq1692[0] = x.Waiting != nil - yyq1692[1] = x.Running != nil - yyq1692[2] = x.Terminated != nil - var yynn1692 int - if yyr1692 || yy2arr1692 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Waiting != nil + yyq2[1] = x.Running != nil + yyq2[2] = x.Terminated != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn1692 = 0 - for _, b := range yyq1692 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1692++ + yynn2++ } } - r.EncodeMapStart(yynn1692) - yynn1692 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1692 || yy2arr1692 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1692[0] { + if yyq2[0] { if x.Waiting == nil { r.EncodeNil() } else { @@ -23266,7 +25268,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1692[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("waiting")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -23277,9 +25279,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1692 || yy2arr1692 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1692[1] { + if yyq2[1] { if x.Running == nil { r.EncodeNil() } else { @@ -23289,7 +25291,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1692[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("running")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -23300,9 +25302,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1692 || yy2arr1692 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1692[2] { + if yyq2[2] { if x.Terminated == nil { r.EncodeNil() } else { @@ -23312,7 +25314,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1692[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminated")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -23323,7 +25325,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1692 || yy2arr1692 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23336,25 +25338,25 @@ func (x *ContainerState) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1696 := z.DecBinary() - _ = yym1696 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1697 := r.ContainerType() - if yyct1697 == codecSelferValueTypeMap1234 { - yyl1697 := r.ReadMapStart() - if yyl1697 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1697, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1697 == codecSelferValueTypeArray1234 { - yyl1697 := r.ReadArrayStart() - if yyl1697 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1697, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23366,12 +25368,12 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1698Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1698Slc - var yyhl1698 bool = l >= 0 - for yyj1698 := 0; ; yyj1698++ { - if yyhl1698 { - if yyj1698 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -23380,10 +25382,10 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1698Slc = r.DecodeBytes(yys1698Slc, true, true) - yys1698 := string(yys1698Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1698 { + switch yys3 { case "waiting": if r.TryDecodeAsNil() { if x.Waiting != nil { @@ -23418,9 +25420,9 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1698) - } // end switch yys1698 - } // end for yyj1698 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23428,16 +25430,16 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1702 int - var yyb1702 bool - var yyhl1702 bool = l >= 0 - yyj1702++ - if yyhl1702 { - yyb1702 = yyj1702 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1702 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1702 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23452,13 +25454,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Waiting.CodecDecodeSelf(d) } - yyj1702++ - if yyhl1702 { - yyb1702 = yyj1702 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1702 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1702 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23473,13 +25475,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Running.CodecDecodeSelf(d) } - yyj1702++ - if yyhl1702 { - yyb1702 = yyj1702 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1702 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1702 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23495,17 +25497,17 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } for { - yyj1702++ - if yyhl1702 { - yyb1702 = yyj1702 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1702 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1702 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1702-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23517,36 +25519,36 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1706 := z.EncBinary() - _ = yym1706 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1707 := !z.EncBinary() - yy2arr1707 := z.EncBasicHandle().StructToArray - var yyq1707 [8]bool - _, _, _ = yysep1707, yyq1707, yy2arr1707 - const yyr1707 bool = false - yyq1707[1] = true - yyq1707[2] = true - yyq1707[7] = x.ContainerID != "" - var yynn1707 int - if yyr1707 || yy2arr1707 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [8]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = true + yyq2[2] = true + yyq2[7] = x.ContainerID != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(8) } else { - yynn1707 = 5 - for _, b := range yyq1707 { + yynn2 = 5 + for _, b := range yyq2 { if b { - yynn1707++ + yynn2++ } } - r.EncodeMapStart(yynn1707) - yynn1707 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1707 || yy2arr1707 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1709 := z.EncBinary() - _ = yym1709 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -23555,51 +25557,51 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1710 := z.EncBinary() - _ = yym1710 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1707 || yy2arr1707 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1707[1] { - yy1712 := &x.State - yy1712.CodecEncodeSelf(e) + if yyq2[1] { + yy7 := &x.State + yy7.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1707[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("state")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1713 := &x.State - yy1713.CodecEncodeSelf(e) + yy9 := &x.State + yy9.CodecEncodeSelf(e) } } - if yyr1707 || yy2arr1707 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1707[2] { - yy1715 := &x.LastTerminationState - yy1715.CodecEncodeSelf(e) + if yyq2[2] { + yy12 := &x.LastTerminationState + yy12.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1707[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastState")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1716 := &x.LastTerminationState - yy1716.CodecEncodeSelf(e) + yy14 := &x.LastTerminationState + yy14.CodecEncodeSelf(e) } } - if yyr1707 || yy2arr1707 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1718 := z.EncBinary() - _ = yym1718 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeBool(bool(x.Ready)) @@ -23608,17 +25610,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ready")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1719 := z.EncBinary() - _ = yym1719 + yym18 := z.EncBinary() + _ = yym18 if false { } else { r.EncodeBool(bool(x.Ready)) } } - if yyr1707 || yy2arr1707 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1721 := z.EncBinary() - _ = yym1721 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeInt(int64(x.RestartCount)) @@ -23627,17 +25629,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartCount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1722 := z.EncBinary() - _ = yym1722 + yym21 := z.EncBinary() + _ = yym21 if false { } else { r.EncodeInt(int64(x.RestartCount)) } } - if yyr1707 || yy2arr1707 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1724 := z.EncBinary() - _ = yym1724 + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -23646,17 +25648,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1725 := z.EncBinary() - _ = yym1725 + yym24 := z.EncBinary() + _ = yym24 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } - if yyr1707 || yy2arr1707 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1727 := z.EncBinary() - _ = yym1727 + yym26 := z.EncBinary() + _ = yym26 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) @@ -23665,18 +25667,18 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imageID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1728 := z.EncBinary() - _ = yym1728 + yym27 := z.EncBinary() + _ = yym27 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) } } - if yyr1707 || yy2arr1707 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1707[7] { - yym1730 := z.EncBinary() - _ = yym1730 + if yyq2[7] { + yym29 := z.EncBinary() + _ = yym29 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -23685,19 +25687,19 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1707[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1731 := z.EncBinary() - _ = yym1731 + yym30 := z.EncBinary() + _ = yym30 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr1707 || yy2arr1707 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23710,25 +25712,25 @@ func (x *ContainerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1732 := z.DecBinary() - _ = yym1732 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1733 := r.ContainerType() - if yyct1733 == codecSelferValueTypeMap1234 { - yyl1733 := r.ReadMapStart() - if yyl1733 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1733, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1733 == codecSelferValueTypeArray1234 { - yyl1733 := r.ReadArrayStart() - if yyl1733 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1733, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23740,12 +25742,12 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1734Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1734Slc - var yyhl1734 bool = l >= 0 - for yyj1734 := 0; ; yyj1734++ { - if yyhl1734 { - if yyj1734 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -23754,64 +25756,100 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1734Slc = r.DecodeBytes(yys1734Slc, true, true) - yys1734 := string(yys1734Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1734 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "state": if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv1736 := &x.State - yyv1736.CodecDecodeSelf(d) + yyv6 := &x.State + yyv6.CodecDecodeSelf(d) } case "lastState": if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv1737 := &x.LastTerminationState - yyv1737.CodecDecodeSelf(d) + yyv7 := &x.LastTerminationState + yyv7.CodecDecodeSelf(d) } case "ready": if r.TryDecodeAsNil() { x.Ready = false } else { - x.Ready = bool(r.DecodeBool()) + yyv8 := &x.Ready + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*bool)(yyv8)) = r.DecodeBool() + } } case "restartCount": if r.TryDecodeAsNil() { x.RestartCount = 0 } else { - x.RestartCount = int32(r.DecodeInt(32)) + yyv10 := &x.RestartCount + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*int32)(yyv10)) = int32(r.DecodeInt(32)) + } } case "image": if r.TryDecodeAsNil() { x.Image = "" } else { - x.Image = string(r.DecodeString()) + yyv12 := &x.Image + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } case "imageID": if r.TryDecodeAsNil() { x.ImageID = "" } else { - x.ImageID = string(r.DecodeString()) + yyv14 := &x.ImageID + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } case "containerID": if r.TryDecodeAsNil() { x.ContainerID = "" } else { - x.ContainerID = string(r.DecodeString()) + yyv16 := &x.ContainerID + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys1734) - } // end switch yys1734 - } // end for yyj1734 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23819,16 +25857,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1743 int - var yyb1743 bool - var yyhl1743 bool = l >= 0 - yyj1743++ - if yyhl1743 { - yyb1743 = yyj1743 > l + var yyj18 int + var yyb18 bool + var yyhl18 bool = l >= 0 + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1743 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1743 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23836,15 +25874,21 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv19 := &x.Name + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } - yyj1743++ - if yyhl1743 { - yyb1743 = yyj1743 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1743 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1743 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23852,16 +25896,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv1745 := &x.State - yyv1745.CodecDecodeSelf(d) + yyv21 := &x.State + yyv21.CodecDecodeSelf(d) } - yyj1743++ - if yyhl1743 { - yyb1743 = yyj1743 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1743 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1743 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23869,16 +25913,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv1746 := &x.LastTerminationState - yyv1746.CodecDecodeSelf(d) + yyv22 := &x.LastTerminationState + yyv22.CodecDecodeSelf(d) } - yyj1743++ - if yyhl1743 { - yyb1743 = yyj1743 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1743 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1743 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23886,15 +25930,21 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Ready = false } else { - x.Ready = bool(r.DecodeBool()) + yyv23 := &x.Ready + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*bool)(yyv23)) = r.DecodeBool() + } } - yyj1743++ - if yyhl1743 { - yyb1743 = yyj1743 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1743 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1743 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23902,15 +25952,21 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.RestartCount = 0 } else { - x.RestartCount = int32(r.DecodeInt(32)) + yyv25 := &x.RestartCount + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*int32)(yyv25)) = int32(r.DecodeInt(32)) + } } - yyj1743++ - if yyhl1743 { - yyb1743 = yyj1743 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1743 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1743 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23918,15 +25974,21 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Image = "" } else { - x.Image = string(r.DecodeString()) + yyv27 := &x.Image + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*string)(yyv27)) = r.DecodeString() + } } - yyj1743++ - if yyhl1743 { - yyb1743 = yyj1743 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1743 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1743 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23934,15 +25996,21 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ImageID = "" } else { - x.ImageID = string(r.DecodeString()) + yyv29 := &x.ImageID + yym30 := z.DecBinary() + _ = yym30 + if false { + } else { + *((*string)(yyv29)) = r.DecodeString() + } } - yyj1743++ - if yyhl1743 { - yyb1743 = yyj1743 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1743 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1743 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23950,20 +26018,26 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ContainerID = "" } else { - x.ContainerID = string(r.DecodeString()) + yyv31 := &x.ContainerID + yym32 := z.DecBinary() + _ = yym32 + if false { + } else { + *((*string)(yyv31)) = r.DecodeString() + } } for { - yyj1743++ - if yyhl1743 { - yyb1743 = yyj1743 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb1743 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb1743 { + if yyb18 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1743-1, "") + z.DecStructFieldNotFound(yyj18-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23972,8 +26046,8 @@ func (x PodPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1752 := z.EncBinary() - _ = yym1752 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -23985,8 +26059,8 @@ func (x *PodPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1753 := z.DecBinary() - _ = yym1753 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -23998,8 +26072,8 @@ func (x PodConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1754 := z.EncBinary() - _ = yym1754 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -24011,8 +26085,8 @@ func (x *PodConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1755 := z.DecBinary() - _ = yym1755 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -24027,34 +26101,34 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1756 := z.EncBinary() - _ = yym1756 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1757 := !z.EncBinary() - yy2arr1757 := z.EncBasicHandle().StructToArray - var yyq1757 [6]bool - _, _, _ = yysep1757, yyq1757, yy2arr1757 - const yyr1757 bool = false - yyq1757[2] = true - yyq1757[3] = true - yyq1757[4] = x.Reason != "" - yyq1757[5] = x.Message != "" - var yynn1757 int - if yyr1757 || yy2arr1757 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = true + yyq2[3] = true + yyq2[4] = x.Reason != "" + yyq2[5] = x.Message != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn1757 = 2 - for _, b := range yyq1757 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn1757++ + yynn2++ } } - r.EncodeMapStart(yynn1757) - yynn1757 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1757 || yy2arr1757 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -24063,7 +26137,7 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr1757 || yy2arr1757 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -24072,85 +26146,85 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr1757 || yy2arr1757 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1757[2] { - yy1761 := &x.LastProbeTime - yym1762 := z.EncBinary() - _ = yym1762 + if yyq2[2] { + yy10 := &x.LastProbeTime + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy1761) { - } else if yym1762 { - z.EncBinaryMarshal(yy1761) - } else if !yym1762 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1761) + } else if z.HasExtensions() && z.EncExt(yy10) { + } else if yym11 { + z.EncBinaryMarshal(yy10) + } else if !yym11 && z.IsJSONHandle() { + z.EncJSONMarshal(yy10) } else { - z.EncFallback(yy1761) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq1757[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1763 := &x.LastProbeTime - yym1764 := z.EncBinary() - _ = yym1764 + yy12 := &x.LastProbeTime + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy1763) { - } else if yym1764 { - z.EncBinaryMarshal(yy1763) - } else if !yym1764 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1763) + } else if z.HasExtensions() && z.EncExt(yy12) { + } else if yym13 { + z.EncBinaryMarshal(yy12) + } else if !yym13 && z.IsJSONHandle() { + z.EncJSONMarshal(yy12) } else { - z.EncFallback(yy1763) + z.EncFallback(yy12) } } } - if yyr1757 || yy2arr1757 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1757[3] { - yy1766 := &x.LastTransitionTime - yym1767 := z.EncBinary() - _ = yym1767 + if yyq2[3] { + yy15 := &x.LastTransitionTime + yym16 := z.EncBinary() + _ = yym16 if false { - } else if z.HasExtensions() && z.EncExt(yy1766) { - } else if yym1767 { - z.EncBinaryMarshal(yy1766) - } else if !yym1767 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1766) + } else if z.HasExtensions() && z.EncExt(yy15) { + } else if yym16 { + z.EncBinaryMarshal(yy15) + } else if !yym16 && z.IsJSONHandle() { + z.EncJSONMarshal(yy15) } else { - z.EncFallback(yy1766) + z.EncFallback(yy15) } } else { r.EncodeNil() } } else { - if yyq1757[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1768 := &x.LastTransitionTime - yym1769 := z.EncBinary() - _ = yym1769 + yy17 := &x.LastTransitionTime + yym18 := z.EncBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.EncExt(yy1768) { - } else if yym1769 { - z.EncBinaryMarshal(yy1768) - } else if !yym1769 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1768) + } else if z.HasExtensions() && z.EncExt(yy17) { + } else if yym18 { + z.EncBinaryMarshal(yy17) + } else if !yym18 && z.IsJSONHandle() { + z.EncJSONMarshal(yy17) } else { - z.EncFallback(yy1768) + z.EncFallback(yy17) } } } - if yyr1757 || yy2arr1757 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1757[4] { - yym1771 := z.EncBinary() - _ = yym1771 + if yyq2[4] { + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -24159,23 +26233,23 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1757[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1772 := z.EncBinary() - _ = yym1772 + yym21 := z.EncBinary() + _ = yym21 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1757 || yy2arr1757 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1757[5] { - yym1774 := z.EncBinary() - _ = yym1774 + if yyq2[5] { + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -24184,19 +26258,19 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1757[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1775 := z.EncBinary() - _ = yym1775 + yym24 := z.EncBinary() + _ = yym24 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1757 || yy2arr1757 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24209,25 +26283,25 @@ func (x *PodCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1776 := z.DecBinary() - _ = yym1776 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1777 := r.ContainerType() - if yyct1777 == codecSelferValueTypeMap1234 { - yyl1777 := r.ReadMapStart() - if yyl1777 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1777, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1777 == codecSelferValueTypeArray1234 { - yyl1777 := r.ReadArrayStart() - if yyl1777 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1777, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24239,12 +26313,12 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1778Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1778Slc - var yyhl1778 bool = l >= 0 - for yyj1778 := 0; ; yyj1778++ { - if yyhl1778 { - if yyj1778 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -24253,72 +26327,86 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1778Slc = r.DecodeBytes(yys1778Slc, true, true) - yys1778 := string(yys1778Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1778 { + switch yys3 { case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = PodConditionType(r.DecodeString()) + yyv4 := &x.Type + yyv4.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = ConditionStatus(r.DecodeString()) + yyv5 := &x.Status + yyv5.CodecDecodeSelf(d) } case "lastProbeTime": if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_v1.Time{} } else { - yyv1781 := &x.LastProbeTime - yym1782 := z.DecBinary() - _ = yym1782 + yyv6 := &x.LastProbeTime + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv1781) { - } else if yym1782 { - z.DecBinaryUnmarshal(yyv1781) - } else if !yym1782 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1781) + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if yym7 { + z.DecBinaryUnmarshal(yyv6) + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) } else { - z.DecFallback(yyv1781, false) + z.DecFallback(yyv6, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_v1.Time{} } else { - yyv1783 := &x.LastTransitionTime - yym1784 := z.DecBinary() - _ = yym1784 + yyv8 := &x.LastTransitionTime + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv1783) { - } else if yym1784 { - z.DecBinaryUnmarshal(yyv1783) - } else if !yym1784 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1783) + } else if z.HasExtensions() && z.DecExt(yyv8) { + } else if yym9 { + z.DecBinaryUnmarshal(yyv8) + } else if !yym9 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv8) } else { - z.DecFallback(yyv1783, false) + z.DecFallback(yyv8, false) } } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv10 := &x.Reason + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv12 := &x.Message + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys1778) - } // end switch yys1778 - } // end for yyj1778 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24326,16 +26414,16 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1787 int - var yyb1787 bool - var yyhl1787 bool = l >= 0 - yyj1787++ - if yyhl1787 { - yyb1787 = yyj1787 > l + var yyj14 int + var yyb14 bool + var yyhl14 bool = l >= 0 + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb1787 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb1787 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24343,15 +26431,16 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = PodConditionType(r.DecodeString()) + yyv15 := &x.Type + yyv15.CodecDecodeSelf(d) } - yyj1787++ - if yyhl1787 { - yyb1787 = yyj1787 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb1787 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb1787 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24359,15 +26448,16 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = ConditionStatus(r.DecodeString()) + yyv16 := &x.Status + yyv16.CodecDecodeSelf(d) } - yyj1787++ - if yyhl1787 { - yyb1787 = yyj1787 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb1787 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb1787 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24375,26 +26465,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_v1.Time{} } else { - yyv1790 := &x.LastProbeTime - yym1791 := z.DecBinary() - _ = yym1791 + yyv17 := &x.LastProbeTime + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv1790) { - } else if yym1791 { - z.DecBinaryUnmarshal(yyv1790) - } else if !yym1791 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1790) + } else if z.HasExtensions() && z.DecExt(yyv17) { + } else if yym18 { + z.DecBinaryUnmarshal(yyv17) + } else if !yym18 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv17) } else { - z.DecFallback(yyv1790, false) + z.DecFallback(yyv17, false) } } - yyj1787++ - if yyhl1787 { - yyb1787 = yyj1787 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb1787 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb1787 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24402,26 +26492,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_v1.Time{} } else { - yyv1792 := &x.LastTransitionTime - yym1793 := z.DecBinary() - _ = yym1793 + yyv19 := &x.LastTransitionTime + yym20 := z.DecBinary() + _ = yym20 if false { - } else if z.HasExtensions() && z.DecExt(yyv1792) { - } else if yym1793 { - z.DecBinaryUnmarshal(yyv1792) - } else if !yym1793 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1792) + } else if z.HasExtensions() && z.DecExt(yyv19) { + } else if yym20 { + z.DecBinaryUnmarshal(yyv19) + } else if !yym20 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv19) } else { - z.DecFallback(yyv1792, false) + z.DecFallback(yyv19, false) } } - yyj1787++ - if yyhl1787 { - yyb1787 = yyj1787 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb1787 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb1787 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24429,15 +26519,21 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv21 := &x.Reason + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } - yyj1787++ - if yyhl1787 { - yyb1787 = yyj1787 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb1787 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb1787 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24445,20 +26541,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv23 := &x.Message + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*string)(yyv23)) = r.DecodeString() + } } for { - yyj1787++ - if yyhl1787 { - yyb1787 = yyj1787 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb1787 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb1787 { + if yyb14 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1787-1, "") + z.DecStructFieldNotFound(yyj14-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24467,8 +26569,8 @@ func (x RestartPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1796 := z.EncBinary() - _ = yym1796 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -24480,8 +26582,8 @@ func (x *RestartPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1797 := z.DecBinary() - _ = yym1797 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -24493,8 +26595,8 @@ func (x DNSPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1798 := z.EncBinary() - _ = yym1798 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -24506,8 +26608,8 @@ func (x *DNSPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1799 := z.DecBinary() - _ = yym1799 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -24522,36 +26624,36 @@ func (x *NodeSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1800 := z.EncBinary() - _ = yym1800 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1801 := !z.EncBinary() - yy2arr1801 := z.EncBasicHandle().StructToArray - var yyq1801 [1]bool - _, _, _ = yysep1801, yyq1801, yy2arr1801 - const yyr1801 bool = false - var yynn1801 int - if yyr1801 || yy2arr1801 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn1801 = 1 - for _, b := range yyq1801 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1801++ + yynn2++ } } - r.EncodeMapStart(yynn1801) - yynn1801 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1801 || yy2arr1801 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NodeSelectorTerms == nil { r.EncodeNil() } else { - yym1803 := z.EncBinary() - _ = yym1803 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceNodeSelectorTerm(([]NodeSelectorTerm)(x.NodeSelectorTerms), e) @@ -24564,15 +26666,15 @@ func (x *NodeSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x.NodeSelectorTerms == nil { r.EncodeNil() } else { - yym1804 := z.EncBinary() - _ = yym1804 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceNodeSelectorTerm(([]NodeSelectorTerm)(x.NodeSelectorTerms), e) } } } - if yyr1801 || yy2arr1801 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24585,25 +26687,25 @@ func (x *NodeSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1805 := z.DecBinary() - _ = yym1805 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1806 := r.ContainerType() - if yyct1806 == codecSelferValueTypeMap1234 { - yyl1806 := r.ReadMapStart() - if yyl1806 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1806, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1806 == codecSelferValueTypeArray1234 { - yyl1806 := r.ReadArrayStart() - if yyl1806 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1806, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24615,12 +26717,12 @@ func (x *NodeSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1807Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1807Slc - var yyhl1807 bool = l >= 0 - for yyj1807 := 0; ; yyj1807++ { - if yyhl1807 { - if yyj1807 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -24629,26 +26731,26 @@ func (x *NodeSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1807Slc = r.DecodeBytes(yys1807Slc, true, true) - yys1807 := string(yys1807Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1807 { + switch yys3 { case "nodeSelectorTerms": if r.TryDecodeAsNil() { x.NodeSelectorTerms = nil } else { - yyv1808 := &x.NodeSelectorTerms - yym1809 := z.DecBinary() - _ = yym1809 + yyv4 := &x.NodeSelectorTerms + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1808), d) + h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv4), d) } } default: - z.DecStructFieldNotFound(-1, yys1807) - } // end switch yys1807 - } // end for yyj1807 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24656,16 +26758,16 @@ func (x *NodeSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1810 int - var yyb1810 bool - var yyhl1810 bool = l >= 0 - yyj1810++ - if yyhl1810 { - yyb1810 = yyj1810 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1810 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1810 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24673,26 +26775,26 @@ func (x *NodeSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelectorTerms = nil } else { - yyv1811 := &x.NodeSelectorTerms - yym1812 := z.DecBinary() - _ = yym1812 + yyv7 := &x.NodeSelectorTerms + yym8 := z.DecBinary() + _ = yym8 if false { } else { - h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1811), d) + h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv7), d) } } for { - yyj1810++ - if yyhl1810 { - yyb1810 = yyj1810 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1810 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1810 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1810-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24704,36 +26806,36 @@ func (x *NodeSelectorTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1813 := z.EncBinary() - _ = yym1813 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1814 := !z.EncBinary() - yy2arr1814 := z.EncBasicHandle().StructToArray - var yyq1814 [1]bool - _, _, _ = yysep1814, yyq1814, yy2arr1814 - const yyr1814 bool = false - var yynn1814 int - if yyr1814 || yy2arr1814 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn1814 = 1 - for _, b := range yyq1814 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1814++ + yynn2++ } } - r.EncodeMapStart(yynn1814) - yynn1814 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1814 || yy2arr1814 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1816 := z.EncBinary() - _ = yym1816 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceNodeSelectorRequirement(([]NodeSelectorRequirement)(x.MatchExpressions), e) @@ -24746,15 +26848,15 @@ func (x *NodeSelectorTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1817 := z.EncBinary() - _ = yym1817 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceNodeSelectorRequirement(([]NodeSelectorRequirement)(x.MatchExpressions), e) } } } - if yyr1814 || yy2arr1814 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24767,25 +26869,25 @@ func (x *NodeSelectorTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1818 := z.DecBinary() - _ = yym1818 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1819 := r.ContainerType() - if yyct1819 == codecSelferValueTypeMap1234 { - yyl1819 := r.ReadMapStart() - if yyl1819 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1819, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1819 == codecSelferValueTypeArray1234 { - yyl1819 := r.ReadArrayStart() - if yyl1819 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1819, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24797,12 +26899,12 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1820Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1820Slc - var yyhl1820 bool = l >= 0 - for yyj1820 := 0; ; yyj1820++ { - if yyhl1820 { - if yyj1820 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -24811,26 +26913,26 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1820Slc = r.DecodeBytes(yys1820Slc, true, true) - yys1820 := string(yys1820Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1820 { + switch yys3 { case "matchExpressions": if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1821 := &x.MatchExpressions - yym1822 := z.DecBinary() - _ = yym1822 + yyv4 := &x.MatchExpressions + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1821), d) + h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv4), d) } } default: - z.DecStructFieldNotFound(-1, yys1820) - } // end switch yys1820 - } // end for yyj1820 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24838,16 +26940,16 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1823 int - var yyb1823 bool - var yyhl1823 bool = l >= 0 - yyj1823++ - if yyhl1823 { - yyb1823 = yyj1823 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1823 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1823 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24855,26 +26957,26 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1824 := &x.MatchExpressions - yym1825 := z.DecBinary() - _ = yym1825 + yyv7 := &x.MatchExpressions + yym8 := z.DecBinary() + _ = yym8 if false { } else { - h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1824), d) + h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv7), d) } } for { - yyj1823++ - if yyhl1823 { - yyb1823 = yyj1823 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1823 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1823 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1823-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24886,34 +26988,34 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1826 := z.EncBinary() - _ = yym1826 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1827 := !z.EncBinary() - yy2arr1827 := z.EncBasicHandle().StructToArray - var yyq1827 [3]bool - _, _, _ = yysep1827, yyq1827, yy2arr1827 - const yyr1827 bool = false - yyq1827[2] = len(x.Values) != 0 - var yynn1827 int - if yyr1827 || yy2arr1827 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = len(x.Values) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn1827 = 2 - for _, b := range yyq1827 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn1827++ + yynn2++ } } - r.EncodeMapStart(yynn1827) - yynn1827 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1827 || yy2arr1827 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1829 := z.EncBinary() - _ = yym1829 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -24922,14 +27024,14 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1830 := z.EncBinary() - _ = yym1830 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1827 || yy2arr1827 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Operator.CodecEncodeSelf(e) } else { @@ -24938,14 +27040,14 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } - if yyr1827 || yy2arr1827 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1827[2] { + if yyq2[2] { if x.Values == nil { r.EncodeNil() } else { - yym1833 := z.EncBinary() - _ = yym1833 + yym10 := z.EncBinary() + _ = yym10 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -24955,15 +27057,15 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1827[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("values")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Values == nil { r.EncodeNil() } else { - yym1834 := z.EncBinary() - _ = yym1834 + yym11 := z.EncBinary() + _ = yym11 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -24971,7 +27073,7 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1827 || yy2arr1827 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24984,25 +27086,25 @@ func (x *NodeSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1835 := z.DecBinary() - _ = yym1835 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1836 := r.ContainerType() - if yyct1836 == codecSelferValueTypeMap1234 { - yyl1836 := r.ReadMapStart() - if yyl1836 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1836, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1836 == codecSelferValueTypeArray1234 { - yyl1836 := r.ReadArrayStart() - if yyl1836 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1836, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25014,12 +27116,12 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1837Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1837Slc - var yyhl1837 bool = l >= 0 - for yyj1837 := 0; ; yyj1837++ { - if yyhl1837 { - if yyj1837 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -25028,38 +27130,45 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1837Slc = r.DecodeBytes(yys1837Slc, true, true) - yys1837 := string(yys1837Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1837 { + switch yys3 { case "key": if r.TryDecodeAsNil() { x.Key = "" } else { - x.Key = string(r.DecodeString()) + yyv4 := &x.Key + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "operator": if r.TryDecodeAsNil() { x.Operator = "" } else { - x.Operator = NodeSelectorOperator(r.DecodeString()) + yyv6 := &x.Operator + yyv6.CodecDecodeSelf(d) } case "values": if r.TryDecodeAsNil() { x.Values = nil } else { - yyv1840 := &x.Values - yym1841 := z.DecBinary() - _ = yym1841 + yyv7 := &x.Values + yym8 := z.DecBinary() + _ = yym8 if false { } else { - z.F.DecSliceStringX(yyv1840, false, d) + z.F.DecSliceStringX(yyv7, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1837) - } // end switch yys1837 - } // end for yyj1837 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25067,16 +27176,16 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1842 int - var yyb1842 bool - var yyhl1842 bool = l >= 0 - yyj1842++ - if yyhl1842 { - yyb1842 = yyj1842 > l + var yyj9 int + var yyb9 bool + var yyhl9 bool = l >= 0 + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb1842 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb1842 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25084,15 +27193,21 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Key = "" } else { - x.Key = string(r.DecodeString()) + yyv10 := &x.Key + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } - yyj1842++ - if yyhl1842 { - yyb1842 = yyj1842 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb1842 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb1842 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25100,15 +27215,16 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Operator = "" } else { - x.Operator = NodeSelectorOperator(r.DecodeString()) + yyv12 := &x.Operator + yyv12.CodecDecodeSelf(d) } - yyj1842++ - if yyhl1842 { - yyb1842 = yyj1842 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb1842 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb1842 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25116,26 +27232,26 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Values = nil } else { - yyv1845 := &x.Values - yym1846 := z.DecBinary() - _ = yym1846 + yyv13 := &x.Values + yym14 := z.DecBinary() + _ = yym14 if false { } else { - z.F.DecSliceStringX(yyv1845, false, d) + z.F.DecSliceStringX(yyv13, false, d) } } for { - yyj1842++ - if yyhl1842 { - yyb1842 = yyj1842 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb1842 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb1842 { + if yyb9 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1842-1, "") + z.DecStructFieldNotFound(yyj9-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25144,8 +27260,8 @@ func (x NodeSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1847 := z.EncBinary() - _ = yym1847 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -25157,8 +27273,8 @@ func (x *NodeSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1848 := z.DecBinary() - _ = yym1848 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -25173,35 +27289,35 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1849 := z.EncBinary() - _ = yym1849 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1850 := !z.EncBinary() - yy2arr1850 := z.EncBasicHandle().StructToArray - var yyq1850 [3]bool - _, _, _ = yysep1850, yyq1850, yy2arr1850 - const yyr1850 bool = false - yyq1850[0] = x.NodeAffinity != nil - yyq1850[1] = x.PodAffinity != nil - yyq1850[2] = x.PodAntiAffinity != nil - var yynn1850 int - if yyr1850 || yy2arr1850 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.NodeAffinity != nil + yyq2[1] = x.PodAffinity != nil + yyq2[2] = x.PodAntiAffinity != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn1850 = 0 - for _, b := range yyq1850 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1850++ + yynn2++ } } - r.EncodeMapStart(yynn1850) - yynn1850 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1850 || yy2arr1850 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1850[0] { + if yyq2[0] { if x.NodeAffinity == nil { r.EncodeNil() } else { @@ -25211,7 +27327,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1850[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -25222,9 +27338,9 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1850 || yy2arr1850 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1850[1] { + if yyq2[1] { if x.PodAffinity == nil { r.EncodeNil() } else { @@ -25234,7 +27350,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1850[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -25245,9 +27361,9 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1850 || yy2arr1850 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1850[2] { + if yyq2[2] { if x.PodAntiAffinity == nil { r.EncodeNil() } else { @@ -25257,7 +27373,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1850[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAntiAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -25268,7 +27384,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1850 || yy2arr1850 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25281,25 +27397,25 @@ func (x *Affinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1854 := z.DecBinary() - _ = yym1854 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1855 := r.ContainerType() - if yyct1855 == codecSelferValueTypeMap1234 { - yyl1855 := r.ReadMapStart() - if yyl1855 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1855, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1855 == codecSelferValueTypeArray1234 { - yyl1855 := r.ReadArrayStart() - if yyl1855 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1855, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25311,12 +27427,12 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1856Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1856Slc - var yyhl1856 bool = l >= 0 - for yyj1856 := 0; ; yyj1856++ { - if yyhl1856 { - if yyj1856 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -25325,10 +27441,10 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1856Slc = r.DecodeBytes(yys1856Slc, true, true) - yys1856 := string(yys1856Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1856 { + switch yys3 { case "nodeAffinity": if r.TryDecodeAsNil() { if x.NodeAffinity != nil { @@ -25363,9 +27479,9 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PodAntiAffinity.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1856) - } // end switch yys1856 - } // end for yyj1856 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25373,16 +27489,16 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1860 int - var yyb1860 bool - var yyhl1860 bool = l >= 0 - yyj1860++ - if yyhl1860 { - yyb1860 = yyj1860 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1860 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1860 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25397,13 +27513,13 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.NodeAffinity.CodecDecodeSelf(d) } - yyj1860++ - if yyhl1860 { - yyb1860 = yyj1860 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1860 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1860 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25418,13 +27534,13 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PodAffinity.CodecDecodeSelf(d) } - yyj1860++ - if yyhl1860 { - yyb1860 = yyj1860 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1860 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1860 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25440,17 +27556,17 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PodAntiAffinity.CodecDecodeSelf(d) } for { - yyj1860++ - if yyhl1860 { - yyb1860 = yyj1860 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1860 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1860 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1860-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25462,39 +27578,39 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1864 := z.EncBinary() - _ = yym1864 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1865 := !z.EncBinary() - yy2arr1865 := z.EncBasicHandle().StructToArray - var yyq1865 [2]bool - _, _, _ = yysep1865, yyq1865, yy2arr1865 - const yyr1865 bool = false - yyq1865[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 - yyq1865[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn1865 int - if yyr1865 || yy2arr1865 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 + yyq2[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1865 = 0 - for _, b := range yyq1865 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1865++ + yynn2++ } } - r.EncodeMapStart(yynn1865) - yynn1865 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1865 || yy2arr1865 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1865[0] { + if yyq2[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1867 := z.EncBinary() - _ = yym1867 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -25504,15 +27620,15 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1865[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1868 := z.EncBinary() - _ = yym1868 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -25520,14 +27636,14 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1865 || yy2arr1865 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1865[1] { + if yyq2[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1870 := z.EncBinary() - _ = yym1870 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -25537,15 +27653,15 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1865[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1871 := z.EncBinary() - _ = yym1871 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -25553,7 +27669,7 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1865 || yy2arr1865 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25566,25 +27682,25 @@ func (x *PodAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1872 := z.DecBinary() - _ = yym1872 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1873 := r.ContainerType() - if yyct1873 == codecSelferValueTypeMap1234 { - yyl1873 := r.ReadMapStart() - if yyl1873 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1873, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1873 == codecSelferValueTypeArray1234 { - yyl1873 := r.ReadArrayStart() - if yyl1873 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1873, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25596,12 +27712,12 @@ func (x *PodAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1874Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1874Slc - var yyhl1874 bool = l >= 0 - for yyj1874 := 0; ; yyj1874++ { - if yyhl1874 { - if yyj1874 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -25610,38 +27726,38 @@ func (x *PodAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1874Slc = r.DecodeBytes(yys1874Slc, true, true) - yys1874 := string(yys1874Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1874 { + switch yys3 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1875 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym1876 := z.DecBinary() - _ = yym1876 + yyv4 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1875), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv4), d) } } case "preferredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1877 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1878 := z.DecBinary() - _ = yym1878 + yyv6 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym7 := z.DecBinary() + _ = yym7 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1877), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv6), d) } } default: - z.DecStructFieldNotFound(-1, yys1874) - } // end switch yys1874 - } // end for yyj1874 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25649,16 +27765,16 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1879 int - var yyb1879 bool - var yyhl1879 bool = l >= 0 - yyj1879++ - if yyhl1879 { - yyb1879 = yyj1879 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1879 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1879 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25666,21 +27782,21 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1880 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym1881 := z.DecBinary() - _ = yym1881 + yyv9 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1880), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv9), d) } } - yyj1879++ - if yyhl1879 { - yyb1879 = yyj1879 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1879 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1879 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25688,26 +27804,26 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1882 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1883 := z.DecBinary() - _ = yym1883 + yyv11 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym12 := z.DecBinary() + _ = yym12 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1882), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv11), d) } } for { - yyj1879++ - if yyhl1879 { - yyb1879 = yyj1879 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1879 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1879 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1879-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25719,39 +27835,39 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1884 := z.EncBinary() - _ = yym1884 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1885 := !z.EncBinary() - yy2arr1885 := z.EncBasicHandle().StructToArray - var yyq1885 [2]bool - _, _, _ = yysep1885, yyq1885, yy2arr1885 - const yyr1885 bool = false - yyq1885[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 - yyq1885[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn1885 int - if yyr1885 || yy2arr1885 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 + yyq2[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1885 = 0 - for _, b := range yyq1885 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1885++ + yynn2++ } } - r.EncodeMapStart(yynn1885) - yynn1885 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1885 || yy2arr1885 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1885[0] { + if yyq2[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1887 := z.EncBinary() - _ = yym1887 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -25761,15 +27877,15 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1885[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1888 := z.EncBinary() - _ = yym1888 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -25777,14 +27893,14 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1885 || yy2arr1885 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1885[1] { + if yyq2[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1890 := z.EncBinary() - _ = yym1890 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -25794,15 +27910,15 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1885[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1891 := z.EncBinary() - _ = yym1891 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -25810,7 +27926,7 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1885 || yy2arr1885 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25823,25 +27939,25 @@ func (x *PodAntiAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1892 := z.DecBinary() - _ = yym1892 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1893 := r.ContainerType() - if yyct1893 == codecSelferValueTypeMap1234 { - yyl1893 := r.ReadMapStart() - if yyl1893 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1893, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1893 == codecSelferValueTypeArray1234 { - yyl1893 := r.ReadArrayStart() - if yyl1893 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1893, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25853,12 +27969,12 @@ func (x *PodAntiAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1894Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1894Slc - var yyhl1894 bool = l >= 0 - for yyj1894 := 0; ; yyj1894++ { - if yyhl1894 { - if yyj1894 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -25867,38 +27983,38 @@ func (x *PodAntiAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1894Slc = r.DecodeBytes(yys1894Slc, true, true) - yys1894 := string(yys1894Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1894 { + switch yys3 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1895 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym1896 := z.DecBinary() - _ = yym1896 + yyv4 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1895), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv4), d) } } case "preferredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1897 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1898 := z.DecBinary() - _ = yym1898 + yyv6 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym7 := z.DecBinary() + _ = yym7 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1897), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv6), d) } } default: - z.DecStructFieldNotFound(-1, yys1894) - } // end switch yys1894 - } // end for yyj1894 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25906,16 +28022,16 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1899 int - var yyb1899 bool - var yyhl1899 bool = l >= 0 - yyj1899++ - if yyhl1899 { - yyb1899 = yyj1899 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1899 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1899 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25923,21 +28039,21 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1900 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym1901 := z.DecBinary() - _ = yym1901 + yyv9 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1900), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv9), d) } } - yyj1899++ - if yyhl1899 { - yyb1899 = yyj1899 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1899 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1899 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25945,26 +28061,26 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1902 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1903 := z.DecBinary() - _ = yym1903 + yyv11 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym12 := z.DecBinary() + _ = yym12 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1902), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv11), d) } } for { - yyj1899++ - if yyhl1899 { - yyb1899 = yyj1899 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1899 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1899 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1899-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25976,33 +28092,33 @@ func (x *WeightedPodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1904 := z.EncBinary() - _ = yym1904 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1905 := !z.EncBinary() - yy2arr1905 := z.EncBasicHandle().StructToArray - var yyq1905 [2]bool - _, _, _ = yysep1905, yyq1905, yy2arr1905 - const yyr1905 bool = false - var yynn1905 int - if yyr1905 || yy2arr1905 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1905 = 2 - for _, b := range yyq1905 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn1905++ + yynn2++ } } - r.EncodeMapStart(yynn1905) - yynn1905 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1905 || yy2arr1905 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1907 := z.EncBinary() - _ = yym1907 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.Weight)) @@ -26011,25 +28127,25 @@ func (x *WeightedPodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("weight")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1908 := z.EncBinary() - _ = yym1908 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.Weight)) } } - if yyr1905 || yy2arr1905 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1910 := &x.PodAffinityTerm - yy1910.CodecEncodeSelf(e) + yy7 := &x.PodAffinityTerm + yy7.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAffinityTerm")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1911 := &x.PodAffinityTerm - yy1911.CodecEncodeSelf(e) + yy9 := &x.PodAffinityTerm + yy9.CodecEncodeSelf(e) } - if yyr1905 || yy2arr1905 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26042,25 +28158,25 @@ func (x *WeightedPodAffinityTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1912 := z.DecBinary() - _ = yym1912 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1913 := r.ContainerType() - if yyct1913 == codecSelferValueTypeMap1234 { - yyl1913 := r.ReadMapStart() - if yyl1913 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1913, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1913 == codecSelferValueTypeArray1234 { - yyl1913 := r.ReadArrayStart() - if yyl1913 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1913, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26072,12 +28188,12 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1914Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1914Slc - var yyhl1914 bool = l >= 0 - for yyj1914 := 0; ; yyj1914++ { - if yyhl1914 { - if yyj1914 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -26086,27 +28202,33 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1914Slc = r.DecodeBytes(yys1914Slc, true, true) - yys1914 := string(yys1914Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1914 { + switch yys3 { case "weight": if r.TryDecodeAsNil() { x.Weight = 0 } else { - x.Weight = int32(r.DecodeInt(32)) + yyv4 := &x.Weight + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int32)(yyv4)) = int32(r.DecodeInt(32)) + } } case "podAffinityTerm": if r.TryDecodeAsNil() { x.PodAffinityTerm = PodAffinityTerm{} } else { - yyv1916 := &x.PodAffinityTerm - yyv1916.CodecDecodeSelf(d) + yyv6 := &x.PodAffinityTerm + yyv6.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1914) - } // end switch yys1914 - } // end for yyj1914 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26114,16 +28236,16 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1917 int - var yyb1917 bool - var yyhl1917 bool = l >= 0 - yyj1917++ - if yyhl1917 { - yyb1917 = yyj1917 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1917 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1917 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26131,15 +28253,21 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Weight = 0 } else { - x.Weight = int32(r.DecodeInt(32)) + yyv8 := &x.Weight + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*int32)(yyv8)) = int32(r.DecodeInt(32)) + } } - yyj1917++ - if yyhl1917 { - yyb1917 = yyj1917 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1917 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1917 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26147,21 +28275,21 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.PodAffinityTerm = PodAffinityTerm{} } else { - yyv1919 := &x.PodAffinityTerm - yyv1919.CodecDecodeSelf(d) + yyv10 := &x.PodAffinityTerm + yyv10.CodecDecodeSelf(d) } for { - yyj1917++ - if yyhl1917 { - yyb1917 = yyj1917 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1917 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1917 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1917-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26173,39 +28301,39 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1920 := z.EncBinary() - _ = yym1920 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1921 := !z.EncBinary() - yy2arr1921 := z.EncBasicHandle().StructToArray - var yyq1921 [3]bool - _, _, _ = yysep1921, yyq1921, yy2arr1921 - const yyr1921 bool = false - yyq1921[0] = x.LabelSelector != nil - yyq1921[2] = x.TopologyKey != "" - var yynn1921 int - if yyr1921 || yy2arr1921 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.LabelSelector != nil + yyq2[2] = x.TopologyKey != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn1921 = 1 - for _, b := range yyq1921 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1921++ + yynn2++ } } - r.EncodeMapStart(yynn1921) - yynn1921 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1921 || yy2arr1921 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1921[0] { + if yyq2[0] { if x.LabelSelector == nil { r.EncodeNil() } else { - yym1923 := z.EncBinary() - _ = yym1923 + yym4 := z.EncBinary() + _ = yym4 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -26216,15 +28344,15 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1921[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LabelSelector == nil { r.EncodeNil() } else { - yym1924 := z.EncBinary() - _ = yym1924 + yym5 := z.EncBinary() + _ = yym5 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -26233,13 +28361,13 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1921 || yy2arr1921 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Namespaces == nil { r.EncodeNil() } else { - yym1926 := z.EncBinary() - _ = yym1926 + yym7 := z.EncBinary() + _ = yym7 if false { } else { z.F.EncSliceStringV(x.Namespaces, false, e) @@ -26252,19 +28380,19 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x.Namespaces == nil { r.EncodeNil() } else { - yym1927 := z.EncBinary() - _ = yym1927 + yym8 := z.EncBinary() + _ = yym8 if false { } else { z.F.EncSliceStringV(x.Namespaces, false, e) } } } - if yyr1921 || yy2arr1921 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1921[2] { - yym1929 := z.EncBinary() - _ = yym1929 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TopologyKey)) @@ -26273,19 +28401,19 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1921[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("topologyKey")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1930 := z.EncBinary() - _ = yym1930 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TopologyKey)) } } } - if yyr1921 || yy2arr1921 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26298,25 +28426,25 @@ func (x *PodAffinityTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1931 := z.DecBinary() - _ = yym1931 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1932 := r.ContainerType() - if yyct1932 == codecSelferValueTypeMap1234 { - yyl1932 := r.ReadMapStart() - if yyl1932 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1932, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1932 == codecSelferValueTypeArray1234 { - yyl1932 := r.ReadArrayStart() - if yyl1932 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1932, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26328,12 +28456,12 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1933Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1933Slc - var yyhl1933 bool = l >= 0 - for yyj1933 := 0; ; yyj1933++ { - if yyhl1933 { - if yyj1933 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -26342,10 +28470,10 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1933Slc = r.DecodeBytes(yys1933Slc, true, true) - yys1933 := string(yys1933Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1933 { + switch yys3 { case "labelSelector": if r.TryDecodeAsNil() { if x.LabelSelector != nil { @@ -26355,8 +28483,8 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LabelSelector == nil { x.LabelSelector = new(pkg2_v1.LabelSelector) } - yym1935 := z.DecBinary() - _ = yym1935 + yym5 := z.DecBinary() + _ = yym5 if false { } else if z.HasExtensions() && z.DecExt(x.LabelSelector) { } else { @@ -26367,24 +28495,30 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Namespaces = nil } else { - yyv1936 := &x.Namespaces - yym1937 := z.DecBinary() - _ = yym1937 + yyv6 := &x.Namespaces + yym7 := z.DecBinary() + _ = yym7 if false { } else { - z.F.DecSliceStringX(yyv1936, false, d) + z.F.DecSliceStringX(yyv6, false, d) } } case "topologyKey": if r.TryDecodeAsNil() { x.TopologyKey = "" } else { - x.TopologyKey = string(r.DecodeString()) + yyv8 := &x.TopologyKey + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys1933) - } // end switch yys1933 - } // end for yyj1933 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26392,16 +28526,16 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1939 int - var yyb1939 bool - var yyhl1939 bool = l >= 0 - yyj1939++ - if yyhl1939 { - yyb1939 = yyj1939 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1939 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1939 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26414,21 +28548,21 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.LabelSelector == nil { x.LabelSelector = new(pkg2_v1.LabelSelector) } - yym1941 := z.DecBinary() - _ = yym1941 + yym12 := z.DecBinary() + _ = yym12 if false { } else if z.HasExtensions() && z.DecExt(x.LabelSelector) { } else { z.DecFallback(x.LabelSelector, false) } } - yyj1939++ - if yyhl1939 { - yyb1939 = yyj1939 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1939 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1939 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26436,21 +28570,21 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Namespaces = nil } else { - yyv1942 := &x.Namespaces - yym1943 := z.DecBinary() - _ = yym1943 + yyv13 := &x.Namespaces + yym14 := z.DecBinary() + _ = yym14 if false { } else { - z.F.DecSliceStringX(yyv1942, false, d) + z.F.DecSliceStringX(yyv13, false, d) } } - yyj1939++ - if yyhl1939 { - yyb1939 = yyj1939 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1939 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1939 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26458,20 +28592,26 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.TopologyKey = "" } else { - x.TopologyKey = string(r.DecodeString()) + yyv15 := &x.TopologyKey + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } for { - yyj1939++ - if yyhl1939 { - yyb1939 = yyj1939 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1939 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1939 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1939-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26483,34 +28623,34 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1945 := z.EncBinary() - _ = yym1945 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1946 := !z.EncBinary() - yy2arr1946 := z.EncBasicHandle().StructToArray - var yyq1946 [2]bool - _, _, _ = yysep1946, yyq1946, yy2arr1946 - const yyr1946 bool = false - yyq1946[0] = x.RequiredDuringSchedulingIgnoredDuringExecution != nil - yyq1946[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn1946 int - if yyr1946 || yy2arr1946 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.RequiredDuringSchedulingIgnoredDuringExecution != nil + yyq2[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1946 = 0 - for _, b := range yyq1946 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1946++ + yynn2++ } } - r.EncodeMapStart(yynn1946) - yynn1946 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1946 || yy2arr1946 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1946[0] { + if yyq2[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { @@ -26520,7 +28660,7 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1946[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -26531,14 +28671,14 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1946 || yy2arr1946 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1946[1] { + if yyq2[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1949 := z.EncBinary() - _ = yym1949 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -26548,15 +28688,15 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1946[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1950 := z.EncBinary() - _ = yym1950 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -26564,7 +28704,7 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1946 || yy2arr1946 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26577,25 +28717,25 @@ func (x *NodeAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1951 := z.DecBinary() - _ = yym1951 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1952 := r.ContainerType() - if yyct1952 == codecSelferValueTypeMap1234 { - yyl1952 := r.ReadMapStart() - if yyl1952 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1952, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1952 == codecSelferValueTypeArray1234 { - yyl1952 := r.ReadArrayStart() - if yyl1952 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1952, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26607,12 +28747,12 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1953Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1953Slc - var yyhl1953 bool = l >= 0 - for yyj1953 := 0; ; yyj1953++ { - if yyhl1953 { - if yyj1953 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -26621,10 +28761,10 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1953Slc = r.DecodeBytes(yys1953Slc, true, true) - yys1953 := string(yys1953Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1953 { + switch yys3 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { if x.RequiredDuringSchedulingIgnoredDuringExecution != nil { @@ -26640,18 +28780,18 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1955 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1956 := z.DecBinary() - _ = yym1956 + yyv5 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym6 := z.DecBinary() + _ = yym6 if false { } else { - h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1955), d) + h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv5), d) } } default: - z.DecStructFieldNotFound(-1, yys1953) - } // end switch yys1953 - } // end for yyj1953 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26659,16 +28799,16 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1957 int - var yyb1957 bool - var yyhl1957 bool = l >= 0 - yyj1957++ - if yyhl1957 { - yyb1957 = yyj1957 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1957 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1957 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26683,13 +28823,13 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RequiredDuringSchedulingIgnoredDuringExecution.CodecDecodeSelf(d) } - yyj1957++ - if yyhl1957 { - yyb1957 = yyj1957 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1957 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1957 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26697,26 +28837,26 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1959 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1960 := z.DecBinary() - _ = yym1960 + yyv9 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1959), d) + h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv9), d) } } for { - yyj1957++ - if yyhl1957 { - yyb1957 = yyj1957 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1957 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1957 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1957-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26728,33 +28868,33 @@ func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1961 := z.EncBinary() - _ = yym1961 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1962 := !z.EncBinary() - yy2arr1962 := z.EncBasicHandle().StructToArray - var yyq1962 [2]bool - _, _, _ = yysep1962, yyq1962, yy2arr1962 - const yyr1962 bool = false - var yynn1962 int - if yyr1962 || yy2arr1962 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1962 = 2 - for _, b := range yyq1962 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn1962++ + yynn2++ } } - r.EncodeMapStart(yynn1962) - yynn1962 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1962 || yy2arr1962 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1964 := z.EncBinary() - _ = yym1964 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.Weight)) @@ -26763,25 +28903,25 @@ func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("weight")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1965 := z.EncBinary() - _ = yym1965 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.Weight)) } } - if yyr1962 || yy2arr1962 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1967 := &x.Preference - yy1967.CodecEncodeSelf(e) + yy7 := &x.Preference + yy7.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1968 := &x.Preference - yy1968.CodecEncodeSelf(e) + yy9 := &x.Preference + yy9.CodecEncodeSelf(e) } - if yyr1962 || yy2arr1962 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26794,25 +28934,25 @@ func (x *PreferredSchedulingTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1969 := z.DecBinary() - _ = yym1969 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1970 := r.ContainerType() - if yyct1970 == codecSelferValueTypeMap1234 { - yyl1970 := r.ReadMapStart() - if yyl1970 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1970, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1970 == codecSelferValueTypeArray1234 { - yyl1970 := r.ReadArrayStart() - if yyl1970 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1970, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26824,12 +28964,12 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1971Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1971Slc - var yyhl1971 bool = l >= 0 - for yyj1971 := 0; ; yyj1971++ { - if yyhl1971 { - if yyj1971 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -26838,27 +28978,33 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1971Slc = r.DecodeBytes(yys1971Slc, true, true) - yys1971 := string(yys1971Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1971 { + switch yys3 { case "weight": if r.TryDecodeAsNil() { x.Weight = 0 } else { - x.Weight = int32(r.DecodeInt(32)) + yyv4 := &x.Weight + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int32)(yyv4)) = int32(r.DecodeInt(32)) + } } case "preference": if r.TryDecodeAsNil() { x.Preference = NodeSelectorTerm{} } else { - yyv1973 := &x.Preference - yyv1973.CodecDecodeSelf(d) + yyv6 := &x.Preference + yyv6.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1971) - } // end switch yys1971 - } // end for yyj1971 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26866,16 +29012,16 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1974 int - var yyb1974 bool - var yyhl1974 bool = l >= 0 - yyj1974++ - if yyhl1974 { - yyb1974 = yyj1974 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1974 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1974 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26883,15 +29029,21 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Weight = 0 } else { - x.Weight = int32(r.DecodeInt(32)) + yyv8 := &x.Weight + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*int32)(yyv8)) = int32(r.DecodeInt(32)) + } } - yyj1974++ - if yyhl1974 { - yyb1974 = yyj1974 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1974 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1974 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26899,21 +29051,21 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Preference = NodeSelectorTerm{} } else { - yyv1976 := &x.Preference - yyv1976.CodecDecodeSelf(d) + yyv10 := &x.Preference + yyv10.CodecDecodeSelf(d) } for { - yyj1974++ - if yyhl1974 { - yyb1974 = yyj1974 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1974 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1974 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1974-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26925,34 +29077,34 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1977 := z.EncBinary() - _ = yym1977 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1978 := !z.EncBinary() - yy2arr1978 := z.EncBasicHandle().StructToArray - var yyq1978 [3]bool - _, _, _ = yysep1978, yyq1978, yy2arr1978 - const yyr1978 bool = false - yyq1978[1] = x.Value != "" - var yynn1978 int - if yyr1978 || yy2arr1978 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.Value != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn1978 = 2 - for _, b := range yyq1978 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn1978++ + yynn2++ } } - r.EncodeMapStart(yynn1978) - yynn1978 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1978 || yy2arr1978 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1980 := z.EncBinary() - _ = yym1980 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -26961,18 +29113,18 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1981 := z.EncBinary() - _ = yym1981 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1978 || yy2arr1978 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1978[1] { - yym1983 := z.EncBinary() - _ = yym1983 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -26981,19 +29133,19 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1978[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1984 := z.EncBinary() - _ = yym1984 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr1978 || yy2arr1978 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Effect.CodecEncodeSelf(e) } else { @@ -27002,7 +29154,7 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Effect.CodecEncodeSelf(e) } - if yyr1978 || yy2arr1978 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27015,25 +29167,25 @@ func (x *Taint) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1986 := z.DecBinary() - _ = yym1986 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1987 := r.ContainerType() - if yyct1987 == codecSelferValueTypeMap1234 { - yyl1987 := r.ReadMapStart() - if yyl1987 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1987, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1987 == codecSelferValueTypeArray1234 { - yyl1987 := r.ReadArrayStart() - if yyl1987 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1987, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27045,12 +29197,12 @@ func (x *Taint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1988Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1988Slc - var yyhl1988 bool = l >= 0 - for yyj1988 := 0; ; yyj1988++ { - if yyhl1988 { - if yyj1988 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -27059,32 +29211,45 @@ func (x *Taint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1988Slc = r.DecodeBytes(yys1988Slc, true, true) - yys1988 := string(yys1988Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1988 { + switch yys3 { case "key": if r.TryDecodeAsNil() { x.Key = "" } else { - x.Key = string(r.DecodeString()) + yyv4 := &x.Key + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "value": if r.TryDecodeAsNil() { x.Value = "" } else { - x.Value = string(r.DecodeString()) + yyv6 := &x.Value + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "effect": if r.TryDecodeAsNil() { x.Effect = "" } else { - x.Effect = TaintEffect(r.DecodeString()) + yyv8 := &x.Effect + yyv8.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1988) - } // end switch yys1988 - } // end for yyj1988 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27092,16 +29257,16 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1992 int - var yyb1992 bool - var yyhl1992 bool = l >= 0 - yyj1992++ - if yyhl1992 { - yyb1992 = yyj1992 > l + var yyj9 int + var yyb9 bool + var yyhl9 bool = l >= 0 + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb1992 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb1992 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27109,15 +29274,21 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Key = "" } else { - x.Key = string(r.DecodeString()) + yyv10 := &x.Key + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } - yyj1992++ - if yyhl1992 { - yyb1992 = yyj1992 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb1992 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb1992 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27125,15 +29296,21 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Value = "" } else { - x.Value = string(r.DecodeString()) + yyv12 := &x.Value + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj1992++ - if yyhl1992 { - yyb1992 = yyj1992 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb1992 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb1992 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27141,20 +29318,21 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Effect = "" } else { - x.Effect = TaintEffect(r.DecodeString()) + yyv14 := &x.Effect + yyv14.CodecDecodeSelf(d) } for { - yyj1992++ - if yyhl1992 { - yyb1992 = yyj1992 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb1992 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb1992 { + if yyb9 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1992-1, "") + z.DecStructFieldNotFound(yyj9-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27163,8 +29341,8 @@ func (x TaintEffect) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1996 := z.EncBinary() - _ = yym1996 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -27176,8 +29354,8 @@ func (x *TaintEffect) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1997 := z.DecBinary() - _ = yym1997 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -27192,38 +29370,38 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1998 := z.EncBinary() - _ = yym1998 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1999 := !z.EncBinary() - yy2arr1999 := z.EncBasicHandle().StructToArray - var yyq1999 [4]bool - _, _, _ = yysep1999, yyq1999, yy2arr1999 - const yyr1999 bool = false - yyq1999[0] = x.Key != "" - yyq1999[1] = x.Operator != "" - yyq1999[2] = x.Value != "" - yyq1999[3] = x.Effect != "" - var yynn1999 int - if yyr1999 || yy2arr1999 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Key != "" + yyq2[1] = x.Operator != "" + yyq2[2] = x.Value != "" + yyq2[3] = x.Effect != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn1999 = 0 - for _, b := range yyq1999 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1999++ + yynn2++ } } - r.EncodeMapStart(yynn1999) - yynn1999 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1999 || yy2arr1999 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1999[0] { - yym2001 := z.EncBinary() - _ = yym2001 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -27232,38 +29410,38 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1999[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2002 := z.EncBinary() - _ = yym2002 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } } - if yyr1999 || yy2arr1999 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1999[1] { + if yyq2[1] { x.Operator.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1999[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("operator")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } } - if yyr1999 || yy2arr1999 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1999[2] { - yym2005 := z.EncBinary() - _ = yym2005 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -27272,34 +29450,34 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1999[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2006 := z.EncBinary() - _ = yym2006 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr1999 || yy2arr1999 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1999[3] { + if yyq2[3] { x.Effect.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1999[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("effect")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Effect.CodecEncodeSelf(e) } } - if yyr1999 || yy2arr1999 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27312,25 +29490,25 @@ func (x *Toleration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2008 := z.DecBinary() - _ = yym2008 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2009 := r.ContainerType() - if yyct2009 == codecSelferValueTypeMap1234 { - yyl2009 := r.ReadMapStart() - if yyl2009 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2009, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2009 == codecSelferValueTypeArray1234 { - yyl2009 := r.ReadArrayStart() - if yyl2009 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2009, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27342,12 +29520,12 @@ func (x *Toleration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2010Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2010Slc - var yyhl2010 bool = l >= 0 - for yyj2010 := 0; ; yyj2010++ { - if yyhl2010 { - if yyj2010 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -27356,38 +29534,52 @@ func (x *Toleration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2010Slc = r.DecodeBytes(yys2010Slc, true, true) - yys2010 := string(yys2010Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2010 { + switch yys3 { case "key": if r.TryDecodeAsNil() { x.Key = "" } else { - x.Key = string(r.DecodeString()) + yyv4 := &x.Key + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "operator": if r.TryDecodeAsNil() { x.Operator = "" } else { - x.Operator = TolerationOperator(r.DecodeString()) + yyv6 := &x.Operator + yyv6.CodecDecodeSelf(d) } case "value": if r.TryDecodeAsNil() { x.Value = "" } else { - x.Value = string(r.DecodeString()) + yyv7 := &x.Value + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*string)(yyv7)) = r.DecodeString() + } } case "effect": if r.TryDecodeAsNil() { x.Effect = "" } else { - x.Effect = TaintEffect(r.DecodeString()) + yyv9 := &x.Effect + yyv9.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2010) - } // end switch yys2010 - } // end for yyj2010 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27395,16 +29587,16 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2015 int - var yyb2015 bool - var yyhl2015 bool = l >= 0 - yyj2015++ - if yyhl2015 { - yyb2015 = yyj2015 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2015 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2015 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27412,15 +29604,21 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Key = "" } else { - x.Key = string(r.DecodeString()) + yyv11 := &x.Key + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj2015++ - if yyhl2015 { - yyb2015 = yyj2015 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2015 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2015 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27428,15 +29626,16 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Operator = "" } else { - x.Operator = TolerationOperator(r.DecodeString()) + yyv13 := &x.Operator + yyv13.CodecDecodeSelf(d) } - yyj2015++ - if yyhl2015 { - yyb2015 = yyj2015 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2015 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2015 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27444,15 +29643,21 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Value = "" } else { - x.Value = string(r.DecodeString()) + yyv14 := &x.Value + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj2015++ - if yyhl2015 { - yyb2015 = yyj2015 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2015 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2015 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27460,20 +29665,21 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Effect = "" } else { - x.Effect = TaintEffect(r.DecodeString()) + yyv16 := &x.Effect + yyv16.CodecDecodeSelf(d) } for { - yyj2015++ - if yyhl2015 { - yyb2015 = yyj2015 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2015 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2015 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2015-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27482,8 +29688,8 @@ func (x TolerationOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2020 := z.EncBinary() - _ = yym2020 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -27495,8 +29701,8 @@ func (x *TolerationOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2021 := z.DecBinary() - _ = yym2021 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -27511,54 +29717,54 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2022 := z.EncBinary() - _ = yym2022 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2023 := !z.EncBinary() - yy2arr2023 := z.EncBasicHandle().StructToArray - var yyq2023 [18]bool - _, _, _ = yysep2023, yyq2023, yy2arr2023 - const yyr2023 bool = false - yyq2023[0] = len(x.Volumes) != 0 - yyq2023[2] = x.RestartPolicy != "" - yyq2023[3] = x.TerminationGracePeriodSeconds != nil - yyq2023[4] = x.ActiveDeadlineSeconds != nil - yyq2023[5] = x.DNSPolicy != "" - yyq2023[6] = len(x.NodeSelector) != 0 - yyq2023[7] = x.ServiceAccountName != "" - yyq2023[8] = x.DeprecatedServiceAccount != "" - yyq2023[9] = x.NodeName != "" - yyq2023[10] = x.HostNetwork != false - yyq2023[11] = x.HostPID != false - yyq2023[12] = x.HostIPC != false - yyq2023[13] = x.SecurityContext != nil - yyq2023[14] = len(x.ImagePullSecrets) != 0 - yyq2023[15] = x.Hostname != "" - yyq2023[16] = x.Subdomain != "" - yyq2023[17] = x.Affinity != nil - var yynn2023 int - if yyr2023 || yy2arr2023 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [18]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Volumes) != 0 + yyq2[2] = x.RestartPolicy != "" + yyq2[3] = x.TerminationGracePeriodSeconds != nil + yyq2[4] = x.ActiveDeadlineSeconds != nil + yyq2[5] = x.DNSPolicy != "" + yyq2[6] = len(x.NodeSelector) != 0 + yyq2[7] = x.ServiceAccountName != "" + yyq2[8] = x.DeprecatedServiceAccount != "" + yyq2[9] = x.NodeName != "" + yyq2[10] = x.HostNetwork != false + yyq2[11] = x.HostPID != false + yyq2[12] = x.HostIPC != false + yyq2[13] = x.SecurityContext != nil + yyq2[14] = len(x.ImagePullSecrets) != 0 + yyq2[15] = x.Hostname != "" + yyq2[16] = x.Subdomain != "" + yyq2[17] = x.Affinity != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(18) } else { - yynn2023 = 1 - for _, b := range yyq2023 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn2023++ + yynn2++ } } - r.EncodeMapStart(yynn2023) - yynn2023 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[0] { + if yyq2[0] { if x.Volumes == nil { r.EncodeNil() } else { - yym2025 := z.EncBinary() - _ = yym2025 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) @@ -27568,15 +29774,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2023[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym2026 := z.EncBinary() - _ = yym2026 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) @@ -27584,13 +29790,13 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Containers == nil { r.EncodeNil() } else { - yym2028 := z.EncBinary() - _ = yym2028 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) @@ -27603,122 +29809,122 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Containers == nil { r.EncodeNil() } else { - yym2029 := z.EncBinary() - _ = yym2029 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[2] { + if yyq2[2] { x.RestartPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2023[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.RestartPolicy.CodecEncodeSelf(e) } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[3] { + if yyq2[3] { if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy2032 := *x.TerminationGracePeriodSeconds - yym2033 := z.EncBinary() - _ = yym2033 + yy13 := *x.TerminationGracePeriodSeconds + yym14 := z.EncBinary() + _ = yym14 if false { } else { - r.EncodeInt(int64(yy2032)) + r.EncodeInt(int64(yy13)) } } } else { r.EncodeNil() } } else { - if yyq2023[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationGracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy2034 := *x.TerminationGracePeriodSeconds - yym2035 := z.EncBinary() - _ = yym2035 + yy15 := *x.TerminationGracePeriodSeconds + yym16 := z.EncBinary() + _ = yym16 if false { } else { - r.EncodeInt(int64(yy2034)) + r.EncodeInt(int64(yy15)) } } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[4] { + if yyq2[4] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy2037 := *x.ActiveDeadlineSeconds - yym2038 := z.EncBinary() - _ = yym2038 + yy18 := *x.ActiveDeadlineSeconds + yym19 := z.EncBinary() + _ = yym19 if false { } else { - r.EncodeInt(int64(yy2037)) + r.EncodeInt(int64(yy18)) } } } else { r.EncodeNil() } } else { - if yyq2023[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy2039 := *x.ActiveDeadlineSeconds - yym2040 := z.EncBinary() - _ = yym2040 + yy20 := *x.ActiveDeadlineSeconds + yym21 := z.EncBinary() + _ = yym21 if false { } else { - r.EncodeInt(int64(yy2039)) + r.EncodeInt(int64(yy20)) } } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[5] { + if yyq2[5] { x.DNSPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2023[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("dnsPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.DNSPolicy.CodecEncodeSelf(e) } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[6] { + if yyq2[6] { if x.NodeSelector == nil { r.EncodeNil() } else { - yym2043 := z.EncBinary() - _ = yym2043 + yym26 := z.EncBinary() + _ = yym26 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -27728,15 +29934,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2023[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NodeSelector == nil { r.EncodeNil() } else { - yym2044 := z.EncBinary() - _ = yym2044 + yym27 := z.EncBinary() + _ = yym27 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -27744,11 +29950,11 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[7] { - yym2046 := z.EncBinary() - _ = yym2046 + if yyq2[7] { + yym29 := z.EncBinary() + _ = yym29 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) @@ -27757,23 +29963,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2023[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccountName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2047 := z.EncBinary() - _ = yym2047 + yym30 := z.EncBinary() + _ = yym30 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[8] { - yym2049 := z.EncBinary() - _ = yym2049 + if yyq2[8] { + yym32 := z.EncBinary() + _ = yym32 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DeprecatedServiceAccount)) @@ -27782,23 +29988,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2023[8] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2050 := z.EncBinary() - _ = yym2050 + yym33 := z.EncBinary() + _ = yym33 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DeprecatedServiceAccount)) } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[9] { - yym2052 := z.EncBinary() - _ = yym2052 + if yyq2[9] { + yym35 := z.EncBinary() + _ = yym35 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) @@ -27807,23 +30013,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2023[9] { + if yyq2[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2053 := z.EncBinary() - _ = yym2053 + yym36 := z.EncBinary() + _ = yym36 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[10] { - yym2055 := z.EncBinary() - _ = yym2055 + if yyq2[10] { + yym38 := z.EncBinary() + _ = yym38 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -27832,23 +30038,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2023[10] { + if yyq2[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2056 := z.EncBinary() - _ = yym2056 + yym39 := z.EncBinary() + _ = yym39 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[11] { - yym2058 := z.EncBinary() - _ = yym2058 + if yyq2[11] { + yym41 := z.EncBinary() + _ = yym41 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -27857,23 +30063,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2023[11] { + if yyq2[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2059 := z.EncBinary() - _ = yym2059 + yym42 := z.EncBinary() + _ = yym42 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[12] { - yym2061 := z.EncBinary() - _ = yym2061 + if yyq2[12] { + yym44 := z.EncBinary() + _ = yym44 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -27882,21 +30088,21 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2023[12] { + if yyq2[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2062 := z.EncBinary() - _ = yym2062 + yym45 := z.EncBinary() + _ = yym45 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[13] { + if yyq2[13] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -27906,7 +30112,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2023[13] { + if yyq2[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -27917,14 +30123,14 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[14] { + if yyq2[14] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2065 := z.EncBinary() - _ = yym2065 + yym50 := z.EncBinary() + _ = yym50 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -27934,15 +30140,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2023[14] { + if yyq2[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2066 := z.EncBinary() - _ = yym2066 + yym51 := z.EncBinary() + _ = yym51 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -27950,11 +30156,11 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[15] { - yym2068 := z.EncBinary() - _ = yym2068 + if yyq2[15] { + yym53 := z.EncBinary() + _ = yym53 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -27963,23 +30169,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2023[15] { + if yyq2[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2069 := z.EncBinary() - _ = yym2069 + yym54 := z.EncBinary() + _ = yym54 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[16] { - yym2071 := z.EncBinary() - _ = yym2071 + if yyq2[16] { + yym56 := z.EncBinary() + _ = yym56 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subdomain)) @@ -27988,21 +30194,21 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2023[16] { + if yyq2[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subdomain")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2072 := z.EncBinary() - _ = yym2072 + yym57 := z.EncBinary() + _ = yym57 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subdomain)) } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2023[17] { + if yyq2[17] { if x.Affinity == nil { r.EncodeNil() } else { @@ -28012,7 +30218,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2023[17] { + if yyq2[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("affinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -28023,7 +30229,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2023 || yy2arr2023 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28036,25 +30242,25 @@ func (x *PodSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2074 := z.DecBinary() - _ = yym2074 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2075 := r.ContainerType() - if yyct2075 == codecSelferValueTypeMap1234 { - yyl2075 := r.ReadMapStart() - if yyl2075 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2075, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2075 == codecSelferValueTypeArray1234 { - yyl2075 := r.ReadArrayStart() - if yyl2075 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2075, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28066,12 +30272,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2076Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2076Slc - var yyhl2076 bool = l >= 0 - for yyj2076 := 0; ; yyj2076++ { - if yyhl2076 { - if yyj2076 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -28080,39 +30286,40 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2076Slc = r.DecodeBytes(yys2076Slc, true, true) - yys2076 := string(yys2076Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2076 { + switch yys3 { case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv2077 := &x.Volumes - yym2078 := z.DecBinary() - _ = yym2078 + yyv4 := &x.Volumes + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceVolume((*[]Volume)(yyv2077), d) + h.decSliceVolume((*[]Volume)(yyv4), d) } } case "containers": if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv2079 := &x.Containers - yym2080 := z.DecBinary() - _ = yym2080 + yyv6 := &x.Containers + yym7 := z.DecBinary() + _ = yym7 if false { } else { - h.decSliceContainer((*[]Container)(yyv2079), d) + h.decSliceContainer((*[]Container)(yyv6), d) } } case "restartPolicy": if r.TryDecodeAsNil() { x.RestartPolicy = "" } else { - x.RestartPolicy = RestartPolicy(r.DecodeString()) + yyv8 := &x.RestartPolicy + yyv8.CodecDecodeSelf(d) } case "terminationGracePeriodSeconds": if r.TryDecodeAsNil() { @@ -28123,8 +30330,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym2083 := z.DecBinary() - _ = yym2083 + yym10 := z.DecBinary() + _ = yym10 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -28139,8 +30346,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym2085 := z.DecBinary() - _ = yym2085 + yym12 := z.DecBinary() + _ = yym12 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -28150,55 +30357,92 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DNSPolicy = "" } else { - x.DNSPolicy = DNSPolicy(r.DecodeString()) + yyv13 := &x.DNSPolicy + yyv13.CodecDecodeSelf(d) } case "nodeSelector": if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv2087 := &x.NodeSelector - yym2088 := z.DecBinary() - _ = yym2088 + yyv14 := &x.NodeSelector + yym15 := z.DecBinary() + _ = yym15 if false { } else { - z.F.DecMapStringStringX(yyv2087, false, d) + z.F.DecMapStringStringX(yyv14, false, d) } } case "serviceAccountName": if r.TryDecodeAsNil() { x.ServiceAccountName = "" } else { - x.ServiceAccountName = string(r.DecodeString()) + yyv16 := &x.ServiceAccountName + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } case "serviceAccount": if r.TryDecodeAsNil() { x.DeprecatedServiceAccount = "" } else { - x.DeprecatedServiceAccount = string(r.DecodeString()) + yyv18 := &x.DeprecatedServiceAccount + yym19 := z.DecBinary() + _ = yym19 + if false { + } else { + *((*string)(yyv18)) = r.DecodeString() + } } case "nodeName": if r.TryDecodeAsNil() { x.NodeName = "" } else { - x.NodeName = string(r.DecodeString()) + yyv20 := &x.NodeName + yym21 := z.DecBinary() + _ = yym21 + if false { + } else { + *((*string)(yyv20)) = r.DecodeString() + } } case "hostNetwork": if r.TryDecodeAsNil() { x.HostNetwork = false } else { - x.HostNetwork = bool(r.DecodeBool()) + yyv22 := &x.HostNetwork + yym23 := z.DecBinary() + _ = yym23 + if false { + } else { + *((*bool)(yyv22)) = r.DecodeBool() + } } case "hostPID": if r.TryDecodeAsNil() { x.HostPID = false } else { - x.HostPID = bool(r.DecodeBool()) + yyv24 := &x.HostPID + yym25 := z.DecBinary() + _ = yym25 + if false { + } else { + *((*bool)(yyv24)) = r.DecodeBool() + } } case "hostIPC": if r.TryDecodeAsNil() { x.HostIPC = false } else { - x.HostIPC = bool(r.DecodeBool()) + yyv26 := &x.HostIPC + yym27 := z.DecBinary() + _ = yym27 + if false { + } else { + *((*bool)(yyv26)) = r.DecodeBool() + } } case "securityContext": if r.TryDecodeAsNil() { @@ -28215,25 +30459,37 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2096 := &x.ImagePullSecrets - yym2097 := z.DecBinary() - _ = yym2097 + yyv29 := &x.ImagePullSecrets + yym30 := z.DecBinary() + _ = yym30 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2096), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv29), d) } } case "hostname": if r.TryDecodeAsNil() { x.Hostname = "" } else { - x.Hostname = string(r.DecodeString()) + yyv31 := &x.Hostname + yym32 := z.DecBinary() + _ = yym32 + if false { + } else { + *((*string)(yyv31)) = r.DecodeString() + } } case "subdomain": if r.TryDecodeAsNil() { x.Subdomain = "" } else { - x.Subdomain = string(r.DecodeString()) + yyv33 := &x.Subdomain + yym34 := z.DecBinary() + _ = yym34 + if false { + } else { + *((*string)(yyv33)) = r.DecodeString() + } } case "affinity": if r.TryDecodeAsNil() { @@ -28247,9 +30503,9 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Affinity.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2076) - } // end switch yys2076 - } // end for yyj2076 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28257,16 +30513,16 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2101 int - var yyb2101 bool - var yyhl2101 bool = l >= 0 - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + var yyj36 int + var yyb36 bool + var yyhl36 bool = l >= 0 + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28274,21 +30530,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv2102 := &x.Volumes - yym2103 := z.DecBinary() - _ = yym2103 + yyv37 := &x.Volumes + yym38 := z.DecBinary() + _ = yym38 if false { } else { - h.decSliceVolume((*[]Volume)(yyv2102), d) + h.decSliceVolume((*[]Volume)(yyv37), d) } } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28296,21 +30552,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv2104 := &x.Containers - yym2105 := z.DecBinary() - _ = yym2105 + yyv39 := &x.Containers + yym40 := z.DecBinary() + _ = yym40 if false { } else { - h.decSliceContainer((*[]Container)(yyv2104), d) + h.decSliceContainer((*[]Container)(yyv39), d) } } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28318,15 +30574,16 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.RestartPolicy = "" } else { - x.RestartPolicy = RestartPolicy(r.DecodeString()) + yyv41 := &x.RestartPolicy + yyv41.CodecDecodeSelf(d) } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28339,20 +30596,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym2108 := z.DecBinary() - _ = yym2108 + yym43 := z.DecBinary() + _ = yym43 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28365,20 +30622,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym2110 := z.DecBinary() - _ = yym2110 + yym45 := z.DecBinary() + _ = yym45 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28386,15 +30643,16 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DNSPolicy = "" } else { - x.DNSPolicy = DNSPolicy(r.DecodeString()) + yyv46 := &x.DNSPolicy + yyv46.CodecDecodeSelf(d) } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28402,21 +30660,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv2112 := &x.NodeSelector - yym2113 := z.DecBinary() - _ = yym2113 + yyv47 := &x.NodeSelector + yym48 := z.DecBinary() + _ = yym48 if false { } else { - z.F.DecMapStringStringX(yyv2112, false, d) + z.F.DecMapStringStringX(yyv47, false, d) } } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28424,15 +30682,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServiceAccountName = "" } else { - x.ServiceAccountName = string(r.DecodeString()) + yyv49 := &x.ServiceAccountName + yym50 := z.DecBinary() + _ = yym50 + if false { + } else { + *((*string)(yyv49)) = r.DecodeString() + } } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28440,15 +30704,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DeprecatedServiceAccount = "" } else { - x.DeprecatedServiceAccount = string(r.DecodeString()) + yyv51 := &x.DeprecatedServiceAccount + yym52 := z.DecBinary() + _ = yym52 + if false { + } else { + *((*string)(yyv51)) = r.DecodeString() + } } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28456,15 +30726,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeName = "" } else { - x.NodeName = string(r.DecodeString()) + yyv53 := &x.NodeName + yym54 := z.DecBinary() + _ = yym54 + if false { + } else { + *((*string)(yyv53)) = r.DecodeString() + } } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28472,15 +30748,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HostNetwork = false } else { - x.HostNetwork = bool(r.DecodeBool()) + yyv55 := &x.HostNetwork + yym56 := z.DecBinary() + _ = yym56 + if false { + } else { + *((*bool)(yyv55)) = r.DecodeBool() + } } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28488,15 +30770,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HostPID = false } else { - x.HostPID = bool(r.DecodeBool()) + yyv57 := &x.HostPID + yym58 := z.DecBinary() + _ = yym58 + if false { + } else { + *((*bool)(yyv57)) = r.DecodeBool() + } } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28504,15 +30792,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HostIPC = false } else { - x.HostIPC = bool(r.DecodeBool()) + yyv59 := &x.HostIPC + yym60 := z.DecBinary() + _ = yym60 + if false { + } else { + *((*bool)(yyv59)) = r.DecodeBool() + } } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28527,13 +30821,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28541,21 +30835,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2121 := &x.ImagePullSecrets - yym2122 := z.DecBinary() - _ = yym2122 + yyv62 := &x.ImagePullSecrets + yym63 := z.DecBinary() + _ = yym63 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2121), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv62), d) } } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28563,15 +30857,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Hostname = "" } else { - x.Hostname = string(r.DecodeString()) + yyv64 := &x.Hostname + yym65 := z.DecBinary() + _ = yym65 + if false { + } else { + *((*string)(yyv64)) = r.DecodeString() + } } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28579,15 +30879,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Subdomain = "" } else { - x.Subdomain = string(r.DecodeString()) + yyv66 := &x.Subdomain + yym67 := z.DecBinary() + _ = yym67 + if false { + } else { + *((*string)(yyv66)) = r.DecodeString() + } } - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28603,17 +30909,17 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Affinity.CodecDecodeSelf(d) } for { - yyj2101++ - if yyhl2101 { - yyb2101 = yyj2101 > l + yyj36++ + if yyhl36 { + yyb36 = yyj36 > l } else { - yyb2101 = r.CheckBreak() + yyb36 = r.CheckBreak() } - if yyb2101 { + if yyb36 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2101-1, "") + z.DecStructFieldNotFound(yyj36-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28625,37 +30931,37 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2126 := z.EncBinary() - _ = yym2126 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2127 := !z.EncBinary() - yy2arr2127 := z.EncBasicHandle().StructToArray - var yyq2127 [5]bool - _, _, _ = yysep2127, yyq2127, yy2arr2127 - const yyr2127 bool = false - yyq2127[0] = x.SELinuxOptions != nil - yyq2127[1] = x.RunAsUser != nil - yyq2127[2] = x.RunAsNonRoot != nil - yyq2127[3] = len(x.SupplementalGroups) != 0 - yyq2127[4] = x.FSGroup != nil - var yynn2127 int - if yyr2127 || yy2arr2127 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.SELinuxOptions != nil + yyq2[1] = x.RunAsUser != nil + yyq2[2] = x.RunAsNonRoot != nil + yyq2[3] = len(x.SupplementalGroups) != 0 + yyq2[4] = x.FSGroup != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn2127 = 0 - for _, b := range yyq2127 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2127++ + yynn2++ } } - r.EncodeMapStart(yynn2127) - yynn2127 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2127 || yy2arr2127 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2127[0] { + if yyq2[0] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -28665,7 +30971,7 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2127[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -28676,84 +30982,84 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2127 || yy2arr2127 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2127[1] { + if yyq2[1] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy2130 := *x.RunAsUser - yym2131 := z.EncBinary() - _ = yym2131 + yy7 := *x.RunAsUser + yym8 := z.EncBinary() + _ = yym8 if false { } else { - r.EncodeInt(int64(yy2130)) + r.EncodeInt(int64(yy7)) } } } else { r.EncodeNil() } } else { - if yyq2127[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy2132 := *x.RunAsUser - yym2133 := z.EncBinary() - _ = yym2133 + yy9 := *x.RunAsUser + yym10 := z.EncBinary() + _ = yym10 if false { } else { - r.EncodeInt(int64(yy2132)) + r.EncodeInt(int64(yy9)) } } } } - if yyr2127 || yy2arr2127 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2127[2] { + if yyq2[2] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy2135 := *x.RunAsNonRoot - yym2136 := z.EncBinary() - _ = yym2136 + yy12 := *x.RunAsNonRoot + yym13 := z.EncBinary() + _ = yym13 if false { } else { - r.EncodeBool(bool(yy2135)) + r.EncodeBool(bool(yy12)) } } } else { r.EncodeNil() } } else { - if yyq2127[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy2137 := *x.RunAsNonRoot - yym2138 := z.EncBinary() - _ = yym2138 + yy14 := *x.RunAsNonRoot + yym15 := z.EncBinary() + _ = yym15 if false { } else { - r.EncodeBool(bool(yy2137)) + r.EncodeBool(bool(yy14)) } } } } - if yyr2127 || yy2arr2127 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2127[3] { + if yyq2[3] { if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym2140 := z.EncBinary() - _ = yym2140 + yym17 := z.EncBinary() + _ = yym17 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -28763,15 +31069,15 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2127[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym2141 := z.EncBinary() - _ = yym2141 + yym18 := z.EncBinary() + _ = yym18 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -28779,42 +31085,42 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2127 || yy2arr2127 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2127[4] { + if yyq2[4] { if x.FSGroup == nil { r.EncodeNil() } else { - yy2143 := *x.FSGroup - yym2144 := z.EncBinary() - _ = yym2144 + yy20 := *x.FSGroup + yym21 := z.EncBinary() + _ = yym21 if false { } else { - r.EncodeInt(int64(yy2143)) + r.EncodeInt(int64(yy20)) } } } else { r.EncodeNil() } } else { - if yyq2127[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.FSGroup == nil { r.EncodeNil() } else { - yy2145 := *x.FSGroup - yym2146 := z.EncBinary() - _ = yym2146 + yy22 := *x.FSGroup + yym23 := z.EncBinary() + _ = yym23 if false { } else { - r.EncodeInt(int64(yy2145)) + r.EncodeInt(int64(yy22)) } } } } - if yyr2127 || yy2arr2127 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28827,25 +31133,25 @@ func (x *PodSecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2147 := z.DecBinary() - _ = yym2147 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2148 := r.ContainerType() - if yyct2148 == codecSelferValueTypeMap1234 { - yyl2148 := r.ReadMapStart() - if yyl2148 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2148, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2148 == codecSelferValueTypeArray1234 { - yyl2148 := r.ReadArrayStart() - if yyl2148 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2148, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28857,12 +31163,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2149Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2149Slc - var yyhl2149 bool = l >= 0 - for yyj2149 := 0; ; yyj2149++ { - if yyhl2149 { - if yyj2149 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -28871,10 +31177,10 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2149Slc = r.DecodeBytes(yys2149Slc, true, true) - yys2149 := string(yys2149Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2149 { + switch yys3 { case "seLinuxOptions": if r.TryDecodeAsNil() { if x.SELinuxOptions != nil { @@ -28895,8 +31201,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym2152 := z.DecBinary() - _ = yym2152 + yym6 := z.DecBinary() + _ = yym6 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -28911,8 +31217,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym2154 := z.DecBinary() - _ = yym2154 + yym8 := z.DecBinary() + _ = yym8 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -28922,12 +31228,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv2155 := &x.SupplementalGroups - yym2156 := z.DecBinary() - _ = yym2156 + yyv9 := &x.SupplementalGroups + yym10 := z.DecBinary() + _ = yym10 if false { } else { - z.F.DecSliceInt64X(yyv2155, false, d) + z.F.DecSliceInt64X(yyv9, false, d) } } case "fsGroup": @@ -28939,17 +31245,17 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.FSGroup == nil { x.FSGroup = new(int64) } - yym2158 := z.DecBinary() - _ = yym2158 + yym12 := z.DecBinary() + _ = yym12 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys2149) - } // end switch yys2149 - } // end for yyj2149 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28957,16 +31263,16 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2159 int - var yyb2159 bool - var yyhl2159 bool = l >= 0 - yyj2159++ - if yyhl2159 { - yyb2159 = yyj2159 > l + var yyj13 int + var yyb13 bool + var yyhl13 bool = l >= 0 + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2159 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2159 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28981,13 +31287,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj2159++ - if yyhl2159 { - yyb2159 = yyj2159 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2159 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2159 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29000,20 +31306,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym2162 := z.DecBinary() - _ = yym2162 + yym16 := z.DecBinary() + _ = yym16 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj2159++ - if yyhl2159 { - yyb2159 = yyj2159 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2159 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2159 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29026,20 +31332,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym2164 := z.DecBinary() - _ = yym2164 + yym18 := z.DecBinary() + _ = yym18 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj2159++ - if yyhl2159 { - yyb2159 = yyj2159 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2159 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2159 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29047,21 +31353,21 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv2165 := &x.SupplementalGroups - yym2166 := z.DecBinary() - _ = yym2166 + yyv19 := &x.SupplementalGroups + yym20 := z.DecBinary() + _ = yym20 if false { } else { - z.F.DecSliceInt64X(yyv2165, false, d) + z.F.DecSliceInt64X(yyv19, false, d) } } - yyj2159++ - if yyhl2159 { - yyb2159 = yyj2159 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2159 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2159 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29074,25 +31380,25 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.FSGroup == nil { x.FSGroup = new(int64) } - yym2168 := z.DecBinary() - _ = yym2168 + yym22 := z.DecBinary() + _ = yym22 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } for { - yyj2159++ - if yyhl2159 { - yyb2159 = yyj2159 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2159 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2159 { + if yyb13 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2159-1, "") + z.DecStructFieldNotFound(yyj13-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29101,8 +31407,8 @@ func (x PodQOSClass) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2169 := z.EncBinary() - _ = yym2169 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -29114,8 +31420,8 @@ func (x *PodQOSClass) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2170 := z.DecBinary() - _ = yym2170 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -29130,61 +31436,61 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2171 := z.EncBinary() - _ = yym2171 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2172 := !z.EncBinary() - yy2arr2172 := z.EncBasicHandle().StructToArray - var yyq2172 [9]bool - _, _, _ = yysep2172, yyq2172, yy2arr2172 - const yyr2172 bool = false - yyq2172[0] = x.Phase != "" - yyq2172[1] = len(x.Conditions) != 0 - yyq2172[2] = x.Message != "" - yyq2172[3] = x.Reason != "" - yyq2172[4] = x.HostIP != "" - yyq2172[5] = x.PodIP != "" - yyq2172[6] = x.StartTime != nil - yyq2172[7] = len(x.ContainerStatuses) != 0 - yyq2172[8] = x.QOSClass != "" - var yynn2172 int - if yyr2172 || yy2arr2172 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [9]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Phase != "" + yyq2[1] = len(x.Conditions) != 0 + yyq2[2] = x.Message != "" + yyq2[3] = x.Reason != "" + yyq2[4] = x.HostIP != "" + yyq2[5] = x.PodIP != "" + yyq2[6] = x.StartTime != nil + yyq2[7] = len(x.ContainerStatuses) != 0 + yyq2[8] = x.QOSClass != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(9) } else { - yynn2172 = 0 - for _, b := range yyq2172 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2172++ + yynn2++ } } - r.EncodeMapStart(yynn2172) - yynn2172 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2172 || yy2arr2172 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2172[0] { + if yyq2[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2172[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2172 || yy2arr2172 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2172[1] { + if yyq2[1] { if x.Conditions == nil { r.EncodeNil() } else { - yym2175 := z.EncBinary() - _ = yym2175 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -29194,15 +31500,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2172[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym2176 := z.EncBinary() - _ = yym2176 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -29210,11 +31516,11 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2172 || yy2arr2172 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2172[2] { - yym2178 := z.EncBinary() - _ = yym2178 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -29223,23 +31529,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2172[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2179 := z.EncBinary() - _ = yym2179 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2172 || yy2arr2172 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2172[3] { - yym2181 := z.EncBinary() - _ = yym2181 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -29248,23 +31554,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2172[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2182 := z.EncBinary() - _ = yym2182 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2172 || yy2arr2172 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2172[4] { - yym2184 := z.EncBinary() - _ = yym2184 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -29273,23 +31579,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2172[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2185 := z.EncBinary() - _ = yym2185 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr2172 || yy2arr2172 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2172[5] { - yym2187 := z.EncBinary() - _ = yym2187 + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) @@ -29298,31 +31604,31 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2172[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2188 := z.EncBinary() - _ = yym2188 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) } } } - if yyr2172 || yy2arr2172 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2172[6] { + if yyq2[6] { if x.StartTime == nil { r.EncodeNil() } else { - yym2190 := z.EncBinary() - _ = yym2190 + yym22 := z.EncBinary() + _ = yym22 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym2190 { + } else if yym22 { z.EncBinaryMarshal(x.StartTime) - } else if !yym2190 && z.IsJSONHandle() { + } else if !yym22 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -29332,20 +31638,20 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2172[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym2191 := z.EncBinary() - _ = yym2191 + yym23 := z.EncBinary() + _ = yym23 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym2191 { + } else if yym23 { z.EncBinaryMarshal(x.StartTime) - } else if !yym2191 && z.IsJSONHandle() { + } else if !yym23 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -29353,14 +31659,14 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2172 || yy2arr2172 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2172[7] { + if yyq2[7] { if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym2193 := z.EncBinary() - _ = yym2193 + yym25 := z.EncBinary() + _ = yym25 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -29370,15 +31676,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2172[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerStatuses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym2194 := z.EncBinary() - _ = yym2194 + yym26 := z.EncBinary() + _ = yym26 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -29386,22 +31692,22 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2172 || yy2arr2172 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2172[8] { + if yyq2[8] { x.QOSClass.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2172[8] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("qosClass")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.QOSClass.CodecEncodeSelf(e) } } - if yyr2172 || yy2arr2172 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29414,25 +31720,25 @@ func (x *PodStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2196 := z.DecBinary() - _ = yym2196 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2197 := r.ContainerType() - if yyct2197 == codecSelferValueTypeMap1234 { - yyl2197 := r.ReadMapStart() - if yyl2197 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2197, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2197 == codecSelferValueTypeArray1234 { - yyl2197 := r.ReadArrayStart() - if yyl2197 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2197, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29444,12 +31750,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2198Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2198Slc - var yyhl2198 bool = l >= 0 - for yyj2198 := 0; ; yyj2198++ { - if yyhl2198 { - if yyj2198 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -29458,51 +31764,76 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2198Slc = r.DecodeBytes(yys2198Slc, true, true) - yys2198 := string(yys2198Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2198 { + switch yys3 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" } else { - x.Phase = PodPhase(r.DecodeString()) + yyv4 := &x.Phase + yyv4.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2200 := &x.Conditions - yym2201 := z.DecBinary() - _ = yym2201 + yyv5 := &x.Conditions + yym6 := z.DecBinary() + _ = yym6 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv2200), d) + h.decSlicePodCondition((*[]PodCondition)(yyv5), d) } } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv7 := &x.Message + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*string)(yyv7)) = r.DecodeString() + } } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv9 := &x.Reason + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } case "hostIP": if r.TryDecodeAsNil() { x.HostIP = "" } else { - x.HostIP = string(r.DecodeString()) + yyv11 := &x.HostIP + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } case "podIP": if r.TryDecodeAsNil() { x.PodIP = "" } else { - x.PodIP = string(r.DecodeString()) + yyv13 := &x.PodIP + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } case "startTime": if r.TryDecodeAsNil() { @@ -29513,13 +31844,13 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_v1.Time) } - yym2207 := z.DecBinary() - _ = yym2207 + yym16 := z.DecBinary() + _ = yym16 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym2207 { + } else if yym16 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym2207 && z.IsJSONHandle() { + } else if !yym16 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -29529,24 +31860,25 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv2208 := &x.ContainerStatuses - yym2209 := z.DecBinary() - _ = yym2209 + yyv17 := &x.ContainerStatuses + yym18 := z.DecBinary() + _ = yym18 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv2208), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv17), d) } } case "qosClass": if r.TryDecodeAsNil() { x.QOSClass = "" } else { - x.QOSClass = PodQOSClass(r.DecodeString()) + yyv19 := &x.QOSClass + yyv19.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2198) - } // end switch yys2198 - } // end for yyj2198 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29554,16 +31886,16 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2211 int - var yyb2211 bool - var yyhl2211 bool = l >= 0 - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + var yyj20 int + var yyb20 bool + var yyhl20 bool = l >= 0 + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb2211 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb2211 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29571,15 +31903,16 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Phase = "" } else { - x.Phase = PodPhase(r.DecodeString()) + yyv21 := &x.Phase + yyv21.CodecDecodeSelf(d) } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb2211 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb2211 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29587,21 +31920,21 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2213 := &x.Conditions - yym2214 := z.DecBinary() - _ = yym2214 + yyv22 := &x.Conditions + yym23 := z.DecBinary() + _ = yym23 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv2213), d) + h.decSlicePodCondition((*[]PodCondition)(yyv22), d) } } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb2211 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb2211 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29609,15 +31942,21 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv24 := &x.Message + yym25 := z.DecBinary() + _ = yym25 + if false { + } else { + *((*string)(yyv24)) = r.DecodeString() + } } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb2211 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb2211 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29625,15 +31964,21 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv26 := &x.Reason + yym27 := z.DecBinary() + _ = yym27 + if false { + } else { + *((*string)(yyv26)) = r.DecodeString() + } } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb2211 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb2211 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29641,15 +31986,21 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HostIP = "" } else { - x.HostIP = string(r.DecodeString()) + yyv28 := &x.HostIP + yym29 := z.DecBinary() + _ = yym29 + if false { + } else { + *((*string)(yyv28)) = r.DecodeString() + } } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb2211 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb2211 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29657,15 +32008,21 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PodIP = "" } else { - x.PodIP = string(r.DecodeString()) + yyv30 := &x.PodIP + yym31 := z.DecBinary() + _ = yym31 + if false { + } else { + *((*string)(yyv30)) = r.DecodeString() + } } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb2211 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb2211 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29678,25 +32035,25 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_v1.Time) } - yym2220 := z.DecBinary() - _ = yym2220 + yym33 := z.DecBinary() + _ = yym33 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym2220 { + } else if yym33 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym2220 && z.IsJSONHandle() { + } else if !yym33 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb2211 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb2211 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29704,21 +32061,21 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv2221 := &x.ContainerStatuses - yym2222 := z.DecBinary() - _ = yym2222 + yyv34 := &x.ContainerStatuses + yym35 := z.DecBinary() + _ = yym35 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv2221), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv34), d) } } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb2211 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb2211 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29726,20 +32083,21 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.QOSClass = "" } else { - x.QOSClass = PodQOSClass(r.DecodeString()) + yyv36 := &x.QOSClass + yyv36.CodecDecodeSelf(d) } for { - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb2211 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb2211 { + if yyb20 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2211-1, "") + z.DecStructFieldNotFound(yyj20-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29751,38 +32109,38 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2224 := z.EncBinary() - _ = yym2224 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2225 := !z.EncBinary() - yy2arr2225 := z.EncBasicHandle().StructToArray - var yyq2225 [4]bool - _, _, _ = yysep2225, yyq2225, yy2arr2225 - const yyr2225 bool = false - yyq2225[0] = x.Kind != "" - yyq2225[1] = x.APIVersion != "" - yyq2225[2] = true - yyq2225[3] = true - var yynn2225 int - if yyr2225 || yy2arr2225 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn2225 = 0 - for _, b := range yyq2225 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2225++ + yynn2++ } } - r.EncodeMapStart(yynn2225) - yynn2225 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2225 || yy2arr2225 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[0] { - yym2227 := z.EncBinary() - _ = yym2227 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -29791,23 +32149,23 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2225[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2228 := z.EncBinary() - _ = yym2228 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2225 || yy2arr2225 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[1] { - yym2230 := z.EncBinary() - _ = yym2230 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -29816,53 +32174,53 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2225[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2231 := z.EncBinary() - _ = yym2231 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2225 || yy2arr2225 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[2] { - yy2233 := &x.ObjectMeta - yy2233.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2225[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2234 := &x.ObjectMeta - yy2234.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr2225 || yy2arr2225 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[3] { - yy2236 := &x.Status - yy2236.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Status + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2225[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2237 := &x.Status - yy2237.CodecEncodeSelf(e) + yy17 := &x.Status + yy17.CodecEncodeSelf(e) } } - if yyr2225 || yy2arr2225 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29875,25 +32233,25 @@ func (x *PodStatusResult) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2238 := z.DecBinary() - _ = yym2238 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2239 := r.ContainerType() - if yyct2239 == codecSelferValueTypeMap1234 { - yyl2239 := r.ReadMapStart() - if yyl2239 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2239, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2239 == codecSelferValueTypeArray1234 { - yyl2239 := r.ReadArrayStart() - if yyl2239 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2239, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29905,12 +32263,12 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2240Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2240Slc - var yyhl2240 bool = l >= 0 - for yyj2240 := 0; ; yyj2240++ { - if yyhl2240 { - if yyj2240 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -29919,40 +32277,52 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2240Slc = r.DecodeBytes(yys2240Slc, true, true) - yys2240 := string(yys2240Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2240 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2243 := &x.ObjectMeta - yyv2243.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv2244 := &x.Status - yyv2244.CodecDecodeSelf(d) + yyv9 := &x.Status + yyv9.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2240) - } // end switch yys2240 - } // end for yyj2240 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29960,16 +32330,16 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2245 int - var yyb2245 bool - var yyhl2245 bool = l >= 0 - yyj2245++ - if yyhl2245 { - yyb2245 = yyj2245 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2245 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2245 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29977,15 +32347,21 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv11 := &x.Kind + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj2245++ - if yyhl2245 { - yyb2245 = yyj2245 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2245 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2245 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29993,15 +32369,21 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv13 := &x.APIVersion + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj2245++ - if yyhl2245 { - yyb2245 = yyj2245 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2245 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2245 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30009,16 +32391,16 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2248 := &x.ObjectMeta - yyv2248.CodecDecodeSelf(d) + yyv15 := &x.ObjectMeta + yyv15.CodecDecodeSelf(d) } - yyj2245++ - if yyhl2245 { - yyb2245 = yyj2245 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2245 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2245 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30026,21 +32408,21 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv2249 := &x.Status - yyv2249.CodecDecodeSelf(d) + yyv16 := &x.Status + yyv16.CodecDecodeSelf(d) } for { - yyj2245++ - if yyhl2245 { - yyb2245 = yyj2245 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2245 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2245 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2245-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30052,39 +32434,39 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2250 := z.EncBinary() - _ = yym2250 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2251 := !z.EncBinary() - yy2arr2251 := z.EncBasicHandle().StructToArray - var yyq2251 [5]bool - _, _, _ = yysep2251, yyq2251, yy2arr2251 - const yyr2251 bool = false - yyq2251[0] = x.Kind != "" - yyq2251[1] = x.APIVersion != "" - yyq2251[2] = true - yyq2251[3] = true - yyq2251[4] = true - var yynn2251 int - if yyr2251 || yy2arr2251 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn2251 = 0 - for _, b := range yyq2251 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2251++ + yynn2++ } } - r.EncodeMapStart(yynn2251) - yynn2251 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2251 || yy2arr2251 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2251[0] { - yym2253 := z.EncBinary() - _ = yym2253 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -30093,23 +32475,23 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2251[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2254 := z.EncBinary() - _ = yym2254 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2251 || yy2arr2251 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2251[1] { - yym2256 := z.EncBinary() - _ = yym2256 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -30118,70 +32500,70 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2251[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2257 := z.EncBinary() - _ = yym2257 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2251 || yy2arr2251 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2251[2] { - yy2259 := &x.ObjectMeta - yy2259.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2251[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2260 := &x.ObjectMeta - yy2260.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr2251 || yy2arr2251 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2251[3] { - yy2262 := &x.Spec - yy2262.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2251[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2263 := &x.Spec - yy2263.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr2251 || yy2arr2251 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2251[4] { - yy2265 := &x.Status - yy2265.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2251[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2266 := &x.Status - yy2266.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr2251 || yy2arr2251 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30194,25 +32576,25 @@ func (x *Pod) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2267 := z.DecBinary() - _ = yym2267 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2268 := r.ContainerType() - if yyct2268 == codecSelferValueTypeMap1234 { - yyl2268 := r.ReadMapStart() - if yyl2268 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2268, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2268 == codecSelferValueTypeArray1234 { - yyl2268 := r.ReadArrayStart() - if yyl2268 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2268, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30224,12 +32606,12 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2269Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2269Slc - var yyhl2269 bool = l >= 0 - for yyj2269 := 0; ; yyj2269++ { - if yyhl2269 { - if yyj2269 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -30238,47 +32620,59 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2269Slc = r.DecodeBytes(yys2269Slc, true, true) - yys2269 := string(yys2269Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2269 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2272 := &x.ObjectMeta - yyv2272.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv2273 := &x.Spec - yyv2273.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv2274 := &x.Status - yyv2274.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2269) - } // end switch yys2269 - } // end for yyj2269 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30286,16 +32680,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2275 int - var yyb2275 bool - var yyhl2275 bool = l >= 0 - yyj2275++ - if yyhl2275 { - yyb2275 = yyj2275 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2275 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2275 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30303,15 +32697,21 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj2275++ - if yyhl2275 { - yyb2275 = yyj2275 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2275 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2275 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30319,15 +32719,21 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj2275++ - if yyhl2275 { - yyb2275 = yyj2275 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2275 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2275 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30335,16 +32741,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2278 := &x.ObjectMeta - yyv2278.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj2275++ - if yyhl2275 { - yyb2275 = yyj2275 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2275 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2275 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30352,16 +32758,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv2279 := &x.Spec - yyv2279.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj2275++ - if yyhl2275 { - yyb2275 = yyj2275 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2275 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2275 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30369,21 +32775,21 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv2280 := &x.Status - yyv2280.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj2275++ - if yyhl2275 { - yyb2275 = yyj2275 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2275 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2275 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2275-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30395,37 +32801,37 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2281 := z.EncBinary() - _ = yym2281 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2282 := !z.EncBinary() - yy2arr2282 := z.EncBasicHandle().StructToArray - var yyq2282 [4]bool - _, _, _ = yysep2282, yyq2282, yy2arr2282 - const yyr2282 bool = false - yyq2282[0] = x.Kind != "" - yyq2282[1] = x.APIVersion != "" - yyq2282[2] = true - var yynn2282 int - if yyr2282 || yy2arr2282 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn2282 = 1 - for _, b := range yyq2282 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn2282++ + yynn2++ } } - r.EncodeMapStart(yynn2282) - yynn2282 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2282 || yy2arr2282 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2282[0] { - yym2284 := z.EncBinary() - _ = yym2284 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -30434,23 +32840,23 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2282[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2285 := z.EncBinary() - _ = yym2285 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2282 || yy2arr2282 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2282[1] { - yym2287 := z.EncBinary() - _ = yym2287 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -30459,54 +32865,54 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2282[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2288 := z.EncBinary() - _ = yym2288 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2282 || yy2arr2282 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2282[2] { - yy2290 := &x.ListMeta - yym2291 := z.EncBinary() - _ = yym2291 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy2290) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy2290) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq2282[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2292 := &x.ListMeta - yym2293 := z.EncBinary() - _ = yym2293 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy2292) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy2292) + z.EncFallback(yy12) } } } - if yyr2282 || yy2arr2282 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2295 := z.EncBinary() - _ = yym2295 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) @@ -30519,15 +32925,15 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2296 := z.EncBinary() - _ = yym2296 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) } } } - if yyr2282 || yy2arr2282 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30540,25 +32946,25 @@ func (x *PodList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2297 := z.DecBinary() - _ = yym2297 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2298 := r.ContainerType() - if yyct2298 == codecSelferValueTypeMap1234 { - yyl2298 := r.ReadMapStart() - if yyl2298 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2298, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2298 == codecSelferValueTypeArray1234 { - yyl2298 := r.ReadArrayStart() - if yyl2298 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2298, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30570,12 +32976,12 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2299Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2299Slc - var yyhl2299 bool = l >= 0 - for yyj2299 := 0; ; yyj2299++ { - if yyhl2299 { - if yyj2299 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -30584,51 +32990,63 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2299Slc = r.DecodeBytes(yys2299Slc, true, true) - yys2299 := string(yys2299Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2299 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv2302 := &x.ListMeta - yym2303 := z.DecBinary() - _ = yym2303 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv2302) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv2302, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2304 := &x.Items - yym2305 := z.DecBinary() - _ = yym2305 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSlicePod((*[]Pod)(yyv2304), d) + h.decSlicePod((*[]Pod)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys2299) - } // end switch yys2299 - } // end for yyj2299 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30636,16 +33054,16 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2306 int - var yyb2306 bool - var yyhl2306 bool = l >= 0 - yyj2306++ - if yyhl2306 { - yyb2306 = yyj2306 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2306 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2306 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30653,15 +33071,21 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj2306++ - if yyhl2306 { - yyb2306 = yyj2306 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2306 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2306 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30669,15 +33093,21 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj2306++ - if yyhl2306 { - yyb2306 = yyj2306 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2306 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2306 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30685,22 +33115,22 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv2309 := &x.ListMeta - yym2310 := z.DecBinary() - _ = yym2310 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv2309) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv2309, false) + z.DecFallback(yyv17, false) } } - yyj2306++ - if yyhl2306 { - yyb2306 = yyj2306 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2306 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2306 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30708,26 +33138,26 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2311 := &x.Items - yym2312 := z.DecBinary() - _ = yym2312 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSlicePod((*[]Pod)(yyv2311), d) + h.decSlicePod((*[]Pod)(yyv19), d) } } for { - yyj2306++ - if yyhl2306 { - yyb2306 = yyj2306 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2306 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2306 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2306-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30739,66 +33169,66 @@ func (x *PodTemplateSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2313 := z.EncBinary() - _ = yym2313 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2314 := !z.EncBinary() - yy2arr2314 := z.EncBasicHandle().StructToArray - var yyq2314 [2]bool - _, _, _ = yysep2314, yyq2314, yy2arr2314 - const yyr2314 bool = false - yyq2314[0] = true - yyq2314[1] = true - var yynn2314 int - if yyr2314 || yy2arr2314 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = true + yyq2[1] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn2314 = 0 - for _, b := range yyq2314 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2314++ + yynn2++ } } - r.EncodeMapStart(yynn2314) - yynn2314 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2314 || yy2arr2314 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2314[0] { - yy2316 := &x.ObjectMeta - yy2316.CodecEncodeSelf(e) + if yyq2[0] { + yy4 := &x.ObjectMeta + yy4.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2314[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2317 := &x.ObjectMeta - yy2317.CodecEncodeSelf(e) + yy6 := &x.ObjectMeta + yy6.CodecEncodeSelf(e) } } - if yyr2314 || yy2arr2314 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2314[1] { - yy2319 := &x.Spec - yy2319.CodecEncodeSelf(e) + if yyq2[1] { + yy9 := &x.Spec + yy9.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2314[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2320 := &x.Spec - yy2320.CodecEncodeSelf(e) + yy11 := &x.Spec + yy11.CodecEncodeSelf(e) } } - if yyr2314 || yy2arr2314 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30811,25 +33241,25 @@ func (x *PodTemplateSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2321 := z.DecBinary() - _ = yym2321 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2322 := r.ContainerType() - if yyct2322 == codecSelferValueTypeMap1234 { - yyl2322 := r.ReadMapStart() - if yyl2322 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2322, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2322 == codecSelferValueTypeArray1234 { - yyl2322 := r.ReadArrayStart() - if yyl2322 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2322, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30841,12 +33271,12 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2323Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2323Slc - var yyhl2323 bool = l >= 0 - for yyj2323 := 0; ; yyj2323++ { - if yyhl2323 { - if yyj2323 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -30855,28 +33285,28 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2323Slc = r.DecodeBytes(yys2323Slc, true, true) - yys2323 := string(yys2323Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2323 { + switch yys3 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2324 := &x.ObjectMeta - yyv2324.CodecDecodeSelf(d) + yyv4 := &x.ObjectMeta + yyv4.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv2325 := &x.Spec - yyv2325.CodecDecodeSelf(d) + yyv5 := &x.Spec + yyv5.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2323) - } // end switch yys2323 - } // end for yyj2323 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30884,16 +33314,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2326 int - var yyb2326 bool - var yyhl2326 bool = l >= 0 - yyj2326++ - if yyhl2326 { - yyb2326 = yyj2326 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb2326 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb2326 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30901,16 +33331,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2327 := &x.ObjectMeta - yyv2327.CodecDecodeSelf(d) + yyv7 := &x.ObjectMeta + yyv7.CodecDecodeSelf(d) } - yyj2326++ - if yyhl2326 { - yyb2326 = yyj2326 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb2326 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb2326 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30918,21 +33348,21 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv2328 := &x.Spec - yyv2328.CodecDecodeSelf(d) + yyv8 := &x.Spec + yyv8.CodecDecodeSelf(d) } for { - yyj2326++ - if yyhl2326 { - yyb2326 = yyj2326 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb2326 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb2326 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2326-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30944,38 +33374,38 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2329 := z.EncBinary() - _ = yym2329 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2330 := !z.EncBinary() - yy2arr2330 := z.EncBasicHandle().StructToArray - var yyq2330 [4]bool - _, _, _ = yysep2330, yyq2330, yy2arr2330 - const yyr2330 bool = false - yyq2330[0] = x.Kind != "" - yyq2330[1] = x.APIVersion != "" - yyq2330[2] = true - yyq2330[3] = true - var yynn2330 int - if yyr2330 || yy2arr2330 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn2330 = 0 - for _, b := range yyq2330 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2330++ + yynn2++ } } - r.EncodeMapStart(yynn2330) - yynn2330 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2330 || yy2arr2330 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2330[0] { - yym2332 := z.EncBinary() - _ = yym2332 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -30984,23 +33414,23 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2330[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2333 := z.EncBinary() - _ = yym2333 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2330 || yy2arr2330 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2330[1] { - yym2335 := z.EncBinary() - _ = yym2335 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -31009,53 +33439,53 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2330[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2336 := z.EncBinary() - _ = yym2336 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2330 || yy2arr2330 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2330[2] { - yy2338 := &x.ObjectMeta - yy2338.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2330[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2339 := &x.ObjectMeta - yy2339.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr2330 || yy2arr2330 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2330[3] { - yy2341 := &x.Template - yy2341.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Template + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2330[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2342 := &x.Template - yy2342.CodecEncodeSelf(e) + yy17 := &x.Template + yy17.CodecEncodeSelf(e) } } - if yyr2330 || yy2arr2330 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31068,25 +33498,25 @@ func (x *PodTemplate) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2343 := z.DecBinary() - _ = yym2343 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2344 := r.ContainerType() - if yyct2344 == codecSelferValueTypeMap1234 { - yyl2344 := r.ReadMapStart() - if yyl2344 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2344, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2344 == codecSelferValueTypeArray1234 { - yyl2344 := r.ReadArrayStart() - if yyl2344 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2344, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31098,12 +33528,12 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2345Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2345Slc - var yyhl2345 bool = l >= 0 - for yyj2345 := 0; ; yyj2345++ { - if yyhl2345 { - if yyj2345 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -31112,40 +33542,52 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2345Slc = r.DecodeBytes(yys2345Slc, true, true) - yys2345 := string(yys2345Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2345 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2348 := &x.ObjectMeta - yyv2348.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = PodTemplateSpec{} } else { - yyv2349 := &x.Template - yyv2349.CodecDecodeSelf(d) + yyv9 := &x.Template + yyv9.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2345) - } // end switch yys2345 - } // end for yyj2345 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31153,16 +33595,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2350 int - var yyb2350 bool - var yyhl2350 bool = l >= 0 - yyj2350++ - if yyhl2350 { - yyb2350 = yyj2350 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2350 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2350 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31170,15 +33612,21 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv11 := &x.Kind + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj2350++ - if yyhl2350 { - yyb2350 = yyj2350 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2350 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2350 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31186,15 +33634,21 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv13 := &x.APIVersion + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj2350++ - if yyhl2350 { - yyb2350 = yyj2350 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2350 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2350 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31202,16 +33656,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2353 := &x.ObjectMeta - yyv2353.CodecDecodeSelf(d) + yyv15 := &x.ObjectMeta + yyv15.CodecDecodeSelf(d) } - yyj2350++ - if yyhl2350 { - yyb2350 = yyj2350 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2350 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2350 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31219,21 +33673,21 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = PodTemplateSpec{} } else { - yyv2354 := &x.Template - yyv2354.CodecDecodeSelf(d) + yyv16 := &x.Template + yyv16.CodecDecodeSelf(d) } for { - yyj2350++ - if yyhl2350 { - yyb2350 = yyj2350 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2350 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2350 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2350-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31245,37 +33699,37 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2355 := z.EncBinary() - _ = yym2355 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2356 := !z.EncBinary() - yy2arr2356 := z.EncBasicHandle().StructToArray - var yyq2356 [4]bool - _, _, _ = yysep2356, yyq2356, yy2arr2356 - const yyr2356 bool = false - yyq2356[0] = x.Kind != "" - yyq2356[1] = x.APIVersion != "" - yyq2356[2] = true - var yynn2356 int - if yyr2356 || yy2arr2356 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn2356 = 1 - for _, b := range yyq2356 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn2356++ + yynn2++ } } - r.EncodeMapStart(yynn2356) - yynn2356 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2356 || yy2arr2356 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2356[0] { - yym2358 := z.EncBinary() - _ = yym2358 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -31284,23 +33738,23 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2356[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2359 := z.EncBinary() - _ = yym2359 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2356 || yy2arr2356 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2356[1] { - yym2361 := z.EncBinary() - _ = yym2361 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -31309,54 +33763,54 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2356[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2362 := z.EncBinary() - _ = yym2362 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2356 || yy2arr2356 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2356[2] { - yy2364 := &x.ListMeta - yym2365 := z.EncBinary() - _ = yym2365 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy2364) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy2364) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq2356[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2366 := &x.ListMeta - yym2367 := z.EncBinary() - _ = yym2367 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy2366) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy2366) + z.EncFallback(yy12) } } } - if yyr2356 || yy2arr2356 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2369 := z.EncBinary() - _ = yym2369 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) @@ -31369,15 +33823,15 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2370 := z.EncBinary() - _ = yym2370 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) } } } - if yyr2356 || yy2arr2356 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31390,25 +33844,25 @@ func (x *PodTemplateList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2371 := z.DecBinary() - _ = yym2371 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2372 := r.ContainerType() - if yyct2372 == codecSelferValueTypeMap1234 { - yyl2372 := r.ReadMapStart() - if yyl2372 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2372, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2372 == codecSelferValueTypeArray1234 { - yyl2372 := r.ReadArrayStart() - if yyl2372 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2372, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31420,12 +33874,12 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2373Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2373Slc - var yyhl2373 bool = l >= 0 - for yyj2373 := 0; ; yyj2373++ { - if yyhl2373 { - if yyj2373 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -31434,51 +33888,63 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2373Slc = r.DecodeBytes(yys2373Slc, true, true) - yys2373 := string(yys2373Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2373 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv2376 := &x.ListMeta - yym2377 := z.DecBinary() - _ = yym2377 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv2376) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv2376, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2378 := &x.Items - yym2379 := z.DecBinary() - _ = yym2379 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv2378), d) + h.decSlicePodTemplate((*[]PodTemplate)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys2373) - } // end switch yys2373 - } // end for yyj2373 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31486,16 +33952,16 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2380 int - var yyb2380 bool - var yyhl2380 bool = l >= 0 - yyj2380++ - if yyhl2380 { - yyb2380 = yyj2380 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2380 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2380 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31503,15 +33969,21 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj2380++ - if yyhl2380 { - yyb2380 = yyj2380 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2380 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2380 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31519,15 +33991,21 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj2380++ - if yyhl2380 { - yyb2380 = yyj2380 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2380 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2380 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31535,22 +34013,22 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv2383 := &x.ListMeta - yym2384 := z.DecBinary() - _ = yym2384 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv2383) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv2383, false) + z.DecFallback(yyv17, false) } } - yyj2380++ - if yyhl2380 { - yyb2380 = yyj2380 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2380 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2380 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31558,26 +34036,26 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2385 := &x.Items - yym2386 := z.DecBinary() - _ = yym2386 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv2385), d) + h.decSlicePodTemplate((*[]PodTemplate)(yyv19), d) } } for { - yyj2380++ - if yyhl2380 { - yyb2380 = yyj2380 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2380 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2380 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2380-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31589,73 +34067,73 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2387 := z.EncBinary() - _ = yym2387 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2388 := !z.EncBinary() - yy2arr2388 := z.EncBasicHandle().StructToArray - var yyq2388 [4]bool - _, _, _ = yysep2388, yyq2388, yy2arr2388 - const yyr2388 bool = false - yyq2388[0] = x.Replicas != nil - yyq2388[1] = x.MinReadySeconds != 0 - yyq2388[2] = len(x.Selector) != 0 - yyq2388[3] = x.Template != nil - var yynn2388 int - if yyr2388 || yy2arr2388 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Replicas != nil + yyq2[1] = x.MinReadySeconds != 0 + yyq2[2] = len(x.Selector) != 0 + yyq2[3] = x.Template != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn2388 = 0 - for _, b := range yyq2388 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2388++ + yynn2++ } } - r.EncodeMapStart(yynn2388) - yynn2388 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2388 || yy2arr2388 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2388[0] { + if yyq2[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy2390 := *x.Replicas - yym2391 := z.EncBinary() - _ = yym2391 + yy4 := *x.Replicas + yym5 := z.EncBinary() + _ = yym5 if false { } else { - r.EncodeInt(int64(yy2390)) + r.EncodeInt(int64(yy4)) } } } else { r.EncodeNil() } } else { - if yyq2388[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy2392 := *x.Replicas - yym2393 := z.EncBinary() - _ = yym2393 + yy6 := *x.Replicas + yym7 := z.EncBinary() + _ = yym7 if false { } else { - r.EncodeInt(int64(yy2392)) + r.EncodeInt(int64(yy6)) } } } } - if yyr2388 || yy2arr2388 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2388[1] { - yym2395 := z.EncBinary() - _ = yym2395 + if yyq2[1] { + yym9 := z.EncBinary() + _ = yym9 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -31664,26 +34142,26 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2388[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2396 := z.EncBinary() - _ = yym2396 + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) } } } - if yyr2388 || yy2arr2388 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2388[2] { + if yyq2[2] { if x.Selector == nil { r.EncodeNil() } else { - yym2398 := z.EncBinary() - _ = yym2398 + yym12 := z.EncBinary() + _ = yym12 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -31693,15 +34171,15 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2388[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym2399 := z.EncBinary() - _ = yym2399 + yym13 := z.EncBinary() + _ = yym13 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -31709,9 +34187,9 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2388 || yy2arr2388 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2388[3] { + if yyq2[3] { if x.Template == nil { r.EncodeNil() } else { @@ -31721,7 +34199,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2388[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -31732,7 +34210,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2388 || yy2arr2388 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31745,25 +34223,25 @@ func (x *ReplicationControllerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2401 := z.DecBinary() - _ = yym2401 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2402 := r.ContainerType() - if yyct2402 == codecSelferValueTypeMap1234 { - yyl2402 := r.ReadMapStart() - if yyl2402 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2402, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2402 == codecSelferValueTypeArray1234 { - yyl2402 := r.ReadArrayStart() - if yyl2402 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2402, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31775,12 +34253,12 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2403Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2403Slc - var yyhl2403 bool = l >= 0 - for yyj2403 := 0; ; yyj2403++ { - if yyhl2403 { - if yyj2403 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -31789,10 +34267,10 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2403Slc = r.DecodeBytes(yys2403Slc, true, true) - yys2403 := string(yys2403Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2403 { + switch yys3 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -31802,8 +34280,8 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if x.Replicas == nil { x.Replicas = new(int32) } - yym2405 := z.DecBinary() - _ = yym2405 + yym5 := z.DecBinary() + _ = yym5 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -31813,18 +34291,24 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.MinReadySeconds = 0 } else { - x.MinReadySeconds = int32(r.DecodeInt(32)) + yyv6 := &x.MinReadySeconds + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*int32)(yyv6)) = int32(r.DecodeInt(32)) + } } case "selector": if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2407 := &x.Selector - yym2408 := z.DecBinary() - _ = yym2408 + yyv8 := &x.Selector + yym9 := z.DecBinary() + _ = yym9 if false { } else { - z.F.DecMapStringStringX(yyv2407, false, d) + z.F.DecMapStringStringX(yyv8, false, d) } } case "template": @@ -31839,9 +34323,9 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D x.Template.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2403) - } // end switch yys2403 - } // end for yyj2403 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31849,16 +34333,16 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2410 int - var yyb2410 bool - var yyhl2410 bool = l >= 0 - yyj2410++ - if yyhl2410 { - yyb2410 = yyj2410 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2410 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2410 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31871,20 +34355,20 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 if x.Replicas == nil { x.Replicas = new(int32) } - yym2412 := z.DecBinary() - _ = yym2412 + yym13 := z.DecBinary() + _ = yym13 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj2410++ - if yyhl2410 { - yyb2410 = yyj2410 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2410 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2410 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31892,15 +34376,21 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.MinReadySeconds = 0 } else { - x.MinReadySeconds = int32(r.DecodeInt(32)) + yyv14 := &x.MinReadySeconds + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*int32)(yyv14)) = int32(r.DecodeInt(32)) + } } - yyj2410++ - if yyhl2410 { - yyb2410 = yyj2410 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2410 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2410 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31908,21 +34398,21 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2414 := &x.Selector - yym2415 := z.DecBinary() - _ = yym2415 + yyv16 := &x.Selector + yym17 := z.DecBinary() + _ = yym17 if false { } else { - z.F.DecMapStringStringX(yyv2414, false, d) + z.F.DecMapStringStringX(yyv16, false, d) } } - yyj2410++ - if yyhl2410 { - yyb2410 = yyj2410 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2410 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2410 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31938,17 +34428,17 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 x.Template.CodecDecodeSelf(d) } for { - yyj2410++ - if yyhl2410 { - yyb2410 = yyj2410 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2410 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2410 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2410-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31960,38 +34450,38 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2417 := z.EncBinary() - _ = yym2417 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2418 := !z.EncBinary() - yy2arr2418 := z.EncBasicHandle().StructToArray - var yyq2418 [6]bool - _, _, _ = yysep2418, yyq2418, yy2arr2418 - const yyr2418 bool = false - yyq2418[1] = x.FullyLabeledReplicas != 0 - yyq2418[2] = x.ReadyReplicas != 0 - yyq2418[3] = x.AvailableReplicas != 0 - yyq2418[4] = x.ObservedGeneration != 0 - yyq2418[5] = len(x.Conditions) != 0 - var yynn2418 int - if yyr2418 || yy2arr2418 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.FullyLabeledReplicas != 0 + yyq2[2] = x.ReadyReplicas != 0 + yyq2[3] = x.AvailableReplicas != 0 + yyq2[4] = x.ObservedGeneration != 0 + yyq2[5] = len(x.Conditions) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn2418 = 1 - for _, b := range yyq2418 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn2418++ + yynn2++ } } - r.EncodeMapStart(yynn2418) - yynn2418 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2418 || yy2arr2418 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2420 := z.EncBinary() - _ = yym2420 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -32000,18 +34490,18 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2421 := z.EncBinary() - _ = yym2421 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2418 || yy2arr2418 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2418[1] { - yym2423 := z.EncBinary() - _ = yym2423 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -32020,23 +34510,23 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2418[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2424 := z.EncBinary() - _ = yym2424 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr2418 || yy2arr2418 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2418[2] { - yym2426 := z.EncBinary() - _ = yym2426 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) @@ -32045,23 +34535,23 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2418[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readyReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2427 := z.EncBinary() - _ = yym2427 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) } } } - if yyr2418 || yy2arr2418 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2418[3] { - yym2429 := z.EncBinary() - _ = yym2429 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) @@ -32070,23 +34560,23 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2418[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2430 := z.EncBinary() - _ = yym2430 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) } } } - if yyr2418 || yy2arr2418 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2418[4] { - yym2432 := z.EncBinary() - _ = yym2432 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -32095,26 +34585,26 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2418[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2433 := z.EncBinary() - _ = yym2433 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr2418 || yy2arr2418 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2418[5] { + if yyq2[5] { if x.Conditions == nil { r.EncodeNil() } else { - yym2435 := z.EncBinary() - _ = yym2435 + yym19 := z.EncBinary() + _ = yym19 if false { } else { h.encSliceReplicationControllerCondition(([]ReplicationControllerCondition)(x.Conditions), e) @@ -32124,15 +34614,15 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2418[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym2436 := z.EncBinary() - _ = yym2436 + yym20 := z.EncBinary() + _ = yym20 if false { } else { h.encSliceReplicationControllerCondition(([]ReplicationControllerCondition)(x.Conditions), e) @@ -32140,7 +34630,7 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2418 || yy2arr2418 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32153,25 +34643,25 @@ func (x *ReplicationControllerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2437 := z.DecBinary() - _ = yym2437 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2438 := r.ContainerType() - if yyct2438 == codecSelferValueTypeMap1234 { - yyl2438 := r.ReadMapStart() - if yyl2438 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2438, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2438 == codecSelferValueTypeArray1234 { - yyl2438 := r.ReadArrayStart() - if yyl2438 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2438, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32183,12 +34673,12 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2439Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2439Slc - var yyhl2439 bool = l >= 0 - for yyj2439 := 0; ; yyj2439++ { - if yyhl2439 { - if yyj2439 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -32197,56 +34687,86 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2439Slc = r.DecodeBytes(yys2439Slc, true, true) - yys2439 := string(yys2439Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2439 { + switch yys3 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int32(r.DecodeInt(32)) + yyv4 := &x.Replicas + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int32)(yyv4)) = int32(r.DecodeInt(32)) + } } case "fullyLabeledReplicas": if r.TryDecodeAsNil() { x.FullyLabeledReplicas = 0 } else { - x.FullyLabeledReplicas = int32(r.DecodeInt(32)) + yyv6 := &x.FullyLabeledReplicas + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*int32)(yyv6)) = int32(r.DecodeInt(32)) + } } case "readyReplicas": if r.TryDecodeAsNil() { x.ReadyReplicas = 0 } else { - x.ReadyReplicas = int32(r.DecodeInt(32)) + yyv8 := &x.ReadyReplicas + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*int32)(yyv8)) = int32(r.DecodeInt(32)) + } } case "availableReplicas": if r.TryDecodeAsNil() { x.AvailableReplicas = 0 } else { - x.AvailableReplicas = int32(r.DecodeInt(32)) + yyv10 := &x.AvailableReplicas + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*int32)(yyv10)) = int32(r.DecodeInt(32)) + } } case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 } else { - x.ObservedGeneration = int64(r.DecodeInt(64)) + yyv12 := &x.ObservedGeneration + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*int64)(yyv12)) = int64(r.DecodeInt(64)) + } } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2445 := &x.Conditions - yym2446 := z.DecBinary() - _ = yym2446 + yyv14 := &x.Conditions + yym15 := z.DecBinary() + _ = yym15 if false { } else { - h.decSliceReplicationControllerCondition((*[]ReplicationControllerCondition)(yyv2445), d) + h.decSliceReplicationControllerCondition((*[]ReplicationControllerCondition)(yyv14), d) } } default: - z.DecStructFieldNotFound(-1, yys2439) - } // end switch yys2439 - } // end for yyj2439 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32254,16 +34774,16 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2447 int - var yyb2447 bool - var yyhl2447 bool = l >= 0 - yyj2447++ - if yyhl2447 { - yyb2447 = yyj2447 > l + var yyj16 int + var yyb16 bool + var yyhl16 bool = l >= 0 + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb2447 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb2447 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32271,15 +34791,21 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int32(r.DecodeInt(32)) + yyv17 := &x.Replicas + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*int32)(yyv17)) = int32(r.DecodeInt(32)) + } } - yyj2447++ - if yyhl2447 { - yyb2447 = yyj2447 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb2447 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb2447 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32287,15 +34813,21 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.FullyLabeledReplicas = 0 } else { - x.FullyLabeledReplicas = int32(r.DecodeInt(32)) + yyv19 := &x.FullyLabeledReplicas + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*int32)(yyv19)) = int32(r.DecodeInt(32)) + } } - yyj2447++ - if yyhl2447 { - yyb2447 = yyj2447 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb2447 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb2447 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32303,15 +34835,21 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.ReadyReplicas = 0 } else { - x.ReadyReplicas = int32(r.DecodeInt(32)) + yyv21 := &x.ReadyReplicas + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*int32)(yyv21)) = int32(r.DecodeInt(32)) + } } - yyj2447++ - if yyhl2447 { - yyb2447 = yyj2447 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb2447 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb2447 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32319,15 +34857,21 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.AvailableReplicas = 0 } else { - x.AvailableReplicas = int32(r.DecodeInt(32)) + yyv23 := &x.AvailableReplicas + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*int32)(yyv23)) = int32(r.DecodeInt(32)) + } } - yyj2447++ - if yyhl2447 { - yyb2447 = yyj2447 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb2447 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb2447 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32335,15 +34879,21 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.ObservedGeneration = 0 } else { - x.ObservedGeneration = int64(r.DecodeInt(64)) + yyv25 := &x.ObservedGeneration + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*int64)(yyv25)) = int64(r.DecodeInt(64)) + } } - yyj2447++ - if yyhl2447 { - yyb2447 = yyj2447 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb2447 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb2447 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32351,26 +34901,26 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2453 := &x.Conditions - yym2454 := z.DecBinary() - _ = yym2454 + yyv27 := &x.Conditions + yym28 := z.DecBinary() + _ = yym28 if false { } else { - h.decSliceReplicationControllerCondition((*[]ReplicationControllerCondition)(yyv2453), d) + h.decSliceReplicationControllerCondition((*[]ReplicationControllerCondition)(yyv27), d) } } for { - yyj2447++ - if yyhl2447 { - yyb2447 = yyj2447 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb2447 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb2447 { + if yyb16 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2447-1, "") + z.DecStructFieldNotFound(yyj16-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32379,8 +34929,8 @@ func (x ReplicationControllerConditionType) CodecEncodeSelf(e *codec1978.Encoder var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2455 := z.EncBinary() - _ = yym2455 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -32392,8 +34942,8 @@ func (x *ReplicationControllerConditionType) CodecDecodeSelf(d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2456 := z.DecBinary() - _ = yym2456 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -32408,33 +34958,33 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2457 := z.EncBinary() - _ = yym2457 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2458 := !z.EncBinary() - yy2arr2458 := z.EncBasicHandle().StructToArray - var yyq2458 [5]bool - _, _, _ = yysep2458, yyq2458, yy2arr2458 - const yyr2458 bool = false - yyq2458[2] = true - yyq2458[3] = x.Reason != "" - yyq2458[4] = x.Message != "" - var yynn2458 int - if yyr2458 || yy2arr2458 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = true + yyq2[3] = x.Reason != "" + yyq2[4] = x.Message != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn2458 = 2 - for _, b := range yyq2458 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn2458++ + yynn2++ } } - r.EncodeMapStart(yynn2458) - yynn2458 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2458 || yy2arr2458 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -32443,7 +34993,7 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2458 || yy2arr2458 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -32452,48 +35002,48 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr2458 || yy2arr2458 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2458[2] { - yy2462 := &x.LastTransitionTime - yym2463 := z.EncBinary() - _ = yym2463 + if yyq2[2] { + yy10 := &x.LastTransitionTime + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy2462) { - } else if yym2463 { - z.EncBinaryMarshal(yy2462) - } else if !yym2463 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2462) + } else if z.HasExtensions() && z.EncExt(yy10) { + } else if yym11 { + z.EncBinaryMarshal(yy10) + } else if !yym11 && z.IsJSONHandle() { + z.EncJSONMarshal(yy10) } else { - z.EncFallback(yy2462) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq2458[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2464 := &x.LastTransitionTime - yym2465 := z.EncBinary() - _ = yym2465 + yy12 := &x.LastTransitionTime + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy2464) { - } else if yym2465 { - z.EncBinaryMarshal(yy2464) - } else if !yym2465 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2464) + } else if z.HasExtensions() && z.EncExt(yy12) { + } else if yym13 { + z.EncBinaryMarshal(yy12) + } else if !yym13 && z.IsJSONHandle() { + z.EncJSONMarshal(yy12) } else { - z.EncFallback(yy2464) + z.EncFallback(yy12) } } } - if yyr2458 || yy2arr2458 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2458[3] { - yym2467 := z.EncBinary() - _ = yym2467 + if yyq2[3] { + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -32502,23 +35052,23 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2458[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2468 := z.EncBinary() - _ = yym2468 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2458 || yy2arr2458 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2458[4] { - yym2470 := z.EncBinary() - _ = yym2470 + if yyq2[4] { + yym18 := z.EncBinary() + _ = yym18 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -32527,19 +35077,19 @@ func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2458[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2471 := z.EncBinary() - _ = yym2471 + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2458 || yy2arr2458 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32552,25 +35102,25 @@ func (x *ReplicationControllerCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2472 := z.DecBinary() - _ = yym2472 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2473 := r.ContainerType() - if yyct2473 == codecSelferValueTypeMap1234 { - yyl2473 := r.ReadMapStart() - if yyl2473 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2473, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2473 == codecSelferValueTypeArray1234 { - yyl2473 := r.ReadArrayStart() - if yyl2473 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2473, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32582,12 +35132,12 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromMap(l int, d *codec1 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2474Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2474Slc - var yyhl2474 bool = l >= 0 - for yyj2474 := 0; ; yyj2474++ { - if yyhl2474 { - if yyj2474 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -32596,55 +35146,69 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromMap(l int, d *codec1 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2474Slc = r.DecodeBytes(yys2474Slc, true, true) - yys2474 := string(yys2474Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2474 { + switch yys3 { case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = ReplicationControllerConditionType(r.DecodeString()) + yyv4 := &x.Type + yyv4.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = ConditionStatus(r.DecodeString()) + yyv5 := &x.Status + yyv5.CodecDecodeSelf(d) } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_v1.Time{} } else { - yyv2477 := &x.LastTransitionTime - yym2478 := z.DecBinary() - _ = yym2478 + yyv6 := &x.LastTransitionTime + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv2477) { - } else if yym2478 { - z.DecBinaryUnmarshal(yyv2477) - } else if !yym2478 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2477) + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if yym7 { + z.DecBinaryUnmarshal(yyv6) + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) } else { - z.DecFallback(yyv2477, false) + z.DecFallback(yyv6, false) } } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv8 := &x.Reason + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv10 := &x.Message + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys2474) - } // end switch yys2474 - } // end for yyj2474 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32652,16 +35216,16 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2481 int - var yyb2481 bool - var yyhl2481 bool = l >= 0 - yyj2481++ - if yyhl2481 { - yyb2481 = yyj2481 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2481 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2481 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32669,15 +35233,16 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = ReplicationControllerConditionType(r.DecodeString()) + yyv13 := &x.Type + yyv13.CodecDecodeSelf(d) } - yyj2481++ - if yyhl2481 { - yyb2481 = yyj2481 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2481 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2481 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32685,15 +35250,16 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = ConditionStatus(r.DecodeString()) + yyv14 := &x.Status + yyv14.CodecDecodeSelf(d) } - yyj2481++ - if yyhl2481 { - yyb2481 = yyj2481 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2481 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2481 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32701,26 +35267,26 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_v1.Time{} } else { - yyv2484 := &x.LastTransitionTime - yym2485 := z.DecBinary() - _ = yym2485 + yyv15 := &x.LastTransitionTime + yym16 := z.DecBinary() + _ = yym16 if false { - } else if z.HasExtensions() && z.DecExt(yyv2484) { - } else if yym2485 { - z.DecBinaryUnmarshal(yyv2484) - } else if !yym2485 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2484) + } else if z.HasExtensions() && z.DecExt(yyv15) { + } else if yym16 { + z.DecBinaryUnmarshal(yyv15) + } else if !yym16 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv15) } else { - z.DecFallback(yyv2484, false) + z.DecFallback(yyv15, false) } } - yyj2481++ - if yyhl2481 { - yyb2481 = yyj2481 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2481 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2481 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32728,15 +35294,21 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv17 := &x.Reason + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*string)(yyv17)) = r.DecodeString() + } } - yyj2481++ - if yyhl2481 { - yyb2481 = yyj2481 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2481 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2481 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32744,20 +35316,26 @@ func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *code if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv19 := &x.Message + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } for { - yyj2481++ - if yyhl2481 { - yyb2481 = yyj2481 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2481 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2481 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2481-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32769,39 +35347,39 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2488 := z.EncBinary() - _ = yym2488 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2489 := !z.EncBinary() - yy2arr2489 := z.EncBasicHandle().StructToArray - var yyq2489 [5]bool - _, _, _ = yysep2489, yyq2489, yy2arr2489 - const yyr2489 bool = false - yyq2489[0] = x.Kind != "" - yyq2489[1] = x.APIVersion != "" - yyq2489[2] = true - yyq2489[3] = true - yyq2489[4] = true - var yynn2489 int - if yyr2489 || yy2arr2489 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn2489 = 0 - for _, b := range yyq2489 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2489++ + yynn2++ } } - r.EncodeMapStart(yynn2489) - yynn2489 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2489 || yy2arr2489 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2489[0] { - yym2491 := z.EncBinary() - _ = yym2491 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -32810,23 +35388,23 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2489[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2492 := z.EncBinary() - _ = yym2492 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2489 || yy2arr2489 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2489[1] { - yym2494 := z.EncBinary() - _ = yym2494 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -32835,70 +35413,70 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2489[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2495 := z.EncBinary() - _ = yym2495 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2489 || yy2arr2489 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2489[2] { - yy2497 := &x.ObjectMeta - yy2497.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2489[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2498 := &x.ObjectMeta - yy2498.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr2489 || yy2arr2489 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2489[3] { - yy2500 := &x.Spec - yy2500.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2489[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2501 := &x.Spec - yy2501.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr2489 || yy2arr2489 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2489[4] { - yy2503 := &x.Status - yy2503.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2489[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2504 := &x.Status - yy2504.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr2489 || yy2arr2489 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32911,25 +35489,25 @@ func (x *ReplicationController) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2505 := z.DecBinary() - _ = yym2505 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2506 := r.ContainerType() - if yyct2506 == codecSelferValueTypeMap1234 { - yyl2506 := r.ReadMapStart() - if yyl2506 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2506, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2506 == codecSelferValueTypeArray1234 { - yyl2506 := r.ReadArrayStart() - if yyl2506 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2506, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32941,12 +35519,12 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2507Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2507Slc - var yyhl2507 bool = l >= 0 - for yyj2507 := 0; ; yyj2507++ { - if yyhl2507 { - if yyj2507 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -32955,47 +35533,59 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2507Slc = r.DecodeBytes(yys2507Slc, true, true) - yys2507 := string(yys2507Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2507 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2510 := &x.ObjectMeta - yyv2510.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv2511 := &x.Spec - yyv2511.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv2512 := &x.Status - yyv2512.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2507) - } // end switch yys2507 - } // end for yyj2507 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33003,16 +35593,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2513 int - var yyb2513 bool - var yyhl2513 bool = l >= 0 - yyj2513++ - if yyhl2513 { - yyb2513 = yyj2513 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2513 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2513 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33020,15 +35610,21 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj2513++ - if yyhl2513 { - yyb2513 = yyj2513 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2513 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2513 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33036,15 +35632,21 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj2513++ - if yyhl2513 { - yyb2513 = yyj2513 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2513 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2513 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33052,16 +35654,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2516 := &x.ObjectMeta - yyv2516.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj2513++ - if yyhl2513 { - yyb2513 = yyj2513 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2513 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2513 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33069,16 +35671,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv2517 := &x.Spec - yyv2517.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj2513++ - if yyhl2513 { - yyb2513 = yyj2513 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2513 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2513 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33086,21 +35688,21 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv2518 := &x.Status - yyv2518.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj2513++ - if yyhl2513 { - yyb2513 = yyj2513 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2513 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2513 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2513-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33112,37 +35714,37 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2519 := z.EncBinary() - _ = yym2519 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2520 := !z.EncBinary() - yy2arr2520 := z.EncBasicHandle().StructToArray - var yyq2520 [4]bool - _, _, _ = yysep2520, yyq2520, yy2arr2520 - const yyr2520 bool = false - yyq2520[0] = x.Kind != "" - yyq2520[1] = x.APIVersion != "" - yyq2520[2] = true - var yynn2520 int - if yyr2520 || yy2arr2520 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn2520 = 1 - for _, b := range yyq2520 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn2520++ + yynn2++ } } - r.EncodeMapStart(yynn2520) - yynn2520 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2520 || yy2arr2520 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2520[0] { - yym2522 := z.EncBinary() - _ = yym2522 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -33151,23 +35753,23 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2520[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2523 := z.EncBinary() - _ = yym2523 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2520 || yy2arr2520 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2520[1] { - yym2525 := z.EncBinary() - _ = yym2525 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -33176,54 +35778,54 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2520[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2526 := z.EncBinary() - _ = yym2526 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2520 || yy2arr2520 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2520[2] { - yy2528 := &x.ListMeta - yym2529 := z.EncBinary() - _ = yym2529 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy2528) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy2528) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq2520[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2530 := &x.ListMeta - yym2531 := z.EncBinary() - _ = yym2531 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy2530) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy2530) + z.EncFallback(yy12) } } } - if yyr2520 || yy2arr2520 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2533 := z.EncBinary() - _ = yym2533 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) @@ -33236,15 +35838,15 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2534 := z.EncBinary() - _ = yym2534 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) } } } - if yyr2520 || yy2arr2520 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33257,25 +35859,25 @@ func (x *ReplicationControllerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2535 := z.DecBinary() - _ = yym2535 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2536 := r.ContainerType() - if yyct2536 == codecSelferValueTypeMap1234 { - yyl2536 := r.ReadMapStart() - if yyl2536 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2536, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2536 == codecSelferValueTypeArray1234 { - yyl2536 := r.ReadArrayStart() - if yyl2536 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2536, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33287,12 +35889,12 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2537Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2537Slc - var yyhl2537 bool = l >= 0 - for yyj2537 := 0; ; yyj2537++ { - if yyhl2537 { - if yyj2537 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -33301,51 +35903,63 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2537Slc = r.DecodeBytes(yys2537Slc, true, true) - yys2537 := string(yys2537Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2537 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv2540 := &x.ListMeta - yym2541 := z.DecBinary() - _ = yym2541 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv2540) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv2540, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2542 := &x.Items - yym2543 := z.DecBinary() - _ = yym2543 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv2542), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys2537) - } // end switch yys2537 - } // end for yyj2537 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33353,16 +35967,16 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2544 int - var yyb2544 bool - var yyhl2544 bool = l >= 0 - yyj2544++ - if yyhl2544 { - yyb2544 = yyj2544 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2544 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2544 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33370,15 +35984,21 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj2544++ - if yyhl2544 { - yyb2544 = yyj2544 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2544 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2544 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33386,15 +36006,21 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj2544++ - if yyhl2544 { - yyb2544 = yyj2544 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2544 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2544 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33402,22 +36028,22 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv2547 := &x.ListMeta - yym2548 := z.DecBinary() - _ = yym2548 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv2547) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv2547, false) + z.DecFallback(yyv17, false) } } - yyj2544++ - if yyhl2544 { - yyb2544 = yyj2544 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2544 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2544 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33425,26 +36051,26 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2549 := &x.Items - yym2550 := z.DecBinary() - _ = yym2550 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv2549), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv19), d) } } for { - yyj2544++ - if yyhl2544 { - yyb2544 = yyj2544 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2544 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2544 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2544-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33453,8 +36079,8 @@ func (x ServiceAffinity) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2551 := z.EncBinary() - _ = yym2551 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -33466,8 +36092,8 @@ func (x *ServiceAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2552 := z.DecBinary() - _ = yym2552 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -33479,8 +36105,8 @@ func (x ServiceType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2553 := z.EncBinary() - _ = yym2553 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -33492,8 +36118,8 @@ func (x *ServiceType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2554 := z.DecBinary() - _ = yym2554 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -33508,48 +36134,48 @@ func (x *ServiceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2555 := z.EncBinary() - _ = yym2555 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2556 := !z.EncBinary() - yy2arr2556 := z.EncBasicHandle().StructToArray - var yyq2556 [1]bool - _, _, _ = yysep2556, yyq2556, yy2arr2556 - const yyr2556 bool = false - yyq2556[0] = true - var yynn2556 int - if yyr2556 || yy2arr2556 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn2556 = 0 - for _, b := range yyq2556 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2556++ + yynn2++ } } - r.EncodeMapStart(yynn2556) - yynn2556 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2556 || yy2arr2556 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2556[0] { - yy2558 := &x.LoadBalancer - yy2558.CodecEncodeSelf(e) + if yyq2[0] { + yy4 := &x.LoadBalancer + yy4.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2556[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2559 := &x.LoadBalancer - yy2559.CodecEncodeSelf(e) + yy6 := &x.LoadBalancer + yy6.CodecEncodeSelf(e) } } - if yyr2556 || yy2arr2556 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33562,25 +36188,25 @@ func (x *ServiceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2560 := z.DecBinary() - _ = yym2560 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2561 := r.ContainerType() - if yyct2561 == codecSelferValueTypeMap1234 { - yyl2561 := r.ReadMapStart() - if yyl2561 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2561, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2561 == codecSelferValueTypeArray1234 { - yyl2561 := r.ReadArrayStart() - if yyl2561 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2561, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33592,12 +36218,12 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2562Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2562Slc - var yyhl2562 bool = l >= 0 - for yyj2562 := 0; ; yyj2562++ { - if yyhl2562 { - if yyj2562 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -33606,21 +36232,21 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2562Slc = r.DecodeBytes(yys2562Slc, true, true) - yys2562 := string(yys2562Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2562 { + switch yys3 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv2563 := &x.LoadBalancer - yyv2563.CodecDecodeSelf(d) + yyv4 := &x.LoadBalancer + yyv4.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2562) - } // end switch yys2562 - } // end for yyj2562 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33628,16 +36254,16 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2564 int - var yyb2564 bool - var yyhl2564 bool = l >= 0 - yyj2564++ - if yyhl2564 { - yyb2564 = yyj2564 > l + var yyj5 int + var yyb5 bool + var yyhl5 bool = l >= 0 + yyj5++ + if yyhl5 { + yyb5 = yyj5 > l } else { - yyb2564 = r.CheckBreak() + yyb5 = r.CheckBreak() } - if yyb2564 { + if yyb5 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33645,21 +36271,21 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv2565 := &x.LoadBalancer - yyv2565.CodecDecodeSelf(d) + yyv6 := &x.LoadBalancer + yyv6.CodecDecodeSelf(d) } for { - yyj2564++ - if yyhl2564 { - yyb2564 = yyj2564 > l + yyj5++ + if yyhl5 { + yyb5 = yyj5 > l } else { - yyb2564 = r.CheckBreak() + yyb5 = r.CheckBreak() } - if yyb2564 { + if yyb5 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2564-1, "") + z.DecStructFieldNotFound(yyj5-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33671,38 +36297,38 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2566 := z.EncBinary() - _ = yym2566 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2567 := !z.EncBinary() - yy2arr2567 := z.EncBasicHandle().StructToArray - var yyq2567 [1]bool - _, _, _ = yysep2567, yyq2567, yy2arr2567 - const yyr2567 bool = false - yyq2567[0] = len(x.Ingress) != 0 - var yynn2567 int - if yyr2567 || yy2arr2567 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Ingress) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn2567 = 0 - for _, b := range yyq2567 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2567++ + yynn2++ } } - r.EncodeMapStart(yynn2567) - yynn2567 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2567 || yy2arr2567 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2567[0] { + if yyq2[0] { if x.Ingress == nil { r.EncodeNil() } else { - yym2569 := z.EncBinary() - _ = yym2569 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -33712,15 +36338,15 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2567[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym2570 := z.EncBinary() - _ = yym2570 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -33728,7 +36354,7 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2567 || yy2arr2567 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33741,25 +36367,25 @@ func (x *LoadBalancerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2571 := z.DecBinary() - _ = yym2571 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2572 := r.ContainerType() - if yyct2572 == codecSelferValueTypeMap1234 { - yyl2572 := r.ReadMapStart() - if yyl2572 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2572, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2572 == codecSelferValueTypeArray1234 { - yyl2572 := r.ReadArrayStart() - if yyl2572 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2572, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33771,12 +36397,12 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2573Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2573Slc - var yyhl2573 bool = l >= 0 - for yyj2573 := 0; ; yyj2573++ { - if yyhl2573 { - if yyj2573 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -33785,26 +36411,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2573Slc = r.DecodeBytes(yys2573Slc, true, true) - yys2573 := string(yys2573Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2573 { + switch yys3 { case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv2574 := &x.Ingress - yym2575 := z.DecBinary() - _ = yym2575 + yyv4 := &x.Ingress + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2574), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv4), d) } } default: - z.DecStructFieldNotFound(-1, yys2573) - } // end switch yys2573 - } // end for yyj2573 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33812,16 +36438,16 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2576 int - var yyb2576 bool - var yyhl2576 bool = l >= 0 - yyj2576++ - if yyhl2576 { - yyb2576 = yyj2576 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb2576 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb2576 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33829,26 +36455,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv2577 := &x.Ingress - yym2578 := z.DecBinary() - _ = yym2578 + yyv7 := &x.Ingress + yym8 := z.DecBinary() + _ = yym8 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2577), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv7), d) } } for { - yyj2576++ - if yyhl2576 { - yyb2576 = yyj2576 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb2576 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb2576 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2576-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33860,36 +36486,36 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2579 := z.EncBinary() - _ = yym2579 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2580 := !z.EncBinary() - yy2arr2580 := z.EncBasicHandle().StructToArray - var yyq2580 [2]bool - _, _, _ = yysep2580, yyq2580, yy2arr2580 - const yyr2580 bool = false - yyq2580[0] = x.IP != "" - yyq2580[1] = x.Hostname != "" - var yynn2580 int - if yyr2580 || yy2arr2580 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.IP != "" + yyq2[1] = x.Hostname != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn2580 = 0 - for _, b := range yyq2580 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2580++ + yynn2++ } } - r.EncodeMapStart(yynn2580) - yynn2580 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2580 || yy2arr2580 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2580[0] { - yym2582 := z.EncBinary() - _ = yym2582 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -33898,23 +36524,23 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2580[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2583 := z.EncBinary() - _ = yym2583 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } } - if yyr2580 || yy2arr2580 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2580[1] { - yym2585 := z.EncBinary() - _ = yym2585 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -33923,19 +36549,19 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2580[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2586 := z.EncBinary() - _ = yym2586 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2580 || yy2arr2580 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33948,25 +36574,25 @@ func (x *LoadBalancerIngress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2587 := z.DecBinary() - _ = yym2587 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2588 := r.ContainerType() - if yyct2588 == codecSelferValueTypeMap1234 { - yyl2588 := r.ReadMapStart() - if yyl2588 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2588, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2588 == codecSelferValueTypeArray1234 { - yyl2588 := r.ReadArrayStart() - if yyl2588 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2588, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33978,12 +36604,12 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2589Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2589Slc - var yyhl2589 bool = l >= 0 - for yyj2589 := 0; ; yyj2589++ { - if yyhl2589 { - if yyj2589 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -33992,26 +36618,38 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2589Slc = r.DecodeBytes(yys2589Slc, true, true) - yys2589 := string(yys2589Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2589 { + switch yys3 { case "ip": if r.TryDecodeAsNil() { x.IP = "" } else { - x.IP = string(r.DecodeString()) + yyv4 := &x.IP + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "hostname": if r.TryDecodeAsNil() { x.Hostname = "" } else { - x.Hostname = string(r.DecodeString()) + yyv6 := &x.Hostname + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys2589) - } // end switch yys2589 - } // end for yyj2589 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34019,16 +36657,16 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2592 int - var yyb2592 bool - var yyhl2592 bool = l >= 0 - yyj2592++ - if yyhl2592 { - yyb2592 = yyj2592 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb2592 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb2592 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34036,15 +36674,21 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.IP = "" } else { - x.IP = string(r.DecodeString()) + yyv9 := &x.IP + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj2592++ - if yyhl2592 { - yyb2592 = yyj2592 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb2592 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb2592 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34052,20 +36696,26 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Hostname = "" } else { - x.Hostname = string(r.DecodeString()) + yyv11 := &x.Hostname + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj2592++ - if yyhl2592 { - yyb2592 = yyj2592 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb2592 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb2592 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2592-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34077,47 +36727,47 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2595 := z.EncBinary() - _ = yym2595 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2596 := !z.EncBinary() - yy2arr2596 := z.EncBasicHandle().StructToArray - var yyq2596 [10]bool - _, _, _ = yysep2596, yyq2596, yy2arr2596 - const yyr2596 bool = false - yyq2596[0] = len(x.Ports) != 0 - yyq2596[1] = len(x.Selector) != 0 - yyq2596[2] = x.ClusterIP != "" - yyq2596[3] = x.Type != "" - yyq2596[4] = len(x.ExternalIPs) != 0 - yyq2596[5] = len(x.DeprecatedPublicIPs) != 0 - yyq2596[6] = x.SessionAffinity != "" - yyq2596[7] = x.LoadBalancerIP != "" - yyq2596[8] = len(x.LoadBalancerSourceRanges) != 0 - yyq2596[9] = x.ExternalName != "" - var yynn2596 int - if yyr2596 || yy2arr2596 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [10]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Ports) != 0 + yyq2[1] = len(x.Selector) != 0 + yyq2[2] = x.ClusterIP != "" + yyq2[3] = x.Type != "" + yyq2[4] = len(x.ExternalIPs) != 0 + yyq2[5] = len(x.DeprecatedPublicIPs) != 0 + yyq2[6] = x.SessionAffinity != "" + yyq2[7] = x.LoadBalancerIP != "" + yyq2[8] = len(x.LoadBalancerSourceRanges) != 0 + yyq2[9] = x.ExternalName != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(10) } else { - yynn2596 = 0 - for _, b := range yyq2596 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2596++ + yynn2++ } } - r.EncodeMapStart(yynn2596) - yynn2596 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2596 || yy2arr2596 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2596[0] { + if yyq2[0] { if x.Ports == nil { r.EncodeNil() } else { - yym2598 := z.EncBinary() - _ = yym2598 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) @@ -34127,15 +36777,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2596[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym2599 := z.EncBinary() - _ = yym2599 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) @@ -34143,14 +36793,14 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2596 || yy2arr2596 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2596[1] { + if yyq2[1] { if x.Selector == nil { r.EncodeNil() } else { - yym2601 := z.EncBinary() - _ = yym2601 + yym7 := z.EncBinary() + _ = yym7 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -34160,15 +36810,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2596[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym2602 := z.EncBinary() - _ = yym2602 + yym8 := z.EncBinary() + _ = yym8 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -34176,11 +36826,11 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2596 || yy2arr2596 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2596[2] { - yym2604 := z.EncBinary() - _ = yym2604 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) @@ -34189,41 +36839,41 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2596[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2605 := z.EncBinary() - _ = yym2605 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) } } } - if yyr2596 || yy2arr2596 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2596[3] { + if yyq2[3] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2596[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2596 || yy2arr2596 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2596[4] { + if yyq2[4] { if x.ExternalIPs == nil { r.EncodeNil() } else { - yym2608 := z.EncBinary() - _ = yym2608 + yym16 := z.EncBinary() + _ = yym16 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -34233,15 +36883,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2596[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ExternalIPs == nil { r.EncodeNil() } else { - yym2609 := z.EncBinary() - _ = yym2609 + yym17 := z.EncBinary() + _ = yym17 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -34249,14 +36899,14 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2596 || yy2arr2596 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2596[5] { + if yyq2[5] { if x.DeprecatedPublicIPs == nil { r.EncodeNil() } else { - yym2611 := z.EncBinary() - _ = yym2611 + yym19 := z.EncBinary() + _ = yym19 if false { } else { z.F.EncSliceStringV(x.DeprecatedPublicIPs, false, e) @@ -34266,15 +36916,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2596[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deprecatedPublicIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DeprecatedPublicIPs == nil { r.EncodeNil() } else { - yym2612 := z.EncBinary() - _ = yym2612 + yym20 := z.EncBinary() + _ = yym20 if false { } else { z.F.EncSliceStringV(x.DeprecatedPublicIPs, false, e) @@ -34282,26 +36932,26 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2596 || yy2arr2596 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2596[6] { + if yyq2[6] { x.SessionAffinity.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2596[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sessionAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.SessionAffinity.CodecEncodeSelf(e) } } - if yyr2596 || yy2arr2596 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2596[7] { - yym2615 := z.EncBinary() - _ = yym2615 + if yyq2[7] { + yym25 := z.EncBinary() + _ = yym25 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) @@ -34310,26 +36960,26 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2596[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2616 := z.EncBinary() - _ = yym2616 + yym26 := z.EncBinary() + _ = yym26 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) } } } - if yyr2596 || yy2arr2596 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2596[8] { + if yyq2[8] { if x.LoadBalancerSourceRanges == nil { r.EncodeNil() } else { - yym2618 := z.EncBinary() - _ = yym2618 + yym28 := z.EncBinary() + _ = yym28 if false { } else { z.F.EncSliceStringV(x.LoadBalancerSourceRanges, false, e) @@ -34339,15 +36989,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2596[8] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerSourceRanges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LoadBalancerSourceRanges == nil { r.EncodeNil() } else { - yym2619 := z.EncBinary() - _ = yym2619 + yym29 := z.EncBinary() + _ = yym29 if false { } else { z.F.EncSliceStringV(x.LoadBalancerSourceRanges, false, e) @@ -34355,11 +37005,11 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2596 || yy2arr2596 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2596[9] { - yym2621 := z.EncBinary() - _ = yym2621 + if yyq2[9] { + yym31 := z.EncBinary() + _ = yym31 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalName)) @@ -34368,19 +37018,19 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2596[9] { + if yyq2[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2622 := z.EncBinary() - _ = yym2622 + yym32 := z.EncBinary() + _ = yym32 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalName)) } } } - if yyr2596 || yy2arr2596 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34393,25 +37043,25 @@ func (x *ServiceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2623 := z.DecBinary() - _ = yym2623 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2624 := r.ContainerType() - if yyct2624 == codecSelferValueTypeMap1234 { - yyl2624 := r.ReadMapStart() - if yyl2624 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2624, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2624 == codecSelferValueTypeArray1234 { - yyl2624 := r.ReadArrayStart() - if yyl2624 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2624, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34423,12 +37073,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2625Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2625Slc - var yyhl2625 bool = l >= 0 - for yyj2625 := 0; ; yyj2625++ { - if yyhl2625 { - if yyj2625 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -34437,104 +37087,124 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2625Slc = r.DecodeBytes(yys2625Slc, true, true) - yys2625 := string(yys2625Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2625 { + switch yys3 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2626 := &x.Ports - yym2627 := z.DecBinary() - _ = yym2627 + yyv4 := &x.Ports + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv2626), d) + h.decSliceServicePort((*[]ServicePort)(yyv4), d) } } case "selector": if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2628 := &x.Selector - yym2629 := z.DecBinary() - _ = yym2629 + yyv6 := &x.Selector + yym7 := z.DecBinary() + _ = yym7 if false { } else { - z.F.DecMapStringStringX(yyv2628, false, d) + z.F.DecMapStringStringX(yyv6, false, d) } } case "clusterIP": if r.TryDecodeAsNil() { x.ClusterIP = "" } else { - x.ClusterIP = string(r.DecodeString()) + yyv8 := &x.ClusterIP + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = ServiceType(r.DecodeString()) + yyv10 := &x.Type + yyv10.CodecDecodeSelf(d) } case "externalIPs": if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv2632 := &x.ExternalIPs - yym2633 := z.DecBinary() - _ = yym2633 + yyv11 := &x.ExternalIPs + yym12 := z.DecBinary() + _ = yym12 if false { } else { - z.F.DecSliceStringX(yyv2632, false, d) + z.F.DecSliceStringX(yyv11, false, d) } } case "deprecatedPublicIPs": if r.TryDecodeAsNil() { x.DeprecatedPublicIPs = nil } else { - yyv2634 := &x.DeprecatedPublicIPs - yym2635 := z.DecBinary() - _ = yym2635 + yyv13 := &x.DeprecatedPublicIPs + yym14 := z.DecBinary() + _ = yym14 if false { } else { - z.F.DecSliceStringX(yyv2634, false, d) + z.F.DecSliceStringX(yyv13, false, d) } } case "sessionAffinity": if r.TryDecodeAsNil() { x.SessionAffinity = "" } else { - x.SessionAffinity = ServiceAffinity(r.DecodeString()) + yyv15 := &x.SessionAffinity + yyv15.CodecDecodeSelf(d) } case "loadBalancerIP": if r.TryDecodeAsNil() { x.LoadBalancerIP = "" } else { - x.LoadBalancerIP = string(r.DecodeString()) + yyv16 := &x.LoadBalancerIP + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } case "loadBalancerSourceRanges": if r.TryDecodeAsNil() { x.LoadBalancerSourceRanges = nil } else { - yyv2638 := &x.LoadBalancerSourceRanges - yym2639 := z.DecBinary() - _ = yym2639 + yyv18 := &x.LoadBalancerSourceRanges + yym19 := z.DecBinary() + _ = yym19 if false { } else { - z.F.DecSliceStringX(yyv2638, false, d) + z.F.DecSliceStringX(yyv18, false, d) } } case "externalName": if r.TryDecodeAsNil() { x.ExternalName = "" } else { - x.ExternalName = string(r.DecodeString()) + yyv20 := &x.ExternalName + yym21 := z.DecBinary() + _ = yym21 + if false { + } else { + *((*string)(yyv20)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys2625) - } // end switch yys2625 - } // end for yyj2625 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34542,16 +37212,16 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2641 int - var yyb2641 bool - var yyhl2641 bool = l >= 0 - yyj2641++ - if yyhl2641 { - yyb2641 = yyj2641 > l + var yyj22 int + var yyb22 bool + var yyhl22 bool = l >= 0 + yyj22++ + if yyhl22 { + yyb22 = yyj22 > l } else { - yyb2641 = r.CheckBreak() + yyb22 = r.CheckBreak() } - if yyb2641 { + if yyb22 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34559,21 +37229,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2642 := &x.Ports - yym2643 := z.DecBinary() - _ = yym2643 + yyv23 := &x.Ports + yym24 := z.DecBinary() + _ = yym24 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv2642), d) + h.decSliceServicePort((*[]ServicePort)(yyv23), d) } } - yyj2641++ - if yyhl2641 { - yyb2641 = yyj2641 > l + yyj22++ + if yyhl22 { + yyb22 = yyj22 > l } else { - yyb2641 = r.CheckBreak() + yyb22 = r.CheckBreak() } - if yyb2641 { + if yyb22 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34581,21 +37251,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2644 := &x.Selector - yym2645 := z.DecBinary() - _ = yym2645 + yyv25 := &x.Selector + yym26 := z.DecBinary() + _ = yym26 if false { } else { - z.F.DecMapStringStringX(yyv2644, false, d) + z.F.DecMapStringStringX(yyv25, false, d) } } - yyj2641++ - if yyhl2641 { - yyb2641 = yyj2641 > l + yyj22++ + if yyhl22 { + yyb22 = yyj22 > l } else { - yyb2641 = r.CheckBreak() + yyb22 = r.CheckBreak() } - if yyb2641 { + if yyb22 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34603,15 +37273,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ClusterIP = "" } else { - x.ClusterIP = string(r.DecodeString()) + yyv27 := &x.ClusterIP + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*string)(yyv27)) = r.DecodeString() + } } - yyj2641++ - if yyhl2641 { - yyb2641 = yyj2641 > l + yyj22++ + if yyhl22 { + yyb22 = yyj22 > l } else { - yyb2641 = r.CheckBreak() + yyb22 = r.CheckBreak() } - if yyb2641 { + if yyb22 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34619,15 +37295,16 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = ServiceType(r.DecodeString()) + yyv29 := &x.Type + yyv29.CodecDecodeSelf(d) } - yyj2641++ - if yyhl2641 { - yyb2641 = yyj2641 > l + yyj22++ + if yyhl22 { + yyb22 = yyj22 > l } else { - yyb2641 = r.CheckBreak() + yyb22 = r.CheckBreak() } - if yyb2641 { + if yyb22 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34635,21 +37312,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv2648 := &x.ExternalIPs - yym2649 := z.DecBinary() - _ = yym2649 + yyv30 := &x.ExternalIPs + yym31 := z.DecBinary() + _ = yym31 if false { } else { - z.F.DecSliceStringX(yyv2648, false, d) + z.F.DecSliceStringX(yyv30, false, d) } } - yyj2641++ - if yyhl2641 { - yyb2641 = yyj2641 > l + yyj22++ + if yyhl22 { + yyb22 = yyj22 > l } else { - yyb2641 = r.CheckBreak() + yyb22 = r.CheckBreak() } - if yyb2641 { + if yyb22 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34657,21 +37334,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DeprecatedPublicIPs = nil } else { - yyv2650 := &x.DeprecatedPublicIPs - yym2651 := z.DecBinary() - _ = yym2651 + yyv32 := &x.DeprecatedPublicIPs + yym33 := z.DecBinary() + _ = yym33 if false { } else { - z.F.DecSliceStringX(yyv2650, false, d) + z.F.DecSliceStringX(yyv32, false, d) } } - yyj2641++ - if yyhl2641 { - yyb2641 = yyj2641 > l + yyj22++ + if yyhl22 { + yyb22 = yyj22 > l } else { - yyb2641 = r.CheckBreak() + yyb22 = r.CheckBreak() } - if yyb2641 { + if yyb22 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34679,15 +37356,16 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.SessionAffinity = "" } else { - x.SessionAffinity = ServiceAffinity(r.DecodeString()) + yyv34 := &x.SessionAffinity + yyv34.CodecDecodeSelf(d) } - yyj2641++ - if yyhl2641 { - yyb2641 = yyj2641 > l + yyj22++ + if yyhl22 { + yyb22 = yyj22 > l } else { - yyb2641 = r.CheckBreak() + yyb22 = r.CheckBreak() } - if yyb2641 { + if yyb22 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34695,15 +37373,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancerIP = "" } else { - x.LoadBalancerIP = string(r.DecodeString()) + yyv35 := &x.LoadBalancerIP + yym36 := z.DecBinary() + _ = yym36 + if false { + } else { + *((*string)(yyv35)) = r.DecodeString() + } } - yyj2641++ - if yyhl2641 { - yyb2641 = yyj2641 > l + yyj22++ + if yyhl22 { + yyb22 = yyj22 > l } else { - yyb2641 = r.CheckBreak() + yyb22 = r.CheckBreak() } - if yyb2641 { + if yyb22 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34711,21 +37395,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancerSourceRanges = nil } else { - yyv2654 := &x.LoadBalancerSourceRanges - yym2655 := z.DecBinary() - _ = yym2655 + yyv37 := &x.LoadBalancerSourceRanges + yym38 := z.DecBinary() + _ = yym38 if false { } else { - z.F.DecSliceStringX(yyv2654, false, d) + z.F.DecSliceStringX(yyv37, false, d) } } - yyj2641++ - if yyhl2641 { - yyb2641 = yyj2641 > l + yyj22++ + if yyhl22 { + yyb22 = yyj22 > l } else { - yyb2641 = r.CheckBreak() + yyb22 = r.CheckBreak() } - if yyb2641 { + if yyb22 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34733,20 +37417,26 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalName = "" } else { - x.ExternalName = string(r.DecodeString()) + yyv39 := &x.ExternalName + yym40 := z.DecBinary() + _ = yym40 + if false { + } else { + *((*string)(yyv39)) = r.DecodeString() + } } for { - yyj2641++ - if yyhl2641 { - yyb2641 = yyj2641 > l + yyj22++ + if yyhl22 { + yyb22 = yyj22 > l } else { - yyb2641 = r.CheckBreak() + yyb22 = r.CheckBreak() } - if yyb2641 { + if yyb22 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2641-1, "") + z.DecStructFieldNotFound(yyj22-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34758,38 +37448,38 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2657 := z.EncBinary() - _ = yym2657 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2658 := !z.EncBinary() - yy2arr2658 := z.EncBasicHandle().StructToArray - var yyq2658 [5]bool - _, _, _ = yysep2658, yyq2658, yy2arr2658 - const yyr2658 bool = false - yyq2658[0] = x.Name != "" - yyq2658[1] = x.Protocol != "" - yyq2658[3] = true - yyq2658[4] = x.NodePort != 0 - var yynn2658 int - if yyr2658 || yy2arr2658 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Name != "" + yyq2[1] = x.Protocol != "" + yyq2[3] = true + yyq2[4] = x.NodePort != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn2658 = 1 - for _, b := range yyq2658 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn2658++ + yynn2++ } } - r.EncodeMapStart(yynn2658) - yynn2658 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2658 || yy2arr2658 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2658[0] { - yym2660 := z.EncBinary() - _ = yym2660 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -34798,37 +37488,37 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2658[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2661 := z.EncBinary() - _ = yym2661 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2658 || yy2arr2658 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2658[1] { + if yyq2[1] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2658[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr2658 || yy2arr2658 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2664 := z.EncBinary() - _ = yym2664 + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeInt(int64(x.Port)) @@ -34837,51 +37527,51 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2665 := z.EncBinary() - _ = yym2665 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2658 || yy2arr2658 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2658[3] { - yy2667 := &x.TargetPort - yym2668 := z.EncBinary() - _ = yym2668 + if yyq2[3] { + yy13 := &x.TargetPort + yym14 := z.EncBinary() + _ = yym14 if false { - } else if z.HasExtensions() && z.EncExt(yy2667) { - } else if !yym2668 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2667) + } else if z.HasExtensions() && z.EncExt(yy13) { + } else if !yym14 && z.IsJSONHandle() { + z.EncJSONMarshal(yy13) } else { - z.EncFallback(yy2667) + z.EncFallback(yy13) } } else { r.EncodeNil() } } else { - if yyq2658[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2669 := &x.TargetPort - yym2670 := z.EncBinary() - _ = yym2670 + yy15 := &x.TargetPort + yym16 := z.EncBinary() + _ = yym16 if false { - } else if z.HasExtensions() && z.EncExt(yy2669) { - } else if !yym2670 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2669) + } else if z.HasExtensions() && z.EncExt(yy15) { + } else if !yym16 && z.IsJSONHandle() { + z.EncJSONMarshal(yy15) } else { - z.EncFallback(yy2669) + z.EncFallback(yy15) } } } - if yyr2658 || yy2arr2658 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2658[4] { - yym2672 := z.EncBinary() - _ = yym2672 + if yyq2[4] { + yym18 := z.EncBinary() + _ = yym18 if false { } else { r.EncodeInt(int64(x.NodePort)) @@ -34890,19 +37580,19 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2658[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2673 := z.EncBinary() - _ = yym2673 + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeInt(int64(x.NodePort)) } } } - if yyr2658 || yy2arr2658 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34915,25 +37605,25 @@ func (x *ServicePort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2674 := z.DecBinary() - _ = yym2674 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2675 := r.ContainerType() - if yyct2675 == codecSelferValueTypeMap1234 { - yyl2675 := r.ReadMapStart() - if yyl2675 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2675, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2675 == codecSelferValueTypeArray1234 { - yyl2675 := r.ReadArrayStart() - if yyl2675 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2675, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34945,12 +37635,12 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2676Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2676Slc - var yyhl2676 bool = l >= 0 - for yyj2676 := 0; ; yyj2676++ { - if yyhl2676 { - if yyj2676 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -34959,53 +37649,72 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2676Slc = r.DecodeBytes(yys2676Slc, true, true) - yys2676 := string(yys2676Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2676 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "protocol": if r.TryDecodeAsNil() { x.Protocol = "" } else { - x.Protocol = Protocol(r.DecodeString()) + yyv6 := &x.Protocol + yyv6.CodecDecodeSelf(d) } case "port": if r.TryDecodeAsNil() { x.Port = 0 } else { - x.Port = int32(r.DecodeInt(32)) + yyv7 := &x.Port + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*int32)(yyv7)) = int32(r.DecodeInt(32)) + } } case "targetPort": if r.TryDecodeAsNil() { x.TargetPort = pkg4_intstr.IntOrString{} } else { - yyv2680 := &x.TargetPort - yym2681 := z.DecBinary() - _ = yym2681 + yyv9 := &x.TargetPort + yym10 := z.DecBinary() + _ = yym10 if false { - } else if z.HasExtensions() && z.DecExt(yyv2680) { - } else if !yym2681 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2680) + } else if z.HasExtensions() && z.DecExt(yyv9) { + } else if !yym10 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv9) } else { - z.DecFallback(yyv2680, false) + z.DecFallback(yyv9, false) } } case "nodePort": if r.TryDecodeAsNil() { x.NodePort = 0 } else { - x.NodePort = int32(r.DecodeInt(32)) + yyv11 := &x.NodePort + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*int32)(yyv11)) = int32(r.DecodeInt(32)) + } } default: - z.DecStructFieldNotFound(-1, yys2676) - } // end switch yys2676 - } // end for yyj2676 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35013,16 +37722,16 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2683 int - var yyb2683 bool - var yyhl2683 bool = l >= 0 - yyj2683++ - if yyhl2683 { - yyb2683 = yyj2683 > l + var yyj13 int + var yyb13 bool + var yyhl13 bool = l >= 0 + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2683 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2683 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35030,15 +37739,21 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv14 := &x.Name + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj2683++ - if yyhl2683 { - yyb2683 = yyj2683 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2683 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2683 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35046,15 +37761,16 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Protocol = "" } else { - x.Protocol = Protocol(r.DecodeString()) + yyv16 := &x.Protocol + yyv16.CodecDecodeSelf(d) } - yyj2683++ - if yyhl2683 { - yyb2683 = yyj2683 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2683 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2683 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35062,15 +37778,21 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = 0 } else { - x.Port = int32(r.DecodeInt(32)) + yyv17 := &x.Port + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*int32)(yyv17)) = int32(r.DecodeInt(32)) + } } - yyj2683++ - if yyhl2683 { - yyb2683 = yyj2683 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2683 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2683 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35078,24 +37800,24 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg4_intstr.IntOrString{} } else { - yyv2687 := &x.TargetPort - yym2688 := z.DecBinary() - _ = yym2688 + yyv19 := &x.TargetPort + yym20 := z.DecBinary() + _ = yym20 if false { - } else if z.HasExtensions() && z.DecExt(yyv2687) { - } else if !yym2688 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2687) + } else if z.HasExtensions() && z.DecExt(yyv19) { + } else if !yym20 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv19) } else { - z.DecFallback(yyv2687, false) + z.DecFallback(yyv19, false) } } - yyj2683++ - if yyhl2683 { - yyb2683 = yyj2683 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2683 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2683 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35103,20 +37825,26 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodePort = 0 } else { - x.NodePort = int32(r.DecodeInt(32)) + yyv21 := &x.NodePort + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*int32)(yyv21)) = int32(r.DecodeInt(32)) + } } for { - yyj2683++ - if yyhl2683 { - yyb2683 = yyj2683 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2683 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2683 { + if yyb13 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2683-1, "") + z.DecStructFieldNotFound(yyj13-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35128,39 +37856,39 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2690 := z.EncBinary() - _ = yym2690 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2691 := !z.EncBinary() - yy2arr2691 := z.EncBasicHandle().StructToArray - var yyq2691 [5]bool - _, _, _ = yysep2691, yyq2691, yy2arr2691 - const yyr2691 bool = false - yyq2691[0] = x.Kind != "" - yyq2691[1] = x.APIVersion != "" - yyq2691[2] = true - yyq2691[3] = true - yyq2691[4] = true - var yynn2691 int - if yyr2691 || yy2arr2691 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn2691 = 0 - for _, b := range yyq2691 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2691++ + yynn2++ } } - r.EncodeMapStart(yynn2691) - yynn2691 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2691 || yy2arr2691 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2691[0] { - yym2693 := z.EncBinary() - _ = yym2693 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35169,23 +37897,23 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2691[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2694 := z.EncBinary() - _ = yym2694 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2691 || yy2arr2691 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2691[1] { - yym2696 := z.EncBinary() - _ = yym2696 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35194,70 +37922,70 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2691[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2697 := z.EncBinary() - _ = yym2697 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2691 || yy2arr2691 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2691[2] { - yy2699 := &x.ObjectMeta - yy2699.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2691[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2700 := &x.ObjectMeta - yy2700.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr2691 || yy2arr2691 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2691[3] { - yy2702 := &x.Spec - yy2702.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2691[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2703 := &x.Spec - yy2703.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr2691 || yy2arr2691 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2691[4] { - yy2705 := &x.Status - yy2705.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2691[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2706 := &x.Status - yy2706.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr2691 || yy2arr2691 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35270,25 +37998,25 @@ func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2707 := z.DecBinary() - _ = yym2707 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2708 := r.ContainerType() - if yyct2708 == codecSelferValueTypeMap1234 { - yyl2708 := r.ReadMapStart() - if yyl2708 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2708, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2708 == codecSelferValueTypeArray1234 { - yyl2708 := r.ReadArrayStart() - if yyl2708 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2708, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35300,12 +38028,12 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2709Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2709Slc - var yyhl2709 bool = l >= 0 - for yyj2709 := 0; ; yyj2709++ { - if yyhl2709 { - if yyj2709 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -35314,47 +38042,59 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2709Slc = r.DecodeBytes(yys2709Slc, true, true) - yys2709 := string(yys2709Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2709 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2712 := &x.ObjectMeta - yyv2712.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ServiceSpec{} } else { - yyv2713 := &x.Spec - yyv2713.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ServiceStatus{} } else { - yyv2714 := &x.Status - yyv2714.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2709) - } // end switch yys2709 - } // end for yyj2709 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35362,16 +38102,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2715 int - var yyb2715 bool - var yyhl2715 bool = l >= 0 - yyj2715++ - if yyhl2715 { - yyb2715 = yyj2715 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2715 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2715 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35379,15 +38119,21 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj2715++ - if yyhl2715 { - yyb2715 = yyj2715 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2715 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2715 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35395,15 +38141,21 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj2715++ - if yyhl2715 { - yyb2715 = yyj2715 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2715 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2715 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35411,16 +38163,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2718 := &x.ObjectMeta - yyv2718.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj2715++ - if yyhl2715 { - yyb2715 = yyj2715 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2715 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2715 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35428,16 +38180,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ServiceSpec{} } else { - yyv2719 := &x.Spec - yyv2719.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj2715++ - if yyhl2715 { - yyb2715 = yyj2715 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2715 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2715 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35445,21 +38197,21 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ServiceStatus{} } else { - yyv2720 := &x.Status - yyv2720.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj2715++ - if yyhl2715 { - yyb2715 = yyj2715 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2715 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2715 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2715-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35471,37 +38223,37 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2721 := z.EncBinary() - _ = yym2721 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2722 := !z.EncBinary() - yy2arr2722 := z.EncBasicHandle().StructToArray - var yyq2722 [4]bool - _, _, _ = yysep2722, yyq2722, yy2arr2722 - const yyr2722 bool = false - yyq2722[0] = x.Kind != "" - yyq2722[1] = x.APIVersion != "" - yyq2722[2] = true - var yynn2722 int - if yyr2722 || yy2arr2722 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn2722 = 1 - for _, b := range yyq2722 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn2722++ + yynn2++ } } - r.EncodeMapStart(yynn2722) - yynn2722 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2722 || yy2arr2722 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2722[0] { - yym2724 := z.EncBinary() - _ = yym2724 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35510,23 +38262,23 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2722[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2725 := z.EncBinary() - _ = yym2725 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2722 || yy2arr2722 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2722[1] { - yym2727 := z.EncBinary() - _ = yym2727 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35535,54 +38287,54 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2722[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2728 := z.EncBinary() - _ = yym2728 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2722 || yy2arr2722 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2722[2] { - yy2730 := &x.ListMeta - yym2731 := z.EncBinary() - _ = yym2731 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy2730) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy2730) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq2722[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2732 := &x.ListMeta - yym2733 := z.EncBinary() - _ = yym2733 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy2732) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy2732) + z.EncFallback(yy12) } } } - if yyr2722 || yy2arr2722 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2735 := z.EncBinary() - _ = yym2735 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceService(([]Service)(x.Items), e) @@ -35595,15 +38347,15 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2736 := z.EncBinary() - _ = yym2736 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceService(([]Service)(x.Items), e) } } } - if yyr2722 || yy2arr2722 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35616,25 +38368,25 @@ func (x *ServiceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2737 := z.DecBinary() - _ = yym2737 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2738 := r.ContainerType() - if yyct2738 == codecSelferValueTypeMap1234 { - yyl2738 := r.ReadMapStart() - if yyl2738 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2738, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2738 == codecSelferValueTypeArray1234 { - yyl2738 := r.ReadArrayStart() - if yyl2738 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2738, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35646,12 +38398,12 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2739Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2739Slc - var yyhl2739 bool = l >= 0 - for yyj2739 := 0; ; yyj2739++ { - if yyhl2739 { - if yyj2739 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -35660,51 +38412,63 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2739Slc = r.DecodeBytes(yys2739Slc, true, true) - yys2739 := string(yys2739Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2739 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv2742 := &x.ListMeta - yym2743 := z.DecBinary() - _ = yym2743 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv2742) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv2742, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2744 := &x.Items - yym2745 := z.DecBinary() - _ = yym2745 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceService((*[]Service)(yyv2744), d) + h.decSliceService((*[]Service)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys2739) - } // end switch yys2739 - } // end for yyj2739 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35712,16 +38476,16 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2746 int - var yyb2746 bool - var yyhl2746 bool = l >= 0 - yyj2746++ - if yyhl2746 { - yyb2746 = yyj2746 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2746 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2746 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35729,15 +38493,21 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj2746++ - if yyhl2746 { - yyb2746 = yyj2746 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2746 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2746 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35745,15 +38515,21 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj2746++ - if yyhl2746 { - yyb2746 = yyj2746 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2746 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2746 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35761,22 +38537,22 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv2749 := &x.ListMeta - yym2750 := z.DecBinary() - _ = yym2750 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv2749) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv2749, false) + z.DecFallback(yyv17, false) } } - yyj2746++ - if yyhl2746 { - yyb2746 = yyj2746 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2746 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2746 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35784,26 +38560,26 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2751 := &x.Items - yym2752 := z.DecBinary() - _ = yym2752 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceService((*[]Service)(yyv2751), d) + h.decSliceService((*[]Service)(yyv19), d) } } for { - yyj2746++ - if yyhl2746 { - yyb2746 = yyj2746 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2746 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2746 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2746-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35815,39 +38591,39 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2753 := z.EncBinary() - _ = yym2753 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2754 := !z.EncBinary() - yy2arr2754 := z.EncBasicHandle().StructToArray - var yyq2754 [5]bool - _, _, _ = yysep2754, yyq2754, yy2arr2754 - const yyr2754 bool = false - yyq2754[0] = x.Kind != "" - yyq2754[1] = x.APIVersion != "" - yyq2754[2] = true - yyq2754[3] = len(x.Secrets) != 0 - yyq2754[4] = len(x.ImagePullSecrets) != 0 - var yynn2754 int - if yyr2754 || yy2arr2754 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = len(x.Secrets) != 0 + yyq2[4] = len(x.ImagePullSecrets) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn2754 = 0 - for _, b := range yyq2754 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2754++ + yynn2++ } } - r.EncodeMapStart(yynn2754) - yynn2754 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2754 || yy2arr2754 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2754[0] { - yym2756 := z.EncBinary() - _ = yym2756 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35856,23 +38632,23 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2754[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2757 := z.EncBinary() - _ = yym2757 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2754 || yy2arr2754 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2754[1] { - yym2759 := z.EncBinary() - _ = yym2759 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35881,43 +38657,43 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2754[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2760 := z.EncBinary() - _ = yym2760 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2754 || yy2arr2754 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2754[2] { - yy2762 := &x.ObjectMeta - yy2762.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2754[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2763 := &x.ObjectMeta - yy2763.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr2754 || yy2arr2754 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2754[3] { + if yyq2[3] { if x.Secrets == nil { r.EncodeNil() } else { - yym2765 := z.EncBinary() - _ = yym2765 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) @@ -35927,15 +38703,15 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2754[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Secrets == nil { r.EncodeNil() } else { - yym2766 := z.EncBinary() - _ = yym2766 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) @@ -35943,14 +38719,14 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2754 || yy2arr2754 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2754[4] { + if yyq2[4] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2768 := z.EncBinary() - _ = yym2768 + yym18 := z.EncBinary() + _ = yym18 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -35960,15 +38736,15 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2754[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2769 := z.EncBinary() - _ = yym2769 + yym19 := z.EncBinary() + _ = yym19 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -35976,7 +38752,7 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2754 || yy2arr2754 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35989,25 +38765,25 @@ func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2770 := z.DecBinary() - _ = yym2770 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2771 := r.ContainerType() - if yyct2771 == codecSelferValueTypeMap1234 { - yyl2771 := r.ReadMapStart() - if yyl2771 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2771, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2771 == codecSelferValueTypeArray1234 { - yyl2771 := r.ReadArrayStart() - if yyl2771 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2771, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36019,12 +38795,12 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2772Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2772Slc - var yyhl2772 bool = l >= 0 - for yyj2772 := 0; ; yyj2772++ { - if yyhl2772 { - if yyj2772 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -36033,57 +38809,69 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2772Slc = r.DecodeBytes(yys2772Slc, true, true) - yys2772 := string(yys2772Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2772 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2775 := &x.ObjectMeta - yyv2775.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "secrets": if r.TryDecodeAsNil() { x.Secrets = nil } else { - yyv2776 := &x.Secrets - yym2777 := z.DecBinary() - _ = yym2777 + yyv9 := &x.Secrets + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2776), d) + h.decSliceObjectReference((*[]ObjectReference)(yyv9), d) } } case "imagePullSecrets": if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2778 := &x.ImagePullSecrets - yym2779 := z.DecBinary() - _ = yym2779 + yyv11 := &x.ImagePullSecrets + yym12 := z.DecBinary() + _ = yym12 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2778), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv11), d) } } default: - z.DecStructFieldNotFound(-1, yys2772) - } // end switch yys2772 - } // end for yyj2772 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36091,16 +38879,16 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2780 int - var yyb2780 bool - var yyhl2780 bool = l >= 0 - yyj2780++ - if yyhl2780 { - yyb2780 = yyj2780 > l + var yyj13 int + var yyb13 bool + var yyhl13 bool = l >= 0 + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2780 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2780 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36108,15 +38896,21 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv14 := &x.Kind + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj2780++ - if yyhl2780 { - yyb2780 = yyj2780 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2780 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2780 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36124,15 +38918,21 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv16 := &x.APIVersion + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } - yyj2780++ - if yyhl2780 { - yyb2780 = yyj2780 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2780 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2780 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36140,16 +38940,16 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2783 := &x.ObjectMeta - yyv2783.CodecDecodeSelf(d) + yyv18 := &x.ObjectMeta + yyv18.CodecDecodeSelf(d) } - yyj2780++ - if yyhl2780 { - yyb2780 = yyj2780 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2780 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2780 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36157,21 +38957,21 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Secrets = nil } else { - yyv2784 := &x.Secrets - yym2785 := z.DecBinary() - _ = yym2785 + yyv19 := &x.Secrets + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2784), d) + h.decSliceObjectReference((*[]ObjectReference)(yyv19), d) } } - yyj2780++ - if yyhl2780 { - yyb2780 = yyj2780 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2780 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2780 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36179,26 +38979,26 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2786 := &x.ImagePullSecrets - yym2787 := z.DecBinary() - _ = yym2787 + yyv21 := &x.ImagePullSecrets + yym22 := z.DecBinary() + _ = yym22 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2786), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv21), d) } } for { - yyj2780++ - if yyhl2780 { - yyb2780 = yyj2780 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb2780 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb2780 { + if yyb13 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2780-1, "") + z.DecStructFieldNotFound(yyj13-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36210,37 +39010,37 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2788 := z.EncBinary() - _ = yym2788 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2789 := !z.EncBinary() - yy2arr2789 := z.EncBasicHandle().StructToArray - var yyq2789 [4]bool - _, _, _ = yysep2789, yyq2789, yy2arr2789 - const yyr2789 bool = false - yyq2789[0] = x.Kind != "" - yyq2789[1] = x.APIVersion != "" - yyq2789[2] = true - var yynn2789 int - if yyr2789 || yy2arr2789 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn2789 = 1 - for _, b := range yyq2789 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn2789++ + yynn2++ } } - r.EncodeMapStart(yynn2789) - yynn2789 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2789 || yy2arr2789 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2789[0] { - yym2791 := z.EncBinary() - _ = yym2791 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36249,23 +39049,23 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2789[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2792 := z.EncBinary() - _ = yym2792 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2789 || yy2arr2789 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2789[1] { - yym2794 := z.EncBinary() - _ = yym2794 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36274,54 +39074,54 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2789[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2795 := z.EncBinary() - _ = yym2795 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2789 || yy2arr2789 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2789[2] { - yy2797 := &x.ListMeta - yym2798 := z.EncBinary() - _ = yym2798 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy2797) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy2797) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq2789[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2799 := &x.ListMeta - yym2800 := z.EncBinary() - _ = yym2800 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy2799) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy2799) + z.EncFallback(yy12) } } } - if yyr2789 || yy2arr2789 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2802 := z.EncBinary() - _ = yym2802 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) @@ -36334,15 +39134,15 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2803 := z.EncBinary() - _ = yym2803 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) } } } - if yyr2789 || yy2arr2789 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36355,25 +39155,25 @@ func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2804 := z.DecBinary() - _ = yym2804 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2805 := r.ContainerType() - if yyct2805 == codecSelferValueTypeMap1234 { - yyl2805 := r.ReadMapStart() - if yyl2805 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2805, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2805 == codecSelferValueTypeArray1234 { - yyl2805 := r.ReadArrayStart() - if yyl2805 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2805, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36385,12 +39185,12 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2806Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2806Slc - var yyhl2806 bool = l >= 0 - for yyj2806 := 0; ; yyj2806++ { - if yyhl2806 { - if yyj2806 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -36399,51 +39199,63 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2806Slc = r.DecodeBytes(yys2806Slc, true, true) - yys2806 := string(yys2806Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2806 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv2809 := &x.ListMeta - yym2810 := z.DecBinary() - _ = yym2810 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv2809) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv2809, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2811 := &x.Items - yym2812 := z.DecBinary() - _ = yym2812 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2811), d) + h.decSliceServiceAccount((*[]ServiceAccount)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys2806) - } // end switch yys2806 - } // end for yyj2806 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36451,16 +39263,16 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2813 int - var yyb2813 bool - var yyhl2813 bool = l >= 0 - yyj2813++ - if yyhl2813 { - yyb2813 = yyj2813 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2813 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2813 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36468,15 +39280,21 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj2813++ - if yyhl2813 { - yyb2813 = yyj2813 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2813 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2813 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36484,15 +39302,21 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj2813++ - if yyhl2813 { - yyb2813 = yyj2813 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2813 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2813 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36500,22 +39324,22 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv2816 := &x.ListMeta - yym2817 := z.DecBinary() - _ = yym2817 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv2816) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv2816, false) + z.DecFallback(yyv17, false) } } - yyj2813++ - if yyhl2813 { - yyb2813 = yyj2813 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2813 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2813 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36523,26 +39347,26 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2818 := &x.Items - yym2819 := z.DecBinary() - _ = yym2819 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2818), d) + h.decSliceServiceAccount((*[]ServiceAccount)(yyv19), d) } } for { - yyj2813++ - if yyhl2813 { - yyb2813 = yyj2813 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2813 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2813 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2813-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36554,37 +39378,37 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2820 := z.EncBinary() - _ = yym2820 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2821 := !z.EncBinary() - yy2arr2821 := z.EncBasicHandle().StructToArray - var yyq2821 [4]bool - _, _, _ = yysep2821, yyq2821, yy2arr2821 - const yyr2821 bool = false - yyq2821[0] = x.Kind != "" - yyq2821[1] = x.APIVersion != "" - yyq2821[2] = true - var yynn2821 int - if yyr2821 || yy2arr2821 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn2821 = 1 - for _, b := range yyq2821 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn2821++ + yynn2++ } } - r.EncodeMapStart(yynn2821) - yynn2821 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2821 || yy2arr2821 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2821[0] { - yym2823 := z.EncBinary() - _ = yym2823 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36593,23 +39417,23 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2821[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2824 := z.EncBinary() - _ = yym2824 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2821 || yy2arr2821 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2821[1] { - yym2826 := z.EncBinary() - _ = yym2826 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36618,42 +39442,42 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2821[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2827 := z.EncBinary() - _ = yym2827 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2821 || yy2arr2821 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2821[2] { - yy2829 := &x.ObjectMeta - yy2829.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2821[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2830 := &x.ObjectMeta - yy2830.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr2821 || yy2arr2821 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Subsets == nil { r.EncodeNil() } else { - yym2832 := z.EncBinary() - _ = yym2832 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) @@ -36666,15 +39490,15 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x.Subsets == nil { r.EncodeNil() } else { - yym2833 := z.EncBinary() - _ = yym2833 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) } } } - if yyr2821 || yy2arr2821 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36687,25 +39511,25 @@ func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2834 := z.DecBinary() - _ = yym2834 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2835 := r.ContainerType() - if yyct2835 == codecSelferValueTypeMap1234 { - yyl2835 := r.ReadMapStart() - if yyl2835 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2835, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2835 == codecSelferValueTypeArray1234 { - yyl2835 := r.ReadArrayStart() - if yyl2835 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2835, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36717,12 +39541,12 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2836Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2836Slc - var yyhl2836 bool = l >= 0 - for yyj2836 := 0; ; yyj2836++ { - if yyhl2836 { - if yyj2836 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -36731,45 +39555,57 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2836Slc = r.DecodeBytes(yys2836Slc, true, true) - yys2836 := string(yys2836Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2836 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2839 := &x.ObjectMeta - yyv2839.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "subsets": if r.TryDecodeAsNil() { x.Subsets = nil } else { - yyv2840 := &x.Subsets - yym2841 := z.DecBinary() - _ = yym2841 + yyv9 := &x.Subsets + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2840), d) + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv9), d) } } default: - z.DecStructFieldNotFound(-1, yys2836) - } // end switch yys2836 - } // end for yyj2836 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36777,16 +39613,16 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2842 int - var yyb2842 bool - var yyhl2842 bool = l >= 0 - yyj2842++ - if yyhl2842 { - yyb2842 = yyj2842 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2842 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2842 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36794,15 +39630,21 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj2842++ - if yyhl2842 { - yyb2842 = yyj2842 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2842 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2842 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36810,15 +39652,21 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj2842++ - if yyhl2842 { - yyb2842 = yyj2842 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2842 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2842 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36826,16 +39674,16 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2845 := &x.ObjectMeta - yyv2845.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj2842++ - if yyhl2842 { - yyb2842 = yyj2842 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2842 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2842 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36843,26 +39691,26 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Subsets = nil } else { - yyv2846 := &x.Subsets - yym2847 := z.DecBinary() - _ = yym2847 + yyv17 := &x.Subsets + yym18 := z.DecBinary() + _ = yym18 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2846), d) + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv17), d) } } for { - yyj2842++ - if yyhl2842 { - yyb2842 = yyj2842 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2842 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2842 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2842-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36874,40 +39722,40 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2848 := z.EncBinary() - _ = yym2848 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2849 := !z.EncBinary() - yy2arr2849 := z.EncBasicHandle().StructToArray - var yyq2849 [3]bool - _, _, _ = yysep2849, yyq2849, yy2arr2849 - const yyr2849 bool = false - yyq2849[0] = len(x.Addresses) != 0 - yyq2849[1] = len(x.NotReadyAddresses) != 0 - yyq2849[2] = len(x.Ports) != 0 - var yynn2849 int - if yyr2849 || yy2arr2849 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Addresses) != 0 + yyq2[1] = len(x.NotReadyAddresses) != 0 + yyq2[2] = len(x.Ports) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn2849 = 0 - for _, b := range yyq2849 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2849++ + yynn2++ } } - r.EncodeMapStart(yynn2849) - yynn2849 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2849 || yy2arr2849 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2849[0] { + if yyq2[0] { if x.Addresses == nil { r.EncodeNil() } else { - yym2851 := z.EncBinary() - _ = yym2851 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -36917,15 +39765,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2849[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym2852 := z.EncBinary() - _ = yym2852 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -36933,14 +39781,14 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2849 || yy2arr2849 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2849[1] { + if yyq2[1] { if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2854 := z.EncBinary() - _ = yym2854 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -36950,15 +39798,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2849[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("notReadyAddresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2855 := z.EncBinary() - _ = yym2855 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -36966,14 +39814,14 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2849 || yy2arr2849 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2849[2] { + if yyq2[2] { if x.Ports == nil { r.EncodeNil() } else { - yym2857 := z.EncBinary() - _ = yym2857 + yym10 := z.EncBinary() + _ = yym10 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -36983,15 +39831,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2849[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym2858 := z.EncBinary() - _ = yym2858 + yym11 := z.EncBinary() + _ = yym11 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -36999,7 +39847,7 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2849 || yy2arr2849 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37012,25 +39860,25 @@ func (x *EndpointSubset) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2859 := z.DecBinary() - _ = yym2859 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2860 := r.ContainerType() - if yyct2860 == codecSelferValueTypeMap1234 { - yyl2860 := r.ReadMapStart() - if yyl2860 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2860, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2860 == codecSelferValueTypeArray1234 { - yyl2860 := r.ReadArrayStart() - if yyl2860 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2860, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37042,12 +39890,12 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2861Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2861Slc - var yyhl2861 bool = l >= 0 - for yyj2861 := 0; ; yyj2861++ { - if yyhl2861 { - if yyj2861 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -37056,50 +39904,50 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2861Slc = r.DecodeBytes(yys2861Slc, true, true) - yys2861 := string(yys2861Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2861 { + switch yys3 { case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2862 := &x.Addresses - yym2863 := z.DecBinary() - _ = yym2863 + yyv4 := &x.Addresses + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2862), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv4), d) } } case "notReadyAddresses": if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2864 := &x.NotReadyAddresses - yym2865 := z.DecBinary() - _ = yym2865 + yyv6 := &x.NotReadyAddresses + yym7 := z.DecBinary() + _ = yym7 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2864), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv6), d) } } case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2866 := &x.Ports - yym2867 := z.DecBinary() - _ = yym2867 + yyv8 := &x.Ports + yym9 := z.DecBinary() + _ = yym9 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2866), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv8), d) } } default: - z.DecStructFieldNotFound(-1, yys2861) - } // end switch yys2861 - } // end for yyj2861 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37107,16 +39955,16 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2868 int - var yyb2868 bool - var yyhl2868 bool = l >= 0 - yyj2868++ - if yyhl2868 { - yyb2868 = yyj2868 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2868 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2868 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37124,21 +39972,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2869 := &x.Addresses - yym2870 := z.DecBinary() - _ = yym2870 + yyv11 := &x.Addresses + yym12 := z.DecBinary() + _ = yym12 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2869), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv11), d) } } - yyj2868++ - if yyhl2868 { - yyb2868 = yyj2868 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2868 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2868 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37146,21 +39994,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2871 := &x.NotReadyAddresses - yym2872 := z.DecBinary() - _ = yym2872 + yyv13 := &x.NotReadyAddresses + yym14 := z.DecBinary() + _ = yym14 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2871), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv13), d) } } - yyj2868++ - if yyhl2868 { - yyb2868 = yyj2868 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2868 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2868 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37168,26 +40016,26 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2873 := &x.Ports - yym2874 := z.DecBinary() - _ = yym2874 + yyv15 := &x.Ports + yym16 := z.DecBinary() + _ = yym16 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2873), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv15), d) } } for { - yyj2868++ - if yyhl2868 { - yyb2868 = yyj2868 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb2868 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb2868 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2868-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37199,36 +40047,36 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2875 := z.EncBinary() - _ = yym2875 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2876 := !z.EncBinary() - yy2arr2876 := z.EncBasicHandle().StructToArray - var yyq2876 [4]bool - _, _, _ = yysep2876, yyq2876, yy2arr2876 - const yyr2876 bool = false - yyq2876[1] = x.Hostname != "" - yyq2876[2] = x.NodeName != nil - yyq2876[3] = x.TargetRef != nil - var yynn2876 int - if yyr2876 || yy2arr2876 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.Hostname != "" + yyq2[2] = x.NodeName != nil + yyq2[3] = x.TargetRef != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn2876 = 1 - for _, b := range yyq2876 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn2876++ + yynn2++ } } - r.EncodeMapStart(yynn2876) - yynn2876 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2876 || yy2arr2876 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2878 := z.EncBinary() - _ = yym2878 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -37237,18 +40085,18 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2879 := z.EncBinary() - _ = yym2879 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } - if yyr2876 || yy2arr2876 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2876[1] { - yym2881 := z.EncBinary() - _ = yym2881 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -37257,56 +40105,56 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2876[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2882 := z.EncBinary() - _ = yym2882 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2876 || yy2arr2876 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2876[2] { + if yyq2[2] { if x.NodeName == nil { r.EncodeNil() } else { - yy2884 := *x.NodeName - yym2885 := z.EncBinary() - _ = yym2885 + yy10 := *x.NodeName + yym11 := z.EncBinary() + _ = yym11 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy2884)) + r.EncodeString(codecSelferC_UTF81234, string(yy10)) } } } else { r.EncodeNil() } } else { - if yyq2876[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NodeName == nil { r.EncodeNil() } else { - yy2886 := *x.NodeName - yym2887 := z.EncBinary() - _ = yym2887 + yy12 := *x.NodeName + yym13 := z.EncBinary() + _ = yym13 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy2886)) + r.EncodeString(codecSelferC_UTF81234, string(yy12)) } } } } - if yyr2876 || yy2arr2876 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2876[3] { + if yyq2[3] { if x.TargetRef == nil { r.EncodeNil() } else { @@ -37316,7 +40164,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2876[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -37327,7 +40175,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2876 || yy2arr2876 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37340,25 +40188,25 @@ func (x *EndpointAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2889 := z.DecBinary() - _ = yym2889 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2890 := r.ContainerType() - if yyct2890 == codecSelferValueTypeMap1234 { - yyl2890 := r.ReadMapStart() - if yyl2890 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2890, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2890 == codecSelferValueTypeArray1234 { - yyl2890 := r.ReadArrayStart() - if yyl2890 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2890, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37370,12 +40218,12 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2891Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2891Slc - var yyhl2891 bool = l >= 0 - for yyj2891 := 0; ; yyj2891++ { - if yyhl2891 { - if yyj2891 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -37384,21 +40232,33 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2891Slc = r.DecodeBytes(yys2891Slc, true, true) - yys2891 := string(yys2891Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2891 { + switch yys3 { case "ip": if r.TryDecodeAsNil() { x.IP = "" } else { - x.IP = string(r.DecodeString()) + yyv4 := &x.IP + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "hostname": if r.TryDecodeAsNil() { x.Hostname = "" } else { - x.Hostname = string(r.DecodeString()) + yyv6 := &x.Hostname + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "nodeName": if r.TryDecodeAsNil() { @@ -37409,8 +40269,8 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.NodeName == nil { x.NodeName = new(string) } - yym2895 := z.DecBinary() - _ = yym2895 + yym9 := z.DecBinary() + _ = yym9 if false { } else { *((*string)(x.NodeName)) = r.DecodeString() @@ -37428,9 +40288,9 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TargetRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2891) - } // end switch yys2891 - } // end for yyj2891 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37438,16 +40298,16 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2897 int - var yyb2897 bool - var yyhl2897 bool = l >= 0 - yyj2897++ - if yyhl2897 { - yyb2897 = yyj2897 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2897 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2897 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37455,15 +40315,21 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.IP = "" } else { - x.IP = string(r.DecodeString()) + yyv12 := &x.IP + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj2897++ - if yyhl2897 { - yyb2897 = yyj2897 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2897 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2897 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37471,15 +40337,21 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Hostname = "" } else { - x.Hostname = string(r.DecodeString()) + yyv14 := &x.Hostname + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj2897++ - if yyhl2897 { - yyb2897 = yyj2897 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2897 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2897 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37492,20 +40364,20 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.NodeName == nil { x.NodeName = new(string) } - yym2901 := z.DecBinary() - _ = yym2901 + yym17 := z.DecBinary() + _ = yym17 if false { } else { *((*string)(x.NodeName)) = r.DecodeString() } } - yyj2897++ - if yyhl2897 { - yyb2897 = yyj2897 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2897 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2897 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37521,17 +40393,17 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.TargetRef.CodecDecodeSelf(d) } for { - yyj2897++ - if yyhl2897 { - yyb2897 = yyj2897 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb2897 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb2897 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2897-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37543,36 +40415,36 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2903 := z.EncBinary() - _ = yym2903 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2904 := !z.EncBinary() - yy2arr2904 := z.EncBasicHandle().StructToArray - var yyq2904 [3]bool - _, _, _ = yysep2904, yyq2904, yy2arr2904 - const yyr2904 bool = false - yyq2904[0] = x.Name != "" - yyq2904[2] = x.Protocol != "" - var yynn2904 int - if yyr2904 || yy2arr2904 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Name != "" + yyq2[2] = x.Protocol != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn2904 = 1 - for _, b := range yyq2904 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn2904++ + yynn2++ } } - r.EncodeMapStart(yynn2904) - yynn2904 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2904 || yy2arr2904 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2904[0] { - yym2906 := z.EncBinary() - _ = yym2906 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -37581,22 +40453,22 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2904[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2907 := z.EncBinary() - _ = yym2907 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2904 || yy2arr2904 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2909 := z.EncBinary() - _ = yym2909 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeInt(int64(x.Port)) @@ -37605,29 +40477,29 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2910 := z.EncBinary() - _ = yym2910 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2904 || yy2arr2904 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2904[2] { + if yyq2[2] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2904[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr2904 || yy2arr2904 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37640,25 +40512,25 @@ func (x *EndpointPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2912 := z.DecBinary() - _ = yym2912 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2913 := r.ContainerType() - if yyct2913 == codecSelferValueTypeMap1234 { - yyl2913 := r.ReadMapStart() - if yyl2913 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2913, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2913 == codecSelferValueTypeArray1234 { - yyl2913 := r.ReadArrayStart() - if yyl2913 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2913, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37670,12 +40542,12 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2914Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2914Slc - var yyhl2914 bool = l >= 0 - for yyj2914 := 0; ; yyj2914++ { - if yyhl2914 { - if yyj2914 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -37684,32 +40556,45 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2914Slc = r.DecodeBytes(yys2914Slc, true, true) - yys2914 := string(yys2914Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2914 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "port": if r.TryDecodeAsNil() { x.Port = 0 } else { - x.Port = int32(r.DecodeInt(32)) + yyv6 := &x.Port + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*int32)(yyv6)) = int32(r.DecodeInt(32)) + } } case "protocol": if r.TryDecodeAsNil() { x.Protocol = "" } else { - x.Protocol = Protocol(r.DecodeString()) + yyv8 := &x.Protocol + yyv8.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2914) - } // end switch yys2914 - } // end for yyj2914 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37717,16 +40602,16 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2918 int - var yyb2918 bool - var yyhl2918 bool = l >= 0 - yyj2918++ - if yyhl2918 { - yyb2918 = yyj2918 > l + var yyj9 int + var yyb9 bool + var yyhl9 bool = l >= 0 + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb2918 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb2918 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37734,15 +40619,21 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv10 := &x.Name + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } - yyj2918++ - if yyhl2918 { - yyb2918 = yyj2918 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb2918 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb2918 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37750,15 +40641,21 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = 0 } else { - x.Port = int32(r.DecodeInt(32)) + yyv12 := &x.Port + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*int32)(yyv12)) = int32(r.DecodeInt(32)) + } } - yyj2918++ - if yyhl2918 { - yyb2918 = yyj2918 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb2918 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb2918 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37766,20 +40663,21 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Protocol = "" } else { - x.Protocol = Protocol(r.DecodeString()) + yyv14 := &x.Protocol + yyv14.CodecDecodeSelf(d) } for { - yyj2918++ - if yyhl2918 { - yyb2918 = yyj2918 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb2918 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb2918 { + if yyb9 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2918-1, "") + z.DecStructFieldNotFound(yyj9-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37791,37 +40689,37 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2922 := z.EncBinary() - _ = yym2922 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2923 := !z.EncBinary() - yy2arr2923 := z.EncBasicHandle().StructToArray - var yyq2923 [4]bool - _, _, _ = yysep2923, yyq2923, yy2arr2923 - const yyr2923 bool = false - yyq2923[0] = x.Kind != "" - yyq2923[1] = x.APIVersion != "" - yyq2923[2] = true - var yynn2923 int - if yyr2923 || yy2arr2923 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn2923 = 1 - for _, b := range yyq2923 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn2923++ + yynn2++ } } - r.EncodeMapStart(yynn2923) - yynn2923 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2923 || yy2arr2923 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2923[0] { - yym2925 := z.EncBinary() - _ = yym2925 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37830,23 +40728,23 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2923[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2926 := z.EncBinary() - _ = yym2926 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2923 || yy2arr2923 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2923[1] { - yym2928 := z.EncBinary() - _ = yym2928 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37855,54 +40753,54 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2923[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2929 := z.EncBinary() - _ = yym2929 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2923 || yy2arr2923 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2923[2] { - yy2931 := &x.ListMeta - yym2932 := z.EncBinary() - _ = yym2932 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy2931) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy2931) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq2923[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2933 := &x.ListMeta - yym2934 := z.EncBinary() - _ = yym2934 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy2933) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy2933) + z.EncFallback(yy12) } } } - if yyr2923 || yy2arr2923 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2936 := z.EncBinary() - _ = yym2936 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) @@ -37915,15 +40813,15 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2937 := z.EncBinary() - _ = yym2937 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) } } } - if yyr2923 || yy2arr2923 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37936,25 +40834,25 @@ func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2938 := z.DecBinary() - _ = yym2938 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2939 := r.ContainerType() - if yyct2939 == codecSelferValueTypeMap1234 { - yyl2939 := r.ReadMapStart() - if yyl2939 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2939, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2939 == codecSelferValueTypeArray1234 { - yyl2939 := r.ReadArrayStart() - if yyl2939 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2939, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37966,12 +40864,12 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2940Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2940Slc - var yyhl2940 bool = l >= 0 - for yyj2940 := 0; ; yyj2940++ { - if yyhl2940 { - if yyj2940 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -37980,51 +40878,63 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2940Slc = r.DecodeBytes(yys2940Slc, true, true) - yys2940 := string(yys2940Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2940 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv2943 := &x.ListMeta - yym2944 := z.DecBinary() - _ = yym2944 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv2943) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv2943, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2945 := &x.Items - yym2946 := z.DecBinary() - _ = yym2946 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2945), d) + h.decSliceEndpoints((*[]Endpoints)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys2940) - } // end switch yys2940 - } // end for yyj2940 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38032,16 +40942,16 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2947 int - var yyb2947 bool - var yyhl2947 bool = l >= 0 - yyj2947++ - if yyhl2947 { - yyb2947 = yyj2947 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2947 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2947 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38049,15 +40959,21 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj2947++ - if yyhl2947 { - yyb2947 = yyj2947 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2947 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2947 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38065,15 +40981,21 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj2947++ - if yyhl2947 { - yyb2947 = yyj2947 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2947 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2947 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38081,22 +41003,22 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv2950 := &x.ListMeta - yym2951 := z.DecBinary() - _ = yym2951 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv2950) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv2950, false) + z.DecFallback(yyv17, false) } } - yyj2947++ - if yyhl2947 { - yyb2947 = yyj2947 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2947 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2947 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38104,26 +41026,26 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2952 := &x.Items - yym2953 := z.DecBinary() - _ = yym2953 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2952), d) + h.decSliceEndpoints((*[]Endpoints)(yyv19), d) } } for { - yyj2947++ - if yyhl2947 { - yyb2947 = yyj2947 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2947 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2947 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2947-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38135,38 +41057,38 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2954 := z.EncBinary() - _ = yym2954 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2955 := !z.EncBinary() - yy2arr2955 := z.EncBasicHandle().StructToArray - var yyq2955 [4]bool - _, _, _ = yysep2955, yyq2955, yy2arr2955 - const yyr2955 bool = false - yyq2955[0] = x.PodCIDR != "" - yyq2955[1] = x.ExternalID != "" - yyq2955[2] = x.ProviderID != "" - yyq2955[3] = x.Unschedulable != false - var yynn2955 int - if yyr2955 || yy2arr2955 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.PodCIDR != "" + yyq2[1] = x.ExternalID != "" + yyq2[2] = x.ProviderID != "" + yyq2[3] = x.Unschedulable != false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn2955 = 0 - for _, b := range yyq2955 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2955++ + yynn2++ } } - r.EncodeMapStart(yynn2955) - yynn2955 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2955 || yy2arr2955 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2955[0] { - yym2957 := z.EncBinary() - _ = yym2957 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) @@ -38175,23 +41097,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2955[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2958 := z.EncBinary() - _ = yym2958 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } } - if yyr2955 || yy2arr2955 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2955[1] { - yym2960 := z.EncBinary() - _ = yym2960 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) @@ -38200,23 +41122,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2955[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2961 := z.EncBinary() - _ = yym2961 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) } } } - if yyr2955 || yy2arr2955 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2955[2] { - yym2963 := z.EncBinary() - _ = yym2963 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) @@ -38225,23 +41147,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2955[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("providerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2964 := z.EncBinary() - _ = yym2964 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) } } } - if yyr2955 || yy2arr2955 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2955[3] { - yym2966 := z.EncBinary() - _ = yym2966 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeBool(bool(x.Unschedulable)) @@ -38250,19 +41172,19 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2955[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unschedulable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2967 := z.EncBinary() - _ = yym2967 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeBool(bool(x.Unschedulable)) } } } - if yyr2955 || yy2arr2955 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38275,25 +41197,25 @@ func (x *NodeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2968 := z.DecBinary() - _ = yym2968 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2969 := r.ContainerType() - if yyct2969 == codecSelferValueTypeMap1234 { - yyl2969 := r.ReadMapStart() - if yyl2969 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2969, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2969 == codecSelferValueTypeArray1234 { - yyl2969 := r.ReadArrayStart() - if yyl2969 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2969, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38305,12 +41227,12 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2970Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2970Slc - var yyhl2970 bool = l >= 0 - for yyj2970 := 0; ; yyj2970++ { - if yyhl2970 { - if yyj2970 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -38319,38 +41241,62 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2970Slc = r.DecodeBytes(yys2970Slc, true, true) - yys2970 := string(yys2970Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2970 { + switch yys3 { case "podCIDR": if r.TryDecodeAsNil() { x.PodCIDR = "" } else { - x.PodCIDR = string(r.DecodeString()) + yyv4 := &x.PodCIDR + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "externalID": if r.TryDecodeAsNil() { x.ExternalID = "" } else { - x.ExternalID = string(r.DecodeString()) + yyv6 := &x.ExternalID + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "providerID": if r.TryDecodeAsNil() { x.ProviderID = "" } else { - x.ProviderID = string(r.DecodeString()) + yyv8 := &x.ProviderID + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "unschedulable": if r.TryDecodeAsNil() { x.Unschedulable = false } else { - x.Unschedulable = bool(r.DecodeBool()) + yyv10 := &x.Unschedulable + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*bool)(yyv10)) = r.DecodeBool() + } } default: - z.DecStructFieldNotFound(-1, yys2970) - } // end switch yys2970 - } // end for yyj2970 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38358,16 +41304,16 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2975 int - var yyb2975 bool - var yyhl2975 bool = l >= 0 - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2975 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2975 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38375,15 +41321,21 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PodCIDR = "" } else { - x.PodCIDR = string(r.DecodeString()) + yyv13 := &x.PodCIDR + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2975 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2975 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38391,15 +41343,21 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalID = "" } else { - x.ExternalID = string(r.DecodeString()) + yyv15 := &x.ExternalID + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2975 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2975 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38407,15 +41365,21 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ProviderID = "" } else { - x.ProviderID = string(r.DecodeString()) + yyv17 := &x.ProviderID + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*string)(yyv17)) = r.DecodeString() + } } - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2975 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2975 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38423,20 +41387,26 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Unschedulable = false } else { - x.Unschedulable = bool(r.DecodeBool()) + yyv19 := &x.Unschedulable + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*bool)(yyv19)) = r.DecodeBool() + } } for { - yyj2975++ - if yyhl2975 { - yyb2975 = yyj2975 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb2975 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb2975 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2975-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38448,33 +41418,33 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2980 := z.EncBinary() - _ = yym2980 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2981 := !z.EncBinary() - yy2arr2981 := z.EncBasicHandle().StructToArray - var yyq2981 [1]bool - _, _, _ = yysep2981, yyq2981, yy2arr2981 - const yyr2981 bool = false - var yynn2981 int - if yyr2981 || yy2arr2981 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn2981 = 1 - for _, b := range yyq2981 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn2981++ + yynn2++ } } - r.EncodeMapStart(yynn2981) - yynn2981 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2981 || yy2arr2981 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2983 := z.EncBinary() - _ = yym2983 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.Port)) @@ -38483,14 +41453,14 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2984 := z.EncBinary() - _ = yym2984 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2981 || yy2arr2981 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38503,25 +41473,25 @@ func (x *DaemonEndpoint) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2985 := z.DecBinary() - _ = yym2985 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2986 := r.ContainerType() - if yyct2986 == codecSelferValueTypeMap1234 { - yyl2986 := r.ReadMapStart() - if yyl2986 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2986, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2986 == codecSelferValueTypeArray1234 { - yyl2986 := r.ReadArrayStart() - if yyl2986 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2986, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38533,12 +41503,12 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2987Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2987Slc - var yyhl2987 bool = l >= 0 - for yyj2987 := 0; ; yyj2987++ { - if yyhl2987 { - if yyj2987 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -38547,20 +41517,26 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2987Slc = r.DecodeBytes(yys2987Slc, true, true) - yys2987 := string(yys2987Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2987 { + switch yys3 { case "Port": if r.TryDecodeAsNil() { x.Port = 0 } else { - x.Port = int32(r.DecodeInt(32)) + yyv4 := &x.Port + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int32)(yyv4)) = int32(r.DecodeInt(32)) + } } default: - z.DecStructFieldNotFound(-1, yys2987) - } // end switch yys2987 - } // end for yyj2987 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38568,16 +41544,16 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2989 int - var yyb2989 bool - var yyhl2989 bool = l >= 0 - yyj2989++ - if yyhl2989 { - yyb2989 = yyj2989 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb2989 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb2989 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38585,20 +41561,26 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = 0 } else { - x.Port = int32(r.DecodeInt(32)) + yyv7 := &x.Port + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*int32)(yyv7)) = int32(r.DecodeInt(32)) + } } for { - yyj2989++ - if yyhl2989 { - yyb2989 = yyj2989 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb2989 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb2989 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2989-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38610,48 +41592,48 @@ func (x *NodeDaemonEndpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2991 := z.EncBinary() - _ = yym2991 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2992 := !z.EncBinary() - yy2arr2992 := z.EncBasicHandle().StructToArray - var yyq2992 [1]bool - _, _, _ = yysep2992, yyq2992, yy2arr2992 - const yyr2992 bool = false - yyq2992[0] = true - var yynn2992 int - if yyr2992 || yy2arr2992 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn2992 = 0 - for _, b := range yyq2992 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn2992++ + yynn2++ } } - r.EncodeMapStart(yynn2992) - yynn2992 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr2992 || yy2arr2992 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2992[0] { - yy2994 := &x.KubeletEndpoint - yy2994.CodecEncodeSelf(e) + if yyq2[0] { + yy4 := &x.KubeletEndpoint + yy4.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2992[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2995 := &x.KubeletEndpoint - yy2995.CodecEncodeSelf(e) + yy6 := &x.KubeletEndpoint + yy6.CodecEncodeSelf(e) } } - if yyr2992 || yy2arr2992 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38664,25 +41646,25 @@ func (x *NodeDaemonEndpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2996 := z.DecBinary() - _ = yym2996 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2997 := r.ContainerType() - if yyct2997 == codecSelferValueTypeMap1234 { - yyl2997 := r.ReadMapStart() - if yyl2997 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2997, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct2997 == codecSelferValueTypeArray1234 { - yyl2997 := r.ReadArrayStart() - if yyl2997 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2997, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38694,12 +41676,12 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2998Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2998Slc - var yyhl2998 bool = l >= 0 - for yyj2998 := 0; ; yyj2998++ { - if yyhl2998 { - if yyj2998 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -38708,21 +41690,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2998Slc = r.DecodeBytes(yys2998Slc, true, true) - yys2998 := string(yys2998Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2998 { + switch yys3 { case "kubeletEndpoint": if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv2999 := &x.KubeletEndpoint - yyv2999.CodecDecodeSelf(d) + yyv4 := &x.KubeletEndpoint + yyv4.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2998) - } // end switch yys2998 - } // end for yyj2998 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38730,16 +41712,16 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3000 int - var yyb3000 bool - var yyhl3000 bool = l >= 0 - yyj3000++ - if yyhl3000 { - yyb3000 = yyj3000 > l + var yyj5 int + var yyb5 bool + var yyhl5 bool = l >= 0 + yyj5++ + if yyhl5 { + yyb5 = yyj5 > l } else { - yyb3000 = r.CheckBreak() + yyb5 = r.CheckBreak() } - if yyb3000 { + if yyb5 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38747,21 +41729,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv3001 := &x.KubeletEndpoint - yyv3001.CodecDecodeSelf(d) + yyv6 := &x.KubeletEndpoint + yyv6.CodecDecodeSelf(d) } for { - yyj3000++ - if yyhl3000 { - yyb3000 = yyj3000 > l + yyj5++ + if yyhl5 { + yyb5 = yyj5 > l } else { - yyb3000 = r.CheckBreak() + yyb5 = r.CheckBreak() } - if yyb3000 { + if yyb5 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3000-1, "") + z.DecStructFieldNotFound(yyj5-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38773,33 +41755,33 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3002 := z.EncBinary() - _ = yym3002 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3003 := !z.EncBinary() - yy2arr3003 := z.EncBasicHandle().StructToArray - var yyq3003 [10]bool - _, _, _ = yysep3003, yyq3003, yy2arr3003 - const yyr3003 bool = false - var yynn3003 int - if yyr3003 || yy2arr3003 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [10]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(10) } else { - yynn3003 = 10 - for _, b := range yyq3003 { + yynn2 = 10 + for _, b := range yyq2 { if b { - yynn3003++ + yynn2++ } } - r.EncodeMapStart(yynn3003) - yynn3003 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3003 || yy2arr3003 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3005 := z.EncBinary() - _ = yym3005 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) @@ -38808,17 +41790,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("machineID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3006 := z.EncBinary() - _ = yym3006 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) } } - if yyr3003 || yy2arr3003 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3008 := z.EncBinary() - _ = yym3008 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) @@ -38827,17 +41809,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("systemUUID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3009 := z.EncBinary() - _ = yym3009 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) } } - if yyr3003 || yy2arr3003 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3011 := z.EncBinary() - _ = yym3011 + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) @@ -38846,17 +41828,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("bootID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3012 := z.EncBinary() - _ = yym3012 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) } } - if yyr3003 || yy2arr3003 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3014 := z.EncBinary() - _ = yym3014 + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) @@ -38865,17 +41847,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kernelVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3015 := z.EncBinary() - _ = yym3015 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) } } - if yyr3003 || yy2arr3003 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3017 := z.EncBinary() - _ = yym3017 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) @@ -38884,17 +41866,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("osImage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3018 := z.EncBinary() - _ = yym3018 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) } } - if yyr3003 || yy2arr3003 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3020 := z.EncBinary() - _ = yym3020 + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) @@ -38903,17 +41885,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerRuntimeVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3021 := z.EncBinary() - _ = yym3021 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) } } - if yyr3003 || yy2arr3003 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3023 := z.EncBinary() - _ = yym3023 + yym22 := z.EncBinary() + _ = yym22 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) @@ -38922,17 +41904,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3024 := z.EncBinary() - _ = yym3024 + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) } } - if yyr3003 || yy2arr3003 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3026 := z.EncBinary() - _ = yym3026 + yym25 := z.EncBinary() + _ = yym25 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) @@ -38941,17 +41923,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeProxyVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3027 := z.EncBinary() - _ = yym3027 + yym26 := z.EncBinary() + _ = yym26 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) } } - if yyr3003 || yy2arr3003 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3029 := z.EncBinary() - _ = yym3029 + yym28 := z.EncBinary() + _ = yym28 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OperatingSystem)) @@ -38960,17 +41942,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("operatingSystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3030 := z.EncBinary() - _ = yym3030 + yym29 := z.EncBinary() + _ = yym29 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OperatingSystem)) } } - if yyr3003 || yy2arr3003 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3032 := z.EncBinary() - _ = yym3032 + yym31 := z.EncBinary() + _ = yym31 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Architecture)) @@ -38979,14 +41961,14 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("architecture")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3033 := z.EncBinary() - _ = yym3033 + yym32 := z.EncBinary() + _ = yym32 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Architecture)) } } - if yyr3003 || yy2arr3003 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38999,25 +41981,25 @@ func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3034 := z.DecBinary() - _ = yym3034 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3035 := r.ContainerType() - if yyct3035 == codecSelferValueTypeMap1234 { - yyl3035 := r.ReadMapStart() - if yyl3035 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3035, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3035 == codecSelferValueTypeArray1234 { - yyl3035 := r.ReadArrayStart() - if yyl3035 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3035, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39029,12 +42011,12 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3036Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3036Slc - var yyhl3036 bool = l >= 0 - for yyj3036 := 0; ; yyj3036++ { - if yyhl3036 { - if yyj3036 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -39043,74 +42025,134 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3036Slc = r.DecodeBytes(yys3036Slc, true, true) - yys3036 := string(yys3036Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3036 { + switch yys3 { case "machineID": if r.TryDecodeAsNil() { x.MachineID = "" } else { - x.MachineID = string(r.DecodeString()) + yyv4 := &x.MachineID + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "systemUUID": if r.TryDecodeAsNil() { x.SystemUUID = "" } else { - x.SystemUUID = string(r.DecodeString()) + yyv6 := &x.SystemUUID + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "bootID": if r.TryDecodeAsNil() { x.BootID = "" } else { - x.BootID = string(r.DecodeString()) + yyv8 := &x.BootID + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "kernelVersion": if r.TryDecodeAsNil() { x.KernelVersion = "" } else { - x.KernelVersion = string(r.DecodeString()) + yyv10 := &x.KernelVersion + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "osImage": if r.TryDecodeAsNil() { x.OSImage = "" } else { - x.OSImage = string(r.DecodeString()) + yyv12 := &x.OSImage + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } case "containerRuntimeVersion": if r.TryDecodeAsNil() { x.ContainerRuntimeVersion = "" } else { - x.ContainerRuntimeVersion = string(r.DecodeString()) + yyv14 := &x.ContainerRuntimeVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } case "kubeletVersion": if r.TryDecodeAsNil() { x.KubeletVersion = "" } else { - x.KubeletVersion = string(r.DecodeString()) + yyv16 := &x.KubeletVersion + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } case "kubeProxyVersion": if r.TryDecodeAsNil() { x.KubeProxyVersion = "" } else { - x.KubeProxyVersion = string(r.DecodeString()) + yyv18 := &x.KubeProxyVersion + yym19 := z.DecBinary() + _ = yym19 + if false { + } else { + *((*string)(yyv18)) = r.DecodeString() + } } case "operatingSystem": if r.TryDecodeAsNil() { x.OperatingSystem = "" } else { - x.OperatingSystem = string(r.DecodeString()) + yyv20 := &x.OperatingSystem + yym21 := z.DecBinary() + _ = yym21 + if false { + } else { + *((*string)(yyv20)) = r.DecodeString() + } } case "architecture": if r.TryDecodeAsNil() { x.Architecture = "" } else { - x.Architecture = string(r.DecodeString()) + yyv22 := &x.Architecture + yym23 := z.DecBinary() + _ = yym23 + if false { + } else { + *((*string)(yyv22)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys3036) - } // end switch yys3036 - } // end for yyj3036 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39118,16 +42160,16 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3047 int - var yyb3047 bool - var yyhl3047 bool = l >= 0 - yyj3047++ - if yyhl3047 { - yyb3047 = yyj3047 > l + var yyj24 int + var yyb24 bool + var yyhl24 bool = l >= 0 + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3047 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3047 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39135,15 +42177,21 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MachineID = "" } else { - x.MachineID = string(r.DecodeString()) + yyv25 := &x.MachineID + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*string)(yyv25)) = r.DecodeString() + } } - yyj3047++ - if yyhl3047 { - yyb3047 = yyj3047 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3047 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3047 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39151,15 +42199,21 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.SystemUUID = "" } else { - x.SystemUUID = string(r.DecodeString()) + yyv27 := &x.SystemUUID + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*string)(yyv27)) = r.DecodeString() + } } - yyj3047++ - if yyhl3047 { - yyb3047 = yyj3047 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3047 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3047 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39167,15 +42221,21 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.BootID = "" } else { - x.BootID = string(r.DecodeString()) + yyv29 := &x.BootID + yym30 := z.DecBinary() + _ = yym30 + if false { + } else { + *((*string)(yyv29)) = r.DecodeString() + } } - yyj3047++ - if yyhl3047 { - yyb3047 = yyj3047 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3047 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3047 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39183,15 +42243,21 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.KernelVersion = "" } else { - x.KernelVersion = string(r.DecodeString()) + yyv31 := &x.KernelVersion + yym32 := z.DecBinary() + _ = yym32 + if false { + } else { + *((*string)(yyv31)) = r.DecodeString() + } } - yyj3047++ - if yyhl3047 { - yyb3047 = yyj3047 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3047 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3047 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39199,15 +42265,21 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.OSImage = "" } else { - x.OSImage = string(r.DecodeString()) + yyv33 := &x.OSImage + yym34 := z.DecBinary() + _ = yym34 + if false { + } else { + *((*string)(yyv33)) = r.DecodeString() + } } - yyj3047++ - if yyhl3047 { - yyb3047 = yyj3047 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3047 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3047 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39215,15 +42287,21 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerRuntimeVersion = "" } else { - x.ContainerRuntimeVersion = string(r.DecodeString()) + yyv35 := &x.ContainerRuntimeVersion + yym36 := z.DecBinary() + _ = yym36 + if false { + } else { + *((*string)(yyv35)) = r.DecodeString() + } } - yyj3047++ - if yyhl3047 { - yyb3047 = yyj3047 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3047 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3047 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39231,15 +42309,21 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.KubeletVersion = "" } else { - x.KubeletVersion = string(r.DecodeString()) + yyv37 := &x.KubeletVersion + yym38 := z.DecBinary() + _ = yym38 + if false { + } else { + *((*string)(yyv37)) = r.DecodeString() + } } - yyj3047++ - if yyhl3047 { - yyb3047 = yyj3047 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3047 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3047 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39247,15 +42331,21 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.KubeProxyVersion = "" } else { - x.KubeProxyVersion = string(r.DecodeString()) + yyv39 := &x.KubeProxyVersion + yym40 := z.DecBinary() + _ = yym40 + if false { + } else { + *((*string)(yyv39)) = r.DecodeString() + } } - yyj3047++ - if yyhl3047 { - yyb3047 = yyj3047 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3047 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3047 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39263,15 +42353,21 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.OperatingSystem = "" } else { - x.OperatingSystem = string(r.DecodeString()) + yyv41 := &x.OperatingSystem + yym42 := z.DecBinary() + _ = yym42 + if false { + } else { + *((*string)(yyv41)) = r.DecodeString() + } } - yyj3047++ - if yyhl3047 { - yyb3047 = yyj3047 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3047 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3047 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39279,20 +42375,26 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Architecture = "" } else { - x.Architecture = string(r.DecodeString()) + yyv43 := &x.Architecture + yym44 := z.DecBinary() + _ = yym44 + if false { + } else { + *((*string)(yyv43)) = r.DecodeString() + } } for { - yyj3047++ - if yyhl3047 { - yyb3047 = yyj3047 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3047 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3047 { + if yyb24 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3047-1, "") + z.DecStructFieldNotFound(yyj24-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39304,42 +42406,42 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3058 := z.EncBinary() - _ = yym3058 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3059 := !z.EncBinary() - yy2arr3059 := z.EncBasicHandle().StructToArray - var yyq3059 [10]bool - _, _, _ = yysep3059, yyq3059, yy2arr3059 - const yyr3059 bool = false - yyq3059[0] = len(x.Capacity) != 0 - yyq3059[1] = len(x.Allocatable) != 0 - yyq3059[2] = x.Phase != "" - yyq3059[3] = len(x.Conditions) != 0 - yyq3059[4] = len(x.Addresses) != 0 - yyq3059[5] = true - yyq3059[6] = true - yyq3059[7] = len(x.Images) != 0 - yyq3059[8] = len(x.VolumesInUse) != 0 - yyq3059[9] = len(x.VolumesAttached) != 0 - var yynn3059 int - if yyr3059 || yy2arr3059 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [10]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Capacity) != 0 + yyq2[1] = len(x.Allocatable) != 0 + yyq2[2] = x.Phase != "" + yyq2[3] = len(x.Conditions) != 0 + yyq2[4] = len(x.Addresses) != 0 + yyq2[5] = true + yyq2[6] = true + yyq2[7] = len(x.Images) != 0 + yyq2[8] = len(x.VolumesInUse) != 0 + yyq2[9] = len(x.VolumesAttached) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(10) } else { - yynn3059 = 0 - for _, b := range yyq3059 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3059++ + yynn2++ } } - r.EncodeMapStart(yynn3059) - yynn3059 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3059 || yy2arr3059 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3059[0] { + if yyq2[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -39349,7 +42451,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3059[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -39360,9 +42462,9 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3059 || yy2arr3059 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3059[1] { + if yyq2[1] { if x.Allocatable == nil { r.EncodeNil() } else { @@ -39372,7 +42474,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3059[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allocatable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -39383,29 +42485,29 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3059 || yy2arr3059 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3059[2] { + if yyq2[2] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3059[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr3059 || yy2arr3059 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3059[3] { + if yyq2[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym3064 := z.EncBinary() - _ = yym3064 + yym13 := z.EncBinary() + _ = yym13 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -39415,15 +42517,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3059[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym3065 := z.EncBinary() - _ = yym3065 + yym14 := z.EncBinary() + _ = yym14 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -39431,14 +42533,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3059 || yy2arr3059 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3059[4] { + if yyq2[4] { if x.Addresses == nil { r.EncodeNil() } else { - yym3067 := z.EncBinary() - _ = yym3067 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -39448,15 +42550,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3059[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym3068 := z.EncBinary() - _ = yym3068 + yym17 := z.EncBinary() + _ = yym17 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -39464,48 +42566,48 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3059 || yy2arr3059 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3059[5] { - yy3070 := &x.DaemonEndpoints - yy3070.CodecEncodeSelf(e) + if yyq2[5] { + yy19 := &x.DaemonEndpoints + yy19.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3059[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("daemonEndpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3071 := &x.DaemonEndpoints - yy3071.CodecEncodeSelf(e) + yy21 := &x.DaemonEndpoints + yy21.CodecEncodeSelf(e) } } - if yyr3059 || yy2arr3059 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3059[6] { - yy3073 := &x.NodeInfo - yy3073.CodecEncodeSelf(e) + if yyq2[6] { + yy24 := &x.NodeInfo + yy24.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3059[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeInfo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3074 := &x.NodeInfo - yy3074.CodecEncodeSelf(e) + yy26 := &x.NodeInfo + yy26.CodecEncodeSelf(e) } } - if yyr3059 || yy2arr3059 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3059[7] { + if yyq2[7] { if x.Images == nil { r.EncodeNil() } else { - yym3076 := z.EncBinary() - _ = yym3076 + yym29 := z.EncBinary() + _ = yym29 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -39515,15 +42617,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3059[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("images")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Images == nil { r.EncodeNil() } else { - yym3077 := z.EncBinary() - _ = yym3077 + yym30 := z.EncBinary() + _ = yym30 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -39531,14 +42633,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3059 || yy2arr3059 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3059[8] { + if yyq2[8] { if x.VolumesInUse == nil { r.EncodeNil() } else { - yym3079 := z.EncBinary() - _ = yym3079 + yym32 := z.EncBinary() + _ = yym32 if false { } else { h.encSliceUniqueVolumeName(([]UniqueVolumeName)(x.VolumesInUse), e) @@ -39548,15 +42650,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3059[8] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumesInUse")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumesInUse == nil { r.EncodeNil() } else { - yym3080 := z.EncBinary() - _ = yym3080 + yym33 := z.EncBinary() + _ = yym33 if false { } else { h.encSliceUniqueVolumeName(([]UniqueVolumeName)(x.VolumesInUse), e) @@ -39564,14 +42666,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3059 || yy2arr3059 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3059[9] { + if yyq2[9] { if x.VolumesAttached == nil { r.EncodeNil() } else { - yym3082 := z.EncBinary() - _ = yym3082 + yym35 := z.EncBinary() + _ = yym35 if false { } else { h.encSliceAttachedVolume(([]AttachedVolume)(x.VolumesAttached), e) @@ -39581,15 +42683,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3059[9] { + if yyq2[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumesAttached")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumesAttached == nil { r.EncodeNil() } else { - yym3083 := z.EncBinary() - _ = yym3083 + yym36 := z.EncBinary() + _ = yym36 if false { } else { h.encSliceAttachedVolume(([]AttachedVolume)(x.VolumesAttached), e) @@ -39597,7 +42699,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3059 || yy2arr3059 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39610,25 +42712,25 @@ func (x *NodeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3084 := z.DecBinary() - _ = yym3084 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3085 := r.ContainerType() - if yyct3085 == codecSelferValueTypeMap1234 { - yyl3085 := r.ReadMapStart() - if yyl3085 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3085, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3085 == codecSelferValueTypeArray1234 { - yyl3085 := r.ReadArrayStart() - if yyl3085 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3085, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39640,12 +42742,12 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3086Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3086Slc - var yyhl3086 bool = l >= 0 - for yyj3086 := 0; ; yyj3086++ { - if yyhl3086 { - if yyj3086 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -39654,108 +42756,109 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3086Slc = r.DecodeBytes(yys3086Slc, true, true) - yys3086 := string(yys3086Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3086 { + switch yys3 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv3087 := &x.Capacity - yyv3087.CodecDecodeSelf(d) + yyv4 := &x.Capacity + yyv4.CodecDecodeSelf(d) } case "allocatable": if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv3088 := &x.Allocatable - yyv3088.CodecDecodeSelf(d) + yyv5 := &x.Allocatable + yyv5.CodecDecodeSelf(d) } case "phase": if r.TryDecodeAsNil() { x.Phase = "" } else { - x.Phase = NodePhase(r.DecodeString()) + yyv6 := &x.Phase + yyv6.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3090 := &x.Conditions - yym3091 := z.DecBinary() - _ = yym3091 + yyv7 := &x.Conditions + yym8 := z.DecBinary() + _ = yym8 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv3090), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv7), d) } } case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv3092 := &x.Addresses - yym3093 := z.DecBinary() - _ = yym3093 + yyv9 := &x.Addresses + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv3092), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv9), d) } } case "daemonEndpoints": if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv3094 := &x.DaemonEndpoints - yyv3094.CodecDecodeSelf(d) + yyv11 := &x.DaemonEndpoints + yyv11.CodecDecodeSelf(d) } case "nodeInfo": if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv3095 := &x.NodeInfo - yyv3095.CodecDecodeSelf(d) + yyv12 := &x.NodeInfo + yyv12.CodecDecodeSelf(d) } case "images": if r.TryDecodeAsNil() { x.Images = nil } else { - yyv3096 := &x.Images - yym3097 := z.DecBinary() - _ = yym3097 + yyv13 := &x.Images + yym14 := z.DecBinary() + _ = yym14 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv3096), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv13), d) } } case "volumesInUse": if r.TryDecodeAsNil() { x.VolumesInUse = nil } else { - yyv3098 := &x.VolumesInUse - yym3099 := z.DecBinary() - _ = yym3099 + yyv15 := &x.VolumesInUse + yym16 := z.DecBinary() + _ = yym16 if false { } else { - h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3098), d) + h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv15), d) } } case "volumesAttached": if r.TryDecodeAsNil() { x.VolumesAttached = nil } else { - yyv3100 := &x.VolumesAttached - yym3101 := z.DecBinary() - _ = yym3101 + yyv17 := &x.VolumesAttached + yym18 := z.DecBinary() + _ = yym18 if false { } else { - h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3100), d) + h.decSliceAttachedVolume((*[]AttachedVolume)(yyv17), d) } } default: - z.DecStructFieldNotFound(-1, yys3086) - } // end switch yys3086 - } // end for yyj3086 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39763,16 +42866,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3102 int - var yyb3102 bool - var yyhl3102 bool = l >= 0 - yyj3102++ - if yyhl3102 { - yyb3102 = yyj3102 > l + var yyj19 int + var yyb19 bool + var yyhl19 bool = l >= 0 + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb3102 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb3102 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39780,16 +42883,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv3103 := &x.Capacity - yyv3103.CodecDecodeSelf(d) + yyv20 := &x.Capacity + yyv20.CodecDecodeSelf(d) } - yyj3102++ - if yyhl3102 { - yyb3102 = yyj3102 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb3102 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb3102 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39797,16 +42900,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv3104 := &x.Allocatable - yyv3104.CodecDecodeSelf(d) + yyv21 := &x.Allocatable + yyv21.CodecDecodeSelf(d) } - yyj3102++ - if yyhl3102 { - yyb3102 = yyj3102 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb3102 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb3102 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39814,15 +42917,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Phase = "" } else { - x.Phase = NodePhase(r.DecodeString()) + yyv22 := &x.Phase + yyv22.CodecDecodeSelf(d) } - yyj3102++ - if yyhl3102 { - yyb3102 = yyj3102 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb3102 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb3102 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39830,21 +42934,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3106 := &x.Conditions - yym3107 := z.DecBinary() - _ = yym3107 + yyv23 := &x.Conditions + yym24 := z.DecBinary() + _ = yym24 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv3106), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv23), d) } } - yyj3102++ - if yyhl3102 { - yyb3102 = yyj3102 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb3102 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb3102 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39852,21 +42956,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv3108 := &x.Addresses - yym3109 := z.DecBinary() - _ = yym3109 + yyv25 := &x.Addresses + yym26 := z.DecBinary() + _ = yym26 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv3108), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv25), d) } } - yyj3102++ - if yyhl3102 { - yyb3102 = yyj3102 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb3102 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb3102 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39874,16 +42978,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv3110 := &x.DaemonEndpoints - yyv3110.CodecDecodeSelf(d) + yyv27 := &x.DaemonEndpoints + yyv27.CodecDecodeSelf(d) } - yyj3102++ - if yyhl3102 { - yyb3102 = yyj3102 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb3102 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb3102 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39891,16 +42995,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv3111 := &x.NodeInfo - yyv3111.CodecDecodeSelf(d) + yyv28 := &x.NodeInfo + yyv28.CodecDecodeSelf(d) } - yyj3102++ - if yyhl3102 { - yyb3102 = yyj3102 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb3102 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb3102 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39908,21 +43012,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Images = nil } else { - yyv3112 := &x.Images - yym3113 := z.DecBinary() - _ = yym3113 + yyv29 := &x.Images + yym30 := z.DecBinary() + _ = yym30 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv3112), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv29), d) } } - yyj3102++ - if yyhl3102 { - yyb3102 = yyj3102 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb3102 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb3102 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39930,21 +43034,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumesInUse = nil } else { - yyv3114 := &x.VolumesInUse - yym3115 := z.DecBinary() - _ = yym3115 + yyv31 := &x.VolumesInUse + yym32 := z.DecBinary() + _ = yym32 if false { } else { - h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3114), d) + h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv31), d) } } - yyj3102++ - if yyhl3102 { - yyb3102 = yyj3102 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb3102 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb3102 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39952,26 +43056,26 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumesAttached = nil } else { - yyv3116 := &x.VolumesAttached - yym3117 := z.DecBinary() - _ = yym3117 + yyv33 := &x.VolumesAttached + yym34 := z.DecBinary() + _ = yym34 if false { } else { - h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3116), d) + h.decSliceAttachedVolume((*[]AttachedVolume)(yyv33), d) } } for { - yyj3102++ - if yyhl3102 { - yyb3102 = yyj3102 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb3102 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb3102 { + if yyb19 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3102-1, "") + z.DecStructFieldNotFound(yyj19-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39980,8 +43084,8 @@ func (x UniqueVolumeName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3118 := z.EncBinary() - _ = yym3118 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -39993,8 +43097,8 @@ func (x *UniqueVolumeName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3119 := z.DecBinary() - _ = yym3119 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -40009,30 +43113,30 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3120 := z.EncBinary() - _ = yym3120 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3121 := !z.EncBinary() - yy2arr3121 := z.EncBasicHandle().StructToArray - var yyq3121 [2]bool - _, _, _ = yysep3121, yyq3121, yy2arr3121 - const yyr3121 bool = false - var yynn3121 int - if yyr3121 || yy2arr3121 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn3121 = 2 - for _, b := range yyq3121 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn3121++ + yynn2++ } } - r.EncodeMapStart(yynn3121) - yynn3121 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3121 || yy2arr3121 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Name.CodecEncodeSelf(e) } else { @@ -40041,10 +43145,10 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Name.CodecEncodeSelf(e) } - if yyr3121 || yy2arr3121 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3124 := z.EncBinary() - _ = yym3124 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DevicePath)) @@ -40053,14 +43157,14 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("devicePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3125 := z.EncBinary() - _ = yym3125 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DevicePath)) } } - if yyr3121 || yy2arr3121 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40073,25 +43177,25 @@ func (x *AttachedVolume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3126 := z.DecBinary() - _ = yym3126 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3127 := r.ContainerType() - if yyct3127 == codecSelferValueTypeMap1234 { - yyl3127 := r.ReadMapStart() - if yyl3127 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3127, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3127 == codecSelferValueTypeArray1234 { - yyl3127 := r.ReadArrayStart() - if yyl3127 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3127, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40103,12 +43207,12 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3128Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3128Slc - var yyhl3128 bool = l >= 0 - for yyj3128 := 0; ; yyj3128++ { - if yyhl3128 { - if yyj3128 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -40117,26 +43221,33 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3128Slc = r.DecodeBytes(yys3128Slc, true, true) - yys3128 := string(yys3128Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3128 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = UniqueVolumeName(r.DecodeString()) + yyv4 := &x.Name + yyv4.CodecDecodeSelf(d) } case "devicePath": if r.TryDecodeAsNil() { x.DevicePath = "" } else { - x.DevicePath = string(r.DecodeString()) + yyv5 := &x.DevicePath + yym6 := z.DecBinary() + _ = yym6 + if false { + } else { + *((*string)(yyv5)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys3128) - } // end switch yys3128 - } // end for yyj3128 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40144,16 +43255,16 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3131 int - var yyb3131 bool - var yyhl3131 bool = l >= 0 - yyj3131++ - if yyhl3131 { - yyb3131 = yyj3131 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb3131 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb3131 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40161,15 +43272,16 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = UniqueVolumeName(r.DecodeString()) + yyv8 := &x.Name + yyv8.CodecDecodeSelf(d) } - yyj3131++ - if yyhl3131 { - yyb3131 = yyj3131 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb3131 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb3131 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40177,20 +43289,26 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DevicePath = "" } else { - x.DevicePath = string(r.DecodeString()) + yyv9 := &x.DevicePath + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } for { - yyj3131++ - if yyhl3131 { - yyb3131 = yyj3131 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb3131 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb3131 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3131-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40202,38 +43320,38 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3134 := z.EncBinary() - _ = yym3134 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3135 := !z.EncBinary() - yy2arr3135 := z.EncBasicHandle().StructToArray - var yyq3135 [1]bool - _, _, _ = yysep3135, yyq3135, yy2arr3135 - const yyr3135 bool = false - yyq3135[0] = len(x.PreferAvoidPods) != 0 - var yynn3135 int - if yyr3135 || yy2arr3135 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.PreferAvoidPods) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn3135 = 0 - for _, b := range yyq3135 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3135++ + yynn2++ } } - r.EncodeMapStart(yynn3135) - yynn3135 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3135 || yy2arr3135 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3135[0] { + if yyq2[0] { if x.PreferAvoidPods == nil { r.EncodeNil() } else { - yym3137 := z.EncBinary() - _ = yym3137 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSlicePreferAvoidPodsEntry(([]PreferAvoidPodsEntry)(x.PreferAvoidPods), e) @@ -40243,15 +43361,15 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3135[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferAvoidPods")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferAvoidPods == nil { r.EncodeNil() } else { - yym3138 := z.EncBinary() - _ = yym3138 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSlicePreferAvoidPodsEntry(([]PreferAvoidPodsEntry)(x.PreferAvoidPods), e) @@ -40259,7 +43377,7 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3135 || yy2arr3135 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40272,25 +43390,25 @@ func (x *AvoidPods) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3139 := z.DecBinary() - _ = yym3139 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3140 := r.ContainerType() - if yyct3140 == codecSelferValueTypeMap1234 { - yyl3140 := r.ReadMapStart() - if yyl3140 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3140, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3140 == codecSelferValueTypeArray1234 { - yyl3140 := r.ReadArrayStart() - if yyl3140 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3140, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40302,12 +43420,12 @@ func (x *AvoidPods) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3141Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3141Slc - var yyhl3141 bool = l >= 0 - for yyj3141 := 0; ; yyj3141++ { - if yyhl3141 { - if yyj3141 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -40316,26 +43434,26 @@ func (x *AvoidPods) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3141Slc = r.DecodeBytes(yys3141Slc, true, true) - yys3141 := string(yys3141Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3141 { + switch yys3 { case "preferAvoidPods": if r.TryDecodeAsNil() { x.PreferAvoidPods = nil } else { - yyv3142 := &x.PreferAvoidPods - yym3143 := z.DecBinary() - _ = yym3143 + yyv4 := &x.PreferAvoidPods + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3142), d) + h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv4), d) } } default: - z.DecStructFieldNotFound(-1, yys3141) - } // end switch yys3141 - } // end for yyj3141 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40343,16 +43461,16 @@ func (x *AvoidPods) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3144 int - var yyb3144 bool - var yyhl3144 bool = l >= 0 - yyj3144++ - if yyhl3144 { - yyb3144 = yyj3144 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb3144 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb3144 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40360,26 +43478,26 @@ func (x *AvoidPods) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferAvoidPods = nil } else { - yyv3145 := &x.PreferAvoidPods - yym3146 := z.DecBinary() - _ = yym3146 + yyv7 := &x.PreferAvoidPods + yym8 := z.DecBinary() + _ = yym8 if false { } else { - h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3145), d) + h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv7), d) } } for { - yyj3144++ - if yyhl3144 { - yyb3144 = yyj3144 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb3144 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb3144 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3144-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40391,85 +43509,85 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3147 := z.EncBinary() - _ = yym3147 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3148 := !z.EncBinary() - yy2arr3148 := z.EncBasicHandle().StructToArray - var yyq3148 [4]bool - _, _, _ = yysep3148, yyq3148, yy2arr3148 - const yyr3148 bool = false - yyq3148[1] = true - yyq3148[2] = x.Reason != "" - yyq3148[3] = x.Message != "" - var yynn3148 int - if yyr3148 || yy2arr3148 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = true + yyq2[2] = x.Reason != "" + yyq2[3] = x.Message != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn3148 = 1 - for _, b := range yyq3148 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn3148++ + yynn2++ } } - r.EncodeMapStart(yynn3148) - yynn3148 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3148 || yy2arr3148 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3150 := &x.PodSignature - yy3150.CodecEncodeSelf(e) + yy4 := &x.PodSignature + yy4.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSignature")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3151 := &x.PodSignature - yy3151.CodecEncodeSelf(e) + yy6 := &x.PodSignature + yy6.CodecEncodeSelf(e) } - if yyr3148 || yy2arr3148 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3148[1] { - yy3153 := &x.EvictionTime - yym3154 := z.EncBinary() - _ = yym3154 + if yyq2[1] { + yy9 := &x.EvictionTime + yym10 := z.EncBinary() + _ = yym10 if false { - } else if z.HasExtensions() && z.EncExt(yy3153) { - } else if yym3154 { - z.EncBinaryMarshal(yy3153) - } else if !yym3154 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3153) + } else if z.HasExtensions() && z.EncExt(yy9) { + } else if yym10 { + z.EncBinaryMarshal(yy9) + } else if !yym10 && z.IsJSONHandle() { + z.EncJSONMarshal(yy9) } else { - z.EncFallback(yy3153) + z.EncFallback(yy9) } } else { r.EncodeNil() } } else { - if yyq3148[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3155 := &x.EvictionTime - yym3156 := z.EncBinary() - _ = yym3156 + yy11 := &x.EvictionTime + yym12 := z.EncBinary() + _ = yym12 if false { - } else if z.HasExtensions() && z.EncExt(yy3155) { - } else if yym3156 { - z.EncBinaryMarshal(yy3155) - } else if !yym3156 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3155) + } else if z.HasExtensions() && z.EncExt(yy11) { + } else if yym12 { + z.EncBinaryMarshal(yy11) + } else if !yym12 && z.IsJSONHandle() { + z.EncJSONMarshal(yy11) } else { - z.EncFallback(yy3155) + z.EncFallback(yy11) } } } - if yyr3148 || yy2arr3148 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3148[2] { - yym3158 := z.EncBinary() - _ = yym3158 + if yyq2[2] { + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -40478,23 +43596,23 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3148[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3159 := z.EncBinary() - _ = yym3159 + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3148 || yy2arr3148 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3148[3] { - yym3161 := z.EncBinary() - _ = yym3161 + if yyq2[3] { + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -40503,19 +43621,19 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3148[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3162 := z.EncBinary() - _ = yym3162 + yym18 := z.EncBinary() + _ = yym18 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3148 || yy2arr3148 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40528,25 +43646,25 @@ func (x *PreferAvoidPodsEntry) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3163 := z.DecBinary() - _ = yym3163 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3164 := r.ContainerType() - if yyct3164 == codecSelferValueTypeMap1234 { - yyl3164 := r.ReadMapStart() - if yyl3164 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3164, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3164 == codecSelferValueTypeArray1234 { - yyl3164 := r.ReadArrayStart() - if yyl3164 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3164, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40558,12 +43676,12 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3165Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3165Slc - var yyhl3165 bool = l >= 0 - for yyj3165 := 0; ; yyj3165++ { - if yyhl3165 { - if yyj3165 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -40572,50 +43690,62 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3165Slc = r.DecodeBytes(yys3165Slc, true, true) - yys3165 := string(yys3165Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3165 { + switch yys3 { case "podSignature": if r.TryDecodeAsNil() { x.PodSignature = PodSignature{} } else { - yyv3166 := &x.PodSignature - yyv3166.CodecDecodeSelf(d) + yyv4 := &x.PodSignature + yyv4.CodecDecodeSelf(d) } case "evictionTime": if r.TryDecodeAsNil() { x.EvictionTime = pkg2_v1.Time{} } else { - yyv3167 := &x.EvictionTime - yym3168 := z.DecBinary() - _ = yym3168 + yyv5 := &x.EvictionTime + yym6 := z.DecBinary() + _ = yym6 if false { - } else if z.HasExtensions() && z.DecExt(yyv3167) { - } else if yym3168 { - z.DecBinaryUnmarshal(yyv3167) - } else if !yym3168 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3167) + } else if z.HasExtensions() && z.DecExt(yyv5) { + } else if yym6 { + z.DecBinaryUnmarshal(yyv5) + } else if !yym6 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv5) } else { - z.DecFallback(yyv3167, false) + z.DecFallback(yyv5, false) } } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv7 := &x.Reason + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*string)(yyv7)) = r.DecodeString() + } } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv9 := &x.Message + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys3165) - } // end switch yys3165 - } // end for yyj3165 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40623,16 +43753,16 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3171 int - var yyb3171 bool - var yyhl3171 bool = l >= 0 - yyj3171++ - if yyhl3171 { - yyb3171 = yyj3171 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3171 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3171 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40640,16 +43770,16 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.PodSignature = PodSignature{} } else { - yyv3172 := &x.PodSignature - yyv3172.CodecDecodeSelf(d) + yyv12 := &x.PodSignature + yyv12.CodecDecodeSelf(d) } - yyj3171++ - if yyhl3171 { - yyb3171 = yyj3171 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3171 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3171 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40657,26 +43787,26 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.EvictionTime = pkg2_v1.Time{} } else { - yyv3173 := &x.EvictionTime - yym3174 := z.DecBinary() - _ = yym3174 + yyv13 := &x.EvictionTime + yym14 := z.DecBinary() + _ = yym14 if false { - } else if z.HasExtensions() && z.DecExt(yyv3173) { - } else if yym3174 { - z.DecBinaryUnmarshal(yyv3173) - } else if !yym3174 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3173) + } else if z.HasExtensions() && z.DecExt(yyv13) { + } else if yym14 { + z.DecBinaryUnmarshal(yyv13) + } else if !yym14 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv13) } else { - z.DecFallback(yyv3173, false) + z.DecFallback(yyv13, false) } } - yyj3171++ - if yyhl3171 { - yyb3171 = yyj3171 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3171 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3171 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40684,15 +43814,21 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv15 := &x.Reason + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj3171++ - if yyhl3171 { - yyb3171 = yyj3171 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3171 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3171 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40700,20 +43836,26 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv17 := &x.Message + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*string)(yyv17)) = r.DecodeString() + } } for { - yyj3171++ - if yyhl3171 { - yyb3171 = yyj3171 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3171 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3171 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3171-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40725,38 +43867,38 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3177 := z.EncBinary() - _ = yym3177 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3178 := !z.EncBinary() - yy2arr3178 := z.EncBasicHandle().StructToArray - var yyq3178 [1]bool - _, _, _ = yysep3178, yyq3178, yy2arr3178 - const yyr3178 bool = false - yyq3178[0] = x.PodController != nil - var yynn3178 int - if yyr3178 || yy2arr3178 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.PodController != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn3178 = 0 - for _, b := range yyq3178 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3178++ + yynn2++ } } - r.EncodeMapStart(yynn3178) - yynn3178 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3178 || yy2arr3178 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3178[0] { + if yyq2[0] { if x.PodController == nil { r.EncodeNil() } else { - yym3180 := z.EncBinary() - _ = yym3180 + yym4 := z.EncBinary() + _ = yym4 if false { } else if z.HasExtensions() && z.EncExt(x.PodController) { } else { @@ -40767,15 +43909,15 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3178[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podController")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PodController == nil { r.EncodeNil() } else { - yym3181 := z.EncBinary() - _ = yym3181 + yym5 := z.EncBinary() + _ = yym5 if false { } else if z.HasExtensions() && z.EncExt(x.PodController) { } else { @@ -40784,7 +43926,7 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3178 || yy2arr3178 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40797,25 +43939,25 @@ func (x *PodSignature) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3182 := z.DecBinary() - _ = yym3182 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3183 := r.ContainerType() - if yyct3183 == codecSelferValueTypeMap1234 { - yyl3183 := r.ReadMapStart() - if yyl3183 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3183, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3183 == codecSelferValueTypeArray1234 { - yyl3183 := r.ReadArrayStart() - if yyl3183 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3183, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40827,12 +43969,12 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3184Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3184Slc - var yyhl3184 bool = l >= 0 - for yyj3184 := 0; ; yyj3184++ { - if yyhl3184 { - if yyj3184 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -40841,10 +43983,10 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3184Slc = r.DecodeBytes(yys3184Slc, true, true) - yys3184 := string(yys3184Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3184 { + switch yys3 { case "podController": if r.TryDecodeAsNil() { if x.PodController != nil { @@ -40854,8 +43996,8 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.PodController == nil { x.PodController = new(pkg2_v1.OwnerReference) } - yym3186 := z.DecBinary() - _ = yym3186 + yym5 := z.DecBinary() + _ = yym5 if false { } else if z.HasExtensions() && z.DecExt(x.PodController) { } else { @@ -40863,9 +44005,9 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } default: - z.DecStructFieldNotFound(-1, yys3184) - } // end switch yys3184 - } // end for yyj3184 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40873,16 +44015,16 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3187 int - var yyb3187 bool - var yyhl3187 bool = l >= 0 - yyj3187++ - if yyhl3187 { - yyb3187 = yyj3187 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb3187 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb3187 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40895,8 +44037,8 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.PodController == nil { x.PodController = new(pkg2_v1.OwnerReference) } - yym3189 := z.DecBinary() - _ = yym3189 + yym8 := z.DecBinary() + _ = yym8 if false { } else if z.HasExtensions() && z.DecExt(x.PodController) { } else { @@ -40904,17 +44046,17 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } for { - yyj3187++ - if yyhl3187 { - yyb3187 = yyj3187 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb3187 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb3187 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3187-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40926,37 +44068,37 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3190 := z.EncBinary() - _ = yym3190 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3191 := !z.EncBinary() - yy2arr3191 := z.EncBasicHandle().StructToArray - var yyq3191 [2]bool - _, _, _ = yysep3191, yyq3191, yy2arr3191 - const yyr3191 bool = false - yyq3191[1] = x.SizeBytes != 0 - var yynn3191 int - if yyr3191 || yy2arr3191 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.SizeBytes != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn3191 = 1 - for _, b := range yyq3191 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn3191++ + yynn2++ } } - r.EncodeMapStart(yynn3191) - yynn3191 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3191 || yy2arr3191 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Names == nil { r.EncodeNil() } else { - yym3193 := z.EncBinary() - _ = yym3193 + yym4 := z.EncBinary() + _ = yym4 if false { } else { z.F.EncSliceStringV(x.Names, false, e) @@ -40969,19 +44111,19 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { if x.Names == nil { r.EncodeNil() } else { - yym3194 := z.EncBinary() - _ = yym3194 + yym5 := z.EncBinary() + _ = yym5 if false { } else { z.F.EncSliceStringV(x.Names, false, e) } } } - if yyr3191 || yy2arr3191 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3191[1] { - yym3196 := z.EncBinary() - _ = yym3196 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeInt(int64(x.SizeBytes)) @@ -40990,19 +44132,19 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq3191[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sizeBytes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3197 := z.EncBinary() - _ = yym3197 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeInt(int64(x.SizeBytes)) } } } - if yyr3191 || yy2arr3191 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41015,25 +44157,25 @@ func (x *ContainerImage) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3198 := z.DecBinary() - _ = yym3198 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3199 := r.ContainerType() - if yyct3199 == codecSelferValueTypeMap1234 { - yyl3199 := r.ReadMapStart() - if yyl3199 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3199, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3199 == codecSelferValueTypeArray1234 { - yyl3199 := r.ReadArrayStart() - if yyl3199 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3199, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41045,12 +44187,12 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3200Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3200Slc - var yyhl3200 bool = l >= 0 - for yyj3200 := 0; ; yyj3200++ { - if yyhl3200 { - if yyj3200 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -41059,32 +44201,38 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3200Slc = r.DecodeBytes(yys3200Slc, true, true) - yys3200 := string(yys3200Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3200 { + switch yys3 { case "names": if r.TryDecodeAsNil() { x.Names = nil } else { - yyv3201 := &x.Names - yym3202 := z.DecBinary() - _ = yym3202 + yyv4 := &x.Names + yym5 := z.DecBinary() + _ = yym5 if false { } else { - z.F.DecSliceStringX(yyv3201, false, d) + z.F.DecSliceStringX(yyv4, false, d) } } case "sizeBytes": if r.TryDecodeAsNil() { x.SizeBytes = 0 } else { - x.SizeBytes = int64(r.DecodeInt(64)) + yyv6 := &x.SizeBytes + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*int64)(yyv6)) = int64(r.DecodeInt(64)) + } } default: - z.DecStructFieldNotFound(-1, yys3200) - } // end switch yys3200 - } // end for yyj3200 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41092,16 +44240,16 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3204 int - var yyb3204 bool - var yyhl3204 bool = l >= 0 - yyj3204++ - if yyhl3204 { - yyb3204 = yyj3204 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb3204 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb3204 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41109,21 +44257,21 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Names = nil } else { - yyv3205 := &x.Names - yym3206 := z.DecBinary() - _ = yym3206 + yyv9 := &x.Names + yym10 := z.DecBinary() + _ = yym10 if false { } else { - z.F.DecSliceStringX(yyv3205, false, d) + z.F.DecSliceStringX(yyv9, false, d) } } - yyj3204++ - if yyhl3204 { - yyb3204 = yyj3204 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb3204 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb3204 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41131,20 +44279,26 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.SizeBytes = 0 } else { - x.SizeBytes = int64(r.DecodeInt(64)) + yyv11 := &x.SizeBytes + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*int64)(yyv11)) = int64(r.DecodeInt(64)) + } } for { - yyj3204++ - if yyhl3204 { - yyb3204 = yyj3204 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb3204 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb3204 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3204-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41153,8 +44307,8 @@ func (x NodePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3208 := z.EncBinary() - _ = yym3208 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41166,8 +44320,8 @@ func (x *NodePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3209 := z.DecBinary() - _ = yym3209 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41179,8 +44333,8 @@ func (x NodeConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3210 := z.EncBinary() - _ = yym3210 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41192,8 +44346,8 @@ func (x *NodeConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3211 := z.DecBinary() - _ = yym3211 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41208,34 +44362,34 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3212 := z.EncBinary() - _ = yym3212 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3213 := !z.EncBinary() - yy2arr3213 := z.EncBasicHandle().StructToArray - var yyq3213 [6]bool - _, _, _ = yysep3213, yyq3213, yy2arr3213 - const yyr3213 bool = false - yyq3213[2] = true - yyq3213[3] = true - yyq3213[4] = x.Reason != "" - yyq3213[5] = x.Message != "" - var yynn3213 int - if yyr3213 || yy2arr3213 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = true + yyq2[3] = true + yyq2[4] = x.Reason != "" + yyq2[5] = x.Message != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn3213 = 2 - for _, b := range yyq3213 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn3213++ + yynn2++ } } - r.EncodeMapStart(yynn3213) - yynn3213 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3213 || yy2arr3213 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -41244,7 +44398,7 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr3213 || yy2arr3213 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -41253,85 +44407,85 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr3213 || yy2arr3213 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3213[2] { - yy3217 := &x.LastHeartbeatTime - yym3218 := z.EncBinary() - _ = yym3218 + if yyq2[2] { + yy10 := &x.LastHeartbeatTime + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy3217) { - } else if yym3218 { - z.EncBinaryMarshal(yy3217) - } else if !yym3218 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3217) + } else if z.HasExtensions() && z.EncExt(yy10) { + } else if yym11 { + z.EncBinaryMarshal(yy10) + } else if !yym11 && z.IsJSONHandle() { + z.EncJSONMarshal(yy10) } else { - z.EncFallback(yy3217) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq3213[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastHeartbeatTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3219 := &x.LastHeartbeatTime - yym3220 := z.EncBinary() - _ = yym3220 + yy12 := &x.LastHeartbeatTime + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy3219) { - } else if yym3220 { - z.EncBinaryMarshal(yy3219) - } else if !yym3220 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3219) + } else if z.HasExtensions() && z.EncExt(yy12) { + } else if yym13 { + z.EncBinaryMarshal(yy12) + } else if !yym13 && z.IsJSONHandle() { + z.EncJSONMarshal(yy12) } else { - z.EncFallback(yy3219) + z.EncFallback(yy12) } } } - if yyr3213 || yy2arr3213 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3213[3] { - yy3222 := &x.LastTransitionTime - yym3223 := z.EncBinary() - _ = yym3223 + if yyq2[3] { + yy15 := &x.LastTransitionTime + yym16 := z.EncBinary() + _ = yym16 if false { - } else if z.HasExtensions() && z.EncExt(yy3222) { - } else if yym3223 { - z.EncBinaryMarshal(yy3222) - } else if !yym3223 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3222) + } else if z.HasExtensions() && z.EncExt(yy15) { + } else if yym16 { + z.EncBinaryMarshal(yy15) + } else if !yym16 && z.IsJSONHandle() { + z.EncJSONMarshal(yy15) } else { - z.EncFallback(yy3222) + z.EncFallback(yy15) } } else { r.EncodeNil() } } else { - if yyq3213[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3224 := &x.LastTransitionTime - yym3225 := z.EncBinary() - _ = yym3225 + yy17 := &x.LastTransitionTime + yym18 := z.EncBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.EncExt(yy3224) { - } else if yym3225 { - z.EncBinaryMarshal(yy3224) - } else if !yym3225 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3224) + } else if z.HasExtensions() && z.EncExt(yy17) { + } else if yym18 { + z.EncBinaryMarshal(yy17) + } else if !yym18 && z.IsJSONHandle() { + z.EncJSONMarshal(yy17) } else { - z.EncFallback(yy3224) + z.EncFallback(yy17) } } } - if yyr3213 || yy2arr3213 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3213[4] { - yym3227 := z.EncBinary() - _ = yym3227 + if yyq2[4] { + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -41340,23 +44494,23 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3213[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3228 := z.EncBinary() - _ = yym3228 + yym21 := z.EncBinary() + _ = yym21 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3213 || yy2arr3213 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3213[5] { - yym3230 := z.EncBinary() - _ = yym3230 + if yyq2[5] { + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -41365,19 +44519,19 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3213[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3231 := z.EncBinary() - _ = yym3231 + yym24 := z.EncBinary() + _ = yym24 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3213 || yy2arr3213 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41390,25 +44544,25 @@ func (x *NodeCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3232 := z.DecBinary() - _ = yym3232 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3233 := r.ContainerType() - if yyct3233 == codecSelferValueTypeMap1234 { - yyl3233 := r.ReadMapStart() - if yyl3233 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3233, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3233 == codecSelferValueTypeArray1234 { - yyl3233 := r.ReadArrayStart() - if yyl3233 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3233, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41420,12 +44574,12 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3234Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3234Slc - var yyhl3234 bool = l >= 0 - for yyj3234 := 0; ; yyj3234++ { - if yyhl3234 { - if yyj3234 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -41434,72 +44588,86 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3234Slc = r.DecodeBytes(yys3234Slc, true, true) - yys3234 := string(yys3234Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3234 { + switch yys3 { case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = NodeConditionType(r.DecodeString()) + yyv4 := &x.Type + yyv4.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = ConditionStatus(r.DecodeString()) + yyv5 := &x.Status + yyv5.CodecDecodeSelf(d) } case "lastHeartbeatTime": if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_v1.Time{} } else { - yyv3237 := &x.LastHeartbeatTime - yym3238 := z.DecBinary() - _ = yym3238 + yyv6 := &x.LastHeartbeatTime + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv3237) { - } else if yym3238 { - z.DecBinaryUnmarshal(yyv3237) - } else if !yym3238 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3237) + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if yym7 { + z.DecBinaryUnmarshal(yyv6) + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) } else { - z.DecFallback(yyv3237, false) + z.DecFallback(yyv6, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_v1.Time{} } else { - yyv3239 := &x.LastTransitionTime - yym3240 := z.DecBinary() - _ = yym3240 + yyv8 := &x.LastTransitionTime + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv3239) { - } else if yym3240 { - z.DecBinaryUnmarshal(yyv3239) - } else if !yym3240 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3239) + } else if z.HasExtensions() && z.DecExt(yyv8) { + } else if yym9 { + z.DecBinaryUnmarshal(yyv8) + } else if !yym9 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv8) } else { - z.DecFallback(yyv3239, false) + z.DecFallback(yyv8, false) } } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv10 := &x.Reason + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv12 := &x.Message + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys3234) - } // end switch yys3234 - } // end for yyj3234 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41507,16 +44675,16 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3243 int - var yyb3243 bool - var yyhl3243 bool = l >= 0 - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + var yyj14 int + var yyb14 bool + var yyhl14 bool = l >= 0 + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb3243 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb3243 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41524,15 +44692,16 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = NodeConditionType(r.DecodeString()) + yyv15 := &x.Type + yyv15.CodecDecodeSelf(d) } - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb3243 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb3243 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41540,15 +44709,16 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = ConditionStatus(r.DecodeString()) + yyv16 := &x.Status + yyv16.CodecDecodeSelf(d) } - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb3243 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb3243 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41556,26 +44726,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_v1.Time{} } else { - yyv3246 := &x.LastHeartbeatTime - yym3247 := z.DecBinary() - _ = yym3247 + yyv17 := &x.LastHeartbeatTime + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv3246) { - } else if yym3247 { - z.DecBinaryUnmarshal(yyv3246) - } else if !yym3247 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3246) + } else if z.HasExtensions() && z.DecExt(yyv17) { + } else if yym18 { + z.DecBinaryUnmarshal(yyv17) + } else if !yym18 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv17) } else { - z.DecFallback(yyv3246, false) + z.DecFallback(yyv17, false) } } - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb3243 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb3243 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41583,26 +44753,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_v1.Time{} } else { - yyv3248 := &x.LastTransitionTime - yym3249 := z.DecBinary() - _ = yym3249 + yyv19 := &x.LastTransitionTime + yym20 := z.DecBinary() + _ = yym20 if false { - } else if z.HasExtensions() && z.DecExt(yyv3248) { - } else if yym3249 { - z.DecBinaryUnmarshal(yyv3248) - } else if !yym3249 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3248) + } else if z.HasExtensions() && z.DecExt(yyv19) { + } else if yym20 { + z.DecBinaryUnmarshal(yyv19) + } else if !yym20 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv19) } else { - z.DecFallback(yyv3248, false) + z.DecFallback(yyv19, false) } } - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb3243 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb3243 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41610,15 +44780,21 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv21 := &x.Reason + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb3243 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb3243 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41626,20 +44802,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv23 := &x.Message + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*string)(yyv23)) = r.DecodeString() + } } for { - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb3243 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb3243 { + if yyb14 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3243-1, "") + z.DecStructFieldNotFound(yyj14-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41648,8 +44830,8 @@ func (x NodeAddressType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3252 := z.EncBinary() - _ = yym3252 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41661,8 +44843,8 @@ func (x *NodeAddressType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3253 := z.DecBinary() - _ = yym3253 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41677,30 +44859,30 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3254 := z.EncBinary() - _ = yym3254 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3255 := !z.EncBinary() - yy2arr3255 := z.EncBasicHandle().StructToArray - var yyq3255 [2]bool - _, _, _ = yysep3255, yyq3255, yy2arr3255 - const yyr3255 bool = false - var yynn3255 int - if yyr3255 || yy2arr3255 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn3255 = 2 - for _, b := range yyq3255 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn3255++ + yynn2++ } } - r.EncodeMapStart(yynn3255) - yynn3255 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3255 || yy2arr3255 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -41709,10 +44891,10 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr3255 || yy2arr3255 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3258 := z.EncBinary() - _ = yym3258 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -41721,14 +44903,14 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3259 := z.EncBinary() - _ = yym3259 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr3255 || yy2arr3255 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41741,25 +44923,25 @@ func (x *NodeAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3260 := z.DecBinary() - _ = yym3260 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3261 := r.ContainerType() - if yyct3261 == codecSelferValueTypeMap1234 { - yyl3261 := r.ReadMapStart() - if yyl3261 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3261, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3261 == codecSelferValueTypeArray1234 { - yyl3261 := r.ReadArrayStart() - if yyl3261 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3261, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41771,12 +44953,12 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3262Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3262Slc - var yyhl3262 bool = l >= 0 - for yyj3262 := 0; ; yyj3262++ { - if yyhl3262 { - if yyj3262 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -41785,26 +44967,33 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3262Slc = r.DecodeBytes(yys3262Slc, true, true) - yys3262 := string(yys3262Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3262 { + switch yys3 { case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = NodeAddressType(r.DecodeString()) + yyv4 := &x.Type + yyv4.CodecDecodeSelf(d) } case "address": if r.TryDecodeAsNil() { x.Address = "" } else { - x.Address = string(r.DecodeString()) + yyv5 := &x.Address + yym6 := z.DecBinary() + _ = yym6 + if false { + } else { + *((*string)(yyv5)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys3262) - } // end switch yys3262 - } // end for yyj3262 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41812,16 +45001,16 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3265 int - var yyb3265 bool - var yyhl3265 bool = l >= 0 - yyj3265++ - if yyhl3265 { - yyb3265 = yyj3265 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb3265 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb3265 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41829,15 +45018,16 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = NodeAddressType(r.DecodeString()) + yyv8 := &x.Type + yyv8.CodecDecodeSelf(d) } - yyj3265++ - if yyhl3265 { - yyb3265 = yyj3265 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb3265 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb3265 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41845,20 +45035,26 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Address = "" } else { - x.Address = string(r.DecodeString()) + yyv9 := &x.Address + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } for { - yyj3265++ - if yyhl3265 { - yyb3265 = yyj3265 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb3265 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb3265 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3265-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41867,8 +45063,8 @@ func (x ResourceName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3268 := z.EncBinary() - _ = yym3268 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41880,8 +45076,8 @@ func (x *ResourceName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3269 := z.DecBinary() - _ = yym3269 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41896,8 +45092,8 @@ func (x ResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3270 := z.EncBinary() - _ = yym3270 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41910,8 +45106,8 @@ func (x *ResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3271 := z.DecBinary() - _ = yym3271 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41926,39 +45122,39 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3272 := z.EncBinary() - _ = yym3272 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3273 := !z.EncBinary() - yy2arr3273 := z.EncBasicHandle().StructToArray - var yyq3273 [5]bool - _, _, _ = yysep3273, yyq3273, yy2arr3273 - const yyr3273 bool = false - yyq3273[0] = x.Kind != "" - yyq3273[1] = x.APIVersion != "" - yyq3273[2] = true - yyq3273[3] = true - yyq3273[4] = true - var yynn3273 int - if yyr3273 || yy2arr3273 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn3273 = 0 - for _, b := range yyq3273 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3273++ + yynn2++ } } - r.EncodeMapStart(yynn3273) - yynn3273 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3273 || yy2arr3273 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3273[0] { - yym3275 := z.EncBinary() - _ = yym3275 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -41967,23 +45163,23 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3273[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3276 := z.EncBinary() - _ = yym3276 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3273 || yy2arr3273 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3273[1] { - yym3278 := z.EncBinary() - _ = yym3278 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -41992,70 +45188,70 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3273[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3279 := z.EncBinary() - _ = yym3279 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3273 || yy2arr3273 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3273[2] { - yy3281 := &x.ObjectMeta - yy3281.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3273[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3282 := &x.ObjectMeta - yy3282.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr3273 || yy2arr3273 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3273[3] { - yy3284 := &x.Spec - yy3284.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3273[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3285 := &x.Spec - yy3285.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr3273 || yy2arr3273 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3273[4] { - yy3287 := &x.Status - yy3287.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3273[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3288 := &x.Status - yy3288.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr3273 || yy2arr3273 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42068,25 +45264,25 @@ func (x *Node) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3289 := z.DecBinary() - _ = yym3289 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3290 := r.ContainerType() - if yyct3290 == codecSelferValueTypeMap1234 { - yyl3290 := r.ReadMapStart() - if yyl3290 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3290, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3290 == codecSelferValueTypeArray1234 { - yyl3290 := r.ReadArrayStart() - if yyl3290 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3290, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42098,12 +45294,12 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3291Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3291Slc - var yyhl3291 bool = l >= 0 - for yyj3291 := 0; ; yyj3291++ { - if yyhl3291 { - if yyj3291 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -42112,47 +45308,59 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3291Slc = r.DecodeBytes(yys3291Slc, true, true) - yys3291 := string(yys3291Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3291 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3294 := &x.ObjectMeta - yyv3294.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NodeSpec{} } else { - yyv3295 := &x.Spec - yyv3295.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = NodeStatus{} } else { - yyv3296 := &x.Status - yyv3296.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3291) - } // end switch yys3291 - } // end for yyj3291 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42160,16 +45368,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3297 int - var yyb3297 bool - var yyhl3297 bool = l >= 0 - yyj3297++ - if yyhl3297 { - yyb3297 = yyj3297 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3297 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3297 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42177,15 +45385,21 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj3297++ - if yyhl3297 { - yyb3297 = yyj3297 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3297 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3297 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42193,15 +45407,21 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj3297++ - if yyhl3297 { - yyb3297 = yyj3297 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3297 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3297 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42209,16 +45429,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3300 := &x.ObjectMeta - yyv3300.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj3297++ - if yyhl3297 { - yyb3297 = yyj3297 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3297 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3297 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42226,16 +45446,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NodeSpec{} } else { - yyv3301 := &x.Spec - yyv3301.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj3297++ - if yyhl3297 { - yyb3297 = yyj3297 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3297 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3297 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42243,21 +45463,21 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = NodeStatus{} } else { - yyv3302 := &x.Status - yyv3302.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj3297++ - if yyhl3297 { - yyb3297 = yyj3297 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3297 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3297 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3297-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42269,37 +45489,37 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3303 := z.EncBinary() - _ = yym3303 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3304 := !z.EncBinary() - yy2arr3304 := z.EncBasicHandle().StructToArray - var yyq3304 [4]bool - _, _, _ = yysep3304, yyq3304, yy2arr3304 - const yyr3304 bool = false - yyq3304[0] = x.Kind != "" - yyq3304[1] = x.APIVersion != "" - yyq3304[2] = true - var yynn3304 int - if yyr3304 || yy2arr3304 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn3304 = 1 - for _, b := range yyq3304 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn3304++ + yynn2++ } } - r.EncodeMapStart(yynn3304) - yynn3304 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3304 || yy2arr3304 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3304[0] { - yym3306 := z.EncBinary() - _ = yym3306 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42308,23 +45528,23 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3304[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3307 := z.EncBinary() - _ = yym3307 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3304 || yy2arr3304 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3304[1] { - yym3309 := z.EncBinary() - _ = yym3309 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -42333,54 +45553,54 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3304[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3310 := z.EncBinary() - _ = yym3310 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3304 || yy2arr3304 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3304[2] { - yy3312 := &x.ListMeta - yym3313 := z.EncBinary() - _ = yym3313 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy3312) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy3312) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq3304[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3314 := &x.ListMeta - yym3315 := z.EncBinary() - _ = yym3315 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy3314) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy3314) + z.EncFallback(yy12) } } } - if yyr3304 || yy2arr3304 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3317 := z.EncBinary() - _ = yym3317 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceNode(([]Node)(x.Items), e) @@ -42393,15 +45613,15 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3318 := z.EncBinary() - _ = yym3318 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceNode(([]Node)(x.Items), e) } } } - if yyr3304 || yy2arr3304 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42414,25 +45634,25 @@ func (x *NodeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3319 := z.DecBinary() - _ = yym3319 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3320 := r.ContainerType() - if yyct3320 == codecSelferValueTypeMap1234 { - yyl3320 := r.ReadMapStart() - if yyl3320 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3320, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3320 == codecSelferValueTypeArray1234 { - yyl3320 := r.ReadArrayStart() - if yyl3320 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3320, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42444,12 +45664,12 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3321Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3321Slc - var yyhl3321 bool = l >= 0 - for yyj3321 := 0; ; yyj3321++ { - if yyhl3321 { - if yyj3321 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -42458,51 +45678,63 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3321Slc = r.DecodeBytes(yys3321Slc, true, true) - yys3321 := string(yys3321Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3321 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv3324 := &x.ListMeta - yym3325 := z.DecBinary() - _ = yym3325 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv3324) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv3324, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3326 := &x.Items - yym3327 := z.DecBinary() - _ = yym3327 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceNode((*[]Node)(yyv3326), d) + h.decSliceNode((*[]Node)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys3321) - } // end switch yys3321 - } // end for yyj3321 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42510,16 +45742,16 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3328 int - var yyb3328 bool - var yyhl3328 bool = l >= 0 - yyj3328++ - if yyhl3328 { - yyb3328 = yyj3328 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3328 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3328 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42527,15 +45759,21 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj3328++ - if yyhl3328 { - yyb3328 = yyj3328 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3328 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3328 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42543,15 +45781,21 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj3328++ - if yyhl3328 { - yyb3328 = yyj3328 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3328 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3328 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42559,22 +45803,22 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv3331 := &x.ListMeta - yym3332 := z.DecBinary() - _ = yym3332 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv3331) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv3331, false) + z.DecFallback(yyv17, false) } } - yyj3328++ - if yyhl3328 { - yyb3328 = yyj3328 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3328 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3328 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42582,26 +45826,26 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3333 := &x.Items - yym3334 := z.DecBinary() - _ = yym3334 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceNode((*[]Node)(yyv3333), d) + h.decSliceNode((*[]Node)(yyv19), d) } } for { - yyj3328++ - if yyhl3328 { - yyb3328 = yyj3328 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3328 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3328 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3328-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42610,8 +45854,8 @@ func (x FinalizerName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3335 := z.EncBinary() - _ = yym3335 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -42623,8 +45867,8 @@ func (x *FinalizerName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3336 := z.DecBinary() - _ = yym3336 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -42639,38 +45883,38 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3337 := z.EncBinary() - _ = yym3337 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3338 := !z.EncBinary() - yy2arr3338 := z.EncBasicHandle().StructToArray - var yyq3338 [1]bool - _, _, _ = yysep3338, yyq3338, yy2arr3338 - const yyr3338 bool = false - yyq3338[0] = len(x.Finalizers) != 0 - var yynn3338 int - if yyr3338 || yy2arr3338 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Finalizers) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn3338 = 0 - for _, b := range yyq3338 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3338++ + yynn2++ } } - r.EncodeMapStart(yynn3338) - yynn3338 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3338 || yy2arr3338 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3338[0] { + if yyq2[0] { if x.Finalizers == nil { r.EncodeNil() } else { - yym3340 := z.EncBinary() - _ = yym3340 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) @@ -42680,15 +45924,15 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3338[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finalizers")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Finalizers == nil { r.EncodeNil() } else { - yym3341 := z.EncBinary() - _ = yym3341 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) @@ -42696,7 +45940,7 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3338 || yy2arr3338 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42709,25 +45953,25 @@ func (x *NamespaceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3342 := z.DecBinary() - _ = yym3342 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3343 := r.ContainerType() - if yyct3343 == codecSelferValueTypeMap1234 { - yyl3343 := r.ReadMapStart() - if yyl3343 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3343, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3343 == codecSelferValueTypeArray1234 { - yyl3343 := r.ReadArrayStart() - if yyl3343 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3343, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42739,12 +45983,12 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3344Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3344Slc - var yyhl3344 bool = l >= 0 - for yyj3344 := 0; ; yyj3344++ { - if yyhl3344 { - if yyj3344 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -42753,26 +45997,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3344Slc = r.DecodeBytes(yys3344Slc, true, true) - yys3344 := string(yys3344Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3344 { + switch yys3 { case "finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv3345 := &x.Finalizers - yym3346 := z.DecBinary() - _ = yym3346 + yyv4 := &x.Finalizers + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv3345), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv4), d) } } default: - z.DecStructFieldNotFound(-1, yys3344) - } // end switch yys3344 - } // end for yyj3344 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42780,16 +46024,16 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3347 int - var yyb3347 bool - var yyhl3347 bool = l >= 0 - yyj3347++ - if yyhl3347 { - yyb3347 = yyj3347 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb3347 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb3347 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42797,26 +46041,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv3348 := &x.Finalizers - yym3349 := z.DecBinary() - _ = yym3349 + yyv7 := &x.Finalizers + yym8 := z.DecBinary() + _ = yym8 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv3348), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv7), d) } } for { - yyj3347++ - if yyhl3347 { - yyb3347 = yyj3347 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb3347 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb3347 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3347-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42828,46 +46072,46 @@ func (x *NamespaceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3350 := z.EncBinary() - _ = yym3350 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3351 := !z.EncBinary() - yy2arr3351 := z.EncBasicHandle().StructToArray - var yyq3351 [1]bool - _, _, _ = yysep3351, yyq3351, yy2arr3351 - const yyr3351 bool = false - yyq3351[0] = x.Phase != "" - var yynn3351 int - if yyr3351 || yy2arr3351 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Phase != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn3351 = 0 - for _, b := range yyq3351 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3351++ + yynn2++ } } - r.EncodeMapStart(yynn3351) - yynn3351 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3351 || yy2arr3351 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3351[0] { + if yyq2[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3351[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr3351 || yy2arr3351 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42880,25 +46124,25 @@ func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3353 := z.DecBinary() - _ = yym3353 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3354 := r.ContainerType() - if yyct3354 == codecSelferValueTypeMap1234 { - yyl3354 := r.ReadMapStart() - if yyl3354 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3354, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3354 == codecSelferValueTypeArray1234 { - yyl3354 := r.ReadArrayStart() - if yyl3354 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3354, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42910,12 +46154,12 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3355Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3355Slc - var yyhl3355 bool = l >= 0 - for yyj3355 := 0; ; yyj3355++ { - if yyhl3355 { - if yyj3355 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -42924,20 +46168,21 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3355Slc = r.DecodeBytes(yys3355Slc, true, true) - yys3355 := string(yys3355Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3355 { + switch yys3 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" } else { - x.Phase = NamespacePhase(r.DecodeString()) + yyv4 := &x.Phase + yyv4.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3355) - } // end switch yys3355 - } // end for yyj3355 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42945,16 +46190,16 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3357 int - var yyb3357 bool - var yyhl3357 bool = l >= 0 - yyj3357++ - if yyhl3357 { - yyb3357 = yyj3357 > l + var yyj5 int + var yyb5 bool + var yyhl5 bool = l >= 0 + yyj5++ + if yyhl5 { + yyb5 = yyj5 > l } else { - yyb3357 = r.CheckBreak() + yyb5 = r.CheckBreak() } - if yyb3357 { + if yyb5 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42962,20 +46207,21 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Phase = "" } else { - x.Phase = NamespacePhase(r.DecodeString()) + yyv6 := &x.Phase + yyv6.CodecDecodeSelf(d) } for { - yyj3357++ - if yyhl3357 { - yyb3357 = yyj3357 > l + yyj5++ + if yyhl5 { + yyb5 = yyj5 > l } else { - yyb3357 = r.CheckBreak() + yyb5 = r.CheckBreak() } - if yyb3357 { + if yyb5 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3357-1, "") + z.DecStructFieldNotFound(yyj5-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42984,8 +46230,8 @@ func (x NamespacePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3359 := z.EncBinary() - _ = yym3359 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -42997,8 +46243,8 @@ func (x *NamespacePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3360 := z.DecBinary() - _ = yym3360 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -43013,39 +46259,39 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3361 := z.EncBinary() - _ = yym3361 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3362 := !z.EncBinary() - yy2arr3362 := z.EncBasicHandle().StructToArray - var yyq3362 [5]bool - _, _, _ = yysep3362, yyq3362, yy2arr3362 - const yyr3362 bool = false - yyq3362[0] = x.Kind != "" - yyq3362[1] = x.APIVersion != "" - yyq3362[2] = true - yyq3362[3] = true - yyq3362[4] = true - var yynn3362 int - if yyr3362 || yy2arr3362 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn3362 = 0 - for _, b := range yyq3362 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3362++ + yynn2++ } } - r.EncodeMapStart(yynn3362) - yynn3362 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3362 || yy2arr3362 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[0] { - yym3364 := z.EncBinary() - _ = yym3364 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43054,23 +46300,23 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3362[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3365 := z.EncBinary() - _ = yym3365 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3362 || yy2arr3362 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[1] { - yym3367 := z.EncBinary() - _ = yym3367 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43079,70 +46325,70 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3362[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3368 := z.EncBinary() - _ = yym3368 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3362 || yy2arr3362 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[2] { - yy3370 := &x.ObjectMeta - yy3370.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3362[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3371 := &x.ObjectMeta - yy3371.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr3362 || yy2arr3362 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[3] { - yy3373 := &x.Spec - yy3373.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3362[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3374 := &x.Spec - yy3374.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr3362 || yy2arr3362 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3362[4] { - yy3376 := &x.Status - yy3376.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3362[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3377 := &x.Status - yy3377.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr3362 || yy2arr3362 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43155,25 +46401,25 @@ func (x *Namespace) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3378 := z.DecBinary() - _ = yym3378 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3379 := r.ContainerType() - if yyct3379 == codecSelferValueTypeMap1234 { - yyl3379 := r.ReadMapStart() - if yyl3379 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3379, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3379 == codecSelferValueTypeArray1234 { - yyl3379 := r.ReadArrayStart() - if yyl3379 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3379, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43185,12 +46431,12 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3380Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3380Slc - var yyhl3380 bool = l >= 0 - for yyj3380 := 0; ; yyj3380++ { - if yyhl3380 { - if yyj3380 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -43199,47 +46445,59 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3380Slc = r.DecodeBytes(yys3380Slc, true, true) - yys3380 := string(yys3380Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3380 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3383 := &x.ObjectMeta - yyv3383.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NamespaceSpec{} } else { - yyv3384 := &x.Spec - yyv3384.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = NamespaceStatus{} } else { - yyv3385 := &x.Status - yyv3385.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3380) - } // end switch yys3380 - } // end for yyj3380 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43247,16 +46505,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3386 int - var yyb3386 bool - var yyhl3386 bool = l >= 0 - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3386 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3386 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43264,15 +46522,21 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3386 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3386 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43280,15 +46544,21 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3386 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3386 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43296,16 +46566,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3389 := &x.ObjectMeta - yyv3389.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3386 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3386 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43313,16 +46583,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NamespaceSpec{} } else { - yyv3390 := &x.Spec - yyv3390.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3386 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3386 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43330,21 +46600,21 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = NamespaceStatus{} } else { - yyv3391 := &x.Status - yyv3391.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj3386++ - if yyhl3386 { - yyb3386 = yyj3386 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb3386 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb3386 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3386-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43356,37 +46626,37 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3392 := z.EncBinary() - _ = yym3392 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3393 := !z.EncBinary() - yy2arr3393 := z.EncBasicHandle().StructToArray - var yyq3393 [4]bool - _, _, _ = yysep3393, yyq3393, yy2arr3393 - const yyr3393 bool = false - yyq3393[0] = x.Kind != "" - yyq3393[1] = x.APIVersion != "" - yyq3393[2] = true - var yynn3393 int - if yyr3393 || yy2arr3393 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn3393 = 1 - for _, b := range yyq3393 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn3393++ + yynn2++ } } - r.EncodeMapStart(yynn3393) - yynn3393 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3393 || yy2arr3393 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3393[0] { - yym3395 := z.EncBinary() - _ = yym3395 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43395,23 +46665,23 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3393[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3396 := z.EncBinary() - _ = yym3396 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3393 || yy2arr3393 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3393[1] { - yym3398 := z.EncBinary() - _ = yym3398 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43420,54 +46690,54 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3393[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3399 := z.EncBinary() - _ = yym3399 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3393 || yy2arr3393 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3393[2] { - yy3401 := &x.ListMeta - yym3402 := z.EncBinary() - _ = yym3402 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy3401) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy3401) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq3393[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3403 := &x.ListMeta - yym3404 := z.EncBinary() - _ = yym3404 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy3403) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy3403) + z.EncFallback(yy12) } } } - if yyr3393 || yy2arr3393 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3406 := z.EncBinary() - _ = yym3406 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) @@ -43480,15 +46750,15 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3407 := z.EncBinary() - _ = yym3407 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) } } } - if yyr3393 || yy2arr3393 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43501,25 +46771,25 @@ func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3408 := z.DecBinary() - _ = yym3408 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3409 := r.ContainerType() - if yyct3409 == codecSelferValueTypeMap1234 { - yyl3409 := r.ReadMapStart() - if yyl3409 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3409, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3409 == codecSelferValueTypeArray1234 { - yyl3409 := r.ReadArrayStart() - if yyl3409 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3409, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43531,12 +46801,12 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3410Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3410Slc - var yyhl3410 bool = l >= 0 - for yyj3410 := 0; ; yyj3410++ { - if yyhl3410 { - if yyj3410 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -43545,51 +46815,63 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3410Slc = r.DecodeBytes(yys3410Slc, true, true) - yys3410 := string(yys3410Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3410 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv3413 := &x.ListMeta - yym3414 := z.DecBinary() - _ = yym3414 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv3413) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv3413, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3415 := &x.Items - yym3416 := z.DecBinary() - _ = yym3416 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv3415), d) + h.decSliceNamespace((*[]Namespace)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys3410) - } // end switch yys3410 - } // end for yyj3410 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43597,16 +46879,16 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3417 int - var yyb3417 bool - var yyhl3417 bool = l >= 0 - yyj3417++ - if yyhl3417 { - yyb3417 = yyj3417 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3417 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3417 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43614,15 +46896,21 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj3417++ - if yyhl3417 { - yyb3417 = yyj3417 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3417 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3417 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43630,15 +46918,21 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj3417++ - if yyhl3417 { - yyb3417 = yyj3417 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3417 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3417 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43646,22 +46940,22 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv3420 := &x.ListMeta - yym3421 := z.DecBinary() - _ = yym3421 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv3420) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv3420, false) + z.DecFallback(yyv17, false) } } - yyj3417++ - if yyhl3417 { - yyb3417 = yyj3417 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3417 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3417 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43669,26 +46963,26 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3422 := &x.Items - yym3423 := z.DecBinary() - _ = yym3423 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv3422), d) + h.decSliceNamespace((*[]Namespace)(yyv19), d) } } for { - yyj3417++ - if yyhl3417 { - yyb3417 = yyj3417 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3417 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3417 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3417-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43700,37 +46994,37 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3424 := z.EncBinary() - _ = yym3424 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3425 := !z.EncBinary() - yy2arr3425 := z.EncBasicHandle().StructToArray - var yyq3425 [4]bool - _, _, _ = yysep3425, yyq3425, yy2arr3425 - const yyr3425 bool = false - yyq3425[0] = x.Kind != "" - yyq3425[1] = x.APIVersion != "" - yyq3425[2] = true - var yynn3425 int - if yyr3425 || yy2arr3425 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn3425 = 1 - for _, b := range yyq3425 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn3425++ + yynn2++ } } - r.EncodeMapStart(yynn3425) - yynn3425 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3425 || yy2arr3425 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3425[0] { - yym3427 := z.EncBinary() - _ = yym3427 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43739,23 +47033,23 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3425[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3428 := z.EncBinary() - _ = yym3428 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3425 || yy2arr3425 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3425[1] { - yym3430 := z.EncBinary() - _ = yym3430 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43764,47 +47058,47 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3425[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3431 := z.EncBinary() - _ = yym3431 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3425 || yy2arr3425 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3425[2] { - yy3433 := &x.ObjectMeta - yy3433.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3425[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3434 := &x.ObjectMeta - yy3434.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr3425 || yy2arr3425 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3436 := &x.Target - yy3436.CodecEncodeSelf(e) + yy15 := &x.Target + yy15.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("target")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3437 := &x.Target - yy3437.CodecEncodeSelf(e) + yy17 := &x.Target + yy17.CodecEncodeSelf(e) } - if yyr3425 || yy2arr3425 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43817,25 +47111,25 @@ func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3438 := z.DecBinary() - _ = yym3438 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3439 := r.ContainerType() - if yyct3439 == codecSelferValueTypeMap1234 { - yyl3439 := r.ReadMapStart() - if yyl3439 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3439, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3439 == codecSelferValueTypeArray1234 { - yyl3439 := r.ReadArrayStart() - if yyl3439 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3439, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43847,12 +47141,12 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3440Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3440Slc - var yyhl3440 bool = l >= 0 - for yyj3440 := 0; ; yyj3440++ { - if yyhl3440 { - if yyj3440 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -43861,40 +47155,52 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3440Slc = r.DecodeBytes(yys3440Slc, true, true) - yys3440 := string(yys3440Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3440 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3443 := &x.ObjectMeta - yyv3443.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "target": if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv3444 := &x.Target - yyv3444.CodecDecodeSelf(d) + yyv9 := &x.Target + yyv9.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3440) - } // end switch yys3440 - } // end for yyj3440 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43902,16 +47208,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3445 int - var yyb3445 bool - var yyhl3445 bool = l >= 0 - yyj3445++ - if yyhl3445 { - yyb3445 = yyj3445 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3445 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3445 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43919,15 +47225,21 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv11 := &x.Kind + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj3445++ - if yyhl3445 { - yyb3445 = yyj3445 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3445 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3445 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43935,15 +47247,21 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv13 := &x.APIVersion + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj3445++ - if yyhl3445 { - yyb3445 = yyj3445 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3445 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3445 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43951,16 +47269,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3448 := &x.ObjectMeta - yyv3448.CodecDecodeSelf(d) + yyv15 := &x.ObjectMeta + yyv15.CodecDecodeSelf(d) } - yyj3445++ - if yyhl3445 { - yyb3445 = yyj3445 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3445 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3445 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43968,21 +47286,21 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv3449 := &x.Target - yyv3449.CodecDecodeSelf(d) + yyv16 := &x.Target + yyv16.CodecDecodeSelf(d) } for { - yyj3445++ - if yyhl3445 { - yyb3445 = yyj3445 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3445 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3445 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3445-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43994,68 +47312,68 @@ func (x *Preconditions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3450 := z.EncBinary() - _ = yym3450 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3451 := !z.EncBinary() - yy2arr3451 := z.EncBasicHandle().StructToArray - var yyq3451 [1]bool - _, _, _ = yysep3451, yyq3451, yy2arr3451 - const yyr3451 bool = false - yyq3451[0] = x.UID != nil - var yynn3451 int - if yyr3451 || yy2arr3451 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.UID != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn3451 = 0 - for _, b := range yyq3451 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3451++ + yynn2++ } } - r.EncodeMapStart(yynn3451) - yynn3451 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3451 || yy2arr3451 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3451[0] { + if yyq2[0] { if x.UID == nil { r.EncodeNil() } else { - yy3453 := *x.UID - yym3454 := z.EncBinary() - _ = yym3454 + yy4 := *x.UID + yym5 := z.EncBinary() + _ = yym5 if false { - } else if z.HasExtensions() && z.EncExt(yy3453) { + } else if z.HasExtensions() && z.EncExt(yy4) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy3453)) + r.EncodeString(codecSelferC_UTF81234, string(yy4)) } } } else { r.EncodeNil() } } else { - if yyq3451[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UID == nil { r.EncodeNil() } else { - yy3455 := *x.UID - yym3456 := z.EncBinary() - _ = yym3456 + yy6 := *x.UID + yym7 := z.EncBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.EncExt(yy3455) { + } else if z.HasExtensions() && z.EncExt(yy6) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy3455)) + r.EncodeString(codecSelferC_UTF81234, string(yy6)) } } } } - if yyr3451 || yy2arr3451 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44068,25 +47386,25 @@ func (x *Preconditions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3457 := z.DecBinary() - _ = yym3457 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3458 := r.ContainerType() - if yyct3458 == codecSelferValueTypeMap1234 { - yyl3458 := r.ReadMapStart() - if yyl3458 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3458, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3458 == codecSelferValueTypeArray1234 { - yyl3458 := r.ReadArrayStart() - if yyl3458 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3458, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44098,12 +47416,12 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3459Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3459Slc - var yyhl3459 bool = l >= 0 - for yyj3459 := 0; ; yyj3459++ { - if yyhl3459 { - if yyj3459 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -44112,10 +47430,10 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3459Slc = r.DecodeBytes(yys3459Slc, true, true) - yys3459 := string(yys3459Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3459 { + switch yys3 { case "uid": if r.TryDecodeAsNil() { if x.UID != nil { @@ -44125,8 +47443,8 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.UID == nil { x.UID = new(pkg1_types.UID) } - yym3461 := z.DecBinary() - _ = yym3461 + yym5 := z.DecBinary() + _ = yym5 if false { } else if z.HasExtensions() && z.DecExt(x.UID) { } else { @@ -44134,9 +47452,9 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } default: - z.DecStructFieldNotFound(-1, yys3459) - } // end switch yys3459 - } // end for yyj3459 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44144,16 +47462,16 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3462 int - var yyb3462 bool - var yyhl3462 bool = l >= 0 - yyj3462++ - if yyhl3462 { - yyb3462 = yyj3462 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb3462 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb3462 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44166,8 +47484,8 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.UID == nil { x.UID = new(pkg1_types.UID) } - yym3464 := z.DecBinary() - _ = yym3464 + yym8 := z.DecBinary() + _ = yym8 if false { } else if z.HasExtensions() && z.DecExt(x.UID) { } else { @@ -44175,17 +47493,17 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } for { - yyj3462++ - if yyhl3462 { - yyb3462 = yyj3462 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb3462 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb3462 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3462-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44197,39 +47515,39 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3465 := z.EncBinary() - _ = yym3465 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3466 := !z.EncBinary() - yy2arr3466 := z.EncBasicHandle().StructToArray - var yyq3466 [5]bool - _, _, _ = yysep3466, yyq3466, yy2arr3466 - const yyr3466 bool = false - yyq3466[0] = x.Kind != "" - yyq3466[1] = x.APIVersion != "" - yyq3466[2] = x.GracePeriodSeconds != nil - yyq3466[3] = x.Preconditions != nil - yyq3466[4] = x.OrphanDependents != nil - var yynn3466 int - if yyr3466 || yy2arr3466 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = x.GracePeriodSeconds != nil + yyq2[3] = x.Preconditions != nil + yyq2[4] = x.OrphanDependents != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn3466 = 0 - for _, b := range yyq3466 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3466++ + yynn2++ } } - r.EncodeMapStart(yynn3466) - yynn3466 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3466 || yy2arr3466 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3466[0] { - yym3468 := z.EncBinary() - _ = yym3468 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44238,23 +47556,23 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3466[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3469 := z.EncBinary() - _ = yym3469 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3466 || yy2arr3466 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3466[1] { - yym3471 := z.EncBinary() - _ = yym3471 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44263,56 +47581,56 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3466[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3472 := z.EncBinary() - _ = yym3472 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3466 || yy2arr3466 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3466[2] { + if yyq2[2] { if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy3474 := *x.GracePeriodSeconds - yym3475 := z.EncBinary() - _ = yym3475 + yy10 := *x.GracePeriodSeconds + yym11 := z.EncBinary() + _ = yym11 if false { } else { - r.EncodeInt(int64(yy3474)) + r.EncodeInt(int64(yy10)) } } } else { r.EncodeNil() } } else { - if yyq3466[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy3476 := *x.GracePeriodSeconds - yym3477 := z.EncBinary() - _ = yym3477 + yy12 := *x.GracePeriodSeconds + yym13 := z.EncBinary() + _ = yym13 if false { } else { - r.EncodeInt(int64(yy3476)) + r.EncodeInt(int64(yy12)) } } } } - if yyr3466 || yy2arr3466 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3466[3] { + if yyq2[3] { if x.Preconditions == nil { r.EncodeNil() } else { @@ -44322,7 +47640,7 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3466[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preconditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -44333,42 +47651,42 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3466 || yy2arr3466 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3466[4] { + if yyq2[4] { if x.OrphanDependents == nil { r.EncodeNil() } else { - yy3480 := *x.OrphanDependents - yym3481 := z.EncBinary() - _ = yym3481 + yy18 := *x.OrphanDependents + yym19 := z.EncBinary() + _ = yym19 if false { } else { - r.EncodeBool(bool(yy3480)) + r.EncodeBool(bool(yy18)) } } } else { r.EncodeNil() } } else { - if yyq3466[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("orphanDependents")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.OrphanDependents == nil { r.EncodeNil() } else { - yy3482 := *x.OrphanDependents - yym3483 := z.EncBinary() - _ = yym3483 + yy20 := *x.OrphanDependents + yym21 := z.EncBinary() + _ = yym21 if false { } else { - r.EncodeBool(bool(yy3482)) + r.EncodeBool(bool(yy20)) } } } } - if yyr3466 || yy2arr3466 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44381,25 +47699,25 @@ func (x *DeleteOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3484 := z.DecBinary() - _ = yym3484 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3485 := r.ContainerType() - if yyct3485 == codecSelferValueTypeMap1234 { - yyl3485 := r.ReadMapStart() - if yyl3485 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3485, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3485 == codecSelferValueTypeArray1234 { - yyl3485 := r.ReadArrayStart() - if yyl3485 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3485, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44411,12 +47729,12 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3486Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3486Slc - var yyhl3486 bool = l >= 0 - for yyj3486 := 0; ; yyj3486++ { - if yyhl3486 { - if yyj3486 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -44425,21 +47743,33 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3486Slc = r.DecodeBytes(yys3486Slc, true, true) - yys3486 := string(yys3486Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3486 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "gracePeriodSeconds": if r.TryDecodeAsNil() { @@ -44450,8 +47780,8 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym3490 := z.DecBinary() - _ = yym3490 + yym9 := z.DecBinary() + _ = yym9 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -44477,17 +47807,17 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.OrphanDependents == nil { x.OrphanDependents = new(bool) } - yym3493 := z.DecBinary() - _ = yym3493 + yym12 := z.DecBinary() + _ = yym12 if false { } else { *((*bool)(x.OrphanDependents)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3486) - } // end switch yys3486 - } // end for yyj3486 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44495,16 +47825,16 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3494 int - var yyb3494 bool - var yyhl3494 bool = l >= 0 - yyj3494++ - if yyhl3494 { - yyb3494 = yyj3494 > l + var yyj13 int + var yyb13 bool + var yyhl13 bool = l >= 0 + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb3494 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb3494 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44512,15 +47842,21 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv14 := &x.Kind + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj3494++ - if yyhl3494 { - yyb3494 = yyj3494 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb3494 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb3494 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44528,15 +47864,21 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv16 := &x.APIVersion + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } - yyj3494++ - if yyhl3494 { - yyb3494 = yyj3494 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb3494 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb3494 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44549,20 +47891,20 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym3498 := z.DecBinary() - _ = yym3498 + yym19 := z.DecBinary() + _ = yym19 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj3494++ - if yyhl3494 { - yyb3494 = yyj3494 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb3494 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb3494 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44577,13 +47919,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Preconditions.CodecDecodeSelf(d) } - yyj3494++ - if yyhl3494 { - yyb3494 = yyj3494 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb3494 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb3494 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44596,25 +47938,25 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.OrphanDependents == nil { x.OrphanDependents = new(bool) } - yym3501 := z.DecBinary() - _ = yym3501 + yym22 := z.DecBinary() + _ = yym22 if false { } else { *((*bool)(x.OrphanDependents)) = r.DecodeBool() } } for { - yyj3494++ - if yyhl3494 { - yyb3494 = yyj3494 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb3494 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb3494 { + if yyb13 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3494-1, "") + z.DecStructFieldNotFound(yyj13-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44626,41 +47968,41 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3502 := z.EncBinary() - _ = yym3502 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3503 := !z.EncBinary() - yy2arr3503 := z.EncBasicHandle().StructToArray - var yyq3503 [7]bool - _, _, _ = yysep3503, yyq3503, yy2arr3503 - const yyr3503 bool = false - yyq3503[0] = x.Kind != "" - yyq3503[1] = x.APIVersion != "" - yyq3503[2] = x.LabelSelector != "" - yyq3503[3] = x.FieldSelector != "" - yyq3503[4] = x.Watch != false - yyq3503[5] = x.ResourceVersion != "" - yyq3503[6] = x.TimeoutSeconds != nil - var yynn3503 int - if yyr3503 || yy2arr3503 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [7]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = x.LabelSelector != "" + yyq2[3] = x.FieldSelector != "" + yyq2[4] = x.Watch != false + yyq2[5] = x.ResourceVersion != "" + yyq2[6] = x.TimeoutSeconds != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(7) } else { - yynn3503 = 0 - for _, b := range yyq3503 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3503++ + yynn2++ } } - r.EncodeMapStart(yynn3503) - yynn3503 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3503 || yy2arr3503 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3503[0] { - yym3505 := z.EncBinary() - _ = yym3505 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44669,23 +48011,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3503[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3506 := z.EncBinary() - _ = yym3506 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3503 || yy2arr3503 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3503[1] { - yym3508 := z.EncBinary() - _ = yym3508 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44694,23 +48036,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3503[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3509 := z.EncBinary() - _ = yym3509 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3503 || yy2arr3503 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3503[2] { - yym3511 := z.EncBinary() - _ = yym3511 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) @@ -44719,23 +48061,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3503[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3512 := z.EncBinary() - _ = yym3512 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) } } } - if yyr3503 || yy2arr3503 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3503[3] { - yym3514 := z.EncBinary() - _ = yym3514 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) @@ -44744,23 +48086,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3503[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3515 := z.EncBinary() - _ = yym3515 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) } } } - if yyr3503 || yy2arr3503 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3503[4] { - yym3517 := z.EncBinary() - _ = yym3517 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeBool(bool(x.Watch)) @@ -44769,23 +48111,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3503[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3518 := z.EncBinary() - _ = yym3518 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeBool(bool(x.Watch)) } } } - if yyr3503 || yy2arr3503 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3503[5] { - yym3520 := z.EncBinary() - _ = yym3520 + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -44794,54 +48136,54 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3503[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3521 := z.EncBinary() - _ = yym3521 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr3503 || yy2arr3503 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3503[6] { + if yyq2[6] { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy3523 := *x.TimeoutSeconds - yym3524 := z.EncBinary() - _ = yym3524 + yy22 := *x.TimeoutSeconds + yym23 := z.EncBinary() + _ = yym23 if false { } else { - r.EncodeInt(int64(yy3523)) + r.EncodeInt(int64(yy22)) } } } else { r.EncodeNil() } } else { - if yyq3503[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy3525 := *x.TimeoutSeconds - yym3526 := z.EncBinary() - _ = yym3526 + yy24 := *x.TimeoutSeconds + yym25 := z.EncBinary() + _ = yym25 if false { } else { - r.EncodeInt(int64(yy3525)) + r.EncodeInt(int64(yy24)) } } } } - if yyr3503 || yy2arr3503 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44854,25 +48196,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3527 := z.DecBinary() - _ = yym3527 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3528 := r.ContainerType() - if yyct3528 == codecSelferValueTypeMap1234 { - yyl3528 := r.ReadMapStart() - if yyl3528 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3528, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3528 == codecSelferValueTypeArray1234 { - yyl3528 := r.ReadArrayStart() - if yyl3528 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3528, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44884,12 +48226,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3529Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3529Slc - var yyhl3529 bool = l >= 0 - for yyj3529 := 0; ; yyj3529++ { - if yyhl3529 { - if yyj3529 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -44898,45 +48240,81 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3529Slc = r.DecodeBytes(yys3529Slc, true, true) - yys3529 := string(yys3529Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3529 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "labelSelector": if r.TryDecodeAsNil() { x.LabelSelector = "" } else { - x.LabelSelector = string(r.DecodeString()) + yyv8 := &x.LabelSelector + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "fieldSelector": if r.TryDecodeAsNil() { x.FieldSelector = "" } else { - x.FieldSelector = string(r.DecodeString()) + yyv10 := &x.FieldSelector + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "watch": if r.TryDecodeAsNil() { x.Watch = false } else { - x.Watch = bool(r.DecodeBool()) + yyv12 := &x.Watch + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*bool)(yyv12)) = r.DecodeBool() + } } case "resourceVersion": if r.TryDecodeAsNil() { x.ResourceVersion = "" } else { - x.ResourceVersion = string(r.DecodeString()) + yyv14 := &x.ResourceVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } case "timeoutSeconds": if r.TryDecodeAsNil() { @@ -44947,17 +48325,17 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym3537 := z.DecBinary() - _ = yym3537 + yym17 := z.DecBinary() + _ = yym17 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys3529) - } // end switch yys3529 - } // end for yyj3529 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44965,16 +48343,16 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3538 int - var yyb3538 bool - var yyhl3538 bool = l >= 0 - yyj3538++ - if yyhl3538 { - yyb3538 = yyj3538 > l + var yyj18 int + var yyb18 bool + var yyhl18 bool = l >= 0 + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3538 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3538 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44982,15 +48360,21 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv19 := &x.Kind + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } - yyj3538++ - if yyhl3538 { - yyb3538 = yyj3538 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3538 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3538 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44998,15 +48382,21 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv21 := &x.APIVersion + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } - yyj3538++ - if yyhl3538 { - yyb3538 = yyj3538 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3538 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3538 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45014,15 +48404,21 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LabelSelector = "" } else { - x.LabelSelector = string(r.DecodeString()) + yyv23 := &x.LabelSelector + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*string)(yyv23)) = r.DecodeString() + } } - yyj3538++ - if yyhl3538 { - yyb3538 = yyj3538 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3538 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3538 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45030,15 +48426,21 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FieldSelector = "" } else { - x.FieldSelector = string(r.DecodeString()) + yyv25 := &x.FieldSelector + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*string)(yyv25)) = r.DecodeString() + } } - yyj3538++ - if yyhl3538 { - yyb3538 = yyj3538 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3538 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3538 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45046,15 +48448,21 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Watch = false } else { - x.Watch = bool(r.DecodeBool()) + yyv27 := &x.Watch + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*bool)(yyv27)) = r.DecodeBool() + } } - yyj3538++ - if yyhl3538 { - yyb3538 = yyj3538 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3538 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3538 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45062,15 +48470,21 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ResourceVersion = "" } else { - x.ResourceVersion = string(r.DecodeString()) + yyv29 := &x.ResourceVersion + yym30 := z.DecBinary() + _ = yym30 + if false { + } else { + *((*string)(yyv29)) = r.DecodeString() + } } - yyj3538++ - if yyhl3538 { - yyb3538 = yyj3538 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3538 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3538 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45083,25 +48497,25 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym3546 := z.DecBinary() - _ = yym3546 + yym32 := z.DecBinary() + _ = yym32 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } for { - yyj3538++ - if yyhl3538 { - yyb3538 = yyj3538 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3538 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3538 { + if yyb18 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3538-1, "") + z.DecStructFieldNotFound(yyj18-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45113,44 +48527,44 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3547 := z.EncBinary() - _ = yym3547 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3548 := !z.EncBinary() - yy2arr3548 := z.EncBasicHandle().StructToArray - var yyq3548 [10]bool - _, _, _ = yysep3548, yyq3548, yy2arr3548 - const yyr3548 bool = false - yyq3548[0] = x.Kind != "" - yyq3548[1] = x.APIVersion != "" - yyq3548[2] = x.Container != "" - yyq3548[3] = x.Follow != false - yyq3548[4] = x.Previous != false - yyq3548[5] = x.SinceSeconds != nil - yyq3548[6] = x.SinceTime != nil - yyq3548[7] = x.Timestamps != false - yyq3548[8] = x.TailLines != nil - yyq3548[9] = x.LimitBytes != nil - var yynn3548 int - if yyr3548 || yy2arr3548 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [10]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = x.Container != "" + yyq2[3] = x.Follow != false + yyq2[4] = x.Previous != false + yyq2[5] = x.SinceSeconds != nil + yyq2[6] = x.SinceTime != nil + yyq2[7] = x.Timestamps != false + yyq2[8] = x.TailLines != nil + yyq2[9] = x.LimitBytes != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(10) } else { - yynn3548 = 0 - for _, b := range yyq3548 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3548++ + yynn2++ } } - r.EncodeMapStart(yynn3548) - yynn3548 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3548 || yy2arr3548 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3548[0] { - yym3550 := z.EncBinary() - _ = yym3550 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45159,23 +48573,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3548[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3551 := z.EncBinary() - _ = yym3551 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3548 || yy2arr3548 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3548[1] { - yym3553 := z.EncBinary() - _ = yym3553 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -45184,23 +48598,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3548[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3554 := z.EncBinary() - _ = yym3554 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3548 || yy2arr3548 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3548[2] { - yym3556 := z.EncBinary() - _ = yym3556 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -45209,23 +48623,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3548[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3557 := z.EncBinary() - _ = yym3557 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr3548 || yy2arr3548 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3548[3] { - yym3559 := z.EncBinary() - _ = yym3559 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeBool(bool(x.Follow)) @@ -45234,23 +48648,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3548[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("follow")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3560 := z.EncBinary() - _ = yym3560 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeBool(bool(x.Follow)) } } } - if yyr3548 || yy2arr3548 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3548[4] { - yym3562 := z.EncBinary() - _ = yym3562 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeBool(bool(x.Previous)) @@ -45259,66 +48673,66 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3548[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("previous")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3563 := z.EncBinary() - _ = yym3563 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeBool(bool(x.Previous)) } } } - if yyr3548 || yy2arr3548 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3548[5] { + if yyq2[5] { if x.SinceSeconds == nil { r.EncodeNil() } else { - yy3565 := *x.SinceSeconds - yym3566 := z.EncBinary() - _ = yym3566 + yy19 := *x.SinceSeconds + yym20 := z.EncBinary() + _ = yym20 if false { } else { - r.EncodeInt(int64(yy3565)) + r.EncodeInt(int64(yy19)) } } } else { r.EncodeNil() } } else { - if yyq3548[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sinceSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SinceSeconds == nil { r.EncodeNil() } else { - yy3567 := *x.SinceSeconds - yym3568 := z.EncBinary() - _ = yym3568 + yy21 := *x.SinceSeconds + yym22 := z.EncBinary() + _ = yym22 if false { } else { - r.EncodeInt(int64(yy3567)) + r.EncodeInt(int64(yy21)) } } } } - if yyr3548 || yy2arr3548 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3548[6] { + if yyq2[6] { if x.SinceTime == nil { r.EncodeNil() } else { - yym3570 := z.EncBinary() - _ = yym3570 + yym24 := z.EncBinary() + _ = yym24 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym3570 { + } else if yym24 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym3570 && z.IsJSONHandle() { + } else if !yym24 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -45328,20 +48742,20 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3548[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sinceTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SinceTime == nil { r.EncodeNil() } else { - yym3571 := z.EncBinary() - _ = yym3571 + yym25 := z.EncBinary() + _ = yym25 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym3571 { + } else if yym25 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym3571 && z.IsJSONHandle() { + } else if !yym25 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -45349,11 +48763,11 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3548 || yy2arr3548 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3548[7] { - yym3573 := z.EncBinary() - _ = yym3573 + if yyq2[7] { + yym27 := z.EncBinary() + _ = yym27 if false { } else { r.EncodeBool(bool(x.Timestamps)) @@ -45362,89 +48776,89 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3548[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timestamps")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3574 := z.EncBinary() - _ = yym3574 + yym28 := z.EncBinary() + _ = yym28 if false { } else { r.EncodeBool(bool(x.Timestamps)) } } } - if yyr3548 || yy2arr3548 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3548[8] { + if yyq2[8] { if x.TailLines == nil { r.EncodeNil() } else { - yy3576 := *x.TailLines - yym3577 := z.EncBinary() - _ = yym3577 + yy30 := *x.TailLines + yym31 := z.EncBinary() + _ = yym31 if false { } else { - r.EncodeInt(int64(yy3576)) + r.EncodeInt(int64(yy30)) } } } else { r.EncodeNil() } } else { - if yyq3548[8] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tailLines")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TailLines == nil { r.EncodeNil() } else { - yy3578 := *x.TailLines - yym3579 := z.EncBinary() - _ = yym3579 + yy32 := *x.TailLines + yym33 := z.EncBinary() + _ = yym33 if false { } else { - r.EncodeInt(int64(yy3578)) + r.EncodeInt(int64(yy32)) } } } } - if yyr3548 || yy2arr3548 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3548[9] { + if yyq2[9] { if x.LimitBytes == nil { r.EncodeNil() } else { - yy3581 := *x.LimitBytes - yym3582 := z.EncBinary() - _ = yym3582 + yy35 := *x.LimitBytes + yym36 := z.EncBinary() + _ = yym36 if false { } else { - r.EncodeInt(int64(yy3581)) + r.EncodeInt(int64(yy35)) } } } else { r.EncodeNil() } } else { - if yyq3548[9] { + if yyq2[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limitBytes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LimitBytes == nil { r.EncodeNil() } else { - yy3583 := *x.LimitBytes - yym3584 := z.EncBinary() - _ = yym3584 + yy37 := *x.LimitBytes + yym38 := z.EncBinary() + _ = yym38 if false { } else { - r.EncodeInt(int64(yy3583)) + r.EncodeInt(int64(yy37)) } } } } - if yyr3548 || yy2arr3548 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45457,25 +48871,25 @@ func (x *PodLogOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3585 := z.DecBinary() - _ = yym3585 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3586 := r.ContainerType() - if yyct3586 == codecSelferValueTypeMap1234 { - yyl3586 := r.ReadMapStart() - if yyl3586 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3586, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3586 == codecSelferValueTypeArray1234 { - yyl3586 := r.ReadArrayStart() - if yyl3586 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3586, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45487,12 +48901,12 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3587Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3587Slc - var yyhl3587 bool = l >= 0 - for yyj3587 := 0; ; yyj3587++ { - if yyhl3587 { - if yyj3587 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -45501,39 +48915,69 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3587Slc = r.DecodeBytes(yys3587Slc, true, true) - yys3587 := string(yys3587Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3587 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "container": if r.TryDecodeAsNil() { x.Container = "" } else { - x.Container = string(r.DecodeString()) + yyv8 := &x.Container + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "follow": if r.TryDecodeAsNil() { x.Follow = false } else { - x.Follow = bool(r.DecodeBool()) + yyv10 := &x.Follow + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*bool)(yyv10)) = r.DecodeBool() + } } case "previous": if r.TryDecodeAsNil() { x.Previous = false } else { - x.Previous = bool(r.DecodeBool()) + yyv12 := &x.Previous + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*bool)(yyv12)) = r.DecodeBool() + } } case "sinceSeconds": if r.TryDecodeAsNil() { @@ -45544,8 +48988,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym3594 := z.DecBinary() - _ = yym3594 + yym15 := z.DecBinary() + _ = yym15 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) @@ -45560,13 +49004,13 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_v1.Time) } - yym3596 := z.DecBinary() - _ = yym3596 + yym17 := z.DecBinary() + _ = yym17 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym3596 { + } else if yym17 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym3596 && z.IsJSONHandle() { + } else if !yym17 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) @@ -45576,7 +49020,13 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Timestamps = false } else { - x.Timestamps = bool(r.DecodeBool()) + yyv18 := &x.Timestamps + yym19 := z.DecBinary() + _ = yym19 + if false { + } else { + *((*bool)(yyv18)) = r.DecodeBool() + } } case "tailLines": if r.TryDecodeAsNil() { @@ -45587,8 +49037,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym3599 := z.DecBinary() - _ = yym3599 + yym21 := z.DecBinary() + _ = yym21 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) @@ -45603,17 +49053,17 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym3601 := z.DecBinary() - _ = yym3601 + yym23 := z.DecBinary() + _ = yym23 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys3587) - } // end switch yys3587 - } // end for yyj3587 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45621,16 +49071,16 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3602 int - var yyb3602 bool - var yyhl3602 bool = l >= 0 - yyj3602++ - if yyhl3602 { - yyb3602 = yyj3602 > l + var yyj24 int + var yyb24 bool + var yyhl24 bool = l >= 0 + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3602 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3602 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45638,15 +49088,21 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv25 := &x.Kind + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*string)(yyv25)) = r.DecodeString() + } } - yyj3602++ - if yyhl3602 { - yyb3602 = yyj3602 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3602 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3602 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45654,15 +49110,21 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv27 := &x.APIVersion + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*string)(yyv27)) = r.DecodeString() + } } - yyj3602++ - if yyhl3602 { - yyb3602 = yyj3602 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3602 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3602 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45670,15 +49132,21 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Container = "" } else { - x.Container = string(r.DecodeString()) + yyv29 := &x.Container + yym30 := z.DecBinary() + _ = yym30 + if false { + } else { + *((*string)(yyv29)) = r.DecodeString() + } } - yyj3602++ - if yyhl3602 { - yyb3602 = yyj3602 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3602 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3602 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45686,15 +49154,21 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Follow = false } else { - x.Follow = bool(r.DecodeBool()) + yyv31 := &x.Follow + yym32 := z.DecBinary() + _ = yym32 + if false { + } else { + *((*bool)(yyv31)) = r.DecodeBool() + } } - yyj3602++ - if yyhl3602 { - yyb3602 = yyj3602 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3602 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3602 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45702,15 +49176,21 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Previous = false } else { - x.Previous = bool(r.DecodeBool()) + yyv33 := &x.Previous + yym34 := z.DecBinary() + _ = yym34 + if false { + } else { + *((*bool)(yyv33)) = r.DecodeBool() + } } - yyj3602++ - if yyhl3602 { - yyb3602 = yyj3602 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3602 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3602 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45723,20 +49203,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym3609 := z.DecBinary() - _ = yym3609 + yym36 := z.DecBinary() + _ = yym36 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) } } - yyj3602++ - if yyhl3602 { - yyb3602 = yyj3602 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3602 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3602 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45749,25 +49229,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_v1.Time) } - yym3611 := z.DecBinary() - _ = yym3611 + yym38 := z.DecBinary() + _ = yym38 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym3611 { + } else if yym38 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym3611 && z.IsJSONHandle() { + } else if !yym38 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) } } - yyj3602++ - if yyhl3602 { - yyb3602 = yyj3602 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3602 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3602 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45775,15 +49255,21 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Timestamps = false } else { - x.Timestamps = bool(r.DecodeBool()) + yyv39 := &x.Timestamps + yym40 := z.DecBinary() + _ = yym40 + if false { + } else { + *((*bool)(yyv39)) = r.DecodeBool() + } } - yyj3602++ - if yyhl3602 { - yyb3602 = yyj3602 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3602 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3602 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45796,20 +49282,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym3614 := z.DecBinary() - _ = yym3614 + yym42 := z.DecBinary() + _ = yym42 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) } } - yyj3602++ - if yyhl3602 { - yyb3602 = yyj3602 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3602 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3602 { + if yyb24 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45822,25 +49308,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym3616 := z.DecBinary() - _ = yym3616 + yym44 := z.DecBinary() + _ = yym44 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } for { - yyj3602++ - if yyhl3602 { - yyb3602 = yyj3602 > l + yyj24++ + if yyhl24 { + yyb24 = yyj24 > l } else { - yyb3602 = r.CheckBreak() + yyb24 = r.CheckBreak() } - if yyb3602 { + if yyb24 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3602-1, "") + z.DecStructFieldNotFound(yyj24-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45852,41 +49338,41 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3617 := z.EncBinary() - _ = yym3617 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3618 := !z.EncBinary() - yy2arr3618 := z.EncBasicHandle().StructToArray - var yyq3618 [7]bool - _, _, _ = yysep3618, yyq3618, yy2arr3618 - const yyr3618 bool = false - yyq3618[0] = x.Kind != "" - yyq3618[1] = x.APIVersion != "" - yyq3618[2] = x.Stdin != false - yyq3618[3] = x.Stdout != false - yyq3618[4] = x.Stderr != false - yyq3618[5] = x.TTY != false - yyq3618[6] = x.Container != "" - var yynn3618 int - if yyr3618 || yy2arr3618 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [7]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = x.Stdin != false + yyq2[3] = x.Stdout != false + yyq2[4] = x.Stderr != false + yyq2[5] = x.TTY != false + yyq2[6] = x.Container != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(7) } else { - yynn3618 = 0 - for _, b := range yyq3618 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3618++ + yynn2++ } } - r.EncodeMapStart(yynn3618) - yynn3618 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3618 || yy2arr3618 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3618[0] { - yym3620 := z.EncBinary() - _ = yym3620 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45895,23 +49381,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3618[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3621 := z.EncBinary() - _ = yym3621 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3618 || yy2arr3618 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3618[1] { - yym3623 := z.EncBinary() - _ = yym3623 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -45920,23 +49406,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3618[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3624 := z.EncBinary() - _ = yym3624 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3618 || yy2arr3618 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3618[2] { - yym3626 := z.EncBinary() - _ = yym3626 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -45945,23 +49431,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3618[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3627 := z.EncBinary() - _ = yym3627 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr3618 || yy2arr3618 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3618[3] { - yym3629 := z.EncBinary() - _ = yym3629 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -45970,23 +49456,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3618[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3630 := z.EncBinary() - _ = yym3630 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr3618 || yy2arr3618 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3618[4] { - yym3632 := z.EncBinary() - _ = yym3632 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -45995,23 +49481,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3618[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3633 := z.EncBinary() - _ = yym3633 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr3618 || yy2arr3618 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3618[5] { - yym3635 := z.EncBinary() - _ = yym3635 + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -46020,23 +49506,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3618[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3636 := z.EncBinary() - _ = yym3636 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr3618 || yy2arr3618 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3618[6] { - yym3638 := z.EncBinary() - _ = yym3638 + if yyq2[6] { + yym22 := z.EncBinary() + _ = yym22 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -46045,19 +49531,19 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3618[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3639 := z.EncBinary() - _ = yym3639 + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr3618 || yy2arr3618 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46070,25 +49556,25 @@ func (x *PodAttachOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3640 := z.DecBinary() - _ = yym3640 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3641 := r.ContainerType() - if yyct3641 == codecSelferValueTypeMap1234 { - yyl3641 := r.ReadMapStart() - if yyl3641 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3641, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3641 == codecSelferValueTypeArray1234 { - yyl3641 := r.ReadArrayStart() - if yyl3641 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3641, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46100,12 +49586,12 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3642Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3642Slc - var yyhl3642 bool = l >= 0 - for yyj3642 := 0; ; yyj3642++ { - if yyhl3642 { - if yyj3642 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -46114,56 +49600,98 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3642Slc = r.DecodeBytes(yys3642Slc, true, true) - yys3642 := string(yys3642Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3642 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "stdin": if r.TryDecodeAsNil() { x.Stdin = false } else { - x.Stdin = bool(r.DecodeBool()) + yyv8 := &x.Stdin + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*bool)(yyv8)) = r.DecodeBool() + } } case "stdout": if r.TryDecodeAsNil() { x.Stdout = false } else { - x.Stdout = bool(r.DecodeBool()) + yyv10 := &x.Stdout + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*bool)(yyv10)) = r.DecodeBool() + } } case "stderr": if r.TryDecodeAsNil() { x.Stderr = false } else { - x.Stderr = bool(r.DecodeBool()) + yyv12 := &x.Stderr + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*bool)(yyv12)) = r.DecodeBool() + } } case "tty": if r.TryDecodeAsNil() { x.TTY = false } else { - x.TTY = bool(r.DecodeBool()) + yyv14 := &x.TTY + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*bool)(yyv14)) = r.DecodeBool() + } } case "container": if r.TryDecodeAsNil() { x.Container = "" } else { - x.Container = string(r.DecodeString()) + yyv16 := &x.Container + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys3642) - } // end switch yys3642 - } // end for yyj3642 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46171,16 +49699,16 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3650 int - var yyb3650 bool - var yyhl3650 bool = l >= 0 - yyj3650++ - if yyhl3650 { - yyb3650 = yyj3650 > l + var yyj18 int + var yyb18 bool + var yyhl18 bool = l >= 0 + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3650 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3650 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46188,15 +49716,21 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv19 := &x.Kind + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } - yyj3650++ - if yyhl3650 { - yyb3650 = yyj3650 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3650 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3650 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46204,15 +49738,21 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv21 := &x.APIVersion + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } - yyj3650++ - if yyhl3650 { - yyb3650 = yyj3650 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3650 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3650 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46220,15 +49760,21 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Stdin = false } else { - x.Stdin = bool(r.DecodeBool()) + yyv23 := &x.Stdin + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*bool)(yyv23)) = r.DecodeBool() + } } - yyj3650++ - if yyhl3650 { - yyb3650 = yyj3650 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3650 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3650 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46236,15 +49782,21 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Stdout = false } else { - x.Stdout = bool(r.DecodeBool()) + yyv25 := &x.Stdout + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*bool)(yyv25)) = r.DecodeBool() + } } - yyj3650++ - if yyhl3650 { - yyb3650 = yyj3650 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3650 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3650 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46252,15 +49804,21 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Stderr = false } else { - x.Stderr = bool(r.DecodeBool()) + yyv27 := &x.Stderr + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*bool)(yyv27)) = r.DecodeBool() + } } - yyj3650++ - if yyhl3650 { - yyb3650 = yyj3650 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3650 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3650 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46268,15 +49826,21 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.TTY = false } else { - x.TTY = bool(r.DecodeBool()) + yyv29 := &x.TTY + yym30 := z.DecBinary() + _ = yym30 + if false { + } else { + *((*bool)(yyv29)) = r.DecodeBool() + } } - yyj3650++ - if yyhl3650 { - yyb3650 = yyj3650 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3650 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3650 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46284,20 +49848,26 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Container = "" } else { - x.Container = string(r.DecodeString()) + yyv31 := &x.Container + yym32 := z.DecBinary() + _ = yym32 + if false { + } else { + *((*string)(yyv31)) = r.DecodeString() + } } for { - yyj3650++ - if yyhl3650 { - yyb3650 = yyj3650 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3650 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3650 { + if yyb18 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3650-1, "") + z.DecStructFieldNotFound(yyj18-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46309,41 +49879,41 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3658 := z.EncBinary() - _ = yym3658 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3659 := !z.EncBinary() - yy2arr3659 := z.EncBasicHandle().StructToArray - var yyq3659 [8]bool - _, _, _ = yysep3659, yyq3659, yy2arr3659 - const yyr3659 bool = false - yyq3659[0] = x.Kind != "" - yyq3659[1] = x.APIVersion != "" - yyq3659[2] = x.Stdin != false - yyq3659[3] = x.Stdout != false - yyq3659[4] = x.Stderr != false - yyq3659[5] = x.TTY != false - yyq3659[6] = x.Container != "" - var yynn3659 int - if yyr3659 || yy2arr3659 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [8]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = x.Stdin != false + yyq2[3] = x.Stdout != false + yyq2[4] = x.Stderr != false + yyq2[5] = x.TTY != false + yyq2[6] = x.Container != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(8) } else { - yynn3659 = 1 - for _, b := range yyq3659 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn3659++ + yynn2++ } } - r.EncodeMapStart(yynn3659) - yynn3659 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3659 || yy2arr3659 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3659[0] { - yym3661 := z.EncBinary() - _ = yym3661 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -46352,23 +49922,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3659[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3662 := z.EncBinary() - _ = yym3662 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3659 || yy2arr3659 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3659[1] { - yym3664 := z.EncBinary() - _ = yym3664 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -46377,23 +49947,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3659[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3665 := z.EncBinary() - _ = yym3665 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3659 || yy2arr3659 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3659[2] { - yym3667 := z.EncBinary() - _ = yym3667 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -46402,23 +49972,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3659[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3668 := z.EncBinary() - _ = yym3668 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr3659 || yy2arr3659 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3659[3] { - yym3670 := z.EncBinary() - _ = yym3670 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -46427,23 +49997,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3659[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3671 := z.EncBinary() - _ = yym3671 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr3659 || yy2arr3659 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3659[4] { - yym3673 := z.EncBinary() - _ = yym3673 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -46452,23 +50022,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3659[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3674 := z.EncBinary() - _ = yym3674 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr3659 || yy2arr3659 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3659[5] { - yym3676 := z.EncBinary() - _ = yym3676 + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -46477,23 +50047,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3659[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3677 := z.EncBinary() - _ = yym3677 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr3659 || yy2arr3659 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3659[6] { - yym3679 := z.EncBinary() - _ = yym3679 + if yyq2[6] { + yym22 := z.EncBinary() + _ = yym22 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -46502,25 +50072,25 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3659[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3680 := z.EncBinary() - _ = yym3680 + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr3659 || yy2arr3659 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Command == nil { r.EncodeNil() } else { - yym3682 := z.EncBinary() - _ = yym3682 + yym25 := z.EncBinary() + _ = yym25 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -46533,15 +50103,15 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.Command == nil { r.EncodeNil() } else { - yym3683 := z.EncBinary() - _ = yym3683 + yym26 := z.EncBinary() + _ = yym26 if false { } else { z.F.EncSliceStringV(x.Command, false, e) } } } - if yyr3659 || yy2arr3659 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46554,25 +50124,25 @@ func (x *PodExecOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3684 := z.DecBinary() - _ = yym3684 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3685 := r.ContainerType() - if yyct3685 == codecSelferValueTypeMap1234 { - yyl3685 := r.ReadMapStart() - if yyl3685 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3685, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3685 == codecSelferValueTypeArray1234 { - yyl3685 := r.ReadArrayStart() - if yyl3685 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3685, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46584,12 +50154,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3686Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3686Slc - var yyhl3686 bool = l >= 0 - for yyj3686 := 0; ; yyj3686++ { - if yyhl3686 { - if yyj3686 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -46598,68 +50168,110 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3686Slc = r.DecodeBytes(yys3686Slc, true, true) - yys3686 := string(yys3686Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3686 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "stdin": if r.TryDecodeAsNil() { x.Stdin = false } else { - x.Stdin = bool(r.DecodeBool()) + yyv8 := &x.Stdin + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*bool)(yyv8)) = r.DecodeBool() + } } case "stdout": if r.TryDecodeAsNil() { x.Stdout = false } else { - x.Stdout = bool(r.DecodeBool()) + yyv10 := &x.Stdout + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*bool)(yyv10)) = r.DecodeBool() + } } case "stderr": if r.TryDecodeAsNil() { x.Stderr = false } else { - x.Stderr = bool(r.DecodeBool()) + yyv12 := &x.Stderr + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*bool)(yyv12)) = r.DecodeBool() + } } case "tty": if r.TryDecodeAsNil() { x.TTY = false } else { - x.TTY = bool(r.DecodeBool()) + yyv14 := &x.TTY + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*bool)(yyv14)) = r.DecodeBool() + } } case "container": if r.TryDecodeAsNil() { x.Container = "" } else { - x.Container = string(r.DecodeString()) + yyv16 := &x.Container + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } case "command": if r.TryDecodeAsNil() { x.Command = nil } else { - yyv3694 := &x.Command - yym3695 := z.DecBinary() - _ = yym3695 + yyv18 := &x.Command + yym19 := z.DecBinary() + _ = yym19 if false { } else { - z.F.DecSliceStringX(yyv3694, false, d) + z.F.DecSliceStringX(yyv18, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3686) - } // end switch yys3686 - } // end for yyj3686 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46667,16 +50279,16 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3696 int - var yyb3696 bool - var yyhl3696 bool = l >= 0 - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l + var yyj20 int + var yyb20 bool + var yyhl20 bool = l >= 0 + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb3696 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb3696 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46684,15 +50296,21 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv21 := &x.Kind + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb3696 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb3696 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46700,15 +50318,21 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv23 := &x.APIVersion + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*string)(yyv23)) = r.DecodeString() + } } - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb3696 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb3696 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46716,15 +50340,21 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Stdin = false } else { - x.Stdin = bool(r.DecodeBool()) + yyv25 := &x.Stdin + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*bool)(yyv25)) = r.DecodeBool() + } } - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb3696 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb3696 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46732,15 +50362,21 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Stdout = false } else { - x.Stdout = bool(r.DecodeBool()) + yyv27 := &x.Stdout + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*bool)(yyv27)) = r.DecodeBool() + } } - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb3696 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb3696 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46748,15 +50384,21 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Stderr = false } else { - x.Stderr = bool(r.DecodeBool()) + yyv29 := &x.Stderr + yym30 := z.DecBinary() + _ = yym30 + if false { + } else { + *((*bool)(yyv29)) = r.DecodeBool() + } } - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb3696 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb3696 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46764,15 +50406,21 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TTY = false } else { - x.TTY = bool(r.DecodeBool()) + yyv31 := &x.TTY + yym32 := z.DecBinary() + _ = yym32 + if false { + } else { + *((*bool)(yyv31)) = r.DecodeBool() + } } - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb3696 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb3696 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46780,15 +50428,21 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Container = "" } else { - x.Container = string(r.DecodeString()) + yyv33 := &x.Container + yym34 := z.DecBinary() + _ = yym34 + if false { + } else { + *((*string)(yyv33)) = r.DecodeString() + } } - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb3696 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb3696 { + if yyb20 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46796,26 +50450,26 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv3704 := &x.Command - yym3705 := z.DecBinary() - _ = yym3705 + yyv35 := &x.Command + yym36 := z.DecBinary() + _ = yym36 if false { } else { - z.F.DecSliceStringX(yyv3704, false, d) + z.F.DecSliceStringX(yyv35, false, d) } } for { - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l + yyj20++ + if yyhl20 { + yyb20 = yyj20 > l } else { - yyb3696 = r.CheckBreak() + yyb20 = r.CheckBreak() } - if yyb3696 { + if yyb20 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3696-1, "") + z.DecStructFieldNotFound(yyj20-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46827,37 +50481,37 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3706 := z.EncBinary() - _ = yym3706 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3707 := !z.EncBinary() - yy2arr3707 := z.EncBasicHandle().StructToArray - var yyq3707 [3]bool - _, _, _ = yysep3707, yyq3707, yy2arr3707 - const yyr3707 bool = false - yyq3707[0] = x.Kind != "" - yyq3707[1] = x.APIVersion != "" - yyq3707[2] = x.Path != "" - var yynn3707 int - if yyr3707 || yy2arr3707 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = x.Path != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn3707 = 0 - for _, b := range yyq3707 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3707++ + yynn2++ } } - r.EncodeMapStart(yynn3707) - yynn3707 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3707 || yy2arr3707 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3707[0] { - yym3709 := z.EncBinary() - _ = yym3709 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -46866,23 +50520,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3707[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3710 := z.EncBinary() - _ = yym3710 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3707 || yy2arr3707 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3707[1] { - yym3712 := z.EncBinary() - _ = yym3712 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -46891,23 +50545,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3707[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3713 := z.EncBinary() - _ = yym3713 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3707 || yy2arr3707 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3707[2] { - yym3715 := z.EncBinary() - _ = yym3715 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -46916,19 +50570,19 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3707[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3716 := z.EncBinary() - _ = yym3716 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr3707 || yy2arr3707 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46941,25 +50595,25 @@ func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3717 := z.DecBinary() - _ = yym3717 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3718 := r.ContainerType() - if yyct3718 == codecSelferValueTypeMap1234 { - yyl3718 := r.ReadMapStart() - if yyl3718 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3718, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3718 == codecSelferValueTypeArray1234 { - yyl3718 := r.ReadArrayStart() - if yyl3718 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3718, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46971,12 +50625,12 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3719Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3719Slc - var yyhl3719 bool = l >= 0 - for yyj3719 := 0; ; yyj3719++ { - if yyhl3719 { - if yyj3719 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -46985,32 +50639,50 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3719Slc = r.DecodeBytes(yys3719Slc, true, true) - yys3719 := string(yys3719Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3719 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "path": if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv8 := &x.Path + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys3719) - } // end switch yys3719 - } // end for yyj3719 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47018,16 +50690,16 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3723 int - var yyb3723 bool - var yyhl3723 bool = l >= 0 - yyj3723++ - if yyhl3723 { - yyb3723 = yyj3723 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3723 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3723 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47035,15 +50707,21 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv11 := &x.Kind + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj3723++ - if yyhl3723 { - yyb3723 = yyj3723 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3723 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3723 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47051,15 +50729,21 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv13 := &x.APIVersion + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj3723++ - if yyhl3723 { - yyb3723 = yyj3723 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3723 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3723 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47067,20 +50751,26 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv15 := &x.Path + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } for { - yyj3723++ - if yyhl3723 { - yyb3723 = yyj3723 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3723 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3723 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3723-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47092,37 +50782,37 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3727 := z.EncBinary() - _ = yym3727 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3728 := !z.EncBinary() - yy2arr3728 := z.EncBasicHandle().StructToArray - var yyq3728 [3]bool - _, _, _ = yysep3728, yyq3728, yy2arr3728 - const yyr3728 bool = false - yyq3728[0] = x.Kind != "" - yyq3728[1] = x.APIVersion != "" - yyq3728[2] = x.Path != "" - var yynn3728 int - if yyr3728 || yy2arr3728 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = x.Path != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn3728 = 0 - for _, b := range yyq3728 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3728++ + yynn2++ } } - r.EncodeMapStart(yynn3728) - yynn3728 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3728 || yy2arr3728 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3728[0] { - yym3730 := z.EncBinary() - _ = yym3730 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47131,23 +50821,23 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3728[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3731 := z.EncBinary() - _ = yym3731 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3728 || yy2arr3728 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3728[1] { - yym3733 := z.EncBinary() - _ = yym3733 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47156,23 +50846,23 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3728[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3734 := z.EncBinary() - _ = yym3734 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3728 || yy2arr3728 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3728[2] { - yym3736 := z.EncBinary() - _ = yym3736 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -47181,19 +50871,19 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3728[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3737 := z.EncBinary() - _ = yym3737 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr3728 || yy2arr3728 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47206,25 +50896,25 @@ func (x *NodeProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3738 := z.DecBinary() - _ = yym3738 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3739 := r.ContainerType() - if yyct3739 == codecSelferValueTypeMap1234 { - yyl3739 := r.ReadMapStart() - if yyl3739 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3739, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3739 == codecSelferValueTypeArray1234 { - yyl3739 := r.ReadArrayStart() - if yyl3739 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3739, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47236,12 +50926,12 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3740Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3740Slc - var yyhl3740 bool = l >= 0 - for yyj3740 := 0; ; yyj3740++ { - if yyhl3740 { - if yyj3740 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -47250,32 +50940,50 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3740Slc = r.DecodeBytes(yys3740Slc, true, true) - yys3740 := string(yys3740Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3740 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "path": if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv8 := &x.Path + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys3740) - } // end switch yys3740 - } // end for yyj3740 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47283,16 +50991,16 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3744 int - var yyb3744 bool - var yyhl3744 bool = l >= 0 - yyj3744++ - if yyhl3744 { - yyb3744 = yyj3744 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3744 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3744 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47300,15 +51008,21 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv11 := &x.Kind + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj3744++ - if yyhl3744 { - yyb3744 = yyj3744 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3744 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3744 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47316,15 +51030,21 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv13 := &x.APIVersion + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj3744++ - if yyhl3744 { - yyb3744 = yyj3744 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3744 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3744 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47332,20 +51052,26 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv15 := &x.Path + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } for { - yyj3744++ - if yyhl3744 { - yyb3744 = yyj3744 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3744 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3744 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3744-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47357,37 +51083,37 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3748 := z.EncBinary() - _ = yym3748 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3749 := !z.EncBinary() - yy2arr3749 := z.EncBasicHandle().StructToArray - var yyq3749 [3]bool - _, _, _ = yysep3749, yyq3749, yy2arr3749 - const yyr3749 bool = false - yyq3749[0] = x.Kind != "" - yyq3749[1] = x.APIVersion != "" - yyq3749[2] = x.Path != "" - var yynn3749 int - if yyr3749 || yy2arr3749 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = x.Path != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn3749 = 0 - for _, b := range yyq3749 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3749++ + yynn2++ } } - r.EncodeMapStart(yynn3749) - yynn3749 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3749 || yy2arr3749 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3749[0] { - yym3751 := z.EncBinary() - _ = yym3751 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47396,23 +51122,23 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3749[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3752 := z.EncBinary() - _ = yym3752 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3749 || yy2arr3749 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3749[1] { - yym3754 := z.EncBinary() - _ = yym3754 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47421,23 +51147,23 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3749[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3755 := z.EncBinary() - _ = yym3755 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3749 || yy2arr3749 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3749[2] { - yym3757 := z.EncBinary() - _ = yym3757 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -47446,19 +51172,19 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3749[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3758 := z.EncBinary() - _ = yym3758 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr3749 || yy2arr3749 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47471,25 +51197,25 @@ func (x *ServiceProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3759 := z.DecBinary() - _ = yym3759 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3760 := r.ContainerType() - if yyct3760 == codecSelferValueTypeMap1234 { - yyl3760 := r.ReadMapStart() - if yyl3760 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3760, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3760 == codecSelferValueTypeArray1234 { - yyl3760 := r.ReadArrayStart() - if yyl3760 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3760, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47501,12 +51227,12 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3761Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3761Slc - var yyhl3761 bool = l >= 0 - for yyj3761 := 0; ; yyj3761++ { - if yyhl3761 { - if yyj3761 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -47515,32 +51241,50 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3761Slc = r.DecodeBytes(yys3761Slc, true, true) - yys3761 := string(yys3761Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3761 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "path": if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv8 := &x.Path + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys3761) - } // end switch yys3761 - } // end for yyj3761 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47548,16 +51292,16 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3765 int - var yyb3765 bool - var yyhl3765 bool = l >= 0 - yyj3765++ - if yyhl3765 { - yyb3765 = yyj3765 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3765 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3765 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47565,15 +51309,21 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv11 := &x.Kind + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj3765++ - if yyhl3765 { - yyb3765 = yyj3765 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3765 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3765 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47581,15 +51331,21 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv13 := &x.APIVersion + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj3765++ - if yyhl3765 { - yyb3765 = yyj3765 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3765 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3765 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47597,20 +51353,26 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv15 := &x.Path + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } for { - yyj3765++ - if yyhl3765 { - yyb3765 = yyj3765 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb3765 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb3765 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3765-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47622,41 +51384,41 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3769 := z.EncBinary() - _ = yym3769 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3770 := !z.EncBinary() - yy2arr3770 := z.EncBasicHandle().StructToArray - var yyq3770 [7]bool - _, _, _ = yysep3770, yyq3770, yy2arr3770 - const yyr3770 bool = false - yyq3770[0] = x.Kind != "" - yyq3770[1] = x.Namespace != "" - yyq3770[2] = x.Name != "" - yyq3770[3] = x.UID != "" - yyq3770[4] = x.APIVersion != "" - yyq3770[5] = x.ResourceVersion != "" - yyq3770[6] = x.FieldPath != "" - var yynn3770 int - if yyr3770 || yy2arr3770 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [7]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.Namespace != "" + yyq2[2] = x.Name != "" + yyq2[3] = x.UID != "" + yyq2[4] = x.APIVersion != "" + yyq2[5] = x.ResourceVersion != "" + yyq2[6] = x.FieldPath != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(7) } else { - yynn3770 = 0 - for _, b := range yyq3770 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3770++ + yynn2++ } } - r.EncodeMapStart(yynn3770) - yynn3770 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3770 || yy2arr3770 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3770[0] { - yym3772 := z.EncBinary() - _ = yym3772 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47665,23 +51427,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3770[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3773 := z.EncBinary() - _ = yym3773 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3770 || yy2arr3770 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3770[1] { - yym3775 := z.EncBinary() - _ = yym3775 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -47690,23 +51452,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3770[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3776 := z.EncBinary() - _ = yym3776 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr3770 || yy2arr3770 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3770[2] { - yym3778 := z.EncBinary() - _ = yym3778 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -47715,23 +51477,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3770[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3779 := z.EncBinary() - _ = yym3779 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr3770 || yy2arr3770 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3770[3] { - yym3781 := z.EncBinary() - _ = yym3781 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -47741,12 +51503,12 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3770[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3782 := z.EncBinary() - _ = yym3782 + yym14 := z.EncBinary() + _ = yym14 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -47754,11 +51516,11 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3770 || yy2arr3770 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3770[4] { - yym3784 := z.EncBinary() - _ = yym3784 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47767,23 +51529,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3770[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3785 := z.EncBinary() - _ = yym3785 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3770 || yy2arr3770 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3770[5] { - yym3787 := z.EncBinary() - _ = yym3787 + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -47792,23 +51554,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3770[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3788 := z.EncBinary() - _ = yym3788 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr3770 || yy2arr3770 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3770[6] { - yym3790 := z.EncBinary() - _ = yym3790 + if yyq2[6] { + yym22 := z.EncBinary() + _ = yym22 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -47817,19 +51579,19 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3770[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3791 := z.EncBinary() - _ = yym3791 + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } } - if yyr3770 || yy2arr3770 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47842,25 +51604,25 @@ func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3792 := z.DecBinary() - _ = yym3792 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3793 := r.ContainerType() - if yyct3793 == codecSelferValueTypeMap1234 { - yyl3793 := r.ReadMapStart() - if yyl3793 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3793, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3793 == codecSelferValueTypeArray1234 { - yyl3793 := r.ReadArrayStart() - if yyl3793 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3793, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47872,12 +51634,12 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3794Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3794Slc - var yyhl3794 bool = l >= 0 - for yyj3794 := 0; ; yyj3794++ { - if yyhl3794 { - if yyj3794 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -47886,56 +51648,99 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3794Slc = r.DecodeBytes(yys3794Slc, true, true) - yys3794 := string(yys3794Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3794 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "namespace": if r.TryDecodeAsNil() { x.Namespace = "" } else { - x.Namespace = string(r.DecodeString()) + yyv6 := &x.Namespace + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv8 := &x.Name + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "uid": if r.TryDecodeAsNil() { x.UID = "" } else { - x.UID = pkg1_types.UID(r.DecodeString()) + yyv10 := &x.UID + yym11 := z.DecBinary() + _ = yym11 + if false { + } else if z.HasExtensions() && z.DecExt(yyv10) { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv12 := &x.APIVersion + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } case "resourceVersion": if r.TryDecodeAsNil() { x.ResourceVersion = "" } else { - x.ResourceVersion = string(r.DecodeString()) + yyv14 := &x.ResourceVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } case "fieldPath": if r.TryDecodeAsNil() { x.FieldPath = "" } else { - x.FieldPath = string(r.DecodeString()) + yyv16 := &x.FieldPath + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys3794) - } // end switch yys3794 - } // end for yyj3794 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47943,16 +51748,16 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3802 int - var yyb3802 bool - var yyhl3802 bool = l >= 0 - yyj3802++ - if yyhl3802 { - yyb3802 = yyj3802 > l + var yyj18 int + var yyb18 bool + var yyhl18 bool = l >= 0 + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3802 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3802 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47960,15 +51765,21 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv19 := &x.Kind + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } - yyj3802++ - if yyhl3802 { - yyb3802 = yyj3802 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3802 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3802 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47976,15 +51787,21 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Namespace = "" } else { - x.Namespace = string(r.DecodeString()) + yyv21 := &x.Namespace + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } - yyj3802++ - if yyhl3802 { - yyb3802 = yyj3802 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3802 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3802 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47992,15 +51809,21 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv23 := &x.Name + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*string)(yyv23)) = r.DecodeString() + } } - yyj3802++ - if yyhl3802 { - yyb3802 = yyj3802 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3802 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3802 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48008,15 +51831,22 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.UID = "" } else { - x.UID = pkg1_types.UID(r.DecodeString()) + yyv25 := &x.UID + yym26 := z.DecBinary() + _ = yym26 + if false { + } else if z.HasExtensions() && z.DecExt(yyv25) { + } else { + *((*string)(yyv25)) = r.DecodeString() + } } - yyj3802++ - if yyhl3802 { - yyb3802 = yyj3802 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3802 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3802 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48024,15 +51854,21 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv27 := &x.APIVersion + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*string)(yyv27)) = r.DecodeString() + } } - yyj3802++ - if yyhl3802 { - yyb3802 = yyj3802 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3802 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3802 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48040,15 +51876,21 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ResourceVersion = "" } else { - x.ResourceVersion = string(r.DecodeString()) + yyv29 := &x.ResourceVersion + yym30 := z.DecBinary() + _ = yym30 + if false { + } else { + *((*string)(yyv29)) = r.DecodeString() + } } - yyj3802++ - if yyhl3802 { - yyb3802 = yyj3802 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3802 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3802 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48056,20 +51898,26 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.FieldPath = "" } else { - x.FieldPath = string(r.DecodeString()) + yyv31 := &x.FieldPath + yym32 := z.DecBinary() + _ = yym32 + if false { + } else { + *((*string)(yyv31)) = r.DecodeString() + } } for { - yyj3802++ - if yyhl3802 { - yyb3802 = yyj3802 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb3802 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb3802 { + if yyb18 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3802-1, "") + z.DecStructFieldNotFound(yyj18-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48081,35 +51929,35 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3810 := z.EncBinary() - _ = yym3810 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3811 := !z.EncBinary() - yy2arr3811 := z.EncBasicHandle().StructToArray - var yyq3811 [1]bool - _, _, _ = yysep3811, yyq3811, yy2arr3811 - const yyr3811 bool = false - yyq3811[0] = x.Name != "" - var yynn3811 int - if yyr3811 || yy2arr3811 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Name != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn3811 = 0 - for _, b := range yyq3811 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3811++ + yynn2++ } } - r.EncodeMapStart(yynn3811) - yynn3811 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3811 || yy2arr3811 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3811[0] { - yym3813 := z.EncBinary() - _ = yym3813 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -48118,19 +51966,19 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3811[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3814 := z.EncBinary() - _ = yym3814 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr3811 || yy2arr3811 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48143,25 +51991,25 @@ func (x *LocalObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3815 := z.DecBinary() - _ = yym3815 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3816 := r.ContainerType() - if yyct3816 == codecSelferValueTypeMap1234 { - yyl3816 := r.ReadMapStart() - if yyl3816 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3816, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3816 == codecSelferValueTypeArray1234 { - yyl3816 := r.ReadArrayStart() - if yyl3816 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3816, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48173,12 +52021,12 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3817Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3817Slc - var yyhl3817 bool = l >= 0 - for yyj3817 := 0; ; yyj3817++ { - if yyhl3817 { - if yyj3817 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -48187,20 +52035,26 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3817Slc = r.DecodeBytes(yys3817Slc, true, true) - yys3817 := string(yys3817Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3817 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys3817) - } // end switch yys3817 - } // end for yyj3817 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48208,16 +52062,16 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3819 int - var yyb3819 bool - var yyhl3819 bool = l >= 0 - yyj3819++ - if yyhl3819 { - yyb3819 = yyj3819 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb3819 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb3819 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48225,20 +52079,26 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv7 := &x.Name + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*string)(yyv7)) = r.DecodeString() + } } for { - yyj3819++ - if yyhl3819 { - yyb3819 = yyj3819 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb3819 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb3819 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3819-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48250,37 +52110,37 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3821 := z.EncBinary() - _ = yym3821 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3822 := !z.EncBinary() - yy2arr3822 := z.EncBasicHandle().StructToArray - var yyq3822 [3]bool - _, _, _ = yysep3822, yyq3822, yy2arr3822 - const yyr3822 bool = false - yyq3822[0] = x.Kind != "" - yyq3822[1] = x.APIVersion != "" - yyq3822[2] = true - var yynn3822 int - if yyr3822 || yy2arr3822 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn3822 = 0 - for _, b := range yyq3822 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3822++ + yynn2++ } } - r.EncodeMapStart(yynn3822) - yynn3822 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3822 || yy2arr3822 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3822[0] { - yym3824 := z.EncBinary() - _ = yym3824 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -48289,23 +52149,23 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3822[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3825 := z.EncBinary() - _ = yym3825 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3822 || yy2arr3822 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3822[1] { - yym3827 := z.EncBinary() - _ = yym3827 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -48314,36 +52174,36 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3822[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3828 := z.EncBinary() - _ = yym3828 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3822 || yy2arr3822 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3822[2] { - yy3830 := &x.Reference - yy3830.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.Reference + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3822[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3831 := &x.Reference - yy3831.CodecEncodeSelf(e) + yy12 := &x.Reference + yy12.CodecEncodeSelf(e) } } - if yyr3822 || yy2arr3822 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48356,25 +52216,25 @@ func (x *SerializedReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3832 := z.DecBinary() - _ = yym3832 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3833 := r.ContainerType() - if yyct3833 == codecSelferValueTypeMap1234 { - yyl3833 := r.ReadMapStart() - if yyl3833 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3833, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3833 == codecSelferValueTypeArray1234 { - yyl3833 := r.ReadArrayStart() - if yyl3833 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3833, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48386,12 +52246,12 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3834Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3834Slc - var yyhl3834 bool = l >= 0 - for yyj3834 := 0; ; yyj3834++ { - if yyhl3834 { - if yyj3834 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -48400,33 +52260,45 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3834Slc = r.DecodeBytes(yys3834Slc, true, true) - yys3834 := string(yys3834Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3834 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "reference": if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv3837 := &x.Reference - yyv3837.CodecDecodeSelf(d) + yyv8 := &x.Reference + yyv8.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3834) - } // end switch yys3834 - } // end for yyj3834 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48434,16 +52306,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3838 int - var yyb3838 bool - var yyhl3838 bool = l >= 0 - yyj3838++ - if yyhl3838 { - yyb3838 = yyj3838 > l + var yyj9 int + var yyb9 bool + var yyhl9 bool = l >= 0 + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb3838 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb3838 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48451,15 +52323,21 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv10 := &x.Kind + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } - yyj3838++ - if yyhl3838 { - yyb3838 = yyj3838 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb3838 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb3838 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48467,15 +52345,21 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv12 := &x.APIVersion + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj3838++ - if yyhl3838 { - yyb3838 = yyj3838 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb3838 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb3838 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48483,21 +52367,21 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv3841 := &x.Reference - yyv3841.CodecDecodeSelf(d) + yyv14 := &x.Reference + yyv14.CodecDecodeSelf(d) } for { - yyj3838++ - if yyhl3838 { - yyb3838 = yyj3838 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb3838 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb3838 { + if yyb9 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3838-1, "") + z.DecStructFieldNotFound(yyj9-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48509,36 +52393,36 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3842 := z.EncBinary() - _ = yym3842 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3843 := !z.EncBinary() - yy2arr3843 := z.EncBasicHandle().StructToArray - var yyq3843 [2]bool - _, _, _ = yysep3843, yyq3843, yy2arr3843 - const yyr3843 bool = false - yyq3843[0] = x.Component != "" - yyq3843[1] = x.Host != "" - var yynn3843 int - if yyr3843 || yy2arr3843 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Component != "" + yyq2[1] = x.Host != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn3843 = 0 - for _, b := range yyq3843 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3843++ + yynn2++ } } - r.EncodeMapStart(yynn3843) - yynn3843 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3843 || yy2arr3843 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3843[0] { - yym3845 := z.EncBinary() - _ = yym3845 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) @@ -48547,23 +52431,23 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3843[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("component")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3846 := z.EncBinary() - _ = yym3846 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) } } } - if yyr3843 || yy2arr3843 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3843[1] { - yym3848 := z.EncBinary() - _ = yym3848 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -48572,19 +52456,19 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3843[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3849 := z.EncBinary() - _ = yym3849 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr3843 || yy2arr3843 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48597,25 +52481,25 @@ func (x *EventSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3850 := z.DecBinary() - _ = yym3850 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3851 := r.ContainerType() - if yyct3851 == codecSelferValueTypeMap1234 { - yyl3851 := r.ReadMapStart() - if yyl3851 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3851, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3851 == codecSelferValueTypeArray1234 { - yyl3851 := r.ReadArrayStart() - if yyl3851 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3851, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48627,12 +52511,12 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3852Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3852Slc - var yyhl3852 bool = l >= 0 - for yyj3852 := 0; ; yyj3852++ { - if yyhl3852 { - if yyj3852 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -48641,26 +52525,38 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3852Slc = r.DecodeBytes(yys3852Slc, true, true) - yys3852 := string(yys3852Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3852 { + switch yys3 { case "component": if r.TryDecodeAsNil() { x.Component = "" } else { - x.Component = string(r.DecodeString()) + yyv4 := &x.Component + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "host": if r.TryDecodeAsNil() { x.Host = "" } else { - x.Host = string(r.DecodeString()) + yyv6 := &x.Host + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys3852) - } // end switch yys3852 - } // end for yyj3852 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48668,16 +52564,16 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3855 int - var yyb3855 bool - var yyhl3855 bool = l >= 0 - yyj3855++ - if yyhl3855 { - yyb3855 = yyj3855 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb3855 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb3855 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48685,15 +52581,21 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Component = "" } else { - x.Component = string(r.DecodeString()) + yyv9 := &x.Component + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj3855++ - if yyhl3855 { - yyb3855 = yyj3855 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb3855 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb3855 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48701,20 +52603,26 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Host = "" } else { - x.Host = string(r.DecodeString()) + yyv11 := &x.Host + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj3855++ - if yyhl3855 { - yyb3855 = yyj3855 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb3855 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb3855 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3855-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48726,43 +52634,43 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3858 := z.EncBinary() - _ = yym3858 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3859 := !z.EncBinary() - yy2arr3859 := z.EncBasicHandle().StructToArray - var yyq3859 [11]bool - _, _, _ = yysep3859, yyq3859, yy2arr3859 - const yyr3859 bool = false - yyq3859[0] = x.Kind != "" - yyq3859[1] = x.APIVersion != "" - yyq3859[4] = x.Reason != "" - yyq3859[5] = x.Message != "" - yyq3859[6] = true - yyq3859[7] = true - yyq3859[8] = true - yyq3859[9] = x.Count != 0 - yyq3859[10] = x.Type != "" - var yynn3859 int - if yyr3859 || yy2arr3859 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [11]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[4] = x.Reason != "" + yyq2[5] = x.Message != "" + yyq2[6] = true + yyq2[7] = true + yyq2[8] = true + yyq2[9] = x.Count != 0 + yyq2[10] = x.Type != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(11) } else { - yynn3859 = 2 - for _, b := range yyq3859 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn3859++ + yynn2++ } } - r.EncodeMapStart(yynn3859) - yynn3859 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3859 || yy2arr3859 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3859[0] { - yym3861 := z.EncBinary() - _ = yym3861 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -48771,23 +52679,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3859[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3862 := z.EncBinary() - _ = yym3862 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3859 || yy2arr3859 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3859[1] { - yym3864 := z.EncBinary() - _ = yym3864 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -48796,45 +52704,45 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3859[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3865 := z.EncBinary() - _ = yym3865 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3859 || yy2arr3859 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3867 := &x.ObjectMeta - yy3867.CodecEncodeSelf(e) + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3868 := &x.ObjectMeta - yy3868.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } - if yyr3859 || yy2arr3859 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3870 := &x.InvolvedObject - yy3870.CodecEncodeSelf(e) + yy15 := &x.InvolvedObject + yy15.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3871 := &x.InvolvedObject - yy3871.CodecEncodeSelf(e) + yy17 := &x.InvolvedObject + yy17.CodecEncodeSelf(e) } - if yyr3859 || yy2arr3859 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3859[4] { - yym3873 := z.EncBinary() - _ = yym3873 + if yyq2[4] { + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -48843,23 +52751,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3859[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3874 := z.EncBinary() - _ = yym3874 + yym21 := z.EncBinary() + _ = yym21 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3859 || yy2arr3859 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3859[5] { - yym3876 := z.EncBinary() - _ = yym3876 + if yyq2[5] { + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -48868,114 +52776,114 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3859[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3877 := z.EncBinary() - _ = yym3877 + yym24 := z.EncBinary() + _ = yym24 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3859 || yy2arr3859 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3859[6] { - yy3879 := &x.Source - yy3879.CodecEncodeSelf(e) + if yyq2[6] { + yy26 := &x.Source + yy26.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3859[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("source")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3880 := &x.Source - yy3880.CodecEncodeSelf(e) + yy28 := &x.Source + yy28.CodecEncodeSelf(e) } } - if yyr3859 || yy2arr3859 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3859[7] { - yy3882 := &x.FirstTimestamp - yym3883 := z.EncBinary() - _ = yym3883 + if yyq2[7] { + yy31 := &x.FirstTimestamp + yym32 := z.EncBinary() + _ = yym32 if false { - } else if z.HasExtensions() && z.EncExt(yy3882) { - } else if yym3883 { - z.EncBinaryMarshal(yy3882) - } else if !yym3883 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3882) + } else if z.HasExtensions() && z.EncExt(yy31) { + } else if yym32 { + z.EncBinaryMarshal(yy31) + } else if !yym32 && z.IsJSONHandle() { + z.EncJSONMarshal(yy31) } else { - z.EncFallback(yy3882) + z.EncFallback(yy31) } } else { r.EncodeNil() } } else { - if yyq3859[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("firstTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3884 := &x.FirstTimestamp - yym3885 := z.EncBinary() - _ = yym3885 + yy33 := &x.FirstTimestamp + yym34 := z.EncBinary() + _ = yym34 if false { - } else if z.HasExtensions() && z.EncExt(yy3884) { - } else if yym3885 { - z.EncBinaryMarshal(yy3884) - } else if !yym3885 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3884) + } else if z.HasExtensions() && z.EncExt(yy33) { + } else if yym34 { + z.EncBinaryMarshal(yy33) + } else if !yym34 && z.IsJSONHandle() { + z.EncJSONMarshal(yy33) } else { - z.EncFallback(yy3884) + z.EncFallback(yy33) } } } - if yyr3859 || yy2arr3859 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3859[8] { - yy3887 := &x.LastTimestamp - yym3888 := z.EncBinary() - _ = yym3888 + if yyq2[8] { + yy36 := &x.LastTimestamp + yym37 := z.EncBinary() + _ = yym37 if false { - } else if z.HasExtensions() && z.EncExt(yy3887) { - } else if yym3888 { - z.EncBinaryMarshal(yy3887) - } else if !yym3888 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3887) + } else if z.HasExtensions() && z.EncExt(yy36) { + } else if yym37 { + z.EncBinaryMarshal(yy36) + } else if !yym37 && z.IsJSONHandle() { + z.EncJSONMarshal(yy36) } else { - z.EncFallback(yy3887) + z.EncFallback(yy36) } } else { r.EncodeNil() } } else { - if yyq3859[8] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3889 := &x.LastTimestamp - yym3890 := z.EncBinary() - _ = yym3890 + yy38 := &x.LastTimestamp + yym39 := z.EncBinary() + _ = yym39 if false { - } else if z.HasExtensions() && z.EncExt(yy3889) { - } else if yym3890 { - z.EncBinaryMarshal(yy3889) - } else if !yym3890 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3889) + } else if z.HasExtensions() && z.EncExt(yy38) { + } else if yym39 { + z.EncBinaryMarshal(yy38) + } else if !yym39 && z.IsJSONHandle() { + z.EncJSONMarshal(yy38) } else { - z.EncFallback(yy3889) + z.EncFallback(yy38) } } } - if yyr3859 || yy2arr3859 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3859[9] { - yym3892 := z.EncBinary() - _ = yym3892 + if yyq2[9] { + yym41 := z.EncBinary() + _ = yym41 if false { } else { r.EncodeInt(int64(x.Count)) @@ -48984,23 +52892,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq3859[9] { + if yyq2[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("count")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3893 := z.EncBinary() - _ = yym3893 + yym42 := z.EncBinary() + _ = yym42 if false { } else { r.EncodeInt(int64(x.Count)) } } } - if yyr3859 || yy2arr3859 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3859[10] { - yym3895 := z.EncBinary() - _ = yym3895 + if yyq2[10] { + yym44 := z.EncBinary() + _ = yym44 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -49009,19 +52917,19 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3859[10] { + if yyq2[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3896 := z.EncBinary() - _ = yym3896 + yym45 := z.EncBinary() + _ = yym45 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3859 || yy2arr3859 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49034,25 +52942,25 @@ func (x *Event) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3897 := z.DecBinary() - _ = yym3897 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3898 := r.ContainerType() - if yyct3898 == codecSelferValueTypeMap1234 { - yyl3898 := r.ReadMapStart() - if yyl3898 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3898, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3898 == codecSelferValueTypeArray1234 { - yyl3898 := r.ReadArrayStart() - if yyl3898 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3898, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49064,12 +52972,12 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3899Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3899Slc - var yyhl3899 bool = l >= 0 - for yyj3899 := 0; ; yyj3899++ { - if yyhl3899 { - if yyj3899 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -49078,105 +52986,141 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3899Slc = r.DecodeBytes(yys3899Slc, true, true) - yys3899 := string(yys3899Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3899 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3902 := &x.ObjectMeta - yyv3902.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "involvedObject": if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3903 := &x.InvolvedObject - yyv3903.CodecDecodeSelf(d) + yyv9 := &x.InvolvedObject + yyv9.CodecDecodeSelf(d) } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv10 := &x.Reason + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv12 := &x.Message + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } case "source": if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3906 := &x.Source - yyv3906.CodecDecodeSelf(d) + yyv14 := &x.Source + yyv14.CodecDecodeSelf(d) } case "firstTimestamp": if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_v1.Time{} } else { - yyv3907 := &x.FirstTimestamp - yym3908 := z.DecBinary() - _ = yym3908 + yyv15 := &x.FirstTimestamp + yym16 := z.DecBinary() + _ = yym16 if false { - } else if z.HasExtensions() && z.DecExt(yyv3907) { - } else if yym3908 { - z.DecBinaryUnmarshal(yyv3907) - } else if !yym3908 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3907) + } else if z.HasExtensions() && z.DecExt(yyv15) { + } else if yym16 { + z.DecBinaryUnmarshal(yyv15) + } else if !yym16 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv15) } else { - z.DecFallback(yyv3907, false) + z.DecFallback(yyv15, false) } } case "lastTimestamp": if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_v1.Time{} } else { - yyv3909 := &x.LastTimestamp - yym3910 := z.DecBinary() - _ = yym3910 + yyv17 := &x.LastTimestamp + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv3909) { - } else if yym3910 { - z.DecBinaryUnmarshal(yyv3909) - } else if !yym3910 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3909) + } else if z.HasExtensions() && z.DecExt(yyv17) { + } else if yym18 { + z.DecBinaryUnmarshal(yyv17) + } else if !yym18 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv17) } else { - z.DecFallback(yyv3909, false) + z.DecFallback(yyv17, false) } } case "count": if r.TryDecodeAsNil() { x.Count = 0 } else { - x.Count = int32(r.DecodeInt(32)) + yyv19 := &x.Count + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*int32)(yyv19)) = int32(r.DecodeInt(32)) + } } case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = string(r.DecodeString()) + yyv21 := &x.Type + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys3899) - } // end switch yys3899 - } // end for yyj3899 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49184,16 +53128,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3913 int - var yyb3913 bool - var yyhl3913 bool = l >= 0 - yyj3913++ - if yyhl3913 { - yyb3913 = yyj3913 > l + var yyj23 int + var yyb23 bool + var yyhl23 bool = l >= 0 + yyj23++ + if yyhl23 { + yyb23 = yyj23 > l } else { - yyb3913 = r.CheckBreak() + yyb23 = r.CheckBreak() } - if yyb3913 { + if yyb23 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49201,15 +53145,21 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv24 := &x.Kind + yym25 := z.DecBinary() + _ = yym25 + if false { + } else { + *((*string)(yyv24)) = r.DecodeString() + } } - yyj3913++ - if yyhl3913 { - yyb3913 = yyj3913 > l + yyj23++ + if yyhl23 { + yyb23 = yyj23 > l } else { - yyb3913 = r.CheckBreak() + yyb23 = r.CheckBreak() } - if yyb3913 { + if yyb23 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49217,15 +53167,21 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv26 := &x.APIVersion + yym27 := z.DecBinary() + _ = yym27 + if false { + } else { + *((*string)(yyv26)) = r.DecodeString() + } } - yyj3913++ - if yyhl3913 { - yyb3913 = yyj3913 > l + yyj23++ + if yyhl23 { + yyb23 = yyj23 > l } else { - yyb3913 = r.CheckBreak() + yyb23 = r.CheckBreak() } - if yyb3913 { + if yyb23 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49233,16 +53189,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3916 := &x.ObjectMeta - yyv3916.CodecDecodeSelf(d) + yyv28 := &x.ObjectMeta + yyv28.CodecDecodeSelf(d) } - yyj3913++ - if yyhl3913 { - yyb3913 = yyj3913 > l + yyj23++ + if yyhl23 { + yyb23 = yyj23 > l } else { - yyb3913 = r.CheckBreak() + yyb23 = r.CheckBreak() } - if yyb3913 { + if yyb23 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49250,16 +53206,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3917 := &x.InvolvedObject - yyv3917.CodecDecodeSelf(d) + yyv29 := &x.InvolvedObject + yyv29.CodecDecodeSelf(d) } - yyj3913++ - if yyhl3913 { - yyb3913 = yyj3913 > l + yyj23++ + if yyhl23 { + yyb23 = yyj23 > l } else { - yyb3913 = r.CheckBreak() + yyb23 = r.CheckBreak() } - if yyb3913 { + if yyb23 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49267,15 +53223,21 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv30 := &x.Reason + yym31 := z.DecBinary() + _ = yym31 + if false { + } else { + *((*string)(yyv30)) = r.DecodeString() + } } - yyj3913++ - if yyhl3913 { - yyb3913 = yyj3913 > l + yyj23++ + if yyhl23 { + yyb23 = yyj23 > l } else { - yyb3913 = r.CheckBreak() + yyb23 = r.CheckBreak() } - if yyb3913 { + if yyb23 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49283,15 +53245,21 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv32 := &x.Message + yym33 := z.DecBinary() + _ = yym33 + if false { + } else { + *((*string)(yyv32)) = r.DecodeString() + } } - yyj3913++ - if yyhl3913 { - yyb3913 = yyj3913 > l + yyj23++ + if yyhl23 { + yyb23 = yyj23 > l } else { - yyb3913 = r.CheckBreak() + yyb23 = r.CheckBreak() } - if yyb3913 { + if yyb23 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49299,16 +53267,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3920 := &x.Source - yyv3920.CodecDecodeSelf(d) + yyv34 := &x.Source + yyv34.CodecDecodeSelf(d) } - yyj3913++ - if yyhl3913 { - yyb3913 = yyj3913 > l + yyj23++ + if yyhl23 { + yyb23 = yyj23 > l } else { - yyb3913 = r.CheckBreak() + yyb23 = r.CheckBreak() } - if yyb3913 { + if yyb23 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49316,26 +53284,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_v1.Time{} } else { - yyv3921 := &x.FirstTimestamp - yym3922 := z.DecBinary() - _ = yym3922 + yyv35 := &x.FirstTimestamp + yym36 := z.DecBinary() + _ = yym36 if false { - } else if z.HasExtensions() && z.DecExt(yyv3921) { - } else if yym3922 { - z.DecBinaryUnmarshal(yyv3921) - } else if !yym3922 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3921) + } else if z.HasExtensions() && z.DecExt(yyv35) { + } else if yym36 { + z.DecBinaryUnmarshal(yyv35) + } else if !yym36 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv35) } else { - z.DecFallback(yyv3921, false) + z.DecFallback(yyv35, false) } } - yyj3913++ - if yyhl3913 { - yyb3913 = yyj3913 > l + yyj23++ + if yyhl23 { + yyb23 = yyj23 > l } else { - yyb3913 = r.CheckBreak() + yyb23 = r.CheckBreak() } - if yyb3913 { + if yyb23 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49343,26 +53311,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_v1.Time{} } else { - yyv3923 := &x.LastTimestamp - yym3924 := z.DecBinary() - _ = yym3924 + yyv37 := &x.LastTimestamp + yym38 := z.DecBinary() + _ = yym38 if false { - } else if z.HasExtensions() && z.DecExt(yyv3923) { - } else if yym3924 { - z.DecBinaryUnmarshal(yyv3923) - } else if !yym3924 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3923) + } else if z.HasExtensions() && z.DecExt(yyv37) { + } else if yym38 { + z.DecBinaryUnmarshal(yyv37) + } else if !yym38 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv37) } else { - z.DecFallback(yyv3923, false) + z.DecFallback(yyv37, false) } } - yyj3913++ - if yyhl3913 { - yyb3913 = yyj3913 > l + yyj23++ + if yyhl23 { + yyb23 = yyj23 > l } else { - yyb3913 = r.CheckBreak() + yyb23 = r.CheckBreak() } - if yyb3913 { + if yyb23 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49370,15 +53338,21 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Count = 0 } else { - x.Count = int32(r.DecodeInt(32)) + yyv39 := &x.Count + yym40 := z.DecBinary() + _ = yym40 + if false { + } else { + *((*int32)(yyv39)) = int32(r.DecodeInt(32)) + } } - yyj3913++ - if yyhl3913 { - yyb3913 = yyj3913 > l + yyj23++ + if yyhl23 { + yyb23 = yyj23 > l } else { - yyb3913 = r.CheckBreak() + yyb23 = r.CheckBreak() } - if yyb3913 { + if yyb23 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49386,20 +53360,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = string(r.DecodeString()) + yyv41 := &x.Type + yym42 := z.DecBinary() + _ = yym42 + if false { + } else { + *((*string)(yyv41)) = r.DecodeString() + } } for { - yyj3913++ - if yyhl3913 { - yyb3913 = yyj3913 > l + yyj23++ + if yyhl23 { + yyb23 = yyj23 > l } else { - yyb3913 = r.CheckBreak() + yyb23 = r.CheckBreak() } - if yyb3913 { + if yyb23 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3913-1, "") + z.DecStructFieldNotFound(yyj23-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49411,37 +53391,37 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3927 := z.EncBinary() - _ = yym3927 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3928 := !z.EncBinary() - yy2arr3928 := z.EncBasicHandle().StructToArray - var yyq3928 [4]bool - _, _, _ = yysep3928, yyq3928, yy2arr3928 - const yyr3928 bool = false - yyq3928[0] = x.Kind != "" - yyq3928[1] = x.APIVersion != "" - yyq3928[2] = true - var yynn3928 int - if yyr3928 || yy2arr3928 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn3928 = 1 - for _, b := range yyq3928 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn3928++ + yynn2++ } } - r.EncodeMapStart(yynn3928) - yynn3928 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3928 || yy2arr3928 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3928[0] { - yym3930 := z.EncBinary() - _ = yym3930 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -49450,23 +53430,23 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3928[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3931 := z.EncBinary() - _ = yym3931 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3928 || yy2arr3928 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3928[1] { - yym3933 := z.EncBinary() - _ = yym3933 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -49475,54 +53455,54 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3928[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3934 := z.EncBinary() - _ = yym3934 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3928 || yy2arr3928 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3928[2] { - yy3936 := &x.ListMeta - yym3937 := z.EncBinary() - _ = yym3937 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy3936) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy3936) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq3928[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3938 := &x.ListMeta - yym3939 := z.EncBinary() - _ = yym3939 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy3938) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy3938) + z.EncFallback(yy12) } } } - if yyr3928 || yy2arr3928 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3941 := z.EncBinary() - _ = yym3941 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) @@ -49535,15 +53515,15 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3942 := z.EncBinary() - _ = yym3942 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) } } } - if yyr3928 || yy2arr3928 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49556,25 +53536,25 @@ func (x *EventList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3943 := z.DecBinary() - _ = yym3943 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3944 := r.ContainerType() - if yyct3944 == codecSelferValueTypeMap1234 { - yyl3944 := r.ReadMapStart() - if yyl3944 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3944, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3944 == codecSelferValueTypeArray1234 { - yyl3944 := r.ReadArrayStart() - if yyl3944 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3944, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49586,12 +53566,12 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3945Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3945Slc - var yyhl3945 bool = l >= 0 - for yyj3945 := 0; ; yyj3945++ { - if yyhl3945 { - if yyj3945 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -49600,51 +53580,63 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3945Slc = r.DecodeBytes(yys3945Slc, true, true) - yys3945 := string(yys3945Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3945 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv3948 := &x.ListMeta - yym3949 := z.DecBinary() - _ = yym3949 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv3948) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv3948, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3950 := &x.Items - yym3951 := z.DecBinary() - _ = yym3951 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceEvent((*[]Event)(yyv3950), d) + h.decSliceEvent((*[]Event)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys3945) - } // end switch yys3945 - } // end for yyj3945 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49652,16 +53644,16 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3952 int - var yyb3952 bool - var yyhl3952 bool = l >= 0 - yyj3952++ - if yyhl3952 { - yyb3952 = yyj3952 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3952 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3952 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49669,15 +53661,21 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj3952++ - if yyhl3952 { - yyb3952 = yyj3952 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3952 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3952 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49685,15 +53683,21 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj3952++ - if yyhl3952 { - yyb3952 = yyj3952 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3952 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3952 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49701,22 +53705,22 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv3955 := &x.ListMeta - yym3956 := z.DecBinary() - _ = yym3956 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv3955) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv3955, false) + z.DecFallback(yyv17, false) } } - yyj3952++ - if yyhl3952 { - yyb3952 = yyj3952 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3952 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3952 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49724,26 +53728,26 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3957 := &x.Items - yym3958 := z.DecBinary() - _ = yym3958 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceEvent((*[]Event)(yyv3957), d) + h.decSliceEvent((*[]Event)(yyv19), d) } } for { - yyj3952++ - if yyhl3952 { - yyb3952 = yyj3952 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3952 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3952 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3952-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49755,37 +53759,37 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3959 := z.EncBinary() - _ = yym3959 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3960 := !z.EncBinary() - yy2arr3960 := z.EncBasicHandle().StructToArray - var yyq3960 [4]bool - _, _, _ = yysep3960, yyq3960, yy2arr3960 - const yyr3960 bool = false - yyq3960[0] = x.Kind != "" - yyq3960[1] = x.APIVersion != "" - yyq3960[2] = true - var yynn3960 int - if yyr3960 || yy2arr3960 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn3960 = 1 - for _, b := range yyq3960 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn3960++ + yynn2++ } } - r.EncodeMapStart(yynn3960) - yynn3960 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3960 || yy2arr3960 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3960[0] { - yym3962 := z.EncBinary() - _ = yym3962 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -49794,23 +53798,23 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3960[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3963 := z.EncBinary() - _ = yym3963 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3960 || yy2arr3960 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3960[1] { - yym3965 := z.EncBinary() - _ = yym3965 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -49819,54 +53823,54 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3960[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3966 := z.EncBinary() - _ = yym3966 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3960 || yy2arr3960 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3960[2] { - yy3968 := &x.ListMeta - yym3969 := z.EncBinary() - _ = yym3969 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy3968) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy3968) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq3960[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3970 := &x.ListMeta - yym3971 := z.EncBinary() - _ = yym3971 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy3970) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy3970) + z.EncFallback(yy12) } } } - if yyr3960 || yy2arr3960 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3973 := z.EncBinary() - _ = yym3973 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceruntime_RawExtension(([]pkg5_runtime.RawExtension)(x.Items), e) @@ -49879,15 +53883,15 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3974 := z.EncBinary() - _ = yym3974 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceruntime_RawExtension(([]pkg5_runtime.RawExtension)(x.Items), e) } } } - if yyr3960 || yy2arr3960 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49900,25 +53904,25 @@ func (x *List) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3975 := z.DecBinary() - _ = yym3975 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3976 := r.ContainerType() - if yyct3976 == codecSelferValueTypeMap1234 { - yyl3976 := r.ReadMapStart() - if yyl3976 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3976, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct3976 == codecSelferValueTypeArray1234 { - yyl3976 := r.ReadArrayStart() - if yyl3976 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3976, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49930,12 +53934,12 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3977Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3977Slc - var yyhl3977 bool = l >= 0 - for yyj3977 := 0; ; yyj3977++ { - if yyhl3977 { - if yyj3977 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -49944,51 +53948,63 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3977Slc = r.DecodeBytes(yys3977Slc, true, true) - yys3977 := string(yys3977Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3977 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv3980 := &x.ListMeta - yym3981 := z.DecBinary() - _ = yym3981 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv3980) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv3980, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3982 := &x.Items - yym3983 := z.DecBinary() - _ = yym3983 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv3982), d) + h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys3977) - } // end switch yys3977 - } // end for yyj3977 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49996,16 +54012,16 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3984 int - var yyb3984 bool - var yyhl3984 bool = l >= 0 - yyj3984++ - if yyhl3984 { - yyb3984 = yyj3984 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3984 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3984 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50013,15 +54029,21 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj3984++ - if yyhl3984 { - yyb3984 = yyj3984 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3984 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3984 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50029,15 +54051,21 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj3984++ - if yyhl3984 { - yyb3984 = yyj3984 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3984 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3984 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50045,22 +54073,22 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv3987 := &x.ListMeta - yym3988 := z.DecBinary() - _ = yym3988 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv3987) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv3987, false) + z.DecFallback(yyv17, false) } } - yyj3984++ - if yyhl3984 { - yyb3984 = yyj3984 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3984 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3984 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50068,26 +54096,26 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3989 := &x.Items - yym3990 := z.DecBinary() - _ = yym3990 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv3989), d) + h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv19), d) } } for { - yyj3984++ - if yyhl3984 { - yyb3984 = yyj3984 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb3984 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb3984 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3984-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50096,8 +54124,8 @@ func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3991 := z.EncBinary() - _ = yym3991 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -50109,8 +54137,8 @@ func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3992 := z.DecBinary() - _ = yym3992 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -50125,53 +54153,53 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3993 := z.EncBinary() - _ = yym3993 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3994 := !z.EncBinary() - yy2arr3994 := z.EncBasicHandle().StructToArray - var yyq3994 [6]bool - _, _, _ = yysep3994, yyq3994, yy2arr3994 - const yyr3994 bool = false - yyq3994[0] = x.Type != "" - yyq3994[1] = len(x.Max) != 0 - yyq3994[2] = len(x.Min) != 0 - yyq3994[3] = len(x.Default) != 0 - yyq3994[4] = len(x.DefaultRequest) != 0 - yyq3994[5] = len(x.MaxLimitRequestRatio) != 0 - var yynn3994 int - if yyr3994 || yy2arr3994 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Type != "" + yyq2[1] = len(x.Max) != 0 + yyq2[2] = len(x.Min) != 0 + yyq2[3] = len(x.Default) != 0 + yyq2[4] = len(x.DefaultRequest) != 0 + yyq2[5] = len(x.MaxLimitRequestRatio) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn3994 = 0 - for _, b := range yyq3994 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn3994++ + yynn2++ } } - r.EncodeMapStart(yynn3994) - yynn3994 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr3994 || yy2arr3994 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3994[0] { + if yyq2[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3994[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr3994 || yy2arr3994 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3994[1] { + if yyq2[1] { if x.Max == nil { r.EncodeNil() } else { @@ -50181,7 +54209,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3994[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50192,9 +54220,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3994 || yy2arr3994 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3994[2] { + if yyq2[2] { if x.Min == nil { r.EncodeNil() } else { @@ -50204,7 +54232,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3994[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50215,9 +54243,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3994 || yy2arr3994 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3994[3] { + if yyq2[3] { if x.Default == nil { r.EncodeNil() } else { @@ -50227,7 +54255,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3994[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("default")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50238,9 +54266,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3994 || yy2arr3994 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3994[4] { + if yyq2[4] { if x.DefaultRequest == nil { r.EncodeNil() } else { @@ -50250,7 +54278,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3994[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50261,9 +54289,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3994 || yy2arr3994 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3994[5] { + if yyq2[5] { if x.MaxLimitRequestRatio == nil { r.EncodeNil() } else { @@ -50273,7 +54301,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3994[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50284,7 +54312,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3994 || yy2arr3994 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50297,25 +54325,25 @@ func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4001 := z.DecBinary() - _ = yym4001 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4002 := r.ContainerType() - if yyct4002 == codecSelferValueTypeMap1234 { - yyl4002 := r.ReadMapStart() - if yyl4002 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4002, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4002 == codecSelferValueTypeArray1234 { - yyl4002 := r.ReadArrayStart() - if yyl4002 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4002, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50327,12 +54355,12 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4003Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4003Slc - var yyhl4003 bool = l >= 0 - for yyj4003 := 0; ; yyj4003++ { - if yyhl4003 { - if yyj4003 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -50341,55 +54369,56 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4003Slc = r.DecodeBytes(yys4003Slc, true, true) - yys4003 := string(yys4003Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4003 { + switch yys3 { case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = LimitType(r.DecodeString()) + yyv4 := &x.Type + yyv4.CodecDecodeSelf(d) } case "max": if r.TryDecodeAsNil() { x.Max = nil } else { - yyv4005 := &x.Max - yyv4005.CodecDecodeSelf(d) + yyv5 := &x.Max + yyv5.CodecDecodeSelf(d) } case "min": if r.TryDecodeAsNil() { x.Min = nil } else { - yyv4006 := &x.Min - yyv4006.CodecDecodeSelf(d) + yyv6 := &x.Min + yyv6.CodecDecodeSelf(d) } case "default": if r.TryDecodeAsNil() { x.Default = nil } else { - yyv4007 := &x.Default - yyv4007.CodecDecodeSelf(d) + yyv7 := &x.Default + yyv7.CodecDecodeSelf(d) } case "defaultRequest": if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv4008 := &x.DefaultRequest - yyv4008.CodecDecodeSelf(d) + yyv8 := &x.DefaultRequest + yyv8.CodecDecodeSelf(d) } case "maxLimitRequestRatio": if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv4009 := &x.MaxLimitRequestRatio - yyv4009.CodecDecodeSelf(d) + yyv9 := &x.MaxLimitRequestRatio + yyv9.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4003) - } // end switch yys4003 - } // end for yyj4003 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50397,16 +54426,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4010 int - var yyb4010 bool - var yyhl4010 bool = l >= 0 - yyj4010++ - if yyhl4010 { - yyb4010 = yyj4010 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4010 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4010 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50414,15 +54443,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = LimitType(r.DecodeString()) + yyv11 := &x.Type + yyv11.CodecDecodeSelf(d) } - yyj4010++ - if yyhl4010 { - yyb4010 = yyj4010 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4010 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4010 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50430,16 +54460,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv4012 := &x.Max - yyv4012.CodecDecodeSelf(d) + yyv12 := &x.Max + yyv12.CodecDecodeSelf(d) } - yyj4010++ - if yyhl4010 { - yyb4010 = yyj4010 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4010 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4010 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50447,16 +54477,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Min = nil } else { - yyv4013 := &x.Min - yyv4013.CodecDecodeSelf(d) + yyv13 := &x.Min + yyv13.CodecDecodeSelf(d) } - yyj4010++ - if yyhl4010 { - yyb4010 = yyj4010 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4010 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4010 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50464,16 +54494,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Default = nil } else { - yyv4014 := &x.Default - yyv4014.CodecDecodeSelf(d) + yyv14 := &x.Default + yyv14.CodecDecodeSelf(d) } - yyj4010++ - if yyhl4010 { - yyb4010 = yyj4010 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4010 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4010 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50481,16 +54511,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv4015 := &x.DefaultRequest - yyv4015.CodecDecodeSelf(d) + yyv15 := &x.DefaultRequest + yyv15.CodecDecodeSelf(d) } - yyj4010++ - if yyhl4010 { - yyb4010 = yyj4010 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4010 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4010 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50498,21 +54528,21 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv4016 := &x.MaxLimitRequestRatio - yyv4016.CodecDecodeSelf(d) + yyv16 := &x.MaxLimitRequestRatio + yyv16.CodecDecodeSelf(d) } for { - yyj4010++ - if yyhl4010 { - yyb4010 = yyj4010 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4010 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4010 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4010-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50524,36 +54554,36 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4017 := z.EncBinary() - _ = yym4017 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4018 := !z.EncBinary() - yy2arr4018 := z.EncBasicHandle().StructToArray - var yyq4018 [1]bool - _, _, _ = yysep4018, yyq4018, yy2arr4018 - const yyr4018 bool = false - var yynn4018 int - if yyr4018 || yy2arr4018 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn4018 = 1 - for _, b := range yyq4018 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn4018++ + yynn2++ } } - r.EncodeMapStart(yynn4018) - yynn4018 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4018 || yy2arr4018 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Limits == nil { r.EncodeNil() } else { - yym4020 := z.EncBinary() - _ = yym4020 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) @@ -50566,15 +54596,15 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Limits == nil { r.EncodeNil() } else { - yym4021 := z.EncBinary() - _ = yym4021 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) } } } - if yyr4018 || yy2arr4018 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50587,25 +54617,25 @@ func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4022 := z.DecBinary() - _ = yym4022 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4023 := r.ContainerType() - if yyct4023 == codecSelferValueTypeMap1234 { - yyl4023 := r.ReadMapStart() - if yyl4023 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4023, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4023 == codecSelferValueTypeArray1234 { - yyl4023 := r.ReadArrayStart() - if yyl4023 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4023, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50617,12 +54647,12 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4024Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4024Slc - var yyhl4024 bool = l >= 0 - for yyj4024 := 0; ; yyj4024++ { - if yyhl4024 { - if yyj4024 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -50631,26 +54661,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4024Slc = r.DecodeBytes(yys4024Slc, true, true) - yys4024 := string(yys4024Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4024 { + switch yys3 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv4025 := &x.Limits - yym4026 := z.DecBinary() - _ = yym4026 + yyv4 := &x.Limits + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4025), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4), d) } } default: - z.DecStructFieldNotFound(-1, yys4024) - } // end switch yys4024 - } // end for yyj4024 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50658,16 +54688,16 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4027 int - var yyb4027 bool - var yyhl4027 bool = l >= 0 - yyj4027++ - if yyhl4027 { - yyb4027 = yyj4027 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb4027 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb4027 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50675,26 +54705,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv4028 := &x.Limits - yym4029 := z.DecBinary() - _ = yym4029 + yyv7 := &x.Limits + yym8 := z.DecBinary() + _ = yym8 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4028), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv7), d) } } for { - yyj4027++ - if yyhl4027 { - yyb4027 = yyj4027 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb4027 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb4027 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4027-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50706,38 +54736,38 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4030 := z.EncBinary() - _ = yym4030 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4031 := !z.EncBinary() - yy2arr4031 := z.EncBasicHandle().StructToArray - var yyq4031 [4]bool - _, _, _ = yysep4031, yyq4031, yy2arr4031 - const yyr4031 bool = false - yyq4031[0] = x.Kind != "" - yyq4031[1] = x.APIVersion != "" - yyq4031[2] = true - yyq4031[3] = true - var yynn4031 int - if yyr4031 || yy2arr4031 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn4031 = 0 - for _, b := range yyq4031 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn4031++ + yynn2++ } } - r.EncodeMapStart(yynn4031) - yynn4031 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4031 || yy2arr4031 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4031[0] { - yym4033 := z.EncBinary() - _ = yym4033 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -50746,23 +54776,23 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4031[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4034 := z.EncBinary() - _ = yym4034 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4031 || yy2arr4031 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4031[1] { - yym4036 := z.EncBinary() - _ = yym4036 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -50771,53 +54801,53 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4031[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4037 := z.EncBinary() - _ = yym4037 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4031 || yy2arr4031 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4031[2] { - yy4039 := &x.ObjectMeta - yy4039.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4031[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4040 := &x.ObjectMeta - yy4040.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr4031 || yy2arr4031 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4031[3] { - yy4042 := &x.Spec - yy4042.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4031[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4043 := &x.Spec - yy4043.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr4031 || yy2arr4031 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50830,25 +54860,25 @@ func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4044 := z.DecBinary() - _ = yym4044 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4045 := r.ContainerType() - if yyct4045 == codecSelferValueTypeMap1234 { - yyl4045 := r.ReadMapStart() - if yyl4045 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4045, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4045 == codecSelferValueTypeArray1234 { - yyl4045 := r.ReadArrayStart() - if yyl4045 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4045, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50860,12 +54890,12 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4046Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4046Slc - var yyhl4046 bool = l >= 0 - for yyj4046 := 0; ; yyj4046++ { - if yyhl4046 { - if yyj4046 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -50874,40 +54904,52 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4046Slc = r.DecodeBytes(yys4046Slc, true, true) - yys4046 := string(yys4046Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4046 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4049 := &x.ObjectMeta - yyv4049.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv4050 := &x.Spec - yyv4050.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4046) - } // end switch yys4046 - } // end for yyj4046 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50915,16 +54957,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4051 int - var yyb4051 bool - var yyhl4051 bool = l >= 0 - yyj4051++ - if yyhl4051 { - yyb4051 = yyj4051 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4051 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4051 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50932,15 +54974,21 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv11 := &x.Kind + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj4051++ - if yyhl4051 { - yyb4051 = yyj4051 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4051 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4051 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50948,15 +54996,21 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv13 := &x.APIVersion + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj4051++ - if yyhl4051 { - yyb4051 = yyj4051 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4051 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4051 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50964,16 +55018,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4054 := &x.ObjectMeta - yyv4054.CodecDecodeSelf(d) + yyv15 := &x.ObjectMeta + yyv15.CodecDecodeSelf(d) } - yyj4051++ - if yyhl4051 { - yyb4051 = yyj4051 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4051 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4051 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50981,21 +55035,21 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv4055 := &x.Spec - yyv4055.CodecDecodeSelf(d) + yyv16 := &x.Spec + yyv16.CodecDecodeSelf(d) } for { - yyj4051++ - if yyhl4051 { - yyb4051 = yyj4051 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4051 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4051 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4051-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51007,37 +55061,37 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4056 := z.EncBinary() - _ = yym4056 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4057 := !z.EncBinary() - yy2arr4057 := z.EncBasicHandle().StructToArray - var yyq4057 [4]bool - _, _, _ = yysep4057, yyq4057, yy2arr4057 - const yyr4057 bool = false - yyq4057[0] = x.Kind != "" - yyq4057[1] = x.APIVersion != "" - yyq4057[2] = true - var yynn4057 int - if yyr4057 || yy2arr4057 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn4057 = 1 - for _, b := range yyq4057 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn4057++ + yynn2++ } } - r.EncodeMapStart(yynn4057) - yynn4057 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4057 || yy2arr4057 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4057[0] { - yym4059 := z.EncBinary() - _ = yym4059 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -51046,23 +55100,23 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4057[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4060 := z.EncBinary() - _ = yym4060 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4057 || yy2arr4057 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4057[1] { - yym4062 := z.EncBinary() - _ = yym4062 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -51071,54 +55125,54 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4057[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4063 := z.EncBinary() - _ = yym4063 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4057 || yy2arr4057 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4057[2] { - yy4065 := &x.ListMeta - yym4066 := z.EncBinary() - _ = yym4066 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy4065) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy4065) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq4057[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4067 := &x.ListMeta - yym4068 := z.EncBinary() - _ = yym4068 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy4067) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy4067) + z.EncFallback(yy12) } } } - if yyr4057 || yy2arr4057 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4070 := z.EncBinary() - _ = yym4070 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) @@ -51131,15 +55185,15 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4071 := z.EncBinary() - _ = yym4071 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) } } } - if yyr4057 || yy2arr4057 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51152,25 +55206,25 @@ func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4072 := z.DecBinary() - _ = yym4072 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4073 := r.ContainerType() - if yyct4073 == codecSelferValueTypeMap1234 { - yyl4073 := r.ReadMapStart() - if yyl4073 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4073, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4073 == codecSelferValueTypeArray1234 { - yyl4073 := r.ReadArrayStart() - if yyl4073 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4073, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51182,12 +55236,12 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4074Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4074Slc - var yyhl4074 bool = l >= 0 - for yyj4074 := 0; ; yyj4074++ { - if yyhl4074 { - if yyj4074 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -51196,51 +55250,63 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4074Slc = r.DecodeBytes(yys4074Slc, true, true) - yys4074 := string(yys4074Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4074 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv4077 := &x.ListMeta - yym4078 := z.DecBinary() - _ = yym4078 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv4077) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv4077, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4079 := &x.Items - yym4080 := z.DecBinary() - _ = yym4080 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv4079), d) + h.decSliceLimitRange((*[]LimitRange)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys4074) - } // end switch yys4074 - } // end for yyj4074 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51248,16 +55314,16 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4081 int - var yyb4081 bool - var yyhl4081 bool = l >= 0 - yyj4081++ - if yyhl4081 { - yyb4081 = yyj4081 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4081 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4081 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51265,15 +55331,21 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj4081++ - if yyhl4081 { - yyb4081 = yyj4081 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4081 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4081 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51281,15 +55353,21 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj4081++ - if yyhl4081 { - yyb4081 = yyj4081 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4081 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4081 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51297,22 +55375,22 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv4084 := &x.ListMeta - yym4085 := z.DecBinary() - _ = yym4085 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv4084) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv4084, false) + z.DecFallback(yyv17, false) } } - yyj4081++ - if yyhl4081 { - yyb4081 = yyj4081 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4081 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4081 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51320,26 +55398,26 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4086 := &x.Items - yym4087 := z.DecBinary() - _ = yym4087 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv4086), d) + h.decSliceLimitRange((*[]LimitRange)(yyv19), d) } } for { - yyj4081++ - if yyhl4081 { - yyb4081 = yyj4081 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4081 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4081 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4081-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51348,8 +55426,8 @@ func (x ResourceQuotaScope) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym4088 := z.EncBinary() - _ = yym4088 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -51361,8 +55439,8 @@ func (x *ResourceQuotaScope) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4089 := z.DecBinary() - _ = yym4089 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -51377,34 +55455,34 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4090 := z.EncBinary() - _ = yym4090 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4091 := !z.EncBinary() - yy2arr4091 := z.EncBasicHandle().StructToArray - var yyq4091 [2]bool - _, _, _ = yysep4091, yyq4091, yy2arr4091 - const yyr4091 bool = false - yyq4091[0] = len(x.Hard) != 0 - yyq4091[1] = len(x.Scopes) != 0 - var yynn4091 int - if yyr4091 || yy2arr4091 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Hard) != 0 + yyq2[1] = len(x.Scopes) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn4091 = 0 - for _, b := range yyq4091 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn4091++ + yynn2++ } } - r.EncodeMapStart(yynn4091) - yynn4091 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4091 || yy2arr4091 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4091[0] { + if yyq2[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -51414,7 +55492,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4091[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -51425,14 +55503,14 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4091 || yy2arr4091 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4091[1] { + if yyq2[1] { if x.Scopes == nil { r.EncodeNil() } else { - yym4094 := z.EncBinary() - _ = yym4094 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) @@ -51442,15 +55520,15 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4091[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scopes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Scopes == nil { r.EncodeNil() } else { - yym4095 := z.EncBinary() - _ = yym4095 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) @@ -51458,7 +55536,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4091 || yy2arr4091 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51471,25 +55549,25 @@ func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4096 := z.DecBinary() - _ = yym4096 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4097 := r.ContainerType() - if yyct4097 == codecSelferValueTypeMap1234 { - yyl4097 := r.ReadMapStart() - if yyl4097 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4097, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4097 == codecSelferValueTypeArray1234 { - yyl4097 := r.ReadArrayStart() - if yyl4097 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4097, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51501,12 +55579,12 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4098Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4098Slc - var yyhl4098 bool = l >= 0 - for yyj4098 := 0; ; yyj4098++ { - if yyhl4098 { - if yyj4098 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -51515,33 +55593,33 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4098Slc = r.DecodeBytes(yys4098Slc, true, true) - yys4098 := string(yys4098Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4098 { + switch yys3 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4099 := &x.Hard - yyv4099.CodecDecodeSelf(d) + yyv4 := &x.Hard + yyv4.CodecDecodeSelf(d) } case "scopes": if r.TryDecodeAsNil() { x.Scopes = nil } else { - yyv4100 := &x.Scopes - yym4101 := z.DecBinary() - _ = yym4101 + yyv5 := &x.Scopes + yym6 := z.DecBinary() + _ = yym6 if false { } else { - h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4100), d) + h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv5), d) } } default: - z.DecStructFieldNotFound(-1, yys4098) - } // end switch yys4098 - } // end for yyj4098 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51549,16 +55627,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4102 int - var yyb4102 bool - var yyhl4102 bool = l >= 0 - yyj4102++ - if yyhl4102 { - yyb4102 = yyj4102 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb4102 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb4102 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51566,16 +55644,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4103 := &x.Hard - yyv4103.CodecDecodeSelf(d) + yyv8 := &x.Hard + yyv8.CodecDecodeSelf(d) } - yyj4102++ - if yyhl4102 { - yyb4102 = yyj4102 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb4102 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb4102 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51583,26 +55661,26 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Scopes = nil } else { - yyv4104 := &x.Scopes - yym4105 := z.DecBinary() - _ = yym4105 + yyv9 := &x.Scopes + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4104), d) + h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv9), d) } } for { - yyj4102++ - if yyhl4102 { - yyb4102 = yyj4102 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb4102 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb4102 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4102-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51614,34 +55692,34 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4106 := z.EncBinary() - _ = yym4106 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4107 := !z.EncBinary() - yy2arr4107 := z.EncBasicHandle().StructToArray - var yyq4107 [2]bool - _, _, _ = yysep4107, yyq4107, yy2arr4107 - const yyr4107 bool = false - yyq4107[0] = len(x.Hard) != 0 - yyq4107[1] = len(x.Used) != 0 - var yynn4107 int - if yyr4107 || yy2arr4107 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Hard) != 0 + yyq2[1] = len(x.Used) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn4107 = 0 - for _, b := range yyq4107 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn4107++ + yynn2++ } } - r.EncodeMapStart(yynn4107) - yynn4107 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4107 || yy2arr4107 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4107[0] { + if yyq2[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -51651,7 +55729,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4107[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -51662,9 +55740,9 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4107 || yy2arr4107 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4107[1] { + if yyq2[1] { if x.Used == nil { r.EncodeNil() } else { @@ -51674,7 +55752,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4107[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("used")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -51685,7 +55763,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4107 || yy2arr4107 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51698,25 +55776,25 @@ func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4110 := z.DecBinary() - _ = yym4110 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4111 := r.ContainerType() - if yyct4111 == codecSelferValueTypeMap1234 { - yyl4111 := r.ReadMapStart() - if yyl4111 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4111, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4111 == codecSelferValueTypeArray1234 { - yyl4111 := r.ReadArrayStart() - if yyl4111 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4111, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51728,12 +55806,12 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4112Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4112Slc - var yyhl4112 bool = l >= 0 - for yyj4112 := 0; ; yyj4112++ { - if yyhl4112 { - if yyj4112 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -51742,28 +55820,28 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4112Slc = r.DecodeBytes(yys4112Slc, true, true) - yys4112 := string(yys4112Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4112 { + switch yys3 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4113 := &x.Hard - yyv4113.CodecDecodeSelf(d) + yyv4 := &x.Hard + yyv4.CodecDecodeSelf(d) } case "used": if r.TryDecodeAsNil() { x.Used = nil } else { - yyv4114 := &x.Used - yyv4114.CodecDecodeSelf(d) + yyv5 := &x.Used + yyv5.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4112) - } // end switch yys4112 - } // end for yyj4112 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51771,16 +55849,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4115 int - var yyb4115 bool - var yyhl4115 bool = l >= 0 - yyj4115++ - if yyhl4115 { - yyb4115 = yyj4115 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb4115 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb4115 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51788,16 +55866,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4116 := &x.Hard - yyv4116.CodecDecodeSelf(d) + yyv7 := &x.Hard + yyv7.CodecDecodeSelf(d) } - yyj4115++ - if yyhl4115 { - yyb4115 = yyj4115 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb4115 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb4115 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51805,21 +55883,21 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Used = nil } else { - yyv4117 := &x.Used - yyv4117.CodecDecodeSelf(d) + yyv8 := &x.Used + yyv8.CodecDecodeSelf(d) } for { - yyj4115++ - if yyhl4115 { - yyb4115 = yyj4115 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb4115 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb4115 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4115-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51831,39 +55909,39 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4118 := z.EncBinary() - _ = yym4118 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4119 := !z.EncBinary() - yy2arr4119 := z.EncBasicHandle().StructToArray - var yyq4119 [5]bool - _, _, _ = yysep4119, yyq4119, yy2arr4119 - const yyr4119 bool = false - yyq4119[0] = x.Kind != "" - yyq4119[1] = x.APIVersion != "" - yyq4119[2] = true - yyq4119[3] = true - yyq4119[4] = true - var yynn4119 int - if yyr4119 || yy2arr4119 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn4119 = 0 - for _, b := range yyq4119 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn4119++ + yynn2++ } } - r.EncodeMapStart(yynn4119) - yynn4119 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4119 || yy2arr4119 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4119[0] { - yym4121 := z.EncBinary() - _ = yym4121 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -51872,23 +55950,23 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4119[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4122 := z.EncBinary() - _ = yym4122 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4119 || yy2arr4119 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4119[1] { - yym4124 := z.EncBinary() - _ = yym4124 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -51897,70 +55975,70 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4119[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4125 := z.EncBinary() - _ = yym4125 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4119 || yy2arr4119 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4119[2] { - yy4127 := &x.ObjectMeta - yy4127.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4119[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4128 := &x.ObjectMeta - yy4128.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr4119 || yy2arr4119 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4119[3] { - yy4130 := &x.Spec - yy4130.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4119[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4131 := &x.Spec - yy4131.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr4119 || yy2arr4119 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4119[4] { - yy4133 := &x.Status - yy4133.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4119[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4134 := &x.Status - yy4134.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr4119 || yy2arr4119 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51973,25 +56051,25 @@ func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4135 := z.DecBinary() - _ = yym4135 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4136 := r.ContainerType() - if yyct4136 == codecSelferValueTypeMap1234 { - yyl4136 := r.ReadMapStart() - if yyl4136 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4136, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4136 == codecSelferValueTypeArray1234 { - yyl4136 := r.ReadArrayStart() - if yyl4136 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4136, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52003,12 +56081,12 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4137Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4137Slc - var yyhl4137 bool = l >= 0 - for yyj4137 := 0; ; yyj4137++ { - if yyhl4137 { - if yyj4137 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -52017,47 +56095,59 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4137Slc = r.DecodeBytes(yys4137Slc, true, true) - yys4137 := string(yys4137Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4137 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4140 := &x.ObjectMeta - yyv4140.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv4141 := &x.Spec - yyv4141.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv4142 := &x.Status - yyv4142.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4137) - } // end switch yys4137 - } // end for yyj4137 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52065,16 +56155,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4143 int - var yyb4143 bool - var yyhl4143 bool = l >= 0 - yyj4143++ - if yyhl4143 { - yyb4143 = yyj4143 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4143 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4143 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52082,15 +56172,21 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj4143++ - if yyhl4143 { - yyb4143 = yyj4143 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4143 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4143 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52098,15 +56194,21 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj4143++ - if yyhl4143 { - yyb4143 = yyj4143 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4143 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4143 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52114,16 +56216,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4146 := &x.ObjectMeta - yyv4146.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj4143++ - if yyhl4143 { - yyb4143 = yyj4143 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4143 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4143 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52131,16 +56233,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv4147 := &x.Spec - yyv4147.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj4143++ - if yyhl4143 { - yyb4143 = yyj4143 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4143 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4143 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52148,21 +56250,21 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv4148 := &x.Status - yyv4148.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj4143++ - if yyhl4143 { - yyb4143 = yyj4143 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4143 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4143 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4143-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52174,37 +56276,37 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4149 := z.EncBinary() - _ = yym4149 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4150 := !z.EncBinary() - yy2arr4150 := z.EncBasicHandle().StructToArray - var yyq4150 [4]bool - _, _, _ = yysep4150, yyq4150, yy2arr4150 - const yyr4150 bool = false - yyq4150[0] = x.Kind != "" - yyq4150[1] = x.APIVersion != "" - yyq4150[2] = true - var yynn4150 int - if yyr4150 || yy2arr4150 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn4150 = 1 - for _, b := range yyq4150 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn4150++ + yynn2++ } } - r.EncodeMapStart(yynn4150) - yynn4150 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4150 || yy2arr4150 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4150[0] { - yym4152 := z.EncBinary() - _ = yym4152 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -52213,23 +56315,23 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4150[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4153 := z.EncBinary() - _ = yym4153 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4150 || yy2arr4150 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4150[1] { - yym4155 := z.EncBinary() - _ = yym4155 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -52238,54 +56340,54 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4150[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4156 := z.EncBinary() - _ = yym4156 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4150 || yy2arr4150 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4150[2] { - yy4158 := &x.ListMeta - yym4159 := z.EncBinary() - _ = yym4159 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy4158) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy4158) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq4150[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4160 := &x.ListMeta - yym4161 := z.EncBinary() - _ = yym4161 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy4160) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy4160) + z.EncFallback(yy12) } } } - if yyr4150 || yy2arr4150 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4163 := z.EncBinary() - _ = yym4163 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) @@ -52298,15 +56400,15 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4164 := z.EncBinary() - _ = yym4164 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) } } } - if yyr4150 || yy2arr4150 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52319,25 +56421,25 @@ func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4165 := z.DecBinary() - _ = yym4165 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4166 := r.ContainerType() - if yyct4166 == codecSelferValueTypeMap1234 { - yyl4166 := r.ReadMapStart() - if yyl4166 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4166, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4166 == codecSelferValueTypeArray1234 { - yyl4166 := r.ReadArrayStart() - if yyl4166 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4166, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52349,12 +56451,12 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4167Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4167Slc - var yyhl4167 bool = l >= 0 - for yyj4167 := 0; ; yyj4167++ { - if yyhl4167 { - if yyj4167 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -52363,51 +56465,63 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4167Slc = r.DecodeBytes(yys4167Slc, true, true) - yys4167 := string(yys4167Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4167 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv4170 := &x.ListMeta - yym4171 := z.DecBinary() - _ = yym4171 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv4170) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv4170, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4172 := &x.Items - yym4173 := z.DecBinary() - _ = yym4173 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv4172), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys4167) - } // end switch yys4167 - } // end for yyj4167 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52415,16 +56529,16 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4174 int - var yyb4174 bool - var yyhl4174 bool = l >= 0 - yyj4174++ - if yyhl4174 { - yyb4174 = yyj4174 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4174 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4174 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52432,15 +56546,21 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj4174++ - if yyhl4174 { - yyb4174 = yyj4174 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4174 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4174 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52448,15 +56568,21 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj4174++ - if yyhl4174 { - yyb4174 = yyj4174 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4174 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4174 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52464,22 +56590,22 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv4177 := &x.ListMeta - yym4178 := z.DecBinary() - _ = yym4178 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv4177) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv4177, false) + z.DecFallback(yyv17, false) } } - yyj4174++ - if yyhl4174 { - yyb4174 = yyj4174 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4174 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4174 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52487,26 +56613,26 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4179 := &x.Items - yym4180 := z.DecBinary() - _ = yym4180 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv4179), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv19), d) } } for { - yyj4174++ - if yyhl4174 { - yyb4174 = yyj4174 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4174 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4174 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4174-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52518,40 +56644,40 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4181 := z.EncBinary() - _ = yym4181 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4182 := !z.EncBinary() - yy2arr4182 := z.EncBasicHandle().StructToArray - var yyq4182 [6]bool - _, _, _ = yysep4182, yyq4182, yy2arr4182 - const yyr4182 bool = false - yyq4182[0] = x.Kind != "" - yyq4182[1] = x.APIVersion != "" - yyq4182[2] = true - yyq4182[3] = len(x.Data) != 0 - yyq4182[4] = len(x.StringData) != 0 - yyq4182[5] = x.Type != "" - var yynn4182 int - if yyr4182 || yy2arr4182 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = len(x.Data) != 0 + yyq2[4] = len(x.StringData) != 0 + yyq2[5] = x.Type != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn4182 = 0 - for _, b := range yyq4182 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn4182++ + yynn2++ } } - r.EncodeMapStart(yynn4182) - yynn4182 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4182 || yy2arr4182 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4182[0] { - yym4184 := z.EncBinary() - _ = yym4184 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -52560,23 +56686,23 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4182[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4185 := z.EncBinary() - _ = yym4185 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4182 || yy2arr4182 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4182[1] { - yym4187 := z.EncBinary() - _ = yym4187 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -52585,43 +56711,43 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4182[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4188 := z.EncBinary() - _ = yym4188 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4182 || yy2arr4182 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4182[2] { - yy4190 := &x.ObjectMeta - yy4190.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4182[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4191 := &x.ObjectMeta - yy4191.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr4182 || yy2arr4182 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4182[3] { + if yyq2[3] { if x.Data == nil { r.EncodeNil() } else { - yym4193 := z.EncBinary() - _ = yym4193 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -52631,15 +56757,15 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4182[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym4194 := z.EncBinary() - _ = yym4194 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -52647,14 +56773,14 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4182 || yy2arr4182 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4182[4] { + if yyq2[4] { if x.StringData == nil { r.EncodeNil() } else { - yym4196 := z.EncBinary() - _ = yym4196 + yym18 := z.EncBinary() + _ = yym18 if false { } else { z.F.EncMapStringStringV(x.StringData, false, e) @@ -52664,15 +56790,15 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4182[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stringData")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StringData == nil { r.EncodeNil() } else { - yym4197 := z.EncBinary() - _ = yym4197 + yym19 := z.EncBinary() + _ = yym19 if false { } else { z.F.EncMapStringStringV(x.StringData, false, e) @@ -52680,22 +56806,22 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4182 || yy2arr4182 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4182[5] { + if yyq2[5] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4182[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr4182 || yy2arr4182 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52708,25 +56834,25 @@ func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4199 := z.DecBinary() - _ = yym4199 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4200 := r.ContainerType() - if yyct4200 == codecSelferValueTypeMap1234 { - yyl4200 := r.ReadMapStart() - if yyl4200 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4200, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4200 == codecSelferValueTypeArray1234 { - yyl4200 := r.ReadArrayStart() - if yyl4200 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4200, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52738,12 +56864,12 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4201Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4201Slc - var yyhl4201 bool = l >= 0 - for yyj4201 := 0; ; yyj4201++ { - if yyhl4201 { - if yyj4201 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -52752,63 +56878,76 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4201Slc = r.DecodeBytes(yys4201Slc, true, true) - yys4201 := string(yys4201Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4201 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4204 := &x.ObjectMeta - yyv4204.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4205 := &x.Data - yym4206 := z.DecBinary() - _ = yym4206 + yyv9 := &x.Data + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv4205), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv9), d) } } case "stringData": if r.TryDecodeAsNil() { x.StringData = nil } else { - yyv4207 := &x.StringData - yym4208 := z.DecBinary() - _ = yym4208 + yyv11 := &x.StringData + yym12 := z.DecBinary() + _ = yym12 if false { } else { - z.F.DecMapStringStringX(yyv4207, false, d) + z.F.DecMapStringStringX(yyv11, false, d) } } case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = SecretType(r.DecodeString()) + yyv13 := &x.Type + yyv13.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4201) - } // end switch yys4201 - } // end for yyj4201 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52816,16 +56955,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4210 int - var yyb4210 bool - var yyhl4210 bool = l >= 0 - yyj4210++ - if yyhl4210 { - yyb4210 = yyj4210 > l + var yyj14 int + var yyb14 bool + var yyhl14 bool = l >= 0 + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb4210 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb4210 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52833,15 +56972,21 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv15 := &x.Kind + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj4210++ - if yyhl4210 { - yyb4210 = yyj4210 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb4210 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb4210 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52849,15 +56994,21 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv17 := &x.APIVersion + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*string)(yyv17)) = r.DecodeString() + } } - yyj4210++ - if yyhl4210 { - yyb4210 = yyj4210 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb4210 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb4210 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52865,16 +57016,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4213 := &x.ObjectMeta - yyv4213.CodecDecodeSelf(d) + yyv19 := &x.ObjectMeta + yyv19.CodecDecodeSelf(d) } - yyj4210++ - if yyhl4210 { - yyb4210 = yyj4210 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb4210 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb4210 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52882,21 +57033,21 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4214 := &x.Data - yym4215 := z.DecBinary() - _ = yym4215 + yyv20 := &x.Data + yym21 := z.DecBinary() + _ = yym21 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv4214), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv20), d) } } - yyj4210++ - if yyhl4210 { - yyb4210 = yyj4210 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb4210 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb4210 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52904,21 +57055,21 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.StringData = nil } else { - yyv4216 := &x.StringData - yym4217 := z.DecBinary() - _ = yym4217 + yyv22 := &x.StringData + yym23 := z.DecBinary() + _ = yym23 if false { } else { - z.F.DecMapStringStringX(yyv4216, false, d) + z.F.DecMapStringStringX(yyv22, false, d) } } - yyj4210++ - if yyhl4210 { - yyb4210 = yyj4210 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb4210 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb4210 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52926,20 +57077,21 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = SecretType(r.DecodeString()) + yyv24 := &x.Type + yyv24.CodecDecodeSelf(d) } for { - yyj4210++ - if yyhl4210 { - yyb4210 = yyj4210 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb4210 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb4210 { + if yyb14 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4210-1, "") + z.DecStructFieldNotFound(yyj14-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52948,8 +57100,8 @@ func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym4219 := z.EncBinary() - _ = yym4219 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -52961,8 +57113,8 @@ func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4220 := z.DecBinary() - _ = yym4220 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -52977,37 +57129,37 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4221 := z.EncBinary() - _ = yym4221 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4222 := !z.EncBinary() - yy2arr4222 := z.EncBasicHandle().StructToArray - var yyq4222 [4]bool - _, _, _ = yysep4222, yyq4222, yy2arr4222 - const yyr4222 bool = false - yyq4222[0] = x.Kind != "" - yyq4222[1] = x.APIVersion != "" - yyq4222[2] = true - var yynn4222 int - if yyr4222 || yy2arr4222 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn4222 = 1 - for _, b := range yyq4222 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn4222++ + yynn2++ } } - r.EncodeMapStart(yynn4222) - yynn4222 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4222 || yy2arr4222 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4222[0] { - yym4224 := z.EncBinary() - _ = yym4224 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -53016,23 +57168,23 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4222[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4225 := z.EncBinary() - _ = yym4225 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4222 || yy2arr4222 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4222[1] { - yym4227 := z.EncBinary() - _ = yym4227 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -53041,54 +57193,54 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4222[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4228 := z.EncBinary() - _ = yym4228 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4222 || yy2arr4222 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4222[2] { - yy4230 := &x.ListMeta - yym4231 := z.EncBinary() - _ = yym4231 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy4230) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy4230) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq4222[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4232 := &x.ListMeta - yym4233 := z.EncBinary() - _ = yym4233 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy4232) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy4232) + z.EncFallback(yy12) } } } - if yyr4222 || yy2arr4222 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4235 := z.EncBinary() - _ = yym4235 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) @@ -53101,15 +57253,15 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4236 := z.EncBinary() - _ = yym4236 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) } } } - if yyr4222 || yy2arr4222 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53122,25 +57274,25 @@ func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4237 := z.DecBinary() - _ = yym4237 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4238 := r.ContainerType() - if yyct4238 == codecSelferValueTypeMap1234 { - yyl4238 := r.ReadMapStart() - if yyl4238 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4238, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4238 == codecSelferValueTypeArray1234 { - yyl4238 := r.ReadArrayStart() - if yyl4238 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4238, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53152,12 +57304,12 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4239Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4239Slc - var yyhl4239 bool = l >= 0 - for yyj4239 := 0; ; yyj4239++ { - if yyhl4239 { - if yyj4239 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -53166,51 +57318,63 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4239Slc = r.DecodeBytes(yys4239Slc, true, true) - yys4239 := string(yys4239Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4239 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv4242 := &x.ListMeta - yym4243 := z.DecBinary() - _ = yym4243 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv4242) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv4242, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4244 := &x.Items - yym4245 := z.DecBinary() - _ = yym4245 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceSecret((*[]Secret)(yyv4244), d) + h.decSliceSecret((*[]Secret)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys4239) - } // end switch yys4239 - } // end for yyj4239 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53218,16 +57382,16 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4246 int - var yyb4246 bool - var yyhl4246 bool = l >= 0 - yyj4246++ - if yyhl4246 { - yyb4246 = yyj4246 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4246 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4246 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53235,15 +57399,21 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj4246++ - if yyhl4246 { - yyb4246 = yyj4246 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4246 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4246 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53251,15 +57421,21 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj4246++ - if yyhl4246 { - yyb4246 = yyj4246 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4246 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4246 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53267,22 +57443,22 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv4249 := &x.ListMeta - yym4250 := z.DecBinary() - _ = yym4250 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv4249) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv4249, false) + z.DecFallback(yyv17, false) } } - yyj4246++ - if yyhl4246 { - yyb4246 = yyj4246 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4246 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4246 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53290,26 +57466,26 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4251 := &x.Items - yym4252 := z.DecBinary() - _ = yym4252 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceSecret((*[]Secret)(yyv4251), d) + h.decSliceSecret((*[]Secret)(yyv19), d) } } for { - yyj4246++ - if yyhl4246 { - yyb4246 = yyj4246 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4246 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4246 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4246-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53321,38 +57497,38 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4253 := z.EncBinary() - _ = yym4253 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4254 := !z.EncBinary() - yy2arr4254 := z.EncBasicHandle().StructToArray - var yyq4254 [4]bool - _, _, _ = yysep4254, yyq4254, yy2arr4254 - const yyr4254 bool = false - yyq4254[0] = x.Kind != "" - yyq4254[1] = x.APIVersion != "" - yyq4254[2] = true - yyq4254[3] = len(x.Data) != 0 - var yynn4254 int - if yyr4254 || yy2arr4254 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = len(x.Data) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn4254 = 0 - for _, b := range yyq4254 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn4254++ + yynn2++ } } - r.EncodeMapStart(yynn4254) - yynn4254 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4254 || yy2arr4254 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4254[0] { - yym4256 := z.EncBinary() - _ = yym4256 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -53361,23 +57537,23 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4254[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4257 := z.EncBinary() - _ = yym4257 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4254 || yy2arr4254 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4254[1] { - yym4259 := z.EncBinary() - _ = yym4259 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -53386,43 +57562,43 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4254[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4260 := z.EncBinary() - _ = yym4260 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4254 || yy2arr4254 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4254[2] { - yy4262 := &x.ObjectMeta - yy4262.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4254[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4263 := &x.ObjectMeta - yy4263.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr4254 || yy2arr4254 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4254[3] { + if yyq2[3] { if x.Data == nil { r.EncodeNil() } else { - yym4265 := z.EncBinary() - _ = yym4265 + yym15 := z.EncBinary() + _ = yym15 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -53432,15 +57608,15 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4254[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym4266 := z.EncBinary() - _ = yym4266 + yym16 := z.EncBinary() + _ = yym16 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -53448,7 +57624,7 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4254 || yy2arr4254 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53461,25 +57637,25 @@ func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4267 := z.DecBinary() - _ = yym4267 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4268 := r.ContainerType() - if yyct4268 == codecSelferValueTypeMap1234 { - yyl4268 := r.ReadMapStart() - if yyl4268 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4268, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4268 == codecSelferValueTypeArray1234 { - yyl4268 := r.ReadArrayStart() - if yyl4268 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4268, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53491,12 +57667,12 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4269Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4269Slc - var yyhl4269 bool = l >= 0 - for yyj4269 := 0; ; yyj4269++ { - if yyhl4269 { - if yyj4269 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -53505,45 +57681,57 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4269Slc = r.DecodeBytes(yys4269Slc, true, true) - yys4269 := string(yys4269Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4269 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4272 := &x.ObjectMeta - yyv4272.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4273 := &x.Data - yym4274 := z.DecBinary() - _ = yym4274 + yyv9 := &x.Data + yym10 := z.DecBinary() + _ = yym10 if false { } else { - z.F.DecMapStringStringX(yyv4273, false, d) + z.F.DecMapStringStringX(yyv9, false, d) } } default: - z.DecStructFieldNotFound(-1, yys4269) - } // end switch yys4269 - } // end for yyj4269 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53551,16 +57739,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4275 int - var yyb4275 bool - var yyhl4275 bool = l >= 0 - yyj4275++ - if yyhl4275 { - yyb4275 = yyj4275 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4275 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4275 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53568,15 +57756,21 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj4275++ - if yyhl4275 { - yyb4275 = yyj4275 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4275 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4275 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53584,15 +57778,21 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj4275++ - if yyhl4275 { - yyb4275 = yyj4275 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4275 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4275 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53600,16 +57800,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4278 := &x.ObjectMeta - yyv4278.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj4275++ - if yyhl4275 { - yyb4275 = yyj4275 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4275 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4275 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53617,26 +57817,26 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4279 := &x.Data - yym4280 := z.DecBinary() - _ = yym4280 + yyv17 := &x.Data + yym18 := z.DecBinary() + _ = yym18 if false { } else { - z.F.DecMapStringStringX(yyv4279, false, d) + z.F.DecMapStringStringX(yyv17, false, d) } } for { - yyj4275++ - if yyhl4275 { - yyb4275 = yyj4275 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4275 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4275 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4275-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53648,37 +57848,37 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4281 := z.EncBinary() - _ = yym4281 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4282 := !z.EncBinary() - yy2arr4282 := z.EncBasicHandle().StructToArray - var yyq4282 [4]bool - _, _, _ = yysep4282, yyq4282, yy2arr4282 - const yyr4282 bool = false - yyq4282[0] = x.Kind != "" - yyq4282[1] = x.APIVersion != "" - yyq4282[2] = true - var yynn4282 int - if yyr4282 || yy2arr4282 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn4282 = 1 - for _, b := range yyq4282 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn4282++ + yynn2++ } } - r.EncodeMapStart(yynn4282) - yynn4282 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4282 || yy2arr4282 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4282[0] { - yym4284 := z.EncBinary() - _ = yym4284 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -53687,23 +57887,23 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4282[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4285 := z.EncBinary() - _ = yym4285 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4282 || yy2arr4282 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4282[1] { - yym4287 := z.EncBinary() - _ = yym4287 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -53712,54 +57912,54 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4282[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4288 := z.EncBinary() - _ = yym4288 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4282 || yy2arr4282 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4282[2] { - yy4290 := &x.ListMeta - yym4291 := z.EncBinary() - _ = yym4291 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy4290) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy4290) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq4282[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4292 := &x.ListMeta - yym4293 := z.EncBinary() - _ = yym4293 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy4292) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy4292) + z.EncFallback(yy12) } } } - if yyr4282 || yy2arr4282 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4295 := z.EncBinary() - _ = yym4295 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -53772,15 +57972,15 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4296 := z.EncBinary() - _ = yym4296 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) } } } - if yyr4282 || yy2arr4282 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53793,25 +57993,25 @@ func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4297 := z.DecBinary() - _ = yym4297 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4298 := r.ContainerType() - if yyct4298 == codecSelferValueTypeMap1234 { - yyl4298 := r.ReadMapStart() - if yyl4298 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4298, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4298 == codecSelferValueTypeArray1234 { - yyl4298 := r.ReadArrayStart() - if yyl4298 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4298, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53823,12 +58023,12 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4299Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4299Slc - var yyhl4299 bool = l >= 0 - for yyj4299 := 0; ; yyj4299++ { - if yyhl4299 { - if yyj4299 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -53837,51 +58037,63 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4299Slc = r.DecodeBytes(yys4299Slc, true, true) - yys4299 := string(yys4299Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4299 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv4302 := &x.ListMeta - yym4303 := z.DecBinary() - _ = yym4303 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv4302) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv4302, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4304 := &x.Items - yym4305 := z.DecBinary() - _ = yym4305 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv4304), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys4299) - } // end switch yys4299 - } // end for yyj4299 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53889,16 +58101,16 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4306 int - var yyb4306 bool - var yyhl4306 bool = l >= 0 - yyj4306++ - if yyhl4306 { - yyb4306 = yyj4306 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4306 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4306 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53906,15 +58118,21 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj4306++ - if yyhl4306 { - yyb4306 = yyj4306 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4306 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4306 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53922,15 +58140,21 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj4306++ - if yyhl4306 { - yyb4306 = yyj4306 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4306 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4306 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53938,22 +58162,22 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv4309 := &x.ListMeta - yym4310 := z.DecBinary() - _ = yym4310 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv4309) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv4309, false) + z.DecFallback(yyv17, false) } } - yyj4306++ - if yyhl4306 { - yyb4306 = yyj4306 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4306 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4306 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53961,26 +58185,26 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4311 := &x.Items - yym4312 := z.DecBinary() - _ = yym4312 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv4311), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv19), d) } } for { - yyj4306++ - if yyhl4306 { - yyb4306 = yyj4306 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4306 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4306 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4306-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53989,8 +58213,8 @@ func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym4313 := z.EncBinary() - _ = yym4313 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -54002,8 +58226,8 @@ func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4314 := z.DecBinary() - _ = yym4314 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -54018,32 +58242,32 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4315 := z.EncBinary() - _ = yym4315 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4316 := !z.EncBinary() - yy2arr4316 := z.EncBasicHandle().StructToArray - var yyq4316 [4]bool - _, _, _ = yysep4316, yyq4316, yy2arr4316 - const yyr4316 bool = false - yyq4316[2] = x.Message != "" - yyq4316[3] = x.Error != "" - var yynn4316 int - if yyr4316 || yy2arr4316 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = x.Message != "" + yyq2[3] = x.Error != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn4316 = 2 - for _, b := range yyq4316 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn4316++ + yynn2++ } } - r.EncodeMapStart(yynn4316) - yynn4316 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4316 || yy2arr4316 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -54052,7 +58276,7 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr4316 || yy2arr4316 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -54061,11 +58285,11 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr4316 || yy2arr4316 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4316[2] { - yym4320 := z.EncBinary() - _ = yym4320 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -54074,23 +58298,23 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4316[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4321 := z.EncBinary() - _ = yym4321 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr4316 || yy2arr4316 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4316[3] { - yym4323 := z.EncBinary() - _ = yym4323 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -54099,19 +58323,19 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4316[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4324 := z.EncBinary() - _ = yym4324 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr4316 || yy2arr4316 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54124,25 +58348,25 @@ func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4325 := z.DecBinary() - _ = yym4325 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4326 := r.ContainerType() - if yyct4326 == codecSelferValueTypeMap1234 { - yyl4326 := r.ReadMapStart() - if yyl4326 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4326, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4326 == codecSelferValueTypeArray1234 { - yyl4326 := r.ReadArrayStart() - if yyl4326 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4326, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54154,12 +58378,12 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4327Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4327Slc - var yyhl4327 bool = l >= 0 - for yyj4327 := 0; ; yyj4327++ { - if yyhl4327 { - if yyj4327 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -54168,38 +58392,52 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4327Slc = r.DecodeBytes(yys4327Slc, true, true) - yys4327 := string(yys4327Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4327 { + switch yys3 { case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = ComponentConditionType(r.DecodeString()) + yyv4 := &x.Type + yyv4.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = ConditionStatus(r.DecodeString()) + yyv5 := &x.Status + yyv5.CodecDecodeSelf(d) } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv6 := &x.Message + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "error": if r.TryDecodeAsNil() { x.Error = "" } else { - x.Error = string(r.DecodeString()) + yyv8 := &x.Error + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys4327) - } // end switch yys4327 - } // end for yyj4327 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54207,16 +58445,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4332 int - var yyb4332 bool - var yyhl4332 bool = l >= 0 - yyj4332++ - if yyhl4332 { - yyb4332 = yyj4332 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4332 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4332 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54224,15 +58462,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = ComponentConditionType(r.DecodeString()) + yyv11 := &x.Type + yyv11.CodecDecodeSelf(d) } - yyj4332++ - if yyhl4332 { - yyb4332 = yyj4332 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4332 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4332 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54240,15 +58479,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = ConditionStatus(r.DecodeString()) + yyv12 := &x.Status + yyv12.CodecDecodeSelf(d) } - yyj4332++ - if yyhl4332 { - yyb4332 = yyj4332 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4332 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4332 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54256,15 +58496,21 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv13 := &x.Message + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj4332++ - if yyhl4332 { - yyb4332 = yyj4332 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4332 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4332 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54272,20 +58518,26 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Error = "" } else { - x.Error = string(r.DecodeString()) + yyv15 := &x.Error + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } for { - yyj4332++ - if yyhl4332 { - yyb4332 = yyj4332 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4332 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4332 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4332-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54297,38 +58549,38 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4337 := z.EncBinary() - _ = yym4337 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4338 := !z.EncBinary() - yy2arr4338 := z.EncBasicHandle().StructToArray - var yyq4338 [4]bool - _, _, _ = yysep4338, yyq4338, yy2arr4338 - const yyr4338 bool = false - yyq4338[0] = x.Kind != "" - yyq4338[1] = x.APIVersion != "" - yyq4338[2] = true - yyq4338[3] = len(x.Conditions) != 0 - var yynn4338 int - if yyr4338 || yy2arr4338 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = len(x.Conditions) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn4338 = 0 - for _, b := range yyq4338 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn4338++ + yynn2++ } } - r.EncodeMapStart(yynn4338) - yynn4338 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4338 || yy2arr4338 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4338[0] { - yym4340 := z.EncBinary() - _ = yym4340 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -54337,23 +58589,23 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4338[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4341 := z.EncBinary() - _ = yym4341 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4338 || yy2arr4338 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4338[1] { - yym4343 := z.EncBinary() - _ = yym4343 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -54362,43 +58614,43 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4338[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4344 := z.EncBinary() - _ = yym4344 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4338 || yy2arr4338 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4338[2] { - yy4346 := &x.ObjectMeta - yy4346.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4338[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4347 := &x.ObjectMeta - yy4347.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr4338 || yy2arr4338 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4338[3] { + if yyq2[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym4349 := z.EncBinary() - _ = yym4349 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -54408,15 +58660,15 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4338[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym4350 := z.EncBinary() - _ = yym4350 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -54424,7 +58676,7 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4338 || yy2arr4338 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54437,25 +58689,25 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4351 := z.DecBinary() - _ = yym4351 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4352 := r.ContainerType() - if yyct4352 == codecSelferValueTypeMap1234 { - yyl4352 := r.ReadMapStart() - if yyl4352 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4352, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4352 == codecSelferValueTypeArray1234 { - yyl4352 := r.ReadArrayStart() - if yyl4352 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4352, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54467,12 +58719,12 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4353Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4353Slc - var yyhl4353 bool = l >= 0 - for yyj4353 := 0; ; yyj4353++ { - if yyhl4353 { - if yyj4353 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -54481,45 +58733,57 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4353Slc = r.DecodeBytes(yys4353Slc, true, true) - yys4353 := string(yys4353Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4353 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4356 := &x.ObjectMeta - yyv4356.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4357 := &x.Conditions - yym4358 := z.DecBinary() - _ = yym4358 + yyv9 := &x.Conditions + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv4357), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv9), d) } } default: - z.DecStructFieldNotFound(-1, yys4353) - } // end switch yys4353 - } // end for yyj4353 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54527,16 +58791,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4359 int - var yyb4359 bool - var yyhl4359 bool = l >= 0 - yyj4359++ - if yyhl4359 { - yyb4359 = yyj4359 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4359 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4359 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54544,15 +58808,21 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj4359++ - if yyhl4359 { - yyb4359 = yyj4359 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4359 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4359 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54560,15 +58830,21 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj4359++ - if yyhl4359 { - yyb4359 = yyj4359 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4359 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4359 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54576,16 +58852,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4362 := &x.ObjectMeta - yyv4362.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj4359++ - if yyhl4359 { - yyb4359 = yyj4359 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4359 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4359 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54593,26 +58869,26 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4363 := &x.Conditions - yym4364 := z.DecBinary() - _ = yym4364 + yyv17 := &x.Conditions + yym18 := z.DecBinary() + _ = yym18 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv4363), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv17), d) } } for { - yyj4359++ - if yyhl4359 { - yyb4359 = yyj4359 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb4359 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb4359 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4359-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54624,37 +58900,37 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4365 := z.EncBinary() - _ = yym4365 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4366 := !z.EncBinary() - yy2arr4366 := z.EncBasicHandle().StructToArray - var yyq4366 [4]bool - _, _, _ = yysep4366, yyq4366, yy2arr4366 - const yyr4366 bool = false - yyq4366[0] = x.Kind != "" - yyq4366[1] = x.APIVersion != "" - yyq4366[2] = true - var yynn4366 int - if yyr4366 || yy2arr4366 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn4366 = 1 - for _, b := range yyq4366 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn4366++ + yynn2++ } } - r.EncodeMapStart(yynn4366) - yynn4366 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4366 || yy2arr4366 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4366[0] { - yym4368 := z.EncBinary() - _ = yym4368 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -54663,23 +58939,23 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4366[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4369 := z.EncBinary() - _ = yym4369 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4366 || yy2arr4366 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4366[1] { - yym4371 := z.EncBinary() - _ = yym4371 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -54688,54 +58964,54 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4366[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4372 := z.EncBinary() - _ = yym4372 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4366 || yy2arr4366 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4366[2] { - yy4374 := &x.ListMeta - yym4375 := z.EncBinary() - _ = yym4375 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy4374) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy4374) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq4366[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4376 := &x.ListMeta - yym4377 := z.EncBinary() - _ = yym4377 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy4376) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy4376) + z.EncFallback(yy12) } } } - if yyr4366 || yy2arr4366 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4379 := z.EncBinary() - _ = yym4379 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -54748,15 +59024,15 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4380 := z.EncBinary() - _ = yym4380 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr4366 || yy2arr4366 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54769,25 +59045,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4381 := z.DecBinary() - _ = yym4381 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4382 := r.ContainerType() - if yyct4382 == codecSelferValueTypeMap1234 { - yyl4382 := r.ReadMapStart() - if yyl4382 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4382, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4382 == codecSelferValueTypeArray1234 { - yyl4382 := r.ReadArrayStart() - if yyl4382 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4382, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54799,12 +59075,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4383Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4383Slc - var yyhl4383 bool = l >= 0 - for yyj4383 := 0; ; yyj4383++ { - if yyhl4383 { - if yyj4383 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -54813,51 +59089,63 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4383Slc = r.DecodeBytes(yys4383Slc, true, true) - yys4383 := string(yys4383Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4383 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv4386 := &x.ListMeta - yym4387 := z.DecBinary() - _ = yym4387 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv4386) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv4386, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4388 := &x.Items - yym4389 := z.DecBinary() - _ = yym4389 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv4388), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys4383) - } // end switch yys4383 - } // end for yyj4383 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54865,16 +59153,16 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4390 int - var yyb4390 bool - var yyhl4390 bool = l >= 0 - yyj4390++ - if yyhl4390 { - yyb4390 = yyj4390 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4390 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4390 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54882,15 +59170,21 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj4390++ - if yyhl4390 { - yyb4390 = yyj4390 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4390 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4390 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54898,15 +59192,21 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj4390++ - if yyhl4390 { - yyb4390 = yyj4390 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4390 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4390 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54914,22 +59214,22 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv4393 := &x.ListMeta - yym4394 := z.DecBinary() - _ = yym4394 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv4393) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv4393, false) + z.DecFallback(yyv17, false) } } - yyj4390++ - if yyhl4390 { - yyb4390 = yyj4390 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4390 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4390 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54937,26 +59237,26 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4395 := &x.Items - yym4396 := z.DecBinary() - _ = yym4396 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv4395), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv19), d) } } for { - yyj4390++ - if yyhl4390 { - yyb4390 = yyj4390 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4390 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4390 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4390-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54968,39 +59268,39 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4397 := z.EncBinary() - _ = yym4397 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4398 := !z.EncBinary() - yy2arr4398 := z.EncBasicHandle().StructToArray - var yyq4398 [2]bool - _, _, _ = yysep4398, yyq4398, yy2arr4398 - const yyr4398 bool = false - yyq4398[0] = len(x.Items) != 0 - yyq4398[1] = x.DefaultMode != nil - var yynn4398 int - if yyr4398 || yy2arr4398 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Items) != 0 + yyq2[1] = x.DefaultMode != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn4398 = 0 - for _, b := range yyq4398 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn4398++ + yynn2++ } } - r.EncodeMapStart(yynn4398) - yynn4398 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4398 || yy2arr4398 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4398[0] { + if yyq2[0] { if x.Items == nil { r.EncodeNil() } else { - yym4400 := z.EncBinary() - _ = yym4400 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -55010,15 +59310,15 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4398[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym4401 := z.EncBinary() - _ = yym4401 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -55026,42 +59326,42 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4398 || yy2arr4398 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4398[1] { + if yyq2[1] { if x.DefaultMode == nil { r.EncodeNil() } else { - yy4403 := *x.DefaultMode - yym4404 := z.EncBinary() - _ = yym4404 + yy7 := *x.DefaultMode + yym8 := z.EncBinary() + _ = yym8 if false { } else { - r.EncodeInt(int64(yy4403)) + r.EncodeInt(int64(yy7)) } } } else { r.EncodeNil() } } else { - if yyq4398[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultMode == nil { r.EncodeNil() } else { - yy4405 := *x.DefaultMode - yym4406 := z.EncBinary() - _ = yym4406 + yy9 := *x.DefaultMode + yym10 := z.EncBinary() + _ = yym10 if false { } else { - r.EncodeInt(int64(yy4405)) + r.EncodeInt(int64(yy9)) } } } } - if yyr4398 || yy2arr4398 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -55074,25 +59374,25 @@ func (x *DownwardAPIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4407 := z.DecBinary() - _ = yym4407 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4408 := r.ContainerType() - if yyct4408 == codecSelferValueTypeMap1234 { - yyl4408 := r.ReadMapStart() - if yyl4408 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4408, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4408 == codecSelferValueTypeArray1234 { - yyl4408 := r.ReadArrayStart() - if yyl4408 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4408, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -55104,12 +59404,12 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4409Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4409Slc - var yyhl4409 bool = l >= 0 - for yyj4409 := 0; ; yyj4409++ { - if yyhl4409 { - if yyj4409 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -55118,20 +59418,20 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4409Slc = r.DecodeBytes(yys4409Slc, true, true) - yys4409 := string(yys4409Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4409 { + switch yys3 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4410 := &x.Items - yym4411 := z.DecBinary() - _ = yym4411 + yyv4 := &x.Items + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4410), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4), d) } } case "defaultMode": @@ -55143,17 +59443,17 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym4413 := z.DecBinary() - _ = yym4413 + yym7 := z.DecBinary() + _ = yym7 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys4409) - } // end switch yys4409 - } // end for yyj4409 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -55161,16 +59461,16 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4414 int - var yyb4414 bool - var yyhl4414 bool = l >= 0 - yyj4414++ - if yyhl4414 { - yyb4414 = yyj4414 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb4414 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb4414 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55178,21 +59478,21 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4415 := &x.Items - yym4416 := z.DecBinary() - _ = yym4416 + yyv9 := &x.Items + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4415), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv9), d) } } - yyj4414++ - if yyhl4414 { - yyb4414 = yyj4414 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb4414 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb4414 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55205,25 +59505,25 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym4418 := z.DecBinary() - _ = yym4418 + yym12 := z.DecBinary() + _ = yym12 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } for { - yyj4414++ - if yyhl4414 { - yyb4414 = yyj4414 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb4414 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb4414 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4414-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55235,36 +59535,36 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4419 := z.EncBinary() - _ = yym4419 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4420 := !z.EncBinary() - yy2arr4420 := z.EncBasicHandle().StructToArray - var yyq4420 [4]bool - _, _, _ = yysep4420, yyq4420, yy2arr4420 - const yyr4420 bool = false - yyq4420[1] = x.FieldRef != nil - yyq4420[2] = x.ResourceFieldRef != nil - yyq4420[3] = x.Mode != nil - var yynn4420 int - if yyr4420 || yy2arr4420 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.FieldRef != nil + yyq2[2] = x.ResourceFieldRef != nil + yyq2[3] = x.Mode != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn4420 = 1 - for _, b := range yyq4420 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn4420++ + yynn2++ } } - r.EncodeMapStart(yynn4420) - yynn4420 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4420 || yy2arr4420 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4422 := z.EncBinary() - _ = yym4422 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -55273,16 +59573,16 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4423 := z.EncBinary() - _ = yym4423 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr4420 || yy2arr4420 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4420[1] { + if yyq2[1] { if x.FieldRef == nil { r.EncodeNil() } else { @@ -55292,7 +59592,7 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4420[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -55303,9 +59603,9 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4420 || yy2arr4420 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4420[2] { + if yyq2[2] { if x.ResourceFieldRef == nil { r.EncodeNil() } else { @@ -55315,7 +59615,7 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4420[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceFieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -55326,42 +59626,42 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4420 || yy2arr4420 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4420[3] { + if yyq2[3] { if x.Mode == nil { r.EncodeNil() } else { - yy4427 := *x.Mode - yym4428 := z.EncBinary() - _ = yym4428 + yy13 := *x.Mode + yym14 := z.EncBinary() + _ = yym14 if false { } else { - r.EncodeInt(int64(yy4427)) + r.EncodeInt(int64(yy13)) } } } else { r.EncodeNil() } } else { - if yyq4420[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Mode == nil { r.EncodeNil() } else { - yy4429 := *x.Mode - yym4430 := z.EncBinary() - _ = yym4430 + yy15 := *x.Mode + yym16 := z.EncBinary() + _ = yym16 if false { } else { - r.EncodeInt(int64(yy4429)) + r.EncodeInt(int64(yy15)) } } } } - if yyr4420 || yy2arr4420 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -55374,25 +59674,25 @@ func (x *DownwardAPIVolumeFile) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4431 := z.DecBinary() - _ = yym4431 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4432 := r.ContainerType() - if yyct4432 == codecSelferValueTypeMap1234 { - yyl4432 := r.ReadMapStart() - if yyl4432 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4432, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4432 == codecSelferValueTypeArray1234 { - yyl4432 := r.ReadArrayStart() - if yyl4432 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4432, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -55404,12 +59704,12 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4433Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4433Slc - var yyhl4433 bool = l >= 0 - for yyj4433 := 0; ; yyj4433++ { - if yyhl4433 { - if yyj4433 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -55418,15 +59718,21 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4433Slc = r.DecodeBytes(yys4433Slc, true, true) - yys4433 := string(yys4433Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4433 { + switch yys3 { case "path": if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv4 := &x.Path + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "fieldRef": if r.TryDecodeAsNil() { @@ -55459,17 +59765,17 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod if x.Mode == nil { x.Mode = new(int32) } - yym4438 := z.DecBinary() - _ = yym4438 + yym9 := z.DecBinary() + _ = yym9 if false { } else { *((*int32)(x.Mode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys4433) - } // end switch yys4433 - } // end for yyj4433 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -55477,16 +59783,16 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4439 int - var yyb4439 bool - var yyhl4439 bool = l >= 0 - yyj4439++ - if yyhl4439 { - yyb4439 = yyj4439 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4439 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4439 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55494,15 +59800,21 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv11 := &x.Path + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj4439++ - if yyhl4439 { - yyb4439 = yyj4439 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4439 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4439 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55517,13 +59829,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } x.FieldRef.CodecDecodeSelf(d) } - yyj4439++ - if yyhl4439 { - yyb4439 = yyj4439 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4439 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4439 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55538,13 +59850,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } x.ResourceFieldRef.CodecDecodeSelf(d) } - yyj4439++ - if yyhl4439 { - yyb4439 = yyj4439 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4439 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4439 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55557,25 +59869,25 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec if x.Mode == nil { x.Mode = new(int32) } - yym4444 := z.DecBinary() - _ = yym4444 + yym16 := z.DecBinary() + _ = yym16 if false { } else { *((*int32)(x.Mode)) = int32(r.DecodeInt(32)) } } for { - yyj4439++ - if yyhl4439 { - yyb4439 = yyj4439 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb4439 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb4439 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4439-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55587,38 +59899,38 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4445 := z.EncBinary() - _ = yym4445 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4446 := !z.EncBinary() - yy2arr4446 := z.EncBasicHandle().StructToArray - var yyq4446 [6]bool - _, _, _ = yysep4446, yyq4446, yy2arr4446 - const yyr4446 bool = false - yyq4446[0] = x.Capabilities != nil - yyq4446[1] = x.Privileged != nil - yyq4446[2] = x.SELinuxOptions != nil - yyq4446[3] = x.RunAsUser != nil - yyq4446[4] = x.RunAsNonRoot != nil - yyq4446[5] = x.ReadOnlyRootFilesystem != nil - var yynn4446 int - if yyr4446 || yy2arr4446 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Capabilities != nil + yyq2[1] = x.Privileged != nil + yyq2[2] = x.SELinuxOptions != nil + yyq2[3] = x.RunAsUser != nil + yyq2[4] = x.RunAsNonRoot != nil + yyq2[5] = x.ReadOnlyRootFilesystem != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn4446 = 0 - for _, b := range yyq4446 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn4446++ + yynn2++ } } - r.EncodeMapStart(yynn4446) - yynn4446 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4446 || yy2arr4446 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4446[0] { + if yyq2[0] { if x.Capabilities == nil { r.EncodeNil() } else { @@ -55628,7 +59940,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4446[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -55639,44 +59951,44 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4446 || yy2arr4446 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4446[1] { + if yyq2[1] { if x.Privileged == nil { r.EncodeNil() } else { - yy4449 := *x.Privileged - yym4450 := z.EncBinary() - _ = yym4450 + yy7 := *x.Privileged + yym8 := z.EncBinary() + _ = yym8 if false { } else { - r.EncodeBool(bool(yy4449)) + r.EncodeBool(bool(yy7)) } } } else { r.EncodeNil() } } else { - if yyq4446[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Privileged == nil { r.EncodeNil() } else { - yy4451 := *x.Privileged - yym4452 := z.EncBinary() - _ = yym4452 + yy9 := *x.Privileged + yym10 := z.EncBinary() + _ = yym10 if false { } else { - r.EncodeBool(bool(yy4451)) + r.EncodeBool(bool(yy9)) } } } } - if yyr4446 || yy2arr4446 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4446[2] { + if yyq2[2] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -55686,7 +59998,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4446[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -55697,112 +60009,112 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4446 || yy2arr4446 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4446[3] { + if yyq2[3] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy4455 := *x.RunAsUser - yym4456 := z.EncBinary() - _ = yym4456 + yy15 := *x.RunAsUser + yym16 := z.EncBinary() + _ = yym16 if false { } else { - r.EncodeInt(int64(yy4455)) + r.EncodeInt(int64(yy15)) } } } else { r.EncodeNil() } } else { - if yyq4446[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy4457 := *x.RunAsUser - yym4458 := z.EncBinary() - _ = yym4458 + yy17 := *x.RunAsUser + yym18 := z.EncBinary() + _ = yym18 if false { } else { - r.EncodeInt(int64(yy4457)) + r.EncodeInt(int64(yy17)) } } } } - if yyr4446 || yy2arr4446 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4446[4] { + if yyq2[4] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy4460 := *x.RunAsNonRoot - yym4461 := z.EncBinary() - _ = yym4461 + yy20 := *x.RunAsNonRoot + yym21 := z.EncBinary() + _ = yym21 if false { } else { - r.EncodeBool(bool(yy4460)) + r.EncodeBool(bool(yy20)) } } } else { r.EncodeNil() } } else { - if yyq4446[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy4462 := *x.RunAsNonRoot - yym4463 := z.EncBinary() - _ = yym4463 + yy22 := *x.RunAsNonRoot + yym23 := z.EncBinary() + _ = yym23 if false { } else { - r.EncodeBool(bool(yy4462)) + r.EncodeBool(bool(yy22)) } } } } - if yyr4446 || yy2arr4446 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4446[5] { + if yyq2[5] { if x.ReadOnlyRootFilesystem == nil { r.EncodeNil() } else { - yy4465 := *x.ReadOnlyRootFilesystem - yym4466 := z.EncBinary() - _ = yym4466 + yy25 := *x.ReadOnlyRootFilesystem + yym26 := z.EncBinary() + _ = yym26 if false { } else { - r.EncodeBool(bool(yy4465)) + r.EncodeBool(bool(yy25)) } } } else { r.EncodeNil() } } else { - if yyq4446[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ReadOnlyRootFilesystem == nil { r.EncodeNil() } else { - yy4467 := *x.ReadOnlyRootFilesystem - yym4468 := z.EncBinary() - _ = yym4468 + yy27 := *x.ReadOnlyRootFilesystem + yym28 := z.EncBinary() + _ = yym28 if false { } else { - r.EncodeBool(bool(yy4467)) + r.EncodeBool(bool(yy27)) } } } } - if yyr4446 || yy2arr4446 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -55815,25 +60127,25 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4469 := z.DecBinary() - _ = yym4469 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4470 := r.ContainerType() - if yyct4470 == codecSelferValueTypeMap1234 { - yyl4470 := r.ReadMapStart() - if yyl4470 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4470, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4470 == codecSelferValueTypeArray1234 { - yyl4470 := r.ReadArrayStart() - if yyl4470 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4470, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -55845,12 +60157,12 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4471Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4471Slc - var yyhl4471 bool = l >= 0 - for yyj4471 := 0; ; yyj4471++ { - if yyhl4471 { - if yyj4471 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -55859,10 +60171,10 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4471Slc = r.DecodeBytes(yys4471Slc, true, true) - yys4471 := string(yys4471Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4471 { + switch yys3 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -55883,8 +60195,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym4474 := z.DecBinary() - _ = yym4474 + yym6 := z.DecBinary() + _ = yym6 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -55910,8 +60222,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym4477 := z.DecBinary() - _ = yym4477 + yym9 := z.DecBinary() + _ = yym9 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -55926,8 +60238,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym4479 := z.DecBinary() - _ = yym4479 + yym11 := z.DecBinary() + _ = yym11 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -55942,17 +60254,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ReadOnlyRootFilesystem == nil { x.ReadOnlyRootFilesystem = new(bool) } - yym4481 := z.DecBinary() - _ = yym4481 + yym13 := z.DecBinary() + _ = yym13 if false { } else { *((*bool)(x.ReadOnlyRootFilesystem)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys4471) - } // end switch yys4471 - } // end for yyj4471 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -55960,16 +60272,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4482 int - var yyb4482 bool - var yyhl4482 bool = l >= 0 - yyj4482++ - if yyhl4482 { - yyb4482 = yyj4482 > l + var yyj14 int + var yyb14 bool + var yyhl14 bool = l >= 0 + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb4482 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb4482 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55984,13 +60296,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj4482++ - if yyhl4482 { - yyb4482 = yyj4482 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb4482 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb4482 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56003,20 +60315,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym4485 := z.DecBinary() - _ = yym4485 + yym17 := z.DecBinary() + _ = yym17 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj4482++ - if yyhl4482 { - yyb4482 = yyj4482 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb4482 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb4482 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56031,13 +60343,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj4482++ - if yyhl4482 { - yyb4482 = yyj4482 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb4482 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb4482 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56050,20 +60362,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym4488 := z.DecBinary() - _ = yym4488 + yym20 := z.DecBinary() + _ = yym20 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj4482++ - if yyhl4482 { - yyb4482 = yyj4482 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb4482 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb4482 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56076,20 +60388,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym4490 := z.DecBinary() - _ = yym4490 + yym22 := z.DecBinary() + _ = yym22 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj4482++ - if yyhl4482 { - yyb4482 = yyj4482 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb4482 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb4482 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56102,25 +60414,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.ReadOnlyRootFilesystem == nil { x.ReadOnlyRootFilesystem = new(bool) } - yym4492 := z.DecBinary() - _ = yym4492 + yym24 := z.DecBinary() + _ = yym24 if false { } else { *((*bool)(x.ReadOnlyRootFilesystem)) = r.DecodeBool() } } for { - yyj4482++ - if yyhl4482 { - yyb4482 = yyj4482 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb4482 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb4482 { + if yyb14 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4482-1, "") + z.DecStructFieldNotFound(yyj14-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56132,38 +60444,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4493 := z.EncBinary() - _ = yym4493 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4494 := !z.EncBinary() - yy2arr4494 := z.EncBasicHandle().StructToArray - var yyq4494 [4]bool - _, _, _ = yysep4494, yyq4494, yy2arr4494 - const yyr4494 bool = false - yyq4494[0] = x.User != "" - yyq4494[1] = x.Role != "" - yyq4494[2] = x.Type != "" - yyq4494[3] = x.Level != "" - var yynn4494 int - if yyr4494 || yy2arr4494 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.User != "" + yyq2[1] = x.Role != "" + yyq2[2] = x.Type != "" + yyq2[3] = x.Level != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn4494 = 0 - for _, b := range yyq4494 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn4494++ + yynn2++ } } - r.EncodeMapStart(yynn4494) - yynn4494 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4494 || yy2arr4494 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4494[0] { - yym4496 := z.EncBinary() - _ = yym4496 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -56172,23 +60484,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4494[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4497 := z.EncBinary() - _ = yym4497 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr4494 || yy2arr4494 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4494[1] { - yym4499 := z.EncBinary() - _ = yym4499 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) @@ -56197,23 +60509,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4494[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("role")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4500 := z.EncBinary() - _ = yym4500 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) } } } - if yyr4494 || yy2arr4494 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4494[2] { - yym4502 := z.EncBinary() - _ = yym4502 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -56222,23 +60534,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4494[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4503 := z.EncBinary() - _ = yym4503 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr4494 || yy2arr4494 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4494[3] { - yym4505 := z.EncBinary() - _ = yym4505 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) @@ -56247,19 +60559,19 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4494[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("level")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4506 := z.EncBinary() - _ = yym4506 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr4494 || yy2arr4494 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -56272,25 +60584,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4507 := z.DecBinary() - _ = yym4507 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4508 := r.ContainerType() - if yyct4508 == codecSelferValueTypeMap1234 { - yyl4508 := r.ReadMapStart() - if yyl4508 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4508, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4508 == codecSelferValueTypeArray1234 { - yyl4508 := r.ReadArrayStart() - if yyl4508 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4508, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -56302,12 +60614,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4509Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4509Slc - var yyhl4509 bool = l >= 0 - for yyj4509 := 0; ; yyj4509++ { - if yyhl4509 { - if yyj4509 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -56316,38 +60628,62 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4509Slc = r.DecodeBytes(yys4509Slc, true, true) - yys4509 := string(yys4509Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4509 { + switch yys3 { case "user": if r.TryDecodeAsNil() { x.User = "" } else { - x.User = string(r.DecodeString()) + yyv4 := &x.User + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "role": if r.TryDecodeAsNil() { x.Role = "" } else { - x.Role = string(r.DecodeString()) + yyv6 := &x.Role + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = string(r.DecodeString()) + yyv8 := &x.Type + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "level": if r.TryDecodeAsNil() { x.Level = "" } else { - x.Level = string(r.DecodeString()) + yyv10 := &x.Level + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys4509) - } // end switch yys4509 - } // end for yyj4509 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -56355,16 +60691,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4514 int - var yyb4514 bool - var yyhl4514 bool = l >= 0 - yyj4514++ - if yyhl4514 { - yyb4514 = yyj4514 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4514 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4514 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56372,15 +60708,21 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.User = "" } else { - x.User = string(r.DecodeString()) + yyv13 := &x.User + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj4514++ - if yyhl4514 { - yyb4514 = yyj4514 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4514 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4514 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56388,15 +60730,21 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Role = "" } else { - x.Role = string(r.DecodeString()) + yyv15 := &x.Role + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj4514++ - if yyhl4514 { - yyb4514 = yyj4514 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4514 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4514 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56404,15 +60752,21 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = string(r.DecodeString()) + yyv17 := &x.Type + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*string)(yyv17)) = r.DecodeString() + } } - yyj4514++ - if yyhl4514 { - yyb4514 = yyj4514 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4514 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4514 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56420,20 +60774,26 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Level = "" } else { - x.Level = string(r.DecodeString()) + yyv19 := &x.Level + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } for { - yyj4514++ - if yyhl4514 { - yyb4514 = yyj4514 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb4514 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb4514 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4514-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56445,37 +60805,37 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4519 := z.EncBinary() - _ = yym4519 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4520 := !z.EncBinary() - yy2arr4520 := z.EncBasicHandle().StructToArray - var yyq4520 [5]bool - _, _, _ = yysep4520, yyq4520, yy2arr4520 - const yyr4520 bool = false - yyq4520[0] = x.Kind != "" - yyq4520[1] = x.APIVersion != "" - yyq4520[2] = true - var yynn4520 int - if yyr4520 || yy2arr4520 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn4520 = 2 - for _, b := range yyq4520 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn4520++ + yynn2++ } } - r.EncodeMapStart(yynn4520) - yynn4520 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr4520 || yy2arr4520 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4520[0] { - yym4522 := z.EncBinary() - _ = yym4522 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -56484,23 +60844,23 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4520[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4523 := z.EncBinary() - _ = yym4523 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4520 || yy2arr4520 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4520[1] { - yym4525 := z.EncBinary() - _ = yym4525 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -56509,39 +60869,39 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4520[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4526 := z.EncBinary() - _ = yym4526 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4520 || yy2arr4520 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4520[2] { - yy4528 := &x.ObjectMeta - yy4528.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4520[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4529 := &x.ObjectMeta - yy4529.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr4520 || yy2arr4520 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4531 := z.EncBinary() - _ = yym4531 + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -56550,20 +60910,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4532 := z.EncBinary() - _ = yym4532 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr4520 || yy2arr4520 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym4534 := z.EncBinary() - _ = yym4534 + yym18 := z.EncBinary() + _ = yym18 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -56576,15 +60936,15 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym4535 := z.EncBinary() - _ = yym4535 + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr4520 || yy2arr4520 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -56597,25 +60957,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4536 := z.DecBinary() - _ = yym4536 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4537 := r.ContainerType() - if yyct4537 == codecSelferValueTypeMap1234 { - yyl4537 := r.ReadMapStart() - if yyl4537 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4537, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct4537 == codecSelferValueTypeArray1234 { - yyl4537 := r.ReadArrayStart() - if yyl4537 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4537, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -56627,12 +60987,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4538Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4538Slc - var yyhl4538 bool = l >= 0 - for yyj4538 := 0; ; yyj4538++ { - if yyhl4538 { - if yyj4538 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -56641,51 +61001,69 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4538Slc = r.DecodeBytes(yys4538Slc, true, true) - yys4538 := string(yys4538Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4538 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4541 := &x.ObjectMeta - yyv4541.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "range": if r.TryDecodeAsNil() { x.Range = "" } else { - x.Range = string(r.DecodeString()) + yyv9 := &x.Range + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4543 := &x.Data - yym4544 := z.DecBinary() - _ = yym4544 + yyv11 := &x.Data + yym12 := z.DecBinary() + _ = yym12 if false { } else { - *yyv4543 = r.DecodeBytes(*(*[]byte)(yyv4543), false, false) + *yyv11 = r.DecodeBytes(*(*[]byte)(yyv11), false, false) } } default: - z.DecStructFieldNotFound(-1, yys4538) - } // end switch yys4538 - } // end for yyj4538 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -56693,16 +61071,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4545 int - var yyb4545 bool - var yyhl4545 bool = l >= 0 - yyj4545++ - if yyhl4545 { - yyb4545 = yyj4545 > l + var yyj13 int + var yyb13 bool + var yyhl13 bool = l >= 0 + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb4545 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb4545 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56710,15 +61088,21 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv14 := &x.Kind + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj4545++ - if yyhl4545 { - yyb4545 = yyj4545 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb4545 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb4545 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56726,15 +61110,21 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv16 := &x.APIVersion + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } - yyj4545++ - if yyhl4545 { - yyb4545 = yyj4545 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb4545 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb4545 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56742,16 +61132,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4548 := &x.ObjectMeta - yyv4548.CodecDecodeSelf(d) + yyv18 := &x.ObjectMeta + yyv18.CodecDecodeSelf(d) } - yyj4545++ - if yyhl4545 { - yyb4545 = yyj4545 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb4545 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb4545 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56759,15 +61149,21 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Range = "" } else { - x.Range = string(r.DecodeString()) + yyv19 := &x.Range + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } - yyj4545++ - if yyhl4545 { - yyb4545 = yyj4545 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb4545 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb4545 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56775,26 +61171,26 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4550 := &x.Data - yym4551 := z.DecBinary() - _ = yym4551 + yyv21 := &x.Data + yym22 := z.DecBinary() + _ = yym22 if false { } else { - *yyv4550 = r.DecodeBytes(*(*[]byte)(yyv4550), false, false) + *yyv21 = r.DecodeBytes(*(*[]byte)(yyv21), false, false) } } for { - yyj4545++ - if yyhl4545 { - yyb4545 = yyj4545 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb4545 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb4545 { + if yyb13 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4545-1, "") + z.DecStructFieldNotFound(yyj13-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56804,15 +61200,15 @@ func (x codecSelfer1234) encSlicev1_OwnerReference(v []pkg2_v1.OwnerReference, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4552 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4553 := &yyv4552 - yym4554 := z.EncBinary() - _ = yym4554 + yy2 := &yyv1 + yym3 := z.EncBinary() + _ = yym3 if false { - } else if z.HasExtensions() && z.EncExt(yy4553) { + } else if z.HasExtensions() && z.EncExt(yy2) { } else { - z.EncFallback(yy4553) + z.EncFallback(yy2) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -56823,74 +61219,77 @@ func (x codecSelfer1234) decSlicev1_OwnerReference(v *[]pkg2_v1.OwnerReference, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4555 := *v - yyh4555, yyl4555 := z.DecSliceHelperStart() - var yyc4555 bool - if yyl4555 == 0 { - if yyv4555 == nil { - yyv4555 = []pkg2_v1.OwnerReference{} - yyc4555 = true - } else if len(yyv4555) != 0 { - yyv4555 = yyv4555[:0] - yyc4555 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []pkg2_v1.OwnerReference{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4555 > 0 { - var yyrr4555, yyrl4555 int - var yyrt4555 bool - if yyl4555 > cap(yyv4555) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4555 := len(yyv4555) > 0 - yyv24555 := yyv4555 - yyrl4555, yyrt4555 = z.DecInferLen(yyl4555, z.DecBasicHandle().MaxInitLen, 72) - if yyrt4555 { - if yyrl4555 <= cap(yyv4555) { - yyv4555 = yyv4555[:yyrl4555] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4555 = make([]pkg2_v1.OwnerReference, yyrl4555) + yyv1 = make([]pkg2_v1.OwnerReference, yyrl1) } } else { - yyv4555 = make([]pkg2_v1.OwnerReference, yyrl4555) + yyv1 = make([]pkg2_v1.OwnerReference, yyrl1) } - yyc4555 = true - yyrr4555 = len(yyv4555) - if yyrg4555 { - copy(yyv4555, yyv24555) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4555 != len(yyv4555) { - yyv4555 = yyv4555[:yyl4555] - yyc4555 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4555 := 0 - for ; yyj4555 < yyrr4555; yyj4555++ { - yyh4555.ElemContainerState(yyj4555) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4555[yyj4555] = pkg2_v1.OwnerReference{} + yyv1[yyj1] = pkg2_v1.OwnerReference{} } else { - yyv4556 := &yyv4555[yyj4555] - yym4557 := z.DecBinary() - _ = yym4557 + yyv2 := &yyv1[yyj1] + yym3 := z.DecBinary() + _ = yym3 if false { - } else if z.HasExtensions() && z.DecExt(yyv4556) { + } else if z.HasExtensions() && z.DecExt(yyv2) { } else { - z.DecFallback(yyv4556, false) + z.DecFallback(yyv2, false) } } } - if yyrt4555 { - for ; yyj4555 < yyl4555; yyj4555++ { - yyv4555 = append(yyv4555, pkg2_v1.OwnerReference{}) - yyh4555.ElemContainerState(yyj4555) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, pkg2_v1.OwnerReference{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4555[yyj4555] = pkg2_v1.OwnerReference{} + yyv1[yyj1] = pkg2_v1.OwnerReference{} } else { - yyv4558 := &yyv4555[yyj4555] - yym4559 := z.DecBinary() - _ = yym4559 + yyv4 := &yyv1[yyj1] + yym5 := z.DecBinary() + _ = yym5 if false { - } else if z.HasExtensions() && z.DecExt(yyv4558) { + } else if z.HasExtensions() && z.DecExt(yyv4) { } else { - z.DecFallback(yyv4558, false) + z.DecFallback(yyv4, false) } } @@ -56898,25 +61297,25 @@ func (x codecSelfer1234) decSlicev1_OwnerReference(v *[]pkg2_v1.OwnerReference, } } else { - yyj4555 := 0 - for ; !r.CheckBreak(); yyj4555++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4555 >= len(yyv4555) { - yyv4555 = append(yyv4555, pkg2_v1.OwnerReference{}) // var yyz4555 pkg2_v1.OwnerReference - yyc4555 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, pkg2_v1.OwnerReference{}) // var yyz1 pkg2_v1.OwnerReference + yyc1 = true } - yyh4555.ElemContainerState(yyj4555) - if yyj4555 < len(yyv4555) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4555[yyj4555] = pkg2_v1.OwnerReference{} + yyv1[yyj1] = pkg2_v1.OwnerReference{} } else { - yyv4560 := &yyv4555[yyj4555] - yym4561 := z.DecBinary() - _ = yym4561 + yyv6 := &yyv1[yyj1] + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv4560) { + } else if z.HasExtensions() && z.DecExt(yyv6) { } else { - z.DecFallback(yyv4560, false) + z.DecFallback(yyv6, false) } } @@ -56925,17 +61324,17 @@ func (x codecSelfer1234) decSlicev1_OwnerReference(v *[]pkg2_v1.OwnerReference, } } - if yyj4555 < len(yyv4555) { - yyv4555 = yyv4555[:yyj4555] - yyc4555 = true - } else if yyj4555 == 0 && yyv4555 == nil { - yyv4555 = []pkg2_v1.OwnerReference{} - yyc4555 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []pkg2_v1.OwnerReference{} + yyc1 = true } } - yyh4555.End() - if yyc4555 { - *v = yyv4555 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -56944,9 +61343,9 @@ func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolume z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4562 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4562.CodecEncodeSelf(e) + yyv1.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56956,75 +61355,81 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4563 := *v - yyh4563, yyl4563 := z.DecSliceHelperStart() - var yyc4563 bool - if yyl4563 == 0 { - if yyv4563 == nil { - yyv4563 = []PersistentVolumeAccessMode{} - yyc4563 = true - } else if len(yyv4563) != 0 { - yyv4563 = yyv4563[:0] - yyc4563 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []PersistentVolumeAccessMode{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4563 > 0 { - var yyrr4563, yyrl4563 int - var yyrt4563 bool - if yyl4563 > cap(yyv4563) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrl4563, yyrt4563 = z.DecInferLen(yyl4563, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4563 { - if yyrl4563 <= cap(yyv4563) { - yyv4563 = yyv4563[:yyrl4563] + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4563 = make([]PersistentVolumeAccessMode, yyrl4563) + yyv1 = make([]PersistentVolumeAccessMode, yyrl1) } } else { - yyv4563 = make([]PersistentVolumeAccessMode, yyrl4563) + yyv1 = make([]PersistentVolumeAccessMode, yyrl1) } - yyc4563 = true - yyrr4563 = len(yyv4563) - } else if yyl4563 != len(yyv4563) { - yyv4563 = yyv4563[:yyl4563] - yyc4563 = true + yyc1 = true + yyrr1 = len(yyv1) + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4563 := 0 - for ; yyj4563 < yyrr4563; yyj4563++ { - yyh4563.ElemContainerState(yyj4563) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4563[yyj4563] = "" + yyv1[yyj1] = "" } else { - yyv4563[yyj4563] = PersistentVolumeAccessMode(r.DecodeString()) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4563 { - for ; yyj4563 < yyl4563; yyj4563++ { - yyv4563 = append(yyv4563, "") - yyh4563.ElemContainerState(yyj4563) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, "") + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4563[yyj4563] = "" + yyv1[yyj1] = "" } else { - yyv4563[yyj4563] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4563 := 0 - for ; !r.CheckBreak(); yyj4563++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4563 >= len(yyv4563) { - yyv4563 = append(yyv4563, "") // var yyz4563 PersistentVolumeAccessMode - yyc4563 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, "") // var yyz1 PersistentVolumeAccessMode + yyc1 = true } - yyh4563.ElemContainerState(yyj4563) - if yyj4563 < len(yyv4563) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4563[yyj4563] = "" + yyv1[yyj1] = "" } else { - yyv4563[yyj4563] = PersistentVolumeAccessMode(r.DecodeString()) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -57032,17 +61437,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum } } - if yyj4563 < len(yyv4563) { - yyv4563 = yyv4563[:yyj4563] - yyc4563 = true - } else if yyj4563 == 0 && yyv4563 == nil { - yyv4563 = []PersistentVolumeAccessMode{} - yyc4563 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []PersistentVolumeAccessMode{} + yyc1 = true } } - yyh4563.End() - if yyc4563 { - *v = yyv4563 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -57051,10 +61456,10 @@ func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4567 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4568 := &yyv4567 - yy4568.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57064,83 +61469,86 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4569 := *v - yyh4569, yyl4569 := z.DecSliceHelperStart() - var yyc4569 bool - if yyl4569 == 0 { - if yyv4569 == nil { - yyv4569 = []PersistentVolume{} - yyc4569 = true - } else if len(yyv4569) != 0 { - yyv4569 = yyv4569[:0] - yyc4569 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []PersistentVolume{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4569 > 0 { - var yyrr4569, yyrl4569 int - var yyrt4569 bool - if yyl4569 > cap(yyv4569) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4569 := len(yyv4569) > 0 - yyv24569 := yyv4569 - yyrl4569, yyrt4569 = z.DecInferLen(yyl4569, z.DecBasicHandle().MaxInitLen, 496) - if yyrt4569 { - if yyrl4569 <= cap(yyv4569) { - yyv4569 = yyv4569[:yyrl4569] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 496) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4569 = make([]PersistentVolume, yyrl4569) + yyv1 = make([]PersistentVolume, yyrl1) } } else { - yyv4569 = make([]PersistentVolume, yyrl4569) + yyv1 = make([]PersistentVolume, yyrl1) } - yyc4569 = true - yyrr4569 = len(yyv4569) - if yyrg4569 { - copy(yyv4569, yyv24569) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4569 != len(yyv4569) { - yyv4569 = yyv4569[:yyl4569] - yyc4569 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4569 := 0 - for ; yyj4569 < yyrr4569; yyj4569++ { - yyh4569.ElemContainerState(yyj4569) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4569[yyj4569] = PersistentVolume{} + yyv1[yyj1] = PersistentVolume{} } else { - yyv4570 := &yyv4569[yyj4569] - yyv4570.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4569 { - for ; yyj4569 < yyl4569; yyj4569++ { - yyv4569 = append(yyv4569, PersistentVolume{}) - yyh4569.ElemContainerState(yyj4569) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, PersistentVolume{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4569[yyj4569] = PersistentVolume{} + yyv1[yyj1] = PersistentVolume{} } else { - yyv4571 := &yyv4569[yyj4569] - yyv4571.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4569 := 0 - for ; !r.CheckBreak(); yyj4569++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4569 >= len(yyv4569) { - yyv4569 = append(yyv4569, PersistentVolume{}) // var yyz4569 PersistentVolume - yyc4569 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, PersistentVolume{}) // var yyz1 PersistentVolume + yyc1 = true } - yyh4569.ElemContainerState(yyj4569) - if yyj4569 < len(yyv4569) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4569[yyj4569] = PersistentVolume{} + yyv1[yyj1] = PersistentVolume{} } else { - yyv4572 := &yyv4569[yyj4569] - yyv4572.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -57148,17 +61556,17 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code } } - if yyj4569 < len(yyv4569) { - yyv4569 = yyv4569[:yyj4569] - yyc4569 = true - } else if yyj4569 == 0 && yyv4569 == nil { - yyv4569 = []PersistentVolume{} - yyc4569 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []PersistentVolume{} + yyc1 = true } } - yyh4569.End() - if yyc4569 { - *v = yyv4569 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -57167,10 +61575,10 @@ func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4573 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4574 := &yyv4573 - yy4574.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57180,83 +61588,86 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4575 := *v - yyh4575, yyl4575 := z.DecSliceHelperStart() - var yyc4575 bool - if yyl4575 == 0 { - if yyv4575 == nil { - yyv4575 = []PersistentVolumeClaim{} - yyc4575 = true - } else if len(yyv4575) != 0 { - yyv4575 = yyv4575[:0] - yyc4575 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []PersistentVolumeClaim{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4575 > 0 { - var yyrr4575, yyrl4575 int - var yyrt4575 bool - if yyl4575 > cap(yyv4575) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4575 := len(yyv4575) > 0 - yyv24575 := yyv4575 - yyrl4575, yyrt4575 = z.DecInferLen(yyl4575, z.DecBasicHandle().MaxInitLen, 368) - if yyrt4575 { - if yyrl4575 <= cap(yyv4575) { - yyv4575 = yyv4575[:yyrl4575] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 368) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4575 = make([]PersistentVolumeClaim, yyrl4575) + yyv1 = make([]PersistentVolumeClaim, yyrl1) } } else { - yyv4575 = make([]PersistentVolumeClaim, yyrl4575) + yyv1 = make([]PersistentVolumeClaim, yyrl1) } - yyc4575 = true - yyrr4575 = len(yyv4575) - if yyrg4575 { - copy(yyv4575, yyv24575) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4575 != len(yyv4575) { - yyv4575 = yyv4575[:yyl4575] - yyc4575 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4575 := 0 - for ; yyj4575 < yyrr4575; yyj4575++ { - yyh4575.ElemContainerState(yyj4575) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4575[yyj4575] = PersistentVolumeClaim{} + yyv1[yyj1] = PersistentVolumeClaim{} } else { - yyv4576 := &yyv4575[yyj4575] - yyv4576.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4575 { - for ; yyj4575 < yyl4575; yyj4575++ { - yyv4575 = append(yyv4575, PersistentVolumeClaim{}) - yyh4575.ElemContainerState(yyj4575) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, PersistentVolumeClaim{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4575[yyj4575] = PersistentVolumeClaim{} + yyv1[yyj1] = PersistentVolumeClaim{} } else { - yyv4577 := &yyv4575[yyj4575] - yyv4577.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4575 := 0 - for ; !r.CheckBreak(); yyj4575++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4575 >= len(yyv4575) { - yyv4575 = append(yyv4575, PersistentVolumeClaim{}) // var yyz4575 PersistentVolumeClaim - yyc4575 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, PersistentVolumeClaim{}) // var yyz1 PersistentVolumeClaim + yyc1 = true } - yyh4575.ElemContainerState(yyj4575) - if yyj4575 < len(yyv4575) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4575[yyj4575] = PersistentVolumeClaim{} + yyv1[yyj1] = PersistentVolumeClaim{} } else { - yyv4578 := &yyv4575[yyj4575] - yyv4578.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -57264,17 +61675,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai } } - if yyj4575 < len(yyv4575) { - yyv4575 = yyv4575[:yyj4575] - yyc4575 = true - } else if yyj4575 == 0 && yyv4575 == nil { - yyv4575 = []PersistentVolumeClaim{} - yyc4575 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []PersistentVolumeClaim{} + yyc1 = true } } - yyh4575.End() - if yyc4575 { - *v = yyv4575 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -57283,10 +61694,10 @@ func (x codecSelfer1234) encSliceKeyToPath(v []KeyToPath, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4579 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4580 := &yyv4579 - yy4580.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57296,83 +61707,86 @@ func (x codecSelfer1234) decSliceKeyToPath(v *[]KeyToPath, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4581 := *v - yyh4581, yyl4581 := z.DecSliceHelperStart() - var yyc4581 bool - if yyl4581 == 0 { - if yyv4581 == nil { - yyv4581 = []KeyToPath{} - yyc4581 = true - } else if len(yyv4581) != 0 { - yyv4581 = yyv4581[:0] - yyc4581 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []KeyToPath{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4581 > 0 { - var yyrr4581, yyrl4581 int - var yyrt4581 bool - if yyl4581 > cap(yyv4581) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4581 := len(yyv4581) > 0 - yyv24581 := yyv4581 - yyrl4581, yyrt4581 = z.DecInferLen(yyl4581, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4581 { - if yyrl4581 <= cap(yyv4581) { - yyv4581 = yyv4581[:yyrl4581] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4581 = make([]KeyToPath, yyrl4581) + yyv1 = make([]KeyToPath, yyrl1) } } else { - yyv4581 = make([]KeyToPath, yyrl4581) + yyv1 = make([]KeyToPath, yyrl1) } - yyc4581 = true - yyrr4581 = len(yyv4581) - if yyrg4581 { - copy(yyv4581, yyv24581) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4581 != len(yyv4581) { - yyv4581 = yyv4581[:yyl4581] - yyc4581 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4581 := 0 - for ; yyj4581 < yyrr4581; yyj4581++ { - yyh4581.ElemContainerState(yyj4581) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4581[yyj4581] = KeyToPath{} + yyv1[yyj1] = KeyToPath{} } else { - yyv4582 := &yyv4581[yyj4581] - yyv4582.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4581 { - for ; yyj4581 < yyl4581; yyj4581++ { - yyv4581 = append(yyv4581, KeyToPath{}) - yyh4581.ElemContainerState(yyj4581) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, KeyToPath{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4581[yyj4581] = KeyToPath{} + yyv1[yyj1] = KeyToPath{} } else { - yyv4583 := &yyv4581[yyj4581] - yyv4583.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4581 := 0 - for ; !r.CheckBreak(); yyj4581++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4581 >= len(yyv4581) { - yyv4581 = append(yyv4581, KeyToPath{}) // var yyz4581 KeyToPath - yyc4581 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, KeyToPath{}) // var yyz1 KeyToPath + yyc1 = true } - yyh4581.ElemContainerState(yyj4581) - if yyj4581 < len(yyv4581) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4581[yyj4581] = KeyToPath{} + yyv1[yyj1] = KeyToPath{} } else { - yyv4584 := &yyv4581[yyj4581] - yyv4584.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -57380,17 +61794,17 @@ func (x codecSelfer1234) decSliceKeyToPath(v *[]KeyToPath, d *codec1978.Decoder) } } - if yyj4581 < len(yyv4581) { - yyv4581 = yyv4581[:yyj4581] - yyc4581 = true - } else if yyj4581 == 0 && yyv4581 == nil { - yyv4581 = []KeyToPath{} - yyc4581 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []KeyToPath{} + yyc1 = true } } - yyh4581.End() - if yyc4581 { - *v = yyv4581 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -57399,10 +61813,10 @@ func (x codecSelfer1234) encSliceHTTPHeader(v []HTTPHeader, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4585 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4586 := &yyv4585 - yy4586.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57412,83 +61826,86 @@ func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4587 := *v - yyh4587, yyl4587 := z.DecSliceHelperStart() - var yyc4587 bool - if yyl4587 == 0 { - if yyv4587 == nil { - yyv4587 = []HTTPHeader{} - yyc4587 = true - } else if len(yyv4587) != 0 { - yyv4587 = yyv4587[:0] - yyc4587 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []HTTPHeader{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4587 > 0 { - var yyrr4587, yyrl4587 int - var yyrt4587 bool - if yyl4587 > cap(yyv4587) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4587 := len(yyv4587) > 0 - yyv24587 := yyv4587 - yyrl4587, yyrt4587 = z.DecInferLen(yyl4587, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4587 { - if yyrl4587 <= cap(yyv4587) { - yyv4587 = yyv4587[:yyrl4587] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4587 = make([]HTTPHeader, yyrl4587) + yyv1 = make([]HTTPHeader, yyrl1) } } else { - yyv4587 = make([]HTTPHeader, yyrl4587) + yyv1 = make([]HTTPHeader, yyrl1) } - yyc4587 = true - yyrr4587 = len(yyv4587) - if yyrg4587 { - copy(yyv4587, yyv24587) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4587 != len(yyv4587) { - yyv4587 = yyv4587[:yyl4587] - yyc4587 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4587 := 0 - for ; yyj4587 < yyrr4587; yyj4587++ { - yyh4587.ElemContainerState(yyj4587) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4587[yyj4587] = HTTPHeader{} + yyv1[yyj1] = HTTPHeader{} } else { - yyv4588 := &yyv4587[yyj4587] - yyv4588.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4587 { - for ; yyj4587 < yyl4587; yyj4587++ { - yyv4587 = append(yyv4587, HTTPHeader{}) - yyh4587.ElemContainerState(yyj4587) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, HTTPHeader{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4587[yyj4587] = HTTPHeader{} + yyv1[yyj1] = HTTPHeader{} } else { - yyv4589 := &yyv4587[yyj4587] - yyv4589.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4587 := 0 - for ; !r.CheckBreak(); yyj4587++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4587 >= len(yyv4587) { - yyv4587 = append(yyv4587, HTTPHeader{}) // var yyz4587 HTTPHeader - yyc4587 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, HTTPHeader{}) // var yyz1 HTTPHeader + yyc1 = true } - yyh4587.ElemContainerState(yyj4587) - if yyj4587 < len(yyv4587) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4587[yyj4587] = HTTPHeader{} + yyv1[yyj1] = HTTPHeader{} } else { - yyv4590 := &yyv4587[yyj4587] - yyv4590.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -57496,17 +61913,17 @@ func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decode } } - if yyj4587 < len(yyv4587) { - yyv4587 = yyv4587[:yyj4587] - yyc4587 = true - } else if yyj4587 == 0 && yyv4587 == nil { - yyv4587 = []HTTPHeader{} - yyc4587 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []HTTPHeader{} + yyc1 = true } } - yyh4587.End() - if yyc4587 { - *v = yyv4587 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -57515,9 +61932,9 @@ func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4591 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4591.CodecEncodeSelf(e) + yyv1.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57527,75 +61944,81 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4592 := *v - yyh4592, yyl4592 := z.DecSliceHelperStart() - var yyc4592 bool - if yyl4592 == 0 { - if yyv4592 == nil { - yyv4592 = []Capability{} - yyc4592 = true - } else if len(yyv4592) != 0 { - yyv4592 = yyv4592[:0] - yyc4592 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Capability{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4592 > 0 { - var yyrr4592, yyrl4592 int - var yyrt4592 bool - if yyl4592 > cap(yyv4592) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrl4592, yyrt4592 = z.DecInferLen(yyl4592, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4592 { - if yyrl4592 <= cap(yyv4592) { - yyv4592 = yyv4592[:yyrl4592] + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4592 = make([]Capability, yyrl4592) + yyv1 = make([]Capability, yyrl1) } } else { - yyv4592 = make([]Capability, yyrl4592) + yyv1 = make([]Capability, yyrl1) } - yyc4592 = true - yyrr4592 = len(yyv4592) - } else if yyl4592 != len(yyv4592) { - yyv4592 = yyv4592[:yyl4592] - yyc4592 = true + yyc1 = true + yyrr1 = len(yyv1) + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4592 := 0 - for ; yyj4592 < yyrr4592; yyj4592++ { - yyh4592.ElemContainerState(yyj4592) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4592[yyj4592] = "" + yyv1[yyj1] = "" } else { - yyv4592[yyj4592] = Capability(r.DecodeString()) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4592 { - for ; yyj4592 < yyl4592; yyj4592++ { - yyv4592 = append(yyv4592, "") - yyh4592.ElemContainerState(yyj4592) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, "") + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4592[yyj4592] = "" + yyv1[yyj1] = "" } else { - yyv4592[yyj4592] = Capability(r.DecodeString()) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4592 := 0 - for ; !r.CheckBreak(); yyj4592++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4592 >= len(yyv4592) { - yyv4592 = append(yyv4592, "") // var yyz4592 Capability - yyc4592 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, "") // var yyz1 Capability + yyc1 = true } - yyh4592.ElemContainerState(yyj4592) - if yyj4592 < len(yyv4592) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4592[yyj4592] = "" + yyv1[yyj1] = "" } else { - yyv4592[yyj4592] = Capability(r.DecodeString()) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -57603,17 +62026,17 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode } } - if yyj4592 < len(yyv4592) { - yyv4592 = yyv4592[:yyj4592] - yyc4592 = true - } else if yyj4592 == 0 && yyv4592 == nil { - yyv4592 = []Capability{} - yyc4592 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Capability{} + yyc1 = true } } - yyh4592.End() - if yyc4592 { - *v = yyv4592 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -57622,10 +62045,10 @@ func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4596 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4597 := &yyv4596 - yy4597.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57635,83 +62058,86 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4598 := *v - yyh4598, yyl4598 := z.DecSliceHelperStart() - var yyc4598 bool - if yyl4598 == 0 { - if yyv4598 == nil { - yyv4598 = []ContainerPort{} - yyc4598 = true - } else if len(yyv4598) != 0 { - yyv4598 = yyv4598[:0] - yyc4598 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ContainerPort{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4598 > 0 { - var yyrr4598, yyrl4598 int - var yyrt4598 bool - if yyl4598 > cap(yyv4598) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4598 := len(yyv4598) > 0 - yyv24598 := yyv4598 - yyrl4598, yyrt4598 = z.DecInferLen(yyl4598, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4598 { - if yyrl4598 <= cap(yyv4598) { - yyv4598 = yyv4598[:yyrl4598] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4598 = make([]ContainerPort, yyrl4598) + yyv1 = make([]ContainerPort, yyrl1) } } else { - yyv4598 = make([]ContainerPort, yyrl4598) + yyv1 = make([]ContainerPort, yyrl1) } - yyc4598 = true - yyrr4598 = len(yyv4598) - if yyrg4598 { - copy(yyv4598, yyv24598) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4598 != len(yyv4598) { - yyv4598 = yyv4598[:yyl4598] - yyc4598 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4598 := 0 - for ; yyj4598 < yyrr4598; yyj4598++ { - yyh4598.ElemContainerState(yyj4598) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4598[yyj4598] = ContainerPort{} + yyv1[yyj1] = ContainerPort{} } else { - yyv4599 := &yyv4598[yyj4598] - yyv4599.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4598 { - for ; yyj4598 < yyl4598; yyj4598++ { - yyv4598 = append(yyv4598, ContainerPort{}) - yyh4598.ElemContainerState(yyj4598) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ContainerPort{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4598[yyj4598] = ContainerPort{} + yyv1[yyj1] = ContainerPort{} } else { - yyv4600 := &yyv4598[yyj4598] - yyv4600.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4598 := 0 - for ; !r.CheckBreak(); yyj4598++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4598 >= len(yyv4598) { - yyv4598 = append(yyv4598, ContainerPort{}) // var yyz4598 ContainerPort - yyc4598 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ContainerPort{}) // var yyz1 ContainerPort + yyc1 = true } - yyh4598.ElemContainerState(yyj4598) - if yyj4598 < len(yyv4598) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4598[yyj4598] = ContainerPort{} + yyv1[yyj1] = ContainerPort{} } else { - yyv4601 := &yyv4598[yyj4598] - yyv4601.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -57719,17 +62145,136 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. } } - if yyj4598 < len(yyv4598) { - yyv4598 = yyv4598[:yyj4598] - yyc4598 = true - } else if yyj4598 == 0 && yyv4598 == nil { - yyv4598 = []ContainerPort{} - yyc4598 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ContainerPort{} + yyc1 = true } } - yyh4598.End() - if yyc4598 { - *v = yyv4598 + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + +func (x codecSelfer1234) encSliceEnvFromSource(v []EnvFromSource, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceEnvFromSource(v *[]EnvFromSource, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []EnvFromSource{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { + + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]EnvFromSource, yyrl1) + } + } else { + yyv1 = make([]EnvFromSource, yyrl1) + } + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) + } + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) + if r.TryDecodeAsNil() { + yyv1[yyj1] = EnvFromSource{} + } else { + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) + } + + } + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, EnvFromSource{}) + yyh1.ElemContainerState(yyj1) + if r.TryDecodeAsNil() { + yyv1[yyj1] = EnvFromSource{} + } else { + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { + + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, EnvFromSource{}) // var yyz1 EnvFromSource + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { + if r.TryDecodeAsNil() { + yyv1[yyj1] = EnvFromSource{} + } else { + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []EnvFromSource{} + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -57738,10 +62283,10 @@ func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4602 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4603 := &yyv4602 - yy4603.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57751,83 +62296,86 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4604 := *v - yyh4604, yyl4604 := z.DecSliceHelperStart() - var yyc4604 bool - if yyl4604 == 0 { - if yyv4604 == nil { - yyv4604 = []EnvVar{} - yyc4604 = true - } else if len(yyv4604) != 0 { - yyv4604 = yyv4604[:0] - yyc4604 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []EnvVar{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4604 > 0 { - var yyrr4604, yyrl4604 int - var yyrt4604 bool - if yyl4604 > cap(yyv4604) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4604 := len(yyv4604) > 0 - yyv24604 := yyv4604 - yyrl4604, yyrt4604 = z.DecInferLen(yyl4604, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4604 { - if yyrl4604 <= cap(yyv4604) { - yyv4604 = yyv4604[:yyrl4604] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4604 = make([]EnvVar, yyrl4604) + yyv1 = make([]EnvVar, yyrl1) } } else { - yyv4604 = make([]EnvVar, yyrl4604) + yyv1 = make([]EnvVar, yyrl1) } - yyc4604 = true - yyrr4604 = len(yyv4604) - if yyrg4604 { - copy(yyv4604, yyv24604) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4604 != len(yyv4604) { - yyv4604 = yyv4604[:yyl4604] - yyc4604 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4604 := 0 - for ; yyj4604 < yyrr4604; yyj4604++ { - yyh4604.ElemContainerState(yyj4604) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4604[yyj4604] = EnvVar{} + yyv1[yyj1] = EnvVar{} } else { - yyv4605 := &yyv4604[yyj4604] - yyv4605.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4604 { - for ; yyj4604 < yyl4604; yyj4604++ { - yyv4604 = append(yyv4604, EnvVar{}) - yyh4604.ElemContainerState(yyj4604) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, EnvVar{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4604[yyj4604] = EnvVar{} + yyv1[yyj1] = EnvVar{} } else { - yyv4606 := &yyv4604[yyj4604] - yyv4606.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4604 := 0 - for ; !r.CheckBreak(); yyj4604++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4604 >= len(yyv4604) { - yyv4604 = append(yyv4604, EnvVar{}) // var yyz4604 EnvVar - yyc4604 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, EnvVar{}) // var yyz1 EnvVar + yyc1 = true } - yyh4604.ElemContainerState(yyj4604) - if yyj4604 < len(yyv4604) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4604[yyj4604] = EnvVar{} + yyv1[yyj1] = EnvVar{} } else { - yyv4607 := &yyv4604[yyj4604] - yyv4607.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -57835,17 +62383,17 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { } } - if yyj4604 < len(yyv4604) { - yyv4604 = yyv4604[:yyj4604] - yyc4604 = true - } else if yyj4604 == 0 && yyv4604 == nil { - yyv4604 = []EnvVar{} - yyc4604 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []EnvVar{} + yyc1 = true } } - yyh4604.End() - if yyc4604 { - *v = yyv4604 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -57854,10 +62402,10 @@ func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4608 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4609 := &yyv4608 - yy4609.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57867,83 +62415,86 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4610 := *v - yyh4610, yyl4610 := z.DecSliceHelperStart() - var yyc4610 bool - if yyl4610 == 0 { - if yyv4610 == nil { - yyv4610 = []VolumeMount{} - yyc4610 = true - } else if len(yyv4610) != 0 { - yyv4610 = yyv4610[:0] - yyc4610 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []VolumeMount{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4610 > 0 { - var yyrr4610, yyrl4610 int - var yyrt4610 bool - if yyl4610 > cap(yyv4610) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4610 := len(yyv4610) > 0 - yyv24610 := yyv4610 - yyrl4610, yyrt4610 = z.DecInferLen(yyl4610, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4610 { - if yyrl4610 <= cap(yyv4610) { - yyv4610 = yyv4610[:yyrl4610] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4610 = make([]VolumeMount, yyrl4610) + yyv1 = make([]VolumeMount, yyrl1) } } else { - yyv4610 = make([]VolumeMount, yyrl4610) + yyv1 = make([]VolumeMount, yyrl1) } - yyc4610 = true - yyrr4610 = len(yyv4610) - if yyrg4610 { - copy(yyv4610, yyv24610) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4610 != len(yyv4610) { - yyv4610 = yyv4610[:yyl4610] - yyc4610 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4610 := 0 - for ; yyj4610 < yyrr4610; yyj4610++ { - yyh4610.ElemContainerState(yyj4610) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4610[yyj4610] = VolumeMount{} + yyv1[yyj1] = VolumeMount{} } else { - yyv4611 := &yyv4610[yyj4610] - yyv4611.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4610 { - for ; yyj4610 < yyl4610; yyj4610++ { - yyv4610 = append(yyv4610, VolumeMount{}) - yyh4610.ElemContainerState(yyj4610) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, VolumeMount{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4610[yyj4610] = VolumeMount{} + yyv1[yyj1] = VolumeMount{} } else { - yyv4612 := &yyv4610[yyj4610] - yyv4612.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4610 := 0 - for ; !r.CheckBreak(); yyj4610++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4610 >= len(yyv4610) { - yyv4610 = append(yyv4610, VolumeMount{}) // var yyz4610 VolumeMount - yyc4610 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, VolumeMount{}) // var yyz1 VolumeMount + yyc1 = true } - yyh4610.ElemContainerState(yyj4610) - if yyj4610 < len(yyv4610) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4610[yyj4610] = VolumeMount{} + yyv1[yyj1] = VolumeMount{} } else { - yyv4613 := &yyv4610[yyj4610] - yyv4613.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -57951,17 +62502,17 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco } } - if yyj4610 < len(yyv4610) { - yyv4610 = yyv4610[:yyj4610] - yyc4610 = true - } else if yyj4610 == 0 && yyv4610 == nil { - yyv4610 = []VolumeMount{} - yyc4610 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []VolumeMount{} + yyc1 = true } } - yyh4610.End() - if yyc4610 { - *v = yyv4610 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -57970,10 +62521,10 @@ func (x codecSelfer1234) encSliceNodeSelectorTerm(v []NodeSelectorTerm, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4614 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4615 := &yyv4614 - yy4615.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57983,83 +62534,86 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4616 := *v - yyh4616, yyl4616 := z.DecSliceHelperStart() - var yyc4616 bool - if yyl4616 == 0 { - if yyv4616 == nil { - yyv4616 = []NodeSelectorTerm{} - yyc4616 = true - } else if len(yyv4616) != 0 { - yyv4616 = yyv4616[:0] - yyc4616 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []NodeSelectorTerm{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4616 > 0 { - var yyrr4616, yyrl4616 int - var yyrt4616 bool - if yyl4616 > cap(yyv4616) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4616 := len(yyv4616) > 0 - yyv24616 := yyv4616 - yyrl4616, yyrt4616 = z.DecInferLen(yyl4616, z.DecBasicHandle().MaxInitLen, 24) - if yyrt4616 { - if yyrl4616 <= cap(yyv4616) { - yyv4616 = yyv4616[:yyrl4616] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4616 = make([]NodeSelectorTerm, yyrl4616) + yyv1 = make([]NodeSelectorTerm, yyrl1) } } else { - yyv4616 = make([]NodeSelectorTerm, yyrl4616) + yyv1 = make([]NodeSelectorTerm, yyrl1) } - yyc4616 = true - yyrr4616 = len(yyv4616) - if yyrg4616 { - copy(yyv4616, yyv24616) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4616 != len(yyv4616) { - yyv4616 = yyv4616[:yyl4616] - yyc4616 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4616 := 0 - for ; yyj4616 < yyrr4616; yyj4616++ { - yyh4616.ElemContainerState(yyj4616) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4616[yyj4616] = NodeSelectorTerm{} + yyv1[yyj1] = NodeSelectorTerm{} } else { - yyv4617 := &yyv4616[yyj4616] - yyv4617.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4616 { - for ; yyj4616 < yyl4616; yyj4616++ { - yyv4616 = append(yyv4616, NodeSelectorTerm{}) - yyh4616.ElemContainerState(yyj4616) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, NodeSelectorTerm{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4616[yyj4616] = NodeSelectorTerm{} + yyv1[yyj1] = NodeSelectorTerm{} } else { - yyv4618 := &yyv4616[yyj4616] - yyv4618.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4616 := 0 - for ; !r.CheckBreak(); yyj4616++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4616 >= len(yyv4616) { - yyv4616 = append(yyv4616, NodeSelectorTerm{}) // var yyz4616 NodeSelectorTerm - yyc4616 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, NodeSelectorTerm{}) // var yyz1 NodeSelectorTerm + yyc1 = true } - yyh4616.ElemContainerState(yyj4616) - if yyj4616 < len(yyv4616) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4616[yyj4616] = NodeSelectorTerm{} + yyv1[yyj1] = NodeSelectorTerm{} } else { - yyv4619 := &yyv4616[yyj4616] - yyv4619.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -58067,17 +62621,17 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code } } - if yyj4616 < len(yyv4616) { - yyv4616 = yyv4616[:yyj4616] - yyc4616 = true - } else if yyj4616 == 0 && yyv4616 == nil { - yyv4616 = []NodeSelectorTerm{} - yyc4616 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []NodeSelectorTerm{} + yyc1 = true } } - yyh4616.End() - if yyc4616 { - *v = yyv4616 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -58086,10 +62640,10 @@ func (x codecSelfer1234) encSliceNodeSelectorRequirement(v []NodeSelectorRequire z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4620 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4621 := &yyv4620 - yy4621.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58099,83 +62653,86 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4622 := *v - yyh4622, yyl4622 := z.DecSliceHelperStart() - var yyc4622 bool - if yyl4622 == 0 { - if yyv4622 == nil { - yyv4622 = []NodeSelectorRequirement{} - yyc4622 = true - } else if len(yyv4622) != 0 { - yyv4622 = yyv4622[:0] - yyc4622 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []NodeSelectorRequirement{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4622 > 0 { - var yyrr4622, yyrl4622 int - var yyrt4622 bool - if yyl4622 > cap(yyv4622) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4622 := len(yyv4622) > 0 - yyv24622 := yyv4622 - yyrl4622, yyrt4622 = z.DecInferLen(yyl4622, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4622 { - if yyrl4622 <= cap(yyv4622) { - yyv4622 = yyv4622[:yyrl4622] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4622 = make([]NodeSelectorRequirement, yyrl4622) + yyv1 = make([]NodeSelectorRequirement, yyrl1) } } else { - yyv4622 = make([]NodeSelectorRequirement, yyrl4622) + yyv1 = make([]NodeSelectorRequirement, yyrl1) } - yyc4622 = true - yyrr4622 = len(yyv4622) - if yyrg4622 { - copy(yyv4622, yyv24622) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4622 != len(yyv4622) { - yyv4622 = yyv4622[:yyl4622] - yyc4622 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4622 := 0 - for ; yyj4622 < yyrr4622; yyj4622++ { - yyh4622.ElemContainerState(yyj4622) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4622[yyj4622] = NodeSelectorRequirement{} + yyv1[yyj1] = NodeSelectorRequirement{} } else { - yyv4623 := &yyv4622[yyj4622] - yyv4623.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4622 { - for ; yyj4622 < yyl4622; yyj4622++ { - yyv4622 = append(yyv4622, NodeSelectorRequirement{}) - yyh4622.ElemContainerState(yyj4622) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, NodeSelectorRequirement{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4622[yyj4622] = NodeSelectorRequirement{} + yyv1[yyj1] = NodeSelectorRequirement{} } else { - yyv4624 := &yyv4622[yyj4622] - yyv4624.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4622 := 0 - for ; !r.CheckBreak(); yyj4622++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4622 >= len(yyv4622) { - yyv4622 = append(yyv4622, NodeSelectorRequirement{}) // var yyz4622 NodeSelectorRequirement - yyc4622 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, NodeSelectorRequirement{}) // var yyz1 NodeSelectorRequirement + yyc1 = true } - yyh4622.ElemContainerState(yyj4622) - if yyj4622 < len(yyv4622) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4622[yyj4622] = NodeSelectorRequirement{} + yyv1[yyj1] = NodeSelectorRequirement{} } else { - yyv4625 := &yyv4622[yyj4622] - yyv4625.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -58183,17 +62740,17 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir } } - if yyj4622 < len(yyv4622) { - yyv4622 = yyv4622[:yyj4622] - yyc4622 = true - } else if yyj4622 == 0 && yyv4622 == nil { - yyv4622 = []NodeSelectorRequirement{} - yyc4622 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []NodeSelectorRequirement{} + yyc1 = true } } - yyh4622.End() - if yyc4622 { - *v = yyv4622 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -58202,10 +62759,10 @@ func (x codecSelfer1234) encSlicePodAffinityTerm(v []PodAffinityTerm, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4626 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4627 := &yyv4626 - yy4627.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58215,83 +62772,86 @@ func (x codecSelfer1234) decSlicePodAffinityTerm(v *[]PodAffinityTerm, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4628 := *v - yyh4628, yyl4628 := z.DecSliceHelperStart() - var yyc4628 bool - if yyl4628 == 0 { - if yyv4628 == nil { - yyv4628 = []PodAffinityTerm{} - yyc4628 = true - } else if len(yyv4628) != 0 { - yyv4628 = yyv4628[:0] - yyc4628 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []PodAffinityTerm{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4628 > 0 { - var yyrr4628, yyrl4628 int - var yyrt4628 bool - if yyl4628 > cap(yyv4628) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4628 := len(yyv4628) > 0 - yyv24628 := yyv4628 - yyrl4628, yyrt4628 = z.DecInferLen(yyl4628, z.DecBasicHandle().MaxInitLen, 48) - if yyrt4628 { - if yyrl4628 <= cap(yyv4628) { - yyv4628 = yyv4628[:yyrl4628] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 48) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4628 = make([]PodAffinityTerm, yyrl4628) + yyv1 = make([]PodAffinityTerm, yyrl1) } } else { - yyv4628 = make([]PodAffinityTerm, yyrl4628) + yyv1 = make([]PodAffinityTerm, yyrl1) } - yyc4628 = true - yyrr4628 = len(yyv4628) - if yyrg4628 { - copy(yyv4628, yyv24628) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4628 != len(yyv4628) { - yyv4628 = yyv4628[:yyl4628] - yyc4628 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4628 := 0 - for ; yyj4628 < yyrr4628; yyj4628++ { - yyh4628.ElemContainerState(yyj4628) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4628[yyj4628] = PodAffinityTerm{} + yyv1[yyj1] = PodAffinityTerm{} } else { - yyv4629 := &yyv4628[yyj4628] - yyv4629.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4628 { - for ; yyj4628 < yyl4628; yyj4628++ { - yyv4628 = append(yyv4628, PodAffinityTerm{}) - yyh4628.ElemContainerState(yyj4628) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, PodAffinityTerm{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4628[yyj4628] = PodAffinityTerm{} + yyv1[yyj1] = PodAffinityTerm{} } else { - yyv4630 := &yyv4628[yyj4628] - yyv4630.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4628 := 0 - for ; !r.CheckBreak(); yyj4628++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4628 >= len(yyv4628) { - yyv4628 = append(yyv4628, PodAffinityTerm{}) // var yyz4628 PodAffinityTerm - yyc4628 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, PodAffinityTerm{}) // var yyz1 PodAffinityTerm + yyc1 = true } - yyh4628.ElemContainerState(yyj4628) - if yyj4628 < len(yyv4628) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4628[yyj4628] = PodAffinityTerm{} + yyv1[yyj1] = PodAffinityTerm{} } else { - yyv4631 := &yyv4628[yyj4628] - yyv4631.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -58299,17 +62859,17 @@ func (x codecSelfer1234) decSlicePodAffinityTerm(v *[]PodAffinityTerm, d *codec1 } } - if yyj4628 < len(yyv4628) { - yyv4628 = yyv4628[:yyj4628] - yyc4628 = true - } else if yyj4628 == 0 && yyv4628 == nil { - yyv4628 = []PodAffinityTerm{} - yyc4628 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []PodAffinityTerm{} + yyc1 = true } } - yyh4628.End() - if yyc4628 { - *v = yyv4628 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -58318,10 +62878,10 @@ func (x codecSelfer1234) encSliceWeightedPodAffinityTerm(v []WeightedPodAffinity z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4632 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4633 := &yyv4632 - yy4633.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58331,83 +62891,86 @@ func (x codecSelfer1234) decSliceWeightedPodAffinityTerm(v *[]WeightedPodAffinit z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4634 := *v - yyh4634, yyl4634 := z.DecSliceHelperStart() - var yyc4634 bool - if yyl4634 == 0 { - if yyv4634 == nil { - yyv4634 = []WeightedPodAffinityTerm{} - yyc4634 = true - } else if len(yyv4634) != 0 { - yyv4634 = yyv4634[:0] - yyc4634 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []WeightedPodAffinityTerm{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4634 > 0 { - var yyrr4634, yyrl4634 int - var yyrt4634 bool - if yyl4634 > cap(yyv4634) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4634 := len(yyv4634) > 0 - yyv24634 := yyv4634 - yyrl4634, yyrt4634 = z.DecInferLen(yyl4634, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4634 { - if yyrl4634 <= cap(yyv4634) { - yyv4634 = yyv4634[:yyrl4634] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4634 = make([]WeightedPodAffinityTerm, yyrl4634) + yyv1 = make([]WeightedPodAffinityTerm, yyrl1) } } else { - yyv4634 = make([]WeightedPodAffinityTerm, yyrl4634) + yyv1 = make([]WeightedPodAffinityTerm, yyrl1) } - yyc4634 = true - yyrr4634 = len(yyv4634) - if yyrg4634 { - copy(yyv4634, yyv24634) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4634 != len(yyv4634) { - yyv4634 = yyv4634[:yyl4634] - yyc4634 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4634 := 0 - for ; yyj4634 < yyrr4634; yyj4634++ { - yyh4634.ElemContainerState(yyj4634) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4634[yyj4634] = WeightedPodAffinityTerm{} + yyv1[yyj1] = WeightedPodAffinityTerm{} } else { - yyv4635 := &yyv4634[yyj4634] - yyv4635.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4634 { - for ; yyj4634 < yyl4634; yyj4634++ { - yyv4634 = append(yyv4634, WeightedPodAffinityTerm{}) - yyh4634.ElemContainerState(yyj4634) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, WeightedPodAffinityTerm{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4634[yyj4634] = WeightedPodAffinityTerm{} + yyv1[yyj1] = WeightedPodAffinityTerm{} } else { - yyv4636 := &yyv4634[yyj4634] - yyv4636.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4634 := 0 - for ; !r.CheckBreak(); yyj4634++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4634 >= len(yyv4634) { - yyv4634 = append(yyv4634, WeightedPodAffinityTerm{}) // var yyz4634 WeightedPodAffinityTerm - yyc4634 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, WeightedPodAffinityTerm{}) // var yyz1 WeightedPodAffinityTerm + yyc1 = true } - yyh4634.ElemContainerState(yyj4634) - if yyj4634 < len(yyv4634) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4634[yyj4634] = WeightedPodAffinityTerm{} + yyv1[yyj1] = WeightedPodAffinityTerm{} } else { - yyv4637 := &yyv4634[yyj4634] - yyv4637.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -58415,17 +62978,17 @@ func (x codecSelfer1234) decSliceWeightedPodAffinityTerm(v *[]WeightedPodAffinit } } - if yyj4634 < len(yyv4634) { - yyv4634 = yyv4634[:yyj4634] - yyc4634 = true - } else if yyj4634 == 0 && yyv4634 == nil { - yyv4634 = []WeightedPodAffinityTerm{} - yyc4634 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []WeightedPodAffinityTerm{} + yyc1 = true } } - yyh4634.End() - if yyc4634 { - *v = yyv4634 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -58434,10 +62997,10 @@ func (x codecSelfer1234) encSlicePreferredSchedulingTerm(v []PreferredScheduling z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4638 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4639 := &yyv4638 - yy4639.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58447,83 +63010,86 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4640 := *v - yyh4640, yyl4640 := z.DecSliceHelperStart() - var yyc4640 bool - if yyl4640 == 0 { - if yyv4640 == nil { - yyv4640 = []PreferredSchedulingTerm{} - yyc4640 = true - } else if len(yyv4640) != 0 { - yyv4640 = yyv4640[:0] - yyc4640 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []PreferredSchedulingTerm{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4640 > 0 { - var yyrr4640, yyrl4640 int - var yyrt4640 bool - if yyl4640 > cap(yyv4640) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4640 := len(yyv4640) > 0 - yyv24640 := yyv4640 - yyrl4640, yyrt4640 = z.DecInferLen(yyl4640, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4640 { - if yyrl4640 <= cap(yyv4640) { - yyv4640 = yyv4640[:yyrl4640] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4640 = make([]PreferredSchedulingTerm, yyrl4640) + yyv1 = make([]PreferredSchedulingTerm, yyrl1) } } else { - yyv4640 = make([]PreferredSchedulingTerm, yyrl4640) + yyv1 = make([]PreferredSchedulingTerm, yyrl1) } - yyc4640 = true - yyrr4640 = len(yyv4640) - if yyrg4640 { - copy(yyv4640, yyv24640) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4640 != len(yyv4640) { - yyv4640 = yyv4640[:yyl4640] - yyc4640 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4640 := 0 - for ; yyj4640 < yyrr4640; yyj4640++ { - yyh4640.ElemContainerState(yyj4640) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4640[yyj4640] = PreferredSchedulingTerm{} + yyv1[yyj1] = PreferredSchedulingTerm{} } else { - yyv4641 := &yyv4640[yyj4640] - yyv4641.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4640 { - for ; yyj4640 < yyl4640; yyj4640++ { - yyv4640 = append(yyv4640, PreferredSchedulingTerm{}) - yyh4640.ElemContainerState(yyj4640) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, PreferredSchedulingTerm{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4640[yyj4640] = PreferredSchedulingTerm{} + yyv1[yyj1] = PreferredSchedulingTerm{} } else { - yyv4642 := &yyv4640[yyj4640] - yyv4642.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4640 := 0 - for ; !r.CheckBreak(); yyj4640++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4640 >= len(yyv4640) { - yyv4640 = append(yyv4640, PreferredSchedulingTerm{}) // var yyz4640 PreferredSchedulingTerm - yyc4640 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, PreferredSchedulingTerm{}) // var yyz1 PreferredSchedulingTerm + yyc1 = true } - yyh4640.ElemContainerState(yyj4640) - if yyj4640 < len(yyv4640) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4640[yyj4640] = PreferredSchedulingTerm{} + yyv1[yyj1] = PreferredSchedulingTerm{} } else { - yyv4643 := &yyv4640[yyj4640] - yyv4643.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -58531,17 +63097,17 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin } } - if yyj4640 < len(yyv4640) { - yyv4640 = yyv4640[:yyj4640] - yyc4640 = true - } else if yyj4640 == 0 && yyv4640 == nil { - yyv4640 = []PreferredSchedulingTerm{} - yyc4640 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []PreferredSchedulingTerm{} + yyc1 = true } } - yyh4640.End() - if yyc4640 { - *v = yyv4640 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -58550,10 +63116,10 @@ func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4644 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4645 := &yyv4644 - yy4645.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58563,83 +63129,86 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4646 := *v - yyh4646, yyl4646 := z.DecSliceHelperStart() - var yyc4646 bool - if yyl4646 == 0 { - if yyv4646 == nil { - yyv4646 = []Volume{} - yyc4646 = true - } else if len(yyv4646) != 0 { - yyv4646 = yyv4646[:0] - yyc4646 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Volume{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4646 > 0 { - var yyrr4646, yyrl4646 int - var yyrt4646 bool - if yyl4646 > cap(yyv4646) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4646 := len(yyv4646) > 0 - yyv24646 := yyv4646 - yyrl4646, yyrt4646 = z.DecInferLen(yyl4646, z.DecBasicHandle().MaxInitLen, 200) - if yyrt4646 { - if yyrl4646 <= cap(yyv4646) { - yyv4646 = yyv4646[:yyrl4646] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 200) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4646 = make([]Volume, yyrl4646) + yyv1 = make([]Volume, yyrl1) } } else { - yyv4646 = make([]Volume, yyrl4646) + yyv1 = make([]Volume, yyrl1) } - yyc4646 = true - yyrr4646 = len(yyv4646) - if yyrg4646 { - copy(yyv4646, yyv24646) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4646 != len(yyv4646) { - yyv4646 = yyv4646[:yyl4646] - yyc4646 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4646 := 0 - for ; yyj4646 < yyrr4646; yyj4646++ { - yyh4646.ElemContainerState(yyj4646) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4646[yyj4646] = Volume{} + yyv1[yyj1] = Volume{} } else { - yyv4647 := &yyv4646[yyj4646] - yyv4647.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4646 { - for ; yyj4646 < yyl4646; yyj4646++ { - yyv4646 = append(yyv4646, Volume{}) - yyh4646.ElemContainerState(yyj4646) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Volume{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4646[yyj4646] = Volume{} + yyv1[yyj1] = Volume{} } else { - yyv4648 := &yyv4646[yyj4646] - yyv4648.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4646 := 0 - for ; !r.CheckBreak(); yyj4646++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4646 >= len(yyv4646) { - yyv4646 = append(yyv4646, Volume{}) // var yyz4646 Volume - yyc4646 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Volume{}) // var yyz1 Volume + yyc1 = true } - yyh4646.ElemContainerState(yyj4646) - if yyj4646 < len(yyv4646) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4646[yyj4646] = Volume{} + yyv1[yyj1] = Volume{} } else { - yyv4649 := &yyv4646[yyj4646] - yyv4649.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -58647,17 +63216,17 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { } } - if yyj4646 < len(yyv4646) { - yyv4646 = yyv4646[:yyj4646] - yyc4646 = true - } else if yyj4646 == 0 && yyv4646 == nil { - yyv4646 = []Volume{} - yyc4646 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Volume{} + yyc1 = true } } - yyh4646.End() - if yyc4646 { - *v = yyv4646 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -58666,10 +63235,10 @@ func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4650 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4651 := &yyv4650 - yy4651.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58679,83 +63248,86 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4652 := *v - yyh4652, yyl4652 := z.DecSliceHelperStart() - var yyc4652 bool - if yyl4652 == 0 { - if yyv4652 == nil { - yyv4652 = []Container{} - yyc4652 = true - } else if len(yyv4652) != 0 { - yyv4652 = yyv4652[:0] - yyc4652 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Container{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4652 > 0 { - var yyrr4652, yyrl4652 int - var yyrt4652 bool - if yyl4652 > cap(yyv4652) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4652 := len(yyv4652) > 0 - yyv24652 := yyv4652 - yyrl4652, yyrt4652 = z.DecInferLen(yyl4652, z.DecBasicHandle().MaxInitLen, 256) - if yyrt4652 { - if yyrl4652 <= cap(yyv4652) { - yyv4652 = yyv4652[:yyrl4652] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4652 = make([]Container, yyrl4652) + yyv1 = make([]Container, yyrl1) } } else { - yyv4652 = make([]Container, yyrl4652) + yyv1 = make([]Container, yyrl1) } - yyc4652 = true - yyrr4652 = len(yyv4652) - if yyrg4652 { - copy(yyv4652, yyv24652) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4652 != len(yyv4652) { - yyv4652 = yyv4652[:yyl4652] - yyc4652 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4652 := 0 - for ; yyj4652 < yyrr4652; yyj4652++ { - yyh4652.ElemContainerState(yyj4652) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4652[yyj4652] = Container{} + yyv1[yyj1] = Container{} } else { - yyv4653 := &yyv4652[yyj4652] - yyv4653.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4652 { - for ; yyj4652 < yyl4652; yyj4652++ { - yyv4652 = append(yyv4652, Container{}) - yyh4652.ElemContainerState(yyj4652) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Container{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4652[yyj4652] = Container{} + yyv1[yyj1] = Container{} } else { - yyv4654 := &yyv4652[yyj4652] - yyv4654.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4652 := 0 - for ; !r.CheckBreak(); yyj4652++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4652 >= len(yyv4652) { - yyv4652 = append(yyv4652, Container{}) // var yyz4652 Container - yyc4652 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Container{}) // var yyz1 Container + yyc1 = true } - yyh4652.ElemContainerState(yyj4652) - if yyj4652 < len(yyv4652) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4652[yyj4652] = Container{} + yyv1[yyj1] = Container{} } else { - yyv4655 := &yyv4652[yyj4652] - yyv4655.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -58763,17 +63335,17 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) } } - if yyj4652 < len(yyv4652) { - yyv4652 = yyv4652[:yyj4652] - yyc4652 = true - } else if yyj4652 == 0 && yyv4652 == nil { - yyv4652 = []Container{} - yyc4652 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Container{} + yyc1 = true } } - yyh4652.End() - if yyc4652 { - *v = yyv4652 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -58782,10 +63354,10 @@ func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4656 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4657 := &yyv4656 - yy4657.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58795,83 +63367,86 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4658 := *v - yyh4658, yyl4658 := z.DecSliceHelperStart() - var yyc4658 bool - if yyl4658 == 0 { - if yyv4658 == nil { - yyv4658 = []LocalObjectReference{} - yyc4658 = true - } else if len(yyv4658) != 0 { - yyv4658 = yyv4658[:0] - yyc4658 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []LocalObjectReference{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4658 > 0 { - var yyrr4658, yyrl4658 int - var yyrt4658 bool - if yyl4658 > cap(yyv4658) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4658 := len(yyv4658) > 0 - yyv24658 := yyv4658 - yyrl4658, yyrt4658 = z.DecInferLen(yyl4658, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4658 { - if yyrl4658 <= cap(yyv4658) { - yyv4658 = yyv4658[:yyrl4658] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4658 = make([]LocalObjectReference, yyrl4658) + yyv1 = make([]LocalObjectReference, yyrl1) } } else { - yyv4658 = make([]LocalObjectReference, yyrl4658) + yyv1 = make([]LocalObjectReference, yyrl1) } - yyc4658 = true - yyrr4658 = len(yyv4658) - if yyrg4658 { - copy(yyv4658, yyv24658) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4658 != len(yyv4658) { - yyv4658 = yyv4658[:yyl4658] - yyc4658 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4658 := 0 - for ; yyj4658 < yyrr4658; yyj4658++ { - yyh4658.ElemContainerState(yyj4658) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4658[yyj4658] = LocalObjectReference{} + yyv1[yyj1] = LocalObjectReference{} } else { - yyv4659 := &yyv4658[yyj4658] - yyv4659.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4658 { - for ; yyj4658 < yyl4658; yyj4658++ { - yyv4658 = append(yyv4658, LocalObjectReference{}) - yyh4658.ElemContainerState(yyj4658) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, LocalObjectReference{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4658[yyj4658] = LocalObjectReference{} + yyv1[yyj1] = LocalObjectReference{} } else { - yyv4660 := &yyv4658[yyj4658] - yyv4660.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4658 := 0 - for ; !r.CheckBreak(); yyj4658++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4658 >= len(yyv4658) { - yyv4658 = append(yyv4658, LocalObjectReference{}) // var yyz4658 LocalObjectReference - yyc4658 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, LocalObjectReference{}) // var yyz1 LocalObjectReference + yyc1 = true } - yyh4658.ElemContainerState(yyj4658) - if yyj4658 < len(yyv4658) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4658[yyj4658] = LocalObjectReference{} + yyv1[yyj1] = LocalObjectReference{} } else { - yyv4661 := &yyv4658[yyj4658] - yyv4661.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -58879,17 +63454,17 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, } } - if yyj4658 < len(yyv4658) { - yyv4658 = yyv4658[:yyj4658] - yyc4658 = true - } else if yyj4658 == 0 && yyv4658 == nil { - yyv4658 = []LocalObjectReference{} - yyc4658 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []LocalObjectReference{} + yyc1 = true } } - yyh4658.End() - if yyc4658 { - *v = yyv4658 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -58898,10 +63473,10 @@ func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4662 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4663 := &yyv4662 - yy4663.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58911,83 +63486,86 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4664 := *v - yyh4664, yyl4664 := z.DecSliceHelperStart() - var yyc4664 bool - if yyl4664 == 0 { - if yyv4664 == nil { - yyv4664 = []PodCondition{} - yyc4664 = true - } else if len(yyv4664) != 0 { - yyv4664 = yyv4664[:0] - yyc4664 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []PodCondition{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4664 > 0 { - var yyrr4664, yyrl4664 int - var yyrt4664 bool - if yyl4664 > cap(yyv4664) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4664 := len(yyv4664) > 0 - yyv24664 := yyv4664 - yyrl4664, yyrt4664 = z.DecInferLen(yyl4664, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4664 { - if yyrl4664 <= cap(yyv4664) { - yyv4664 = yyv4664[:yyrl4664] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4664 = make([]PodCondition, yyrl4664) + yyv1 = make([]PodCondition, yyrl1) } } else { - yyv4664 = make([]PodCondition, yyrl4664) + yyv1 = make([]PodCondition, yyrl1) } - yyc4664 = true - yyrr4664 = len(yyv4664) - if yyrg4664 { - copy(yyv4664, yyv24664) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4664 != len(yyv4664) { - yyv4664 = yyv4664[:yyl4664] - yyc4664 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4664 := 0 - for ; yyj4664 < yyrr4664; yyj4664++ { - yyh4664.ElemContainerState(yyj4664) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4664[yyj4664] = PodCondition{} + yyv1[yyj1] = PodCondition{} } else { - yyv4665 := &yyv4664[yyj4664] - yyv4665.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4664 { - for ; yyj4664 < yyl4664; yyj4664++ { - yyv4664 = append(yyv4664, PodCondition{}) - yyh4664.ElemContainerState(yyj4664) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, PodCondition{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4664[yyj4664] = PodCondition{} + yyv1[yyj1] = PodCondition{} } else { - yyv4666 := &yyv4664[yyj4664] - yyv4666.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4664 := 0 - for ; !r.CheckBreak(); yyj4664++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4664 >= len(yyv4664) { - yyv4664 = append(yyv4664, PodCondition{}) // var yyz4664 PodCondition - yyc4664 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, PodCondition{}) // var yyz1 PodCondition + yyc1 = true } - yyh4664.ElemContainerState(yyj4664) - if yyj4664 < len(yyv4664) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4664[yyj4664] = PodCondition{} + yyv1[yyj1] = PodCondition{} } else { - yyv4667 := &yyv4664[yyj4664] - yyv4667.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -58995,17 +63573,17 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De } } - if yyj4664 < len(yyv4664) { - yyv4664 = yyv4664[:yyj4664] - yyc4664 = true - } else if yyj4664 == 0 && yyv4664 == nil { - yyv4664 = []PodCondition{} - yyc4664 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []PodCondition{} + yyc1 = true } } - yyh4664.End() - if yyc4664 { - *v = yyv4664 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -59014,10 +63592,10 @@ func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4668 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4669 := &yyv4668 - yy4669.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59027,83 +63605,86 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4670 := *v - yyh4670, yyl4670 := z.DecSliceHelperStart() - var yyc4670 bool - if yyl4670 == 0 { - if yyv4670 == nil { - yyv4670 = []ContainerStatus{} - yyc4670 = true - } else if len(yyv4670) != 0 { - yyv4670 = yyv4670[:0] - yyc4670 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ContainerStatus{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4670 > 0 { - var yyrr4670, yyrl4670 int - var yyrt4670 bool - if yyl4670 > cap(yyv4670) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4670 := len(yyv4670) > 0 - yyv24670 := yyv4670 - yyrl4670, yyrt4670 = z.DecInferLen(yyl4670, z.DecBasicHandle().MaxInitLen, 120) - if yyrt4670 { - if yyrl4670 <= cap(yyv4670) { - yyv4670 = yyv4670[:yyrl4670] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 120) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4670 = make([]ContainerStatus, yyrl4670) + yyv1 = make([]ContainerStatus, yyrl1) } } else { - yyv4670 = make([]ContainerStatus, yyrl4670) + yyv1 = make([]ContainerStatus, yyrl1) } - yyc4670 = true - yyrr4670 = len(yyv4670) - if yyrg4670 { - copy(yyv4670, yyv24670) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4670 != len(yyv4670) { - yyv4670 = yyv4670[:yyl4670] - yyc4670 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4670 := 0 - for ; yyj4670 < yyrr4670; yyj4670++ { - yyh4670.ElemContainerState(yyj4670) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4670[yyj4670] = ContainerStatus{} + yyv1[yyj1] = ContainerStatus{} } else { - yyv4671 := &yyv4670[yyj4670] - yyv4671.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4670 { - for ; yyj4670 < yyl4670; yyj4670++ { - yyv4670 = append(yyv4670, ContainerStatus{}) - yyh4670.ElemContainerState(yyj4670) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ContainerStatus{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4670[yyj4670] = ContainerStatus{} + yyv1[yyj1] = ContainerStatus{} } else { - yyv4672 := &yyv4670[yyj4670] - yyv4672.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4670 := 0 - for ; !r.CheckBreak(); yyj4670++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4670 >= len(yyv4670) { - yyv4670 = append(yyv4670, ContainerStatus{}) // var yyz4670 ContainerStatus - yyc4670 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ContainerStatus{}) // var yyz1 ContainerStatus + yyc1 = true } - yyh4670.ElemContainerState(yyj4670) - if yyj4670 < len(yyv4670) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4670[yyj4670] = ContainerStatus{} + yyv1[yyj1] = ContainerStatus{} } else { - yyv4673 := &yyv4670[yyj4670] - yyv4673.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -59111,17 +63692,17 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 } } - if yyj4670 < len(yyv4670) { - yyv4670 = yyv4670[:yyj4670] - yyc4670 = true - } else if yyj4670 == 0 && yyv4670 == nil { - yyv4670 = []ContainerStatus{} - yyc4670 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ContainerStatus{} + yyc1 = true } } - yyh4670.End() - if yyc4670 { - *v = yyv4670 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -59130,10 +63711,10 @@ func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4674 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4675 := &yyv4674 - yy4675.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59143,83 +63724,86 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4676 := *v - yyh4676, yyl4676 := z.DecSliceHelperStart() - var yyc4676 bool - if yyl4676 == 0 { - if yyv4676 == nil { - yyv4676 = []Pod{} - yyc4676 = true - } else if len(yyv4676) != 0 { - yyv4676 = yyv4676[:0] - yyc4676 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Pod{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4676 > 0 { - var yyrr4676, yyrl4676 int - var yyrt4676 bool - if yyl4676 > cap(yyv4676) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4676 := len(yyv4676) > 0 - yyv24676 := yyv4676 - yyrl4676, yyrt4676 = z.DecInferLen(yyl4676, z.DecBasicHandle().MaxInitLen, 688) - if yyrt4676 { - if yyrl4676 <= cap(yyv4676) { - yyv4676 = yyv4676[:yyrl4676] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 688) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4676 = make([]Pod, yyrl4676) + yyv1 = make([]Pod, yyrl1) } } else { - yyv4676 = make([]Pod, yyrl4676) + yyv1 = make([]Pod, yyrl1) } - yyc4676 = true - yyrr4676 = len(yyv4676) - if yyrg4676 { - copy(yyv4676, yyv24676) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4676 != len(yyv4676) { - yyv4676 = yyv4676[:yyl4676] - yyc4676 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4676 := 0 - for ; yyj4676 < yyrr4676; yyj4676++ { - yyh4676.ElemContainerState(yyj4676) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4676[yyj4676] = Pod{} + yyv1[yyj1] = Pod{} } else { - yyv4677 := &yyv4676[yyj4676] - yyv4677.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4676 { - for ; yyj4676 < yyl4676; yyj4676++ { - yyv4676 = append(yyv4676, Pod{}) - yyh4676.ElemContainerState(yyj4676) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Pod{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4676[yyj4676] = Pod{} + yyv1[yyj1] = Pod{} } else { - yyv4678 := &yyv4676[yyj4676] - yyv4678.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4676 := 0 - for ; !r.CheckBreak(); yyj4676++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4676 >= len(yyv4676) { - yyv4676 = append(yyv4676, Pod{}) // var yyz4676 Pod - yyc4676 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Pod{}) // var yyz1 Pod + yyc1 = true } - yyh4676.ElemContainerState(yyj4676) - if yyj4676 < len(yyv4676) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4676[yyj4676] = Pod{} + yyv1[yyj1] = Pod{} } else { - yyv4679 := &yyv4676[yyj4676] - yyv4679.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -59227,17 +63811,17 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { } } - if yyj4676 < len(yyv4676) { - yyv4676 = yyv4676[:yyj4676] - yyc4676 = true - } else if yyj4676 == 0 && yyv4676 == nil { - yyv4676 = []Pod{} - yyc4676 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Pod{} + yyc1 = true } } - yyh4676.End() - if yyc4676 { - *v = yyv4676 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -59246,10 +63830,10 @@ func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4680 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4681 := &yyv4680 - yy4681.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59259,83 +63843,86 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4682 := *v - yyh4682, yyl4682 := z.DecSliceHelperStart() - var yyc4682 bool - if yyl4682 == 0 { - if yyv4682 == nil { - yyv4682 = []PodTemplate{} - yyc4682 = true - } else if len(yyv4682) != 0 { - yyv4682 = yyv4682[:0] - yyc4682 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []PodTemplate{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4682 > 0 { - var yyrr4682, yyrl4682 int - var yyrt4682 bool - if yyl4682 > cap(yyv4682) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4682 := len(yyv4682) > 0 - yyv24682 := yyv4682 - yyrl4682, yyrt4682 = z.DecInferLen(yyl4682, z.DecBasicHandle().MaxInitLen, 736) - if yyrt4682 { - if yyrl4682 <= cap(yyv4682) { - yyv4682 = yyv4682[:yyrl4682] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 736) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4682 = make([]PodTemplate, yyrl4682) + yyv1 = make([]PodTemplate, yyrl1) } } else { - yyv4682 = make([]PodTemplate, yyrl4682) + yyv1 = make([]PodTemplate, yyrl1) } - yyc4682 = true - yyrr4682 = len(yyv4682) - if yyrg4682 { - copy(yyv4682, yyv24682) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4682 != len(yyv4682) { - yyv4682 = yyv4682[:yyl4682] - yyc4682 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4682 := 0 - for ; yyj4682 < yyrr4682; yyj4682++ { - yyh4682.ElemContainerState(yyj4682) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4682[yyj4682] = PodTemplate{} + yyv1[yyj1] = PodTemplate{} } else { - yyv4683 := &yyv4682[yyj4682] - yyv4683.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4682 { - for ; yyj4682 < yyl4682; yyj4682++ { - yyv4682 = append(yyv4682, PodTemplate{}) - yyh4682.ElemContainerState(yyj4682) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, PodTemplate{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4682[yyj4682] = PodTemplate{} + yyv1[yyj1] = PodTemplate{} } else { - yyv4684 := &yyv4682[yyj4682] - yyv4684.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4682 := 0 - for ; !r.CheckBreak(); yyj4682++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4682 >= len(yyv4682) { - yyv4682 = append(yyv4682, PodTemplate{}) // var yyz4682 PodTemplate - yyc4682 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, PodTemplate{}) // var yyz1 PodTemplate + yyc1 = true } - yyh4682.ElemContainerState(yyj4682) - if yyj4682 < len(yyv4682) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4682[yyj4682] = PodTemplate{} + yyv1[yyj1] = PodTemplate{} } else { - yyv4685 := &yyv4682[yyj4682] - yyv4685.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -59343,17 +63930,17 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } - if yyj4682 < len(yyv4682) { - yyv4682 = yyv4682[:yyj4682] - yyc4682 = true - } else if yyj4682 == 0 && yyv4682 == nil { - yyv4682 = []PodTemplate{} - yyc4682 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []PodTemplate{} + yyc1 = true } } - yyh4682.End() - if yyc4682 { - *v = yyv4682 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -59362,10 +63949,10 @@ func (x codecSelfer1234) encSliceReplicationControllerCondition(v []ReplicationC z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4686 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4687 := &yyv4686 - yy4687.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59375,83 +63962,86 @@ func (x codecSelfer1234) decSliceReplicationControllerCondition(v *[]Replication z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4688 := *v - yyh4688, yyl4688 := z.DecSliceHelperStart() - var yyc4688 bool - if yyl4688 == 0 { - if yyv4688 == nil { - yyv4688 = []ReplicationControllerCondition{} - yyc4688 = true - } else if len(yyv4688) != 0 { - yyv4688 = yyv4688[:0] - yyc4688 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ReplicationControllerCondition{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4688 > 0 { - var yyrr4688, yyrl4688 int - var yyrt4688 bool - if yyl4688 > cap(yyv4688) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4688 := len(yyv4688) > 0 - yyv24688 := yyv4688 - yyrl4688, yyrt4688 = z.DecInferLen(yyl4688, z.DecBasicHandle().MaxInitLen, 88) - if yyrt4688 { - if yyrl4688 <= cap(yyv4688) { - yyv4688 = yyv4688[:yyrl4688] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 88) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4688 = make([]ReplicationControllerCondition, yyrl4688) + yyv1 = make([]ReplicationControllerCondition, yyrl1) } } else { - yyv4688 = make([]ReplicationControllerCondition, yyrl4688) + yyv1 = make([]ReplicationControllerCondition, yyrl1) } - yyc4688 = true - yyrr4688 = len(yyv4688) - if yyrg4688 { - copy(yyv4688, yyv24688) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4688 != len(yyv4688) { - yyv4688 = yyv4688[:yyl4688] - yyc4688 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4688 := 0 - for ; yyj4688 < yyrr4688; yyj4688++ { - yyh4688.ElemContainerState(yyj4688) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4688[yyj4688] = ReplicationControllerCondition{} + yyv1[yyj1] = ReplicationControllerCondition{} } else { - yyv4689 := &yyv4688[yyj4688] - yyv4689.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4688 { - for ; yyj4688 < yyl4688; yyj4688++ { - yyv4688 = append(yyv4688, ReplicationControllerCondition{}) - yyh4688.ElemContainerState(yyj4688) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ReplicationControllerCondition{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4688[yyj4688] = ReplicationControllerCondition{} + yyv1[yyj1] = ReplicationControllerCondition{} } else { - yyv4690 := &yyv4688[yyj4688] - yyv4690.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4688 := 0 - for ; !r.CheckBreak(); yyj4688++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4688 >= len(yyv4688) { - yyv4688 = append(yyv4688, ReplicationControllerCondition{}) // var yyz4688 ReplicationControllerCondition - yyc4688 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ReplicationControllerCondition{}) // var yyz1 ReplicationControllerCondition + yyc1 = true } - yyh4688.ElemContainerState(yyj4688) - if yyj4688 < len(yyv4688) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4688[yyj4688] = ReplicationControllerCondition{} + yyv1[yyj1] = ReplicationControllerCondition{} } else { - yyv4691 := &yyv4688[yyj4688] - yyv4691.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -59459,17 +64049,17 @@ func (x codecSelfer1234) decSliceReplicationControllerCondition(v *[]Replication } } - if yyj4688 < len(yyv4688) { - yyv4688 = yyv4688[:yyj4688] - yyc4688 = true - } else if yyj4688 == 0 && yyv4688 == nil { - yyv4688 = []ReplicationControllerCondition{} - yyc4688 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ReplicationControllerCondition{} + yyc1 = true } } - yyh4688.End() - if yyc4688 { - *v = yyv4688 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -59478,10 +64068,10 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4692 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4693 := &yyv4692 - yy4693.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59491,83 +64081,86 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4694 := *v - yyh4694, yyl4694 := z.DecSliceHelperStart() - var yyc4694 bool - if yyl4694 == 0 { - if yyv4694 == nil { - yyv4694 = []ReplicationController{} - yyc4694 = true - } else if len(yyv4694) != 0 { - yyv4694 = yyv4694[:0] - yyc4694 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ReplicationController{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4694 > 0 { - var yyrr4694, yyrl4694 int - var yyrt4694 bool - if yyl4694 > cap(yyv4694) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4694 := len(yyv4694) > 0 - yyv24694 := yyv4694 - yyrl4694, yyrt4694 = z.DecInferLen(yyl4694, z.DecBasicHandle().MaxInitLen, 336) - if yyrt4694 { - if yyrl4694 <= cap(yyv4694) { - yyv4694 = yyv4694[:yyrl4694] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 336) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4694 = make([]ReplicationController, yyrl4694) + yyv1 = make([]ReplicationController, yyrl1) } } else { - yyv4694 = make([]ReplicationController, yyrl4694) + yyv1 = make([]ReplicationController, yyrl1) } - yyc4694 = true - yyrr4694 = len(yyv4694) - if yyrg4694 { - copy(yyv4694, yyv24694) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4694 != len(yyv4694) { - yyv4694 = yyv4694[:yyl4694] - yyc4694 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4694 := 0 - for ; yyj4694 < yyrr4694; yyj4694++ { - yyh4694.ElemContainerState(yyj4694) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4694[yyj4694] = ReplicationController{} + yyv1[yyj1] = ReplicationController{} } else { - yyv4695 := &yyv4694[yyj4694] - yyv4695.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4694 { - for ; yyj4694 < yyl4694; yyj4694++ { - yyv4694 = append(yyv4694, ReplicationController{}) - yyh4694.ElemContainerState(yyj4694) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ReplicationController{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4694[yyj4694] = ReplicationController{} + yyv1[yyj1] = ReplicationController{} } else { - yyv4696 := &yyv4694[yyj4694] - yyv4696.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4694 := 0 - for ; !r.CheckBreak(); yyj4694++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4694 >= len(yyv4694) { - yyv4694 = append(yyv4694, ReplicationController{}) // var yyz4694 ReplicationController - yyc4694 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ReplicationController{}) // var yyz1 ReplicationController + yyc1 = true } - yyh4694.ElemContainerState(yyj4694) - if yyj4694 < len(yyv4694) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4694[yyj4694] = ReplicationController{} + yyv1[yyj1] = ReplicationController{} } else { - yyv4697 := &yyv4694[yyj4694] - yyv4697.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -59575,17 +64168,17 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } - if yyj4694 < len(yyv4694) { - yyv4694 = yyv4694[:yyj4694] - yyc4694 = true - } else if yyj4694 == 0 && yyv4694 == nil { - yyv4694 = []ReplicationController{} - yyc4694 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ReplicationController{} + yyc1 = true } } - yyh4694.End() - if yyc4694 { - *v = yyv4694 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -59594,10 +64187,10 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4698 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4699 := &yyv4698 - yy4699.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59607,83 +64200,86 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4700 := *v - yyh4700, yyl4700 := z.DecSliceHelperStart() - var yyc4700 bool - if yyl4700 == 0 { - if yyv4700 == nil { - yyv4700 = []LoadBalancerIngress{} - yyc4700 = true - } else if len(yyv4700) != 0 { - yyv4700 = yyv4700[:0] - yyc4700 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []LoadBalancerIngress{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4700 > 0 { - var yyrr4700, yyrl4700 int - var yyrt4700 bool - if yyl4700 > cap(yyv4700) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4700 := len(yyv4700) > 0 - yyv24700 := yyv4700 - yyrl4700, yyrt4700 = z.DecInferLen(yyl4700, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4700 { - if yyrl4700 <= cap(yyv4700) { - yyv4700 = yyv4700[:yyrl4700] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4700 = make([]LoadBalancerIngress, yyrl4700) + yyv1 = make([]LoadBalancerIngress, yyrl1) } } else { - yyv4700 = make([]LoadBalancerIngress, yyrl4700) + yyv1 = make([]LoadBalancerIngress, yyrl1) } - yyc4700 = true - yyrr4700 = len(yyv4700) - if yyrg4700 { - copy(yyv4700, yyv24700) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4700 != len(yyv4700) { - yyv4700 = yyv4700[:yyl4700] - yyc4700 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4700 := 0 - for ; yyj4700 < yyrr4700; yyj4700++ { - yyh4700.ElemContainerState(yyj4700) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4700[yyj4700] = LoadBalancerIngress{} + yyv1[yyj1] = LoadBalancerIngress{} } else { - yyv4701 := &yyv4700[yyj4700] - yyv4701.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4700 { - for ; yyj4700 < yyl4700; yyj4700++ { - yyv4700 = append(yyv4700, LoadBalancerIngress{}) - yyh4700.ElemContainerState(yyj4700) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, LoadBalancerIngress{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4700[yyj4700] = LoadBalancerIngress{} + yyv1[yyj1] = LoadBalancerIngress{} } else { - yyv4702 := &yyv4700[yyj4700] - yyv4702.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4700 := 0 - for ; !r.CheckBreak(); yyj4700++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4700 >= len(yyv4700) { - yyv4700 = append(yyv4700, LoadBalancerIngress{}) // var yyz4700 LoadBalancerIngress - yyc4700 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, LoadBalancerIngress{}) // var yyz1 LoadBalancerIngress + yyc1 = true } - yyh4700.ElemContainerState(yyj4700) - if yyj4700 < len(yyv4700) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4700[yyj4700] = LoadBalancerIngress{} + yyv1[yyj1] = LoadBalancerIngress{} } else { - yyv4703 := &yyv4700[yyj4700] - yyv4703.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -59691,17 +64287,17 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } - if yyj4700 < len(yyv4700) { - yyv4700 = yyv4700[:yyj4700] - yyc4700 = true - } else if yyj4700 == 0 && yyv4700 == nil { - yyv4700 = []LoadBalancerIngress{} - yyc4700 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []LoadBalancerIngress{} + yyc1 = true } } - yyh4700.End() - if yyc4700 { - *v = yyv4700 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -59710,10 +64306,10 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4704 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4705 := &yyv4704 - yy4705.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59723,83 +64319,86 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4706 := *v - yyh4706, yyl4706 := z.DecSliceHelperStart() - var yyc4706 bool - if yyl4706 == 0 { - if yyv4706 == nil { - yyv4706 = []ServicePort{} - yyc4706 = true - } else if len(yyv4706) != 0 { - yyv4706 = yyv4706[:0] - yyc4706 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ServicePort{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4706 > 0 { - var yyrr4706, yyrl4706 int - var yyrt4706 bool - if yyl4706 > cap(yyv4706) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4706 := len(yyv4706) > 0 - yyv24706 := yyv4706 - yyrl4706, yyrt4706 = z.DecInferLen(yyl4706, z.DecBasicHandle().MaxInitLen, 80) - if yyrt4706 { - if yyrl4706 <= cap(yyv4706) { - yyv4706 = yyv4706[:yyrl4706] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 80) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4706 = make([]ServicePort, yyrl4706) + yyv1 = make([]ServicePort, yyrl1) } } else { - yyv4706 = make([]ServicePort, yyrl4706) + yyv1 = make([]ServicePort, yyrl1) } - yyc4706 = true - yyrr4706 = len(yyv4706) - if yyrg4706 { - copy(yyv4706, yyv24706) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4706 != len(yyv4706) { - yyv4706 = yyv4706[:yyl4706] - yyc4706 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4706 := 0 - for ; yyj4706 < yyrr4706; yyj4706++ { - yyh4706.ElemContainerState(yyj4706) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4706[yyj4706] = ServicePort{} + yyv1[yyj1] = ServicePort{} } else { - yyv4707 := &yyv4706[yyj4706] - yyv4707.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4706 { - for ; yyj4706 < yyl4706; yyj4706++ { - yyv4706 = append(yyv4706, ServicePort{}) - yyh4706.ElemContainerState(yyj4706) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ServicePort{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4706[yyj4706] = ServicePort{} + yyv1[yyj1] = ServicePort{} } else { - yyv4708 := &yyv4706[yyj4706] - yyv4708.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4706 := 0 - for ; !r.CheckBreak(); yyj4706++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4706 >= len(yyv4706) { - yyv4706 = append(yyv4706, ServicePort{}) // var yyz4706 ServicePort - yyc4706 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ServicePort{}) // var yyz1 ServicePort + yyc1 = true } - yyh4706.ElemContainerState(yyj4706) - if yyj4706 < len(yyv4706) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4706[yyj4706] = ServicePort{} + yyv1[yyj1] = ServicePort{} } else { - yyv4709 := &yyv4706[yyj4706] - yyv4709.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -59807,17 +64406,17 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } - if yyj4706 < len(yyv4706) { - yyv4706 = yyv4706[:yyj4706] - yyc4706 = true - } else if yyj4706 == 0 && yyv4706 == nil { - yyv4706 = []ServicePort{} - yyc4706 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ServicePort{} + yyc1 = true } } - yyh4706.End() - if yyc4706 { - *v = yyv4706 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -59826,10 +64425,10 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4710 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4711 := &yyv4710 - yy4711.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59839,83 +64438,86 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4712 := *v - yyh4712, yyl4712 := z.DecSliceHelperStart() - var yyc4712 bool - if yyl4712 == 0 { - if yyv4712 == nil { - yyv4712 = []Service{} - yyc4712 = true - } else if len(yyv4712) != 0 { - yyv4712 = yyv4712[:0] - yyc4712 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Service{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4712 > 0 { - var yyrr4712, yyrl4712 int - var yyrt4712 bool - if yyl4712 > cap(yyv4712) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4712 := len(yyv4712) > 0 - yyv24712 := yyv4712 - yyrl4712, yyrt4712 = z.DecInferLen(yyl4712, z.DecBasicHandle().MaxInitLen, 464) - if yyrt4712 { - if yyrl4712 <= cap(yyv4712) { - yyv4712 = yyv4712[:yyrl4712] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 464) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4712 = make([]Service, yyrl4712) + yyv1 = make([]Service, yyrl1) } } else { - yyv4712 = make([]Service, yyrl4712) + yyv1 = make([]Service, yyrl1) } - yyc4712 = true - yyrr4712 = len(yyv4712) - if yyrg4712 { - copy(yyv4712, yyv24712) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4712 != len(yyv4712) { - yyv4712 = yyv4712[:yyl4712] - yyc4712 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4712 := 0 - for ; yyj4712 < yyrr4712; yyj4712++ { - yyh4712.ElemContainerState(yyj4712) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4712[yyj4712] = Service{} + yyv1[yyj1] = Service{} } else { - yyv4713 := &yyv4712[yyj4712] - yyv4713.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4712 { - for ; yyj4712 < yyl4712; yyj4712++ { - yyv4712 = append(yyv4712, Service{}) - yyh4712.ElemContainerState(yyj4712) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Service{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4712[yyj4712] = Service{} + yyv1[yyj1] = Service{} } else { - yyv4714 := &yyv4712[yyj4712] - yyv4714.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4712 := 0 - for ; !r.CheckBreak(); yyj4712++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4712 >= len(yyv4712) { - yyv4712 = append(yyv4712, Service{}) // var yyz4712 Service - yyc4712 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Service{}) // var yyz1 Service + yyc1 = true } - yyh4712.ElemContainerState(yyj4712) - if yyj4712 < len(yyv4712) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4712[yyj4712] = Service{} + yyv1[yyj1] = Service{} } else { - yyv4715 := &yyv4712[yyj4712] - yyv4715.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -59923,17 +64525,17 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } - if yyj4712 < len(yyv4712) { - yyv4712 = yyv4712[:yyj4712] - yyc4712 = true - } else if yyj4712 == 0 && yyv4712 == nil { - yyv4712 = []Service{} - yyc4712 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Service{} + yyc1 = true } } - yyh4712.End() - if yyc4712 { - *v = yyv4712 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -59942,10 +64544,10 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4716 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4717 := &yyv4716 - yy4717.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59955,83 +64557,86 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4718 := *v - yyh4718, yyl4718 := z.DecSliceHelperStart() - var yyc4718 bool - if yyl4718 == 0 { - if yyv4718 == nil { - yyv4718 = []ObjectReference{} - yyc4718 = true - } else if len(yyv4718) != 0 { - yyv4718 = yyv4718[:0] - yyc4718 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ObjectReference{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4718 > 0 { - var yyrr4718, yyrl4718 int - var yyrt4718 bool - if yyl4718 > cap(yyv4718) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4718 := len(yyv4718) > 0 - yyv24718 := yyv4718 - yyrl4718, yyrt4718 = z.DecInferLen(yyl4718, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4718 { - if yyrl4718 <= cap(yyv4718) { - yyv4718 = yyv4718[:yyrl4718] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4718 = make([]ObjectReference, yyrl4718) + yyv1 = make([]ObjectReference, yyrl1) } } else { - yyv4718 = make([]ObjectReference, yyrl4718) + yyv1 = make([]ObjectReference, yyrl1) } - yyc4718 = true - yyrr4718 = len(yyv4718) - if yyrg4718 { - copy(yyv4718, yyv24718) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4718 != len(yyv4718) { - yyv4718 = yyv4718[:yyl4718] - yyc4718 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4718 := 0 - for ; yyj4718 < yyrr4718; yyj4718++ { - yyh4718.ElemContainerState(yyj4718) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4718[yyj4718] = ObjectReference{} + yyv1[yyj1] = ObjectReference{} } else { - yyv4719 := &yyv4718[yyj4718] - yyv4719.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4718 { - for ; yyj4718 < yyl4718; yyj4718++ { - yyv4718 = append(yyv4718, ObjectReference{}) - yyh4718.ElemContainerState(yyj4718) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ObjectReference{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4718[yyj4718] = ObjectReference{} + yyv1[yyj1] = ObjectReference{} } else { - yyv4720 := &yyv4718[yyj4718] - yyv4720.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4718 := 0 - for ; !r.CheckBreak(); yyj4718++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4718 >= len(yyv4718) { - yyv4718 = append(yyv4718, ObjectReference{}) // var yyz4718 ObjectReference - yyc4718 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ObjectReference{}) // var yyz1 ObjectReference + yyc1 = true } - yyh4718.ElemContainerState(yyj4718) - if yyj4718 < len(yyv4718) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4718[yyj4718] = ObjectReference{} + yyv1[yyj1] = ObjectReference{} } else { - yyv4721 := &yyv4718[yyj4718] - yyv4721.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -60039,17 +64644,17 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } - if yyj4718 < len(yyv4718) { - yyv4718 = yyv4718[:yyj4718] - yyc4718 = true - } else if yyj4718 == 0 && yyv4718 == nil { - yyv4718 = []ObjectReference{} - yyc4718 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ObjectReference{} + yyc1 = true } } - yyh4718.End() - if yyc4718 { - *v = yyv4718 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -60058,10 +64663,10 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4722 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4723 := &yyv4722 - yy4723.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60071,83 +64676,86 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4724 := *v - yyh4724, yyl4724 := z.DecSliceHelperStart() - var yyc4724 bool - if yyl4724 == 0 { - if yyv4724 == nil { - yyv4724 = []ServiceAccount{} - yyc4724 = true - } else if len(yyv4724) != 0 { - yyv4724 = yyv4724[:0] - yyc4724 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ServiceAccount{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4724 > 0 { - var yyrr4724, yyrl4724 int - var yyrt4724 bool - if yyl4724 > cap(yyv4724) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4724 := len(yyv4724) > 0 - yyv24724 := yyv4724 - yyrl4724, yyrt4724 = z.DecInferLen(yyl4724, z.DecBasicHandle().MaxInitLen, 304) - if yyrt4724 { - if yyrl4724 <= cap(yyv4724) { - yyv4724 = yyv4724[:yyrl4724] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 304) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4724 = make([]ServiceAccount, yyrl4724) + yyv1 = make([]ServiceAccount, yyrl1) } } else { - yyv4724 = make([]ServiceAccount, yyrl4724) + yyv1 = make([]ServiceAccount, yyrl1) } - yyc4724 = true - yyrr4724 = len(yyv4724) - if yyrg4724 { - copy(yyv4724, yyv24724) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4724 != len(yyv4724) { - yyv4724 = yyv4724[:yyl4724] - yyc4724 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4724 := 0 - for ; yyj4724 < yyrr4724; yyj4724++ { - yyh4724.ElemContainerState(yyj4724) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4724[yyj4724] = ServiceAccount{} + yyv1[yyj1] = ServiceAccount{} } else { - yyv4725 := &yyv4724[yyj4724] - yyv4725.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4724 { - for ; yyj4724 < yyl4724; yyj4724++ { - yyv4724 = append(yyv4724, ServiceAccount{}) - yyh4724.ElemContainerState(yyj4724) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ServiceAccount{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4724[yyj4724] = ServiceAccount{} + yyv1[yyj1] = ServiceAccount{} } else { - yyv4726 := &yyv4724[yyj4724] - yyv4726.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4724 := 0 - for ; !r.CheckBreak(); yyj4724++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4724 >= len(yyv4724) { - yyv4724 = append(yyv4724, ServiceAccount{}) // var yyz4724 ServiceAccount - yyc4724 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ServiceAccount{}) // var yyz1 ServiceAccount + yyc1 = true } - yyh4724.ElemContainerState(yyj4724) - if yyj4724 < len(yyv4724) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4724[yyj4724] = ServiceAccount{} + yyv1[yyj1] = ServiceAccount{} } else { - yyv4727 := &yyv4724[yyj4724] - yyv4727.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -60155,17 +64763,17 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } - if yyj4724 < len(yyv4724) { - yyv4724 = yyv4724[:yyj4724] - yyc4724 = true - } else if yyj4724 == 0 && yyv4724 == nil { - yyv4724 = []ServiceAccount{} - yyc4724 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ServiceAccount{} + yyc1 = true } } - yyh4724.End() - if yyc4724 { - *v = yyv4724 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -60174,10 +64782,10 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4728 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4729 := &yyv4728 - yy4729.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60187,83 +64795,86 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4730 := *v - yyh4730, yyl4730 := z.DecSliceHelperStart() - var yyc4730 bool - if yyl4730 == 0 { - if yyv4730 == nil { - yyv4730 = []EndpointSubset{} - yyc4730 = true - } else if len(yyv4730) != 0 { - yyv4730 = yyv4730[:0] - yyc4730 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []EndpointSubset{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4730 > 0 { - var yyrr4730, yyrl4730 int - var yyrt4730 bool - if yyl4730 > cap(yyv4730) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4730 := len(yyv4730) > 0 - yyv24730 := yyv4730 - yyrl4730, yyrt4730 = z.DecInferLen(yyl4730, z.DecBasicHandle().MaxInitLen, 72) - if yyrt4730 { - if yyrl4730 <= cap(yyv4730) { - yyv4730 = yyv4730[:yyrl4730] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4730 = make([]EndpointSubset, yyrl4730) + yyv1 = make([]EndpointSubset, yyrl1) } } else { - yyv4730 = make([]EndpointSubset, yyrl4730) + yyv1 = make([]EndpointSubset, yyrl1) } - yyc4730 = true - yyrr4730 = len(yyv4730) - if yyrg4730 { - copy(yyv4730, yyv24730) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4730 != len(yyv4730) { - yyv4730 = yyv4730[:yyl4730] - yyc4730 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4730 := 0 - for ; yyj4730 < yyrr4730; yyj4730++ { - yyh4730.ElemContainerState(yyj4730) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4730[yyj4730] = EndpointSubset{} + yyv1[yyj1] = EndpointSubset{} } else { - yyv4731 := &yyv4730[yyj4730] - yyv4731.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4730 { - for ; yyj4730 < yyl4730; yyj4730++ { - yyv4730 = append(yyv4730, EndpointSubset{}) - yyh4730.ElemContainerState(yyj4730) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, EndpointSubset{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4730[yyj4730] = EndpointSubset{} + yyv1[yyj1] = EndpointSubset{} } else { - yyv4732 := &yyv4730[yyj4730] - yyv4732.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4730 := 0 - for ; !r.CheckBreak(); yyj4730++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4730 >= len(yyv4730) { - yyv4730 = append(yyv4730, EndpointSubset{}) // var yyz4730 EndpointSubset - yyc4730 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, EndpointSubset{}) // var yyz1 EndpointSubset + yyc1 = true } - yyh4730.ElemContainerState(yyj4730) - if yyj4730 < len(yyv4730) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4730[yyj4730] = EndpointSubset{} + yyv1[yyj1] = EndpointSubset{} } else { - yyv4733 := &yyv4730[yyj4730] - yyv4733.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -60271,17 +64882,17 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } - if yyj4730 < len(yyv4730) { - yyv4730 = yyv4730[:yyj4730] - yyc4730 = true - } else if yyj4730 == 0 && yyv4730 == nil { - yyv4730 = []EndpointSubset{} - yyc4730 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []EndpointSubset{} + yyc1 = true } } - yyh4730.End() - if yyc4730 { - *v = yyv4730 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -60290,10 +64901,10 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4734 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4735 := &yyv4734 - yy4735.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60303,83 +64914,86 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4736 := *v - yyh4736, yyl4736 := z.DecSliceHelperStart() - var yyc4736 bool - if yyl4736 == 0 { - if yyv4736 == nil { - yyv4736 = []EndpointAddress{} - yyc4736 = true - } else if len(yyv4736) != 0 { - yyv4736 = yyv4736[:0] - yyc4736 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []EndpointAddress{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4736 > 0 { - var yyrr4736, yyrl4736 int - var yyrt4736 bool - if yyl4736 > cap(yyv4736) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4736 := len(yyv4736) > 0 - yyv24736 := yyv4736 - yyrl4736, yyrt4736 = z.DecInferLen(yyl4736, z.DecBasicHandle().MaxInitLen, 48) - if yyrt4736 { - if yyrl4736 <= cap(yyv4736) { - yyv4736 = yyv4736[:yyrl4736] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 48) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4736 = make([]EndpointAddress, yyrl4736) + yyv1 = make([]EndpointAddress, yyrl1) } } else { - yyv4736 = make([]EndpointAddress, yyrl4736) + yyv1 = make([]EndpointAddress, yyrl1) } - yyc4736 = true - yyrr4736 = len(yyv4736) - if yyrg4736 { - copy(yyv4736, yyv24736) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4736 != len(yyv4736) { - yyv4736 = yyv4736[:yyl4736] - yyc4736 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4736 := 0 - for ; yyj4736 < yyrr4736; yyj4736++ { - yyh4736.ElemContainerState(yyj4736) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4736[yyj4736] = EndpointAddress{} + yyv1[yyj1] = EndpointAddress{} } else { - yyv4737 := &yyv4736[yyj4736] - yyv4737.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4736 { - for ; yyj4736 < yyl4736; yyj4736++ { - yyv4736 = append(yyv4736, EndpointAddress{}) - yyh4736.ElemContainerState(yyj4736) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, EndpointAddress{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4736[yyj4736] = EndpointAddress{} + yyv1[yyj1] = EndpointAddress{} } else { - yyv4738 := &yyv4736[yyj4736] - yyv4738.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4736 := 0 - for ; !r.CheckBreak(); yyj4736++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4736 >= len(yyv4736) { - yyv4736 = append(yyv4736, EndpointAddress{}) // var yyz4736 EndpointAddress - yyc4736 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, EndpointAddress{}) // var yyz1 EndpointAddress + yyc1 = true } - yyh4736.ElemContainerState(yyj4736) - if yyj4736 < len(yyv4736) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4736[yyj4736] = EndpointAddress{} + yyv1[yyj1] = EndpointAddress{} } else { - yyv4739 := &yyv4736[yyj4736] - yyv4739.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -60387,17 +65001,17 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } - if yyj4736 < len(yyv4736) { - yyv4736 = yyv4736[:yyj4736] - yyc4736 = true - } else if yyj4736 == 0 && yyv4736 == nil { - yyv4736 = []EndpointAddress{} - yyc4736 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []EndpointAddress{} + yyc1 = true } } - yyh4736.End() - if yyc4736 { - *v = yyv4736 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -60406,10 +65020,10 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4740 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4741 := &yyv4740 - yy4741.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60419,83 +65033,86 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4742 := *v - yyh4742, yyl4742 := z.DecSliceHelperStart() - var yyc4742 bool - if yyl4742 == 0 { - if yyv4742 == nil { - yyv4742 = []EndpointPort{} - yyc4742 = true - } else if len(yyv4742) != 0 { - yyv4742 = yyv4742[:0] - yyc4742 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []EndpointPort{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4742 > 0 { - var yyrr4742, yyrl4742 int - var yyrt4742 bool - if yyl4742 > cap(yyv4742) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4742 := len(yyv4742) > 0 - yyv24742 := yyv4742 - yyrl4742, yyrt4742 = z.DecInferLen(yyl4742, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4742 { - if yyrl4742 <= cap(yyv4742) { - yyv4742 = yyv4742[:yyrl4742] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4742 = make([]EndpointPort, yyrl4742) + yyv1 = make([]EndpointPort, yyrl1) } } else { - yyv4742 = make([]EndpointPort, yyrl4742) + yyv1 = make([]EndpointPort, yyrl1) } - yyc4742 = true - yyrr4742 = len(yyv4742) - if yyrg4742 { - copy(yyv4742, yyv24742) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4742 != len(yyv4742) { - yyv4742 = yyv4742[:yyl4742] - yyc4742 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4742 := 0 - for ; yyj4742 < yyrr4742; yyj4742++ { - yyh4742.ElemContainerState(yyj4742) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4742[yyj4742] = EndpointPort{} + yyv1[yyj1] = EndpointPort{} } else { - yyv4743 := &yyv4742[yyj4742] - yyv4743.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4742 { - for ; yyj4742 < yyl4742; yyj4742++ { - yyv4742 = append(yyv4742, EndpointPort{}) - yyh4742.ElemContainerState(yyj4742) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, EndpointPort{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4742[yyj4742] = EndpointPort{} + yyv1[yyj1] = EndpointPort{} } else { - yyv4744 := &yyv4742[yyj4742] - yyv4744.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4742 := 0 - for ; !r.CheckBreak(); yyj4742++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4742 >= len(yyv4742) { - yyv4742 = append(yyv4742, EndpointPort{}) // var yyz4742 EndpointPort - yyc4742 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, EndpointPort{}) // var yyz1 EndpointPort + yyc1 = true } - yyh4742.ElemContainerState(yyj4742) - if yyj4742 < len(yyv4742) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4742[yyj4742] = EndpointPort{} + yyv1[yyj1] = EndpointPort{} } else { - yyv4745 := &yyv4742[yyj4742] - yyv4745.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -60503,17 +65120,17 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } - if yyj4742 < len(yyv4742) { - yyv4742 = yyv4742[:yyj4742] - yyc4742 = true - } else if yyj4742 == 0 && yyv4742 == nil { - yyv4742 = []EndpointPort{} - yyc4742 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []EndpointPort{} + yyc1 = true } } - yyh4742.End() - if yyc4742 { - *v = yyv4742 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -60522,10 +65139,10 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4746 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4747 := &yyv4746 - yy4747.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60535,83 +65152,86 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4748 := *v - yyh4748, yyl4748 := z.DecSliceHelperStart() - var yyc4748 bool - if yyl4748 == 0 { - if yyv4748 == nil { - yyv4748 = []Endpoints{} - yyc4748 = true - } else if len(yyv4748) != 0 { - yyv4748 = yyv4748[:0] - yyc4748 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Endpoints{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4748 > 0 { - var yyrr4748, yyrl4748 int - var yyrt4748 bool - if yyl4748 > cap(yyv4748) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4748 := len(yyv4748) > 0 - yyv24748 := yyv4748 - yyrl4748, yyrt4748 = z.DecInferLen(yyl4748, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4748 { - if yyrl4748 <= cap(yyv4748) { - yyv4748 = yyv4748[:yyrl4748] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4748 = make([]Endpoints, yyrl4748) + yyv1 = make([]Endpoints, yyrl1) } } else { - yyv4748 = make([]Endpoints, yyrl4748) + yyv1 = make([]Endpoints, yyrl1) } - yyc4748 = true - yyrr4748 = len(yyv4748) - if yyrg4748 { - copy(yyv4748, yyv24748) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4748 != len(yyv4748) { - yyv4748 = yyv4748[:yyl4748] - yyc4748 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4748 := 0 - for ; yyj4748 < yyrr4748; yyj4748++ { - yyh4748.ElemContainerState(yyj4748) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4748[yyj4748] = Endpoints{} + yyv1[yyj1] = Endpoints{} } else { - yyv4749 := &yyv4748[yyj4748] - yyv4749.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4748 { - for ; yyj4748 < yyl4748; yyj4748++ { - yyv4748 = append(yyv4748, Endpoints{}) - yyh4748.ElemContainerState(yyj4748) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Endpoints{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4748[yyj4748] = Endpoints{} + yyv1[yyj1] = Endpoints{} } else { - yyv4750 := &yyv4748[yyj4748] - yyv4750.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4748 := 0 - for ; !r.CheckBreak(); yyj4748++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4748 >= len(yyv4748) { - yyv4748 = append(yyv4748, Endpoints{}) // var yyz4748 Endpoints - yyc4748 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Endpoints{}) // var yyz1 Endpoints + yyc1 = true } - yyh4748.ElemContainerState(yyj4748) - if yyj4748 < len(yyv4748) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4748[yyj4748] = Endpoints{} + yyv1[yyj1] = Endpoints{} } else { - yyv4751 := &yyv4748[yyj4748] - yyv4751.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -60619,17 +65239,17 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } - if yyj4748 < len(yyv4748) { - yyv4748 = yyv4748[:yyj4748] - yyc4748 = true - } else if yyj4748 == 0 && yyv4748 == nil { - yyv4748 = []Endpoints{} - yyc4748 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Endpoints{} + yyc1 = true } } - yyh4748.End() - if yyc4748 { - *v = yyv4748 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -60638,10 +65258,10 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4752 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4753 := &yyv4752 - yy4753.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60651,83 +65271,86 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4754 := *v - yyh4754, yyl4754 := z.DecSliceHelperStart() - var yyc4754 bool - if yyl4754 == 0 { - if yyv4754 == nil { - yyv4754 = []NodeCondition{} - yyc4754 = true - } else if len(yyv4754) != 0 { - yyv4754 = yyv4754[:0] - yyc4754 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []NodeCondition{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4754 > 0 { - var yyrr4754, yyrl4754 int - var yyrt4754 bool - if yyl4754 > cap(yyv4754) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4754 := len(yyv4754) > 0 - yyv24754 := yyv4754 - yyrl4754, yyrt4754 = z.DecInferLen(yyl4754, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4754 { - if yyrl4754 <= cap(yyv4754) { - yyv4754 = yyv4754[:yyrl4754] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4754 = make([]NodeCondition, yyrl4754) + yyv1 = make([]NodeCondition, yyrl1) } } else { - yyv4754 = make([]NodeCondition, yyrl4754) + yyv1 = make([]NodeCondition, yyrl1) } - yyc4754 = true - yyrr4754 = len(yyv4754) - if yyrg4754 { - copy(yyv4754, yyv24754) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4754 != len(yyv4754) { - yyv4754 = yyv4754[:yyl4754] - yyc4754 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4754 := 0 - for ; yyj4754 < yyrr4754; yyj4754++ { - yyh4754.ElemContainerState(yyj4754) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4754[yyj4754] = NodeCondition{} + yyv1[yyj1] = NodeCondition{} } else { - yyv4755 := &yyv4754[yyj4754] - yyv4755.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4754 { - for ; yyj4754 < yyl4754; yyj4754++ { - yyv4754 = append(yyv4754, NodeCondition{}) - yyh4754.ElemContainerState(yyj4754) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, NodeCondition{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4754[yyj4754] = NodeCondition{} + yyv1[yyj1] = NodeCondition{} } else { - yyv4756 := &yyv4754[yyj4754] - yyv4756.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4754 := 0 - for ; !r.CheckBreak(); yyj4754++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4754 >= len(yyv4754) { - yyv4754 = append(yyv4754, NodeCondition{}) // var yyz4754 NodeCondition - yyc4754 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, NodeCondition{}) // var yyz1 NodeCondition + yyc1 = true } - yyh4754.ElemContainerState(yyj4754) - if yyj4754 < len(yyv4754) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4754[yyj4754] = NodeCondition{} + yyv1[yyj1] = NodeCondition{} } else { - yyv4757 := &yyv4754[yyj4754] - yyv4757.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -60735,17 +65358,17 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } } - if yyj4754 < len(yyv4754) { - yyv4754 = yyv4754[:yyj4754] - yyc4754 = true - } else if yyj4754 == 0 && yyv4754 == nil { - yyv4754 = []NodeCondition{} - yyc4754 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []NodeCondition{} + yyc1 = true } } - yyh4754.End() - if yyc4754 { - *v = yyv4754 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -60754,10 +65377,10 @@ func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4758 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4759 := &yyv4758 - yy4759.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60767,83 +65390,86 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4760 := *v - yyh4760, yyl4760 := z.DecSliceHelperStart() - var yyc4760 bool - if yyl4760 == 0 { - if yyv4760 == nil { - yyv4760 = []NodeAddress{} - yyc4760 = true - } else if len(yyv4760) != 0 { - yyv4760 = yyv4760[:0] - yyc4760 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []NodeAddress{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4760 > 0 { - var yyrr4760, yyrl4760 int - var yyrt4760 bool - if yyl4760 > cap(yyv4760) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4760 := len(yyv4760) > 0 - yyv24760 := yyv4760 - yyrl4760, yyrt4760 = z.DecInferLen(yyl4760, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4760 { - if yyrl4760 <= cap(yyv4760) { - yyv4760 = yyv4760[:yyrl4760] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4760 = make([]NodeAddress, yyrl4760) + yyv1 = make([]NodeAddress, yyrl1) } } else { - yyv4760 = make([]NodeAddress, yyrl4760) + yyv1 = make([]NodeAddress, yyrl1) } - yyc4760 = true - yyrr4760 = len(yyv4760) - if yyrg4760 { - copy(yyv4760, yyv24760) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4760 != len(yyv4760) { - yyv4760 = yyv4760[:yyl4760] - yyc4760 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4760 := 0 - for ; yyj4760 < yyrr4760; yyj4760++ { - yyh4760.ElemContainerState(yyj4760) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4760[yyj4760] = NodeAddress{} + yyv1[yyj1] = NodeAddress{} } else { - yyv4761 := &yyv4760[yyj4760] - yyv4761.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4760 { - for ; yyj4760 < yyl4760; yyj4760++ { - yyv4760 = append(yyv4760, NodeAddress{}) - yyh4760.ElemContainerState(yyj4760) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, NodeAddress{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4760[yyj4760] = NodeAddress{} + yyv1[yyj1] = NodeAddress{} } else { - yyv4762 := &yyv4760[yyj4760] - yyv4762.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4760 := 0 - for ; !r.CheckBreak(); yyj4760++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4760 >= len(yyv4760) { - yyv4760 = append(yyv4760, NodeAddress{}) // var yyz4760 NodeAddress - yyc4760 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, NodeAddress{}) // var yyz1 NodeAddress + yyc1 = true } - yyh4760.ElemContainerState(yyj4760) - if yyj4760 < len(yyv4760) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4760[yyj4760] = NodeAddress{} + yyv1[yyj1] = NodeAddress{} } else { - yyv4763 := &yyv4760[yyj4760] - yyv4763.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -60851,17 +65477,17 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } } - if yyj4760 < len(yyv4760) { - yyv4760 = yyv4760[:yyj4760] - yyc4760 = true - } else if yyj4760 == 0 && yyv4760 == nil { - yyv4760 = []NodeAddress{} - yyc4760 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []NodeAddress{} + yyc1 = true } } - yyh4760.End() - if yyc4760 { - *v = yyv4760 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -60870,10 +65496,10 @@ func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4764 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4765 := &yyv4764 - yy4765.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60883,83 +65509,86 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4766 := *v - yyh4766, yyl4766 := z.DecSliceHelperStart() - var yyc4766 bool - if yyl4766 == 0 { - if yyv4766 == nil { - yyv4766 = []ContainerImage{} - yyc4766 = true - } else if len(yyv4766) != 0 { - yyv4766 = yyv4766[:0] - yyc4766 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ContainerImage{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4766 > 0 { - var yyrr4766, yyrl4766 int - var yyrt4766 bool - if yyl4766 > cap(yyv4766) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4766 := len(yyv4766) > 0 - yyv24766 := yyv4766 - yyrl4766, yyrt4766 = z.DecInferLen(yyl4766, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4766 { - if yyrl4766 <= cap(yyv4766) { - yyv4766 = yyv4766[:yyrl4766] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4766 = make([]ContainerImage, yyrl4766) + yyv1 = make([]ContainerImage, yyrl1) } } else { - yyv4766 = make([]ContainerImage, yyrl4766) + yyv1 = make([]ContainerImage, yyrl1) } - yyc4766 = true - yyrr4766 = len(yyv4766) - if yyrg4766 { - copy(yyv4766, yyv24766) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4766 != len(yyv4766) { - yyv4766 = yyv4766[:yyl4766] - yyc4766 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4766 := 0 - for ; yyj4766 < yyrr4766; yyj4766++ { - yyh4766.ElemContainerState(yyj4766) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4766[yyj4766] = ContainerImage{} + yyv1[yyj1] = ContainerImage{} } else { - yyv4767 := &yyv4766[yyj4766] - yyv4767.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4766 { - for ; yyj4766 < yyl4766; yyj4766++ { - yyv4766 = append(yyv4766, ContainerImage{}) - yyh4766.ElemContainerState(yyj4766) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ContainerImage{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4766[yyj4766] = ContainerImage{} + yyv1[yyj1] = ContainerImage{} } else { - yyv4768 := &yyv4766[yyj4766] - yyv4768.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4766 := 0 - for ; !r.CheckBreak(); yyj4766++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4766 >= len(yyv4766) { - yyv4766 = append(yyv4766, ContainerImage{}) // var yyz4766 ContainerImage - yyc4766 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ContainerImage{}) // var yyz1 ContainerImage + yyc1 = true } - yyh4766.ElemContainerState(yyj4766) - if yyj4766 < len(yyv4766) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4766[yyj4766] = ContainerImage{} + yyv1[yyj1] = ContainerImage{} } else { - yyv4769 := &yyv4766[yyj4766] - yyv4769.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -60967,17 +65596,17 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 } } - if yyj4766 < len(yyv4766) { - yyv4766 = yyv4766[:yyj4766] - yyc4766 = true - } else if yyj4766 == 0 && yyv4766 == nil { - yyv4766 = []ContainerImage{} - yyc4766 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ContainerImage{} + yyc1 = true } } - yyh4766.End() - if yyc4766 { - *v = yyv4766 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -60986,9 +65615,9 @@ func (x codecSelfer1234) encSliceUniqueVolumeName(v []UniqueVolumeName, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4770 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4770.CodecEncodeSelf(e) + yyv1.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60998,75 +65627,81 @@ func (x codecSelfer1234) decSliceUniqueVolumeName(v *[]UniqueVolumeName, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4771 := *v - yyh4771, yyl4771 := z.DecSliceHelperStart() - var yyc4771 bool - if yyl4771 == 0 { - if yyv4771 == nil { - yyv4771 = []UniqueVolumeName{} - yyc4771 = true - } else if len(yyv4771) != 0 { - yyv4771 = yyv4771[:0] - yyc4771 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []UniqueVolumeName{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4771 > 0 { - var yyrr4771, yyrl4771 int - var yyrt4771 bool - if yyl4771 > cap(yyv4771) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrl4771, yyrt4771 = z.DecInferLen(yyl4771, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4771 { - if yyrl4771 <= cap(yyv4771) { - yyv4771 = yyv4771[:yyrl4771] + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4771 = make([]UniqueVolumeName, yyrl4771) + yyv1 = make([]UniqueVolumeName, yyrl1) } } else { - yyv4771 = make([]UniqueVolumeName, yyrl4771) + yyv1 = make([]UniqueVolumeName, yyrl1) } - yyc4771 = true - yyrr4771 = len(yyv4771) - } else if yyl4771 != len(yyv4771) { - yyv4771 = yyv4771[:yyl4771] - yyc4771 = true + yyc1 = true + yyrr1 = len(yyv1) + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4771 := 0 - for ; yyj4771 < yyrr4771; yyj4771++ { - yyh4771.ElemContainerState(yyj4771) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4771[yyj4771] = "" + yyv1[yyj1] = "" } else { - yyv4771[yyj4771] = UniqueVolumeName(r.DecodeString()) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4771 { - for ; yyj4771 < yyl4771; yyj4771++ { - yyv4771 = append(yyv4771, "") - yyh4771.ElemContainerState(yyj4771) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, "") + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4771[yyj4771] = "" + yyv1[yyj1] = "" } else { - yyv4771[yyj4771] = UniqueVolumeName(r.DecodeString()) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4771 := 0 - for ; !r.CheckBreak(); yyj4771++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4771 >= len(yyv4771) { - yyv4771 = append(yyv4771, "") // var yyz4771 UniqueVolumeName - yyc4771 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, "") // var yyz1 UniqueVolumeName + yyc1 = true } - yyh4771.ElemContainerState(yyj4771) - if yyj4771 < len(yyv4771) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4771[yyj4771] = "" + yyv1[yyj1] = "" } else { - yyv4771[yyj4771] = UniqueVolumeName(r.DecodeString()) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -61074,17 +65709,17 @@ func (x codecSelfer1234) decSliceUniqueVolumeName(v *[]UniqueVolumeName, d *code } } - if yyj4771 < len(yyv4771) { - yyv4771 = yyv4771[:yyj4771] - yyc4771 = true - } else if yyj4771 == 0 && yyv4771 == nil { - yyv4771 = []UniqueVolumeName{} - yyc4771 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []UniqueVolumeName{} + yyc1 = true } } - yyh4771.End() - if yyc4771 { - *v = yyv4771 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -61093,10 +65728,10 @@ func (x codecSelfer1234) encSliceAttachedVolume(v []AttachedVolume, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4775 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4776 := &yyv4775 - yy4776.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61106,83 +65741,86 @@ func (x codecSelfer1234) decSliceAttachedVolume(v *[]AttachedVolume, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4777 := *v - yyh4777, yyl4777 := z.DecSliceHelperStart() - var yyc4777 bool - if yyl4777 == 0 { - if yyv4777 == nil { - yyv4777 = []AttachedVolume{} - yyc4777 = true - } else if len(yyv4777) != 0 { - yyv4777 = yyv4777[:0] - yyc4777 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []AttachedVolume{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4777 > 0 { - var yyrr4777, yyrl4777 int - var yyrt4777 bool - if yyl4777 > cap(yyv4777) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4777 := len(yyv4777) > 0 - yyv24777 := yyv4777 - yyrl4777, yyrt4777 = z.DecInferLen(yyl4777, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4777 { - if yyrl4777 <= cap(yyv4777) { - yyv4777 = yyv4777[:yyrl4777] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4777 = make([]AttachedVolume, yyrl4777) + yyv1 = make([]AttachedVolume, yyrl1) } } else { - yyv4777 = make([]AttachedVolume, yyrl4777) + yyv1 = make([]AttachedVolume, yyrl1) } - yyc4777 = true - yyrr4777 = len(yyv4777) - if yyrg4777 { - copy(yyv4777, yyv24777) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4777 != len(yyv4777) { - yyv4777 = yyv4777[:yyl4777] - yyc4777 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4777 := 0 - for ; yyj4777 < yyrr4777; yyj4777++ { - yyh4777.ElemContainerState(yyj4777) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4777[yyj4777] = AttachedVolume{} + yyv1[yyj1] = AttachedVolume{} } else { - yyv4778 := &yyv4777[yyj4777] - yyv4778.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4777 { - for ; yyj4777 < yyl4777; yyj4777++ { - yyv4777 = append(yyv4777, AttachedVolume{}) - yyh4777.ElemContainerState(yyj4777) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, AttachedVolume{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4777[yyj4777] = AttachedVolume{} + yyv1[yyj1] = AttachedVolume{} } else { - yyv4779 := &yyv4777[yyj4777] - yyv4779.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4777 := 0 - for ; !r.CheckBreak(); yyj4777++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4777 >= len(yyv4777) { - yyv4777 = append(yyv4777, AttachedVolume{}) // var yyz4777 AttachedVolume - yyc4777 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, AttachedVolume{}) // var yyz1 AttachedVolume + yyc1 = true } - yyh4777.ElemContainerState(yyj4777) - if yyj4777 < len(yyv4777) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4777[yyj4777] = AttachedVolume{} + yyv1[yyj1] = AttachedVolume{} } else { - yyv4780 := &yyv4777[yyj4777] - yyv4780.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -61190,17 +65828,17 @@ func (x codecSelfer1234) decSliceAttachedVolume(v *[]AttachedVolume, d *codec197 } } - if yyj4777 < len(yyv4777) { - yyv4777 = yyv4777[:yyj4777] - yyc4777 = true - } else if yyj4777 == 0 && yyv4777 == nil { - yyv4777 = []AttachedVolume{} - yyc4777 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []AttachedVolume{} + yyc1 = true } } - yyh4777.End() - if yyc4777 { - *v = yyv4777 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -61209,10 +65847,10 @@ func (x codecSelfer1234) encSlicePreferAvoidPodsEntry(v []PreferAvoidPodsEntry, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4781 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4782 := &yyv4781 - yy4782.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61222,83 +65860,86 @@ func (x codecSelfer1234) decSlicePreferAvoidPodsEntry(v *[]PreferAvoidPodsEntry, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4783 := *v - yyh4783, yyl4783 := z.DecSliceHelperStart() - var yyc4783 bool - if yyl4783 == 0 { - if yyv4783 == nil { - yyv4783 = []PreferAvoidPodsEntry{} - yyc4783 = true - } else if len(yyv4783) != 0 { - yyv4783 = yyv4783[:0] - yyc4783 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []PreferAvoidPodsEntry{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4783 > 0 { - var yyrr4783, yyrl4783 int - var yyrt4783 bool - if yyl4783 > cap(yyv4783) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4783 := len(yyv4783) > 0 - yyv24783 := yyv4783 - yyrl4783, yyrt4783 = z.DecInferLen(yyl4783, z.DecBasicHandle().MaxInitLen, 64) - if yyrt4783 { - if yyrl4783 <= cap(yyv4783) { - yyv4783 = yyv4783[:yyrl4783] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4783 = make([]PreferAvoidPodsEntry, yyrl4783) + yyv1 = make([]PreferAvoidPodsEntry, yyrl1) } } else { - yyv4783 = make([]PreferAvoidPodsEntry, yyrl4783) + yyv1 = make([]PreferAvoidPodsEntry, yyrl1) } - yyc4783 = true - yyrr4783 = len(yyv4783) - if yyrg4783 { - copy(yyv4783, yyv24783) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4783 != len(yyv4783) { - yyv4783 = yyv4783[:yyl4783] - yyc4783 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4783 := 0 - for ; yyj4783 < yyrr4783; yyj4783++ { - yyh4783.ElemContainerState(yyj4783) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4783[yyj4783] = PreferAvoidPodsEntry{} + yyv1[yyj1] = PreferAvoidPodsEntry{} } else { - yyv4784 := &yyv4783[yyj4783] - yyv4784.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4783 { - for ; yyj4783 < yyl4783; yyj4783++ { - yyv4783 = append(yyv4783, PreferAvoidPodsEntry{}) - yyh4783.ElemContainerState(yyj4783) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, PreferAvoidPodsEntry{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4783[yyj4783] = PreferAvoidPodsEntry{} + yyv1[yyj1] = PreferAvoidPodsEntry{} } else { - yyv4785 := &yyv4783[yyj4783] - yyv4785.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4783 := 0 - for ; !r.CheckBreak(); yyj4783++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4783 >= len(yyv4783) { - yyv4783 = append(yyv4783, PreferAvoidPodsEntry{}) // var yyz4783 PreferAvoidPodsEntry - yyc4783 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, PreferAvoidPodsEntry{}) // var yyz1 PreferAvoidPodsEntry + yyc1 = true } - yyh4783.ElemContainerState(yyj4783) - if yyj4783 < len(yyv4783) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4783[yyj4783] = PreferAvoidPodsEntry{} + yyv1[yyj1] = PreferAvoidPodsEntry{} } else { - yyv4786 := &yyv4783[yyj4783] - yyv4786.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -61306,17 +65947,17 @@ func (x codecSelfer1234) decSlicePreferAvoidPodsEntry(v *[]PreferAvoidPodsEntry, } } - if yyj4783 < len(yyv4783) { - yyv4783 = yyv4783[:yyj4783] - yyc4783 = true - } else if yyj4783 == 0 && yyv4783 == nil { - yyv4783 = []PreferAvoidPodsEntry{} - yyc4783 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []PreferAvoidPodsEntry{} + yyc1 = true } } - yyh4783.End() - if yyc4783 { - *v = yyv4783 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -61325,19 +65966,19 @@ func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk4787, yyv4787 := range v { + for yyk1, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk4787.CodecEncodeSelf(e) + yyk1.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4788 := &yyv4787 - yym4789 := z.EncBinary() - _ = yym4789 + yy3 := &yyv1 + yym4 := z.EncBinary() + _ = yym4 if false { - } else if z.HasExtensions() && z.EncExt(yy4788) { - } else if !yym4789 && z.IsJSONHandle() { - z.EncJSONMarshal(yy4788) + } else if z.HasExtensions() && z.EncExt(yy3) { + } else if !yym4 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3) } else { - z.EncFallback(yy4788) + z.EncFallback(yy3) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -61348,86 +65989,88 @@ func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4790 := *v - yyl4790 := r.ReadMapStart() - yybh4790 := z.DecBasicHandle() - if yyv4790 == nil { - yyrl4790, _ := z.DecInferLen(yyl4790, yybh4790.MaxInitLen, 72) - yyv4790 = make(map[ResourceName]pkg3_resource.Quantity, yyrl4790) - *v = yyv4790 + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 72) + yyv1 = make(map[ResourceName]pkg3_resource.Quantity, yyrl1) + *v = yyv1 } - var yymk4790 ResourceName - var yymv4790 pkg3_resource.Quantity - var yymg4790 bool - if yybh4790.MapValueReset { - yymg4790 = true + var yymk1 ResourceName + var yymv1 pkg3_resource.Quantity + var yymg1 bool + if yybh1.MapValueReset { + yymg1 = true } - if yyl4790 > 0 { - for yyj4790 := 0; yyj4790 < yyl4790; yyj4790++ { + if yyl1 > 0 { + for yyj1 := 0; yyj1 < yyl1; yyj1++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4790 = "" + yymk1 = "" } else { - yymk4790 = ResourceName(r.DecodeString()) + yyv2 := &yymk1 + yyv2.CodecDecodeSelf(d) } - if yymg4790 { - yymv4790 = yyv4790[yymk4790] + if yymg1 { + yymv1 = yyv1[yymk1] } else { - yymv4790 = pkg3_resource.Quantity{} + yymv1 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4790 = pkg3_resource.Quantity{} + yymv1 = pkg3_resource.Quantity{} } else { - yyv4792 := &yymv4790 - yym4793 := z.DecBinary() - _ = yym4793 + yyv3 := &yymv1 + yym4 := z.DecBinary() + _ = yym4 if false { - } else if z.HasExtensions() && z.DecExt(yyv4792) { - } else if !yym4793 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4792) + } else if z.HasExtensions() && z.DecExt(yyv3) { + } else if !yym4 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3) } else { - z.DecFallback(yyv4792, false) + z.DecFallback(yyv3, false) } } - if yyv4790 != nil { - yyv4790[yymk4790] = yymv4790 + if yyv1 != nil { + yyv1[yymk1] = yymv1 } } - } else if yyl4790 < 0 { - for yyj4790 := 0; !r.CheckBreak(); yyj4790++ { + } else if yyl1 < 0 { + for yyj1 := 0; !r.CheckBreak(); yyj1++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4790 = "" + yymk1 = "" } else { - yymk4790 = ResourceName(r.DecodeString()) + yyv5 := &yymk1 + yyv5.CodecDecodeSelf(d) } - if yymg4790 { - yymv4790 = yyv4790[yymk4790] + if yymg1 { + yymv1 = yyv1[yymk1] } else { - yymv4790 = pkg3_resource.Quantity{} + yymv1 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4790 = pkg3_resource.Quantity{} + yymv1 = pkg3_resource.Quantity{} } else { - yyv4795 := &yymv4790 - yym4796 := z.DecBinary() - _ = yym4796 + yyv6 := &yymv1 + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv4795) { - } else if !yym4796 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4795) + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) } else { - z.DecFallback(yyv4795, false) + z.DecFallback(yyv6, false) } } - if yyv4790 != nil { - yyv4790[yymk4790] = yymv4790 + if yyv1 != nil { + yyv1[yymk1] = yymv1 } } } // else len==0: TODO: Should we clear map entries? @@ -61439,10 +66082,10 @@ func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4797 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4798 := &yyv4797 - yy4798.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61452,83 +66095,86 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4799 := *v - yyh4799, yyl4799 := z.DecSliceHelperStart() - var yyc4799 bool - if yyl4799 == 0 { - if yyv4799 == nil { - yyv4799 = []Node{} - yyc4799 = true - } else if len(yyv4799) != 0 { - yyv4799 = yyv4799[:0] - yyc4799 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Node{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4799 > 0 { - var yyrr4799, yyrl4799 int - var yyrt4799 bool - if yyl4799 > cap(yyv4799) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4799 := len(yyv4799) > 0 - yyv24799 := yyv4799 - yyrl4799, yyrt4799 = z.DecInferLen(yyl4799, z.DecBasicHandle().MaxInitLen, 632) - if yyrt4799 { - if yyrl4799 <= cap(yyv4799) { - yyv4799 = yyv4799[:yyrl4799] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 632) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4799 = make([]Node, yyrl4799) + yyv1 = make([]Node, yyrl1) } } else { - yyv4799 = make([]Node, yyrl4799) + yyv1 = make([]Node, yyrl1) } - yyc4799 = true - yyrr4799 = len(yyv4799) - if yyrg4799 { - copy(yyv4799, yyv24799) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4799 != len(yyv4799) { - yyv4799 = yyv4799[:yyl4799] - yyc4799 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4799 := 0 - for ; yyj4799 < yyrr4799; yyj4799++ { - yyh4799.ElemContainerState(yyj4799) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4799[yyj4799] = Node{} + yyv1[yyj1] = Node{} } else { - yyv4800 := &yyv4799[yyj4799] - yyv4800.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4799 { - for ; yyj4799 < yyl4799; yyj4799++ { - yyv4799 = append(yyv4799, Node{}) - yyh4799.ElemContainerState(yyj4799) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Node{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4799[yyj4799] = Node{} + yyv1[yyj1] = Node{} } else { - yyv4801 := &yyv4799[yyj4799] - yyv4801.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4799 := 0 - for ; !r.CheckBreak(); yyj4799++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4799 >= len(yyv4799) { - yyv4799 = append(yyv4799, Node{}) // var yyz4799 Node - yyc4799 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Node{}) // var yyz1 Node + yyc1 = true } - yyh4799.ElemContainerState(yyj4799) - if yyj4799 < len(yyv4799) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4799[yyj4799] = Node{} + yyv1[yyj1] = Node{} } else { - yyv4802 := &yyv4799[yyj4799] - yyv4802.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -61536,17 +66182,17 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { } } - if yyj4799 < len(yyv4799) { - yyv4799 = yyv4799[:yyj4799] - yyc4799 = true - } else if yyj4799 == 0 && yyv4799 == nil { - yyv4799 = []Node{} - yyc4799 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Node{} + yyc1 = true } } - yyh4799.End() - if yyc4799 { - *v = yyv4799 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -61555,9 +66201,9 @@ func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4803 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4803.CodecEncodeSelf(e) + yyv1.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61567,75 +66213,81 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4804 := *v - yyh4804, yyl4804 := z.DecSliceHelperStart() - var yyc4804 bool - if yyl4804 == 0 { - if yyv4804 == nil { - yyv4804 = []FinalizerName{} - yyc4804 = true - } else if len(yyv4804) != 0 { - yyv4804 = yyv4804[:0] - yyc4804 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []FinalizerName{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4804 > 0 { - var yyrr4804, yyrl4804 int - var yyrt4804 bool - if yyl4804 > cap(yyv4804) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrl4804, yyrt4804 = z.DecInferLen(yyl4804, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4804 { - if yyrl4804 <= cap(yyv4804) { - yyv4804 = yyv4804[:yyrl4804] + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4804 = make([]FinalizerName, yyrl4804) + yyv1 = make([]FinalizerName, yyrl1) } } else { - yyv4804 = make([]FinalizerName, yyrl4804) + yyv1 = make([]FinalizerName, yyrl1) } - yyc4804 = true - yyrr4804 = len(yyv4804) - } else if yyl4804 != len(yyv4804) { - yyv4804 = yyv4804[:yyl4804] - yyc4804 = true + yyc1 = true + yyrr1 = len(yyv1) + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4804 := 0 - for ; yyj4804 < yyrr4804; yyj4804++ { - yyh4804.ElemContainerState(yyj4804) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4804[yyj4804] = "" + yyv1[yyj1] = "" } else { - yyv4804[yyj4804] = FinalizerName(r.DecodeString()) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4804 { - for ; yyj4804 < yyl4804; yyj4804++ { - yyv4804 = append(yyv4804, "") - yyh4804.ElemContainerState(yyj4804) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, "") + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4804[yyj4804] = "" + yyv1[yyj1] = "" } else { - yyv4804[yyj4804] = FinalizerName(r.DecodeString()) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4804 := 0 - for ; !r.CheckBreak(); yyj4804++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4804 >= len(yyv4804) { - yyv4804 = append(yyv4804, "") // var yyz4804 FinalizerName - yyc4804 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, "") // var yyz1 FinalizerName + yyc1 = true } - yyh4804.ElemContainerState(yyj4804) - if yyj4804 < len(yyv4804) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4804[yyj4804] = "" + yyv1[yyj1] = "" } else { - yyv4804[yyj4804] = FinalizerName(r.DecodeString()) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -61643,17 +66295,17 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } - if yyj4804 < len(yyv4804) { - yyv4804 = yyv4804[:yyj4804] - yyc4804 = true - } else if yyj4804 == 0 && yyv4804 == nil { - yyv4804 = []FinalizerName{} - yyc4804 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []FinalizerName{} + yyc1 = true } } - yyh4804.End() - if yyc4804 { - *v = yyv4804 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -61662,10 +66314,10 @@ func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4808 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4809 := &yyv4808 - yy4809.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61675,83 +66327,86 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4810 := *v - yyh4810, yyl4810 := z.DecSliceHelperStart() - var yyc4810 bool - if yyl4810 == 0 { - if yyv4810 == nil { - yyv4810 = []Namespace{} - yyc4810 = true - } else if len(yyv4810) != 0 { - yyv4810 = yyv4810[:0] - yyc4810 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Namespace{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4810 > 0 { - var yyrr4810, yyrl4810 int - var yyrt4810 bool - if yyl4810 > cap(yyv4810) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4810 := len(yyv4810) > 0 - yyv24810 := yyv4810 - yyrl4810, yyrt4810 = z.DecInferLen(yyl4810, z.DecBasicHandle().MaxInitLen, 296) - if yyrt4810 { - if yyrl4810 <= cap(yyv4810) { - yyv4810 = yyv4810[:yyrl4810] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 296) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4810 = make([]Namespace, yyrl4810) + yyv1 = make([]Namespace, yyrl1) } } else { - yyv4810 = make([]Namespace, yyrl4810) + yyv1 = make([]Namespace, yyrl1) } - yyc4810 = true - yyrr4810 = len(yyv4810) - if yyrg4810 { - copy(yyv4810, yyv24810) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4810 != len(yyv4810) { - yyv4810 = yyv4810[:yyl4810] - yyc4810 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4810 := 0 - for ; yyj4810 < yyrr4810; yyj4810++ { - yyh4810.ElemContainerState(yyj4810) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4810[yyj4810] = Namespace{} + yyv1[yyj1] = Namespace{} } else { - yyv4811 := &yyv4810[yyj4810] - yyv4811.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4810 { - for ; yyj4810 < yyl4810; yyj4810++ { - yyv4810 = append(yyv4810, Namespace{}) - yyh4810.ElemContainerState(yyj4810) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Namespace{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4810[yyj4810] = Namespace{} + yyv1[yyj1] = Namespace{} } else { - yyv4812 := &yyv4810[yyj4810] - yyv4812.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4810 := 0 - for ; !r.CheckBreak(); yyj4810++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4810 >= len(yyv4810) { - yyv4810 = append(yyv4810, Namespace{}) // var yyz4810 Namespace - yyc4810 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Namespace{}) // var yyz1 Namespace + yyc1 = true } - yyh4810.ElemContainerState(yyj4810) - if yyj4810 < len(yyv4810) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4810[yyj4810] = Namespace{} + yyv1[yyj1] = Namespace{} } else { - yyv4813 := &yyv4810[yyj4810] - yyv4813.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -61759,17 +66414,17 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } - if yyj4810 < len(yyv4810) { - yyv4810 = yyv4810[:yyj4810] - yyc4810 = true - } else if yyj4810 == 0 && yyv4810 == nil { - yyv4810 = []Namespace{} - yyc4810 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Namespace{} + yyc1 = true } } - yyh4810.End() - if yyc4810 { - *v = yyv4810 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -61778,10 +66433,10 @@ func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4814 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4815 := &yyv4814 - yy4815.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61791,83 +66446,86 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4816 := *v - yyh4816, yyl4816 := z.DecSliceHelperStart() - var yyc4816 bool - if yyl4816 == 0 { - if yyv4816 == nil { - yyv4816 = []Event{} - yyc4816 = true - } else if len(yyv4816) != 0 { - yyv4816 = yyv4816[:0] - yyc4816 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Event{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4816 > 0 { - var yyrr4816, yyrl4816 int - var yyrt4816 bool - if yyl4816 > cap(yyv4816) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4816 := len(yyv4816) > 0 - yyv24816 := yyv4816 - yyrl4816, yyrt4816 = z.DecInferLen(yyl4816, z.DecBasicHandle().MaxInitLen, 504) - if yyrt4816 { - if yyrl4816 <= cap(yyv4816) { - yyv4816 = yyv4816[:yyrl4816] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 504) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4816 = make([]Event, yyrl4816) + yyv1 = make([]Event, yyrl1) } } else { - yyv4816 = make([]Event, yyrl4816) + yyv1 = make([]Event, yyrl1) } - yyc4816 = true - yyrr4816 = len(yyv4816) - if yyrg4816 { - copy(yyv4816, yyv24816) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4816 != len(yyv4816) { - yyv4816 = yyv4816[:yyl4816] - yyc4816 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4816 := 0 - for ; yyj4816 < yyrr4816; yyj4816++ { - yyh4816.ElemContainerState(yyj4816) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4816[yyj4816] = Event{} + yyv1[yyj1] = Event{} } else { - yyv4817 := &yyv4816[yyj4816] - yyv4817.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4816 { - for ; yyj4816 < yyl4816; yyj4816++ { - yyv4816 = append(yyv4816, Event{}) - yyh4816.ElemContainerState(yyj4816) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Event{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4816[yyj4816] = Event{} + yyv1[yyj1] = Event{} } else { - yyv4818 := &yyv4816[yyj4816] - yyv4818.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4816 := 0 - for ; !r.CheckBreak(); yyj4816++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4816 >= len(yyv4816) { - yyv4816 = append(yyv4816, Event{}) // var yyz4816 Event - yyc4816 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Event{}) // var yyz1 Event + yyc1 = true } - yyh4816.ElemContainerState(yyj4816) - if yyj4816 < len(yyv4816) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4816[yyj4816] = Event{} + yyv1[yyj1] = Event{} } else { - yyv4819 := &yyv4816[yyj4816] - yyv4819.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -61875,17 +66533,17 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } } - if yyj4816 < len(yyv4816) { - yyv4816 = yyv4816[:yyj4816] - yyc4816 = true - } else if yyj4816 == 0 && yyv4816 == nil { - yyv4816 = []Event{} - yyc4816 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Event{} + yyc1 = true } } - yyh4816.End() - if yyc4816 { - *v = yyv4816 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -61894,17 +66552,17 @@ func (x codecSelfer1234) encSliceruntime_RawExtension(v []pkg5_runtime.RawExtens z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4820 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4821 := &yyv4820 - yym4822 := z.EncBinary() - _ = yym4822 + yy2 := &yyv1 + yym3 := z.EncBinary() + _ = yym3 if false { - } else if z.HasExtensions() && z.EncExt(yy4821) { - } else if !yym4822 && z.IsJSONHandle() { - z.EncJSONMarshal(yy4821) + } else if z.HasExtensions() && z.EncExt(yy2) { + } else if !yym3 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2) } else { - z.EncFallback(yy4821) + z.EncFallback(yy2) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -61915,78 +66573,81 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4823 := *v - yyh4823, yyl4823 := z.DecSliceHelperStart() - var yyc4823 bool - if yyl4823 == 0 { - if yyv4823 == nil { - yyv4823 = []pkg5_runtime.RawExtension{} - yyc4823 = true - } else if len(yyv4823) != 0 { - yyv4823 = yyv4823[:0] - yyc4823 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []pkg5_runtime.RawExtension{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4823 > 0 { - var yyrr4823, yyrl4823 int - var yyrt4823 bool - if yyl4823 > cap(yyv4823) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4823 := len(yyv4823) > 0 - yyv24823 := yyv4823 - yyrl4823, yyrt4823 = z.DecInferLen(yyl4823, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4823 { - if yyrl4823 <= cap(yyv4823) { - yyv4823 = yyv4823[:yyrl4823] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4823 = make([]pkg5_runtime.RawExtension, yyrl4823) + yyv1 = make([]pkg5_runtime.RawExtension, yyrl1) } } else { - yyv4823 = make([]pkg5_runtime.RawExtension, yyrl4823) + yyv1 = make([]pkg5_runtime.RawExtension, yyrl1) } - yyc4823 = true - yyrr4823 = len(yyv4823) - if yyrg4823 { - copy(yyv4823, yyv24823) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4823 != len(yyv4823) { - yyv4823 = yyv4823[:yyl4823] - yyc4823 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4823 := 0 - for ; yyj4823 < yyrr4823; yyj4823++ { - yyh4823.ElemContainerState(yyj4823) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4823[yyj4823] = pkg5_runtime.RawExtension{} + yyv1[yyj1] = pkg5_runtime.RawExtension{} } else { - yyv4824 := &yyv4823[yyj4823] - yym4825 := z.DecBinary() - _ = yym4825 + yyv2 := &yyv1[yyj1] + yym3 := z.DecBinary() + _ = yym3 if false { - } else if z.HasExtensions() && z.DecExt(yyv4824) { - } else if !yym4825 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4824) + } else if z.HasExtensions() && z.DecExt(yyv2) { + } else if !yym3 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2) } else { - z.DecFallback(yyv4824, false) + z.DecFallback(yyv2, false) } } } - if yyrt4823 { - for ; yyj4823 < yyl4823; yyj4823++ { - yyv4823 = append(yyv4823, pkg5_runtime.RawExtension{}) - yyh4823.ElemContainerState(yyj4823) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, pkg5_runtime.RawExtension{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4823[yyj4823] = pkg5_runtime.RawExtension{} + yyv1[yyj1] = pkg5_runtime.RawExtension{} } else { - yyv4826 := &yyv4823[yyj4823] - yym4827 := z.DecBinary() - _ = yym4827 + yyv4 := &yyv1[yyj1] + yym5 := z.DecBinary() + _ = yym5 if false { - } else if z.HasExtensions() && z.DecExt(yyv4826) { - } else if !yym4827 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4826) + } else if z.HasExtensions() && z.DecExt(yyv4) { + } else if !yym5 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4) } else { - z.DecFallback(yyv4826, false) + z.DecFallback(yyv4, false) } } @@ -61994,27 +66655,27 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten } } else { - yyj4823 := 0 - for ; !r.CheckBreak(); yyj4823++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4823 >= len(yyv4823) { - yyv4823 = append(yyv4823, pkg5_runtime.RawExtension{}) // var yyz4823 pkg5_runtime.RawExtension - yyc4823 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, pkg5_runtime.RawExtension{}) // var yyz1 pkg5_runtime.RawExtension + yyc1 = true } - yyh4823.ElemContainerState(yyj4823) - if yyj4823 < len(yyv4823) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4823[yyj4823] = pkg5_runtime.RawExtension{} + yyv1[yyj1] = pkg5_runtime.RawExtension{} } else { - yyv4828 := &yyv4823[yyj4823] - yym4829 := z.DecBinary() - _ = yym4829 + yyv6 := &yyv1[yyj1] + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv4828) { - } else if !yym4829 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4828) + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) } else { - z.DecFallback(yyv4828, false) + z.DecFallback(yyv6, false) } } @@ -62023,17 +66684,17 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten } } - if yyj4823 < len(yyv4823) { - yyv4823 = yyv4823[:yyj4823] - yyc4823 = true - } else if yyj4823 == 0 && yyv4823 == nil { - yyv4823 = []pkg5_runtime.RawExtension{} - yyc4823 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []pkg5_runtime.RawExtension{} + yyc1 = true } } - yyh4823.End() - if yyc4823 { - *v = yyv4823 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -62042,10 +66703,10 @@ func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4830 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4831 := &yyv4830 - yy4831.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62055,83 +66716,86 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4832 := *v - yyh4832, yyl4832 := z.DecSliceHelperStart() - var yyc4832 bool - if yyl4832 == 0 { - if yyv4832 == nil { - yyv4832 = []LimitRangeItem{} - yyc4832 = true - } else if len(yyv4832) != 0 { - yyv4832 = yyv4832[:0] - yyc4832 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []LimitRangeItem{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4832 > 0 { - var yyrr4832, yyrl4832 int - var yyrt4832 bool - if yyl4832 > cap(yyv4832) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4832 := len(yyv4832) > 0 - yyv24832 := yyv4832 - yyrl4832, yyrt4832 = z.DecInferLen(yyl4832, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4832 { - if yyrl4832 <= cap(yyv4832) { - yyv4832 = yyv4832[:yyrl4832] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4832 = make([]LimitRangeItem, yyrl4832) + yyv1 = make([]LimitRangeItem, yyrl1) } } else { - yyv4832 = make([]LimitRangeItem, yyrl4832) + yyv1 = make([]LimitRangeItem, yyrl1) } - yyc4832 = true - yyrr4832 = len(yyv4832) - if yyrg4832 { - copy(yyv4832, yyv24832) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4832 != len(yyv4832) { - yyv4832 = yyv4832[:yyl4832] - yyc4832 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4832 := 0 - for ; yyj4832 < yyrr4832; yyj4832++ { - yyh4832.ElemContainerState(yyj4832) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4832[yyj4832] = LimitRangeItem{} + yyv1[yyj1] = LimitRangeItem{} } else { - yyv4833 := &yyv4832[yyj4832] - yyv4833.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4832 { - for ; yyj4832 < yyl4832; yyj4832++ { - yyv4832 = append(yyv4832, LimitRangeItem{}) - yyh4832.ElemContainerState(yyj4832) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, LimitRangeItem{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4832[yyj4832] = LimitRangeItem{} + yyv1[yyj1] = LimitRangeItem{} } else { - yyv4834 := &yyv4832[yyj4832] - yyv4834.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4832 := 0 - for ; !r.CheckBreak(); yyj4832++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4832 >= len(yyv4832) { - yyv4832 = append(yyv4832, LimitRangeItem{}) // var yyz4832 LimitRangeItem - yyc4832 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, LimitRangeItem{}) // var yyz1 LimitRangeItem + yyc1 = true } - yyh4832.ElemContainerState(yyj4832) - if yyj4832 < len(yyv4832) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4832[yyj4832] = LimitRangeItem{} + yyv1[yyj1] = LimitRangeItem{} } else { - yyv4835 := &yyv4832[yyj4832] - yyv4835.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -62139,17 +66803,17 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 } } - if yyj4832 < len(yyv4832) { - yyv4832 = yyv4832[:yyj4832] - yyc4832 = true - } else if yyj4832 == 0 && yyv4832 == nil { - yyv4832 = []LimitRangeItem{} - yyc4832 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []LimitRangeItem{} + yyc1 = true } } - yyh4832.End() - if yyc4832 { - *v = yyv4832 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -62158,10 +66822,10 @@ func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4836 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4837 := &yyv4836 - yy4837.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62171,83 +66835,86 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4838 := *v - yyh4838, yyl4838 := z.DecSliceHelperStart() - var yyc4838 bool - if yyl4838 == 0 { - if yyv4838 == nil { - yyv4838 = []LimitRange{} - yyc4838 = true - } else if len(yyv4838) != 0 { - yyv4838 = yyv4838[:0] - yyc4838 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []LimitRange{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4838 > 0 { - var yyrr4838, yyrl4838 int - var yyrt4838 bool - if yyl4838 > cap(yyv4838) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4838 := len(yyv4838) > 0 - yyv24838 := yyv4838 - yyrl4838, yyrt4838 = z.DecInferLen(yyl4838, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4838 { - if yyrl4838 <= cap(yyv4838) { - yyv4838 = yyv4838[:yyrl4838] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4838 = make([]LimitRange, yyrl4838) + yyv1 = make([]LimitRange, yyrl1) } } else { - yyv4838 = make([]LimitRange, yyrl4838) + yyv1 = make([]LimitRange, yyrl1) } - yyc4838 = true - yyrr4838 = len(yyv4838) - if yyrg4838 { - copy(yyv4838, yyv24838) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4838 != len(yyv4838) { - yyv4838 = yyv4838[:yyl4838] - yyc4838 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4838 := 0 - for ; yyj4838 < yyrr4838; yyj4838++ { - yyh4838.ElemContainerState(yyj4838) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4838[yyj4838] = LimitRange{} + yyv1[yyj1] = LimitRange{} } else { - yyv4839 := &yyv4838[yyj4838] - yyv4839.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4838 { - for ; yyj4838 < yyl4838; yyj4838++ { - yyv4838 = append(yyv4838, LimitRange{}) - yyh4838.ElemContainerState(yyj4838) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, LimitRange{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4838[yyj4838] = LimitRange{} + yyv1[yyj1] = LimitRange{} } else { - yyv4840 := &yyv4838[yyj4838] - yyv4840.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4838 := 0 - for ; !r.CheckBreak(); yyj4838++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4838 >= len(yyv4838) { - yyv4838 = append(yyv4838, LimitRange{}) // var yyz4838 LimitRange - yyc4838 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, LimitRange{}) // var yyz1 LimitRange + yyc1 = true } - yyh4838.ElemContainerState(yyj4838) - if yyj4838 < len(yyv4838) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4838[yyj4838] = LimitRange{} + yyv1[yyj1] = LimitRange{} } else { - yyv4841 := &yyv4838[yyj4838] - yyv4841.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -62255,17 +66922,17 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode } } - if yyj4838 < len(yyv4838) { - yyv4838 = yyv4838[:yyj4838] - yyc4838 = true - } else if yyj4838 == 0 && yyv4838 == nil { - yyv4838 = []LimitRange{} - yyc4838 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []LimitRange{} + yyc1 = true } } - yyh4838.End() - if yyc4838 { - *v = yyv4838 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -62274,9 +66941,9 @@ func (x codecSelfer1234) encSliceResourceQuotaScope(v []ResourceQuotaScope, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4842 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4842.CodecEncodeSelf(e) + yyv1.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62286,75 +66953,81 @@ func (x codecSelfer1234) decSliceResourceQuotaScope(v *[]ResourceQuotaScope, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4843 := *v - yyh4843, yyl4843 := z.DecSliceHelperStart() - var yyc4843 bool - if yyl4843 == 0 { - if yyv4843 == nil { - yyv4843 = []ResourceQuotaScope{} - yyc4843 = true - } else if len(yyv4843) != 0 { - yyv4843 = yyv4843[:0] - yyc4843 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ResourceQuotaScope{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4843 > 0 { - var yyrr4843, yyrl4843 int - var yyrt4843 bool - if yyl4843 > cap(yyv4843) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrl4843, yyrt4843 = z.DecInferLen(yyl4843, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4843 { - if yyrl4843 <= cap(yyv4843) { - yyv4843 = yyv4843[:yyrl4843] + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4843 = make([]ResourceQuotaScope, yyrl4843) + yyv1 = make([]ResourceQuotaScope, yyrl1) } } else { - yyv4843 = make([]ResourceQuotaScope, yyrl4843) + yyv1 = make([]ResourceQuotaScope, yyrl1) } - yyc4843 = true - yyrr4843 = len(yyv4843) - } else if yyl4843 != len(yyv4843) { - yyv4843 = yyv4843[:yyl4843] - yyc4843 = true + yyc1 = true + yyrr1 = len(yyv1) + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4843 := 0 - for ; yyj4843 < yyrr4843; yyj4843++ { - yyh4843.ElemContainerState(yyj4843) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4843[yyj4843] = "" + yyv1[yyj1] = "" } else { - yyv4843[yyj4843] = ResourceQuotaScope(r.DecodeString()) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4843 { - for ; yyj4843 < yyl4843; yyj4843++ { - yyv4843 = append(yyv4843, "") - yyh4843.ElemContainerState(yyj4843) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, "") + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4843[yyj4843] = "" + yyv1[yyj1] = "" } else { - yyv4843[yyj4843] = ResourceQuotaScope(r.DecodeString()) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4843 := 0 - for ; !r.CheckBreak(); yyj4843++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4843 >= len(yyv4843) { - yyv4843 = append(yyv4843, "") // var yyz4843 ResourceQuotaScope - yyc4843 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, "") // var yyz1 ResourceQuotaScope + yyc1 = true } - yyh4843.ElemContainerState(yyj4843) - if yyj4843 < len(yyv4843) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4843[yyj4843] = "" + yyv1[yyj1] = "" } else { - yyv4843[yyj4843] = ResourceQuotaScope(r.DecodeString()) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -62362,17 +67035,17 @@ func (x codecSelfer1234) decSliceResourceQuotaScope(v *[]ResourceQuotaScope, d * } } - if yyj4843 < len(yyv4843) { - yyv4843 = yyv4843[:yyj4843] - yyc4843 = true - } else if yyj4843 == 0 && yyv4843 == nil { - yyv4843 = []ResourceQuotaScope{} - yyc4843 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ResourceQuotaScope{} + yyc1 = true } } - yyh4843.End() - if yyc4843 { - *v = yyv4843 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -62381,10 +67054,10 @@ func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4847 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4848 := &yyv4847 - yy4848.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62394,83 +67067,86 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4849 := *v - yyh4849, yyl4849 := z.DecSliceHelperStart() - var yyc4849 bool - if yyl4849 == 0 { - if yyv4849 == nil { - yyv4849 = []ResourceQuota{} - yyc4849 = true - } else if len(yyv4849) != 0 { - yyv4849 = yyv4849[:0] - yyc4849 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ResourceQuota{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4849 > 0 { - var yyrr4849, yyrl4849 int - var yyrt4849 bool - if yyl4849 > cap(yyv4849) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4849 := len(yyv4849) > 0 - yyv24849 := yyv4849 - yyrl4849, yyrt4849 = z.DecInferLen(yyl4849, z.DecBasicHandle().MaxInitLen, 304) - if yyrt4849 { - if yyrl4849 <= cap(yyv4849) { - yyv4849 = yyv4849[:yyrl4849] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 304) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4849 = make([]ResourceQuota, yyrl4849) + yyv1 = make([]ResourceQuota, yyrl1) } } else { - yyv4849 = make([]ResourceQuota, yyrl4849) + yyv1 = make([]ResourceQuota, yyrl1) } - yyc4849 = true - yyrr4849 = len(yyv4849) - if yyrg4849 { - copy(yyv4849, yyv24849) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4849 != len(yyv4849) { - yyv4849 = yyv4849[:yyl4849] - yyc4849 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4849 := 0 - for ; yyj4849 < yyrr4849; yyj4849++ { - yyh4849.ElemContainerState(yyj4849) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4849[yyj4849] = ResourceQuota{} + yyv1[yyj1] = ResourceQuota{} } else { - yyv4850 := &yyv4849[yyj4849] - yyv4850.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4849 { - for ; yyj4849 < yyl4849; yyj4849++ { - yyv4849 = append(yyv4849, ResourceQuota{}) - yyh4849.ElemContainerState(yyj4849) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ResourceQuota{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4849[yyj4849] = ResourceQuota{} + yyv1[yyj1] = ResourceQuota{} } else { - yyv4851 := &yyv4849[yyj4849] - yyv4851.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4849 := 0 - for ; !r.CheckBreak(); yyj4849++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4849 >= len(yyv4849) { - yyv4849 = append(yyv4849, ResourceQuota{}) // var yyz4849 ResourceQuota - yyc4849 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ResourceQuota{}) // var yyz1 ResourceQuota + yyc1 = true } - yyh4849.ElemContainerState(yyj4849) - if yyj4849 < len(yyv4849) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4849[yyj4849] = ResourceQuota{} + yyv1[yyj1] = ResourceQuota{} } else { - yyv4852 := &yyv4849[yyj4849] - yyv4852.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -62478,17 +67154,17 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } } - if yyj4849 < len(yyv4849) { - yyv4849 = yyv4849[:yyj4849] - yyc4849 = true - } else if yyj4849 == 0 && yyv4849 == nil { - yyv4849 = []ResourceQuota{} - yyc4849 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ResourceQuota{} + yyc1 = true } } - yyh4849.End() - if yyc4849 { - *v = yyv4849 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -62497,23 +67173,23 @@ func (x codecSelfer1234) encMapstringSliceuint8(v map[string][]uint8, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk4853, yyv4853 := range v { + for yyk1, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym4854 := z.EncBinary() - _ = yym4854 + yym2 := z.EncBinary() + _ = yym2 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk4853)) + r.EncodeString(codecSelferC_UTF81234, string(yyk1)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv4853 == nil { + if yyv1 == nil { r.EncodeNil() } else { - yym4855 := z.EncBinary() - _ = yym4855 + yym3 := z.EncBinary() + _ = yym3 if false { } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4853)) + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv1)) } } } @@ -62525,95 +67201,121 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4856 := *v - yyl4856 := r.ReadMapStart() - yybh4856 := z.DecBasicHandle() - if yyv4856 == nil { - yyrl4856, _ := z.DecInferLen(yyl4856, yybh4856.MaxInitLen, 40) - yyv4856 = make(map[string][]uint8, yyrl4856) - *v = yyv4856 + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 40) + yyv1 = make(map[string][]uint8, yyrl1) + *v = yyv1 } - var yymk4856 string - var yymv4856 []uint8 - var yymg4856 bool - if yybh4856.MapValueReset { - yymg4856 = true + var yymk1 string + var yymv1 []uint8 + var yymg1 bool + if yybh1.MapValueReset { + yymg1 = true } - if yyl4856 > 0 { - for yyj4856 := 0; yyj4856 < yyl4856; yyj4856++ { + if yyl1 > 0 { + for yyj1 := 0; yyj1 < yyl1; yyj1++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4856 = "" + yymk1 = "" } else { - yymk4856 = string(r.DecodeString()) - } - - if yymg4856 { - yymv4856 = yyv4856[yymk4856] - } else { - yymv4856 = nil - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv4856 = nil - } else { - yyv4858 := &yymv4856 - yym4859 := z.DecBinary() - _ = yym4859 + yyv2 := &yymk1 + yym3 := z.DecBinary() + _ = yym3 if false { } else { - *yyv4858 = r.DecodeBytes(*(*[]byte)(yyv4858), false, false) + *((*string)(yyv2)) = r.DecodeString() } } - if yyv4856 != nil { - yyv4856[yymk4856] = yymv4856 + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + z.DecSendContainerState(codecSelfer_containerMapValue1234) + if r.TryDecodeAsNil() { + yymv1 = nil + } else { + yyv4 := &yymv1 + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *yyv4 = r.DecodeBytes(*(*[]byte)(yyv4), false, false) + } + } + + if yyv1 != nil { + yyv1[yymk1] = yymv1 } } - } else if yyl4856 < 0 { - for yyj4856 := 0; !r.CheckBreak(); yyj4856++ { + } else if yyl1 < 0 { + for yyj1 := 0; !r.CheckBreak(); yyj1++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4856 = "" + yymk1 = "" } else { - yymk4856 = string(r.DecodeString()) - } - - if yymg4856 { - yymv4856 = yyv4856[yymk4856] - } else { - yymv4856 = nil - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv4856 = nil - } else { - yyv4861 := &yymv4856 - yym4862 := z.DecBinary() - _ = yym4862 + yyv6 := &yymk1 + yym7 := z.DecBinary() + _ = yym7 if false { } else { - *yyv4861 = r.DecodeBytes(*(*[]byte)(yyv4861), false, false) + *((*string)(yyv6)) = r.DecodeString() } } - if yyv4856 != nil { - yyv4856[yymk4856] = yymv4856 + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = nil + } + z.DecSendContainerState(codecSelfer_containerMapValue1234) + if r.TryDecodeAsNil() { + yymv1 = nil + } else { + yyv8 := &yymv1 + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *yyv8 = r.DecodeBytes(*(*[]byte)(yyv8), false, false) + } + } + + if yyv1 != nil { + yyv1[yymk1] = yymv1 } } } // else len==0: TODO: Should we clear map entries? z.DecSendContainerState(codecSelfer_containerMapEnd1234) } +func (x codecSelfer1234) encSliceuint8(v []uint8, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(v)) +} + +func (x codecSelfer1234) decSliceuint8(v *[]uint8, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + *v = r.DecodeBytes(*((*[]byte)(v)), false, false) +} + func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4863 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4864 := &yyv4863 - yy4864.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62623,83 +67325,86 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4865 := *v - yyh4865, yyl4865 := z.DecSliceHelperStart() - var yyc4865 bool - if yyl4865 == 0 { - if yyv4865 == nil { - yyv4865 = []Secret{} - yyc4865 = true - } else if len(yyv4865) != 0 { - yyv4865 = yyv4865[:0] - yyc4865 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Secret{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4865 > 0 { - var yyrr4865, yyrl4865 int - var yyrt4865 bool - if yyl4865 > cap(yyv4865) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4865 := len(yyv4865) > 0 - yyv24865 := yyv4865 - yyrl4865, yyrt4865 = z.DecInferLen(yyl4865, z.DecBasicHandle().MaxInitLen, 288) - if yyrt4865 { - if yyrl4865 <= cap(yyv4865) { - yyv4865 = yyv4865[:yyrl4865] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 288) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4865 = make([]Secret, yyrl4865) + yyv1 = make([]Secret, yyrl1) } } else { - yyv4865 = make([]Secret, yyrl4865) + yyv1 = make([]Secret, yyrl1) } - yyc4865 = true - yyrr4865 = len(yyv4865) - if yyrg4865 { - copy(yyv4865, yyv24865) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4865 != len(yyv4865) { - yyv4865 = yyv4865[:yyl4865] - yyc4865 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4865 := 0 - for ; yyj4865 < yyrr4865; yyj4865++ { - yyh4865.ElemContainerState(yyj4865) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4865[yyj4865] = Secret{} + yyv1[yyj1] = Secret{} } else { - yyv4866 := &yyv4865[yyj4865] - yyv4866.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4865 { - for ; yyj4865 < yyl4865; yyj4865++ { - yyv4865 = append(yyv4865, Secret{}) - yyh4865.ElemContainerState(yyj4865) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Secret{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4865[yyj4865] = Secret{} + yyv1[yyj1] = Secret{} } else { - yyv4867 := &yyv4865[yyj4865] - yyv4867.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4865 := 0 - for ; !r.CheckBreak(); yyj4865++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4865 >= len(yyv4865) { - yyv4865 = append(yyv4865, Secret{}) // var yyz4865 Secret - yyc4865 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Secret{}) // var yyz1 Secret + yyc1 = true } - yyh4865.ElemContainerState(yyj4865) - if yyj4865 < len(yyv4865) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4865[yyj4865] = Secret{} + yyv1[yyj1] = Secret{} } else { - yyv4868 := &yyv4865[yyj4865] - yyv4868.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -62707,17 +67412,17 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } } - if yyj4865 < len(yyv4865) { - yyv4865 = yyv4865[:yyj4865] - yyc4865 = true - } else if yyj4865 == 0 && yyv4865 == nil { - yyv4865 = []Secret{} - yyc4865 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Secret{} + yyc1 = true } } - yyh4865.End() - if yyc4865 { - *v = yyv4865 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -62726,10 +67431,10 @@ func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4869 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4870 := &yyv4869 - yy4870.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62739,83 +67444,86 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4871 := *v - yyh4871, yyl4871 := z.DecSliceHelperStart() - var yyc4871 bool - if yyl4871 == 0 { - if yyv4871 == nil { - yyv4871 = []ConfigMap{} - yyc4871 = true - } else if len(yyv4871) != 0 { - yyv4871 = yyv4871[:0] - yyc4871 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ConfigMap{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4871 > 0 { - var yyrr4871, yyrl4871 int - var yyrt4871 bool - if yyl4871 > cap(yyv4871) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4871 := len(yyv4871) > 0 - yyv24871 := yyv4871 - yyrl4871, yyrt4871 = z.DecInferLen(yyl4871, z.DecBasicHandle().MaxInitLen, 264) - if yyrt4871 { - if yyrl4871 <= cap(yyv4871) { - yyv4871 = yyv4871[:yyrl4871] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 264) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4871 = make([]ConfigMap, yyrl4871) + yyv1 = make([]ConfigMap, yyrl1) } } else { - yyv4871 = make([]ConfigMap, yyrl4871) + yyv1 = make([]ConfigMap, yyrl1) } - yyc4871 = true - yyrr4871 = len(yyv4871) - if yyrg4871 { - copy(yyv4871, yyv24871) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4871 != len(yyv4871) { - yyv4871 = yyv4871[:yyl4871] - yyc4871 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4871 := 0 - for ; yyj4871 < yyrr4871; yyj4871++ { - yyh4871.ElemContainerState(yyj4871) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4871[yyj4871] = ConfigMap{} + yyv1[yyj1] = ConfigMap{} } else { - yyv4872 := &yyv4871[yyj4871] - yyv4872.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4871 { - for ; yyj4871 < yyl4871; yyj4871++ { - yyv4871 = append(yyv4871, ConfigMap{}) - yyh4871.ElemContainerState(yyj4871) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ConfigMap{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4871[yyj4871] = ConfigMap{} + yyv1[yyj1] = ConfigMap{} } else { - yyv4873 := &yyv4871[yyj4871] - yyv4873.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4871 := 0 - for ; !r.CheckBreak(); yyj4871++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4871 >= len(yyv4871) { - yyv4871 = append(yyv4871, ConfigMap{}) // var yyz4871 ConfigMap - yyc4871 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ConfigMap{}) // var yyz1 ConfigMap + yyc1 = true } - yyh4871.ElemContainerState(yyj4871) - if yyj4871 < len(yyv4871) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4871[yyj4871] = ConfigMap{} + yyv1[yyj1] = ConfigMap{} } else { - yyv4874 := &yyv4871[yyj4871] - yyv4874.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -62823,17 +67531,17 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) } } - if yyj4871 < len(yyv4871) { - yyv4871 = yyv4871[:yyj4871] - yyc4871 = true - } else if yyj4871 == 0 && yyv4871 == nil { - yyv4871 = []ConfigMap{} - yyc4871 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ConfigMap{} + yyc1 = true } } - yyh4871.End() - if yyc4871 { - *v = yyv4871 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -62842,10 +67550,10 @@ func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4875 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4876 := &yyv4875 - yy4876.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62855,83 +67563,86 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4877 := *v - yyh4877, yyl4877 := z.DecSliceHelperStart() - var yyc4877 bool - if yyl4877 == 0 { - if yyv4877 == nil { - yyv4877 = []ComponentCondition{} - yyc4877 = true - } else if len(yyv4877) != 0 { - yyv4877 = yyv4877[:0] - yyc4877 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ComponentCondition{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4877 > 0 { - var yyrr4877, yyrl4877 int - var yyrt4877 bool - if yyl4877 > cap(yyv4877) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4877 := len(yyv4877) > 0 - yyv24877 := yyv4877 - yyrl4877, yyrt4877 = z.DecInferLen(yyl4877, z.DecBasicHandle().MaxInitLen, 64) - if yyrt4877 { - if yyrl4877 <= cap(yyv4877) { - yyv4877 = yyv4877[:yyrl4877] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4877 = make([]ComponentCondition, yyrl4877) + yyv1 = make([]ComponentCondition, yyrl1) } } else { - yyv4877 = make([]ComponentCondition, yyrl4877) + yyv1 = make([]ComponentCondition, yyrl1) } - yyc4877 = true - yyrr4877 = len(yyv4877) - if yyrg4877 { - copy(yyv4877, yyv24877) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4877 != len(yyv4877) { - yyv4877 = yyv4877[:yyl4877] - yyc4877 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4877 := 0 - for ; yyj4877 < yyrr4877; yyj4877++ { - yyh4877.ElemContainerState(yyj4877) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4877[yyj4877] = ComponentCondition{} + yyv1[yyj1] = ComponentCondition{} } else { - yyv4878 := &yyv4877[yyj4877] - yyv4878.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4877 { - for ; yyj4877 < yyl4877; yyj4877++ { - yyv4877 = append(yyv4877, ComponentCondition{}) - yyh4877.ElemContainerState(yyj4877) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ComponentCondition{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4877[yyj4877] = ComponentCondition{} + yyv1[yyj1] = ComponentCondition{} } else { - yyv4879 := &yyv4877[yyj4877] - yyv4879.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4877 := 0 - for ; !r.CheckBreak(); yyj4877++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4877 >= len(yyv4877) { - yyv4877 = append(yyv4877, ComponentCondition{}) // var yyz4877 ComponentCondition - yyc4877 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ComponentCondition{}) // var yyz1 ComponentCondition + yyc1 = true } - yyh4877.ElemContainerState(yyj4877) - if yyj4877 < len(yyv4877) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4877[yyj4877] = ComponentCondition{} + yyv1[yyj1] = ComponentCondition{} } else { - yyv4880 := &yyv4877[yyj4877] - yyv4880.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -62939,17 +67650,17 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } - if yyj4877 < len(yyv4877) { - yyv4877 = yyv4877[:yyj4877] - yyc4877 = true - } else if yyj4877 == 0 && yyv4877 == nil { - yyv4877 = []ComponentCondition{} - yyc4877 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ComponentCondition{} + yyc1 = true } } - yyh4877.End() - if yyc4877 { - *v = yyv4877 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -62958,10 +67669,10 @@ func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4881 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4882 := &yyv4881 - yy4882.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62971,83 +67682,86 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4883 := *v - yyh4883, yyl4883 := z.DecSliceHelperStart() - var yyc4883 bool - if yyl4883 == 0 { - if yyv4883 == nil { - yyv4883 = []ComponentStatus{} - yyc4883 = true - } else if len(yyv4883) != 0 { - yyv4883 = yyv4883[:0] - yyc4883 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ComponentStatus{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4883 > 0 { - var yyrr4883, yyrl4883 int - var yyrt4883 bool - if yyl4883 > cap(yyv4883) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4883 := len(yyv4883) > 0 - yyv24883 := yyv4883 - yyrl4883, yyrt4883 = z.DecInferLen(yyl4883, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4883 { - if yyrl4883 <= cap(yyv4883) { - yyv4883 = yyv4883[:yyrl4883] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4883 = make([]ComponentStatus, yyrl4883) + yyv1 = make([]ComponentStatus, yyrl1) } } else { - yyv4883 = make([]ComponentStatus, yyrl4883) + yyv1 = make([]ComponentStatus, yyrl1) } - yyc4883 = true - yyrr4883 = len(yyv4883) - if yyrg4883 { - copy(yyv4883, yyv24883) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4883 != len(yyv4883) { - yyv4883 = yyv4883[:yyl4883] - yyc4883 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4883 := 0 - for ; yyj4883 < yyrr4883; yyj4883++ { - yyh4883.ElemContainerState(yyj4883) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4883[yyj4883] = ComponentStatus{} + yyv1[yyj1] = ComponentStatus{} } else { - yyv4884 := &yyv4883[yyj4883] - yyv4884.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4883 { - for ; yyj4883 < yyl4883; yyj4883++ { - yyv4883 = append(yyv4883, ComponentStatus{}) - yyh4883.ElemContainerState(yyj4883) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ComponentStatus{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4883[yyj4883] = ComponentStatus{} + yyv1[yyj1] = ComponentStatus{} } else { - yyv4885 := &yyv4883[yyj4883] - yyv4885.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4883 := 0 - for ; !r.CheckBreak(); yyj4883++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4883 >= len(yyv4883) { - yyv4883 = append(yyv4883, ComponentStatus{}) // var yyz4883 ComponentStatus - yyc4883 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ComponentStatus{}) // var yyz1 ComponentStatus + yyc1 = true } - yyh4883.ElemContainerState(yyj4883) - if yyj4883 < len(yyv4883) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4883[yyj4883] = ComponentStatus{} + yyv1[yyj1] = ComponentStatus{} } else { - yyv4886 := &yyv4883[yyj4883] - yyv4886.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -63055,17 +67769,17 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj4883 < len(yyv4883) { - yyv4883 = yyv4883[:yyj4883] - yyc4883 = true - } else if yyj4883 == 0 && yyv4883 == nil { - yyv4883 = []ComponentStatus{} - yyc4883 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ComponentStatus{} + yyc1 = true } } - yyh4883.End() - if yyc4883 { - *v = yyv4883 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -63074,10 +67788,10 @@ func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4887 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4888 := &yyv4887 - yy4888.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -63087,83 +67801,86 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4889 := *v - yyh4889, yyl4889 := z.DecSliceHelperStart() - var yyc4889 bool - if yyl4889 == 0 { - if yyv4889 == nil { - yyv4889 = []DownwardAPIVolumeFile{} - yyc4889 = true - } else if len(yyv4889) != 0 { - yyv4889 = yyv4889[:0] - yyc4889 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []DownwardAPIVolumeFile{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl4889 > 0 { - var yyrr4889, yyrl4889 int - var yyrt4889 bool - if yyl4889 > cap(yyv4889) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg4889 := len(yyv4889) > 0 - yyv24889 := yyv4889 - yyrl4889, yyrt4889 = z.DecInferLen(yyl4889, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4889 { - if yyrl4889 <= cap(yyv4889) { - yyv4889 = yyv4889[:yyrl4889] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv4889 = make([]DownwardAPIVolumeFile, yyrl4889) + yyv1 = make([]DownwardAPIVolumeFile, yyrl1) } } else { - yyv4889 = make([]DownwardAPIVolumeFile, yyrl4889) + yyv1 = make([]DownwardAPIVolumeFile, yyrl1) } - yyc4889 = true - yyrr4889 = len(yyv4889) - if yyrg4889 { - copy(yyv4889, yyv24889) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl4889 != len(yyv4889) { - yyv4889 = yyv4889[:yyl4889] - yyc4889 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj4889 := 0 - for ; yyj4889 < yyrr4889; yyj4889++ { - yyh4889.ElemContainerState(yyj4889) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4889[yyj4889] = DownwardAPIVolumeFile{} + yyv1[yyj1] = DownwardAPIVolumeFile{} } else { - yyv4890 := &yyv4889[yyj4889] - yyv4890.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt4889 { - for ; yyj4889 < yyl4889; yyj4889++ { - yyv4889 = append(yyv4889, DownwardAPIVolumeFile{}) - yyh4889.ElemContainerState(yyj4889) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, DownwardAPIVolumeFile{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv4889[yyj4889] = DownwardAPIVolumeFile{} + yyv1[yyj1] = DownwardAPIVolumeFile{} } else { - yyv4891 := &yyv4889[yyj4889] - yyv4891.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj4889 := 0 - for ; !r.CheckBreak(); yyj4889++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj4889 >= len(yyv4889) { - yyv4889 = append(yyv4889, DownwardAPIVolumeFile{}) // var yyz4889 DownwardAPIVolumeFile - yyc4889 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, DownwardAPIVolumeFile{}) // var yyz1 DownwardAPIVolumeFile + yyc1 = true } - yyh4889.ElemContainerState(yyj4889) - if yyj4889 < len(yyv4889) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv4889[yyj4889] = DownwardAPIVolumeFile{} + yyv1[yyj1] = DownwardAPIVolumeFile{} } else { - yyv4892 := &yyv4889[yyj4889] - yyv4892.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -63171,16 +67888,16 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil } } - if yyj4889 < len(yyv4889) { - yyv4889 = yyv4889[:yyj4889] - yyc4889 = true - } else if yyj4889 == 0 && yyv4889 == nil { - yyv4889 = []DownwardAPIVolumeFile{} - yyc4889 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []DownwardAPIVolumeFile{} + yyc1 = true } } - yyh4889.End() - if yyc4889 { - *v = yyv4889 + yyh1.End() + if yyc1 { + *v = yyv1 } } diff --git a/pkg/api/v1/types.go b/pkg/api/v1/types.go index 9f2cf112..24ca55f0 100644 --- a/pkg/api/v1/types.go +++ b/pkg/api/v1/types.go @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/pkg/api/resource" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/types" "k8s.io/client-go/pkg/util/intstr" ) @@ -1233,6 +1233,26 @@ type SecretKeySelector struct { Key string `json:"key" protobuf:"bytes,2,opt,name=key"` } +// EnvFromSource represents the source of a set of ConfigMaps +type EnvFromSource struct { + // An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. + // +optional + Prefix string `json:"prefix,omitempty" protobuf:"bytes,1,opt,name=prefix"` + // The ConfigMap to select from + // +optional + ConfigMapRef *ConfigMapEnvSource `json:"configMapRef,omitempty" protobuf:"bytes,2,opt,name=configMapRef"` +} + +// ConfigMapEnvSource selects a ConfigMap to populate the environment +// variables with. +// +// The contents of the target ConfigMap's Data field will represent the +// key-value pairs as environment variables. +type ConfigMapEnvSource struct { + // The ConfigMap to select from. + LocalObjectReference `json:",inline" protobuf:"bytes,1,opt,name=localObjectReference"` +} + // HTTPHeader describes a custom header to be used in HTTP probes type HTTPHeader struct { // The header field name @@ -1409,6 +1429,14 @@ type Container struct { // Cannot be updated. // +optional Ports []ContainerPort `json:"ports,omitempty" patchStrategy:"merge" patchMergeKey:"containerPort" protobuf:"bytes,6,rep,name=ports"` + // List of sources to populate environment variables in the container. + // The keys defined within a source must be a C_IDENTIFIER. An invalid key + // will prevent the container from starting. When a key exists in multiple + // sources, the value associated with the last source will take precedence. + // Values defined by an Env with a duplicate key will take precedence. + // Cannot be updated. + // +optional + EnvFrom []EnvFromSource `json:"envFrom,omitempty" protobuf:"bytes,19,rep,name=envFrom"` // List of environment variables to set in the container. // Cannot be updated. // +optional diff --git a/pkg/api/v1/types_swagger_doc_generated.go b/pkg/api/v1/types_swagger_doc_generated.go index d7dbcea4..c15d1992 100644 --- a/pkg/api/v1/types_swagger_doc_generated.go +++ b/pkg/api/v1/types_swagger_doc_generated.go @@ -180,6 +180,14 @@ func (ConfigMap) SwaggerDoc() map[string]string { return map_ConfigMap } +var map_ConfigMapEnvSource = map[string]string{ + "": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", +} + +func (ConfigMapEnvSource) SwaggerDoc() map[string]string { + return map_ConfigMapEnvSource +} + var map_ConfigMapKeySelector = map[string]string{ "": "Selects a key from a ConfigMap.", "key": "The key to select.", @@ -217,6 +225,7 @@ var map_Container = map[string]string{ "args": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands", "workingDir": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", "ports": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.", + "envFrom": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. An invalid key will prevent the container from starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", "env": "List of environment variables to set in the container. Cannot be updated.", "resources": "Compute Resources required by this container. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources", "volumeMounts": "Pod volumes to mount into the container's filesystem. Cannot be updated.", @@ -424,6 +433,16 @@ func (EndpointsList) SwaggerDoc() map[string]string { return map_EndpointsList } +var map_EnvFromSource = map[string]string{ + "": "EnvFromSource represents the source of a set of ConfigMaps", + "prefix": "An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "configMapRef": "The ConfigMap to select from", +} + +func (EnvFromSource) SwaggerDoc() map[string]string { + return map_EnvFromSource +} + var map_EnvVar = map[string]string{ "": "EnvVar represents an environment variable present in a Container.", "name": "Name of the environment variable. Must be a C_IDENTIFIER.", diff --git a/pkg/api/v1/zz_generated.conversion.go b/pkg/api/v1/zz_generated.conversion.go index aad7d80e..679af67f 100644 --- a/pkg/api/v1/zz_generated.conversion.go +++ b/pkg/api/v1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" + types "k8s.io/apimachinery/pkg/types" api "k8s.io/client-go/pkg/api" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" - types "k8s.io/client-go/pkg/types" unsafe "unsafe" ) @@ -65,6 +65,8 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_api_ComponentStatusList_To_v1_ComponentStatusList, Convert_v1_ConfigMap_To_api_ConfigMap, Convert_api_ConfigMap_To_v1_ConfigMap, + Convert_v1_ConfigMapEnvSource_To_api_ConfigMapEnvSource, + Convert_api_ConfigMapEnvSource_To_v1_ConfigMapEnvSource, Convert_v1_ConfigMapKeySelector_To_api_ConfigMapKeySelector, Convert_api_ConfigMapKeySelector_To_v1_ConfigMapKeySelector, Convert_v1_ConfigMapList_To_api_ConfigMapList, @@ -107,6 +109,8 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_api_Endpoints_To_v1_Endpoints, Convert_v1_EndpointsList_To_api_EndpointsList, Convert_api_EndpointsList_To_v1_EndpointsList, + Convert_v1_EnvFromSource_To_api_EnvFromSource, + Convert_api_EnvFromSource_To_v1_EnvFromSource, Convert_v1_EnvVar_To_api_EnvVar, Convert_api_EnvVar_To_v1_EnvVar, Convert_v1_EnvVarSource_To_api_EnvVarSource, @@ -674,6 +678,28 @@ func Convert_api_ConfigMap_To_v1_ConfigMap(in *api.ConfigMap, out *ConfigMap, s return autoConvert_api_ConfigMap_To_v1_ConfigMap(in, out, s) } +func autoConvert_v1_ConfigMapEnvSource_To_api_ConfigMapEnvSource(in *ConfigMapEnvSource, out *api.ConfigMapEnvSource, s conversion.Scope) error { + if err := Convert_v1_LocalObjectReference_To_api_LocalObjectReference(&in.LocalObjectReference, &out.LocalObjectReference, s); err != nil { + return err + } + return nil +} + +func Convert_v1_ConfigMapEnvSource_To_api_ConfigMapEnvSource(in *ConfigMapEnvSource, out *api.ConfigMapEnvSource, s conversion.Scope) error { + return autoConvert_v1_ConfigMapEnvSource_To_api_ConfigMapEnvSource(in, out, s) +} + +func autoConvert_api_ConfigMapEnvSource_To_v1_ConfigMapEnvSource(in *api.ConfigMapEnvSource, out *ConfigMapEnvSource, s conversion.Scope) error { + if err := Convert_api_LocalObjectReference_To_v1_LocalObjectReference(&in.LocalObjectReference, &out.LocalObjectReference, s); err != nil { + return err + } + return nil +} + +func Convert_api_ConfigMapEnvSource_To_v1_ConfigMapEnvSource(in *api.ConfigMapEnvSource, out *ConfigMapEnvSource, s conversion.Scope) error { + return autoConvert_api_ConfigMapEnvSource_To_v1_ConfigMapEnvSource(in, out, s) +} + func autoConvert_v1_ConfigMapKeySelector_To_api_ConfigMapKeySelector(in *ConfigMapKeySelector, out *api.ConfigMapKeySelector, s conversion.Scope) error { if err := Convert_v1_LocalObjectReference_To_api_LocalObjectReference(&in.LocalObjectReference, &out.LocalObjectReference, s); err != nil { return err @@ -751,6 +777,7 @@ func autoConvert_v1_Container_To_api_Container(in *Container, out *api.Container out.Args = *(*[]string)(unsafe.Pointer(&in.Args)) out.WorkingDir = in.WorkingDir out.Ports = *(*[]api.ContainerPort)(unsafe.Pointer(&in.Ports)) + out.EnvFrom = *(*[]api.EnvFromSource)(unsafe.Pointer(&in.EnvFrom)) out.Env = *(*[]api.EnvVar)(unsafe.Pointer(&in.Env)) if err := Convert_v1_ResourceRequirements_To_api_ResourceRequirements(&in.Resources, &out.Resources, s); err != nil { return err @@ -779,6 +806,7 @@ func autoConvert_api_Container_To_v1_Container(in *api.Container, out *Container out.Args = *(*[]string)(unsafe.Pointer(&in.Args)) out.WorkingDir = in.WorkingDir out.Ports = *(*[]ContainerPort)(unsafe.Pointer(&in.Ports)) + out.EnvFrom = *(*[]EnvFromSource)(unsafe.Pointer(&in.EnvFrom)) out.Env = *(*[]EnvVar)(unsafe.Pointer(&in.Env)) if err := Convert_api_ResourceRequirements_To_v1_ResourceRequirements(&in.Resources, &out.Resources, s); err != nil { return err @@ -1190,6 +1218,26 @@ func Convert_api_EndpointsList_To_v1_EndpointsList(in *api.EndpointsList, out *E return autoConvert_api_EndpointsList_To_v1_EndpointsList(in, out, s) } +func autoConvert_v1_EnvFromSource_To_api_EnvFromSource(in *EnvFromSource, out *api.EnvFromSource, s conversion.Scope) error { + out.Prefix = in.Prefix + out.ConfigMapRef = (*api.ConfigMapEnvSource)(unsafe.Pointer(in.ConfigMapRef)) + return nil +} + +func Convert_v1_EnvFromSource_To_api_EnvFromSource(in *EnvFromSource, out *api.EnvFromSource, s conversion.Scope) error { + return autoConvert_v1_EnvFromSource_To_api_EnvFromSource(in, out, s) +} + +func autoConvert_api_EnvFromSource_To_v1_EnvFromSource(in *api.EnvFromSource, out *EnvFromSource, s conversion.Scope) error { + out.Prefix = in.Prefix + out.ConfigMapRef = (*ConfigMapEnvSource)(unsafe.Pointer(in.ConfigMapRef)) + return nil +} + +func Convert_api_EnvFromSource_To_v1_EnvFromSource(in *api.EnvFromSource, out *EnvFromSource, s conversion.Scope) error { + return autoConvert_api_EnvFromSource_To_v1_EnvFromSource(in, out, s) +} + func autoConvert_v1_EnvVar_To_api_EnvVar(in *EnvVar, out *api.EnvVar, s conversion.Scope) error { out.Name = in.Name out.Value = in.Value diff --git a/pkg/api/v1/zz_generated.deepcopy.go b/pkg/api/v1/zz_generated.deepcopy.go index 7ab30e66..aeab418f 100644 --- a/pkg/api/v1/zz_generated.deepcopy.go +++ b/pkg/api/v1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ limitations under the License. package v1 import ( - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" - types "k8s.io/client-go/pkg/types" + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" + types "k8s.io/apimachinery/pkg/types" reflect "reflect" ) @@ -50,6 +50,7 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ComponentStatus, InType: reflect.TypeOf(&ComponentStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ComponentStatusList, InType: reflect.TypeOf(&ComponentStatusList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMap, InType: reflect.TypeOf(&ConfigMap{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMapEnvSource, InType: reflect.TypeOf(&ConfigMapEnvSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMapKeySelector, InType: reflect.TypeOf(&ConfigMapKeySelector{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMapList, InType: reflect.TypeOf(&ConfigMapList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMapVolumeSource, InType: reflect.TypeOf(&ConfigMapVolumeSource{})}, @@ -71,6 +72,7 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EndpointSubset, InType: reflect.TypeOf(&EndpointSubset{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Endpoints, InType: reflect.TypeOf(&Endpoints{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EndpointsList, InType: reflect.TypeOf(&EndpointsList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EnvFromSource, InType: reflect.TypeOf(&EnvFromSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EnvVar, InType: reflect.TypeOf(&EnvVar{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EnvVarSource, InType: reflect.TypeOf(&EnvVarSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Event, InType: reflect.TypeOf(&Event{})}, @@ -199,10 +201,7 @@ func DeepCopy_v1_AWSElasticBlockStoreVolumeSource(in interface{}, out interface{ { in := in.(*AWSElasticBlockStoreVolumeSource) out := out.(*AWSElasticBlockStoreVolumeSource) - out.VolumeID = in.VolumeID - out.FSType = in.FSType - out.Partition = in.Partition - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -211,14 +210,13 @@ func DeepCopy_v1_Affinity(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*Affinity) out := out.(*Affinity) + *out = *in if in.NodeAffinity != nil { in, out := &in.NodeAffinity, &out.NodeAffinity *out = new(NodeAffinity) if err := DeepCopy_v1_NodeAffinity(*in, *out, c); err != nil { return err } - } else { - out.NodeAffinity = nil } if in.PodAffinity != nil { in, out := &in.PodAffinity, &out.PodAffinity @@ -226,8 +224,6 @@ func DeepCopy_v1_Affinity(in interface{}, out interface{}, c *conversion.Cloner) if err := DeepCopy_v1_PodAffinity(*in, *out, c); err != nil { return err } - } else { - out.PodAffinity = nil } if in.PodAntiAffinity != nil { in, out := &in.PodAntiAffinity, &out.PodAntiAffinity @@ -235,8 +231,6 @@ func DeepCopy_v1_Affinity(in interface{}, out interface{}, c *conversion.Cloner) if err := DeepCopy_v1_PodAntiAffinity(*in, *out, c); err != nil { return err } - } else { - out.PodAntiAffinity = nil } return nil } @@ -246,8 +240,7 @@ func DeepCopy_v1_AttachedVolume(in interface{}, out interface{}, c *conversion.C { in := in.(*AttachedVolume) out := out.(*AttachedVolume) - out.Name = in.Name - out.DevicePath = in.DevicePath + *out = *in return nil } } @@ -256,6 +249,7 @@ func DeepCopy_v1_AvoidPods(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*AvoidPods) out := out.(*AvoidPods) + *out = *in if in.PreferAvoidPods != nil { in, out := &in.PreferAvoidPods, &out.PreferAvoidPods *out = make([]PreferAvoidPodsEntry, len(*in)) @@ -264,8 +258,6 @@ func DeepCopy_v1_AvoidPods(in interface{}, out interface{}, c *conversion.Cloner return err } } - } else { - out.PreferAvoidPods = nil } return nil } @@ -275,28 +267,21 @@ func DeepCopy_v1_AzureDiskVolumeSource(in interface{}, out interface{}, c *conve { in := in.(*AzureDiskVolumeSource) out := out.(*AzureDiskVolumeSource) - out.DiskName = in.DiskName - out.DataDiskURI = in.DataDiskURI + *out = *in if in.CachingMode != nil { in, out := &in.CachingMode, &out.CachingMode *out = new(AzureDataDiskCachingMode) **out = **in - } else { - out.CachingMode = nil } if in.FSType != nil { in, out := &in.FSType, &out.FSType *out = new(string) **out = **in - } else { - out.FSType = nil } if in.ReadOnly != nil { in, out := &in.ReadOnly, &out.ReadOnly *out = new(bool) **out = **in - } else { - out.ReadOnly = nil } return nil } @@ -306,9 +291,7 @@ func DeepCopy_v1_AzureFileVolumeSource(in interface{}, out interface{}, c *conve { in := in.(*AzureFileVolumeSource) out := out.(*AzureFileVolumeSource) - out.SecretName = in.SecretName - out.ShareName = in.ShareName - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -317,11 +300,10 @@ func DeepCopy_v1_Binding(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*Binding) out := out.(*Binding) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Target = in.Target return nil } } @@ -330,14 +312,13 @@ func DeepCopy_v1_Capabilities(in interface{}, out interface{}, c *conversion.Clo { in := in.(*Capabilities) out := out.(*Capabilities) + *out = *in if in.Add != nil { in, out := &in.Add, &out.Add *out = make([]Capability, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Add = nil } if in.Drop != nil { in, out := &in.Drop, &out.Drop @@ -345,8 +326,6 @@ func DeepCopy_v1_Capabilities(in interface{}, out interface{}, c *conversion.Clo for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Drop = nil } return nil } @@ -356,24 +335,17 @@ func DeepCopy_v1_CephFSVolumeSource(in interface{}, out interface{}, c *conversi { in := in.(*CephFSVolumeSource) out := out.(*CephFSVolumeSource) + *out = *in if in.Monitors != nil { in, out := &in.Monitors, &out.Monitors *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Monitors = nil } - out.Path = in.Path - out.User = in.User - out.SecretFile = in.SecretFile if in.SecretRef != nil { in, out := &in.SecretRef, &out.SecretRef *out = new(LocalObjectReference) **out = **in - } else { - out.SecretRef = nil } - out.ReadOnly = in.ReadOnly return nil } } @@ -382,9 +354,7 @@ func DeepCopy_v1_CinderVolumeSource(in interface{}, out interface{}, c *conversi { in := in.(*CinderVolumeSource) out := out.(*CinderVolumeSource) - out.VolumeID = in.VolumeID - out.FSType = in.FSType - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -393,10 +363,7 @@ func DeepCopy_v1_ComponentCondition(in interface{}, out interface{}, c *conversi { in := in.(*ComponentCondition) out := out.(*ComponentCondition) - out.Type = in.Type - out.Status = in.Status - out.Message = in.Message - out.Error = in.Error + *out = *in return nil } } @@ -405,7 +372,7 @@ func DeepCopy_v1_ComponentStatus(in interface{}, out interface{}, c *conversion. { in := in.(*ComponentStatus) out := out.(*ComponentStatus) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -415,8 +382,6 @@ func DeepCopy_v1_ComponentStatus(in interface{}, out interface{}, c *conversion. for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Conditions = nil } return nil } @@ -426,8 +391,7 @@ func DeepCopy_v1_ComponentStatusList(in interface{}, out interface{}, c *convers { in := in.(*ComponentStatusList) out := out.(*ComponentStatusList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ComponentStatus, len(*in)) @@ -436,8 +400,6 @@ func DeepCopy_v1_ComponentStatusList(in interface{}, out interface{}, c *convers return err } } - } else { - out.Items = nil } return nil } @@ -447,7 +409,7 @@ func DeepCopy_v1_ConfigMap(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*ConfigMap) out := out.(*ConfigMap) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -457,19 +419,25 @@ func DeepCopy_v1_ConfigMap(in interface{}, out interface{}, c *conversion.Cloner for key, val := range *in { (*out)[key] = val } - } else { - out.Data = nil } return nil } } +func DeepCopy_v1_ConfigMapEnvSource(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*ConfigMapEnvSource) + out := out.(*ConfigMapEnvSource) + *out = *in + return nil + } +} + func DeepCopy_v1_ConfigMapKeySelector(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ConfigMapKeySelector) out := out.(*ConfigMapKeySelector) - out.LocalObjectReference = in.LocalObjectReference - out.Key = in.Key + *out = *in return nil } } @@ -478,8 +446,7 @@ func DeepCopy_v1_ConfigMapList(in interface{}, out interface{}, c *conversion.Cl { in := in.(*ConfigMapList) out := out.(*ConfigMapList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ConfigMap, len(*in)) @@ -488,8 +455,6 @@ func DeepCopy_v1_ConfigMapList(in interface{}, out interface{}, c *conversion.Cl return err } } - } else { - out.Items = nil } return nil } @@ -499,7 +464,7 @@ func DeepCopy_v1_ConfigMapVolumeSource(in interface{}, out interface{}, c *conve { in := in.(*ConfigMapVolumeSource) out := out.(*ConfigMapVolumeSource) - out.LocalObjectReference = in.LocalObjectReference + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]KeyToPath, len(*in)) @@ -508,15 +473,11 @@ func DeepCopy_v1_ConfigMapVolumeSource(in interface{}, out interface{}, c *conve return err } } - } else { - out.Items = nil } if in.DefaultMode != nil { in, out := &in.DefaultMode, &out.DefaultMode *out = new(int32) **out = **in - } else { - out.DefaultMode = nil } return nil } @@ -526,31 +487,32 @@ func DeepCopy_v1_Container(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*Container) out := out.(*Container) - out.Name = in.Name - out.Image = in.Image + *out = *in if in.Command != nil { in, out := &in.Command, &out.Command *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Command = nil } if in.Args != nil { in, out := &in.Args, &out.Args *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Args = nil } - out.WorkingDir = in.WorkingDir if in.Ports != nil { in, out := &in.Ports, &out.Ports *out = make([]ContainerPort, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Ports = nil + } + if in.EnvFrom != nil { + in, out := &in.EnvFrom, &out.EnvFrom + *out = make([]EnvFromSource, len(*in)) + for i := range *in { + if err := DeepCopy_v1_EnvFromSource(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } } if in.Env != nil { in, out := &in.Env, &out.Env @@ -560,8 +522,6 @@ func DeepCopy_v1_Container(in interface{}, out interface{}, c *conversion.Cloner return err } } - } else { - out.Env = nil } if err := DeepCopy_v1_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil { return err @@ -572,8 +532,6 @@ func DeepCopy_v1_Container(in interface{}, out interface{}, c *conversion.Cloner for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.VolumeMounts = nil } if in.LivenessProbe != nil { in, out := &in.LivenessProbe, &out.LivenessProbe @@ -581,8 +539,6 @@ func DeepCopy_v1_Container(in interface{}, out interface{}, c *conversion.Cloner if err := DeepCopy_v1_Probe(*in, *out, c); err != nil { return err } - } else { - out.LivenessProbe = nil } if in.ReadinessProbe != nil { in, out := &in.ReadinessProbe, &out.ReadinessProbe @@ -590,8 +546,6 @@ func DeepCopy_v1_Container(in interface{}, out interface{}, c *conversion.Cloner if err := DeepCopy_v1_Probe(*in, *out, c); err != nil { return err } - } else { - out.ReadinessProbe = nil } if in.Lifecycle != nil { in, out := &in.Lifecycle, &out.Lifecycle @@ -599,23 +553,14 @@ func DeepCopy_v1_Container(in interface{}, out interface{}, c *conversion.Cloner if err := DeepCopy_v1_Lifecycle(*in, *out, c); err != nil { return err } - } else { - out.Lifecycle = nil } - out.TerminationMessagePath = in.TerminationMessagePath - out.ImagePullPolicy = in.ImagePullPolicy if in.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext *out = new(SecurityContext) if err := DeepCopy_v1_SecurityContext(*in, *out, c); err != nil { return err } - } else { - out.SecurityContext = nil } - out.Stdin = in.Stdin - out.StdinOnce = in.StdinOnce - out.TTY = in.TTY return nil } } @@ -624,14 +569,12 @@ func DeepCopy_v1_ContainerImage(in interface{}, out interface{}, c *conversion.C { in := in.(*ContainerImage) out := out.(*ContainerImage) + *out = *in if in.Names != nil { in, out := &in.Names, &out.Names *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Names = nil } - out.SizeBytes = in.SizeBytes return nil } } @@ -640,11 +583,7 @@ func DeepCopy_v1_ContainerPort(in interface{}, out interface{}, c *conversion.Cl { in := in.(*ContainerPort) out := out.(*ContainerPort) - out.Name = in.Name - out.HostPort = in.HostPort - out.ContainerPort = in.ContainerPort - out.Protocol = in.Protocol - out.HostIP = in.HostIP + *out = *in return nil } } @@ -653,12 +592,11 @@ func DeepCopy_v1_ContainerState(in interface{}, out interface{}, c *conversion.C { in := in.(*ContainerState) out := out.(*ContainerState) + *out = *in if in.Waiting != nil { in, out := &in.Waiting, &out.Waiting *out = new(ContainerStateWaiting) **out = **in - } else { - out.Waiting = nil } if in.Running != nil { in, out := &in.Running, &out.Running @@ -666,8 +604,6 @@ func DeepCopy_v1_ContainerState(in interface{}, out interface{}, c *conversion.C if err := DeepCopy_v1_ContainerStateRunning(*in, *out, c); err != nil { return err } - } else { - out.Running = nil } if in.Terminated != nil { in, out := &in.Terminated, &out.Terminated @@ -675,8 +611,6 @@ func DeepCopy_v1_ContainerState(in interface{}, out interface{}, c *conversion.C if err := DeepCopy_v1_ContainerStateTerminated(*in, *out, c); err != nil { return err } - } else { - out.Terminated = nil } return nil } @@ -686,6 +620,7 @@ func DeepCopy_v1_ContainerStateRunning(in interface{}, out interface{}, c *conve { in := in.(*ContainerStateRunning) out := out.(*ContainerStateRunning) + *out = *in out.StartedAt = in.StartedAt.DeepCopy() return nil } @@ -695,13 +630,9 @@ func DeepCopy_v1_ContainerStateTerminated(in interface{}, out interface{}, c *co { in := in.(*ContainerStateTerminated) out := out.(*ContainerStateTerminated) - out.ExitCode = in.ExitCode - out.Signal = in.Signal - out.Reason = in.Reason - out.Message = in.Message + *out = *in out.StartedAt = in.StartedAt.DeepCopy() out.FinishedAt = in.FinishedAt.DeepCopy() - out.ContainerID = in.ContainerID return nil } } @@ -710,8 +641,7 @@ func DeepCopy_v1_ContainerStateWaiting(in interface{}, out interface{}, c *conve { in := in.(*ContainerStateWaiting) out := out.(*ContainerStateWaiting) - out.Reason = in.Reason - out.Message = in.Message + *out = *in return nil } } @@ -720,18 +650,13 @@ func DeepCopy_v1_ContainerStatus(in interface{}, out interface{}, c *conversion. { in := in.(*ContainerStatus) out := out.(*ContainerStatus) - out.Name = in.Name + *out = *in if err := DeepCopy_v1_ContainerState(&in.State, &out.State, c); err != nil { return err } if err := DeepCopy_v1_ContainerState(&in.LastTerminationState, &out.LastTerminationState, c); err != nil { return err } - out.Ready = in.Ready - out.RestartCount = in.RestartCount - out.Image = in.Image - out.ImageID = in.ImageID - out.ContainerID = in.ContainerID return nil } } @@ -740,7 +665,7 @@ func DeepCopy_v1_DaemonEndpoint(in interface{}, out interface{}, c *conversion.C { in := in.(*DaemonEndpoint) out := out.(*DaemonEndpoint) - out.Port = in.Port + *out = *in return nil } } @@ -749,13 +674,11 @@ func DeepCopy_v1_DeleteOptions(in interface{}, out interface{}, c *conversion.Cl { in := in.(*DeleteOptions) out := out.(*DeleteOptions) - out.TypeMeta = in.TypeMeta + *out = *in if in.GracePeriodSeconds != nil { in, out := &in.GracePeriodSeconds, &out.GracePeriodSeconds *out = new(int64) **out = **in - } else { - out.GracePeriodSeconds = nil } if in.Preconditions != nil { in, out := &in.Preconditions, &out.Preconditions @@ -763,15 +686,11 @@ func DeepCopy_v1_DeleteOptions(in interface{}, out interface{}, c *conversion.Cl if err := DeepCopy_v1_Preconditions(*in, *out, c); err != nil { return err } - } else { - out.Preconditions = nil } if in.OrphanDependents != nil { in, out := &in.OrphanDependents, &out.OrphanDependents *out = new(bool) **out = **in - } else { - out.OrphanDependents = nil } return nil } @@ -781,13 +700,11 @@ func DeepCopy_v1_DownwardAPIVolumeFile(in interface{}, out interface{}, c *conve { in := in.(*DownwardAPIVolumeFile) out := out.(*DownwardAPIVolumeFile) - out.Path = in.Path + *out = *in if in.FieldRef != nil { in, out := &in.FieldRef, &out.FieldRef *out = new(ObjectFieldSelector) **out = **in - } else { - out.FieldRef = nil } if in.ResourceFieldRef != nil { in, out := &in.ResourceFieldRef, &out.ResourceFieldRef @@ -795,15 +712,11 @@ func DeepCopy_v1_DownwardAPIVolumeFile(in interface{}, out interface{}, c *conve if err := DeepCopy_v1_ResourceFieldSelector(*in, *out, c); err != nil { return err } - } else { - out.ResourceFieldRef = nil } if in.Mode != nil { in, out := &in.Mode, &out.Mode *out = new(int32) **out = **in - } else { - out.Mode = nil } return nil } @@ -813,6 +726,7 @@ func DeepCopy_v1_DownwardAPIVolumeSource(in interface{}, out interface{}, c *con { in := in.(*DownwardAPIVolumeSource) out := out.(*DownwardAPIVolumeSource) + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]DownwardAPIVolumeFile, len(*in)) @@ -821,15 +735,11 @@ func DeepCopy_v1_DownwardAPIVolumeSource(in interface{}, out interface{}, c *con return err } } - } else { - out.Items = nil } if in.DefaultMode != nil { in, out := &in.DefaultMode, &out.DefaultMode *out = new(int32) **out = **in - } else { - out.DefaultMode = nil } return nil } @@ -839,7 +749,7 @@ func DeepCopy_v1_EmptyDirVolumeSource(in interface{}, out interface{}, c *conver { in := in.(*EmptyDirVolumeSource) out := out.(*EmptyDirVolumeSource) - out.Medium = in.Medium + *out = *in return nil } } @@ -848,21 +758,16 @@ func DeepCopy_v1_EndpointAddress(in interface{}, out interface{}, c *conversion. { in := in.(*EndpointAddress) out := out.(*EndpointAddress) - out.IP = in.IP - out.Hostname = in.Hostname + *out = *in if in.NodeName != nil { in, out := &in.NodeName, &out.NodeName *out = new(string) **out = **in - } else { - out.NodeName = nil } if in.TargetRef != nil { in, out := &in.TargetRef, &out.TargetRef *out = new(ObjectReference) **out = **in - } else { - out.TargetRef = nil } return nil } @@ -872,9 +777,7 @@ func DeepCopy_v1_EndpointPort(in interface{}, out interface{}, c *conversion.Clo { in := in.(*EndpointPort) out := out.(*EndpointPort) - out.Name = in.Name - out.Port = in.Port - out.Protocol = in.Protocol + *out = *in return nil } } @@ -883,6 +786,7 @@ func DeepCopy_v1_EndpointSubset(in interface{}, out interface{}, c *conversion.C { in := in.(*EndpointSubset) out := out.(*EndpointSubset) + *out = *in if in.Addresses != nil { in, out := &in.Addresses, &out.Addresses *out = make([]EndpointAddress, len(*in)) @@ -891,8 +795,6 @@ func DeepCopy_v1_EndpointSubset(in interface{}, out interface{}, c *conversion.C return err } } - } else { - out.Addresses = nil } if in.NotReadyAddresses != nil { in, out := &in.NotReadyAddresses, &out.NotReadyAddresses @@ -902,8 +804,6 @@ func DeepCopy_v1_EndpointSubset(in interface{}, out interface{}, c *conversion.C return err } } - } else { - out.NotReadyAddresses = nil } if in.Ports != nil { in, out := &in.Ports, &out.Ports @@ -911,8 +811,6 @@ func DeepCopy_v1_EndpointSubset(in interface{}, out interface{}, c *conversion.C for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Ports = nil } return nil } @@ -922,7 +820,7 @@ func DeepCopy_v1_Endpoints(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*Endpoints) out := out.(*Endpoints) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -934,8 +832,6 @@ func DeepCopy_v1_Endpoints(in interface{}, out interface{}, c *conversion.Cloner return err } } - } else { - out.Subsets = nil } return nil } @@ -945,8 +841,7 @@ func DeepCopy_v1_EndpointsList(in interface{}, out interface{}, c *conversion.Cl { in := in.(*EndpointsList) out := out.(*EndpointsList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Endpoints, len(*in)) @@ -955,8 +850,20 @@ func DeepCopy_v1_EndpointsList(in interface{}, out interface{}, c *conversion.Cl return err } } - } else { - out.Items = nil + } + return nil + } +} + +func DeepCopy_v1_EnvFromSource(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*EnvFromSource) + out := out.(*EnvFromSource) + *out = *in + if in.ConfigMapRef != nil { + in, out := &in.ConfigMapRef, &out.ConfigMapRef + *out = new(ConfigMapEnvSource) + **out = **in } return nil } @@ -966,16 +873,13 @@ func DeepCopy_v1_EnvVar(in interface{}, out interface{}, c *conversion.Cloner) e { in := in.(*EnvVar) out := out.(*EnvVar) - out.Name = in.Name - out.Value = in.Value + *out = *in if in.ValueFrom != nil { in, out := &in.ValueFrom, &out.ValueFrom *out = new(EnvVarSource) if err := DeepCopy_v1_EnvVarSource(*in, *out, c); err != nil { return err } - } else { - out.ValueFrom = nil } return nil } @@ -985,12 +889,11 @@ func DeepCopy_v1_EnvVarSource(in interface{}, out interface{}, c *conversion.Clo { in := in.(*EnvVarSource) out := out.(*EnvVarSource) + *out = *in if in.FieldRef != nil { in, out := &in.FieldRef, &out.FieldRef *out = new(ObjectFieldSelector) **out = **in - } else { - out.FieldRef = nil } if in.ResourceFieldRef != nil { in, out := &in.ResourceFieldRef, &out.ResourceFieldRef @@ -998,22 +901,16 @@ func DeepCopy_v1_EnvVarSource(in interface{}, out interface{}, c *conversion.Clo if err := DeepCopy_v1_ResourceFieldSelector(*in, *out, c); err != nil { return err } - } else { - out.ResourceFieldRef = nil } if in.ConfigMapKeyRef != nil { in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef *out = new(ConfigMapKeySelector) **out = **in - } else { - out.ConfigMapKeyRef = nil } if in.SecretKeyRef != nil { in, out := &in.SecretKeyRef, &out.SecretKeyRef *out = new(SecretKeySelector) **out = **in - } else { - out.SecretKeyRef = nil } return nil } @@ -1023,18 +920,12 @@ func DeepCopy_v1_Event(in interface{}, out interface{}, c *conversion.Cloner) er { in := in.(*Event) out := out.(*Event) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.InvolvedObject = in.InvolvedObject - out.Reason = in.Reason - out.Message = in.Message - out.Source = in.Source out.FirstTimestamp = in.FirstTimestamp.DeepCopy() out.LastTimestamp = in.LastTimestamp.DeepCopy() - out.Count = in.Count - out.Type = in.Type return nil } } @@ -1043,8 +934,7 @@ func DeepCopy_v1_EventList(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*EventList) out := out.(*EventList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Event, len(*in)) @@ -1053,8 +943,6 @@ func DeepCopy_v1_EventList(in interface{}, out interface{}, c *conversion.Cloner return err } } - } else { - out.Items = nil } return nil } @@ -1064,8 +952,7 @@ func DeepCopy_v1_EventSource(in interface{}, out interface{}, c *conversion.Clon { in := in.(*EventSource) out := out.(*EventSource) - out.Component = in.Component - out.Host = in.Host + *out = *in return nil } } @@ -1074,12 +961,11 @@ func DeepCopy_v1_ExecAction(in interface{}, out interface{}, c *conversion.Clone { in := in.(*ExecAction) out := out.(*ExecAction) + *out = *in if in.Command != nil { in, out := &in.Command, &out.Command *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Command = nil } return nil } @@ -1089,22 +975,17 @@ func DeepCopy_v1_FCVolumeSource(in interface{}, out interface{}, c *conversion.C { in := in.(*FCVolumeSource) out := out.(*FCVolumeSource) + *out = *in if in.TargetWWNs != nil { in, out := &in.TargetWWNs, &out.TargetWWNs *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.TargetWWNs = nil } if in.Lun != nil { in, out := &in.Lun, &out.Lun *out = new(int32) **out = **in - } else { - out.Lun = nil } - out.FSType = in.FSType - out.ReadOnly = in.ReadOnly return nil } } @@ -1113,24 +994,18 @@ func DeepCopy_v1_FlexVolumeSource(in interface{}, out interface{}, c *conversion { in := in.(*FlexVolumeSource) out := out.(*FlexVolumeSource) - out.Driver = in.Driver - out.FSType = in.FSType + *out = *in if in.SecretRef != nil { in, out := &in.SecretRef, &out.SecretRef *out = new(LocalObjectReference) **out = **in - } else { - out.SecretRef = nil } - out.ReadOnly = in.ReadOnly if in.Options != nil { in, out := &in.Options, &out.Options *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } - } else { - out.Options = nil } return nil } @@ -1140,8 +1015,7 @@ func DeepCopy_v1_FlockerVolumeSource(in interface{}, out interface{}, c *convers { in := in.(*FlockerVolumeSource) out := out.(*FlockerVolumeSource) - out.DatasetName = in.DatasetName - out.DatasetUUID = in.DatasetUUID + *out = *in return nil } } @@ -1150,10 +1024,7 @@ func DeepCopy_v1_GCEPersistentDiskVolumeSource(in interface{}, out interface{}, { in := in.(*GCEPersistentDiskVolumeSource) out := out.(*GCEPersistentDiskVolumeSource) - out.PDName = in.PDName - out.FSType = in.FSType - out.Partition = in.Partition - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -1162,9 +1033,7 @@ func DeepCopy_v1_GitRepoVolumeSource(in interface{}, out interface{}, c *convers { in := in.(*GitRepoVolumeSource) out := out.(*GitRepoVolumeSource) - out.Repository = in.Repository - out.Revision = in.Revision - out.Directory = in.Directory + *out = *in return nil } } @@ -1173,9 +1042,7 @@ func DeepCopy_v1_GlusterfsVolumeSource(in interface{}, out interface{}, c *conve { in := in.(*GlusterfsVolumeSource) out := out.(*GlusterfsVolumeSource) - out.EndpointsName = in.EndpointsName - out.Path = in.Path - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -1184,18 +1051,13 @@ func DeepCopy_v1_HTTPGetAction(in interface{}, out interface{}, c *conversion.Cl { in := in.(*HTTPGetAction) out := out.(*HTTPGetAction) - out.Path = in.Path - out.Port = in.Port - out.Host = in.Host - out.Scheme = in.Scheme + *out = *in if in.HTTPHeaders != nil { in, out := &in.HTTPHeaders, &out.HTTPHeaders *out = make([]HTTPHeader, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.HTTPHeaders = nil } return nil } @@ -1205,8 +1067,7 @@ func DeepCopy_v1_HTTPHeader(in interface{}, out interface{}, c *conversion.Clone { in := in.(*HTTPHeader) out := out.(*HTTPHeader) - out.Name = in.Name - out.Value = in.Value + *out = *in return nil } } @@ -1215,14 +1076,13 @@ func DeepCopy_v1_Handler(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*Handler) out := out.(*Handler) + *out = *in if in.Exec != nil { in, out := &in.Exec, &out.Exec *out = new(ExecAction) if err := DeepCopy_v1_ExecAction(*in, *out, c); err != nil { return err } - } else { - out.Exec = nil } if in.HTTPGet != nil { in, out := &in.HTTPGet, &out.HTTPGet @@ -1230,15 +1090,11 @@ func DeepCopy_v1_Handler(in interface{}, out interface{}, c *conversion.Cloner) if err := DeepCopy_v1_HTTPGetAction(*in, *out, c); err != nil { return err } - } else { - out.HTTPGet = nil } if in.TCPSocket != nil { in, out := &in.TCPSocket, &out.TCPSocket *out = new(TCPSocketAction) **out = **in - } else { - out.TCPSocket = nil } return nil } @@ -1248,7 +1104,7 @@ func DeepCopy_v1_HostPathVolumeSource(in interface{}, out interface{}, c *conver { in := in.(*HostPathVolumeSource) out := out.(*HostPathVolumeSource) - out.Path = in.Path + *out = *in return nil } } @@ -1257,12 +1113,7 @@ func DeepCopy_v1_ISCSIVolumeSource(in interface{}, out interface{}, c *conversio { in := in.(*ISCSIVolumeSource) out := out.(*ISCSIVolumeSource) - out.TargetPortal = in.TargetPortal - out.IQN = in.IQN - out.Lun = in.Lun - out.ISCSIInterface = in.ISCSIInterface - out.FSType = in.FSType - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -1271,14 +1122,11 @@ func DeepCopy_v1_KeyToPath(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*KeyToPath) out := out.(*KeyToPath) - out.Key = in.Key - out.Path = in.Path + *out = *in if in.Mode != nil { in, out := &in.Mode, &out.Mode *out = new(int32) **out = **in - } else { - out.Mode = nil } return nil } @@ -1288,14 +1136,13 @@ func DeepCopy_v1_Lifecycle(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*Lifecycle) out := out.(*Lifecycle) + *out = *in if in.PostStart != nil { in, out := &in.PostStart, &out.PostStart *out = new(Handler) if err := DeepCopy_v1_Handler(*in, *out, c); err != nil { return err } - } else { - out.PostStart = nil } if in.PreStop != nil { in, out := &in.PreStop, &out.PreStop @@ -1303,8 +1150,6 @@ func DeepCopy_v1_Lifecycle(in interface{}, out interface{}, c *conversion.Cloner if err := DeepCopy_v1_Handler(*in, *out, c); err != nil { return err } - } else { - out.PreStop = nil } return nil } @@ -1314,7 +1159,7 @@ func DeepCopy_v1_LimitRange(in interface{}, out interface{}, c *conversion.Clone { in := in.(*LimitRange) out := out.(*LimitRange) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -1329,15 +1174,13 @@ func DeepCopy_v1_LimitRangeItem(in interface{}, out interface{}, c *conversion.C { in := in.(*LimitRangeItem) out := out.(*LimitRangeItem) - out.Type = in.Type + *out = *in if in.Max != nil { in, out := &in.Max, &out.Max *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Max = nil } if in.Min != nil { in, out := &in.Min, &out.Min @@ -1345,8 +1188,6 @@ func DeepCopy_v1_LimitRangeItem(in interface{}, out interface{}, c *conversion.C for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Min = nil } if in.Default != nil { in, out := &in.Default, &out.Default @@ -1354,8 +1195,6 @@ func DeepCopy_v1_LimitRangeItem(in interface{}, out interface{}, c *conversion.C for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Default = nil } if in.DefaultRequest != nil { in, out := &in.DefaultRequest, &out.DefaultRequest @@ -1363,8 +1202,6 @@ func DeepCopy_v1_LimitRangeItem(in interface{}, out interface{}, c *conversion.C for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.DefaultRequest = nil } if in.MaxLimitRequestRatio != nil { in, out := &in.MaxLimitRequestRatio, &out.MaxLimitRequestRatio @@ -1372,8 +1209,6 @@ func DeepCopy_v1_LimitRangeItem(in interface{}, out interface{}, c *conversion.C for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.MaxLimitRequestRatio = nil } return nil } @@ -1383,8 +1218,7 @@ func DeepCopy_v1_LimitRangeList(in interface{}, out interface{}, c *conversion.C { in := in.(*LimitRangeList) out := out.(*LimitRangeList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]LimitRange, len(*in)) @@ -1393,8 +1227,6 @@ func DeepCopy_v1_LimitRangeList(in interface{}, out interface{}, c *conversion.C return err } } - } else { - out.Items = nil } return nil } @@ -1404,6 +1236,7 @@ func DeepCopy_v1_LimitRangeSpec(in interface{}, out interface{}, c *conversion.C { in := in.(*LimitRangeSpec) out := out.(*LimitRangeSpec) + *out = *in if in.Limits != nil { in, out := &in.Limits, &out.Limits *out = make([]LimitRangeItem, len(*in)) @@ -1412,8 +1245,6 @@ func DeepCopy_v1_LimitRangeSpec(in interface{}, out interface{}, c *conversion.C return err } } - } else { - out.Limits = nil } return nil } @@ -1423,18 +1254,17 @@ func DeepCopy_v1_List(in interface{}, out interface{}, c *conversion.Cloner) err { in := in.(*List) out := out.(*List) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]runtime.RawExtension, len(*in)) for i := range *in { - if err := runtime.DeepCopy_runtime_RawExtension(&(*in)[i], &(*out)[i], c); err != nil { + if newVal, err := c.DeepCopy(&(*in)[i]); err != nil { return err + } else { + (*out)[i] = *newVal.(*runtime.RawExtension) } } - } else { - out.Items = nil } return nil } @@ -1444,17 +1274,11 @@ func DeepCopy_v1_ListOptions(in interface{}, out interface{}, c *conversion.Clon { in := in.(*ListOptions) out := out.(*ListOptions) - out.TypeMeta = in.TypeMeta - out.LabelSelector = in.LabelSelector - out.FieldSelector = in.FieldSelector - out.Watch = in.Watch - out.ResourceVersion = in.ResourceVersion + *out = *in if in.TimeoutSeconds != nil { in, out := &in.TimeoutSeconds, &out.TimeoutSeconds *out = new(int64) **out = **in - } else { - out.TimeoutSeconds = nil } return nil } @@ -1464,8 +1288,7 @@ func DeepCopy_v1_LoadBalancerIngress(in interface{}, out interface{}, c *convers { in := in.(*LoadBalancerIngress) out := out.(*LoadBalancerIngress) - out.IP = in.IP - out.Hostname = in.Hostname + *out = *in return nil } } @@ -1474,14 +1297,13 @@ func DeepCopy_v1_LoadBalancerStatus(in interface{}, out interface{}, c *conversi { in := in.(*LoadBalancerStatus) out := out.(*LoadBalancerStatus) + *out = *in if in.Ingress != nil { in, out := &in.Ingress, &out.Ingress *out = make([]LoadBalancerIngress, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Ingress = nil } return nil } @@ -1491,7 +1313,7 @@ func DeepCopy_v1_LocalObjectReference(in interface{}, out interface{}, c *conver { in := in.(*LocalObjectReference) out := out.(*LocalObjectReference) - out.Name = in.Name + *out = *in return nil } } @@ -1500,9 +1322,7 @@ func DeepCopy_v1_NFSVolumeSource(in interface{}, out interface{}, c *conversion. { in := in.(*NFSVolumeSource) out := out.(*NFSVolumeSource) - out.Server = in.Server - out.Path = in.Path - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -1511,14 +1331,13 @@ func DeepCopy_v1_Namespace(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*Namespace) out := out.(*Namespace) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } if err := DeepCopy_v1_NamespaceSpec(&in.Spec, &out.Spec, c); err != nil { return err } - out.Status = in.Status return nil } } @@ -1527,8 +1346,7 @@ func DeepCopy_v1_NamespaceList(in interface{}, out interface{}, c *conversion.Cl { in := in.(*NamespaceList) out := out.(*NamespaceList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Namespace, len(*in)) @@ -1537,8 +1355,6 @@ func DeepCopy_v1_NamespaceList(in interface{}, out interface{}, c *conversion.Cl return err } } - } else { - out.Items = nil } return nil } @@ -1548,14 +1364,13 @@ func DeepCopy_v1_NamespaceSpec(in interface{}, out interface{}, c *conversion.Cl { in := in.(*NamespaceSpec) out := out.(*NamespaceSpec) + *out = *in if in.Finalizers != nil { in, out := &in.Finalizers, &out.Finalizers *out = make([]FinalizerName, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Finalizers = nil } return nil } @@ -1565,7 +1380,7 @@ func DeepCopy_v1_NamespaceStatus(in interface{}, out interface{}, c *conversion. { in := in.(*NamespaceStatus) out := out.(*NamespaceStatus) - out.Phase = in.Phase + *out = *in return nil } } @@ -1574,11 +1389,10 @@ func DeepCopy_v1_Node(in interface{}, out interface{}, c *conversion.Cloner) err { in := in.(*Node) out := out.(*Node) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Spec = in.Spec if err := DeepCopy_v1_NodeStatus(&in.Status, &out.Status, c); err != nil { return err } @@ -1590,8 +1404,7 @@ func DeepCopy_v1_NodeAddress(in interface{}, out interface{}, c *conversion.Clon { in := in.(*NodeAddress) out := out.(*NodeAddress) - out.Type = in.Type - out.Address = in.Address + *out = *in return nil } } @@ -1600,14 +1413,13 @@ func DeepCopy_v1_NodeAffinity(in interface{}, out interface{}, c *conversion.Clo { in := in.(*NodeAffinity) out := out.(*NodeAffinity) + *out = *in if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution *out = new(NodeSelector) if err := DeepCopy_v1_NodeSelector(*in, *out, c); err != nil { return err } - } else { - out.RequiredDuringSchedulingIgnoredDuringExecution = nil } if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution @@ -1617,8 +1429,6 @@ func DeepCopy_v1_NodeAffinity(in interface{}, out interface{}, c *conversion.Clo return err } } - } else { - out.PreferredDuringSchedulingIgnoredDuringExecution = nil } return nil } @@ -1628,12 +1438,9 @@ func DeepCopy_v1_NodeCondition(in interface{}, out interface{}, c *conversion.Cl { in := in.(*NodeCondition) out := out.(*NodeCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastHeartbeatTime = in.LastHeartbeatTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -1642,7 +1449,7 @@ func DeepCopy_v1_NodeDaemonEndpoints(in interface{}, out interface{}, c *convers { in := in.(*NodeDaemonEndpoints) out := out.(*NodeDaemonEndpoints) - out.KubeletEndpoint = in.KubeletEndpoint + *out = *in return nil } } @@ -1651,8 +1458,7 @@ func DeepCopy_v1_NodeList(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*NodeList) out := out.(*NodeList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Node, len(*in)) @@ -1661,8 +1467,6 @@ func DeepCopy_v1_NodeList(in interface{}, out interface{}, c *conversion.Cloner) return err } } - } else { - out.Items = nil } return nil } @@ -1672,8 +1476,7 @@ func DeepCopy_v1_NodeProxyOptions(in interface{}, out interface{}, c *conversion { in := in.(*NodeProxyOptions) out := out.(*NodeProxyOptions) - out.TypeMeta = in.TypeMeta - out.Path = in.Path + *out = *in return nil } } @@ -1682,14 +1485,13 @@ func DeepCopy_v1_NodeResources(in interface{}, out interface{}, c *conversion.Cl { in := in.(*NodeResources) out := out.(*NodeResources) + *out = *in if in.Capacity != nil { in, out := &in.Capacity, &out.Capacity *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Capacity = nil } return nil } @@ -1699,6 +1501,7 @@ func DeepCopy_v1_NodeSelector(in interface{}, out interface{}, c *conversion.Clo { in := in.(*NodeSelector) out := out.(*NodeSelector) + *out = *in if in.NodeSelectorTerms != nil { in, out := &in.NodeSelectorTerms, &out.NodeSelectorTerms *out = make([]NodeSelectorTerm, len(*in)) @@ -1707,8 +1510,6 @@ func DeepCopy_v1_NodeSelector(in interface{}, out interface{}, c *conversion.Clo return err } } - } else { - out.NodeSelectorTerms = nil } return nil } @@ -1718,14 +1519,11 @@ func DeepCopy_v1_NodeSelectorRequirement(in interface{}, out interface{}, c *con { in := in.(*NodeSelectorRequirement) out := out.(*NodeSelectorRequirement) - out.Key = in.Key - out.Operator = in.Operator + *out = *in if in.Values != nil { in, out := &in.Values, &out.Values *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Values = nil } return nil } @@ -1735,6 +1533,7 @@ func DeepCopy_v1_NodeSelectorTerm(in interface{}, out interface{}, c *conversion { in := in.(*NodeSelectorTerm) out := out.(*NodeSelectorTerm) + *out = *in if in.MatchExpressions != nil { in, out := &in.MatchExpressions, &out.MatchExpressions *out = make([]NodeSelectorRequirement, len(*in)) @@ -1743,8 +1542,6 @@ func DeepCopy_v1_NodeSelectorTerm(in interface{}, out interface{}, c *conversion return err } } - } else { - out.MatchExpressions = nil } return nil } @@ -1754,10 +1551,7 @@ func DeepCopy_v1_NodeSpec(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*NodeSpec) out := out.(*NodeSpec) - out.PodCIDR = in.PodCIDR - out.ExternalID = in.ExternalID - out.ProviderID = in.ProviderID - out.Unschedulable = in.Unschedulable + *out = *in return nil } } @@ -1766,14 +1560,13 @@ func DeepCopy_v1_NodeStatus(in interface{}, out interface{}, c *conversion.Clone { in := in.(*NodeStatus) out := out.(*NodeStatus) + *out = *in if in.Capacity != nil { in, out := &in.Capacity, &out.Capacity *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Capacity = nil } if in.Allocatable != nil { in, out := &in.Allocatable, &out.Allocatable @@ -1781,10 +1574,7 @@ func DeepCopy_v1_NodeStatus(in interface{}, out interface{}, c *conversion.Clone for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Allocatable = nil } - out.Phase = in.Phase if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]NodeCondition, len(*in)) @@ -1793,8 +1583,6 @@ func DeepCopy_v1_NodeStatus(in interface{}, out interface{}, c *conversion.Clone return err } } - } else { - out.Conditions = nil } if in.Addresses != nil { in, out := &in.Addresses, &out.Addresses @@ -1802,11 +1590,7 @@ func DeepCopy_v1_NodeStatus(in interface{}, out interface{}, c *conversion.Clone for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Addresses = nil } - out.DaemonEndpoints = in.DaemonEndpoints - out.NodeInfo = in.NodeInfo if in.Images != nil { in, out := &in.Images, &out.Images *out = make([]ContainerImage, len(*in)) @@ -1815,8 +1599,6 @@ func DeepCopy_v1_NodeStatus(in interface{}, out interface{}, c *conversion.Clone return err } } - } else { - out.Images = nil } if in.VolumesInUse != nil { in, out := &in.VolumesInUse, &out.VolumesInUse @@ -1824,8 +1606,6 @@ func DeepCopy_v1_NodeStatus(in interface{}, out interface{}, c *conversion.Clone for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.VolumesInUse = nil } if in.VolumesAttached != nil { in, out := &in.VolumesAttached, &out.VolumesAttached @@ -1833,8 +1613,6 @@ func DeepCopy_v1_NodeStatus(in interface{}, out interface{}, c *conversion.Clone for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.VolumesAttached = nil } return nil } @@ -1844,16 +1622,7 @@ func DeepCopy_v1_NodeSystemInfo(in interface{}, out interface{}, c *conversion.C { in := in.(*NodeSystemInfo) out := out.(*NodeSystemInfo) - out.MachineID = in.MachineID - out.SystemUUID = in.SystemUUID - out.BootID = in.BootID - out.KernelVersion = in.KernelVersion - out.OSImage = in.OSImage - out.ContainerRuntimeVersion = in.ContainerRuntimeVersion - out.KubeletVersion = in.KubeletVersion - out.KubeProxyVersion = in.KubeProxyVersion - out.OperatingSystem = in.OperatingSystem - out.Architecture = in.Architecture + *out = *in return nil } } @@ -1862,8 +1631,7 @@ func DeepCopy_v1_ObjectFieldSelector(in interface{}, out interface{}, c *convers { in := in.(*ObjectFieldSelector) out := out.(*ObjectFieldSelector) - out.APIVersion = in.APIVersion - out.FieldPath = in.FieldPath + *out = *in return nil } } @@ -1872,27 +1640,17 @@ func DeepCopy_v1_ObjectMeta(in interface{}, out interface{}, c *conversion.Clone { in := in.(*ObjectMeta) out := out.(*ObjectMeta) - out.Name = in.Name - out.GenerateName = in.GenerateName - out.Namespace = in.Namespace - out.SelfLink = in.SelfLink - out.UID = in.UID - out.ResourceVersion = in.ResourceVersion - out.Generation = in.Generation + *out = *in out.CreationTimestamp = in.CreationTimestamp.DeepCopy() if in.DeletionTimestamp != nil { in, out := &in.DeletionTimestamp, &out.DeletionTimestamp *out = new(meta_v1.Time) **out = (*in).DeepCopy() - } else { - out.DeletionTimestamp = nil } if in.DeletionGracePeriodSeconds != nil { in, out := &in.DeletionGracePeriodSeconds, &out.DeletionGracePeriodSeconds *out = new(int64) **out = **in - } else { - out.DeletionGracePeriodSeconds = nil } if in.Labels != nil { in, out := &in.Labels, &out.Labels @@ -1900,8 +1658,6 @@ func DeepCopy_v1_ObjectMeta(in interface{}, out interface{}, c *conversion.Clone for key, val := range *in { (*out)[key] = val } - } else { - out.Labels = nil } if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -1909,28 +1665,23 @@ func DeepCopy_v1_ObjectMeta(in interface{}, out interface{}, c *conversion.Clone for key, val := range *in { (*out)[key] = val } - } else { - out.Annotations = nil } if in.OwnerReferences != nil { in, out := &in.OwnerReferences, &out.OwnerReferences *out = make([]meta_v1.OwnerReference, len(*in)) for i := range *in { - if err := meta_v1.DeepCopy_v1_OwnerReference(&(*in)[i], &(*out)[i], c); err != nil { + if newVal, err := c.DeepCopy(&(*in)[i]); err != nil { return err + } else { + (*out)[i] = *newVal.(*meta_v1.OwnerReference) } } - } else { - out.OwnerReferences = nil } if in.Finalizers != nil { in, out := &in.Finalizers, &out.Finalizers *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Finalizers = nil } - out.ClusterName = in.ClusterName return nil } } @@ -1939,13 +1690,7 @@ func DeepCopy_v1_ObjectReference(in interface{}, out interface{}, c *conversion. { in := in.(*ObjectReference) out := out.(*ObjectReference) - out.Kind = in.Kind - out.Namespace = in.Namespace - out.Name = in.Name - out.UID = in.UID - out.APIVersion = in.APIVersion - out.ResourceVersion = in.ResourceVersion - out.FieldPath = in.FieldPath + *out = *in return nil } } @@ -1954,14 +1699,13 @@ func DeepCopy_v1_PersistentVolume(in interface{}, out interface{}, c *conversion { in := in.(*PersistentVolume) out := out.(*PersistentVolume) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } if err := DeepCopy_v1_PersistentVolumeSpec(&in.Spec, &out.Spec, c); err != nil { return err } - out.Status = in.Status return nil } } @@ -1970,7 +1714,7 @@ func DeepCopy_v1_PersistentVolumeClaim(in interface{}, out interface{}, c *conve { in := in.(*PersistentVolumeClaim) out := out.(*PersistentVolumeClaim) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -1988,8 +1732,7 @@ func DeepCopy_v1_PersistentVolumeClaimList(in interface{}, out interface{}, c *c { in := in.(*PersistentVolumeClaimList) out := out.(*PersistentVolumeClaimList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PersistentVolumeClaim, len(*in)) @@ -1998,8 +1741,6 @@ func DeepCopy_v1_PersistentVolumeClaimList(in interface{}, out interface{}, c *c return err } } - } else { - out.Items = nil } return nil } @@ -2009,28 +1750,25 @@ func DeepCopy_v1_PersistentVolumeClaimSpec(in interface{}, out interface{}, c *c { in := in.(*PersistentVolumeClaimSpec) out := out.(*PersistentVolumeClaimSpec) + *out = *in if in.AccessModes != nil { in, out := &in.AccessModes, &out.AccessModes *out = make([]PersistentVolumeAccessMode, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.AccessModes = nil } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(meta_v1.LabelSelector) - if err := meta_v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*meta_v1.LabelSelector) } - } else { - out.Selector = nil } if err := DeepCopy_v1_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil { return err } - out.VolumeName = in.VolumeName return nil } } @@ -2039,15 +1777,13 @@ func DeepCopy_v1_PersistentVolumeClaimStatus(in interface{}, out interface{}, c { in := in.(*PersistentVolumeClaimStatus) out := out.(*PersistentVolumeClaimStatus) - out.Phase = in.Phase + *out = *in if in.AccessModes != nil { in, out := &in.AccessModes, &out.AccessModes *out = make([]PersistentVolumeAccessMode, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.AccessModes = nil } if in.Capacity != nil { in, out := &in.Capacity, &out.Capacity @@ -2055,8 +1791,6 @@ func DeepCopy_v1_PersistentVolumeClaimStatus(in interface{}, out interface{}, c for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Capacity = nil } return nil } @@ -2066,8 +1800,7 @@ func DeepCopy_v1_PersistentVolumeClaimVolumeSource(in interface{}, out interface { in := in.(*PersistentVolumeClaimVolumeSource) out := out.(*PersistentVolumeClaimVolumeSource) - out.ClaimName = in.ClaimName - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -2076,8 +1809,7 @@ func DeepCopy_v1_PersistentVolumeList(in interface{}, out interface{}, c *conver { in := in.(*PersistentVolumeList) out := out.(*PersistentVolumeList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PersistentVolume, len(*in)) @@ -2086,8 +1818,6 @@ func DeepCopy_v1_PersistentVolumeList(in interface{}, out interface{}, c *conver return err } } - } else { - out.Items = nil } return nil } @@ -2097,40 +1827,31 @@ func DeepCopy_v1_PersistentVolumeSource(in interface{}, out interface{}, c *conv { in := in.(*PersistentVolumeSource) out := out.(*PersistentVolumeSource) + *out = *in if in.GCEPersistentDisk != nil { in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk *out = new(GCEPersistentDiskVolumeSource) **out = **in - } else { - out.GCEPersistentDisk = nil } if in.AWSElasticBlockStore != nil { in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore *out = new(AWSElasticBlockStoreVolumeSource) **out = **in - } else { - out.AWSElasticBlockStore = nil } if in.HostPath != nil { in, out := &in.HostPath, &out.HostPath *out = new(HostPathVolumeSource) **out = **in - } else { - out.HostPath = nil } if in.Glusterfs != nil { in, out := &in.Glusterfs, &out.Glusterfs *out = new(GlusterfsVolumeSource) **out = **in - } else { - out.Glusterfs = nil } if in.NFS != nil { in, out := &in.NFS, &out.NFS *out = new(NFSVolumeSource) **out = **in - } else { - out.NFS = nil } if in.RBD != nil { in, out := &in.RBD, &out.RBD @@ -2138,22 +1859,16 @@ func DeepCopy_v1_PersistentVolumeSource(in interface{}, out interface{}, c *conv if err := DeepCopy_v1_RBDVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.RBD = nil } if in.ISCSI != nil { in, out := &in.ISCSI, &out.ISCSI *out = new(ISCSIVolumeSource) **out = **in - } else { - out.ISCSI = nil } if in.Cinder != nil { in, out := &in.Cinder, &out.Cinder *out = new(CinderVolumeSource) **out = **in - } else { - out.Cinder = nil } if in.CephFS != nil { in, out := &in.CephFS, &out.CephFS @@ -2161,8 +1876,6 @@ func DeepCopy_v1_PersistentVolumeSource(in interface{}, out interface{}, c *conv if err := DeepCopy_v1_CephFSVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.CephFS = nil } if in.FC != nil { in, out := &in.FC, &out.FC @@ -2170,15 +1883,11 @@ func DeepCopy_v1_PersistentVolumeSource(in interface{}, out interface{}, c *conv if err := DeepCopy_v1_FCVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.FC = nil } if in.Flocker != nil { in, out := &in.Flocker, &out.Flocker *out = new(FlockerVolumeSource) **out = **in - } else { - out.Flocker = nil } if in.FlexVolume != nil { in, out := &in.FlexVolume, &out.FlexVolume @@ -2186,29 +1895,21 @@ func DeepCopy_v1_PersistentVolumeSource(in interface{}, out interface{}, c *conv if err := DeepCopy_v1_FlexVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.FlexVolume = nil } if in.AzureFile != nil { in, out := &in.AzureFile, &out.AzureFile *out = new(AzureFileVolumeSource) **out = **in - } else { - out.AzureFile = nil } if in.VsphereVolume != nil { in, out := &in.VsphereVolume, &out.VsphereVolume *out = new(VsphereVirtualDiskVolumeSource) **out = **in - } else { - out.VsphereVolume = nil } if in.Quobyte != nil { in, out := &in.Quobyte, &out.Quobyte *out = new(QuobyteVolumeSource) **out = **in - } else { - out.Quobyte = nil } if in.AzureDisk != nil { in, out := &in.AzureDisk, &out.AzureDisk @@ -2216,15 +1917,11 @@ func DeepCopy_v1_PersistentVolumeSource(in interface{}, out interface{}, c *conv if err := DeepCopy_v1_AzureDiskVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.AzureDisk = nil } if in.PhotonPersistentDisk != nil { in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk *out = new(PhotonPersistentDiskVolumeSource) **out = **in - } else { - out.PhotonPersistentDisk = nil } return nil } @@ -2234,14 +1931,13 @@ func DeepCopy_v1_PersistentVolumeSpec(in interface{}, out interface{}, c *conver { in := in.(*PersistentVolumeSpec) out := out.(*PersistentVolumeSpec) + *out = *in if in.Capacity != nil { in, out := &in.Capacity, &out.Capacity *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Capacity = nil } if err := DeepCopy_v1_PersistentVolumeSource(&in.PersistentVolumeSource, &out.PersistentVolumeSource, c); err != nil { return err @@ -2252,17 +1948,12 @@ func DeepCopy_v1_PersistentVolumeSpec(in interface{}, out interface{}, c *conver for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.AccessModes = nil } if in.ClaimRef != nil { in, out := &in.ClaimRef, &out.ClaimRef *out = new(ObjectReference) **out = **in - } else { - out.ClaimRef = nil } - out.PersistentVolumeReclaimPolicy = in.PersistentVolumeReclaimPolicy return nil } } @@ -2271,9 +1962,7 @@ func DeepCopy_v1_PersistentVolumeStatus(in interface{}, out interface{}, c *conv { in := in.(*PersistentVolumeStatus) out := out.(*PersistentVolumeStatus) - out.Phase = in.Phase - out.Message = in.Message - out.Reason = in.Reason + *out = *in return nil } } @@ -2282,8 +1971,7 @@ func DeepCopy_v1_PhotonPersistentDiskVolumeSource(in interface{}, out interface{ { in := in.(*PhotonPersistentDiskVolumeSource) out := out.(*PhotonPersistentDiskVolumeSource) - out.PdID = in.PdID - out.FSType = in.FSType + *out = *in return nil } } @@ -2292,7 +1980,7 @@ func DeepCopy_v1_Pod(in interface{}, out interface{}, c *conversion.Cloner) erro { in := in.(*Pod) out := out.(*Pod) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -2310,6 +1998,7 @@ func DeepCopy_v1_PodAffinity(in interface{}, out interface{}, c *conversion.Clon { in := in.(*PodAffinity) out := out.(*PodAffinity) + *out = *in if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution *out = make([]PodAffinityTerm, len(*in)) @@ -2318,8 +2007,6 @@ func DeepCopy_v1_PodAffinity(in interface{}, out interface{}, c *conversion.Clon return err } } - } else { - out.RequiredDuringSchedulingIgnoredDuringExecution = nil } if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution @@ -2329,8 +2016,6 @@ func DeepCopy_v1_PodAffinity(in interface{}, out interface{}, c *conversion.Clon return err } } - } else { - out.PreferredDuringSchedulingIgnoredDuringExecution = nil } return nil } @@ -2340,23 +2025,20 @@ func DeepCopy_v1_PodAffinityTerm(in interface{}, out interface{}, c *conversion. { in := in.(*PodAffinityTerm) out := out.(*PodAffinityTerm) + *out = *in if in.LabelSelector != nil { in, out := &in.LabelSelector, &out.LabelSelector - *out = new(meta_v1.LabelSelector) - if err := meta_v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*meta_v1.LabelSelector) } - } else { - out.LabelSelector = nil } if in.Namespaces != nil { in, out := &in.Namespaces, &out.Namespaces *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Namespaces = nil } - out.TopologyKey = in.TopologyKey return nil } } @@ -2365,6 +2047,7 @@ func DeepCopy_v1_PodAntiAffinity(in interface{}, out interface{}, c *conversion. { in := in.(*PodAntiAffinity) out := out.(*PodAntiAffinity) + *out = *in if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution *out = make([]PodAffinityTerm, len(*in)) @@ -2373,8 +2056,6 @@ func DeepCopy_v1_PodAntiAffinity(in interface{}, out interface{}, c *conversion. return err } } - } else { - out.RequiredDuringSchedulingIgnoredDuringExecution = nil } if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution @@ -2384,8 +2065,6 @@ func DeepCopy_v1_PodAntiAffinity(in interface{}, out interface{}, c *conversion. return err } } - } else { - out.PreferredDuringSchedulingIgnoredDuringExecution = nil } return nil } @@ -2395,12 +2074,7 @@ func DeepCopy_v1_PodAttachOptions(in interface{}, out interface{}, c *conversion { in := in.(*PodAttachOptions) out := out.(*PodAttachOptions) - out.TypeMeta = in.TypeMeta - out.Stdin = in.Stdin - out.Stdout = in.Stdout - out.Stderr = in.Stderr - out.TTY = in.TTY - out.Container = in.Container + *out = *in return nil } } @@ -2409,12 +2083,9 @@ func DeepCopy_v1_PodCondition(in interface{}, out interface{}, c *conversion.Clo { in := in.(*PodCondition) out := out.(*PodCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastProbeTime = in.LastProbeTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -2423,18 +2094,11 @@ func DeepCopy_v1_PodExecOptions(in interface{}, out interface{}, c *conversion.C { in := in.(*PodExecOptions) out := out.(*PodExecOptions) - out.TypeMeta = in.TypeMeta - out.Stdin = in.Stdin - out.Stdout = in.Stdout - out.Stderr = in.Stderr - out.TTY = in.TTY - out.Container = in.Container + *out = *in if in.Command != nil { in, out := &in.Command, &out.Command *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Command = nil } return nil } @@ -2444,8 +2108,7 @@ func DeepCopy_v1_PodList(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*PodList) out := out.(*PodList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Pod, len(*in)) @@ -2454,8 +2117,6 @@ func DeepCopy_v1_PodList(in interface{}, out interface{}, c *conversion.Cloner) return err } } - } else { - out.Items = nil } return nil } @@ -2465,38 +2126,26 @@ func DeepCopy_v1_PodLogOptions(in interface{}, out interface{}, c *conversion.Cl { in := in.(*PodLogOptions) out := out.(*PodLogOptions) - out.TypeMeta = in.TypeMeta - out.Container = in.Container - out.Follow = in.Follow - out.Previous = in.Previous + *out = *in if in.SinceSeconds != nil { in, out := &in.SinceSeconds, &out.SinceSeconds *out = new(int64) **out = **in - } else { - out.SinceSeconds = nil } if in.SinceTime != nil { in, out := &in.SinceTime, &out.SinceTime *out = new(meta_v1.Time) **out = (*in).DeepCopy() - } else { - out.SinceTime = nil } - out.Timestamps = in.Timestamps if in.TailLines != nil { in, out := &in.TailLines, &out.TailLines *out = new(int64) **out = **in - } else { - out.TailLines = nil } if in.LimitBytes != nil { in, out := &in.LimitBytes, &out.LimitBytes *out = new(int64) **out = **in - } else { - out.LimitBytes = nil } return nil } @@ -2506,8 +2155,7 @@ func DeepCopy_v1_PodProxyOptions(in interface{}, out interface{}, c *conversion. { in := in.(*PodProxyOptions) out := out.(*PodProxyOptions) - out.TypeMeta = in.TypeMeta - out.Path = in.Path + *out = *in return nil } } @@ -2516,40 +2164,31 @@ func DeepCopy_v1_PodSecurityContext(in interface{}, out interface{}, c *conversi { in := in.(*PodSecurityContext) out := out.(*PodSecurityContext) + *out = *in if in.SELinuxOptions != nil { in, out := &in.SELinuxOptions, &out.SELinuxOptions *out = new(SELinuxOptions) **out = **in - } else { - out.SELinuxOptions = nil } if in.RunAsUser != nil { in, out := &in.RunAsUser, &out.RunAsUser *out = new(int64) **out = **in - } else { - out.RunAsUser = nil } if in.RunAsNonRoot != nil { in, out := &in.RunAsNonRoot, &out.RunAsNonRoot *out = new(bool) **out = **in - } else { - out.RunAsNonRoot = nil } if in.SupplementalGroups != nil { in, out := &in.SupplementalGroups, &out.SupplementalGroups *out = make([]int64, len(*in)) copy(*out, *in) - } else { - out.SupplementalGroups = nil } if in.FSGroup != nil { in, out := &in.FSGroup, &out.FSGroup *out = new(int64) **out = **in - } else { - out.FSGroup = nil } return nil } @@ -2559,14 +2198,14 @@ func DeepCopy_v1_PodSignature(in interface{}, out interface{}, c *conversion.Clo { in := in.(*PodSignature) out := out.(*PodSignature) + *out = *in if in.PodController != nil { in, out := &in.PodController, &out.PodController - *out = new(meta_v1.OwnerReference) - if err := meta_v1.DeepCopy_v1_OwnerReference(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*meta_v1.OwnerReference) } - } else { - out.PodController = nil } return nil } @@ -2576,6 +2215,7 @@ func DeepCopy_v1_PodSpec(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*PodSpec) out := out.(*PodSpec) + *out = *in if in.Volumes != nil { in, out := &in.Volumes, &out.Volumes *out = make([]Volume, len(*in)) @@ -2584,8 +2224,6 @@ func DeepCopy_v1_PodSpec(in interface{}, out interface{}, c *conversion.Cloner) return err } } - } else { - out.Volumes = nil } if in.InitContainers != nil { in, out := &in.InitContainers, &out.InitContainers @@ -2595,8 +2233,6 @@ func DeepCopy_v1_PodSpec(in interface{}, out interface{}, c *conversion.Cloner) return err } } - } else { - out.InitContainers = nil } if in.Containers != nil { in, out := &in.Containers, &out.Containers @@ -2606,48 +2242,30 @@ func DeepCopy_v1_PodSpec(in interface{}, out interface{}, c *conversion.Cloner) return err } } - } else { - out.Containers = nil } - out.RestartPolicy = in.RestartPolicy if in.TerminationGracePeriodSeconds != nil { in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds *out = new(int64) **out = **in - } else { - out.TerminationGracePeriodSeconds = nil } if in.ActiveDeadlineSeconds != nil { in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds *out = new(int64) **out = **in - } else { - out.ActiveDeadlineSeconds = nil } - out.DNSPolicy = in.DNSPolicy if in.NodeSelector != nil { in, out := &in.NodeSelector, &out.NodeSelector *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } - } else { - out.NodeSelector = nil } - out.ServiceAccountName = in.ServiceAccountName - out.DeprecatedServiceAccount = in.DeprecatedServiceAccount - out.NodeName = in.NodeName - out.HostNetwork = in.HostNetwork - out.HostPID = in.HostPID - out.HostIPC = in.HostIPC if in.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext *out = new(PodSecurityContext) if err := DeepCopy_v1_PodSecurityContext(*in, *out, c); err != nil { return err } - } else { - out.SecurityContext = nil } if in.ImagePullSecrets != nil { in, out := &in.ImagePullSecrets, &out.ImagePullSecrets @@ -2655,19 +2273,13 @@ func DeepCopy_v1_PodSpec(in interface{}, out interface{}, c *conversion.Cloner) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.ImagePullSecrets = nil } - out.Hostname = in.Hostname - out.Subdomain = in.Subdomain if in.Affinity != nil { in, out := &in.Affinity, &out.Affinity *out = new(Affinity) if err := DeepCopy_v1_Affinity(*in, *out, c); err != nil { return err } - } else { - out.Affinity = nil } return nil } @@ -2677,7 +2289,7 @@ func DeepCopy_v1_PodStatus(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*PodStatus) out := out.(*PodStatus) - out.Phase = in.Phase + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]PodCondition, len(*in)) @@ -2686,19 +2298,11 @@ func DeepCopy_v1_PodStatus(in interface{}, out interface{}, c *conversion.Cloner return err } } - } else { - out.Conditions = nil } - out.Message = in.Message - out.Reason = in.Reason - out.HostIP = in.HostIP - out.PodIP = in.PodIP if in.StartTime != nil { in, out := &in.StartTime, &out.StartTime *out = new(meta_v1.Time) **out = (*in).DeepCopy() - } else { - out.StartTime = nil } if in.InitContainerStatuses != nil { in, out := &in.InitContainerStatuses, &out.InitContainerStatuses @@ -2708,8 +2312,6 @@ func DeepCopy_v1_PodStatus(in interface{}, out interface{}, c *conversion.Cloner return err } } - } else { - out.InitContainerStatuses = nil } if in.ContainerStatuses != nil { in, out := &in.ContainerStatuses, &out.ContainerStatuses @@ -2719,10 +2321,7 @@ func DeepCopy_v1_PodStatus(in interface{}, out interface{}, c *conversion.Cloner return err } } - } else { - out.ContainerStatuses = nil } - out.QOSClass = in.QOSClass return nil } } @@ -2731,7 +2330,7 @@ func DeepCopy_v1_PodStatusResult(in interface{}, out interface{}, c *conversion. { in := in.(*PodStatusResult) out := out.(*PodStatusResult) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -2746,7 +2345,7 @@ func DeepCopy_v1_PodTemplate(in interface{}, out interface{}, c *conversion.Clon { in := in.(*PodTemplate) out := out.(*PodTemplate) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -2761,8 +2360,7 @@ func DeepCopy_v1_PodTemplateList(in interface{}, out interface{}, c *conversion. { in := in.(*PodTemplateList) out := out.(*PodTemplateList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PodTemplate, len(*in)) @@ -2771,8 +2369,6 @@ func DeepCopy_v1_PodTemplateList(in interface{}, out interface{}, c *conversion. return err } } - } else { - out.Items = nil } return nil } @@ -2782,6 +2378,7 @@ func DeepCopy_v1_PodTemplateSpec(in interface{}, out interface{}, c *conversion. { in := in.(*PodTemplateSpec) out := out.(*PodTemplateSpec) + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -2796,12 +2393,11 @@ func DeepCopy_v1_Preconditions(in interface{}, out interface{}, c *conversion.Cl { in := in.(*Preconditions) out := out.(*Preconditions) + *out = *in if in.UID != nil { in, out := &in.UID, &out.UID *out = new(types.UID) **out = **in - } else { - out.UID = nil } return nil } @@ -2811,12 +2407,11 @@ func DeepCopy_v1_PreferAvoidPodsEntry(in interface{}, out interface{}, c *conver { in := in.(*PreferAvoidPodsEntry) out := out.(*PreferAvoidPodsEntry) + *out = *in if err := DeepCopy_v1_PodSignature(&in.PodSignature, &out.PodSignature, c); err != nil { return err } out.EvictionTime = in.EvictionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -2825,7 +2420,7 @@ func DeepCopy_v1_PreferredSchedulingTerm(in interface{}, out interface{}, c *con { in := in.(*PreferredSchedulingTerm) out := out.(*PreferredSchedulingTerm) - out.Weight = in.Weight + *out = *in if err := DeepCopy_v1_NodeSelectorTerm(&in.Preference, &out.Preference, c); err != nil { return err } @@ -2837,14 +2432,10 @@ func DeepCopy_v1_Probe(in interface{}, out interface{}, c *conversion.Cloner) er { in := in.(*Probe) out := out.(*Probe) + *out = *in if err := DeepCopy_v1_Handler(&in.Handler, &out.Handler, c); err != nil { return err } - out.InitialDelaySeconds = in.InitialDelaySeconds - out.TimeoutSeconds = in.TimeoutSeconds - out.PeriodSeconds = in.PeriodSeconds - out.SuccessThreshold = in.SuccessThreshold - out.FailureThreshold = in.FailureThreshold return nil } } @@ -2853,11 +2444,7 @@ func DeepCopy_v1_QuobyteVolumeSource(in interface{}, out interface{}, c *convers { in := in.(*QuobyteVolumeSource) out := out.(*QuobyteVolumeSource) - out.Registry = in.Registry - out.Volume = in.Volume - out.ReadOnly = in.ReadOnly - out.User = in.User - out.Group = in.Group + *out = *in return nil } } @@ -2866,26 +2453,17 @@ func DeepCopy_v1_RBDVolumeSource(in interface{}, out interface{}, c *conversion. { in := in.(*RBDVolumeSource) out := out.(*RBDVolumeSource) + *out = *in if in.CephMonitors != nil { in, out := &in.CephMonitors, &out.CephMonitors *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.CephMonitors = nil } - out.RBDImage = in.RBDImage - out.FSType = in.FSType - out.RBDPool = in.RBDPool - out.RadosUser = in.RadosUser - out.Keyring = in.Keyring if in.SecretRef != nil { in, out := &in.SecretRef, &out.SecretRef *out = new(LocalObjectReference) **out = **in - } else { - out.SecretRef = nil } - out.ReadOnly = in.ReadOnly return nil } } @@ -2894,17 +2472,14 @@ func DeepCopy_v1_RangeAllocation(in interface{}, out interface{}, c *conversion. { in := in.(*RangeAllocation) out := out.(*RangeAllocation) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Range = in.Range if in.Data != nil { in, out := &in.Data, &out.Data *out = make([]byte, len(*in)) copy(*out, *in) - } else { - out.Data = nil } return nil } @@ -2914,7 +2489,7 @@ func DeepCopy_v1_ReplicationController(in interface{}, out interface{}, c *conve { in := in.(*ReplicationController) out := out.(*ReplicationController) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -2932,11 +2507,8 @@ func DeepCopy_v1_ReplicationControllerCondition(in interface{}, out interface{}, { in := in.(*ReplicationControllerCondition) out := out.(*ReplicationControllerCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -2945,8 +2517,7 @@ func DeepCopy_v1_ReplicationControllerList(in interface{}, out interface{}, c *c { in := in.(*ReplicationControllerList) out := out.(*ReplicationControllerList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ReplicationController, len(*in)) @@ -2955,8 +2526,6 @@ func DeepCopy_v1_ReplicationControllerList(in interface{}, out interface{}, c *c return err } } - } else { - out.Items = nil } return nil } @@ -2966,22 +2535,18 @@ func DeepCopy_v1_ReplicationControllerSpec(in interface{}, out interface{}, c *c { in := in.(*ReplicationControllerSpec) out := out.(*ReplicationControllerSpec) + *out = *in if in.Replicas != nil { in, out := &in.Replicas, &out.Replicas *out = new(int32) **out = **in - } else { - out.Replicas = nil } - out.MinReadySeconds = in.MinReadySeconds if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } - } else { - out.Selector = nil } if in.Template != nil { in, out := &in.Template, &out.Template @@ -2989,8 +2554,6 @@ func DeepCopy_v1_ReplicationControllerSpec(in interface{}, out interface{}, c *c if err := DeepCopy_v1_PodTemplateSpec(*in, *out, c); err != nil { return err } - } else { - out.Template = nil } return nil } @@ -3000,11 +2563,7 @@ func DeepCopy_v1_ReplicationControllerStatus(in interface{}, out interface{}, c { in := in.(*ReplicationControllerStatus) out := out.(*ReplicationControllerStatus) - out.Replicas = in.Replicas - out.FullyLabeledReplicas = in.FullyLabeledReplicas - out.ReadyReplicas = in.ReadyReplicas - out.AvailableReplicas = in.AvailableReplicas - out.ObservedGeneration = in.ObservedGeneration + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]ReplicationControllerCondition, len(*in)) @@ -3013,8 +2572,6 @@ func DeepCopy_v1_ReplicationControllerStatus(in interface{}, out interface{}, c return err } } - } else { - out.Conditions = nil } return nil } @@ -3024,8 +2581,7 @@ func DeepCopy_v1_ResourceFieldSelector(in interface{}, out interface{}, c *conve { in := in.(*ResourceFieldSelector) out := out.(*ResourceFieldSelector) - out.ContainerName = in.ContainerName - out.Resource = in.Resource + *out = *in out.Divisor = in.Divisor.DeepCopy() return nil } @@ -3035,7 +2591,7 @@ func DeepCopy_v1_ResourceQuota(in interface{}, out interface{}, c *conversion.Cl { in := in.(*ResourceQuota) out := out.(*ResourceQuota) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -3053,8 +2609,7 @@ func DeepCopy_v1_ResourceQuotaList(in interface{}, out interface{}, c *conversio { in := in.(*ResourceQuotaList) out := out.(*ResourceQuotaList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ResourceQuota, len(*in)) @@ -3063,8 +2618,6 @@ func DeepCopy_v1_ResourceQuotaList(in interface{}, out interface{}, c *conversio return err } } - } else { - out.Items = nil } return nil } @@ -3074,14 +2627,13 @@ func DeepCopy_v1_ResourceQuotaSpec(in interface{}, out interface{}, c *conversio { in := in.(*ResourceQuotaSpec) out := out.(*ResourceQuotaSpec) + *out = *in if in.Hard != nil { in, out := &in.Hard, &out.Hard *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Hard = nil } if in.Scopes != nil { in, out := &in.Scopes, &out.Scopes @@ -3089,8 +2641,6 @@ func DeepCopy_v1_ResourceQuotaSpec(in interface{}, out interface{}, c *conversio for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Scopes = nil } return nil } @@ -3100,14 +2650,13 @@ func DeepCopy_v1_ResourceQuotaStatus(in interface{}, out interface{}, c *convers { in := in.(*ResourceQuotaStatus) out := out.(*ResourceQuotaStatus) + *out = *in if in.Hard != nil { in, out := &in.Hard, &out.Hard *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Hard = nil } if in.Used != nil { in, out := &in.Used, &out.Used @@ -3115,8 +2664,6 @@ func DeepCopy_v1_ResourceQuotaStatus(in interface{}, out interface{}, c *convers for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Used = nil } return nil } @@ -3126,14 +2673,13 @@ func DeepCopy_v1_ResourceRequirements(in interface{}, out interface{}, c *conver { in := in.(*ResourceRequirements) out := out.(*ResourceRequirements) + *out = *in if in.Limits != nil { in, out := &in.Limits, &out.Limits *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Limits = nil } if in.Requests != nil { in, out := &in.Requests, &out.Requests @@ -3141,8 +2687,6 @@ func DeepCopy_v1_ResourceRequirements(in interface{}, out interface{}, c *conver for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Requests = nil } return nil } @@ -3152,10 +2696,7 @@ func DeepCopy_v1_SELinuxOptions(in interface{}, out interface{}, c *conversion.C { in := in.(*SELinuxOptions) out := out.(*SELinuxOptions) - out.User = in.User - out.Role = in.Role - out.Type = in.Type - out.Level = in.Level + *out = *in return nil } } @@ -3164,7 +2705,7 @@ func DeepCopy_v1_Secret(in interface{}, out interface{}, c *conversion.Cloner) e { in := in.(*Secret) out := out.(*Secret) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -3178,8 +2719,6 @@ func DeepCopy_v1_Secret(in interface{}, out interface{}, c *conversion.Cloner) e (*out)[key] = *newVal.(*[]byte) } } - } else { - out.Data = nil } if in.StringData != nil { in, out := &in.StringData, &out.StringData @@ -3187,10 +2726,7 @@ func DeepCopy_v1_Secret(in interface{}, out interface{}, c *conversion.Cloner) e for key, val := range *in { (*out)[key] = val } - } else { - out.StringData = nil } - out.Type = in.Type return nil } } @@ -3199,8 +2735,7 @@ func DeepCopy_v1_SecretKeySelector(in interface{}, out interface{}, c *conversio { in := in.(*SecretKeySelector) out := out.(*SecretKeySelector) - out.LocalObjectReference = in.LocalObjectReference - out.Key = in.Key + *out = *in return nil } } @@ -3209,8 +2744,7 @@ func DeepCopy_v1_SecretList(in interface{}, out interface{}, c *conversion.Clone { in := in.(*SecretList) out := out.(*SecretList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Secret, len(*in)) @@ -3219,8 +2753,6 @@ func DeepCopy_v1_SecretList(in interface{}, out interface{}, c *conversion.Clone return err } } - } else { - out.Items = nil } return nil } @@ -3230,7 +2762,7 @@ func DeepCopy_v1_SecretVolumeSource(in interface{}, out interface{}, c *conversi { in := in.(*SecretVolumeSource) out := out.(*SecretVolumeSource) - out.SecretName = in.SecretName + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]KeyToPath, len(*in)) @@ -3239,15 +2771,11 @@ func DeepCopy_v1_SecretVolumeSource(in interface{}, out interface{}, c *conversi return err } } - } else { - out.Items = nil } if in.DefaultMode != nil { in, out := &in.DefaultMode, &out.DefaultMode *out = new(int32) **out = **in - } else { - out.DefaultMode = nil } return nil } @@ -3257,49 +2785,38 @@ func DeepCopy_v1_SecurityContext(in interface{}, out interface{}, c *conversion. { in := in.(*SecurityContext) out := out.(*SecurityContext) + *out = *in if in.Capabilities != nil { in, out := &in.Capabilities, &out.Capabilities *out = new(Capabilities) if err := DeepCopy_v1_Capabilities(*in, *out, c); err != nil { return err } - } else { - out.Capabilities = nil } if in.Privileged != nil { in, out := &in.Privileged, &out.Privileged *out = new(bool) **out = **in - } else { - out.Privileged = nil } if in.SELinuxOptions != nil { in, out := &in.SELinuxOptions, &out.SELinuxOptions *out = new(SELinuxOptions) **out = **in - } else { - out.SELinuxOptions = nil } if in.RunAsUser != nil { in, out := &in.RunAsUser, &out.RunAsUser *out = new(int64) **out = **in - } else { - out.RunAsUser = nil } if in.RunAsNonRoot != nil { in, out := &in.RunAsNonRoot, &out.RunAsNonRoot *out = new(bool) **out = **in - } else { - out.RunAsNonRoot = nil } if in.ReadOnlyRootFilesystem != nil { in, out := &in.ReadOnlyRootFilesystem, &out.ReadOnlyRootFilesystem *out = new(bool) **out = **in - } else { - out.ReadOnlyRootFilesystem = nil } return nil } @@ -3309,8 +2826,7 @@ func DeepCopy_v1_SerializedReference(in interface{}, out interface{}, c *convers { in := in.(*SerializedReference) out := out.(*SerializedReference) - out.TypeMeta = in.TypeMeta - out.Reference = in.Reference + *out = *in return nil } } @@ -3319,7 +2835,7 @@ func DeepCopy_v1_Service(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*Service) out := out.(*Service) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -3337,7 +2853,7 @@ func DeepCopy_v1_ServiceAccount(in interface{}, out interface{}, c *conversion.C { in := in.(*ServiceAccount) out := out.(*ServiceAccount) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -3347,8 +2863,6 @@ func DeepCopy_v1_ServiceAccount(in interface{}, out interface{}, c *conversion.C for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Secrets = nil } if in.ImagePullSecrets != nil { in, out := &in.ImagePullSecrets, &out.ImagePullSecrets @@ -3356,8 +2870,6 @@ func DeepCopy_v1_ServiceAccount(in interface{}, out interface{}, c *conversion.C for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.ImagePullSecrets = nil } return nil } @@ -3367,8 +2879,7 @@ func DeepCopy_v1_ServiceAccountList(in interface{}, out interface{}, c *conversi { in := in.(*ServiceAccountList) out := out.(*ServiceAccountList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ServiceAccount, len(*in)) @@ -3377,8 +2888,6 @@ func DeepCopy_v1_ServiceAccountList(in interface{}, out interface{}, c *conversi return err } } - } else { - out.Items = nil } return nil } @@ -3388,8 +2897,7 @@ func DeepCopy_v1_ServiceList(in interface{}, out interface{}, c *conversion.Clon { in := in.(*ServiceList) out := out.(*ServiceList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Service, len(*in)) @@ -3398,8 +2906,6 @@ func DeepCopy_v1_ServiceList(in interface{}, out interface{}, c *conversion.Clon return err } } - } else { - out.Items = nil } return nil } @@ -3409,11 +2915,7 @@ func DeepCopy_v1_ServicePort(in interface{}, out interface{}, c *conversion.Clon { in := in.(*ServicePort) out := out.(*ServicePort) - out.Name = in.Name - out.Protocol = in.Protocol - out.Port = in.Port - out.TargetPort = in.TargetPort - out.NodePort = in.NodePort + *out = *in return nil } } @@ -3422,8 +2924,7 @@ func DeepCopy_v1_ServiceProxyOptions(in interface{}, out interface{}, c *convers { in := in.(*ServiceProxyOptions) out := out.(*ServiceProxyOptions) - out.TypeMeta = in.TypeMeta - out.Path = in.Path + *out = *in return nil } } @@ -3432,14 +2933,13 @@ func DeepCopy_v1_ServiceSpec(in interface{}, out interface{}, c *conversion.Clon { in := in.(*ServiceSpec) out := out.(*ServiceSpec) + *out = *in if in.Ports != nil { in, out := &in.Ports, &out.Ports *out = make([]ServicePort, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Ports = nil } if in.Selector != nil { in, out := &in.Selector, &out.Selector @@ -3447,35 +2947,22 @@ func DeepCopy_v1_ServiceSpec(in interface{}, out interface{}, c *conversion.Clon for key, val := range *in { (*out)[key] = val } - } else { - out.Selector = nil } - out.ClusterIP = in.ClusterIP - out.Type = in.Type if in.ExternalIPs != nil { in, out := &in.ExternalIPs, &out.ExternalIPs *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.ExternalIPs = nil } if in.DeprecatedPublicIPs != nil { in, out := &in.DeprecatedPublicIPs, &out.DeprecatedPublicIPs *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.DeprecatedPublicIPs = nil } - out.SessionAffinity = in.SessionAffinity - out.LoadBalancerIP = in.LoadBalancerIP if in.LoadBalancerSourceRanges != nil { in, out := &in.LoadBalancerSourceRanges, &out.LoadBalancerSourceRanges *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.LoadBalancerSourceRanges = nil } - out.ExternalName = in.ExternalName return nil } } @@ -3484,6 +2971,7 @@ func DeepCopy_v1_ServiceStatus(in interface{}, out interface{}, c *conversion.Cl { in := in.(*ServiceStatus) out := out.(*ServiceStatus) + *out = *in if err := DeepCopy_v1_LoadBalancerStatus(&in.LoadBalancer, &out.LoadBalancer, c); err != nil { return err } @@ -3495,8 +2983,7 @@ func DeepCopy_v1_Sysctl(in interface{}, out interface{}, c *conversion.Cloner) e { in := in.(*Sysctl) out := out.(*Sysctl) - out.Name = in.Name - out.Value = in.Value + *out = *in return nil } } @@ -3505,7 +2992,7 @@ func DeepCopy_v1_TCPSocketAction(in interface{}, out interface{}, c *conversion. { in := in.(*TCPSocketAction) out := out.(*TCPSocketAction) - out.Port = in.Port + *out = *in return nil } } @@ -3514,9 +3001,7 @@ func DeepCopy_v1_Taint(in interface{}, out interface{}, c *conversion.Cloner) er { in := in.(*Taint) out := out.(*Taint) - out.Key = in.Key - out.Value = in.Value - out.Effect = in.Effect + *out = *in return nil } } @@ -3525,10 +3010,7 @@ func DeepCopy_v1_Toleration(in interface{}, out interface{}, c *conversion.Clone { in := in.(*Toleration) out := out.(*Toleration) - out.Key = in.Key - out.Operator = in.Operator - out.Value = in.Value - out.Effect = in.Effect + *out = *in return nil } } @@ -3537,7 +3019,7 @@ func DeepCopy_v1_Volume(in interface{}, out interface{}, c *conversion.Cloner) e { in := in.(*Volume) out := out.(*Volume) - out.Name = in.Name + *out = *in if err := DeepCopy_v1_VolumeSource(&in.VolumeSource, &out.VolumeSource, c); err != nil { return err } @@ -3549,10 +3031,7 @@ func DeepCopy_v1_VolumeMount(in interface{}, out interface{}, c *conversion.Clon { in := in.(*VolumeMount) out := out.(*VolumeMount) - out.Name = in.Name - out.ReadOnly = in.ReadOnly - out.MountPath = in.MountPath - out.SubPath = in.SubPath + *out = *in return nil } } @@ -3561,40 +3040,31 @@ func DeepCopy_v1_VolumeSource(in interface{}, out interface{}, c *conversion.Clo { in := in.(*VolumeSource) out := out.(*VolumeSource) + *out = *in if in.HostPath != nil { in, out := &in.HostPath, &out.HostPath *out = new(HostPathVolumeSource) **out = **in - } else { - out.HostPath = nil } if in.EmptyDir != nil { in, out := &in.EmptyDir, &out.EmptyDir *out = new(EmptyDirVolumeSource) **out = **in - } else { - out.EmptyDir = nil } if in.GCEPersistentDisk != nil { in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk *out = new(GCEPersistentDiskVolumeSource) **out = **in - } else { - out.GCEPersistentDisk = nil } if in.AWSElasticBlockStore != nil { in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore *out = new(AWSElasticBlockStoreVolumeSource) **out = **in - } else { - out.AWSElasticBlockStore = nil } if in.GitRepo != nil { in, out := &in.GitRepo, &out.GitRepo *out = new(GitRepoVolumeSource) **out = **in - } else { - out.GitRepo = nil } if in.Secret != nil { in, out := &in.Secret, &out.Secret @@ -3602,36 +3072,26 @@ func DeepCopy_v1_VolumeSource(in interface{}, out interface{}, c *conversion.Clo if err := DeepCopy_v1_SecretVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.Secret = nil } if in.NFS != nil { in, out := &in.NFS, &out.NFS *out = new(NFSVolumeSource) **out = **in - } else { - out.NFS = nil } if in.ISCSI != nil { in, out := &in.ISCSI, &out.ISCSI *out = new(ISCSIVolumeSource) **out = **in - } else { - out.ISCSI = nil } if in.Glusterfs != nil { in, out := &in.Glusterfs, &out.Glusterfs *out = new(GlusterfsVolumeSource) **out = **in - } else { - out.Glusterfs = nil } if in.PersistentVolumeClaim != nil { in, out := &in.PersistentVolumeClaim, &out.PersistentVolumeClaim *out = new(PersistentVolumeClaimVolumeSource) **out = **in - } else { - out.PersistentVolumeClaim = nil } if in.RBD != nil { in, out := &in.RBD, &out.RBD @@ -3639,8 +3099,6 @@ func DeepCopy_v1_VolumeSource(in interface{}, out interface{}, c *conversion.Clo if err := DeepCopy_v1_RBDVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.RBD = nil } if in.FlexVolume != nil { in, out := &in.FlexVolume, &out.FlexVolume @@ -3648,15 +3106,11 @@ func DeepCopy_v1_VolumeSource(in interface{}, out interface{}, c *conversion.Clo if err := DeepCopy_v1_FlexVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.FlexVolume = nil } if in.Cinder != nil { in, out := &in.Cinder, &out.Cinder *out = new(CinderVolumeSource) **out = **in - } else { - out.Cinder = nil } if in.CephFS != nil { in, out := &in.CephFS, &out.CephFS @@ -3664,15 +3118,11 @@ func DeepCopy_v1_VolumeSource(in interface{}, out interface{}, c *conversion.Clo if err := DeepCopy_v1_CephFSVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.CephFS = nil } if in.Flocker != nil { in, out := &in.Flocker, &out.Flocker *out = new(FlockerVolumeSource) **out = **in - } else { - out.Flocker = nil } if in.DownwardAPI != nil { in, out := &in.DownwardAPI, &out.DownwardAPI @@ -3680,8 +3130,6 @@ func DeepCopy_v1_VolumeSource(in interface{}, out interface{}, c *conversion.Clo if err := DeepCopy_v1_DownwardAPIVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.DownwardAPI = nil } if in.FC != nil { in, out := &in.FC, &out.FC @@ -3689,15 +3137,11 @@ func DeepCopy_v1_VolumeSource(in interface{}, out interface{}, c *conversion.Clo if err := DeepCopy_v1_FCVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.FC = nil } if in.AzureFile != nil { in, out := &in.AzureFile, &out.AzureFile *out = new(AzureFileVolumeSource) **out = **in - } else { - out.AzureFile = nil } if in.ConfigMap != nil { in, out := &in.ConfigMap, &out.ConfigMap @@ -3705,22 +3149,16 @@ func DeepCopy_v1_VolumeSource(in interface{}, out interface{}, c *conversion.Clo if err := DeepCopy_v1_ConfigMapVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.ConfigMap = nil } if in.VsphereVolume != nil { in, out := &in.VsphereVolume, &out.VsphereVolume *out = new(VsphereVirtualDiskVolumeSource) **out = **in - } else { - out.VsphereVolume = nil } if in.Quobyte != nil { in, out := &in.Quobyte, &out.Quobyte *out = new(QuobyteVolumeSource) **out = **in - } else { - out.Quobyte = nil } if in.AzureDisk != nil { in, out := &in.AzureDisk, &out.AzureDisk @@ -3728,15 +3166,11 @@ func DeepCopy_v1_VolumeSource(in interface{}, out interface{}, c *conversion.Clo if err := DeepCopy_v1_AzureDiskVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.AzureDisk = nil } if in.PhotonPersistentDisk != nil { in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk *out = new(PhotonPersistentDiskVolumeSource) **out = **in - } else { - out.PhotonPersistentDisk = nil } return nil } @@ -3746,8 +3180,7 @@ func DeepCopy_v1_VsphereVirtualDiskVolumeSource(in interface{}, out interface{}, { in := in.(*VsphereVirtualDiskVolumeSource) out := out.(*VsphereVirtualDiskVolumeSource) - out.VolumePath = in.VolumePath - out.FSType = in.FSType + *out = *in return nil } } @@ -3756,7 +3189,7 @@ func DeepCopy_v1_WeightedPodAffinityTerm(in interface{}, out interface{}, c *con { in := in.(*WeightedPodAffinityTerm) out := out.(*WeightedPodAffinityTerm) - out.Weight = in.Weight + *out = *in if err := DeepCopy_v1_PodAffinityTerm(&in.PodAffinityTerm, &out.PodAffinityTerm, c); err != nil { return err } diff --git a/pkg/api/v1/zz_generated.defaults.go b/pkg/api/v1/zz_generated.defaults.go index 3b28e675..97960127 100644 --- a/pkg/api/v1/zz_generated.defaults.go +++ b/pkg/api/v1/zz_generated.defaults.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ limitations under the License. package v1 import ( - runtime "k8s.io/client-go/pkg/runtime" + runtime "k8s.io/apimachinery/pkg/runtime" ) // RegisterDefaults adds defaulters functions to the given scheme. diff --git a/pkg/api/zz_generated.deepcopy.go b/pkg/api/zz_generated.deepcopy.go index 16ecb643..55887c13 100644 --- a/pkg/api/zz_generated.deepcopy.go +++ b/pkg/api/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,12 +21,12 @@ limitations under the License. package api import ( - v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + labels "k8s.io/apimachinery/pkg/labels" + runtime "k8s.io/apimachinery/pkg/runtime" + types "k8s.io/apimachinery/pkg/types" fields "k8s.io/client-go/pkg/fields" - labels "k8s.io/client-go/pkg/labels" - runtime "k8s.io/client-go/pkg/runtime" - types "k8s.io/client-go/pkg/types" reflect "reflect" ) @@ -52,6 +52,7 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentStatus, InType: reflect.TypeOf(&ComponentStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentStatusList, InType: reflect.TypeOf(&ComponentStatusList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMap, InType: reflect.TypeOf(&ConfigMap{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapEnvSource, InType: reflect.TypeOf(&ConfigMapEnvSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapKeySelector, InType: reflect.TypeOf(&ConfigMapKeySelector{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapList, InType: reflect.TypeOf(&ConfigMapList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapVolumeSource, InType: reflect.TypeOf(&ConfigMapVolumeSource{})}, @@ -74,6 +75,7 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointSubset, InType: reflect.TypeOf(&EndpointSubset{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Endpoints, InType: reflect.TypeOf(&Endpoints{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointsList, InType: reflect.TypeOf(&EndpointsList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EnvFromSource, InType: reflect.TypeOf(&EnvFromSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EnvVar, InType: reflect.TypeOf(&EnvVar{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EnvVarSource, InType: reflect.TypeOf(&EnvVarSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Event, InType: reflect.TypeOf(&Event{})}, @@ -202,10 +204,7 @@ func DeepCopy_api_AWSElasticBlockStoreVolumeSource(in interface{}, out interface { in := in.(*AWSElasticBlockStoreVolumeSource) out := out.(*AWSElasticBlockStoreVolumeSource) - out.VolumeID = in.VolumeID - out.FSType = in.FSType - out.Partition = in.Partition - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -214,14 +213,13 @@ func DeepCopy_api_Affinity(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*Affinity) out := out.(*Affinity) + *out = *in if in.NodeAffinity != nil { in, out := &in.NodeAffinity, &out.NodeAffinity *out = new(NodeAffinity) if err := DeepCopy_api_NodeAffinity(*in, *out, c); err != nil { return err } - } else { - out.NodeAffinity = nil } if in.PodAffinity != nil { in, out := &in.PodAffinity, &out.PodAffinity @@ -229,8 +227,6 @@ func DeepCopy_api_Affinity(in interface{}, out interface{}, c *conversion.Cloner if err := DeepCopy_api_PodAffinity(*in, *out, c); err != nil { return err } - } else { - out.PodAffinity = nil } if in.PodAntiAffinity != nil { in, out := &in.PodAntiAffinity, &out.PodAntiAffinity @@ -238,8 +234,6 @@ func DeepCopy_api_Affinity(in interface{}, out interface{}, c *conversion.Cloner if err := DeepCopy_api_PodAntiAffinity(*in, *out, c); err != nil { return err } - } else { - out.PodAntiAffinity = nil } return nil } @@ -249,8 +243,7 @@ func DeepCopy_api_AttachedVolume(in interface{}, out interface{}, c *conversion. { in := in.(*AttachedVolume) out := out.(*AttachedVolume) - out.Name = in.Name - out.DevicePath = in.DevicePath + *out = *in return nil } } @@ -259,6 +252,7 @@ func DeepCopy_api_AvoidPods(in interface{}, out interface{}, c *conversion.Clone { in := in.(*AvoidPods) out := out.(*AvoidPods) + *out = *in if in.PreferAvoidPods != nil { in, out := &in.PreferAvoidPods, &out.PreferAvoidPods *out = make([]PreferAvoidPodsEntry, len(*in)) @@ -267,8 +261,6 @@ func DeepCopy_api_AvoidPods(in interface{}, out interface{}, c *conversion.Clone return err } } - } else { - out.PreferAvoidPods = nil } return nil } @@ -278,28 +270,21 @@ func DeepCopy_api_AzureDiskVolumeSource(in interface{}, out interface{}, c *conv { in := in.(*AzureDiskVolumeSource) out := out.(*AzureDiskVolumeSource) - out.DiskName = in.DiskName - out.DataDiskURI = in.DataDiskURI + *out = *in if in.CachingMode != nil { in, out := &in.CachingMode, &out.CachingMode *out = new(AzureDataDiskCachingMode) **out = **in - } else { - out.CachingMode = nil } if in.FSType != nil { in, out := &in.FSType, &out.FSType *out = new(string) **out = **in - } else { - out.FSType = nil } if in.ReadOnly != nil { in, out := &in.ReadOnly, &out.ReadOnly *out = new(bool) **out = **in - } else { - out.ReadOnly = nil } return nil } @@ -309,9 +294,7 @@ func DeepCopy_api_AzureFileVolumeSource(in interface{}, out interface{}, c *conv { in := in.(*AzureFileVolumeSource) out := out.(*AzureFileVolumeSource) - out.SecretName = in.SecretName - out.ShareName = in.ShareName - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -320,11 +303,10 @@ func DeepCopy_api_Binding(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*Binding) out := out.(*Binding) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Target = in.Target return nil } } @@ -333,14 +315,13 @@ func DeepCopy_api_Capabilities(in interface{}, out interface{}, c *conversion.Cl { in := in.(*Capabilities) out := out.(*Capabilities) + *out = *in if in.Add != nil { in, out := &in.Add, &out.Add *out = make([]Capability, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Add = nil } if in.Drop != nil { in, out := &in.Drop, &out.Drop @@ -348,8 +329,6 @@ func DeepCopy_api_Capabilities(in interface{}, out interface{}, c *conversion.Cl for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Drop = nil } return nil } @@ -359,24 +338,17 @@ func DeepCopy_api_CephFSVolumeSource(in interface{}, out interface{}, c *convers { in := in.(*CephFSVolumeSource) out := out.(*CephFSVolumeSource) + *out = *in if in.Monitors != nil { in, out := &in.Monitors, &out.Monitors *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Monitors = nil } - out.Path = in.Path - out.User = in.User - out.SecretFile = in.SecretFile if in.SecretRef != nil { in, out := &in.SecretRef, &out.SecretRef *out = new(LocalObjectReference) **out = **in - } else { - out.SecretRef = nil } - out.ReadOnly = in.ReadOnly return nil } } @@ -385,9 +357,7 @@ func DeepCopy_api_CinderVolumeSource(in interface{}, out interface{}, c *convers { in := in.(*CinderVolumeSource) out := out.(*CinderVolumeSource) - out.VolumeID = in.VolumeID - out.FSType = in.FSType - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -396,10 +366,7 @@ func DeepCopy_api_ComponentCondition(in interface{}, out interface{}, c *convers { in := in.(*ComponentCondition) out := out.(*ComponentCondition) - out.Type = in.Type - out.Status = in.Status - out.Message = in.Message - out.Error = in.Error + *out = *in return nil } } @@ -408,7 +375,7 @@ func DeepCopy_api_ComponentStatus(in interface{}, out interface{}, c *conversion { in := in.(*ComponentStatus) out := out.(*ComponentStatus) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -418,8 +385,6 @@ func DeepCopy_api_ComponentStatus(in interface{}, out interface{}, c *conversion for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Conditions = nil } return nil } @@ -429,8 +394,7 @@ func DeepCopy_api_ComponentStatusList(in interface{}, out interface{}, c *conver { in := in.(*ComponentStatusList) out := out.(*ComponentStatusList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ComponentStatus, len(*in)) @@ -439,8 +403,6 @@ func DeepCopy_api_ComponentStatusList(in interface{}, out interface{}, c *conver return err } } - } else { - out.Items = nil } return nil } @@ -450,7 +412,7 @@ func DeepCopy_api_ConfigMap(in interface{}, out interface{}, c *conversion.Clone { in := in.(*ConfigMap) out := out.(*ConfigMap) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -460,19 +422,25 @@ func DeepCopy_api_ConfigMap(in interface{}, out interface{}, c *conversion.Clone for key, val := range *in { (*out)[key] = val } - } else { - out.Data = nil } return nil } } +func DeepCopy_api_ConfigMapEnvSource(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*ConfigMapEnvSource) + out := out.(*ConfigMapEnvSource) + *out = *in + return nil + } +} + func DeepCopy_api_ConfigMapKeySelector(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ConfigMapKeySelector) out := out.(*ConfigMapKeySelector) - out.LocalObjectReference = in.LocalObjectReference - out.Key = in.Key + *out = *in return nil } } @@ -481,8 +449,7 @@ func DeepCopy_api_ConfigMapList(in interface{}, out interface{}, c *conversion.C { in := in.(*ConfigMapList) out := out.(*ConfigMapList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ConfigMap, len(*in)) @@ -491,8 +458,6 @@ func DeepCopy_api_ConfigMapList(in interface{}, out interface{}, c *conversion.C return err } } - } else { - out.Items = nil } return nil } @@ -502,7 +467,7 @@ func DeepCopy_api_ConfigMapVolumeSource(in interface{}, out interface{}, c *conv { in := in.(*ConfigMapVolumeSource) out := out.(*ConfigMapVolumeSource) - out.LocalObjectReference = in.LocalObjectReference + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]KeyToPath, len(*in)) @@ -511,15 +476,11 @@ func DeepCopy_api_ConfigMapVolumeSource(in interface{}, out interface{}, c *conv return err } } - } else { - out.Items = nil } if in.DefaultMode != nil { in, out := &in.DefaultMode, &out.DefaultMode *out = new(int32) **out = **in - } else { - out.DefaultMode = nil } return nil } @@ -529,31 +490,32 @@ func DeepCopy_api_Container(in interface{}, out interface{}, c *conversion.Clone { in := in.(*Container) out := out.(*Container) - out.Name = in.Name - out.Image = in.Image + *out = *in if in.Command != nil { in, out := &in.Command, &out.Command *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Command = nil } if in.Args != nil { in, out := &in.Args, &out.Args *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Args = nil } - out.WorkingDir = in.WorkingDir if in.Ports != nil { in, out := &in.Ports, &out.Ports *out = make([]ContainerPort, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Ports = nil + } + if in.EnvFrom != nil { + in, out := &in.EnvFrom, &out.EnvFrom + *out = make([]EnvFromSource, len(*in)) + for i := range *in { + if err := DeepCopy_api_EnvFromSource(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } } if in.Env != nil { in, out := &in.Env, &out.Env @@ -563,8 +525,6 @@ func DeepCopy_api_Container(in interface{}, out interface{}, c *conversion.Clone return err } } - } else { - out.Env = nil } if err := DeepCopy_api_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil { return err @@ -575,8 +535,6 @@ func DeepCopy_api_Container(in interface{}, out interface{}, c *conversion.Clone for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.VolumeMounts = nil } if in.LivenessProbe != nil { in, out := &in.LivenessProbe, &out.LivenessProbe @@ -584,8 +542,6 @@ func DeepCopy_api_Container(in interface{}, out interface{}, c *conversion.Clone if err := DeepCopy_api_Probe(*in, *out, c); err != nil { return err } - } else { - out.LivenessProbe = nil } if in.ReadinessProbe != nil { in, out := &in.ReadinessProbe, &out.ReadinessProbe @@ -593,8 +549,6 @@ func DeepCopy_api_Container(in interface{}, out interface{}, c *conversion.Clone if err := DeepCopy_api_Probe(*in, *out, c); err != nil { return err } - } else { - out.ReadinessProbe = nil } if in.Lifecycle != nil { in, out := &in.Lifecycle, &out.Lifecycle @@ -602,23 +556,14 @@ func DeepCopy_api_Container(in interface{}, out interface{}, c *conversion.Clone if err := DeepCopy_api_Lifecycle(*in, *out, c); err != nil { return err } - } else { - out.Lifecycle = nil } - out.TerminationMessagePath = in.TerminationMessagePath - out.ImagePullPolicy = in.ImagePullPolicy if in.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext *out = new(SecurityContext) if err := DeepCopy_api_SecurityContext(*in, *out, c); err != nil { return err } - } else { - out.SecurityContext = nil } - out.Stdin = in.Stdin - out.StdinOnce = in.StdinOnce - out.TTY = in.TTY return nil } } @@ -627,14 +572,12 @@ func DeepCopy_api_ContainerImage(in interface{}, out interface{}, c *conversion. { in := in.(*ContainerImage) out := out.(*ContainerImage) + *out = *in if in.Names != nil { in, out := &in.Names, &out.Names *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Names = nil } - out.SizeBytes = in.SizeBytes return nil } } @@ -643,11 +586,7 @@ func DeepCopy_api_ContainerPort(in interface{}, out interface{}, c *conversion.C { in := in.(*ContainerPort) out := out.(*ContainerPort) - out.Name = in.Name - out.HostPort = in.HostPort - out.ContainerPort = in.ContainerPort - out.Protocol = in.Protocol - out.HostIP = in.HostIP + *out = *in return nil } } @@ -656,12 +595,11 @@ func DeepCopy_api_ContainerState(in interface{}, out interface{}, c *conversion. { in := in.(*ContainerState) out := out.(*ContainerState) + *out = *in if in.Waiting != nil { in, out := &in.Waiting, &out.Waiting *out = new(ContainerStateWaiting) **out = **in - } else { - out.Waiting = nil } if in.Running != nil { in, out := &in.Running, &out.Running @@ -669,8 +607,6 @@ func DeepCopy_api_ContainerState(in interface{}, out interface{}, c *conversion. if err := DeepCopy_api_ContainerStateRunning(*in, *out, c); err != nil { return err } - } else { - out.Running = nil } if in.Terminated != nil { in, out := &in.Terminated, &out.Terminated @@ -678,8 +614,6 @@ func DeepCopy_api_ContainerState(in interface{}, out interface{}, c *conversion. if err := DeepCopy_api_ContainerStateTerminated(*in, *out, c); err != nil { return err } - } else { - out.Terminated = nil } return nil } @@ -689,6 +623,7 @@ func DeepCopy_api_ContainerStateRunning(in interface{}, out interface{}, c *conv { in := in.(*ContainerStateRunning) out := out.(*ContainerStateRunning) + *out = *in out.StartedAt = in.StartedAt.DeepCopy() return nil } @@ -698,13 +633,9 @@ func DeepCopy_api_ContainerStateTerminated(in interface{}, out interface{}, c *c { in := in.(*ContainerStateTerminated) out := out.(*ContainerStateTerminated) - out.ExitCode = in.ExitCode - out.Signal = in.Signal - out.Reason = in.Reason - out.Message = in.Message + *out = *in out.StartedAt = in.StartedAt.DeepCopy() out.FinishedAt = in.FinishedAt.DeepCopy() - out.ContainerID = in.ContainerID return nil } } @@ -713,8 +644,7 @@ func DeepCopy_api_ContainerStateWaiting(in interface{}, out interface{}, c *conv { in := in.(*ContainerStateWaiting) out := out.(*ContainerStateWaiting) - out.Reason = in.Reason - out.Message = in.Message + *out = *in return nil } } @@ -723,18 +653,13 @@ func DeepCopy_api_ContainerStatus(in interface{}, out interface{}, c *conversion { in := in.(*ContainerStatus) out := out.(*ContainerStatus) - out.Name = in.Name + *out = *in if err := DeepCopy_api_ContainerState(&in.State, &out.State, c); err != nil { return err } if err := DeepCopy_api_ContainerState(&in.LastTerminationState, &out.LastTerminationState, c); err != nil { return err } - out.Ready = in.Ready - out.RestartCount = in.RestartCount - out.Image = in.Image - out.ImageID = in.ImageID - out.ContainerID = in.ContainerID return nil } } @@ -743,21 +668,23 @@ func DeepCopy_api_ConversionError(in interface{}, out interface{}, c *conversion { in := in.(*ConversionError) out := out.(*ConversionError) - if in.In == nil { - out.In = nil - } else if newVal, err := c.DeepCopy(&in.In); err != nil { - return err - } else { - out.In = *newVal.(*interface{}) + *out = *in + // in.In is kind 'Interface' + if in.In != nil { + if newVal, err := c.DeepCopy(&in.In); err != nil { + return err + } else { + out.In = *newVal.(*interface{}) + } } - if in.Out == nil { - out.Out = nil - } else if newVal, err := c.DeepCopy(&in.Out); err != nil { - return err - } else { - out.Out = *newVal.(*interface{}) + // in.Out is kind 'Interface' + if in.Out != nil { + if newVal, err := c.DeepCopy(&in.Out); err != nil { + return err + } else { + out.Out = *newVal.(*interface{}) + } } - out.Message = in.Message return nil } } @@ -766,7 +693,7 @@ func DeepCopy_api_DaemonEndpoint(in interface{}, out interface{}, c *conversion. { in := in.(*DaemonEndpoint) out := out.(*DaemonEndpoint) - out.Port = in.Port + *out = *in return nil } } @@ -775,13 +702,11 @@ func DeepCopy_api_DeleteOptions(in interface{}, out interface{}, c *conversion.C { in := in.(*DeleteOptions) out := out.(*DeleteOptions) - out.TypeMeta = in.TypeMeta + *out = *in if in.GracePeriodSeconds != nil { in, out := &in.GracePeriodSeconds, &out.GracePeriodSeconds *out = new(int64) **out = **in - } else { - out.GracePeriodSeconds = nil } if in.Preconditions != nil { in, out := &in.Preconditions, &out.Preconditions @@ -789,15 +714,11 @@ func DeepCopy_api_DeleteOptions(in interface{}, out interface{}, c *conversion.C if err := DeepCopy_api_Preconditions(*in, *out, c); err != nil { return err } - } else { - out.Preconditions = nil } if in.OrphanDependents != nil { in, out := &in.OrphanDependents, &out.OrphanDependents *out = new(bool) **out = **in - } else { - out.OrphanDependents = nil } return nil } @@ -807,13 +728,11 @@ func DeepCopy_api_DownwardAPIVolumeFile(in interface{}, out interface{}, c *conv { in := in.(*DownwardAPIVolumeFile) out := out.(*DownwardAPIVolumeFile) - out.Path = in.Path + *out = *in if in.FieldRef != nil { in, out := &in.FieldRef, &out.FieldRef *out = new(ObjectFieldSelector) **out = **in - } else { - out.FieldRef = nil } if in.ResourceFieldRef != nil { in, out := &in.ResourceFieldRef, &out.ResourceFieldRef @@ -821,15 +740,11 @@ func DeepCopy_api_DownwardAPIVolumeFile(in interface{}, out interface{}, c *conv if err := DeepCopy_api_ResourceFieldSelector(*in, *out, c); err != nil { return err } - } else { - out.ResourceFieldRef = nil } if in.Mode != nil { in, out := &in.Mode, &out.Mode *out = new(int32) **out = **in - } else { - out.Mode = nil } return nil } @@ -839,6 +754,7 @@ func DeepCopy_api_DownwardAPIVolumeSource(in interface{}, out interface{}, c *co { in := in.(*DownwardAPIVolumeSource) out := out.(*DownwardAPIVolumeSource) + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]DownwardAPIVolumeFile, len(*in)) @@ -847,15 +763,11 @@ func DeepCopy_api_DownwardAPIVolumeSource(in interface{}, out interface{}, c *co return err } } - } else { - out.Items = nil } if in.DefaultMode != nil { in, out := &in.DefaultMode, &out.DefaultMode *out = new(int32) **out = **in - } else { - out.DefaultMode = nil } return nil } @@ -865,7 +777,7 @@ func DeepCopy_api_EmptyDirVolumeSource(in interface{}, out interface{}, c *conve { in := in.(*EmptyDirVolumeSource) out := out.(*EmptyDirVolumeSource) - out.Medium = in.Medium + *out = *in return nil } } @@ -874,21 +786,16 @@ func DeepCopy_api_EndpointAddress(in interface{}, out interface{}, c *conversion { in := in.(*EndpointAddress) out := out.(*EndpointAddress) - out.IP = in.IP - out.Hostname = in.Hostname + *out = *in if in.NodeName != nil { in, out := &in.NodeName, &out.NodeName *out = new(string) **out = **in - } else { - out.NodeName = nil } if in.TargetRef != nil { in, out := &in.TargetRef, &out.TargetRef *out = new(ObjectReference) **out = **in - } else { - out.TargetRef = nil } return nil } @@ -898,9 +805,7 @@ func DeepCopy_api_EndpointPort(in interface{}, out interface{}, c *conversion.Cl { in := in.(*EndpointPort) out := out.(*EndpointPort) - out.Name = in.Name - out.Port = in.Port - out.Protocol = in.Protocol + *out = *in return nil } } @@ -909,6 +814,7 @@ func DeepCopy_api_EndpointSubset(in interface{}, out interface{}, c *conversion. { in := in.(*EndpointSubset) out := out.(*EndpointSubset) + *out = *in if in.Addresses != nil { in, out := &in.Addresses, &out.Addresses *out = make([]EndpointAddress, len(*in)) @@ -917,8 +823,6 @@ func DeepCopy_api_EndpointSubset(in interface{}, out interface{}, c *conversion. return err } } - } else { - out.Addresses = nil } if in.NotReadyAddresses != nil { in, out := &in.NotReadyAddresses, &out.NotReadyAddresses @@ -928,8 +832,6 @@ func DeepCopy_api_EndpointSubset(in interface{}, out interface{}, c *conversion. return err } } - } else { - out.NotReadyAddresses = nil } if in.Ports != nil { in, out := &in.Ports, &out.Ports @@ -937,8 +839,6 @@ func DeepCopy_api_EndpointSubset(in interface{}, out interface{}, c *conversion. for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Ports = nil } return nil } @@ -948,7 +848,7 @@ func DeepCopy_api_Endpoints(in interface{}, out interface{}, c *conversion.Clone { in := in.(*Endpoints) out := out.(*Endpoints) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -960,8 +860,6 @@ func DeepCopy_api_Endpoints(in interface{}, out interface{}, c *conversion.Clone return err } } - } else { - out.Subsets = nil } return nil } @@ -971,8 +869,7 @@ func DeepCopy_api_EndpointsList(in interface{}, out interface{}, c *conversion.C { in := in.(*EndpointsList) out := out.(*EndpointsList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Endpoints, len(*in)) @@ -981,8 +878,20 @@ func DeepCopy_api_EndpointsList(in interface{}, out interface{}, c *conversion.C return err } } - } else { - out.Items = nil + } + return nil + } +} + +func DeepCopy_api_EnvFromSource(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*EnvFromSource) + out := out.(*EnvFromSource) + *out = *in + if in.ConfigMapRef != nil { + in, out := &in.ConfigMapRef, &out.ConfigMapRef + *out = new(ConfigMapEnvSource) + **out = **in } return nil } @@ -992,16 +901,13 @@ func DeepCopy_api_EnvVar(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*EnvVar) out := out.(*EnvVar) - out.Name = in.Name - out.Value = in.Value + *out = *in if in.ValueFrom != nil { in, out := &in.ValueFrom, &out.ValueFrom *out = new(EnvVarSource) if err := DeepCopy_api_EnvVarSource(*in, *out, c); err != nil { return err } - } else { - out.ValueFrom = nil } return nil } @@ -1011,12 +917,11 @@ func DeepCopy_api_EnvVarSource(in interface{}, out interface{}, c *conversion.Cl { in := in.(*EnvVarSource) out := out.(*EnvVarSource) + *out = *in if in.FieldRef != nil { in, out := &in.FieldRef, &out.FieldRef *out = new(ObjectFieldSelector) **out = **in - } else { - out.FieldRef = nil } if in.ResourceFieldRef != nil { in, out := &in.ResourceFieldRef, &out.ResourceFieldRef @@ -1024,22 +929,16 @@ func DeepCopy_api_EnvVarSource(in interface{}, out interface{}, c *conversion.Cl if err := DeepCopy_api_ResourceFieldSelector(*in, *out, c); err != nil { return err } - } else { - out.ResourceFieldRef = nil } if in.ConfigMapKeyRef != nil { in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef *out = new(ConfigMapKeySelector) **out = **in - } else { - out.ConfigMapKeyRef = nil } if in.SecretKeyRef != nil { in, out := &in.SecretKeyRef, &out.SecretKeyRef *out = new(SecretKeySelector) **out = **in - } else { - out.SecretKeyRef = nil } return nil } @@ -1049,18 +948,12 @@ func DeepCopy_api_Event(in interface{}, out interface{}, c *conversion.Cloner) e { in := in.(*Event) out := out.(*Event) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.InvolvedObject = in.InvolvedObject - out.Reason = in.Reason - out.Message = in.Message - out.Source = in.Source out.FirstTimestamp = in.FirstTimestamp.DeepCopy() out.LastTimestamp = in.LastTimestamp.DeepCopy() - out.Count = in.Count - out.Type = in.Type return nil } } @@ -1069,8 +962,7 @@ func DeepCopy_api_EventList(in interface{}, out interface{}, c *conversion.Clone { in := in.(*EventList) out := out.(*EventList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Event, len(*in)) @@ -1079,8 +971,6 @@ func DeepCopy_api_EventList(in interface{}, out interface{}, c *conversion.Clone return err } } - } else { - out.Items = nil } return nil } @@ -1090,8 +980,7 @@ func DeepCopy_api_EventSource(in interface{}, out interface{}, c *conversion.Clo { in := in.(*EventSource) out := out.(*EventSource) - out.Component = in.Component - out.Host = in.Host + *out = *in return nil } } @@ -1100,12 +989,11 @@ func DeepCopy_api_ExecAction(in interface{}, out interface{}, c *conversion.Clon { in := in.(*ExecAction) out := out.(*ExecAction) + *out = *in if in.Command != nil { in, out := &in.Command, &out.Command *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Command = nil } return nil } @@ -1115,22 +1003,17 @@ func DeepCopy_api_FCVolumeSource(in interface{}, out interface{}, c *conversion. { in := in.(*FCVolumeSource) out := out.(*FCVolumeSource) + *out = *in if in.TargetWWNs != nil { in, out := &in.TargetWWNs, &out.TargetWWNs *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.TargetWWNs = nil } if in.Lun != nil { in, out := &in.Lun, &out.Lun *out = new(int32) **out = **in - } else { - out.Lun = nil } - out.FSType = in.FSType - out.ReadOnly = in.ReadOnly return nil } } @@ -1139,24 +1022,18 @@ func DeepCopy_api_FlexVolumeSource(in interface{}, out interface{}, c *conversio { in := in.(*FlexVolumeSource) out := out.(*FlexVolumeSource) - out.Driver = in.Driver - out.FSType = in.FSType + *out = *in if in.SecretRef != nil { in, out := &in.SecretRef, &out.SecretRef *out = new(LocalObjectReference) **out = **in - } else { - out.SecretRef = nil } - out.ReadOnly = in.ReadOnly if in.Options != nil { in, out := &in.Options, &out.Options *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } - } else { - out.Options = nil } return nil } @@ -1166,8 +1043,7 @@ func DeepCopy_api_FlockerVolumeSource(in interface{}, out interface{}, c *conver { in := in.(*FlockerVolumeSource) out := out.(*FlockerVolumeSource) - out.DatasetName = in.DatasetName - out.DatasetUUID = in.DatasetUUID + *out = *in return nil } } @@ -1176,10 +1052,7 @@ func DeepCopy_api_GCEPersistentDiskVolumeSource(in interface{}, out interface{}, { in := in.(*GCEPersistentDiskVolumeSource) out := out.(*GCEPersistentDiskVolumeSource) - out.PDName = in.PDName - out.FSType = in.FSType - out.Partition = in.Partition - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -1188,9 +1061,7 @@ func DeepCopy_api_GitRepoVolumeSource(in interface{}, out interface{}, c *conver { in := in.(*GitRepoVolumeSource) out := out.(*GitRepoVolumeSource) - out.Repository = in.Repository - out.Revision = in.Revision - out.Directory = in.Directory + *out = *in return nil } } @@ -1199,9 +1070,7 @@ func DeepCopy_api_GlusterfsVolumeSource(in interface{}, out interface{}, c *conv { in := in.(*GlusterfsVolumeSource) out := out.(*GlusterfsVolumeSource) - out.EndpointsName = in.EndpointsName - out.Path = in.Path - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -1210,18 +1079,13 @@ func DeepCopy_api_HTTPGetAction(in interface{}, out interface{}, c *conversion.C { in := in.(*HTTPGetAction) out := out.(*HTTPGetAction) - out.Path = in.Path - out.Port = in.Port - out.Host = in.Host - out.Scheme = in.Scheme + *out = *in if in.HTTPHeaders != nil { in, out := &in.HTTPHeaders, &out.HTTPHeaders *out = make([]HTTPHeader, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.HTTPHeaders = nil } return nil } @@ -1231,8 +1095,7 @@ func DeepCopy_api_HTTPHeader(in interface{}, out interface{}, c *conversion.Clon { in := in.(*HTTPHeader) out := out.(*HTTPHeader) - out.Name = in.Name - out.Value = in.Value + *out = *in return nil } } @@ -1241,14 +1104,13 @@ func DeepCopy_api_Handler(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*Handler) out := out.(*Handler) + *out = *in if in.Exec != nil { in, out := &in.Exec, &out.Exec *out = new(ExecAction) if err := DeepCopy_api_ExecAction(*in, *out, c); err != nil { return err } - } else { - out.Exec = nil } if in.HTTPGet != nil { in, out := &in.HTTPGet, &out.HTTPGet @@ -1256,15 +1118,11 @@ func DeepCopy_api_Handler(in interface{}, out interface{}, c *conversion.Cloner) if err := DeepCopy_api_HTTPGetAction(*in, *out, c); err != nil { return err } - } else { - out.HTTPGet = nil } if in.TCPSocket != nil { in, out := &in.TCPSocket, &out.TCPSocket *out = new(TCPSocketAction) **out = **in - } else { - out.TCPSocket = nil } return nil } @@ -1274,7 +1132,7 @@ func DeepCopy_api_HostPathVolumeSource(in interface{}, out interface{}, c *conve { in := in.(*HostPathVolumeSource) out := out.(*HostPathVolumeSource) - out.Path = in.Path + *out = *in return nil } } @@ -1283,12 +1141,7 @@ func DeepCopy_api_ISCSIVolumeSource(in interface{}, out interface{}, c *conversi { in := in.(*ISCSIVolumeSource) out := out.(*ISCSIVolumeSource) - out.TargetPortal = in.TargetPortal - out.IQN = in.IQN - out.Lun = in.Lun - out.ISCSIInterface = in.ISCSIInterface - out.FSType = in.FSType - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -1297,14 +1150,11 @@ func DeepCopy_api_KeyToPath(in interface{}, out interface{}, c *conversion.Clone { in := in.(*KeyToPath) out := out.(*KeyToPath) - out.Key = in.Key - out.Path = in.Path + *out = *in if in.Mode != nil { in, out := &in.Mode, &out.Mode *out = new(int32) **out = **in - } else { - out.Mode = nil } return nil } @@ -1314,14 +1164,13 @@ func DeepCopy_api_Lifecycle(in interface{}, out interface{}, c *conversion.Clone { in := in.(*Lifecycle) out := out.(*Lifecycle) + *out = *in if in.PostStart != nil { in, out := &in.PostStart, &out.PostStart *out = new(Handler) if err := DeepCopy_api_Handler(*in, *out, c); err != nil { return err } - } else { - out.PostStart = nil } if in.PreStop != nil { in, out := &in.PreStop, &out.PreStop @@ -1329,8 +1178,6 @@ func DeepCopy_api_Lifecycle(in interface{}, out interface{}, c *conversion.Clone if err := DeepCopy_api_Handler(*in, *out, c); err != nil { return err } - } else { - out.PreStop = nil } return nil } @@ -1340,7 +1187,7 @@ func DeepCopy_api_LimitRange(in interface{}, out interface{}, c *conversion.Clon { in := in.(*LimitRange) out := out.(*LimitRange) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -1355,15 +1202,13 @@ func DeepCopy_api_LimitRangeItem(in interface{}, out interface{}, c *conversion. { in := in.(*LimitRangeItem) out := out.(*LimitRangeItem) - out.Type = in.Type + *out = *in if in.Max != nil { in, out := &in.Max, &out.Max *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Max = nil } if in.Min != nil { in, out := &in.Min, &out.Min @@ -1371,8 +1216,6 @@ func DeepCopy_api_LimitRangeItem(in interface{}, out interface{}, c *conversion. for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Min = nil } if in.Default != nil { in, out := &in.Default, &out.Default @@ -1380,8 +1223,6 @@ func DeepCopy_api_LimitRangeItem(in interface{}, out interface{}, c *conversion. for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Default = nil } if in.DefaultRequest != nil { in, out := &in.DefaultRequest, &out.DefaultRequest @@ -1389,8 +1230,6 @@ func DeepCopy_api_LimitRangeItem(in interface{}, out interface{}, c *conversion. for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.DefaultRequest = nil } if in.MaxLimitRequestRatio != nil { in, out := &in.MaxLimitRequestRatio, &out.MaxLimitRequestRatio @@ -1398,8 +1237,6 @@ func DeepCopy_api_LimitRangeItem(in interface{}, out interface{}, c *conversion. for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.MaxLimitRequestRatio = nil } return nil } @@ -1409,8 +1246,7 @@ func DeepCopy_api_LimitRangeList(in interface{}, out interface{}, c *conversion. { in := in.(*LimitRangeList) out := out.(*LimitRangeList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]LimitRange, len(*in)) @@ -1419,8 +1255,6 @@ func DeepCopy_api_LimitRangeList(in interface{}, out interface{}, c *conversion. return err } } - } else { - out.Items = nil } return nil } @@ -1430,6 +1264,7 @@ func DeepCopy_api_LimitRangeSpec(in interface{}, out interface{}, c *conversion. { in := in.(*LimitRangeSpec) out := out.(*LimitRangeSpec) + *out = *in if in.Limits != nil { in, out := &in.Limits, &out.Limits *out = make([]LimitRangeItem, len(*in)) @@ -1438,8 +1273,6 @@ func DeepCopy_api_LimitRangeSpec(in interface{}, out interface{}, c *conversion. return err } } - } else { - out.Limits = nil } return nil } @@ -1449,8 +1282,7 @@ func DeepCopy_api_List(in interface{}, out interface{}, c *conversion.Cloner) er { in := in.(*List) out := out.(*List) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]runtime.Object, len(*in)) @@ -1461,8 +1293,6 @@ func DeepCopy_api_List(in interface{}, out interface{}, c *conversion.Cloner) er (*out)[i] = *newVal.(*runtime.Object) } } - } else { - out.Items = nil } return nil } @@ -1472,29 +1302,27 @@ func DeepCopy_api_ListOptions(in interface{}, out interface{}, c *conversion.Clo { in := in.(*ListOptions) out := out.(*ListOptions) - out.TypeMeta = in.TypeMeta - if in.LabelSelector == nil { - out.LabelSelector = nil - } else if newVal, err := c.DeepCopy(&in.LabelSelector); err != nil { - return err - } else { - out.LabelSelector = *newVal.(*labels.Selector) + *out = *in + // in.LabelSelector is kind 'Interface' + if in.LabelSelector != nil { + if newVal, err := c.DeepCopy(&in.LabelSelector); err != nil { + return err + } else { + out.LabelSelector = *newVal.(*labels.Selector) + } } - if in.FieldSelector == nil { - out.FieldSelector = nil - } else if newVal, err := c.DeepCopy(&in.FieldSelector); err != nil { - return err - } else { - out.FieldSelector = *newVal.(*fields.Selector) + // in.FieldSelector is kind 'Interface' + if in.FieldSelector != nil { + if newVal, err := c.DeepCopy(&in.FieldSelector); err != nil { + return err + } else { + out.FieldSelector = *newVal.(*fields.Selector) + } } - out.Watch = in.Watch - out.ResourceVersion = in.ResourceVersion if in.TimeoutSeconds != nil { in, out := &in.TimeoutSeconds, &out.TimeoutSeconds *out = new(int64) **out = **in - } else { - out.TimeoutSeconds = nil } return nil } @@ -1504,8 +1332,7 @@ func DeepCopy_api_LoadBalancerIngress(in interface{}, out interface{}, c *conver { in := in.(*LoadBalancerIngress) out := out.(*LoadBalancerIngress) - out.IP = in.IP - out.Hostname = in.Hostname + *out = *in return nil } } @@ -1514,14 +1341,13 @@ func DeepCopy_api_LoadBalancerStatus(in interface{}, out interface{}, c *convers { in := in.(*LoadBalancerStatus) out := out.(*LoadBalancerStatus) + *out = *in if in.Ingress != nil { in, out := &in.Ingress, &out.Ingress *out = make([]LoadBalancerIngress, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Ingress = nil } return nil } @@ -1531,7 +1357,7 @@ func DeepCopy_api_LocalObjectReference(in interface{}, out interface{}, c *conve { in := in.(*LocalObjectReference) out := out.(*LocalObjectReference) - out.Name = in.Name + *out = *in return nil } } @@ -1540,9 +1366,7 @@ func DeepCopy_api_NFSVolumeSource(in interface{}, out interface{}, c *conversion { in := in.(*NFSVolumeSource) out := out.(*NFSVolumeSource) - out.Server = in.Server - out.Path = in.Path - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -1551,14 +1375,13 @@ func DeepCopy_api_Namespace(in interface{}, out interface{}, c *conversion.Clone { in := in.(*Namespace) out := out.(*Namespace) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } if err := DeepCopy_api_NamespaceSpec(&in.Spec, &out.Spec, c); err != nil { return err } - out.Status = in.Status return nil } } @@ -1567,8 +1390,7 @@ func DeepCopy_api_NamespaceList(in interface{}, out interface{}, c *conversion.C { in := in.(*NamespaceList) out := out.(*NamespaceList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Namespace, len(*in)) @@ -1577,8 +1399,6 @@ func DeepCopy_api_NamespaceList(in interface{}, out interface{}, c *conversion.C return err } } - } else { - out.Items = nil } return nil } @@ -1588,14 +1408,13 @@ func DeepCopy_api_NamespaceSpec(in interface{}, out interface{}, c *conversion.C { in := in.(*NamespaceSpec) out := out.(*NamespaceSpec) + *out = *in if in.Finalizers != nil { in, out := &in.Finalizers, &out.Finalizers *out = make([]FinalizerName, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Finalizers = nil } return nil } @@ -1605,7 +1424,7 @@ func DeepCopy_api_NamespaceStatus(in interface{}, out interface{}, c *conversion { in := in.(*NamespaceStatus) out := out.(*NamespaceStatus) - out.Phase = in.Phase + *out = *in return nil } } @@ -1614,11 +1433,10 @@ func DeepCopy_api_Node(in interface{}, out interface{}, c *conversion.Cloner) er { in := in.(*Node) out := out.(*Node) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Spec = in.Spec if err := DeepCopy_api_NodeStatus(&in.Status, &out.Status, c); err != nil { return err } @@ -1630,8 +1448,7 @@ func DeepCopy_api_NodeAddress(in interface{}, out interface{}, c *conversion.Clo { in := in.(*NodeAddress) out := out.(*NodeAddress) - out.Type = in.Type - out.Address = in.Address + *out = *in return nil } } @@ -1640,14 +1457,13 @@ func DeepCopy_api_NodeAffinity(in interface{}, out interface{}, c *conversion.Cl { in := in.(*NodeAffinity) out := out.(*NodeAffinity) + *out = *in if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution *out = new(NodeSelector) if err := DeepCopy_api_NodeSelector(*in, *out, c); err != nil { return err } - } else { - out.RequiredDuringSchedulingIgnoredDuringExecution = nil } if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution @@ -1657,8 +1473,6 @@ func DeepCopy_api_NodeAffinity(in interface{}, out interface{}, c *conversion.Cl return err } } - } else { - out.PreferredDuringSchedulingIgnoredDuringExecution = nil } return nil } @@ -1668,12 +1482,9 @@ func DeepCopy_api_NodeCondition(in interface{}, out interface{}, c *conversion.C { in := in.(*NodeCondition) out := out.(*NodeCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastHeartbeatTime = in.LastHeartbeatTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -1682,7 +1493,7 @@ func DeepCopy_api_NodeDaemonEndpoints(in interface{}, out interface{}, c *conver { in := in.(*NodeDaemonEndpoints) out := out.(*NodeDaemonEndpoints) - out.KubeletEndpoint = in.KubeletEndpoint + *out = *in return nil } } @@ -1691,8 +1502,7 @@ func DeepCopy_api_NodeList(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*NodeList) out := out.(*NodeList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Node, len(*in)) @@ -1701,8 +1511,6 @@ func DeepCopy_api_NodeList(in interface{}, out interface{}, c *conversion.Cloner return err } } - } else { - out.Items = nil } return nil } @@ -1712,8 +1520,7 @@ func DeepCopy_api_NodeProxyOptions(in interface{}, out interface{}, c *conversio { in := in.(*NodeProxyOptions) out := out.(*NodeProxyOptions) - out.TypeMeta = in.TypeMeta - out.Path = in.Path + *out = *in return nil } } @@ -1722,14 +1529,13 @@ func DeepCopy_api_NodeResources(in interface{}, out interface{}, c *conversion.C { in := in.(*NodeResources) out := out.(*NodeResources) + *out = *in if in.Capacity != nil { in, out := &in.Capacity, &out.Capacity *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Capacity = nil } return nil } @@ -1739,6 +1545,7 @@ func DeepCopy_api_NodeSelector(in interface{}, out interface{}, c *conversion.Cl { in := in.(*NodeSelector) out := out.(*NodeSelector) + *out = *in if in.NodeSelectorTerms != nil { in, out := &in.NodeSelectorTerms, &out.NodeSelectorTerms *out = make([]NodeSelectorTerm, len(*in)) @@ -1747,8 +1554,6 @@ func DeepCopy_api_NodeSelector(in interface{}, out interface{}, c *conversion.Cl return err } } - } else { - out.NodeSelectorTerms = nil } return nil } @@ -1758,14 +1563,11 @@ func DeepCopy_api_NodeSelectorRequirement(in interface{}, out interface{}, c *co { in := in.(*NodeSelectorRequirement) out := out.(*NodeSelectorRequirement) - out.Key = in.Key - out.Operator = in.Operator + *out = *in if in.Values != nil { in, out := &in.Values, &out.Values *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Values = nil } return nil } @@ -1775,6 +1577,7 @@ func DeepCopy_api_NodeSelectorTerm(in interface{}, out interface{}, c *conversio { in := in.(*NodeSelectorTerm) out := out.(*NodeSelectorTerm) + *out = *in if in.MatchExpressions != nil { in, out := &in.MatchExpressions, &out.MatchExpressions *out = make([]NodeSelectorRequirement, len(*in)) @@ -1783,8 +1586,6 @@ func DeepCopy_api_NodeSelectorTerm(in interface{}, out interface{}, c *conversio return err } } - } else { - out.MatchExpressions = nil } return nil } @@ -1794,10 +1595,7 @@ func DeepCopy_api_NodeSpec(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*NodeSpec) out := out.(*NodeSpec) - out.PodCIDR = in.PodCIDR - out.ExternalID = in.ExternalID - out.ProviderID = in.ProviderID - out.Unschedulable = in.Unschedulable + *out = *in return nil } } @@ -1806,14 +1604,13 @@ func DeepCopy_api_NodeStatus(in interface{}, out interface{}, c *conversion.Clon { in := in.(*NodeStatus) out := out.(*NodeStatus) + *out = *in if in.Capacity != nil { in, out := &in.Capacity, &out.Capacity *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Capacity = nil } if in.Allocatable != nil { in, out := &in.Allocatable, &out.Allocatable @@ -1821,10 +1618,7 @@ func DeepCopy_api_NodeStatus(in interface{}, out interface{}, c *conversion.Clon for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Allocatable = nil } - out.Phase = in.Phase if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]NodeCondition, len(*in)) @@ -1833,8 +1627,6 @@ func DeepCopy_api_NodeStatus(in interface{}, out interface{}, c *conversion.Clon return err } } - } else { - out.Conditions = nil } if in.Addresses != nil { in, out := &in.Addresses, &out.Addresses @@ -1842,11 +1634,7 @@ func DeepCopy_api_NodeStatus(in interface{}, out interface{}, c *conversion.Clon for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Addresses = nil } - out.DaemonEndpoints = in.DaemonEndpoints - out.NodeInfo = in.NodeInfo if in.Images != nil { in, out := &in.Images, &out.Images *out = make([]ContainerImage, len(*in)) @@ -1855,8 +1643,6 @@ func DeepCopy_api_NodeStatus(in interface{}, out interface{}, c *conversion.Clon return err } } - } else { - out.Images = nil } if in.VolumesInUse != nil { in, out := &in.VolumesInUse, &out.VolumesInUse @@ -1864,8 +1650,6 @@ func DeepCopy_api_NodeStatus(in interface{}, out interface{}, c *conversion.Clon for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.VolumesInUse = nil } if in.VolumesAttached != nil { in, out := &in.VolumesAttached, &out.VolumesAttached @@ -1873,8 +1657,6 @@ func DeepCopy_api_NodeStatus(in interface{}, out interface{}, c *conversion.Clon for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.VolumesAttached = nil } return nil } @@ -1884,16 +1666,7 @@ func DeepCopy_api_NodeSystemInfo(in interface{}, out interface{}, c *conversion. { in := in.(*NodeSystemInfo) out := out.(*NodeSystemInfo) - out.MachineID = in.MachineID - out.SystemUUID = in.SystemUUID - out.BootID = in.BootID - out.KernelVersion = in.KernelVersion - out.OSImage = in.OSImage - out.ContainerRuntimeVersion = in.ContainerRuntimeVersion - out.KubeletVersion = in.KubeletVersion - out.KubeProxyVersion = in.KubeProxyVersion - out.OperatingSystem = in.OperatingSystem - out.Architecture = in.Architecture + *out = *in return nil } } @@ -1902,8 +1675,7 @@ func DeepCopy_api_ObjectFieldSelector(in interface{}, out interface{}, c *conver { in := in.(*ObjectFieldSelector) out := out.(*ObjectFieldSelector) - out.APIVersion = in.APIVersion - out.FieldPath = in.FieldPath + *out = *in return nil } } @@ -1912,27 +1684,17 @@ func DeepCopy_api_ObjectMeta(in interface{}, out interface{}, c *conversion.Clon { in := in.(*ObjectMeta) out := out.(*ObjectMeta) - out.Name = in.Name - out.GenerateName = in.GenerateName - out.Namespace = in.Namespace - out.SelfLink = in.SelfLink - out.UID = in.UID - out.ResourceVersion = in.ResourceVersion - out.Generation = in.Generation + *out = *in out.CreationTimestamp = in.CreationTimestamp.DeepCopy() if in.DeletionTimestamp != nil { in, out := &in.DeletionTimestamp, &out.DeletionTimestamp *out = new(v1.Time) **out = (*in).DeepCopy() - } else { - out.DeletionTimestamp = nil } if in.DeletionGracePeriodSeconds != nil { in, out := &in.DeletionGracePeriodSeconds, &out.DeletionGracePeriodSeconds *out = new(int64) **out = **in - } else { - out.DeletionGracePeriodSeconds = nil } if in.Labels != nil { in, out := &in.Labels, &out.Labels @@ -1940,8 +1702,6 @@ func DeepCopy_api_ObjectMeta(in interface{}, out interface{}, c *conversion.Clon for key, val := range *in { (*out)[key] = val } - } else { - out.Labels = nil } if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -1949,28 +1709,23 @@ func DeepCopy_api_ObjectMeta(in interface{}, out interface{}, c *conversion.Clon for key, val := range *in { (*out)[key] = val } - } else { - out.Annotations = nil } if in.OwnerReferences != nil { in, out := &in.OwnerReferences, &out.OwnerReferences *out = make([]v1.OwnerReference, len(*in)) for i := range *in { - if err := v1.DeepCopy_v1_OwnerReference(&(*in)[i], &(*out)[i], c); err != nil { + if newVal, err := c.DeepCopy(&(*in)[i]); err != nil { return err + } else { + (*out)[i] = *newVal.(*v1.OwnerReference) } } - } else { - out.OwnerReferences = nil } if in.Finalizers != nil { in, out := &in.Finalizers, &out.Finalizers *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Finalizers = nil } - out.ClusterName = in.ClusterName return nil } } @@ -1979,13 +1734,7 @@ func DeepCopy_api_ObjectReference(in interface{}, out interface{}, c *conversion { in := in.(*ObjectReference) out := out.(*ObjectReference) - out.Kind = in.Kind - out.Namespace = in.Namespace - out.Name = in.Name - out.UID = in.UID - out.APIVersion = in.APIVersion - out.ResourceVersion = in.ResourceVersion - out.FieldPath = in.FieldPath + *out = *in return nil } } @@ -1994,14 +1743,13 @@ func DeepCopy_api_PersistentVolume(in interface{}, out interface{}, c *conversio { in := in.(*PersistentVolume) out := out.(*PersistentVolume) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } if err := DeepCopy_api_PersistentVolumeSpec(&in.Spec, &out.Spec, c); err != nil { return err } - out.Status = in.Status return nil } } @@ -2010,7 +1758,7 @@ func DeepCopy_api_PersistentVolumeClaim(in interface{}, out interface{}, c *conv { in := in.(*PersistentVolumeClaim) out := out.(*PersistentVolumeClaim) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -2028,8 +1776,7 @@ func DeepCopy_api_PersistentVolumeClaimList(in interface{}, out interface{}, c * { in := in.(*PersistentVolumeClaimList) out := out.(*PersistentVolumeClaimList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PersistentVolumeClaim, len(*in)) @@ -2038,8 +1785,6 @@ func DeepCopy_api_PersistentVolumeClaimList(in interface{}, out interface{}, c * return err } } - } else { - out.Items = nil } return nil } @@ -2049,28 +1794,25 @@ func DeepCopy_api_PersistentVolumeClaimSpec(in interface{}, out interface{}, c * { in := in.(*PersistentVolumeClaimSpec) out := out.(*PersistentVolumeClaimSpec) + *out = *in if in.AccessModes != nil { in, out := &in.AccessModes, &out.AccessModes *out = make([]PersistentVolumeAccessMode, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.AccessModes = nil } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(v1.LabelSelector) - if err := v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*v1.LabelSelector) } - } else { - out.Selector = nil } if err := DeepCopy_api_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil { return err } - out.VolumeName = in.VolumeName return nil } } @@ -2079,15 +1821,13 @@ func DeepCopy_api_PersistentVolumeClaimStatus(in interface{}, out interface{}, c { in := in.(*PersistentVolumeClaimStatus) out := out.(*PersistentVolumeClaimStatus) - out.Phase = in.Phase + *out = *in if in.AccessModes != nil { in, out := &in.AccessModes, &out.AccessModes *out = make([]PersistentVolumeAccessMode, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.AccessModes = nil } if in.Capacity != nil { in, out := &in.Capacity, &out.Capacity @@ -2095,8 +1835,6 @@ func DeepCopy_api_PersistentVolumeClaimStatus(in interface{}, out interface{}, c for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Capacity = nil } return nil } @@ -2106,8 +1844,7 @@ func DeepCopy_api_PersistentVolumeClaimVolumeSource(in interface{}, out interfac { in := in.(*PersistentVolumeClaimVolumeSource) out := out.(*PersistentVolumeClaimVolumeSource) - out.ClaimName = in.ClaimName - out.ReadOnly = in.ReadOnly + *out = *in return nil } } @@ -2116,8 +1853,7 @@ func DeepCopy_api_PersistentVolumeList(in interface{}, out interface{}, c *conve { in := in.(*PersistentVolumeList) out := out.(*PersistentVolumeList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PersistentVolume, len(*in)) @@ -2126,8 +1862,6 @@ func DeepCopy_api_PersistentVolumeList(in interface{}, out interface{}, c *conve return err } } - } else { - out.Items = nil } return nil } @@ -2137,40 +1871,31 @@ func DeepCopy_api_PersistentVolumeSource(in interface{}, out interface{}, c *con { in := in.(*PersistentVolumeSource) out := out.(*PersistentVolumeSource) + *out = *in if in.GCEPersistentDisk != nil { in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk *out = new(GCEPersistentDiskVolumeSource) **out = **in - } else { - out.GCEPersistentDisk = nil } if in.AWSElasticBlockStore != nil { in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore *out = new(AWSElasticBlockStoreVolumeSource) **out = **in - } else { - out.AWSElasticBlockStore = nil } if in.HostPath != nil { in, out := &in.HostPath, &out.HostPath *out = new(HostPathVolumeSource) **out = **in - } else { - out.HostPath = nil } if in.Glusterfs != nil { in, out := &in.Glusterfs, &out.Glusterfs *out = new(GlusterfsVolumeSource) **out = **in - } else { - out.Glusterfs = nil } if in.NFS != nil { in, out := &in.NFS, &out.NFS *out = new(NFSVolumeSource) **out = **in - } else { - out.NFS = nil } if in.RBD != nil { in, out := &in.RBD, &out.RBD @@ -2178,22 +1903,16 @@ func DeepCopy_api_PersistentVolumeSource(in interface{}, out interface{}, c *con if err := DeepCopy_api_RBDVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.RBD = nil } if in.Quobyte != nil { in, out := &in.Quobyte, &out.Quobyte *out = new(QuobyteVolumeSource) **out = **in - } else { - out.Quobyte = nil } if in.ISCSI != nil { in, out := &in.ISCSI, &out.ISCSI *out = new(ISCSIVolumeSource) **out = **in - } else { - out.ISCSI = nil } if in.FlexVolume != nil { in, out := &in.FlexVolume, &out.FlexVolume @@ -2201,15 +1920,11 @@ func DeepCopy_api_PersistentVolumeSource(in interface{}, out interface{}, c *con if err := DeepCopy_api_FlexVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.FlexVolume = nil } if in.Cinder != nil { in, out := &in.Cinder, &out.Cinder *out = new(CinderVolumeSource) **out = **in - } else { - out.Cinder = nil } if in.CephFS != nil { in, out := &in.CephFS, &out.CephFS @@ -2217,8 +1932,6 @@ func DeepCopy_api_PersistentVolumeSource(in interface{}, out interface{}, c *con if err := DeepCopy_api_CephFSVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.CephFS = nil } if in.FC != nil { in, out := &in.FC, &out.FC @@ -2226,29 +1939,21 @@ func DeepCopy_api_PersistentVolumeSource(in interface{}, out interface{}, c *con if err := DeepCopy_api_FCVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.FC = nil } if in.Flocker != nil { in, out := &in.Flocker, &out.Flocker *out = new(FlockerVolumeSource) **out = **in - } else { - out.Flocker = nil } if in.AzureFile != nil { in, out := &in.AzureFile, &out.AzureFile *out = new(AzureFileVolumeSource) **out = **in - } else { - out.AzureFile = nil } if in.VsphereVolume != nil { in, out := &in.VsphereVolume, &out.VsphereVolume *out = new(VsphereVirtualDiskVolumeSource) **out = **in - } else { - out.VsphereVolume = nil } if in.AzureDisk != nil { in, out := &in.AzureDisk, &out.AzureDisk @@ -2256,15 +1961,11 @@ func DeepCopy_api_PersistentVolumeSource(in interface{}, out interface{}, c *con if err := DeepCopy_api_AzureDiskVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.AzureDisk = nil } if in.PhotonPersistentDisk != nil { in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk *out = new(PhotonPersistentDiskVolumeSource) **out = **in - } else { - out.PhotonPersistentDisk = nil } return nil } @@ -2274,14 +1975,13 @@ func DeepCopy_api_PersistentVolumeSpec(in interface{}, out interface{}, c *conve { in := in.(*PersistentVolumeSpec) out := out.(*PersistentVolumeSpec) + *out = *in if in.Capacity != nil { in, out := &in.Capacity, &out.Capacity *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Capacity = nil } if err := DeepCopy_api_PersistentVolumeSource(&in.PersistentVolumeSource, &out.PersistentVolumeSource, c); err != nil { return err @@ -2292,17 +1992,12 @@ func DeepCopy_api_PersistentVolumeSpec(in interface{}, out interface{}, c *conve for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.AccessModes = nil } if in.ClaimRef != nil { in, out := &in.ClaimRef, &out.ClaimRef *out = new(ObjectReference) **out = **in - } else { - out.ClaimRef = nil } - out.PersistentVolumeReclaimPolicy = in.PersistentVolumeReclaimPolicy return nil } } @@ -2311,9 +2006,7 @@ func DeepCopy_api_PersistentVolumeStatus(in interface{}, out interface{}, c *con { in := in.(*PersistentVolumeStatus) out := out.(*PersistentVolumeStatus) - out.Phase = in.Phase - out.Message = in.Message - out.Reason = in.Reason + *out = *in return nil } } @@ -2322,8 +2015,7 @@ func DeepCopy_api_PhotonPersistentDiskVolumeSource(in interface{}, out interface { in := in.(*PhotonPersistentDiskVolumeSource) out := out.(*PhotonPersistentDiskVolumeSource) - out.PdID = in.PdID - out.FSType = in.FSType + *out = *in return nil } } @@ -2332,7 +2024,7 @@ func DeepCopy_api_Pod(in interface{}, out interface{}, c *conversion.Cloner) err { in := in.(*Pod) out := out.(*Pod) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -2350,6 +2042,7 @@ func DeepCopy_api_PodAffinity(in interface{}, out interface{}, c *conversion.Clo { in := in.(*PodAffinity) out := out.(*PodAffinity) + *out = *in if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution *out = make([]PodAffinityTerm, len(*in)) @@ -2358,8 +2051,6 @@ func DeepCopy_api_PodAffinity(in interface{}, out interface{}, c *conversion.Clo return err } } - } else { - out.RequiredDuringSchedulingIgnoredDuringExecution = nil } if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution @@ -2369,8 +2060,6 @@ func DeepCopy_api_PodAffinity(in interface{}, out interface{}, c *conversion.Clo return err } } - } else { - out.PreferredDuringSchedulingIgnoredDuringExecution = nil } return nil } @@ -2380,23 +2069,20 @@ func DeepCopy_api_PodAffinityTerm(in interface{}, out interface{}, c *conversion { in := in.(*PodAffinityTerm) out := out.(*PodAffinityTerm) + *out = *in if in.LabelSelector != nil { in, out := &in.LabelSelector, &out.LabelSelector - *out = new(v1.LabelSelector) - if err := v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*v1.LabelSelector) } - } else { - out.LabelSelector = nil } if in.Namespaces != nil { in, out := &in.Namespaces, &out.Namespaces *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Namespaces = nil } - out.TopologyKey = in.TopologyKey return nil } } @@ -2405,6 +2091,7 @@ func DeepCopy_api_PodAntiAffinity(in interface{}, out interface{}, c *conversion { in := in.(*PodAntiAffinity) out := out.(*PodAntiAffinity) + *out = *in if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution *out = make([]PodAffinityTerm, len(*in)) @@ -2413,8 +2100,6 @@ func DeepCopy_api_PodAntiAffinity(in interface{}, out interface{}, c *conversion return err } } - } else { - out.RequiredDuringSchedulingIgnoredDuringExecution = nil } if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution @@ -2424,8 +2109,6 @@ func DeepCopy_api_PodAntiAffinity(in interface{}, out interface{}, c *conversion return err } } - } else { - out.PreferredDuringSchedulingIgnoredDuringExecution = nil } return nil } @@ -2435,12 +2118,7 @@ func DeepCopy_api_PodAttachOptions(in interface{}, out interface{}, c *conversio { in := in.(*PodAttachOptions) out := out.(*PodAttachOptions) - out.TypeMeta = in.TypeMeta - out.Stdin = in.Stdin - out.Stdout = in.Stdout - out.Stderr = in.Stderr - out.TTY = in.TTY - out.Container = in.Container + *out = *in return nil } } @@ -2449,12 +2127,9 @@ func DeepCopy_api_PodCondition(in interface{}, out interface{}, c *conversion.Cl { in := in.(*PodCondition) out := out.(*PodCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastProbeTime = in.LastProbeTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -2463,18 +2138,11 @@ func DeepCopy_api_PodExecOptions(in interface{}, out interface{}, c *conversion. { in := in.(*PodExecOptions) out := out.(*PodExecOptions) - out.TypeMeta = in.TypeMeta - out.Stdin = in.Stdin - out.Stdout = in.Stdout - out.Stderr = in.Stderr - out.TTY = in.TTY - out.Container = in.Container + *out = *in if in.Command != nil { in, out := &in.Command, &out.Command *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Command = nil } return nil } @@ -2484,8 +2152,7 @@ func DeepCopy_api_PodList(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*PodList) out := out.(*PodList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Pod, len(*in)) @@ -2494,8 +2161,6 @@ func DeepCopy_api_PodList(in interface{}, out interface{}, c *conversion.Cloner) return err } } - } else { - out.Items = nil } return nil } @@ -2505,38 +2170,26 @@ func DeepCopy_api_PodLogOptions(in interface{}, out interface{}, c *conversion.C { in := in.(*PodLogOptions) out := out.(*PodLogOptions) - out.TypeMeta = in.TypeMeta - out.Container = in.Container - out.Follow = in.Follow - out.Previous = in.Previous + *out = *in if in.SinceSeconds != nil { in, out := &in.SinceSeconds, &out.SinceSeconds *out = new(int64) **out = **in - } else { - out.SinceSeconds = nil } if in.SinceTime != nil { in, out := &in.SinceTime, &out.SinceTime *out = new(v1.Time) **out = (*in).DeepCopy() - } else { - out.SinceTime = nil } - out.Timestamps = in.Timestamps if in.TailLines != nil { in, out := &in.TailLines, &out.TailLines *out = new(int64) **out = **in - } else { - out.TailLines = nil } if in.LimitBytes != nil { in, out := &in.LimitBytes, &out.LimitBytes *out = new(int64) **out = **in - } else { - out.LimitBytes = nil } return nil } @@ -2546,8 +2199,7 @@ func DeepCopy_api_PodProxyOptions(in interface{}, out interface{}, c *conversion { in := in.(*PodProxyOptions) out := out.(*PodProxyOptions) - out.TypeMeta = in.TypeMeta - out.Path = in.Path + *out = *in return nil } } @@ -2556,43 +2208,31 @@ func DeepCopy_api_PodSecurityContext(in interface{}, out interface{}, c *convers { in := in.(*PodSecurityContext) out := out.(*PodSecurityContext) - out.HostNetwork = in.HostNetwork - out.HostPID = in.HostPID - out.HostIPC = in.HostIPC + *out = *in if in.SELinuxOptions != nil { in, out := &in.SELinuxOptions, &out.SELinuxOptions *out = new(SELinuxOptions) **out = **in - } else { - out.SELinuxOptions = nil } if in.RunAsUser != nil { in, out := &in.RunAsUser, &out.RunAsUser *out = new(int64) **out = **in - } else { - out.RunAsUser = nil } if in.RunAsNonRoot != nil { in, out := &in.RunAsNonRoot, &out.RunAsNonRoot *out = new(bool) **out = **in - } else { - out.RunAsNonRoot = nil } if in.SupplementalGroups != nil { in, out := &in.SupplementalGroups, &out.SupplementalGroups *out = make([]int64, len(*in)) copy(*out, *in) - } else { - out.SupplementalGroups = nil } if in.FSGroup != nil { in, out := &in.FSGroup, &out.FSGroup *out = new(int64) **out = **in - } else { - out.FSGroup = nil } return nil } @@ -2602,14 +2242,14 @@ func DeepCopy_api_PodSignature(in interface{}, out interface{}, c *conversion.Cl { in := in.(*PodSignature) out := out.(*PodSignature) + *out = *in if in.PodController != nil { in, out := &in.PodController, &out.PodController - *out = new(v1.OwnerReference) - if err := v1.DeepCopy_v1_OwnerReference(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*v1.OwnerReference) } - } else { - out.PodController = nil } return nil } @@ -2619,6 +2259,7 @@ func DeepCopy_api_PodSpec(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*PodSpec) out := out.(*PodSpec) + *out = *in if in.Volumes != nil { in, out := &in.Volumes, &out.Volumes *out = make([]Volume, len(*in)) @@ -2627,8 +2268,6 @@ func DeepCopy_api_PodSpec(in interface{}, out interface{}, c *conversion.Cloner) return err } } - } else { - out.Volumes = nil } if in.InitContainers != nil { in, out := &in.InitContainers, &out.InitContainers @@ -2638,8 +2277,6 @@ func DeepCopy_api_PodSpec(in interface{}, out interface{}, c *conversion.Cloner) return err } } - } else { - out.InitContainers = nil } if in.Containers != nil { in, out := &in.Containers, &out.Containers @@ -2649,44 +2286,30 @@ func DeepCopy_api_PodSpec(in interface{}, out interface{}, c *conversion.Cloner) return err } } - } else { - out.Containers = nil } - out.RestartPolicy = in.RestartPolicy if in.TerminationGracePeriodSeconds != nil { in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds *out = new(int64) **out = **in - } else { - out.TerminationGracePeriodSeconds = nil } if in.ActiveDeadlineSeconds != nil { in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds *out = new(int64) **out = **in - } else { - out.ActiveDeadlineSeconds = nil } - out.DNSPolicy = in.DNSPolicy if in.NodeSelector != nil { in, out := &in.NodeSelector, &out.NodeSelector *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } - } else { - out.NodeSelector = nil } - out.ServiceAccountName = in.ServiceAccountName - out.NodeName = in.NodeName if in.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext *out = new(PodSecurityContext) if err := DeepCopy_api_PodSecurityContext(*in, *out, c); err != nil { return err } - } else { - out.SecurityContext = nil } if in.ImagePullSecrets != nil { in, out := &in.ImagePullSecrets, &out.ImagePullSecrets @@ -2694,19 +2317,13 @@ func DeepCopy_api_PodSpec(in interface{}, out interface{}, c *conversion.Cloner) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.ImagePullSecrets = nil } - out.Hostname = in.Hostname - out.Subdomain = in.Subdomain if in.Affinity != nil { in, out := &in.Affinity, &out.Affinity *out = new(Affinity) if err := DeepCopy_api_Affinity(*in, *out, c); err != nil { return err } - } else { - out.Affinity = nil } return nil } @@ -2716,7 +2333,7 @@ func DeepCopy_api_PodStatus(in interface{}, out interface{}, c *conversion.Clone { in := in.(*PodStatus) out := out.(*PodStatus) - out.Phase = in.Phase + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]PodCondition, len(*in)) @@ -2725,21 +2342,12 @@ func DeepCopy_api_PodStatus(in interface{}, out interface{}, c *conversion.Clone return err } } - } else { - out.Conditions = nil } - out.Message = in.Message - out.Reason = in.Reason - out.HostIP = in.HostIP - out.PodIP = in.PodIP if in.StartTime != nil { in, out := &in.StartTime, &out.StartTime *out = new(v1.Time) **out = (*in).DeepCopy() - } else { - out.StartTime = nil } - out.QOSClass = in.QOSClass if in.InitContainerStatuses != nil { in, out := &in.InitContainerStatuses, &out.InitContainerStatuses *out = make([]ContainerStatus, len(*in)) @@ -2748,8 +2356,6 @@ func DeepCopy_api_PodStatus(in interface{}, out interface{}, c *conversion.Clone return err } } - } else { - out.InitContainerStatuses = nil } if in.ContainerStatuses != nil { in, out := &in.ContainerStatuses, &out.ContainerStatuses @@ -2759,8 +2365,6 @@ func DeepCopy_api_PodStatus(in interface{}, out interface{}, c *conversion.Clone return err } } - } else { - out.ContainerStatuses = nil } return nil } @@ -2770,7 +2374,7 @@ func DeepCopy_api_PodStatusResult(in interface{}, out interface{}, c *conversion { in := in.(*PodStatusResult) out := out.(*PodStatusResult) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -2785,7 +2389,7 @@ func DeepCopy_api_PodTemplate(in interface{}, out interface{}, c *conversion.Clo { in := in.(*PodTemplate) out := out.(*PodTemplate) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -2800,8 +2404,7 @@ func DeepCopy_api_PodTemplateList(in interface{}, out interface{}, c *conversion { in := in.(*PodTemplateList) out := out.(*PodTemplateList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PodTemplate, len(*in)) @@ -2810,8 +2413,6 @@ func DeepCopy_api_PodTemplateList(in interface{}, out interface{}, c *conversion return err } } - } else { - out.Items = nil } return nil } @@ -2821,6 +2422,7 @@ func DeepCopy_api_PodTemplateSpec(in interface{}, out interface{}, c *conversion { in := in.(*PodTemplateSpec) out := out.(*PodTemplateSpec) + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -2835,12 +2437,11 @@ func DeepCopy_api_Preconditions(in interface{}, out interface{}, c *conversion.C { in := in.(*Preconditions) out := out.(*Preconditions) + *out = *in if in.UID != nil { in, out := &in.UID, &out.UID *out = new(types.UID) **out = **in - } else { - out.UID = nil } return nil } @@ -2850,12 +2451,11 @@ func DeepCopy_api_PreferAvoidPodsEntry(in interface{}, out interface{}, c *conve { in := in.(*PreferAvoidPodsEntry) out := out.(*PreferAvoidPodsEntry) + *out = *in if err := DeepCopy_api_PodSignature(&in.PodSignature, &out.PodSignature, c); err != nil { return err } out.EvictionTime = in.EvictionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -2864,7 +2464,7 @@ func DeepCopy_api_PreferredSchedulingTerm(in interface{}, out interface{}, c *co { in := in.(*PreferredSchedulingTerm) out := out.(*PreferredSchedulingTerm) - out.Weight = in.Weight + *out = *in if err := DeepCopy_api_NodeSelectorTerm(&in.Preference, &out.Preference, c); err != nil { return err } @@ -2876,14 +2476,10 @@ func DeepCopy_api_Probe(in interface{}, out interface{}, c *conversion.Cloner) e { in := in.(*Probe) out := out.(*Probe) + *out = *in if err := DeepCopy_api_Handler(&in.Handler, &out.Handler, c); err != nil { return err } - out.InitialDelaySeconds = in.InitialDelaySeconds - out.TimeoutSeconds = in.TimeoutSeconds - out.PeriodSeconds = in.PeriodSeconds - out.SuccessThreshold = in.SuccessThreshold - out.FailureThreshold = in.FailureThreshold return nil } } @@ -2892,11 +2488,7 @@ func DeepCopy_api_QuobyteVolumeSource(in interface{}, out interface{}, c *conver { in := in.(*QuobyteVolumeSource) out := out.(*QuobyteVolumeSource) - out.Registry = in.Registry - out.Volume = in.Volume - out.ReadOnly = in.ReadOnly - out.User = in.User - out.Group = in.Group + *out = *in return nil } } @@ -2905,26 +2497,17 @@ func DeepCopy_api_RBDVolumeSource(in interface{}, out interface{}, c *conversion { in := in.(*RBDVolumeSource) out := out.(*RBDVolumeSource) + *out = *in if in.CephMonitors != nil { in, out := &in.CephMonitors, &out.CephMonitors *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.CephMonitors = nil } - out.RBDImage = in.RBDImage - out.FSType = in.FSType - out.RBDPool = in.RBDPool - out.RadosUser = in.RadosUser - out.Keyring = in.Keyring if in.SecretRef != nil { in, out := &in.SecretRef, &out.SecretRef *out = new(LocalObjectReference) **out = **in - } else { - out.SecretRef = nil } - out.ReadOnly = in.ReadOnly return nil } } @@ -2933,17 +2516,14 @@ func DeepCopy_api_RangeAllocation(in interface{}, out interface{}, c *conversion { in := in.(*RangeAllocation) out := out.(*RangeAllocation) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Range = in.Range if in.Data != nil { in, out := &in.Data, &out.Data *out = make([]byte, len(*in)) copy(*out, *in) - } else { - out.Data = nil } return nil } @@ -2953,7 +2533,7 @@ func DeepCopy_api_ReplicationController(in interface{}, out interface{}, c *conv { in := in.(*ReplicationController) out := out.(*ReplicationController) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -2971,11 +2551,8 @@ func DeepCopy_api_ReplicationControllerCondition(in interface{}, out interface{} { in := in.(*ReplicationControllerCondition) out := out.(*ReplicationControllerCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -2984,8 +2561,7 @@ func DeepCopy_api_ReplicationControllerList(in interface{}, out interface{}, c * { in := in.(*ReplicationControllerList) out := out.(*ReplicationControllerList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ReplicationController, len(*in)) @@ -2994,8 +2570,6 @@ func DeepCopy_api_ReplicationControllerList(in interface{}, out interface{}, c * return err } } - } else { - out.Items = nil } return nil } @@ -3005,16 +2579,13 @@ func DeepCopy_api_ReplicationControllerSpec(in interface{}, out interface{}, c * { in := in.(*ReplicationControllerSpec) out := out.(*ReplicationControllerSpec) - out.Replicas = in.Replicas - out.MinReadySeconds = in.MinReadySeconds + *out = *in if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } - } else { - out.Selector = nil } if in.Template != nil { in, out := &in.Template, &out.Template @@ -3022,8 +2593,6 @@ func DeepCopy_api_ReplicationControllerSpec(in interface{}, out interface{}, c * if err := DeepCopy_api_PodTemplateSpec(*in, *out, c); err != nil { return err } - } else { - out.Template = nil } return nil } @@ -3033,11 +2602,7 @@ func DeepCopy_api_ReplicationControllerStatus(in interface{}, out interface{}, c { in := in.(*ReplicationControllerStatus) out := out.(*ReplicationControllerStatus) - out.Replicas = in.Replicas - out.FullyLabeledReplicas = in.FullyLabeledReplicas - out.ReadyReplicas = in.ReadyReplicas - out.AvailableReplicas = in.AvailableReplicas - out.ObservedGeneration = in.ObservedGeneration + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]ReplicationControllerCondition, len(*in)) @@ -3046,8 +2611,6 @@ func DeepCopy_api_ReplicationControllerStatus(in interface{}, out interface{}, c return err } } - } else { - out.Conditions = nil } return nil } @@ -3057,8 +2620,7 @@ func DeepCopy_api_ResourceFieldSelector(in interface{}, out interface{}, c *conv { in := in.(*ResourceFieldSelector) out := out.(*ResourceFieldSelector) - out.ContainerName = in.ContainerName - out.Resource = in.Resource + *out = *in out.Divisor = in.Divisor.DeepCopy() return nil } @@ -3068,7 +2630,7 @@ func DeepCopy_api_ResourceQuota(in interface{}, out interface{}, c *conversion.C { in := in.(*ResourceQuota) out := out.(*ResourceQuota) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -3086,8 +2648,7 @@ func DeepCopy_api_ResourceQuotaList(in interface{}, out interface{}, c *conversi { in := in.(*ResourceQuotaList) out := out.(*ResourceQuotaList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ResourceQuota, len(*in)) @@ -3096,8 +2657,6 @@ func DeepCopy_api_ResourceQuotaList(in interface{}, out interface{}, c *conversi return err } } - } else { - out.Items = nil } return nil } @@ -3107,14 +2666,13 @@ func DeepCopy_api_ResourceQuotaSpec(in interface{}, out interface{}, c *conversi { in := in.(*ResourceQuotaSpec) out := out.(*ResourceQuotaSpec) + *out = *in if in.Hard != nil { in, out := &in.Hard, &out.Hard *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Hard = nil } if in.Scopes != nil { in, out := &in.Scopes, &out.Scopes @@ -3122,8 +2680,6 @@ func DeepCopy_api_ResourceQuotaSpec(in interface{}, out interface{}, c *conversi for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Scopes = nil } return nil } @@ -3133,14 +2689,13 @@ func DeepCopy_api_ResourceQuotaStatus(in interface{}, out interface{}, c *conver { in := in.(*ResourceQuotaStatus) out := out.(*ResourceQuotaStatus) + *out = *in if in.Hard != nil { in, out := &in.Hard, &out.Hard *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Hard = nil } if in.Used != nil { in, out := &in.Used, &out.Used @@ -3148,8 +2703,6 @@ func DeepCopy_api_ResourceQuotaStatus(in interface{}, out interface{}, c *conver for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Used = nil } return nil } @@ -3159,14 +2712,13 @@ func DeepCopy_api_ResourceRequirements(in interface{}, out interface{}, c *conve { in := in.(*ResourceRequirements) out := out.(*ResourceRequirements) + *out = *in if in.Limits != nil { in, out := &in.Limits, &out.Limits *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Limits = nil } if in.Requests != nil { in, out := &in.Requests, &out.Requests @@ -3174,8 +2726,6 @@ func DeepCopy_api_ResourceRequirements(in interface{}, out interface{}, c *conve for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.Requests = nil } return nil } @@ -3185,10 +2735,7 @@ func DeepCopy_api_SELinuxOptions(in interface{}, out interface{}, c *conversion. { in := in.(*SELinuxOptions) out := out.(*SELinuxOptions) - out.User = in.User - out.Role = in.Role - out.Type = in.Type - out.Level = in.Level + *out = *in return nil } } @@ -3197,7 +2744,7 @@ func DeepCopy_api_Secret(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*Secret) out := out.(*Secret) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -3211,10 +2758,7 @@ func DeepCopy_api_Secret(in interface{}, out interface{}, c *conversion.Cloner) (*out)[key] = *newVal.(*[]byte) } } - } else { - out.Data = nil } - out.Type = in.Type return nil } } @@ -3223,8 +2767,7 @@ func DeepCopy_api_SecretKeySelector(in interface{}, out interface{}, c *conversi { in := in.(*SecretKeySelector) out := out.(*SecretKeySelector) - out.LocalObjectReference = in.LocalObjectReference - out.Key = in.Key + *out = *in return nil } } @@ -3233,8 +2776,7 @@ func DeepCopy_api_SecretList(in interface{}, out interface{}, c *conversion.Clon { in := in.(*SecretList) out := out.(*SecretList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Secret, len(*in)) @@ -3243,8 +2785,6 @@ func DeepCopy_api_SecretList(in interface{}, out interface{}, c *conversion.Clon return err } } - } else { - out.Items = nil } return nil } @@ -3254,7 +2794,7 @@ func DeepCopy_api_SecretVolumeSource(in interface{}, out interface{}, c *convers { in := in.(*SecretVolumeSource) out := out.(*SecretVolumeSource) - out.SecretName = in.SecretName + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]KeyToPath, len(*in)) @@ -3263,15 +2803,11 @@ func DeepCopy_api_SecretVolumeSource(in interface{}, out interface{}, c *convers return err } } - } else { - out.Items = nil } if in.DefaultMode != nil { in, out := &in.DefaultMode, &out.DefaultMode *out = new(int32) **out = **in - } else { - out.DefaultMode = nil } return nil } @@ -3281,49 +2817,38 @@ func DeepCopy_api_SecurityContext(in interface{}, out interface{}, c *conversion { in := in.(*SecurityContext) out := out.(*SecurityContext) + *out = *in if in.Capabilities != nil { in, out := &in.Capabilities, &out.Capabilities *out = new(Capabilities) if err := DeepCopy_api_Capabilities(*in, *out, c); err != nil { return err } - } else { - out.Capabilities = nil } if in.Privileged != nil { in, out := &in.Privileged, &out.Privileged *out = new(bool) **out = **in - } else { - out.Privileged = nil } if in.SELinuxOptions != nil { in, out := &in.SELinuxOptions, &out.SELinuxOptions *out = new(SELinuxOptions) **out = **in - } else { - out.SELinuxOptions = nil } if in.RunAsUser != nil { in, out := &in.RunAsUser, &out.RunAsUser *out = new(int64) **out = **in - } else { - out.RunAsUser = nil } if in.RunAsNonRoot != nil { in, out := &in.RunAsNonRoot, &out.RunAsNonRoot *out = new(bool) **out = **in - } else { - out.RunAsNonRoot = nil } if in.ReadOnlyRootFilesystem != nil { in, out := &in.ReadOnlyRootFilesystem, &out.ReadOnlyRootFilesystem *out = new(bool) **out = **in - } else { - out.ReadOnlyRootFilesystem = nil } return nil } @@ -3333,8 +2858,7 @@ func DeepCopy_api_SerializedReference(in interface{}, out interface{}, c *conver { in := in.(*SerializedReference) out := out.(*SerializedReference) - out.TypeMeta = in.TypeMeta - out.Reference = in.Reference + *out = *in return nil } } @@ -3343,7 +2867,7 @@ func DeepCopy_api_Service(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*Service) out := out.(*Service) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -3361,7 +2885,7 @@ func DeepCopy_api_ServiceAccount(in interface{}, out interface{}, c *conversion. { in := in.(*ServiceAccount) out := out.(*ServiceAccount) - out.TypeMeta = in.TypeMeta + *out = *in if err := DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -3371,8 +2895,6 @@ func DeepCopy_api_ServiceAccount(in interface{}, out interface{}, c *conversion. for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Secrets = nil } if in.ImagePullSecrets != nil { in, out := &in.ImagePullSecrets, &out.ImagePullSecrets @@ -3380,8 +2902,6 @@ func DeepCopy_api_ServiceAccount(in interface{}, out interface{}, c *conversion. for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.ImagePullSecrets = nil } return nil } @@ -3391,8 +2911,7 @@ func DeepCopy_api_ServiceAccountList(in interface{}, out interface{}, c *convers { in := in.(*ServiceAccountList) out := out.(*ServiceAccountList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ServiceAccount, len(*in)) @@ -3401,8 +2920,6 @@ func DeepCopy_api_ServiceAccountList(in interface{}, out interface{}, c *convers return err } } - } else { - out.Items = nil } return nil } @@ -3412,8 +2929,7 @@ func DeepCopy_api_ServiceList(in interface{}, out interface{}, c *conversion.Clo { in := in.(*ServiceList) out := out.(*ServiceList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Service, len(*in)) @@ -3422,8 +2938,6 @@ func DeepCopy_api_ServiceList(in interface{}, out interface{}, c *conversion.Clo return err } } - } else { - out.Items = nil } return nil } @@ -3433,11 +2947,7 @@ func DeepCopy_api_ServicePort(in interface{}, out interface{}, c *conversion.Clo { in := in.(*ServicePort) out := out.(*ServicePort) - out.Name = in.Name - out.Protocol = in.Protocol - out.Port = in.Port - out.TargetPort = in.TargetPort - out.NodePort = in.NodePort + *out = *in return nil } } @@ -3446,8 +2956,7 @@ func DeepCopy_api_ServiceProxyOptions(in interface{}, out interface{}, c *conver { in := in.(*ServiceProxyOptions) out := out.(*ServiceProxyOptions) - out.TypeMeta = in.TypeMeta - out.Path = in.Path + *out = *in return nil } } @@ -3456,15 +2965,13 @@ func DeepCopy_api_ServiceSpec(in interface{}, out interface{}, c *conversion.Clo { in := in.(*ServiceSpec) out := out.(*ServiceSpec) - out.Type = in.Type + *out = *in if in.Ports != nil { in, out := &in.Ports, &out.Ports *out = make([]ServicePort, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Ports = nil } if in.Selector != nil { in, out := &in.Selector, &out.Selector @@ -3472,26 +2979,16 @@ func DeepCopy_api_ServiceSpec(in interface{}, out interface{}, c *conversion.Clo for key, val := range *in { (*out)[key] = val } - } else { - out.Selector = nil } - out.ClusterIP = in.ClusterIP - out.ExternalName = in.ExternalName if in.ExternalIPs != nil { in, out := &in.ExternalIPs, &out.ExternalIPs *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.ExternalIPs = nil } - out.LoadBalancerIP = in.LoadBalancerIP - out.SessionAffinity = in.SessionAffinity if in.LoadBalancerSourceRanges != nil { in, out := &in.LoadBalancerSourceRanges, &out.LoadBalancerSourceRanges *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.LoadBalancerSourceRanges = nil } return nil } @@ -3501,6 +2998,7 @@ func DeepCopy_api_ServiceStatus(in interface{}, out interface{}, c *conversion.C { in := in.(*ServiceStatus) out := out.(*ServiceStatus) + *out = *in if err := DeepCopy_api_LoadBalancerStatus(&in.LoadBalancer, &out.LoadBalancer, c); err != nil { return err } @@ -3512,8 +3010,7 @@ func DeepCopy_api_Sysctl(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*Sysctl) out := out.(*Sysctl) - out.Name = in.Name - out.Value = in.Value + *out = *in return nil } } @@ -3522,7 +3019,7 @@ func DeepCopy_api_TCPSocketAction(in interface{}, out interface{}, c *conversion { in := in.(*TCPSocketAction) out := out.(*TCPSocketAction) - out.Port = in.Port + *out = *in return nil } } @@ -3531,9 +3028,7 @@ func DeepCopy_api_Taint(in interface{}, out interface{}, c *conversion.Cloner) e { in := in.(*Taint) out := out.(*Taint) - out.Key = in.Key - out.Value = in.Value - out.Effect = in.Effect + *out = *in return nil } } @@ -3542,10 +3037,7 @@ func DeepCopy_api_Toleration(in interface{}, out interface{}, c *conversion.Clon { in := in.(*Toleration) out := out.(*Toleration) - out.Key = in.Key - out.Operator = in.Operator - out.Value = in.Value - out.Effect = in.Effect + *out = *in return nil } } @@ -3554,7 +3046,7 @@ func DeepCopy_api_Volume(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*Volume) out := out.(*Volume) - out.Name = in.Name + *out = *in if err := DeepCopy_api_VolumeSource(&in.VolumeSource, &out.VolumeSource, c); err != nil { return err } @@ -3566,10 +3058,7 @@ func DeepCopy_api_VolumeMount(in interface{}, out interface{}, c *conversion.Clo { in := in.(*VolumeMount) out := out.(*VolumeMount) - out.Name = in.Name - out.ReadOnly = in.ReadOnly - out.MountPath = in.MountPath - out.SubPath = in.SubPath + *out = *in return nil } } @@ -3578,40 +3067,31 @@ func DeepCopy_api_VolumeSource(in interface{}, out interface{}, c *conversion.Cl { in := in.(*VolumeSource) out := out.(*VolumeSource) + *out = *in if in.HostPath != nil { in, out := &in.HostPath, &out.HostPath *out = new(HostPathVolumeSource) **out = **in - } else { - out.HostPath = nil } if in.EmptyDir != nil { in, out := &in.EmptyDir, &out.EmptyDir *out = new(EmptyDirVolumeSource) **out = **in - } else { - out.EmptyDir = nil } if in.GCEPersistentDisk != nil { in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk *out = new(GCEPersistentDiskVolumeSource) **out = **in - } else { - out.GCEPersistentDisk = nil } if in.AWSElasticBlockStore != nil { in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore *out = new(AWSElasticBlockStoreVolumeSource) **out = **in - } else { - out.AWSElasticBlockStore = nil } if in.GitRepo != nil { in, out := &in.GitRepo, &out.GitRepo *out = new(GitRepoVolumeSource) **out = **in - } else { - out.GitRepo = nil } if in.Secret != nil { in, out := &in.Secret, &out.Secret @@ -3619,36 +3099,26 @@ func DeepCopy_api_VolumeSource(in interface{}, out interface{}, c *conversion.Cl if err := DeepCopy_api_SecretVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.Secret = nil } if in.NFS != nil { in, out := &in.NFS, &out.NFS *out = new(NFSVolumeSource) **out = **in - } else { - out.NFS = nil } if in.ISCSI != nil { in, out := &in.ISCSI, &out.ISCSI *out = new(ISCSIVolumeSource) **out = **in - } else { - out.ISCSI = nil } if in.Glusterfs != nil { in, out := &in.Glusterfs, &out.Glusterfs *out = new(GlusterfsVolumeSource) **out = **in - } else { - out.Glusterfs = nil } if in.PersistentVolumeClaim != nil { in, out := &in.PersistentVolumeClaim, &out.PersistentVolumeClaim *out = new(PersistentVolumeClaimVolumeSource) **out = **in - } else { - out.PersistentVolumeClaim = nil } if in.RBD != nil { in, out := &in.RBD, &out.RBD @@ -3656,15 +3126,11 @@ func DeepCopy_api_VolumeSource(in interface{}, out interface{}, c *conversion.Cl if err := DeepCopy_api_RBDVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.RBD = nil } if in.Quobyte != nil { in, out := &in.Quobyte, &out.Quobyte *out = new(QuobyteVolumeSource) **out = **in - } else { - out.Quobyte = nil } if in.FlexVolume != nil { in, out := &in.FlexVolume, &out.FlexVolume @@ -3672,15 +3138,11 @@ func DeepCopy_api_VolumeSource(in interface{}, out interface{}, c *conversion.Cl if err := DeepCopy_api_FlexVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.FlexVolume = nil } if in.Cinder != nil { in, out := &in.Cinder, &out.Cinder *out = new(CinderVolumeSource) **out = **in - } else { - out.Cinder = nil } if in.CephFS != nil { in, out := &in.CephFS, &out.CephFS @@ -3688,15 +3150,11 @@ func DeepCopy_api_VolumeSource(in interface{}, out interface{}, c *conversion.Cl if err := DeepCopy_api_CephFSVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.CephFS = nil } if in.Flocker != nil { in, out := &in.Flocker, &out.Flocker *out = new(FlockerVolumeSource) **out = **in - } else { - out.Flocker = nil } if in.DownwardAPI != nil { in, out := &in.DownwardAPI, &out.DownwardAPI @@ -3704,8 +3162,6 @@ func DeepCopy_api_VolumeSource(in interface{}, out interface{}, c *conversion.Cl if err := DeepCopy_api_DownwardAPIVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.DownwardAPI = nil } if in.FC != nil { in, out := &in.FC, &out.FC @@ -3713,15 +3169,11 @@ func DeepCopy_api_VolumeSource(in interface{}, out interface{}, c *conversion.Cl if err := DeepCopy_api_FCVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.FC = nil } if in.AzureFile != nil { in, out := &in.AzureFile, &out.AzureFile *out = new(AzureFileVolumeSource) **out = **in - } else { - out.AzureFile = nil } if in.ConfigMap != nil { in, out := &in.ConfigMap, &out.ConfigMap @@ -3729,15 +3181,11 @@ func DeepCopy_api_VolumeSource(in interface{}, out interface{}, c *conversion.Cl if err := DeepCopy_api_ConfigMapVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.ConfigMap = nil } if in.VsphereVolume != nil { in, out := &in.VsphereVolume, &out.VsphereVolume *out = new(VsphereVirtualDiskVolumeSource) **out = **in - } else { - out.VsphereVolume = nil } if in.AzureDisk != nil { in, out := &in.AzureDisk, &out.AzureDisk @@ -3745,15 +3193,11 @@ func DeepCopy_api_VolumeSource(in interface{}, out interface{}, c *conversion.Cl if err := DeepCopy_api_AzureDiskVolumeSource(*in, *out, c); err != nil { return err } - } else { - out.AzureDisk = nil } if in.PhotonPersistentDisk != nil { in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk *out = new(PhotonPersistentDiskVolumeSource) **out = **in - } else { - out.PhotonPersistentDisk = nil } return nil } @@ -3763,8 +3207,7 @@ func DeepCopy_api_VsphereVirtualDiskVolumeSource(in interface{}, out interface{} { in := in.(*VsphereVirtualDiskVolumeSource) out := out.(*VsphereVirtualDiskVolumeSource) - out.VolumePath = in.VolumePath - out.FSType = in.FSType + *out = *in return nil } } @@ -3773,7 +3216,7 @@ func DeepCopy_api_WeightedPodAffinityTerm(in interface{}, out interface{}, c *co { in := in.(*WeightedPodAffinityTerm) out := out.(*WeightedPodAffinityTerm) - out.Weight = in.Weight + *out = *in if err := DeepCopy_api_PodAffinityTerm(&in.PodAffinityTerm, &out.PodAffinityTerm, c); err != nil { return err } diff --git a/pkg/apimachinery/announced/announced.go b/pkg/apimachinery/announced/announced.go index 90bc1005..054dc4aa 100644 --- a/pkg/apimachinery/announced/announced.go +++ b/pkg/apimachinery/announced/announced.go @@ -24,8 +24,8 @@ package announced import ( "fmt" - "k8s.io/client-go/pkg/apimachinery/registered" - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/apimachinery/registered" + "k8s.io/apimachinery/pkg/runtime" ) var ( diff --git a/pkg/apimachinery/announced/group_factory.go b/pkg/apimachinery/announced/group_factory.go index 075c67c6..c8b39814 100644 --- a/pkg/apimachinery/announced/group_factory.go +++ b/pkg/apimachinery/announced/group_factory.go @@ -21,13 +21,13 @@ import ( "github.com/golang/glog" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/apimachinery" + "k8s.io/apimachinery/pkg/apimachinery/registered" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/api/meta" - "k8s.io/client-go/pkg/apimachinery" - "k8s.io/client-go/pkg/apimachinery/registered" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/util/sets" ) type SchemeFunc func(*runtime.Scheme) error @@ -236,10 +236,10 @@ func (gmf *GroupMetaFactory) Enable(m *registered.APIRegistrationManager, scheme // It's really bad that this is called in init() methods, but supporting this // temporarily lets us do the change incrementally. func (gmf *GroupMetaFactory) RegisterAndEnable() error { - if err := gmf.Register(registered.DefaultAPIRegistrationManager); err != nil { + if err := gmf.Register(api.Registry); err != nil { return err } - if err := gmf.Enable(registered.DefaultAPIRegistrationManager, api.Scheme); err != nil { + if err := gmf.Enable(api.Registry, api.Scheme); err != nil { return err } diff --git a/pkg/apis/apps/register.go b/pkg/apis/apps/register.go index e36955eb..a5e4e7ca 100644 --- a/pkg/apis/apps/register.go +++ b/pkg/apis/apps/register.go @@ -17,9 +17,9 @@ limitations under the License. package apps import ( + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) var ( diff --git a/pkg/apis/apps/types.go b/pkg/apis/apps/types.go index 811853b6..59512f8d 100644 --- a/pkg/apis/apps/types.go +++ b/pkg/apis/apps/types.go @@ -17,8 +17,8 @@ limitations under the License. package apps import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // +genclient=true @@ -86,7 +86,7 @@ type StatefulSetSpec struct { // StatefulSetStatus represents the current state of a StatefulSet. type StatefulSetStatus struct { - // most recent generation observed by this autoscaler. + // most recent generation observed by this StatefulSet. // +optional ObservedGeneration *int64 diff --git a/pkg/apis/apps/v1beta1/conversion.go b/pkg/apis/apps/v1beta1/conversion.go index 96bc1ebd..17bba4ce 100644 --- a/pkg/apis/apps/v1beta1/conversion.go +++ b/pkg/apis/apps/v1beta1/conversion.go @@ -19,12 +19,12 @@ package v1beta1 import ( "fmt" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" "k8s.io/client-go/pkg/apis/apps" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/conversion" - "k8s.io/client-go/pkg/runtime" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/apis/apps/v1beta1/defaults.go b/pkg/apis/apps/v1beta1/defaults.go index 0f453005..bdab631e 100644 --- a/pkg/apis/apps/v1beta1/defaults.go +++ b/pkg/apis/apps/v1beta1/defaults.go @@ -17,8 +17,8 @@ limitations under the License. package v1beta1 import ( - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/apis/apps/v1beta1/generated.pb.go b/pkg/apis/apps/v1beta1/generated.pb.go index e031732b..86c79449 100644 --- a/pkg/apis/apps/v1beta1/generated.pb.go +++ b/pkg/apis/apps/v1beta1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -36,8 +36,9 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" +import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1" -import k8s_io_kubernetes_pkg_apis_meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" import strings "strings" import reflect "reflect" @@ -114,6 +115,14 @@ func (m *StatefulSet) MarshalTo(data []byte) (int, error) { return 0, err } i += n3 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n4, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n4 return i, nil } @@ -135,11 +144,11 @@ func (m *StatefulSetList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n4, err := m.ListMeta.MarshalTo(data[i:]) + n5, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n4 + i += n5 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -152,6 +161,14 @@ func (m *StatefulSetList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n6, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n6 return i, nil } @@ -179,20 +196,20 @@ func (m *StatefulSetSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n5, err := m.Selector.MarshalTo(data[i:]) + n7, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n5 + i += n7 } data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n6, err := m.Template.MarshalTo(data[i:]) + n8, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n6 + i += n8 if len(m.VolumeClaimTemplates) > 0 { for _, msg := range m.VolumeClaimTemplates { data[i] = 0x22 @@ -274,6 +291,8 @@ func (m *StatefulSet) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -288,6 +307,8 @@ func (m *StatefulSetList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -345,6 +366,7 @@ func (this *StatefulSet) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "StatefulSetSpec", "StatefulSetSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "StatefulSetStatus", "StatefulSetStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -354,8 +376,9 @@ func (this *StatefulSetList) String() string { return "nil" } s := strings.Join([]string{`&StatefulSetList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "StatefulSet", "StatefulSet", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -366,7 +389,7 @@ func (this *StatefulSetSpec) String() string { } s := strings.Join([]string{`&StatefulSetSpec{`, `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `VolumeClaimTemplates:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumeClaimTemplates), "PersistentVolumeClaim", "k8s_io_kubernetes_pkg_api_v1.PersistentVolumeClaim", 1), `&`, ``, 1) + `,`, `ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`, @@ -512,6 +535,36 @@ func (m *StatefulSet) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -623,6 +676,36 @@ func (m *StatefulSetList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -720,7 +803,7 @@ func (m *StatefulSetSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector{} + m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -1032,45 +1115,48 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 627 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x93, 0xcb, 0x6e, 0xd3, 0x4c, - 0x14, 0xc7, 0xe3, 0xa4, 0xe9, 0x97, 0x6f, 0x52, 0x6e, 0x43, 0x85, 0xa2, 0x0a, 0xb9, 0x55, 0x36, - 0x04, 0xa9, 0x1d, 0x2b, 0xa5, 0x88, 0x8a, 0xa5, 0x91, 0x40, 0x48, 0x40, 0x91, 0x83, 0x2a, 0x28, - 0xab, 0xb1, 0x73, 0x9a, 0x0e, 0xb1, 0x63, 0xcb, 0x73, 0x9c, 0x35, 0x1b, 0x16, 0xec, 0x78, 0x0b, - 0x5e, 0x80, 0x87, 0xc8, 0xb2, 0x4b, 0x56, 0x15, 0x0d, 0x2f, 0x82, 0x66, 0x32, 0xb9, 0x50, 0xbb, - 0xa1, 0xea, 0xce, 0xe7, 0xcc, 0xf9, 0xff, 0xce, 0xd5, 0xe4, 0x49, 0x7f, 0x5f, 0x32, 0x11, 0x3b, - 0xfd, 0xcc, 0x87, 0x74, 0x00, 0x08, 0xd2, 0x49, 0xfa, 0x3d, 0x87, 0x27, 0x42, 0x3a, 0x3c, 0x49, - 0xa4, 0x33, 0x6c, 0xfb, 0x80, 0xbc, 0xed, 0xf4, 0x60, 0x00, 0x29, 0x47, 0xe8, 0xb2, 0x24, 0x8d, - 0x31, 0xa6, 0x0f, 0x26, 0x42, 0x36, 0x17, 0xb2, 0xa4, 0xdf, 0x63, 0x4a, 0xc8, 0x94, 0x90, 0x19, - 0xe1, 0xc6, 0x4e, 0x4f, 0xe0, 0x49, 0xe6, 0xb3, 0x20, 0x8e, 0x9c, 0x5e, 0xdc, 0x8b, 0x1d, 0xad, - 0xf7, 0xb3, 0x63, 0x6d, 0x69, 0x43, 0x7f, 0x4d, 0xb8, 0x1b, 0xbb, 0x97, 0x16, 0xe4, 0xa4, 0x20, - 0xe3, 0x2c, 0x0d, 0xe0, 0x62, 0x2d, 0x1b, 0xdb, 0x97, 0x6b, 0x86, 0xb9, 0xca, 0x97, 0x64, 0x90, - 0x4e, 0x04, 0xc8, 0x8b, 0x34, 0x3b, 0xc5, 0x9a, 0x34, 0x1b, 0xa0, 0x88, 0xf2, 0x05, 0xed, 0x2d, - 0x0f, 0x97, 0xc1, 0x09, 0x44, 0x3c, 0xa7, 0x6a, 0x17, 0xab, 0x32, 0x14, 0xa1, 0x23, 0x06, 0x28, - 0x31, 0xbd, 0x28, 0x69, 0x7e, 0x2f, 0x93, 0x7a, 0x07, 0x39, 0xc2, 0x71, 0x16, 0x76, 0x00, 0xe9, - 0x7b, 0x52, 0x53, 0x2d, 0x74, 0x39, 0xf2, 0x86, 0xb5, 0x65, 0xb5, 0xea, 0xbb, 0x2d, 0x76, 0xe9, - 0xa2, 0xd8, 0xb0, 0xcd, 0x0e, 0xfc, 0x4f, 0x10, 0xe0, 0x6b, 0x40, 0xee, 0xd2, 0xd1, 0xd9, 0x66, - 0x69, 0x7c, 0xb6, 0x49, 0xe6, 0x3e, 0x6f, 0x46, 0xa3, 0x47, 0x64, 0x45, 0x26, 0x10, 0x34, 0xca, - 0x9a, 0xba, 0xcf, 0xae, 0xb8, 0x7e, 0xb6, 0x50, 0x5d, 0x27, 0x81, 0xc0, 0x5d, 0x33, 0x59, 0x56, - 0x94, 0xe5, 0x69, 0x26, 0xf5, 0xc9, 0xaa, 0x44, 0x8e, 0x99, 0x6c, 0x54, 0x34, 0xfd, 0xe9, 0xb5, - 0xe8, 0x9a, 0xe0, 0xde, 0x34, 0xfc, 0xd5, 0x89, 0xed, 0x19, 0x72, 0x73, 0x64, 0x91, 0x5b, 0x0b, - 0xd1, 0xaf, 0x84, 0x44, 0x7a, 0x94, 0x9b, 0xd6, 0xf6, 0xb2, 0xcc, 0x2a, 0x56, 0xcd, 0x4c, 0x69, - 0xf5, 0xc4, 0x6e, 0x9b, 0x5c, 0xb5, 0xa9, 0x67, 0x61, 0x5e, 0x1f, 0x48, 0x55, 0x20, 0x44, 0xb2, - 0x51, 0xde, 0xaa, 0xb4, 0xea, 0xbb, 0x7b, 0xd7, 0x69, 0xc9, 0xbd, 0x61, 0x12, 0x54, 0x5f, 0x2a, - 0x94, 0x37, 0x21, 0x36, 0x7f, 0x54, 0xfe, 0x6a, 0x45, 0x0d, 0x92, 0xb6, 0x48, 0x2d, 0x85, 0x24, - 0x14, 0x01, 0x97, 0xba, 0x95, 0xaa, 0xbb, 0xa6, 0x0a, 0xf3, 0x8c, 0xcf, 0x9b, 0xbd, 0xd2, 0x8f, - 0xa4, 0x26, 0x21, 0x84, 0x00, 0xe3, 0xd4, 0x2c, 0xb3, 0x7d, 0xa5, 0xa6, 0xb9, 0x0f, 0x61, 0xc7, - 0x08, 0x27, 0xf0, 0xa9, 0xe5, 0xcd, 0x80, 0x0a, 0x8e, 0x10, 0x25, 0x21, 0x47, 0x30, 0xbb, 0xdc, - 0x59, 0x7e, 0x7f, 0x6f, 0xe3, 0xee, 0x3b, 0x23, 0xd0, 0xe7, 0x31, 0x1b, 0xe9, 0xd4, 0xeb, 0xcd, - 0x80, 0xf4, 0x8b, 0x45, 0xd6, 0x87, 0x71, 0x98, 0x45, 0xf0, 0x2c, 0xe4, 0x22, 0x9a, 0x46, 0xc8, - 0xc6, 0x8a, 0x1e, 0xf1, 0xa3, 0x7f, 0x64, 0x82, 0x54, 0x0a, 0x89, 0x30, 0xc0, 0xc3, 0x39, 0xc3, - 0xbd, 0x6f, 0xf2, 0xad, 0x1f, 0x16, 0x80, 0xbd, 0xc2, 0x74, 0xf4, 0x31, 0xa9, 0x4b, 0x48, 0x87, - 0x22, 0x80, 0x37, 0x3c, 0x82, 0x46, 0x75, 0xcb, 0x6a, 0xfd, 0xef, 0xde, 0x35, 0xa0, 0x7a, 0x67, - 0xfe, 0xe4, 0x2d, 0xc6, 0x35, 0xbf, 0x5a, 0xe4, 0x4e, 0xee, 0x5e, 0xe9, 0x73, 0x42, 0x63, 0x5f, - 0x85, 0x41, 0xf7, 0xc5, 0xe4, 0xe7, 0x16, 0xf1, 0x40, 0xaf, 0xb0, 0xe2, 0xde, 0x1b, 0x9f, 0x6d, - 0xd2, 0x83, 0xdc, 0xab, 0x57, 0xa0, 0xa0, 0xdb, 0x0b, 0x07, 0x50, 0xd6, 0x07, 0x30, 0x1b, 0x65, - 0xfe, 0x08, 0xdc, 0x87, 0xa3, 0x73, 0xbb, 0x74, 0x7a, 0x6e, 0x97, 0x7e, 0x9e, 0xdb, 0xa5, 0xcf, - 0x63, 0xdb, 0x1a, 0x8d, 0x6d, 0xeb, 0x74, 0x6c, 0x5b, 0xbf, 0xc6, 0xb6, 0xf5, 0xed, 0xb7, 0x5d, - 0x3a, 0xfa, 0xcf, 0xdc, 0xe3, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0f, 0x47, 0x2a, 0x55, 0x22, - 0x06, 0x00, 0x00, + // 677 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x94, 0xcb, 0x6e, 0xd3, 0x4e, + 0x14, 0xc6, 0xe3, 0x5c, 0xfa, 0xcf, 0x7f, 0x52, 0x6e, 0x43, 0x85, 0xac, 0x0a, 0xb9, 0x55, 0x37, + 0x04, 0xa9, 0x1d, 0x2b, 0x6d, 0x81, 0x8a, 0xa5, 0x91, 0x40, 0x48, 0x40, 0x91, 0x53, 0x55, 0x50, + 0x60, 0x31, 0x76, 0x4e, 0xd3, 0x21, 0xbe, 0xc9, 0x33, 0x8e, 0xd4, 0x1d, 0x9b, 0x2e, 0xd8, 0xf1, + 0x18, 0x3c, 0x01, 0xcf, 0xd0, 0x65, 0x97, 0xac, 0x2a, 0x1a, 0x5e, 0x04, 0xcd, 0x64, 0x12, 0xa7, + 0x75, 0x42, 0xab, 0x8a, 0x5d, 0xe6, 0xf2, 0xfd, 0xbe, 0x39, 0xdf, 0x39, 0x0e, 0x7a, 0xd2, 0xdb, + 0xe2, 0x84, 0xc5, 0x76, 0x2f, 0xf3, 0x20, 0x8d, 0x40, 0x00, 0xb7, 0x93, 0x5e, 0xd7, 0xa6, 0x09, + 0xe3, 0x36, 0x4d, 0x12, 0x6e, 0xf7, 0x5b, 0x1e, 0x08, 0xda, 0xb2, 0xbb, 0x10, 0x41, 0x4a, 0x05, + 0x74, 0x48, 0x92, 0xc6, 0x22, 0xc6, 0x0f, 0x86, 0x42, 0x92, 0x0b, 0x49, 0xd2, 0xeb, 0x12, 0x29, + 0x24, 0x52, 0x48, 0xb4, 0x70, 0x71, 0xad, 0xcb, 0xc4, 0x41, 0xe6, 0x11, 0x3f, 0x0e, 0xed, 0x6e, + 0xdc, 0x8d, 0x6d, 0xa5, 0xf7, 0xb2, 0x7d, 0xb5, 0x52, 0x0b, 0xf5, 0x6b, 0xc8, 0x5d, 0xdc, 0xd4, + 0x0f, 0xa2, 0x09, 0x0b, 0xa9, 0x7f, 0xc0, 0x22, 0x48, 0x0f, 0xf3, 0x27, 0x85, 0x20, 0xa8, 0xdd, + 0x2f, 0xbc, 0x66, 0xd1, 0x9e, 0xa5, 0x4a, 0xb3, 0x48, 0xb0, 0x10, 0x0a, 0x82, 0xc7, 0x97, 0x09, + 0xb8, 0x7f, 0x00, 0x21, 0x2d, 0xe8, 0xd6, 0x67, 0xe6, 0x65, 0xa7, 0xc0, 0xe3, 0x2c, 0xf5, 0x8b, + 0x5e, 0xab, 0xb3, 0x35, 0x53, 0x4a, 0x69, 0x4d, 0xbf, 0x9d, 0x09, 0x16, 0xd8, 0x2c, 0x12, 0x5c, + 0xa4, 0x17, 0x25, 0x2b, 0x47, 0x15, 0xd4, 0x68, 0x0b, 0x2a, 0x60, 0x3f, 0x0b, 0xda, 0x20, 0xf0, + 0x3b, 0x54, 0x97, 0x41, 0x75, 0xa8, 0xa0, 0xa6, 0xb1, 0x6c, 0x34, 0x1b, 0xeb, 0x4d, 0x32, 0xb3, + 0x5d, 0xa4, 0xdf, 0x22, 0xdb, 0xde, 0x67, 0xf0, 0xc5, 0x6b, 0x10, 0xd4, 0xc1, 0xc7, 0xa7, 0x4b, + 0xa5, 0xc1, 0xe9, 0x12, 0xca, 0xf7, 0xdc, 0x31, 0x0d, 0xef, 0xa1, 0x2a, 0x4f, 0xc0, 0x37, 0xcb, + 0x8a, 0xba, 0x45, 0xae, 0x38, 0x04, 0x64, 0xe2, 0x75, 0xed, 0x04, 0x7c, 0x67, 0x5e, 0xbb, 0x54, + 0xe5, 0xca, 0x55, 0x4c, 0xec, 0xa1, 0x39, 0x2e, 0xa8, 0xc8, 0xb8, 0x59, 0x51, 0xf4, 0xa7, 0xd7, + 0xa2, 0x2b, 0x82, 0x73, 0x53, 0xf3, 0xe7, 0x86, 0x6b, 0x57, 0x93, 0xf1, 0x47, 0x54, 0x17, 0x87, + 0x09, 0xc8, 0xaa, 0xcc, 0xaa, 0x72, 0x21, 0x23, 0x97, 0xc9, 0x49, 0xc8, 0x7d, 0x64, 0xe5, 0x32, + 0xa1, 0x1d, 0xad, 0x72, 0x6e, 0x6b, 0x72, 0x7d, 0xb4, 0xe3, 0x8e, 0x89, 0x2b, 0xdf, 0xcb, 0xe8, + 0xd6, 0xc4, 0x5b, 0x5e, 0x31, 0x2e, 0xa4, 0xe3, 0x85, 0x5e, 0x5c, 0xd1, 0x51, 0xaa, 0xcf, 0x3b, + 0x8e, 0x76, 0x26, 0xfa, 0xf1, 0x1e, 0xd5, 0x98, 0x80, 0x90, 0x9b, 0xe5, 0xe5, 0x4a, 0xb3, 0xb1, + 0xbe, 0x79, 0x9d, 0xc8, 0x9c, 0x1b, 0xda, 0xa0, 0xf6, 0x52, 0xa2, 0xdc, 0x21, 0xf1, 0x5c, 0x54, + 0x95, 0x7f, 0x1e, 0xd5, 0x8f, 0xca, 0xb9, 0xa8, 0xe4, 0x18, 0xe0, 0x26, 0xaa, 0xa7, 0x90, 0x04, + 0xcc, 0xa7, 0x5c, 0x45, 0x55, 0x73, 0xe6, 0xa5, 0xda, 0xd5, 0x7b, 0xee, 0xf8, 0x14, 0x7f, 0x42, + 0x75, 0x0e, 0x01, 0xf8, 0x22, 0x4e, 0xf5, 0x28, 0x6e, 0x5c, 0x31, 0x54, 0xea, 0x41, 0xd0, 0xd6, + 0xd2, 0x21, 0x7e, 0xb4, 0x72, 0xc7, 0x48, 0xfc, 0x01, 0xd5, 0x05, 0x84, 0x49, 0x40, 0x05, 0xe8, + 0xd2, 0xd7, 0xfe, 0xfe, 0xfd, 0xbc, 0x8d, 0x3b, 0x3b, 0x5a, 0xa0, 0xc6, 0x3b, 0xaf, 0x5c, 0xef, + 0xba, 0x63, 0x20, 0x3e, 0x32, 0xd0, 0x42, 0x3f, 0x0e, 0xb2, 0x10, 0x9e, 0x05, 0x94, 0x85, 0xa3, + 0x1b, 0xdc, 0xac, 0xaa, 0x16, 0x6e, 0x5c, 0xe2, 0x04, 0x29, 0x67, 0x5c, 0x40, 0x24, 0x76, 0x73, + 0x86, 0x73, 0x5f, 0xfb, 0x2d, 0xec, 0x4e, 0x01, 0xbb, 0x53, 0xed, 0xf0, 0x23, 0xd4, 0xe0, 0x90, + 0xf6, 0x99, 0x0f, 0x6f, 0x68, 0x08, 0x66, 0x6d, 0xd9, 0x68, 0xfe, 0xef, 0xdc, 0xd5, 0xa0, 0x46, + 0x3b, 0x3f, 0x72, 0x27, 0xef, 0xad, 0x7c, 0x35, 0xd0, 0x9d, 0xc2, 0xf7, 0x86, 0x9f, 0x23, 0x1c, + 0x7b, 0xf2, 0x1a, 0x74, 0x5e, 0x0c, 0xff, 0x9c, 0x58, 0x1c, 0xa9, 0x26, 0x56, 0x9c, 0x7b, 0x83, + 0xd3, 0x25, 0xbc, 0x5d, 0x38, 0x75, 0xa7, 0x28, 0xf0, 0xea, 0xc4, 0x08, 0x94, 0xd5, 0x08, 0x8c, + 0xa3, 0x2c, 0x8e, 0x81, 0xf3, 0xf0, 0xf8, 0xcc, 0x2a, 0x9d, 0x9c, 0x59, 0xa5, 0x9f, 0x67, 0x56, + 0xe9, 0xcb, 0xc0, 0x32, 0x8e, 0x07, 0x96, 0x71, 0x32, 0xb0, 0x8c, 0x5f, 0x03, 0xcb, 0xf8, 0xf6, + 0xdb, 0x2a, 0xed, 0xfd, 0xa7, 0xe7, 0xfd, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x99, 0xe5, 0x31, + 0x59, 0xe8, 0x06, 0x00, 0x00, } diff --git a/pkg/apis/apps/v1beta1/generated.proto b/pkg/apis/apps/v1beta1/generated.proto index 0e58bfd7..9735238b 100644 --- a/pkg/apis/apps/v1beta1/generated.proto +++ b/pkg/apis/apps/v1beta1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.apps.v1beta1; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". @@ -38,6 +38,8 @@ option go_package = "v1beta1"; // The StatefulSet guarantees that a given network identity will always // map to the same storage identity. message StatefulSet { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -53,8 +55,10 @@ message StatefulSet { // StatefulSetList is a collection of StatefulSets. message StatefulSetList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; repeated StatefulSet items = 2; } @@ -73,7 +77,7 @@ message StatefulSetSpec { // If empty, defaulted to labels on the pod template. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.LabelSelector selector = 2; + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2; // Template is the object that describes the pod that will be created if // insufficient replicas are detected. Each pod stamped out by the StatefulSet @@ -101,7 +105,7 @@ message StatefulSetSpec { // StatefulSetStatus represents the current state of a StatefulSet. message StatefulSetStatus { - // most recent generation observed by this autoscaler. + // most recent generation observed by this StatefulSet. // +optional optional int64 observedGeneration = 1; diff --git a/pkg/apis/apps/v1beta1/register.go b/pkg/apis/apps/v1beta1/register.go index 113e98ca..bdef65d8 100644 --- a/pkg/apis/apps/v1beta1/register.go +++ b/pkg/apis/apps/v1beta1/register.go @@ -17,11 +17,10 @@ limitations under the License. package v1beta1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package @@ -50,7 +49,7 @@ func addKnownTypes(scheme *runtime.Scheme) error { &metav1.ExportOptions{}, &metav1.GetOptions{}, ) - versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/apis/apps/v1beta1/types.generated.go b/pkg/apis/apps/v1beta1/types.generated.go index 742ac8dd..6c961cee 100644 --- a/pkg/apis/apps/v1beta1/types.generated.go +++ b/pkg/apis/apps/v1beta1/types.generated.go @@ -25,10 +25,10 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" + pkg1_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + pkg3_types "k8s.io/apimachinery/pkg/types" pkg4_resource "k8s.io/client-go/pkg/api/resource" pkg2_v1 "k8s.io/client-go/pkg/api/v1" - pkg1_v1 "k8s.io/client-go/pkg/apis/meta/v1" - pkg3_types "k8s.io/client-go/pkg/types" pkg5_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" @@ -65,10 +65,10 @@ func init() { panic(err) } if false { // reference the types, but skip this branch at build/run time - var v0 pkg4_resource.Quantity - var v1 pkg2_v1.ObjectMeta - var v2 pkg1_v1.TypeMeta - var v3 pkg3_types.UID + var v0 pkg1_v1.TypeMeta + var v1 pkg3_types.UID + var v2 pkg4_resource.Quantity + var v3 pkg2_v1.ObjectMeta var v4 pkg5_intstr.IntOrString var v5 time.Time _, _, _, _, _, _ = v0, v1, v2, v3, v4, v5 @@ -173,15 +173,15 @@ func (x *StatefulSet) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.ObjectMeta - yy11.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[3] { - yy13 := &x.Spec - yy13.CodecEncodeSelf(e) + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -190,15 +190,15 @@ func (x *StatefulSet) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.Spec - yy14.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[4] { - yy16 := &x.Status - yy16.CodecEncodeSelf(e) + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -207,8 +207,8 @@ func (x *StatefulSet) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.Status - yy17.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { @@ -224,25 +224,25 @@ func (x *StatefulSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym18 := z.DecBinary() - _ = yym18 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct19 := r.ContainerType() - if yyct19 == codecSelferValueTypeMap1234 { - yyl19 := r.ReadMapStart() - if yyl19 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl19, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct19 == codecSelferValueTypeArray1234 { - yyl19 := r.ReadArrayStart() - if yyl19 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl19, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -254,12 +254,12 @@ func (x *StatefulSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys20Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys20Slc - var yyhl20 bool = l >= 0 - for yyj20 := 0; ; yyj20++ { - if yyhl20 { - if yyj20 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -268,47 +268,59 @@ func (x *StatefulSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys20Slc = r.DecodeBytes(yys20Slc, true, true) - yys20 := string(yys20Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys20 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv23 := &x.ObjectMeta - yyv23.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = StatefulSetSpec{} } else { - yyv24 := &x.Spec - yyv24.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = StatefulSetStatus{} } else { - yyv25 := &x.Status - yyv25.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys20) - } // end switch yys20 - } // end for yyj20 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -316,16 +328,16 @@ func (x *StatefulSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj26 int - var yyb26 bool - var yyhl26 bool = l >= 0 - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -333,15 +345,21 @@ func (x *StatefulSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -349,15 +367,21 @@ func (x *StatefulSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -365,16 +389,16 @@ func (x *StatefulSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv29 := &x.ObjectMeta - yyv29.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -382,16 +406,16 @@ func (x *StatefulSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = StatefulSetSpec{} } else { - yyv30 := &x.Spec - yyv30.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -399,21 +423,21 @@ func (x *StatefulSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = StatefulSetStatus{} } else { - yyv31 := &x.Status - yyv31.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj26-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -425,75 +449,75 @@ func (x *StatefulSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym32 := z.EncBinary() - _ = yym32 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep33 := !z.EncBinary() - yy2arr33 := z.EncBasicHandle().StructToArray - var yyq33 [5]bool - _, _, _ = yysep33, yyq33, yy2arr33 - const yyr33 bool = false - yyq33[0] = x.Replicas != nil - yyq33[1] = x.Selector != nil - yyq33[3] = len(x.VolumeClaimTemplates) != 0 - var yynn33 int - if yyr33 || yy2arr33 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Replicas != nil + yyq2[1] = x.Selector != nil + yyq2[3] = len(x.VolumeClaimTemplates) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn33 = 2 - for _, b := range yyq33 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn33++ + yynn2++ } } - r.EncodeMapStart(yynn33) - yynn33 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[0] { + if yyq2[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy35 := *x.Replicas - yym36 := z.EncBinary() - _ = yym36 + yy4 := *x.Replicas + yym5 := z.EncBinary() + _ = yym5 if false { } else { - r.EncodeInt(int64(yy35)) + r.EncodeInt(int64(yy4)) } } } else { r.EncodeNil() } } else { - if yyq33[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy37 := *x.Replicas - yym38 := z.EncBinary() - _ = yym38 + yy6 := *x.Replicas + yym7 := z.EncBinary() + _ = yym7 if false { } else { - r.EncodeInt(int64(yy37)) + r.EncodeInt(int64(yy6)) } } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[1] { + if yyq2[1] { if x.Selector == nil { r.EncodeNil() } else { - yym40 := z.EncBinary() - _ = yym40 + yym9 := z.EncBinary() + _ = yym9 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -504,15 +528,15 @@ func (x *StatefulSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq33[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym41 := z.EncBinary() - _ = yym41 + yym10 := z.EncBinary() + _ = yym10 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -521,25 +545,25 @@ func (x *StatefulSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy43 := &x.Template - yy43.CodecEncodeSelf(e) + yy12 := &x.Template + yy12.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy44 := &x.Template - yy44.CodecEncodeSelf(e) + yy14 := &x.Template + yy14.CodecEncodeSelf(e) } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[3] { + if yyq2[3] { if x.VolumeClaimTemplates == nil { r.EncodeNil() } else { - yym46 := z.EncBinary() - _ = yym46 + yym17 := z.EncBinary() + _ = yym17 if false { } else { h.encSlicev1_PersistentVolumeClaim(([]pkg2_v1.PersistentVolumeClaim)(x.VolumeClaimTemplates), e) @@ -549,15 +573,15 @@ func (x *StatefulSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq33[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeClaimTemplates")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumeClaimTemplates == nil { r.EncodeNil() } else { - yym47 := z.EncBinary() - _ = yym47 + yym18 := z.EncBinary() + _ = yym18 if false { } else { h.encSlicev1_PersistentVolumeClaim(([]pkg2_v1.PersistentVolumeClaim)(x.VolumeClaimTemplates), e) @@ -565,10 +589,10 @@ func (x *StatefulSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym49 := z.EncBinary() - _ = yym49 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) @@ -577,14 +601,14 @@ func (x *StatefulSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym50 := z.EncBinary() - _ = yym50 + yym21 := z.EncBinary() + _ = yym21 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -597,25 +621,25 @@ func (x *StatefulSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym51 := z.DecBinary() - _ = yym51 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct52 := r.ContainerType() - if yyct52 == codecSelferValueTypeMap1234 { - yyl52 := r.ReadMapStart() - if yyl52 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl52, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct52 == codecSelferValueTypeArray1234 { - yyl52 := r.ReadArrayStart() - if yyl52 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl52, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -627,12 +651,12 @@ func (x *StatefulSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys53Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys53Slc - var yyhl53 bool = l >= 0 - for yyj53 := 0; ; yyj53++ { - if yyhl53 { - if yyj53 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -641,10 +665,10 @@ func (x *StatefulSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys53Slc = r.DecodeBytes(yys53Slc, true, true) - yys53 := string(yys53Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys53 { + switch yys3 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -654,8 +678,8 @@ func (x *StatefulSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym55 := z.DecBinary() - _ = yym55 + yym5 := z.DecBinary() + _ = yym5 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -670,8 +694,8 @@ func (x *StatefulSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_v1.LabelSelector) } - yym57 := z.DecBinary() - _ = yym57 + yym7 := z.DecBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -682,31 +706,37 @@ func (x *StatefulSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv58 := &x.Template - yyv58.CodecDecodeSelf(d) + yyv8 := &x.Template + yyv8.CodecDecodeSelf(d) } case "volumeClaimTemplates": if r.TryDecodeAsNil() { x.VolumeClaimTemplates = nil } else { - yyv59 := &x.VolumeClaimTemplates - yym60 := z.DecBinary() - _ = yym60 + yyv9 := &x.VolumeClaimTemplates + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSlicev1_PersistentVolumeClaim((*[]pkg2_v1.PersistentVolumeClaim)(yyv59), d) + h.decSlicev1_PersistentVolumeClaim((*[]pkg2_v1.PersistentVolumeClaim)(yyv9), d) } } case "serviceName": if r.TryDecodeAsNil() { x.ServiceName = "" } else { - x.ServiceName = string(r.DecodeString()) + yyv11 := &x.ServiceName + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys53) - } // end switch yys53 - } // end for yyj53 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -714,16 +744,16 @@ func (x *StatefulSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj62 int - var yyb62 bool - var yyhl62 bool = l >= 0 - yyj62++ - if yyhl62 { - yyb62 = yyj62 > l + var yyj13 int + var yyb13 bool + var yyhl13 bool = l >= 0 + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb62 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb62 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -736,20 +766,20 @@ func (x *StatefulSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Replicas == nil { x.Replicas = new(int32) } - yym64 := z.DecBinary() - _ = yym64 + yym15 := z.DecBinary() + _ = yym15 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj62++ - if yyhl62 { - yyb62 = yyj62 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb62 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb62 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -762,21 +792,21 @@ func (x *StatefulSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Selector == nil { x.Selector = new(pkg1_v1.LabelSelector) } - yym66 := z.DecBinary() - _ = yym66 + yym17 := z.DecBinary() + _ = yym17 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj62++ - if yyhl62 { - yyb62 = yyj62 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb62 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb62 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -784,16 +814,16 @@ func (x *StatefulSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv67 := &x.Template - yyv67.CodecDecodeSelf(d) + yyv18 := &x.Template + yyv18.CodecDecodeSelf(d) } - yyj62++ - if yyhl62 { - yyb62 = yyj62 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb62 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb62 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -801,21 +831,21 @@ func (x *StatefulSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.VolumeClaimTemplates = nil } else { - yyv68 := &x.VolumeClaimTemplates - yym69 := z.DecBinary() - _ = yym69 + yyv19 := &x.VolumeClaimTemplates + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSlicev1_PersistentVolumeClaim((*[]pkg2_v1.PersistentVolumeClaim)(yyv68), d) + h.decSlicev1_PersistentVolumeClaim((*[]pkg2_v1.PersistentVolumeClaim)(yyv19), d) } } - yyj62++ - if yyhl62 { - yyb62 = yyj62 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb62 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb62 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -823,20 +853,26 @@ func (x *StatefulSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ServiceName = "" } else { - x.ServiceName = string(r.DecodeString()) + yyv21 := &x.ServiceName + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } for { - yyj62++ - if yyhl62 { - yyb62 = yyj62 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb62 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb62 { + if yyb13 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj62-1, "") + z.DecStructFieldNotFound(yyj13-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -848,69 +884,69 @@ func (x *StatefulSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym71 := z.EncBinary() - _ = yym71 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep72 := !z.EncBinary() - yy2arr72 := z.EncBasicHandle().StructToArray - var yyq72 [2]bool - _, _, _ = yysep72, yyq72, yy2arr72 - const yyr72 bool = false - yyq72[0] = x.ObservedGeneration != nil - var yynn72 int - if yyr72 || yy2arr72 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.ObservedGeneration != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn72 = 1 - for _, b := range yyq72 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn72++ + yynn2++ } } - r.EncodeMapStart(yynn72) - yynn72 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr72 || yy2arr72 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq72[0] { + if yyq2[0] { if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy74 := *x.ObservedGeneration - yym75 := z.EncBinary() - _ = yym75 + yy4 := *x.ObservedGeneration + yym5 := z.EncBinary() + _ = yym5 if false { } else { - r.EncodeInt(int64(yy74)) + r.EncodeInt(int64(yy4)) } } } else { r.EncodeNil() } } else { - if yyq72[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy76 := *x.ObservedGeneration - yym77 := z.EncBinary() - _ = yym77 + yy6 := *x.ObservedGeneration + yym7 := z.EncBinary() + _ = yym7 if false { } else { - r.EncodeInt(int64(yy76)) + r.EncodeInt(int64(yy6)) } } } } - if yyr72 || yy2arr72 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym79 := z.EncBinary() - _ = yym79 + yym9 := z.EncBinary() + _ = yym9 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -919,14 +955,14 @@ func (x *StatefulSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym80 := z.EncBinary() - _ = yym80 + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr72 || yy2arr72 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -939,25 +975,25 @@ func (x *StatefulSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym81 := z.DecBinary() - _ = yym81 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct82 := r.ContainerType() - if yyct82 == codecSelferValueTypeMap1234 { - yyl82 := r.ReadMapStart() - if yyl82 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl82, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct82 == codecSelferValueTypeArray1234 { - yyl82 := r.ReadArrayStart() - if yyl82 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl82, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -969,12 +1005,12 @@ func (x *StatefulSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys83Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys83Slc - var yyhl83 bool = l >= 0 - for yyj83 := 0; ; yyj83++ { - if yyhl83 { - if yyj83 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -983,10 +1019,10 @@ func (x *StatefulSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys83Slc = r.DecodeBytes(yys83Slc, true, true) - yys83 := string(yys83Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys83 { + switch yys3 { case "observedGeneration": if r.TryDecodeAsNil() { if x.ObservedGeneration != nil { @@ -996,8 +1032,8 @@ func (x *StatefulSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym85 := z.DecBinary() - _ = yym85 + yym5 := z.DecBinary() + _ = yym5 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) @@ -1007,12 +1043,18 @@ func (x *StatefulSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int32(r.DecodeInt(32)) + yyv6 := &x.Replicas + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*int32)(yyv6)) = int32(r.DecodeInt(32)) + } } default: - z.DecStructFieldNotFound(-1, yys83) - } // end switch yys83 - } // end for yyj83 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1020,16 +1062,16 @@ func (x *StatefulSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj87 int - var yyb87 bool - var yyhl87 bool = l >= 0 - yyj87++ - if yyhl87 { - yyb87 = yyj87 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb87 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb87 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1042,20 +1084,20 @@ func (x *StatefulSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym89 := z.DecBinary() - _ = yym89 + yym10 := z.DecBinary() + _ = yym10 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) } } - yyj87++ - if yyhl87 { - yyb87 = yyj87 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb87 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb87 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1063,20 +1105,26 @@ func (x *StatefulSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int32(r.DecodeInt(32)) + yyv11 := &x.Replicas + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*int32)(yyv11)) = int32(r.DecodeInt(32)) + } } for { - yyj87++ - if yyhl87 { - yyb87 = yyj87 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb87 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb87 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj87-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1088,37 +1136,37 @@ func (x *StatefulSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym91 := z.EncBinary() - _ = yym91 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep92 := !z.EncBinary() - yy2arr92 := z.EncBasicHandle().StructToArray - var yyq92 [4]bool - _, _, _ = yysep92, yyq92, yy2arr92 - const yyr92 bool = false - yyq92[0] = x.Kind != "" - yyq92[1] = x.APIVersion != "" - yyq92[2] = true - var yynn92 int - if yyr92 || yy2arr92 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn92 = 1 - for _, b := range yyq92 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn92++ + yynn2++ } } - r.EncodeMapStart(yynn92) - yynn92 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr92 || yy2arr92 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq92[0] { - yym94 := z.EncBinary() - _ = yym94 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1127,23 +1175,23 @@ func (x *StatefulSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq92[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym95 := z.EncBinary() - _ = yym95 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr92 || yy2arr92 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq92[1] { - yym97 := z.EncBinary() - _ = yym97 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1152,54 +1200,54 @@ func (x *StatefulSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq92[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym98 := z.EncBinary() - _ = yym98 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr92 || yy2arr92 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq92[2] { - yy100 := &x.ListMeta - yym101 := z.EncBinary() - _ = yym101 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy100) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy100) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq92[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy102 := &x.ListMeta - yym103 := z.EncBinary() - _ = yym103 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy102) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy102) + z.EncFallback(yy12) } } } - if yyr92 || yy2arr92 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym105 := z.EncBinary() - _ = yym105 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceStatefulSet(([]StatefulSet)(x.Items), e) @@ -1212,15 +1260,15 @@ func (x *StatefulSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym106 := z.EncBinary() - _ = yym106 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceStatefulSet(([]StatefulSet)(x.Items), e) } } } - if yyr92 || yy2arr92 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1233,25 +1281,25 @@ func (x *StatefulSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym107 := z.DecBinary() - _ = yym107 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct108 := r.ContainerType() - if yyct108 == codecSelferValueTypeMap1234 { - yyl108 := r.ReadMapStart() - if yyl108 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl108, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct108 == codecSelferValueTypeArray1234 { - yyl108 := r.ReadArrayStart() - if yyl108 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl108, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1263,12 +1311,12 @@ func (x *StatefulSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys109Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys109Slc - var yyhl109 bool = l >= 0 - for yyj109 := 0; ; yyj109++ { - if yyhl109 { - if yyj109 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1277,51 +1325,63 @@ func (x *StatefulSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys109Slc = r.DecodeBytes(yys109Slc, true, true) - yys109 := string(yys109Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys109 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv112 := &x.ListMeta - yym113 := z.DecBinary() - _ = yym113 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv112) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv112, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv114 := &x.Items - yym115 := z.DecBinary() - _ = yym115 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceStatefulSet((*[]StatefulSet)(yyv114), d) + h.decSliceStatefulSet((*[]StatefulSet)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys109) - } // end switch yys109 - } // end for yyj109 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1329,16 +1389,16 @@ func (x *StatefulSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj116 int - var yyb116 bool - var yyhl116 bool = l >= 0 - yyj116++ - if yyhl116 { - yyb116 = yyj116 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb116 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb116 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1346,15 +1406,21 @@ func (x *StatefulSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj116++ - if yyhl116 { - yyb116 = yyj116 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb116 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb116 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1362,15 +1428,21 @@ func (x *StatefulSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj116++ - if yyhl116 { - yyb116 = yyj116 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb116 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb116 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1378,22 +1450,22 @@ func (x *StatefulSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv119 := &x.ListMeta - yym120 := z.DecBinary() - _ = yym120 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv119) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv119, false) + z.DecFallback(yyv17, false) } } - yyj116++ - if yyhl116 { - yyb116 = yyj116 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb116 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb116 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1401,26 +1473,26 @@ func (x *StatefulSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv121 := &x.Items - yym122 := z.DecBinary() - _ = yym122 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceStatefulSet((*[]StatefulSet)(yyv121), d) + h.decSliceStatefulSet((*[]StatefulSet)(yyv19), d) } } for { - yyj116++ - if yyhl116 { - yyb116 = yyj116 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb116 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb116 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj116-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1430,10 +1502,10 @@ func (x codecSelfer1234) encSlicev1_PersistentVolumeClaim(v []pkg2_v1.Persistent z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv123 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy124 := &yyv123 - yy124.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1443,83 +1515,86 @@ func (x codecSelfer1234) decSlicev1_PersistentVolumeClaim(v *[]pkg2_v1.Persisten z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv125 := *v - yyh125, yyl125 := z.DecSliceHelperStart() - var yyc125 bool - if yyl125 == 0 { - if yyv125 == nil { - yyv125 = []pkg2_v1.PersistentVolumeClaim{} - yyc125 = true - } else if len(yyv125) != 0 { - yyv125 = yyv125[:0] - yyc125 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []pkg2_v1.PersistentVolumeClaim{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl125 > 0 { - var yyrr125, yyrl125 int - var yyrt125 bool - if yyl125 > cap(yyv125) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg125 := len(yyv125) > 0 - yyv2125 := yyv125 - yyrl125, yyrt125 = z.DecInferLen(yyl125, z.DecBasicHandle().MaxInitLen, 368) - if yyrt125 { - if yyrl125 <= cap(yyv125) { - yyv125 = yyv125[:yyrl125] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 368) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv125 = make([]pkg2_v1.PersistentVolumeClaim, yyrl125) + yyv1 = make([]pkg2_v1.PersistentVolumeClaim, yyrl1) } } else { - yyv125 = make([]pkg2_v1.PersistentVolumeClaim, yyrl125) + yyv1 = make([]pkg2_v1.PersistentVolumeClaim, yyrl1) } - yyc125 = true - yyrr125 = len(yyv125) - if yyrg125 { - copy(yyv125, yyv2125) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl125 != len(yyv125) { - yyv125 = yyv125[:yyl125] - yyc125 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj125 := 0 - for ; yyj125 < yyrr125; yyj125++ { - yyh125.ElemContainerState(yyj125) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv125[yyj125] = pkg2_v1.PersistentVolumeClaim{} + yyv1[yyj1] = pkg2_v1.PersistentVolumeClaim{} } else { - yyv126 := &yyv125[yyj125] - yyv126.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt125 { - for ; yyj125 < yyl125; yyj125++ { - yyv125 = append(yyv125, pkg2_v1.PersistentVolumeClaim{}) - yyh125.ElemContainerState(yyj125) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, pkg2_v1.PersistentVolumeClaim{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv125[yyj125] = pkg2_v1.PersistentVolumeClaim{} + yyv1[yyj1] = pkg2_v1.PersistentVolumeClaim{} } else { - yyv127 := &yyv125[yyj125] - yyv127.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj125 := 0 - for ; !r.CheckBreak(); yyj125++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj125 >= len(yyv125) { - yyv125 = append(yyv125, pkg2_v1.PersistentVolumeClaim{}) // var yyz125 pkg2_v1.PersistentVolumeClaim - yyc125 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, pkg2_v1.PersistentVolumeClaim{}) // var yyz1 pkg2_v1.PersistentVolumeClaim + yyc1 = true } - yyh125.ElemContainerState(yyj125) - if yyj125 < len(yyv125) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv125[yyj125] = pkg2_v1.PersistentVolumeClaim{} + yyv1[yyj1] = pkg2_v1.PersistentVolumeClaim{} } else { - yyv128 := &yyv125[yyj125] - yyv128.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -1527,17 +1602,17 @@ func (x codecSelfer1234) decSlicev1_PersistentVolumeClaim(v *[]pkg2_v1.Persisten } } - if yyj125 < len(yyv125) { - yyv125 = yyv125[:yyj125] - yyc125 = true - } else if yyj125 == 0 && yyv125 == nil { - yyv125 = []pkg2_v1.PersistentVolumeClaim{} - yyc125 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []pkg2_v1.PersistentVolumeClaim{} + yyc1 = true } } - yyh125.End() - if yyc125 { - *v = yyv125 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -1546,10 +1621,10 @@ func (x codecSelfer1234) encSliceStatefulSet(v []StatefulSet, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv129 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy130 := &yyv129 - yy130.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1559,83 +1634,86 @@ func (x codecSelfer1234) decSliceStatefulSet(v *[]StatefulSet, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv131 := *v - yyh131, yyl131 := z.DecSliceHelperStart() - var yyc131 bool - if yyl131 == 0 { - if yyv131 == nil { - yyv131 = []StatefulSet{} - yyc131 = true - } else if len(yyv131) != 0 { - yyv131 = yyv131[:0] - yyc131 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []StatefulSet{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl131 > 0 { - var yyrr131, yyrl131 int - var yyrt131 bool - if yyl131 > cap(yyv131) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg131 := len(yyv131) > 0 - yyv2131 := yyv131 - yyrl131, yyrt131 = z.DecInferLen(yyl131, z.DecBasicHandle().MaxInitLen, 808) - if yyrt131 { - if yyrl131 <= cap(yyv131) { - yyv131 = yyv131[:yyrl131] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 808) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv131 = make([]StatefulSet, yyrl131) + yyv1 = make([]StatefulSet, yyrl1) } } else { - yyv131 = make([]StatefulSet, yyrl131) + yyv1 = make([]StatefulSet, yyrl1) } - yyc131 = true - yyrr131 = len(yyv131) - if yyrg131 { - copy(yyv131, yyv2131) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl131 != len(yyv131) { - yyv131 = yyv131[:yyl131] - yyc131 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj131 := 0 - for ; yyj131 < yyrr131; yyj131++ { - yyh131.ElemContainerState(yyj131) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv131[yyj131] = StatefulSet{} + yyv1[yyj1] = StatefulSet{} } else { - yyv132 := &yyv131[yyj131] - yyv132.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt131 { - for ; yyj131 < yyl131; yyj131++ { - yyv131 = append(yyv131, StatefulSet{}) - yyh131.ElemContainerState(yyj131) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, StatefulSet{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv131[yyj131] = StatefulSet{} + yyv1[yyj1] = StatefulSet{} } else { - yyv133 := &yyv131[yyj131] - yyv133.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj131 := 0 - for ; !r.CheckBreak(); yyj131++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj131 >= len(yyv131) { - yyv131 = append(yyv131, StatefulSet{}) // var yyz131 StatefulSet - yyc131 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, StatefulSet{}) // var yyz1 StatefulSet + yyc1 = true } - yyh131.ElemContainerState(yyj131) - if yyj131 < len(yyv131) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv131[yyj131] = StatefulSet{} + yyv1[yyj1] = StatefulSet{} } else { - yyv134 := &yyv131[yyj131] - yyv134.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -1643,16 +1721,16 @@ func (x codecSelfer1234) decSliceStatefulSet(v *[]StatefulSet, d *codec1978.Deco } } - if yyj131 < len(yyv131) { - yyv131 = yyv131[:yyj131] - yyc131 = true - } else if yyj131 == 0 && yyv131 == nil { - yyv131 = []StatefulSet{} - yyc131 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []StatefulSet{} + yyc1 = true } } - yyh131.End() - if yyc131 { - *v = yyv131 + yyh1.End() + if yyc1 { + *v = yyv1 } } diff --git a/pkg/apis/apps/v1beta1/types.go b/pkg/apis/apps/v1beta1/types.go index ec1eac12..f7ebed67 100644 --- a/pkg/apis/apps/v1beta1/types.go +++ b/pkg/apis/apps/v1beta1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1beta1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // +genclient=true @@ -86,7 +86,7 @@ type StatefulSetSpec struct { // StatefulSetStatus represents the current state of a StatefulSet. type StatefulSetStatus struct { - // most recent generation observed by this autoscaler. + // most recent generation observed by this StatefulSet. // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"` diff --git a/pkg/apis/apps/v1beta1/types_swagger_doc_generated.go b/pkg/apis/apps/v1beta1/types_swagger_doc_generated.go index 837181c1..e95d417c 100644 --- a/pkg/apis/apps/v1beta1/types_swagger_doc_generated.go +++ b/pkg/apis/apps/v1beta1/types_swagger_doc_generated.go @@ -60,7 +60,7 @@ func (StatefulSetSpec) SwaggerDoc() map[string]string { var map_StatefulSetStatus = map[string]string{ "": "StatefulSetStatus represents the current state of a StatefulSet.", - "observedGeneration": "most recent generation observed by this autoscaler.", + "observedGeneration": "most recent generation observed by this StatefulSet.", "replicas": "Replicas is the number of actual replicas.", } diff --git a/pkg/apis/apps/v1beta1/zz_generated.conversion.go b/pkg/apis/apps/v1beta1/zz_generated.conversion.go index 32d701be..4a7d6f3f 100644 --- a/pkg/apis/apps/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/apps/v1beta1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,12 +21,12 @@ limitations under the License. package v1beta1 import ( + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" api_v1 "k8s.io/client-go/pkg/api/v1" apps "k8s.io/client-go/pkg/apis/apps" - v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" unsafe "unsafe" ) diff --git a/pkg/apis/apps/v1beta1/zz_generated.deepcopy.go b/pkg/apis/apps/v1beta1/zz_generated.deepcopy.go index c47ac293..77f5ef4c 100644 --- a/pkg/apis/apps/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/apps/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ limitations under the License. package v1beta1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -47,7 +47,7 @@ func DeepCopy_v1beta1_StatefulSet(in interface{}, out interface{}, c *conversion { in := in.(*StatefulSet) out := out.(*StatefulSet) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -65,8 +65,7 @@ func DeepCopy_v1beta1_StatefulSetList(in interface{}, out interface{}, c *conver { in := in.(*StatefulSetList) out := out.(*StatefulSetList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]StatefulSet, len(*in)) @@ -75,8 +74,6 @@ func DeepCopy_v1beta1_StatefulSetList(in interface{}, out interface{}, c *conver return err } } - } else { - out.Items = nil } return nil } @@ -86,21 +83,19 @@ func DeepCopy_v1beta1_StatefulSetSpec(in interface{}, out interface{}, c *conver { in := in.(*StatefulSetSpec) out := out.(*StatefulSetSpec) + *out = *in if in.Replicas != nil { in, out := &in.Replicas, &out.Replicas *out = new(int32) **out = **in - } else { - out.Replicas = nil } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(meta_v1.LabelSelector) - if err := meta_v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*meta_v1.LabelSelector) } - } else { - out.Selector = nil } if err := v1.DeepCopy_v1_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err @@ -113,10 +108,7 @@ func DeepCopy_v1beta1_StatefulSetSpec(in interface{}, out interface{}, c *conver return err } } - } else { - out.VolumeClaimTemplates = nil } - out.ServiceName = in.ServiceName return nil } } @@ -125,14 +117,12 @@ func DeepCopy_v1beta1_StatefulSetStatus(in interface{}, out interface{}, c *conv { in := in.(*StatefulSetStatus) out := out.(*StatefulSetStatus) + *out = *in if in.ObservedGeneration != nil { in, out := &in.ObservedGeneration, &out.ObservedGeneration *out = new(int64) **out = **in - } else { - out.ObservedGeneration = nil } - out.Replicas = in.Replicas return nil } } diff --git a/pkg/apis/apps/v1beta1/zz_generated.defaults.go b/pkg/apis/apps/v1beta1/zz_generated.defaults.go index 7f9a19c1..eaae1adf 100644 --- a/pkg/apis/apps/v1beta1/zz_generated.defaults.go +++ b/pkg/apis/apps/v1beta1/zz_generated.defaults.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,8 +21,8 @@ limitations under the License. package v1beta1 import ( + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - runtime "k8s.io/client-go/pkg/runtime" ) // RegisterDefaults adds defaulters functions to the given scheme. diff --git a/pkg/apis/apps/zz_generated.deepcopy.go b/pkg/apis/apps/zz_generated.deepcopy.go index 381fd9f7..21623398 100644 --- a/pkg/apis/apps/zz_generated.deepcopy.go +++ b/pkg/apis/apps/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ limitations under the License. package apps import ( + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" - v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -47,7 +47,7 @@ func DeepCopy_apps_StatefulSet(in interface{}, out interface{}, c *conversion.Cl { in := in.(*StatefulSet) out := out.(*StatefulSet) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -65,8 +65,7 @@ func DeepCopy_apps_StatefulSetList(in interface{}, out interface{}, c *conversio { in := in.(*StatefulSetList) out := out.(*StatefulSetList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]StatefulSet, len(*in)) @@ -75,8 +74,6 @@ func DeepCopy_apps_StatefulSetList(in interface{}, out interface{}, c *conversio return err } } - } else { - out.Items = nil } return nil } @@ -86,15 +83,14 @@ func DeepCopy_apps_StatefulSetSpec(in interface{}, out interface{}, c *conversio { in := in.(*StatefulSetSpec) out := out.(*StatefulSetSpec) - out.Replicas = in.Replicas + *out = *in if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(v1.LabelSelector) - if err := v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*v1.LabelSelector) } - } else { - out.Selector = nil } if err := api.DeepCopy_api_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err @@ -107,10 +103,7 @@ func DeepCopy_apps_StatefulSetSpec(in interface{}, out interface{}, c *conversio return err } } - } else { - out.VolumeClaimTemplates = nil } - out.ServiceName = in.ServiceName return nil } } @@ -119,14 +112,12 @@ func DeepCopy_apps_StatefulSetStatus(in interface{}, out interface{}, c *convers { in := in.(*StatefulSetStatus) out := out.(*StatefulSetStatus) + *out = *in if in.ObservedGeneration != nil { in, out := &in.ObservedGeneration, &out.ObservedGeneration *out = new(int64) **out = **in - } else { - out.ObservedGeneration = nil } - out.Replicas = in.Replicas return nil } } diff --git a/pkg/apis/authentication/install/install.go b/pkg/apis/authentication/install/install.go index c045d7c5..6af56b3b 100644 --- a/pkg/apis/authentication/install/install.go +++ b/pkg/apis/authentication/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/apimachinery/announced" "k8s.io/client-go/pkg/apis/authentication" "k8s.io/client-go/pkg/apis/authentication/v1beta1" - "k8s.io/client-go/pkg/util/sets" ) func init() { diff --git a/pkg/apis/authentication/register.go b/pkg/apis/authentication/register.go index 3a21d9dc..73c214d5 100644 --- a/pkg/apis/authentication/register.go +++ b/pkg/apis/authentication/register.go @@ -17,10 +17,10 @@ limitations under the License. package authentication import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) // GroupName is the group name use in this package diff --git a/pkg/apis/authentication/types.go b/pkg/apis/authentication/types.go index dc8d22d0..ac69188e 100644 --- a/pkg/apis/authentication/types.go +++ b/pkg/apis/authentication/types.go @@ -17,8 +17,8 @@ limitations under the License. package authentication import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) const ( diff --git a/pkg/apis/authentication/v1beta1/conversion.go b/pkg/apis/authentication/v1beta1/conversion.go index 93cccc5b..51f3adfc 100644 --- a/pkg/apis/authentication/v1beta1/conversion.go +++ b/pkg/apis/authentication/v1beta1/conversion.go @@ -17,7 +17,7 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/apis/authentication/v1beta1/defaults.go b/pkg/apis/authentication/v1beta1/defaults.go index f3b22e95..1a456647 100644 --- a/pkg/apis/authentication/v1beta1/defaults.go +++ b/pkg/apis/authentication/v1beta1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/apis/authentication/v1beta1/generated.pb.go b/pkg/apis/authentication/v1beta1/generated.pb.go index 37cd991d..60e87804 100644 --- a/pkg/apis/authentication/v1beta1/generated.pb.go +++ b/pkg/apis/authentication/v1beta1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -151,6 +151,14 @@ func (m *TokenReview) MarshalTo(data []byte) (int, error) { return 0, err } i += n3 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n4, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n4 return i, nil } @@ -202,11 +210,11 @@ func (m *TokenReviewStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.User.Size())) - n4, err := m.User.MarshalTo(data[i:]) + n5, err := m.User.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n4 + i += n5 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(len(m.Error))) @@ -267,11 +275,11 @@ func (m *UserInfo) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n5, err := (&v).MarshalTo(data[i:]) + n6, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n5 + i += n6 } } return i, nil @@ -325,6 +333,8 @@ func (m *TokenReview) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -393,6 +403,7 @@ func (this *TokenReview) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "TokenReviewSpec", "TokenReviewSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "TokenReviewStatus", "TokenReviewStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -648,6 +659,36 @@ func (m *TokenReview) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1236,46 +1277,48 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 644 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x53, 0x4f, 0x4f, 0x13, 0x41, - 0x14, 0xdf, 0xed, 0x1f, 0x6c, 0xa7, 0xa2, 0x38, 0x89, 0x49, 0xd3, 0xc4, 0x6d, 0x53, 0x2f, 0x35, - 0x81, 0xd9, 0x94, 0x18, 0x25, 0x10, 0x0f, 0x6c, 0x40, 0xc3, 0xc1, 0x98, 0x0c, 0x62, 0x8c, 0x89, - 0x87, 0xe9, 0xf6, 0xb1, 0xac, 0x4b, 0x77, 0x37, 0x33, 0xb3, 0x45, 0x6e, 0x7c, 0x04, 0x8f, 0x1e, - 0xfd, 0x1e, 0x7e, 0x01, 0x8e, 0x1c, 0x3c, 0x78, 0x30, 0xc4, 0xd6, 0x2f, 0x62, 0x66, 0x76, 0xa4, - 0x85, 0x02, 0x89, 0x70, 0xdb, 0xf9, 0xcd, 0xfb, 0xfd, 0x79, 0x6f, 0xf6, 0xa1, 0xf5, 0x68, 0x45, - 0x90, 0x30, 0x71, 0xa3, 0xac, 0x07, 0x3c, 0x06, 0x09, 0xc2, 0x4d, 0xa3, 0xc0, 0x65, 0x69, 0x28, - 0x5c, 0x96, 0xc9, 0x3d, 0x88, 0x65, 0xe8, 0x33, 0x19, 0x26, 0xb1, 0x3b, 0xec, 0xf6, 0x40, 0xb2, - 0xae, 0x1b, 0x40, 0x0c, 0x9c, 0x49, 0xe8, 0x93, 0x94, 0x27, 0x32, 0xc1, 0xdd, 0x5c, 0x82, 0x4c, - 0x24, 0x48, 0x1a, 0x05, 0x44, 0x49, 0x90, 0xf3, 0x12, 0xc4, 0x48, 0x34, 0x96, 0x82, 0x50, 0xee, - 0x65, 0x3d, 0xe2, 0x27, 0x03, 0x37, 0x48, 0x82, 0xc4, 0xd5, 0x4a, 0xbd, 0x6c, 0x57, 0x9f, 0xf4, - 0x41, 0x7f, 0xe5, 0x0e, 0x8d, 0xe5, 0x2b, 0x43, 0xba, 0x1c, 0x44, 0x92, 0x71, 0x1f, 0x2e, 0xa6, - 0x6a, 0x2c, 0x5e, 0xcd, 0x19, 0xce, 0xf4, 0x70, 0x8d, 0x83, 0x70, 0x07, 0x20, 0xd9, 0x65, 0x9c, - 0xa5, 0xcb, 0x39, 0x3c, 0x8b, 0x65, 0x38, 0x98, 0x0d, 0xf4, 0xf4, 0xfa, 0x72, 0xe1, 0xef, 0xc1, - 0x80, 0xcd, 0xb0, 0xba, 0x97, 0xb3, 0x32, 0x19, 0xee, 0xbb, 0x61, 0x2c, 0x85, 0xe4, 0x17, 0x29, - 0xed, 0xe7, 0x08, 0x6d, 0x7e, 0x96, 0x9c, 0xbd, 0x63, 0xfb, 0x19, 0xe0, 0x26, 0x2a, 0x87, 0x12, - 0x06, 0xa2, 0x6e, 0xb7, 0x8a, 0x9d, 0xaa, 0x57, 0x1d, 0x9f, 0x36, 0xcb, 0x5b, 0x0a, 0xa0, 0x39, - 0xbe, 0x5a, 0xf9, 0xfa, 0xad, 0x69, 0x1d, 0xfd, 0x6a, 0x59, 0xed, 0xef, 0x05, 0x54, 0x7b, 0x9b, - 0x44, 0x10, 0x53, 0x18, 0x86, 0x70, 0x80, 0xdf, 0xa3, 0x8a, 0xea, 0xbd, 0xcf, 0x24, 0xab, 0xdb, - 0x2d, 0xbb, 0x53, 0x5b, 0xee, 0x90, 0x2b, 0xdf, 0x9a, 0x0c, 0xbb, 0xe4, 0x4d, 0xef, 0x13, 0xf8, - 0xf2, 0x35, 0x48, 0xe6, 0xe1, 0xe3, 0xd3, 0xa6, 0x35, 0x3e, 0x6d, 0xa2, 0x09, 0x46, 0xcf, 0xd4, - 0x70, 0x1f, 0x95, 0x44, 0x0a, 0x7e, 0xbd, 0xa0, 0x55, 0x3d, 0xf2, 0xdf, 0x7f, 0x10, 0x99, 0xca, - 0xb9, 0x9d, 0x82, 0xef, 0xdd, 0x35, 0x7e, 0x25, 0x75, 0xa2, 0x5a, 0x1d, 0xef, 0xa3, 0x39, 0x21, - 0x99, 0xcc, 0x44, 0xbd, 0xa8, 0x7d, 0x36, 0x6e, 0xe9, 0xa3, 0xb5, 0xbc, 0x7b, 0xc6, 0x69, 0x2e, - 0x3f, 0x53, 0xe3, 0xd1, 0x7e, 0x86, 0xee, 0x5f, 0x08, 0x85, 0x1f, 0xa3, 0xb2, 0x54, 0x90, 0x9e, - 0x5e, 0xd5, 0x9b, 0x37, 0xcc, 0x72, 0x5e, 0x97, 0xdf, 0xb5, 0x7f, 0xd8, 0xe8, 0xc1, 0x8c, 0x0b, - 0x5e, 0x43, 0xf3, 0x53, 0x89, 0xa0, 0xaf, 0x25, 0x2a, 0xde, 0x43, 0x23, 0x31, 0xbf, 0x3e, 0x7d, - 0x49, 0xcf, 0xd7, 0xe2, 0x8f, 0xa8, 0x94, 0x09, 0xe0, 0x66, 0xbc, 0x6b, 0x37, 0x68, 0x7b, 0x47, - 0x00, 0xdf, 0x8a, 0x77, 0x93, 0xc9, 0x5c, 0x15, 0x42, 0xb5, 0xac, 0x6a, 0x0b, 0x38, 0x4f, 0xb8, - 0x1e, 0xeb, 0x54, 0x5b, 0x9b, 0x0a, 0xa4, 0xf9, 0x5d, 0x7b, 0x54, 0x40, 0x95, 0x7f, 0x2a, 0x78, - 0x11, 0x55, 0x14, 0x33, 0x66, 0x03, 0x30, 0xb3, 0x58, 0x30, 0x24, 0x5d, 0xa3, 0x70, 0x7a, 0x56, - 0x81, 0x1f, 0xa1, 0x62, 0x16, 0xf6, 0x75, 0xfa, 0xaa, 0x57, 0x33, 0x85, 0xc5, 0x9d, 0xad, 0x0d, - 0xaa, 0x70, 0xdc, 0x46, 0x73, 0x01, 0x4f, 0xb2, 0x54, 0x3d, 0xab, 0xfa, 0xa5, 0x91, 0x7a, 0x8c, - 0x57, 0x1a, 0xa1, 0xe6, 0x06, 0x47, 0xa8, 0x0c, 0x6a, 0x07, 0xea, 0xa5, 0x56, 0xb1, 0x53, 0x5b, - 0x7e, 0x79, 0x8b, 0x11, 0x10, 0xbd, 0x4c, 0x9b, 0xb1, 0xe4, 0x87, 0x53, 0xad, 0x2a, 0x8c, 0xe6, - 0x1e, 0x8d, 0x03, 0xb3, 0x70, 0xba, 0x06, 0x2f, 0xa0, 0x62, 0x04, 0x87, 0x79, 0x9b, 0x54, 0x7d, - 0xe2, 0x6d, 0x54, 0x1e, 0xaa, 0x5d, 0x34, 0xef, 0xf1, 0xe2, 0x06, 0x61, 0x26, 0x0b, 0x4d, 0x73, - 0xad, 0xd5, 0xc2, 0x8a, 0xed, 0x3d, 0x39, 0x1e, 0x39, 0xd6, 0xc9, 0xc8, 0xb1, 0x7e, 0x8e, 0x1c, - 0xeb, 0x68, 0xec, 0xd8, 0xc7, 0x63, 0xc7, 0x3e, 0x19, 0x3b, 0xf6, 0xef, 0xb1, 0x63, 0x7f, 0xf9, - 0xe3, 0x58, 0x1f, 0xee, 0x18, 0x81, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb6, 0x1c, 0x7a, 0x75, - 0xe8, 0x05, 0x00, 0x00, + // 688 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x54, 0xcf, 0x4f, 0x13, 0x41, + 0x14, 0xee, 0xd2, 0x16, 0xdb, 0xa9, 0x28, 0x4e, 0x62, 0xd2, 0x34, 0x71, 0xdb, 0xd4, 0x4b, 0x4d, + 0x70, 0x36, 0x25, 0x06, 0x09, 0xc4, 0x03, 0x1b, 0xd0, 0x70, 0x30, 0x26, 0x03, 0x18, 0x63, 0xf4, + 0x30, 0xdd, 0x3e, 0xb6, 0xeb, 0xb2, 0x3f, 0x32, 0x3b, 0x5b, 0xec, 0x8d, 0x3f, 0xc1, 0xa3, 0xde, + 0xfc, 0x73, 0x38, 0x72, 0xf0, 0xe0, 0xc1, 0x10, 0x5b, 0xff, 0x11, 0x33, 0xb3, 0x43, 0x5b, 0x28, + 0x8d, 0x11, 0x6e, 0x3b, 0xdf, 0xbc, 0xf7, 0x7d, 0xef, 0x7b, 0x6f, 0xde, 0xa2, 0x2d, 0x7f, 0x3d, + 0x21, 0x5e, 0x64, 0xf9, 0x69, 0x07, 0x78, 0x08, 0x02, 0x12, 0x2b, 0xf6, 0x5d, 0x8b, 0xc5, 0x5e, + 0x62, 0xb1, 0x54, 0xf4, 0x20, 0x14, 0x9e, 0xc3, 0x84, 0x17, 0x85, 0x56, 0xbf, 0xdd, 0x01, 0xc1, + 0xda, 0x96, 0x0b, 0x21, 0x70, 0x26, 0xa0, 0x4b, 0x62, 0x1e, 0x89, 0x08, 0xb7, 0x33, 0x0a, 0x32, + 0xa1, 0x20, 0xb1, 0xef, 0x12, 0x49, 0x41, 0x2e, 0x53, 0x10, 0x4d, 0x51, 0x7b, 0xea, 0x7a, 0xa2, + 0x97, 0x76, 0x88, 0x13, 0x05, 0x96, 0x1b, 0xb9, 0x91, 0xa5, 0x98, 0x3a, 0xe9, 0xa1, 0x3a, 0xa9, + 0x83, 0xfa, 0xca, 0x14, 0x6a, 0xcf, 0x74, 0x91, 0x2c, 0xf6, 0x02, 0xe6, 0xf4, 0xbc, 0x10, 0xf8, + 0x60, 0x52, 0x66, 0x00, 0x82, 0x59, 0xfd, 0x99, 0xba, 0x6a, 0xd6, 0xbc, 0x2c, 0x9e, 0x86, 0xc2, + 0x0b, 0x60, 0x26, 0x61, 0xed, 0x5f, 0x09, 0x89, 0xd3, 0x83, 0x80, 0xcd, 0xe4, 0xad, 0xce, 0xed, + 0xa1, 0xc5, 0x21, 0x89, 0x52, 0xee, 0xcc, 0x6a, 0xad, 0xcc, 0xcf, 0xb9, 0xc6, 0x4a, 0xfb, 0xfa, + 0xe8, 0x54, 0x78, 0x47, 0x96, 0x17, 0x8a, 0x44, 0xf0, 0xab, 0x29, 0xcd, 0xe7, 0x08, 0xed, 0x7c, + 0x16, 0x9c, 0xbd, 0x65, 0x47, 0x29, 0xe0, 0x3a, 0x2a, 0x7a, 0x02, 0x82, 0xa4, 0x6a, 0x34, 0xf2, + 0xad, 0xb2, 0x5d, 0x1e, 0x9d, 0xd7, 0x8b, 0xbb, 0x12, 0xa0, 0x19, 0xbe, 0x51, 0xfa, 0xfa, 0xbd, + 0x9e, 0x3b, 0xf9, 0xd5, 0xc8, 0x35, 0xbf, 0xe5, 0x51, 0x65, 0x3f, 0xf2, 0x21, 0xa4, 0xd0, 0xf7, + 0xe0, 0x18, 0xbf, 0x43, 0x25, 0xd9, 0xe1, 0x2e, 0x13, 0xac, 0x6a, 0x34, 0x8c, 0x56, 0x65, 0xb5, + 0x45, 0xe6, 0x4e, 0x9c, 0xf4, 0xdb, 0xe4, 0x4d, 0xe7, 0x13, 0x38, 0xe2, 0x35, 0x08, 0x66, 0xe3, + 0xd3, 0xf3, 0x7a, 0x6e, 0x74, 0x5e, 0x47, 0x13, 0x8c, 0x8e, 0xd9, 0x70, 0x17, 0x15, 0x92, 0x18, + 0x9c, 0xea, 0x82, 0x62, 0xb5, 0xc9, 0x7f, 0xbf, 0x23, 0x32, 0x55, 0xe7, 0x5e, 0x0c, 0x8e, 0x7d, + 0x57, 0xeb, 0x15, 0xe4, 0x89, 0x2a, 0x76, 0x7c, 0x84, 0x16, 0x13, 0xc1, 0x44, 0x9a, 0x54, 0xf3, + 0x4a, 0x67, 0xfb, 0x96, 0x3a, 0x8a, 0xcb, 0xbe, 0xa7, 0x95, 0x16, 0xb3, 0x33, 0xd5, 0x1a, 0xf8, + 0x03, 0x2a, 0x89, 0x41, 0x0c, 0xd2, 0x69, 0xb5, 0xa0, 0xf4, 0xc8, 0x85, 0xde, 0xf4, 0xb3, 0x9a, + 0x28, 0xca, 0x6e, 0xc8, 0xae, 0xed, 0xeb, 0x2c, 0x7b, 0x59, 0x33, 0x97, 0x2e, 0x10, 0x3a, 0x66, + 0x6c, 0xae, 0xa1, 0xfb, 0x57, 0x2c, 0xe3, 0xc7, 0xa8, 0x28, 0x24, 0xa4, 0x66, 0x53, 0xb6, 0x97, + 0x74, 0x76, 0x31, 0x8b, 0xcb, 0xee, 0x9a, 0x3f, 0x0c, 0xf4, 0x60, 0xc6, 0x03, 0xde, 0x44, 0x4b, + 0x53, 0x7e, 0xa1, 0xab, 0x28, 0x4a, 0xf6, 0x43, 0x4d, 0xb1, 0xb4, 0x35, 0x7d, 0x49, 0x2f, 0xc7, + 0xe2, 0x8f, 0xa8, 0x90, 0x26, 0xc0, 0xf5, 0xf0, 0x36, 0x6f, 0xd0, 0xd4, 0x83, 0x04, 0xf8, 0x6e, + 0x78, 0x18, 0x4d, 0xa6, 0x26, 0x11, 0xaa, 0x68, 0xa5, 0x2d, 0xe0, 0x3c, 0xe2, 0x6a, 0x68, 0x53, + 0xb6, 0x76, 0x24, 0x48, 0xb3, 0xbb, 0xe6, 0x70, 0x01, 0x95, 0x2e, 0x58, 0xf0, 0x0a, 0x2a, 0xc9, + 0xcc, 0x90, 0x05, 0xa0, 0x7b, 0x31, 0xee, 0xe4, 0x81, 0xc6, 0xe9, 0x38, 0x02, 0x3f, 0x42, 0xf9, + 0xd4, 0xeb, 0xaa, 0xea, 0xcb, 0x76, 0x45, 0x07, 0xe6, 0x0f, 0x76, 0xb7, 0xa9, 0xc4, 0x71, 0x13, + 0x2d, 0xba, 0x3c, 0x4a, 0x63, 0xf9, 0x68, 0xe4, 0xc2, 0x20, 0x39, 0xea, 0x57, 0x0a, 0xa1, 0xfa, + 0x06, 0xfb, 0xa8, 0x08, 0x72, 0xc3, 0xaa, 0x85, 0x46, 0xbe, 0x55, 0x59, 0x7d, 0x79, 0x8b, 0x16, + 0x10, 0xb5, 0xaa, 0x3b, 0xa1, 0xe0, 0x83, 0x29, 0xab, 0x12, 0xa3, 0x99, 0x46, 0xed, 0x58, 0xaf, + 0xb3, 0x8a, 0xc1, 0xcb, 0x28, 0xef, 0xc3, 0x20, 0xb3, 0x49, 0xe5, 0x27, 0xde, 0x43, 0xc5, 0xbe, + 0xdc, 0x74, 0x3d, 0x8f, 0x17, 0x37, 0x28, 0x66, 0xf2, 0xbb, 0xa0, 0x19, 0xd7, 0xc6, 0xc2, 0xba, + 0x61, 0x3f, 0x39, 0x1d, 0x9a, 0xb9, 0xb3, 0xa1, 0x99, 0xfb, 0x39, 0x34, 0x73, 0x27, 0x23, 0xd3, + 0x38, 0x1d, 0x99, 0xc6, 0xd9, 0xc8, 0x34, 0x7e, 0x8f, 0x4c, 0xe3, 0xcb, 0x1f, 0x33, 0xf7, 0xfe, + 0x8e, 0x26, 0xf8, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x34, 0x80, 0x2a, 0x5b, 0x4c, 0x06, 0x00, 0x00, } diff --git a/pkg/apis/authentication/v1beta1/generated.proto b/pkg/apis/authentication/v1beta1/generated.proto index 9aa00ff1..4fa0d1b7 100644 --- a/pkg/apis/authentication/v1beta1/generated.proto +++ b/pkg/apis/authentication/v1beta1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.authentication.v1beta1; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". @@ -44,6 +44,8 @@ message ExtraValue { // Note: TokenReview requests may be cached by the webhook token authenticator // plugin in the kube-apiserver. message TokenReview { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; diff --git a/pkg/apis/authentication/v1beta1/register.go b/pkg/apis/authentication/v1beta1/register.go index 75d6df7a..fa5216ac 100644 --- a/pkg/apis/authentication/v1beta1/register.go +++ b/pkg/apis/authentication/v1beta1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1beta1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) // GroupName is the group name use in this package diff --git a/pkg/apis/authentication/v1beta1/types.generated.go b/pkg/apis/authentication/v1beta1/types.generated.go index e8e81c73..560eb49c 100644 --- a/pkg/apis/authentication/v1beta1/types.generated.go +++ b/pkg/apis/authentication/v1beta1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" + pkg1_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + pkg3_types "k8s.io/apimachinery/pkg/types" pkg2_v1 "k8s.io/client-go/pkg/api/v1" - pkg1_v1 "k8s.io/client-go/pkg/apis/meta/v1" - pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" @@ -63,9 +63,9 @@ func init() { panic(err) } if false { // reference the types, but skip this branch at build/run time - var v0 pkg2_v1.ObjectMeta - var v1 pkg1_v1.TypeMeta - var v2 pkg3_types.UID + var v0 pkg1_v1.TypeMeta + var v1 pkg3_types.UID + var v2 pkg2_v1.ObjectMeta var v3 time.Time _, _, _, _ = v0, v1, v2, v3 } @@ -168,26 +168,26 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.ObjectMeta - yy11.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy13 := &x.Spec - yy13.CodecEncodeSelf(e) + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.Spec - yy14.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[4] { - yy16 := &x.Status - yy16.CodecEncodeSelf(e) + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -196,8 +196,8 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.Status - yy17.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { @@ -213,25 +213,25 @@ func (x *TokenReview) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym18 := z.DecBinary() - _ = yym18 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct19 := r.ContainerType() - if yyct19 == codecSelferValueTypeMap1234 { - yyl19 := r.ReadMapStart() - if yyl19 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl19, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct19 == codecSelferValueTypeArray1234 { - yyl19 := r.ReadArrayStart() - if yyl19 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl19, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -243,12 +243,12 @@ func (x *TokenReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys20Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys20Slc - var yyhl20 bool = l >= 0 - for yyj20 := 0; ; yyj20++ { - if yyhl20 { - if yyj20 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -257,47 +257,59 @@ func (x *TokenReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys20Slc = r.DecodeBytes(yys20Slc, true, true) - yys20 := string(yys20Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys20 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv23 := &x.ObjectMeta - yyv23.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = TokenReviewSpec{} } else { - yyv24 := &x.Spec - yyv24.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = TokenReviewStatus{} } else { - yyv25 := &x.Status - yyv25.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys20) - } // end switch yys20 - } // end for yyj20 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -305,16 +317,16 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj26 int - var yyb26 bool - var yyhl26 bool = l >= 0 - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -322,15 +334,21 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -338,15 +356,21 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -354,16 +378,16 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv29 := &x.ObjectMeta - yyv29.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -371,16 +395,16 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = TokenReviewSpec{} } else { - yyv30 := &x.Spec - yyv30.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -388,21 +412,21 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = TokenReviewStatus{} } else { - yyv31 := &x.Status - yyv31.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj26-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -414,35 +438,35 @@ func (x *TokenReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym32 := z.EncBinary() - _ = yym32 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep33 := !z.EncBinary() - yy2arr33 := z.EncBasicHandle().StructToArray - var yyq33 [1]bool - _, _, _ = yysep33, yyq33, yy2arr33 - const yyr33 bool = false - yyq33[0] = x.Token != "" - var yynn33 int - if yyr33 || yy2arr33 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Token != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn33 = 0 - for _, b := range yyq33 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn33++ + yynn2++ } } - r.EncodeMapStart(yynn33) - yynn33 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[0] { - yym35 := z.EncBinary() - _ = yym35 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Token)) @@ -451,19 +475,19 @@ func (x *TokenReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq33[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("token")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym36 := z.EncBinary() - _ = yym36 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Token)) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -476,25 +500,25 @@ func (x *TokenReviewSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym37 := z.DecBinary() - _ = yym37 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct38 := r.ContainerType() - if yyct38 == codecSelferValueTypeMap1234 { - yyl38 := r.ReadMapStart() - if yyl38 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl38, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct38 == codecSelferValueTypeArray1234 { - yyl38 := r.ReadArrayStart() - if yyl38 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl38, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -506,12 +530,12 @@ func (x *TokenReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys39Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys39Slc - var yyhl39 bool = l >= 0 - for yyj39 := 0; ; yyj39++ { - if yyhl39 { - if yyj39 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -520,20 +544,26 @@ func (x *TokenReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys39Slc = r.DecodeBytes(yys39Slc, true, true) - yys39 := string(yys39Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys39 { + switch yys3 { case "token": if r.TryDecodeAsNil() { x.Token = "" } else { - x.Token = string(r.DecodeString()) + yyv4 := &x.Token + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys39) - } // end switch yys39 - } // end for yyj39 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -541,16 +571,16 @@ func (x *TokenReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj41 int - var yyb41 bool - var yyhl41 bool = l >= 0 - yyj41++ - if yyhl41 { - yyb41 = yyj41 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb41 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb41 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -558,20 +588,26 @@ func (x *TokenReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Token = "" } else { - x.Token = string(r.DecodeString()) + yyv7 := &x.Token + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*string)(yyv7)) = r.DecodeString() + } } for { - yyj41++ - if yyhl41 { - yyb41 = yyj41 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb41 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb41 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj41-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -583,37 +619,37 @@ func (x *TokenReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym43 := z.EncBinary() - _ = yym43 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep44 := !z.EncBinary() - yy2arr44 := z.EncBasicHandle().StructToArray - var yyq44 [3]bool - _, _, _ = yysep44, yyq44, yy2arr44 - const yyr44 bool = false - yyq44[0] = x.Authenticated != false - yyq44[1] = true - yyq44[2] = x.Error != "" - var yynn44 int - if yyr44 || yy2arr44 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Authenticated != false + yyq2[1] = true + yyq2[2] = x.Error != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn44 = 0 - for _, b := range yyq44 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn44++ + yynn2++ } } - r.EncodeMapStart(yynn44) - yynn44 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr44 || yy2arr44 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq44[0] { - yym46 := z.EncBinary() - _ = yym46 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeBool(bool(x.Authenticated)) @@ -622,40 +658,40 @@ func (x *TokenReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq44[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("authenticated")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym47 := z.EncBinary() - _ = yym47 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeBool(bool(x.Authenticated)) } } } - if yyr44 || yy2arr44 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq44[1] { - yy49 := &x.User - yy49.CodecEncodeSelf(e) + if yyq2[1] { + yy7 := &x.User + yy7.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq44[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy50 := &x.User - yy50.CodecEncodeSelf(e) + yy9 := &x.User + yy9.CodecEncodeSelf(e) } } - if yyr44 || yy2arr44 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq44[2] { - yym52 := z.EncBinary() - _ = yym52 + if yyq2[2] { + yym12 := z.EncBinary() + _ = yym12 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -664,19 +700,19 @@ func (x *TokenReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq44[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym53 := z.EncBinary() - _ = yym53 + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr44 || yy2arr44 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -689,25 +725,25 @@ func (x *TokenReviewStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym54 := z.DecBinary() - _ = yym54 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct55 := r.ContainerType() - if yyct55 == codecSelferValueTypeMap1234 { - yyl55 := r.ReadMapStart() - if yyl55 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl55, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct55 == codecSelferValueTypeArray1234 { - yyl55 := r.ReadArrayStart() - if yyl55 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl55, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -719,12 +755,12 @@ func (x *TokenReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys56Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys56Slc - var yyhl56 bool = l >= 0 - for yyj56 := 0; ; yyj56++ { - if yyhl56 { - if yyj56 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -733,33 +769,45 @@ func (x *TokenReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys56Slc = r.DecodeBytes(yys56Slc, true, true) - yys56 := string(yys56Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys56 { + switch yys3 { case "authenticated": if r.TryDecodeAsNil() { x.Authenticated = false } else { - x.Authenticated = bool(r.DecodeBool()) + yyv4 := &x.Authenticated + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*bool)(yyv4)) = r.DecodeBool() + } } case "user": if r.TryDecodeAsNil() { x.User = UserInfo{} } else { - yyv58 := &x.User - yyv58.CodecDecodeSelf(d) + yyv6 := &x.User + yyv6.CodecDecodeSelf(d) } case "error": if r.TryDecodeAsNil() { x.Error = "" } else { - x.Error = string(r.DecodeString()) + yyv7 := &x.Error + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*string)(yyv7)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys56) - } // end switch yys56 - } // end for yyj56 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -767,16 +815,16 @@ func (x *TokenReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj60 int - var yyb60 bool - var yyhl60 bool = l >= 0 - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + var yyj9 int + var yyb9 bool + var yyhl9 bool = l >= 0 + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb60 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb60 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -784,15 +832,21 @@ func (x *TokenReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Authenticated = false } else { - x.Authenticated = bool(r.DecodeBool()) + yyv10 := &x.Authenticated + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*bool)(yyv10)) = r.DecodeBool() + } } - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb60 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb60 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -800,16 +854,16 @@ func (x *TokenReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.User = UserInfo{} } else { - yyv62 := &x.User - yyv62.CodecDecodeSelf(d) + yyv12 := &x.User + yyv12.CodecDecodeSelf(d) } - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb60 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb60 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -817,20 +871,26 @@ func (x *TokenReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Error = "" } else { - x.Error = string(r.DecodeString()) + yyv13 := &x.Error + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } for { - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb60 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb60 { + if yyb9 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj60-1, "") + z.DecStructFieldNotFound(yyj9-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -842,38 +902,38 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym64 := z.EncBinary() - _ = yym64 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep65 := !z.EncBinary() - yy2arr65 := z.EncBasicHandle().StructToArray - var yyq65 [4]bool - _, _, _ = yysep65, yyq65, yy2arr65 - const yyr65 bool = false - yyq65[0] = x.Username != "" - yyq65[1] = x.UID != "" - yyq65[2] = len(x.Groups) != 0 - yyq65[3] = len(x.Extra) != 0 - var yynn65 int - if yyr65 || yy2arr65 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Username != "" + yyq2[1] = x.UID != "" + yyq2[2] = len(x.Groups) != 0 + yyq2[3] = len(x.Extra) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn65 = 0 - for _, b := range yyq65 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn65++ + yynn2++ } } - r.EncodeMapStart(yynn65) - yynn65 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq65[0] { - yym67 := z.EncBinary() - _ = yym67 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Username)) @@ -882,23 +942,23 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq65[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("username")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym68 := z.EncBinary() - _ = yym68 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Username)) } } } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq65[1] { - yym70 := z.EncBinary() - _ = yym70 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) @@ -907,26 +967,26 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq65[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym71 := z.EncBinary() - _ = yym71 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) } } } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq65[2] { + if yyq2[2] { if x.Groups == nil { r.EncodeNil() } else { - yym73 := z.EncBinary() - _ = yym73 + yym10 := z.EncBinary() + _ = yym10 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -936,15 +996,15 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq65[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("groups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Groups == nil { r.EncodeNil() } else { - yym74 := z.EncBinary() - _ = yym74 + yym11 := z.EncBinary() + _ = yym11 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -952,14 +1012,14 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq65[3] { + if yyq2[3] { if x.Extra == nil { r.EncodeNil() } else { - yym76 := z.EncBinary() - _ = yym76 + yym13 := z.EncBinary() + _ = yym13 if false { } else { h.encMapstringExtraValue((map[string]ExtraValue)(x.Extra), e) @@ -969,15 +1029,15 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq65[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("extra")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Extra == nil { r.EncodeNil() } else { - yym77 := z.EncBinary() - _ = yym77 + yym14 := z.EncBinary() + _ = yym14 if false { } else { h.encMapstringExtraValue((map[string]ExtraValue)(x.Extra), e) @@ -985,7 +1045,7 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -998,25 +1058,25 @@ func (x *UserInfo) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym78 := z.DecBinary() - _ = yym78 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct79 := r.ContainerType() - if yyct79 == codecSelferValueTypeMap1234 { - yyl79 := r.ReadMapStart() - if yyl79 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl79, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct79 == codecSelferValueTypeArray1234 { - yyl79 := r.ReadArrayStart() - if yyl79 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl79, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1028,12 +1088,12 @@ func (x *UserInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys80Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys80Slc - var yyhl80 bool = l >= 0 - for yyj80 := 0; ; yyj80++ { - if yyhl80 { - if yyj80 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1042,50 +1102,62 @@ func (x *UserInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys80Slc = r.DecodeBytes(yys80Slc, true, true) - yys80 := string(yys80Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys80 { + switch yys3 { case "username": if r.TryDecodeAsNil() { x.Username = "" } else { - x.Username = string(r.DecodeString()) + yyv4 := &x.Username + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "uid": if r.TryDecodeAsNil() { x.UID = "" } else { - x.UID = string(r.DecodeString()) + yyv6 := &x.UID + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "groups": if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv83 := &x.Groups - yym84 := z.DecBinary() - _ = yym84 + yyv8 := &x.Groups + yym9 := z.DecBinary() + _ = yym9 if false { } else { - z.F.DecSliceStringX(yyv83, false, d) + z.F.DecSliceStringX(yyv8, false, d) } } case "extra": if r.TryDecodeAsNil() { x.Extra = nil } else { - yyv85 := &x.Extra - yym86 := z.DecBinary() - _ = yym86 + yyv10 := &x.Extra + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decMapstringExtraValue((*map[string]ExtraValue)(yyv85), d) + h.decMapstringExtraValue((*map[string]ExtraValue)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys80) - } // end switch yys80 - } // end for yyj80 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1093,16 +1165,16 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj87 int - var yyb87 bool - var yyhl87 bool = l >= 0 - yyj87++ - if yyhl87 { - yyb87 = yyj87 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb87 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb87 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1110,15 +1182,21 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Username = "" } else { - x.Username = string(r.DecodeString()) + yyv13 := &x.Username + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj87++ - if yyhl87 { - yyb87 = yyj87 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb87 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb87 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1126,15 +1204,21 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.UID = "" } else { - x.UID = string(r.DecodeString()) + yyv15 := &x.UID + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj87++ - if yyhl87 { - yyb87 = yyj87 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb87 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb87 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1142,21 +1226,21 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv90 := &x.Groups - yym91 := z.DecBinary() - _ = yym91 + yyv17 := &x.Groups + yym18 := z.DecBinary() + _ = yym18 if false { } else { - z.F.DecSliceStringX(yyv90, false, d) + z.F.DecSliceStringX(yyv17, false, d) } } - yyj87++ - if yyhl87 { - yyb87 = yyj87 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb87 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb87 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1164,26 +1248,26 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Extra = nil } else { - yyv92 := &x.Extra - yym93 := z.DecBinary() - _ = yym93 + yyv19 := &x.Extra + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decMapstringExtraValue((*map[string]ExtraValue)(yyv92), d) + h.decMapstringExtraValue((*map[string]ExtraValue)(yyv19), d) } } for { - yyj87++ - if yyhl87 { - yyb87 = yyj87 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb87 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb87 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj87-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1195,8 +1279,8 @@ func (x ExtraValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym94 := z.EncBinary() - _ = yym94 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -1209,8 +1293,8 @@ func (x *ExtraValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym95 := z.DecBinary() - _ = yym95 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -1223,19 +1307,19 @@ func (x codecSelfer1234) encMapstringExtraValue(v map[string]ExtraValue, e *code z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk96, yyv96 := range v { + for yyk1, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym97 := z.EncBinary() - _ = yym97 + yym2 := z.EncBinary() + _ = yym2 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk96)) + r.EncodeString(codecSelferC_UTF81234, string(yyk1)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv96 == nil { + if yyv1 == nil { r.EncodeNil() } else { - yyv96.CodecEncodeSelf(e) + yyv1.CodecEncodeSelf(e) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1246,70 +1330,82 @@ func (x codecSelfer1234) decMapstringExtraValue(v *map[string]ExtraValue, d *cod z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv98 := *v - yyl98 := r.ReadMapStart() - yybh98 := z.DecBasicHandle() - if yyv98 == nil { - yyrl98, _ := z.DecInferLen(yyl98, yybh98.MaxInitLen, 40) - yyv98 = make(map[string]ExtraValue, yyrl98) - *v = yyv98 + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 40) + yyv1 = make(map[string]ExtraValue, yyrl1) + *v = yyv1 } - var yymk98 string - var yymv98 ExtraValue - var yymg98 bool - if yybh98.MapValueReset { - yymg98 = true + var yymk1 string + var yymv1 ExtraValue + var yymg1 bool + if yybh1.MapValueReset { + yymg1 = true } - if yyl98 > 0 { - for yyj98 := 0; yyj98 < yyl98; yyj98++ { + if yyl1 > 0 { + for yyj1 := 0; yyj1 < yyl1; yyj1++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk98 = "" + yymk1 = "" } else { - yymk98 = string(r.DecodeString()) + yyv2 := &yymk1 + yym3 := z.DecBinary() + _ = yym3 + if false { + } else { + *((*string)(yyv2)) = r.DecodeString() + } } - if yymg98 { - yymv98 = yyv98[yymk98] + if yymg1 { + yymv1 = yyv1[yymk1] } else { - yymv98 = nil + yymv1 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv98 = nil + yymv1 = nil } else { - yyv100 := &yymv98 - yyv100.CodecDecodeSelf(d) + yyv4 := &yymv1 + yyv4.CodecDecodeSelf(d) } - if yyv98 != nil { - yyv98[yymk98] = yymv98 + if yyv1 != nil { + yyv1[yymk1] = yymv1 } } - } else if yyl98 < 0 { - for yyj98 := 0; !r.CheckBreak(); yyj98++ { + } else if yyl1 < 0 { + for yyj1 := 0; !r.CheckBreak(); yyj1++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk98 = "" + yymk1 = "" } else { - yymk98 = string(r.DecodeString()) + yyv5 := &yymk1 + yym6 := z.DecBinary() + _ = yym6 + if false { + } else { + *((*string)(yyv5)) = r.DecodeString() + } } - if yymg98 { - yymv98 = yyv98[yymk98] + if yymg1 { + yymv1 = yyv1[yymk1] } else { - yymv98 = nil + yymv1 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv98 = nil + yymv1 = nil } else { - yyv102 := &yymv98 - yyv102.CodecDecodeSelf(d) + yyv7 := &yymv1 + yyv7.CodecDecodeSelf(d) } - if yyv98 != nil { - yyv98[yymk98] = yymv98 + if yyv1 != nil { + yyv1[yymk1] = yymv1 } } } // else len==0: TODO: Should we clear map entries? @@ -1321,13 +1417,13 @@ func (x codecSelfer1234) encExtraValue(v ExtraValue, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv103 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym104 := z.EncBinary() - _ = yym104 + yym2 := z.EncBinary() + _ = yym2 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv103)) + r.EncodeString(codecSelferC_UTF81234, string(yyv1)) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -1338,75 +1434,96 @@ func (x codecSelfer1234) decExtraValue(v *ExtraValue, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv105 := *v - yyh105, yyl105 := z.DecSliceHelperStart() - var yyc105 bool - if yyl105 == 0 { - if yyv105 == nil { - yyv105 = []string{} - yyc105 = true - } else if len(yyv105) != 0 { - yyv105 = yyv105[:0] - yyc105 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []string{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl105 > 0 { - var yyrr105, yyrl105 int - var yyrt105 bool - if yyl105 > cap(yyv105) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrl105, yyrt105 = z.DecInferLen(yyl105, z.DecBasicHandle().MaxInitLen, 16) - if yyrt105 { - if yyrl105 <= cap(yyv105) { - yyv105 = yyv105[:yyrl105] + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv105 = make([]string, yyrl105) + yyv1 = make([]string, yyrl1) } } else { - yyv105 = make([]string, yyrl105) + yyv1 = make([]string, yyrl1) } - yyc105 = true - yyrr105 = len(yyv105) - } else if yyl105 != len(yyv105) { - yyv105 = yyv105[:yyl105] - yyc105 = true + yyc1 = true + yyrr1 = len(yyv1) + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj105 := 0 - for ; yyj105 < yyrr105; yyj105++ { - yyh105.ElemContainerState(yyj105) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv105[yyj105] = "" + yyv1[yyj1] = "" } else { - yyv105[yyj105] = string(r.DecodeString()) + yyv2 := &yyv1[yyj1] + yym3 := z.DecBinary() + _ = yym3 + if false { + } else { + *((*string)(yyv2)) = r.DecodeString() + } } } - if yyrt105 { - for ; yyj105 < yyl105; yyj105++ { - yyv105 = append(yyv105, "") - yyh105.ElemContainerState(yyj105) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, "") + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv105[yyj105] = "" + yyv1[yyj1] = "" } else { - yyv105[yyj105] = string(r.DecodeString()) + yyv4 := &yyv1[yyj1] + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } } } } else { - yyj105 := 0 - for ; !r.CheckBreak(); yyj105++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj105 >= len(yyv105) { - yyv105 = append(yyv105, "") // var yyz105 string - yyc105 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, "") // var yyz1 string + yyc1 = true } - yyh105.ElemContainerState(yyj105) - if yyj105 < len(yyv105) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv105[yyj105] = "" + yyv1[yyj1] = "" } else { - yyv105[yyj105] = string(r.DecodeString()) + yyv6 := &yyv1[yyj1] + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } } else { @@ -1414,16 +1531,16 @@ func (x codecSelfer1234) decExtraValue(v *ExtraValue, d *codec1978.Decoder) { } } - if yyj105 < len(yyv105) { - yyv105 = yyv105[:yyj105] - yyc105 = true - } else if yyj105 == 0 && yyv105 == nil { - yyv105 = []string{} - yyc105 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []string{} + yyc1 = true } } - yyh105.End() - if yyc105 { - *v = yyv105 + yyh1.End() + if yyc1 { + *v = yyv1 } } diff --git a/pkg/apis/authentication/v1beta1/types.go b/pkg/apis/authentication/v1beta1/types.go index f80e34fd..8412079b 100644 --- a/pkg/apis/authentication/v1beta1/types.go +++ b/pkg/apis/authentication/v1beta1/types.go @@ -19,8 +19,8 @@ package v1beta1 import ( "fmt" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // +genclient=true diff --git a/pkg/apis/authentication/v1beta1/zz_generated.conversion.go b/pkg/apis/authentication/v1beta1/zz_generated.conversion.go index 8e5a1d20..39cee62f 100644 --- a/pkg/apis/authentication/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/authentication/v1beta1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package v1beta1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" authentication "k8s.io/client-go/pkg/apis/authentication" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" unsafe "unsafe" ) diff --git a/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go b/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go index 2d461d26..f20aea04 100644 --- a/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package v1beta1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -46,11 +46,10 @@ func DeepCopy_v1beta1_TokenReview(in interface{}, out interface{}, c *conversion { in := in.(*TokenReview) out := out.(*TokenReview) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Spec = in.Spec if err := DeepCopy_v1beta1_TokenReviewStatus(&in.Status, &out.Status, c); err != nil { return err } @@ -62,7 +61,7 @@ func DeepCopy_v1beta1_TokenReviewSpec(in interface{}, out interface{}, c *conver { in := in.(*TokenReviewSpec) out := out.(*TokenReviewSpec) - out.Token = in.Token + *out = *in return nil } } @@ -71,11 +70,10 @@ func DeepCopy_v1beta1_TokenReviewStatus(in interface{}, out interface{}, c *conv { in := in.(*TokenReviewStatus) out := out.(*TokenReviewStatus) - out.Authenticated = in.Authenticated + *out = *in if err := DeepCopy_v1beta1_UserInfo(&in.User, &out.User, c); err != nil { return err } - out.Error = in.Error return nil } } @@ -84,14 +82,11 @@ func DeepCopy_v1beta1_UserInfo(in interface{}, out interface{}, c *conversion.Cl { in := in.(*UserInfo) out := out.(*UserInfo) - out.Username = in.Username - out.UID = in.UID + *out = *in if in.Groups != nil { in, out := &in.Groups, &out.Groups *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Groups = nil } if in.Extra != nil { in, out := &in.Extra, &out.Extra @@ -103,8 +98,6 @@ func DeepCopy_v1beta1_UserInfo(in interface{}, out interface{}, c *conversion.Cl (*out)[key] = *newVal.(*ExtraValue) } } - } else { - out.Extra = nil } return nil } diff --git a/pkg/apis/authentication/v1beta1/zz_generated.defaults.go b/pkg/apis/authentication/v1beta1/zz_generated.defaults.go new file mode 100644 index 00000000..e24e70be --- /dev/null +++ b/pkg/apis/authentication/v1beta1/zz_generated.defaults.go @@ -0,0 +1,32 @@ +// +build !ignore_autogenerated + +/* +Copyright 2017 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file was autogenerated by defaulter-gen. Do not edit it manually! + +package v1beta1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// RegisterDefaults adds defaulters functions to the given scheme. +// Public to allow building arbitrary schemes. +// All generated defaulters are covering - they call all nested defaulters. +func RegisterDefaults(scheme *runtime.Scheme) error { + return nil +} diff --git a/pkg/apis/authentication/zz_generated.deepcopy.go b/pkg/apis/authentication/zz_generated.deepcopy.go index b86631ca..3b33a93a 100644 --- a/pkg/apis/authentication/zz_generated.deepcopy.go +++ b/pkg/apis/authentication/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package authentication import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -46,11 +46,10 @@ func DeepCopy_authentication_TokenReview(in interface{}, out interface{}, c *con { in := in.(*TokenReview) out := out.(*TokenReview) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Spec = in.Spec if err := DeepCopy_authentication_TokenReviewStatus(&in.Status, &out.Status, c); err != nil { return err } @@ -62,7 +61,7 @@ func DeepCopy_authentication_TokenReviewSpec(in interface{}, out interface{}, c { in := in.(*TokenReviewSpec) out := out.(*TokenReviewSpec) - out.Token = in.Token + *out = *in return nil } } @@ -71,11 +70,10 @@ func DeepCopy_authentication_TokenReviewStatus(in interface{}, out interface{}, { in := in.(*TokenReviewStatus) out := out.(*TokenReviewStatus) - out.Authenticated = in.Authenticated + *out = *in if err := DeepCopy_authentication_UserInfo(&in.User, &out.User, c); err != nil { return err } - out.Error = in.Error return nil } } @@ -84,14 +82,11 @@ func DeepCopy_authentication_UserInfo(in interface{}, out interface{}, c *conver { in := in.(*UserInfo) out := out.(*UserInfo) - out.Username = in.Username - out.UID = in.UID + *out = *in if in.Groups != nil { in, out := &in.Groups, &out.Groups *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Groups = nil } if in.Extra != nil { in, out := &in.Extra, &out.Extra @@ -103,8 +98,6 @@ func DeepCopy_authentication_UserInfo(in interface{}, out interface{}, c *conver (*out)[key] = *newVal.(*ExtraValue) } } - } else { - out.Extra = nil } return nil } diff --git a/pkg/apis/authorization/install/install.go b/pkg/apis/authorization/install/install.go index b758df57..8554cc7e 100644 --- a/pkg/apis/authorization/install/install.go +++ b/pkg/apis/authorization/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/apimachinery/announced" "k8s.io/client-go/pkg/apis/authorization" "k8s.io/client-go/pkg/apis/authorization/v1beta1" - "k8s.io/client-go/pkg/util/sets" ) func init() { diff --git a/pkg/apis/authorization/register.go b/pkg/apis/authorization/register.go index ca1a483b..4a369e9b 100644 --- a/pkg/apis/authorization/register.go +++ b/pkg/apis/authorization/register.go @@ -17,8 +17,10 @@ limitations under the License. package authorization import ( - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/client-go/pkg/api" ) // GroupName is the group name use in this package @@ -44,6 +46,11 @@ var ( func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, + &api.ListOptions{}, + &api.DeleteOptions{}, + &metav1.ExportOptions{}, + &metav1.GetOptions{}, + &SelfSubjectAccessReview{}, &SubjectAccessReview{}, &LocalSubjectAccessReview{}, diff --git a/pkg/apis/authorization/types.go b/pkg/apis/authorization/types.go index 551f9130..e9bc9c79 100644 --- a/pkg/apis/authorization/types.go +++ b/pkg/apis/authorization/types.go @@ -17,8 +17,8 @@ limitations under the License. package authorization import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // +genclient=true diff --git a/pkg/apis/authorization/v1beta1/conversion.go b/pkg/apis/authorization/v1beta1/conversion.go index 090160a5..c4013836 100644 --- a/pkg/apis/authorization/v1beta1/conversion.go +++ b/pkg/apis/authorization/v1beta1/conversion.go @@ -17,7 +17,7 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/apis/authorization/v1beta1/defaults.go b/pkg/apis/authorization/v1beta1/defaults.go index bcbcbfaf..cb49b06a 100644 --- a/pkg/apis/authorization/v1beta1/defaults.go +++ b/pkg/apis/authorization/v1beta1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/apis/authorization/v1beta1/generated.pb.go b/pkg/apis/authorization/v1beta1/generated.pb.go index 2a3be176..fff05591 100644 --- a/pkg/apis/authorization/v1beta1/generated.pb.go +++ b/pkg/apis/authorization/v1beta1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -181,6 +181,14 @@ func (m *LocalSubjectAccessReview) MarshalTo(data []byte) (int, error) { return 0, err } i += n3 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n4, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n4 return i, nil } @@ -274,27 +282,35 @@ func (m *SelfSubjectAccessReview) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n4, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n4 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n5, err := m.Spec.MarshalTo(data[i:]) + n5, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n5 - data[i] = 0x1a + data[i] = 0x12 i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n6, err := m.Status.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n6, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } i += n6 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n7, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n7 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n8, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n8 return i, nil } @@ -317,21 +333,21 @@ func (m *SelfSubjectAccessReviewSpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ResourceAttributes.Size())) - n7, err := m.ResourceAttributes.MarshalTo(data[i:]) + n9, err := m.ResourceAttributes.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n7 + i += n9 } if m.NonResourceAttributes != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.NonResourceAttributes.Size())) - n8, err := m.NonResourceAttributes.MarshalTo(data[i:]) + n10, err := m.NonResourceAttributes.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n8 + i += n10 } return i, nil } @@ -354,27 +370,35 @@ func (m *SubjectAccessReview) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n9, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n9 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n10, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n10 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n11, err := m.Status.MarshalTo(data[i:]) + n11, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n11 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n12, err := m.Spec.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n12 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n13, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n13 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n14, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n14 return i, nil } @@ -397,21 +421,21 @@ func (m *SubjectAccessReviewSpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ResourceAttributes.Size())) - n12, err := m.ResourceAttributes.MarshalTo(data[i:]) + n15, err := m.ResourceAttributes.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n12 + i += n15 } if m.NonResourceAttributes != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.NonResourceAttributes.Size())) - n13, err := m.NonResourceAttributes.MarshalTo(data[i:]) + n16, err := m.NonResourceAttributes.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n13 + i += n16 } data[i] = 0x1a i++ @@ -447,11 +471,11 @@ func (m *SubjectAccessReviewSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n14, err := (&v).MarshalTo(data[i:]) + n17, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n14 + i += n17 } } return i, nil @@ -539,6 +563,8 @@ func (m *LocalSubjectAccessReview) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -581,6 +607,8 @@ func (m *SelfSubjectAccessReview) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -607,6 +635,8 @@ func (m *SubjectAccessReview) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -673,6 +703,7 @@ func (this *LocalSubjectAccessReview) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "SubjectAccessReviewSpec", "SubjectAccessReviewSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "SubjectAccessReviewStatus", "SubjectAccessReviewStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -712,6 +743,7 @@ func (this *SelfSubjectAccessReview) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "SelfSubjectAccessReviewSpec", "SelfSubjectAccessReviewSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "SubjectAccessReviewStatus", "SubjectAccessReviewStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -735,6 +767,7 @@ func (this *SubjectAccessReview) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "SubjectAccessReviewSpec", "SubjectAccessReviewSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "SubjectAccessReviewStatus", "SubjectAccessReviewStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -981,6 +1014,36 @@ func (m *LocalSubjectAccessReview) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1482,6 +1545,36 @@ func (m *SelfSubjectAccessReview) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1738,6 +1831,36 @@ func (m *SubjectAccessReview) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -2283,60 +2406,63 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 880 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x56, 0x4f, 0x8f, 0xdb, 0x44, - 0x14, 0x8f, 0x93, 0x78, 0x37, 0x99, 0x05, 0xb6, 0x4c, 0x55, 0xd6, 0x5d, 0x24, 0x27, 0x0a, 0x12, - 0xda, 0x4a, 0xad, 0xcd, 0xae, 0x40, 0x54, 0x15, 0x07, 0xd6, 0x62, 0x55, 0x55, 0xd0, 0x82, 0x66, - 0x61, 0x85, 0xe0, 0x34, 0xf6, 0xbe, 0x26, 0x26, 0x89, 0xc7, 0x9a, 0x19, 0xbb, 0x2c, 0xa7, 0x7e, - 0x00, 0x0e, 0x1c, 0x7b, 0xe4, 0x2b, 0xf0, 0x05, 0xb8, 0xb2, 0xc7, 0x72, 0x41, 0x20, 0xa1, 0x88, - 0x35, 0xdf, 0x82, 0x13, 0xf2, 0x78, 0x12, 0x37, 0x1b, 0x67, 0x51, 0x60, 0x85, 0x7a, 0xe8, 0xcd, - 0xf3, 0xfe, 0xfc, 0xde, 0x6f, 0xde, 0xfc, 0xc6, 0x6f, 0xd0, 0xfb, 0xc3, 0xdb, 0xc2, 0x09, 0x99, - 0x3b, 0x4c, 0x7c, 0xe0, 0x11, 0x48, 0x10, 0x6e, 0x3c, 0xec, 0xbb, 0x34, 0x0e, 0x85, 0x4b, 0x13, - 0x39, 0x60, 0x3c, 0xfc, 0x86, 0xca, 0x90, 0x45, 0x6e, 0xba, 0xeb, 0x83, 0xa4, 0xbb, 0x6e, 0x1f, - 0x22, 0xe0, 0x54, 0xc2, 0xb1, 0x13, 0x73, 0x26, 0x19, 0x7e, 0xab, 0x40, 0x70, 0x4a, 0x04, 0x27, - 0x1e, 0xf6, 0x9d, 0x1c, 0xc1, 0x99, 0x43, 0x70, 0x34, 0xc2, 0xf6, 0xad, 0x7e, 0x28, 0x07, 0x89, - 0xef, 0x04, 0x6c, 0xec, 0xf6, 0x59, 0x9f, 0xb9, 0x0a, 0xc8, 0x4f, 0x1e, 0xaa, 0x95, 0x5a, 0xa8, - 0xaf, 0xa2, 0xc0, 0xf6, 0xde, 0x52, 0x8a, 0x2e, 0x07, 0xc1, 0x12, 0x1e, 0xc0, 0x79, 0x52, 0xdb, - 0x37, 0x97, 0xe7, 0xa4, 0x0b, 0x5b, 0xb8, 0xa0, 0x82, 0x70, 0xc7, 0x20, 0x69, 0x55, 0xce, 0xad, - 0xea, 0x1c, 0x9e, 0x44, 0x32, 0x1c, 0x2f, 0x12, 0x7a, 0xfb, 0xe2, 0x70, 0x11, 0x0c, 0x60, 0x4c, - 0x17, 0xb2, 0x76, 0xab, 0xb3, 0x12, 0x19, 0x8e, 0xdc, 0x30, 0x92, 0x42, 0xf2, 0xf3, 0x29, 0xbd, - 0x77, 0x11, 0x3a, 0xf8, 0x5a, 0x72, 0x7a, 0x44, 0x47, 0x09, 0xe0, 0x0e, 0x32, 0x43, 0x09, 0x63, - 0x61, 0x19, 0xdd, 0xc6, 0x4e, 0xdb, 0x6b, 0x67, 0x93, 0x8e, 0x79, 0x2f, 0x37, 0x90, 0xc2, 0x7e, - 0xa7, 0xf5, 0xe4, 0xfb, 0x4e, 0xed, 0xf1, 0xef, 0xdd, 0x5a, 0xef, 0x97, 0x3a, 0xb2, 0x3e, 0x62, - 0x01, 0x1d, 0x1d, 0x26, 0xfe, 0x57, 0x10, 0xc8, 0xfd, 0x20, 0x00, 0x21, 0x08, 0xa4, 0x21, 0x3c, - 0xc2, 0x9f, 0xa3, 0x56, 0xde, 0x88, 0x63, 0x2a, 0xa9, 0x65, 0x74, 0x8d, 0x9d, 0x8d, 0xbd, 0x1d, - 0x67, 0xe9, 0xb9, 0x3b, 0xe9, 0xae, 0xf3, 0xb1, 0xc2, 0xb8, 0x0f, 0x92, 0x7a, 0xf8, 0x74, 0xd2, - 0xa9, 0x65, 0x93, 0x0e, 0x2a, 0x6d, 0x64, 0x86, 0x86, 0x87, 0xa8, 0x29, 0x62, 0x08, 0xac, 0xba, - 0x42, 0xbd, 0xe7, 0xac, 0xaa, 0x26, 0xa7, 0x82, 0xee, 0x61, 0x0c, 0x81, 0xf7, 0x92, 0x2e, 0xdb, - 0xcc, 0x57, 0x44, 0x15, 0xc1, 0x02, 0xad, 0x09, 0x49, 0x65, 0x22, 0xac, 0x86, 0x2a, 0xf7, 0xe1, - 0xe5, 0x94, 0x53, 0x90, 0xde, 0x2b, 0xba, 0xe0, 0x5a, 0xb1, 0x26, 0xba, 0x54, 0xef, 0x4b, 0x74, - 0xed, 0x01, 0x8b, 0x88, 0x96, 0xea, 0xbe, 0x94, 0x3c, 0xf4, 0x13, 0x09, 0x02, 0x77, 0x51, 0x33, - 0xa6, 0x72, 0xa0, 0x1a, 0xda, 0x2e, 0xf9, 0x7e, 0x42, 0xe5, 0x80, 0x28, 0x4f, 0x1e, 0x91, 0x02, - 0xf7, 0x55, 0x73, 0x9e, 0x89, 0x38, 0x02, 0xee, 0x13, 0xe5, 0xe9, 0xfd, 0x58, 0x47, 0xb8, 0x02, - 0xda, 0x45, 0xed, 0x88, 0x8e, 0x41, 0xc4, 0x34, 0x00, 0x8d, 0xff, 0xaa, 0xce, 0x6e, 0x3f, 0x98, - 0x3a, 0x48, 0x19, 0xf3, 0xcf, 0x95, 0xf0, 0x1b, 0xc8, 0xec, 0x73, 0x96, 0xc4, 0xaa, 0x75, 0x6d, - 0xef, 0x65, 0x1d, 0x62, 0xde, 0xcd, 0x8d, 0xa4, 0xf0, 0xe1, 0x1b, 0x68, 0x3d, 0x05, 0x2e, 0x42, - 0x16, 0x59, 0x4d, 0x15, 0xb6, 0xa9, 0xc3, 0xd6, 0x8f, 0x0a, 0x33, 0x99, 0xfa, 0xf1, 0x4d, 0xd4, - 0x9a, 0x5e, 0x5f, 0xcb, 0x54, 0xb1, 0x57, 0x74, 0x6c, 0x6b, 0xba, 0x21, 0x32, 0x8b, 0xc0, 0xef, - 0xa0, 0x0d, 0x91, 0xf8, 0xb3, 0x84, 0x35, 0x95, 0x70, 0x55, 0x27, 0x6c, 0x1c, 0x96, 0x2e, 0xf2, - 0x6c, 0x5c, 0xbe, 0xad, 0x7c, 0x8f, 0xd6, 0xfa, 0xfc, 0xb6, 0xf2, 0x16, 0x10, 0xe5, 0xe9, 0xfd, - 0x56, 0x47, 0x5b, 0x87, 0x30, 0x7a, 0xf8, 0xff, 0xaa, 0x9e, 0xcd, 0xa9, 0xfe, 0xfe, 0xbf, 0x90, - 0x61, 0x35, 0xe5, 0xe7, 0x4b, 0xf9, 0x3f, 0xd5, 0xd1, 0xeb, 0x17, 0x10, 0xc5, 0xdf, 0x1a, 0x08, - 0xf3, 0x05, 0xf1, 0xea, 0x56, 0x7f, 0xb0, 0x3a, 0xc3, 0xc5, 0x8b, 0xe0, 0xbd, 0x96, 0x4d, 0x3a, - 0x15, 0x17, 0x84, 0x54, 0xd4, 0xc5, 0x4f, 0x0c, 0x74, 0x2d, 0xaa, 0xba, 0xa9, 0xfa, 0x98, 0xee, - 0xae, 0xce, 0xa8, 0xf2, 0xe2, 0x7b, 0xd7, 0xb3, 0x49, 0xa7, 0xfa, 0x9f, 0x40, 0xaa, 0x09, 0xf4, - 0x7e, 0xae, 0xa3, 0xab, 0x2f, 0xfe, 0xcb, 0x97, 0xab, 0xce, 0xbf, 0x9a, 0x68, 0xeb, 0x85, 0x32, - 0xff, 0xa3, 0x32, 0x67, 0x83, 0xa3, 0x31, 0xff, 0x87, 0xfd, 0x4c, 0x00, 0xd7, 0x83, 0xa3, 0x3b, - 0x1d, 0x1c, 0x4d, 0xf5, 0x06, 0x41, 0xf9, 0x51, 0xa8, 0xa1, 0x21, 0xa6, 0x53, 0xe3, 0x04, 0x99, - 0x90, 0xbf, 0x59, 0x2c, 0xb3, 0xdb, 0xd8, 0xd9, 0xd8, 0xfb, 0xf4, 0xd2, 0xc4, 0xe6, 0xa8, 0xa7, - 0xd0, 0x41, 0x24, 0xf9, 0x49, 0x39, 0xb0, 0x94, 0x8d, 0x14, 0x15, 0xb7, 0x53, 0xfd, 0x5c, 0x52, - 0x31, 0xf8, 0x0a, 0x6a, 0x0c, 0xe1, 0xa4, 0x18, 0x98, 0x24, 0xff, 0xc4, 0x04, 0x99, 0x69, 0xfe, - 0x92, 0xd2, 0x8d, 0x7e, 0x6f, 0x75, 0x6a, 0xe5, 0x6b, 0x8c, 0x14, 0x50, 0x77, 0xea, 0xb7, 0x8d, - 0xde, 0x0f, 0x06, 0xba, 0xbe, 0x54, 0xb2, 0xf9, 0x18, 0xa5, 0xa3, 0x11, 0x7b, 0x04, 0xc7, 0x8a, - 0x4b, 0xab, 0x1c, 0xa3, 0xfb, 0x85, 0x99, 0x4c, 0xfd, 0xf8, 0x4d, 0xb4, 0xc6, 0x81, 0x0a, 0x16, - 0xe9, 0xd1, 0x3d, 0x53, 0x3b, 0x51, 0x56, 0xa2, 0xbd, 0x78, 0x1f, 0x6d, 0x42, 0x5e, 0x5e, 0x91, - 0x3b, 0xe0, 0x9c, 0x71, 0x7d, 0x64, 0x5b, 0x3a, 0x61, 0xf3, 0x60, 0xde, 0x4d, 0xce, 0xc7, 0x7b, - 0x37, 0x4e, 0xcf, 0xec, 0xda, 0xd3, 0x33, 0xbb, 0xf6, 0xeb, 0x99, 0x5d, 0x7b, 0x9c, 0xd9, 0xc6, - 0x69, 0x66, 0x1b, 0x4f, 0x33, 0xdb, 0xf8, 0x23, 0xb3, 0x8d, 0xef, 0xfe, 0xb4, 0x6b, 0x5f, 0xac, - 0xeb, 0x4d, 0xff, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xb9, 0x8f, 0xa4, 0x81, 0x57, 0x0c, 0x00, 0x00, + // 927 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x56, 0x4f, 0x6f, 0x1b, 0x45, + 0x14, 0xf7, 0xc6, 0x76, 0x62, 0x4f, 0x80, 0x94, 0xa9, 0x4a, 0xb6, 0x41, 0xb2, 0x2d, 0x23, 0xa1, + 0x54, 0x2a, 0xbb, 0x24, 0xe2, 0x4f, 0x55, 0x71, 0x20, 0x2b, 0xa2, 0xaa, 0x82, 0x16, 0x34, 0x29, + 0x11, 0x02, 0x2e, 0xb3, 0x9b, 0x57, 0x7b, 0xb1, 0xbd, 0xb3, 0x9a, 0x99, 0x75, 0x31, 0xa7, 0x7e, + 0x00, 0x0e, 0x1c, 0x7b, 0xe4, 0x1b, 0x20, 0x24, 0x24, 0x6e, 0x5c, 0xc9, 0xb1, 0x47, 0x0e, 0xc8, + 0x22, 0xcb, 0xb7, 0xe0, 0x84, 0x66, 0x76, 0xd6, 0x1b, 0xd7, 0x6b, 0x2a, 0x43, 0x85, 0x84, 0xc8, + 0x6d, 0xe7, 0xfd, 0xf9, 0xfd, 0xde, 0xbc, 0x79, 0x6f, 0xdf, 0x43, 0xef, 0x0e, 0x6e, 0x08, 0x27, + 0x64, 0xee, 0x20, 0xf1, 0x81, 0x47, 0x20, 0x41, 0xb8, 0xf1, 0xa0, 0xe7, 0xd2, 0x38, 0x14, 0x2e, + 0x4d, 0x64, 0x9f, 0xf1, 0xf0, 0x2b, 0x2a, 0x43, 0x16, 0xb9, 0xe3, 0x3d, 0x1f, 0x24, 0xdd, 0x73, + 0x7b, 0x10, 0x01, 0xa7, 0x12, 0x4e, 0x9c, 0x98, 0x33, 0xc9, 0xf0, 0xeb, 0x19, 0x82, 0x53, 0x20, + 0x38, 0xf1, 0xa0, 0xe7, 0x28, 0x04, 0x67, 0x0e, 0xc1, 0x31, 0x08, 0x3b, 0xaf, 0xf5, 0x42, 0xd9, + 0x4f, 0x7c, 0x27, 0x60, 0x23, 0xb7, 0xc7, 0x7a, 0xcc, 0xd5, 0x40, 0x7e, 0x72, 0x5f, 0x9f, 0xf4, + 0x41, 0x7f, 0x65, 0x04, 0x3b, 0x6f, 0x98, 0x10, 0x69, 0x1c, 0x8e, 0x68, 0xd0, 0x0f, 0x23, 0xe0, + 0x93, 0x22, 0xc8, 0x11, 0x48, 0xea, 0x8e, 0x17, 0xc2, 0xda, 0x71, 0x97, 0x79, 0xf1, 0x24, 0x92, + 0xe1, 0x08, 0x16, 0x1c, 0xde, 0x7a, 0x9a, 0x83, 0x08, 0xfa, 0x30, 0xa2, 0x0b, 0x7e, 0xfb, 0x4b, + 0x33, 0xe8, 0x72, 0x10, 0x2c, 0xe1, 0xc1, 0x22, 0xd7, 0xf5, 0xe5, 0x3e, 0x25, 0x57, 0xd9, 0x2b, + 0xb7, 0x4e, 0x64, 0x38, 0x74, 0xc3, 0x48, 0x0a, 0xc9, 0x9f, 0x74, 0xe9, 0xbe, 0x8d, 0xd0, 0xe1, + 0x97, 0x92, 0xd3, 0x63, 0x3a, 0x4c, 0x00, 0xb7, 0x51, 0x3d, 0x94, 0x30, 0x12, 0xb6, 0xd5, 0xa9, + 0xee, 0x36, 0xbd, 0x66, 0x3a, 0x6d, 0xd7, 0x6f, 0x2b, 0x01, 0xc9, 0xe4, 0x37, 0x1b, 0x8f, 0xbe, + 0x6d, 0x57, 0x1e, 0xfe, 0xda, 0xa9, 0x74, 0x7f, 0xa8, 0x22, 0xfb, 0x03, 0x16, 0xd0, 0xe1, 0x51, + 0xe2, 0x7f, 0x01, 0x81, 0x3c, 0x08, 0x02, 0x10, 0x82, 0xc0, 0x38, 0x84, 0x07, 0xf8, 0x13, 0xd4, + 0x50, 0xe9, 0x3e, 0xa1, 0x92, 0xda, 0x56, 0xc7, 0xda, 0xdd, 0xdc, 0xdf, 0x75, 0x96, 0xbe, 0xbe, + 0x33, 0xde, 0x73, 0x3e, 0xd4, 0x18, 0x77, 0x40, 0x52, 0x0f, 0x9f, 0x4e, 0xdb, 0x95, 0x74, 0xda, + 0x46, 0x85, 0x8c, 0xcc, 0xd0, 0xf0, 0x00, 0xd5, 0x44, 0x0c, 0x81, 0xbd, 0xa6, 0x51, 0x6f, 0x3b, + 0xab, 0xd6, 0x94, 0x53, 0x12, 0xee, 0x51, 0x0c, 0x81, 0xf7, 0x9c, 0xa1, 0xad, 0xa9, 0x13, 0xd1, + 0x24, 0x58, 0xa0, 0x75, 0x21, 0xa9, 0x4c, 0x84, 0x5d, 0xd5, 0x74, 0xef, 0x3f, 0x1b, 0x3a, 0x0d, + 0xe9, 0xbd, 0x60, 0x08, 0xd7, 0xb3, 0x33, 0x31, 0x54, 0xf8, 0x73, 0xd4, 0x90, 0x93, 0x18, 0xd4, + 0xbd, 0xed, 0x9a, 0xa6, 0x75, 0x72, 0xda, 0xf3, 0x15, 0x57, 0x10, 0xab, 0xdc, 0xa8, 0x1c, 0xde, + 0x33, 0x5e, 0xde, 0x25, 0x83, 0xdc, 0xc8, 0x25, 0x64, 0x86, 0xd8, 0xfd, 0x0c, 0x5d, 0xb9, 0xcb, + 0x22, 0x62, 0xea, 0xed, 0x40, 0x4a, 0x1e, 0xfa, 0x89, 0x04, 0x81, 0x3b, 0xa8, 0x16, 0x53, 0xd9, + 0xd7, 0xcf, 0xd5, 0x2c, 0xb2, 0xf1, 0x11, 0x95, 0x7d, 0xa2, 0x35, 0xca, 0x62, 0x0c, 0xdc, 0xd7, + 0xa9, 0x3f, 0x67, 0x71, 0x0c, 0xdc, 0x27, 0x5a, 0xd3, 0xfd, 0x69, 0x0d, 0xe1, 0x12, 0x68, 0x17, + 0x35, 0x23, 0x3a, 0x02, 0x11, 0xd3, 0x00, 0x0c, 0xfe, 0x8b, 0xc6, 0xbb, 0x79, 0x37, 0x57, 0x90, + 0xc2, 0xe6, 0xe9, 0x4c, 0xf8, 0x15, 0x54, 0xef, 0x71, 0x96, 0xc4, 0xfa, 0x61, 0x9a, 0xde, 0xf3, + 0xc6, 0xa4, 0x7e, 0x4b, 0x09, 0x49, 0xa6, 0xc3, 0xd7, 0xd0, 0xc6, 0x18, 0xb8, 0x08, 0x59, 0xa4, + 0x13, 0xd9, 0xf4, 0xb6, 0x8c, 0xd9, 0xc6, 0x71, 0x26, 0x26, 0xb9, 0x1e, 0x5f, 0x47, 0x8d, 0xbc, + 0x07, 0xed, 0xba, 0xb6, 0x9d, 0x25, 0x31, 0xbf, 0x10, 0x99, 0x59, 0xe0, 0x37, 0xd1, 0xa6, 0x48, + 0xfc, 0x99, 0xc3, 0xba, 0x76, 0xb8, 0x6c, 0x1c, 0x36, 0x8f, 0x0a, 0x15, 0x39, 0x6f, 0xa7, 0xae, + 0xa5, 0xee, 0x68, 0x6f, 0xcc, 0x5f, 0x4b, 0xa5, 0x80, 0x68, 0x4d, 0xf7, 0xc7, 0x2a, 0xda, 0x3e, + 0x82, 0xe1, 0xfd, 0x7f, 0xb7, 0xa7, 0xd8, 0x5c, 0x4f, 0xdd, 0xf9, 0x1b, 0x45, 0x5e, 0x1e, 0xf2, + 0xff, 0xa9, 0xaf, 0x7e, 0x5e, 0x43, 0x2f, 0xff, 0x45, 0x1a, 0xf0, 0xd7, 0x16, 0xc2, 0x7c, 0xa1, + 0x35, 0xcc, 0x43, 0xbe, 0xb7, 0xfa, 0xfd, 0x17, 0xdb, 0xcc, 0x7b, 0x29, 0x9d, 0xb6, 0x4b, 0xda, + 0x8f, 0x94, 0xf0, 0xe2, 0x47, 0x16, 0xba, 0x12, 0x95, 0xfd, 0x07, 0x4c, 0x11, 0xdc, 0x5a, 0x3d, + 0xa2, 0xd2, 0xdf, 0x8a, 0x77, 0x35, 0x9d, 0xb6, 0xcb, 0xff, 0x38, 0xa4, 0x3c, 0x80, 0xee, 0x77, + 0x55, 0x74, 0xf9, 0x62, 0xa6, 0xfc, 0x97, 0x6a, 0xff, 0x8f, 0x1a, 0xda, 0xbe, 0xa8, 0xfb, 0x7f, + 0x58, 0xf7, 0xb3, 0xa1, 0x57, 0x9d, 0x9f, 0x0e, 0x1f, 0x0b, 0xe0, 0x66, 0xe8, 0x75, 0xf2, 0xa1, + 0x57, 0xd3, 0xdb, 0x19, 0x52, 0x0f, 0xad, 0x07, 0x9e, 0xc8, 0x27, 0xde, 0x04, 0xd5, 0x41, 0x6d, + 0x73, 0x76, 0xbd, 0x53, 0xdd, 0xdd, 0xdc, 0xbf, 0xf7, 0xcc, 0x4a, 0xd9, 0xd1, 0x4b, 0xe2, 0x61, + 0x24, 0xf9, 0xa4, 0x18, 0xb6, 0x5a, 0x46, 0x32, 0xc6, 0x9d, 0xb1, 0x59, 0x24, 0xb5, 0x0d, 0xbe, + 0x84, 0xaa, 0x03, 0x98, 0x64, 0xc3, 0x9e, 0xa8, 0x4f, 0x4c, 0x50, 0x7d, 0xac, 0x76, 0x4c, 0x93, + 0xe8, 0x77, 0x56, 0x0f, 0xad, 0xd8, 0x53, 0x49, 0x06, 0x75, 0x73, 0xed, 0x86, 0xd5, 0xfd, 0xde, + 0x42, 0x57, 0x97, 0x36, 0x84, 0x5a, 0x01, 0xe8, 0x70, 0xc8, 0x1e, 0xc0, 0x89, 0x8e, 0xa5, 0x51, + 0xac, 0x00, 0x07, 0x99, 0x98, 0xe4, 0x7a, 0xfc, 0x2a, 0x5a, 0xe7, 0x40, 0x05, 0x8b, 0xcc, 0xda, + 0x31, 0xeb, 0x25, 0xa2, 0xa5, 0xc4, 0x68, 0xf1, 0x01, 0xda, 0x02, 0x45, 0xaf, 0x83, 0x3b, 0xe4, + 0x9c, 0x71, 0xf3, 0x64, 0xdb, 0xc6, 0x61, 0xeb, 0x70, 0x5e, 0x4d, 0x9e, 0xb4, 0xf7, 0xae, 0x9d, + 0x9e, 0xb5, 0x2a, 0x8f, 0xcf, 0x5a, 0x95, 0x5f, 0xce, 0x5a, 0x95, 0x87, 0x69, 0xcb, 0x3a, 0x4d, + 0x5b, 0xd6, 0xe3, 0xb4, 0x65, 0xfd, 0x96, 0xb6, 0xac, 0x6f, 0x7e, 0x6f, 0x55, 0x3e, 0xdd, 0x30, + 0x97, 0xfe, 0x33, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x7d, 0x0c, 0xb9, 0x77, 0x0d, 0x00, 0x00, } diff --git a/pkg/apis/authorization/v1beta1/generated.proto b/pkg/apis/authorization/v1beta1/generated.proto index 8552ead2..e35bd882 100644 --- a/pkg/apis/authorization/v1beta1/generated.proto +++ b/pkg/apis/authorization/v1beta1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.authorization.v1beta1; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". @@ -44,6 +44,8 @@ message ExtraValue { // Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions // checking. message LocalSubjectAccessReview { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -105,6 +107,8 @@ message ResourceAttributes { // spec.namespace means "in all namespaces". Self is a special case, because users should always be able // to check whether they can perform an action message SelfSubjectAccessReview { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -130,6 +134,8 @@ message SelfSubjectAccessReviewSpec { // SubjectAccessReview checks whether or not a user or group can perform an action. message SubjectAccessReview { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; diff --git a/pkg/apis/authorization/v1beta1/register.go b/pkg/apis/authorization/v1beta1/register.go index a1a41905..5e60571d 100644 --- a/pkg/apis/authorization/v1beta1/register.go +++ b/pkg/apis/authorization/v1beta1/register.go @@ -17,11 +17,10 @@ limitations under the License. package v1beta1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package @@ -53,7 +52,7 @@ func addKnownTypes(scheme *runtime.Scheme) error { &LocalSubjectAccessReview{}, ) - versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/apis/authorization/v1beta1/types.generated.go b/pkg/apis/authorization/v1beta1/types.generated.go index 1ab35061..27d6fcf4 100644 --- a/pkg/apis/authorization/v1beta1/types.generated.go +++ b/pkg/apis/authorization/v1beta1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" + pkg1_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + pkg3_types "k8s.io/apimachinery/pkg/types" pkg2_v1 "k8s.io/client-go/pkg/api/v1" - pkg1_v1 "k8s.io/client-go/pkg/apis/meta/v1" - pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" @@ -63,9 +63,9 @@ func init() { panic(err) } if false { // reference the types, but skip this branch at build/run time - var v0 pkg2_v1.ObjectMeta - var v1 pkg1_v1.TypeMeta - var v2 pkg3_types.UID + var v0 pkg1_v1.TypeMeta + var v1 pkg3_types.UID + var v2 pkg2_v1.ObjectMeta var v3 time.Time _, _, _, _ = v0, v1, v2, v3 } @@ -168,26 +168,26 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.ObjectMeta - yy11.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy13 := &x.Spec - yy13.CodecEncodeSelf(e) + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.Spec - yy14.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[4] { - yy16 := &x.Status - yy16.CodecEncodeSelf(e) + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -196,8 +196,8 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.Status - yy17.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { @@ -213,25 +213,25 @@ func (x *SubjectAccessReview) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym18 := z.DecBinary() - _ = yym18 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct19 := r.ContainerType() - if yyct19 == codecSelferValueTypeMap1234 { - yyl19 := r.ReadMapStart() - if yyl19 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl19, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct19 == codecSelferValueTypeArray1234 { - yyl19 := r.ReadArrayStart() - if yyl19 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl19, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -243,12 +243,12 @@ func (x *SubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys20Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys20Slc - var yyhl20 bool = l >= 0 - for yyj20 := 0; ; yyj20++ { - if yyhl20 { - if yyj20 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -257,47 +257,59 @@ func (x *SubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys20Slc = r.DecodeBytes(yys20Slc, true, true) - yys20 := string(yys20Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys20 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv23 := &x.ObjectMeta - yyv23.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = SubjectAccessReviewSpec{} } else { - yyv24 := &x.Spec - yyv24.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = SubjectAccessReviewStatus{} } else { - yyv25 := &x.Status - yyv25.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys20) - } // end switch yys20 - } // end for yyj20 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -305,16 +317,16 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj26 int - var yyb26 bool - var yyhl26 bool = l >= 0 - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -322,15 +334,21 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -338,15 +356,21 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -354,16 +378,16 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv29 := &x.ObjectMeta - yyv29.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -371,16 +395,16 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Spec = SubjectAccessReviewSpec{} } else { - yyv30 := &x.Spec - yyv30.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -388,21 +412,21 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Status = SubjectAccessReviewStatus{} } else { - yyv31 := &x.Status - yyv31.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj26-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -414,38 +438,38 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym32 := z.EncBinary() - _ = yym32 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep33 := !z.EncBinary() - yy2arr33 := z.EncBasicHandle().StructToArray - var yyq33 [5]bool - _, _, _ = yysep33, yyq33, yy2arr33 - const yyr33 bool = false - yyq33[0] = x.Kind != "" - yyq33[1] = x.APIVersion != "" - yyq33[2] = true - yyq33[4] = true - var yynn33 int - if yyr33 || yy2arr33 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn33 = 1 - for _, b := range yyq33 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn33++ + yynn2++ } } - r.EncodeMapStart(yynn33) - yynn33 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[0] { - yym35 := z.EncBinary() - _ = yym35 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -454,23 +478,23 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq33[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym36 := z.EncBinary() - _ = yym36 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[1] { - yym38 := z.EncBinary() - _ = yym38 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -479,64 +503,64 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq33[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym39 := z.EncBinary() - _ = yym39 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[2] { - yy41 := &x.ObjectMeta - yy41.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq33[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy42 := &x.ObjectMeta - yy42.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy44 := &x.Spec - yy44.CodecEncodeSelf(e) + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy45 := &x.Spec - yy45.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[4] { - yy47 := &x.Status - yy47.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq33[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy48 := &x.Status - yy48.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -549,25 +573,25 @@ func (x *SelfSubjectAccessReview) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym49 := z.DecBinary() - _ = yym49 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct50 := r.ContainerType() - if yyct50 == codecSelferValueTypeMap1234 { - yyl50 := r.ReadMapStart() - if yyl50 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl50, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct50 == codecSelferValueTypeArray1234 { - yyl50 := r.ReadArrayStart() - if yyl50 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl50, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -579,12 +603,12 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys51Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys51Slc - var yyhl51 bool = l >= 0 - for yyj51 := 0; ; yyj51++ { - if yyhl51 { - if yyj51 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -593,47 +617,59 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys51Slc = r.DecodeBytes(yys51Slc, true, true) - yys51 := string(yys51Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys51 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv54 := &x.ObjectMeta - yyv54.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = SelfSubjectAccessReviewSpec{} } else { - yyv55 := &x.Spec - yyv55.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = SubjectAccessReviewStatus{} } else { - yyv56 := &x.Status - yyv56.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys51) - } // end switch yys51 - } // end for yyj51 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -641,16 +677,16 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj57 int - var yyb57 bool - var yyhl57 bool = l >= 0 - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb57 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb57 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -658,15 +694,21 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb57 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb57 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -674,15 +716,21 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb57 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb57 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -690,16 +738,16 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv60 := &x.ObjectMeta - yyv60.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb57 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb57 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -707,16 +755,16 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Spec = SelfSubjectAccessReviewSpec{} } else { - yyv61 := &x.Spec - yyv61.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb57 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb57 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -724,21 +772,21 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Status = SubjectAccessReviewStatus{} } else { - yyv62 := &x.Status - yyv62.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb57 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb57 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj57-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -750,38 +798,38 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym63 := z.EncBinary() - _ = yym63 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep64 := !z.EncBinary() - yy2arr64 := z.EncBasicHandle().StructToArray - var yyq64 [5]bool - _, _, _ = yysep64, yyq64, yy2arr64 - const yyr64 bool = false - yyq64[0] = x.Kind != "" - yyq64[1] = x.APIVersion != "" - yyq64[2] = true - yyq64[4] = true - var yynn64 int - if yyr64 || yy2arr64 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn64 = 1 - for _, b := range yyq64 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn64++ + yynn2++ } } - r.EncodeMapStart(yynn64) - yynn64 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr64 || yy2arr64 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq64[0] { - yym66 := z.EncBinary() - _ = yym66 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -790,23 +838,23 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq64[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym67 := z.EncBinary() - _ = yym67 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr64 || yy2arr64 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq64[1] { - yym69 := z.EncBinary() - _ = yym69 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -815,64 +863,64 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq64[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym70 := z.EncBinary() - _ = yym70 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr64 || yy2arr64 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq64[2] { - yy72 := &x.ObjectMeta - yy72.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq64[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy73 := &x.ObjectMeta - yy73.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr64 || yy2arr64 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy75 := &x.Spec - yy75.CodecEncodeSelf(e) + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy76 := &x.Spec - yy76.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } - if yyr64 || yy2arr64 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq64[4] { - yy78 := &x.Status - yy78.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq64[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy79 := &x.Status - yy79.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr64 || yy2arr64 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -885,25 +933,25 @@ func (x *LocalSubjectAccessReview) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym80 := z.DecBinary() - _ = yym80 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct81 := r.ContainerType() - if yyct81 == codecSelferValueTypeMap1234 { - yyl81 := r.ReadMapStart() - if yyl81 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl81, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct81 == codecSelferValueTypeArray1234 { - yyl81 := r.ReadArrayStart() - if yyl81 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl81, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -915,12 +963,12 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys82Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys82Slc - var yyhl82 bool = l >= 0 - for yyj82 := 0; ; yyj82++ { - if yyhl82 { - if yyj82 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -929,47 +977,59 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys82Slc = r.DecodeBytes(yys82Slc, true, true) - yys82 := string(yys82Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys82 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv85 := &x.ObjectMeta - yyv85.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = SubjectAccessReviewSpec{} } else { - yyv86 := &x.Spec - yyv86.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = SubjectAccessReviewStatus{} } else { - yyv87 := &x.Status - yyv87.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys82) - } // end switch yys82 - } // end for yyj82 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -977,16 +1037,16 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj88 int - var yyb88 bool - var yyhl88 bool = l >= 0 - yyj88++ - if yyhl88 { - yyb88 = yyj88 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb88 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb88 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -994,15 +1054,21 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj88++ - if yyhl88 { - yyb88 = yyj88 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb88 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb88 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1010,15 +1076,21 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj88++ - if yyhl88 { - yyb88 = yyj88 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb88 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb88 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1026,16 +1098,16 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv91 := &x.ObjectMeta - yyv91.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj88++ - if yyhl88 { - yyb88 = yyj88 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb88 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb88 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1043,16 +1115,16 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Spec = SubjectAccessReviewSpec{} } else { - yyv92 := &x.Spec - yyv92.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj88++ - if yyhl88 { - yyb88 = yyj88 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb88 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb88 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1060,21 +1132,21 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Status = SubjectAccessReviewStatus{} } else { - yyv93 := &x.Status - yyv93.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj88++ - if yyhl88 { - yyb88 = yyj88 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb88 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb88 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj88-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1086,41 +1158,41 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym94 := z.EncBinary() - _ = yym94 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep95 := !z.EncBinary() - yy2arr95 := z.EncBasicHandle().StructToArray - var yyq95 [7]bool - _, _, _ = yysep95, yyq95, yy2arr95 - const yyr95 bool = false - yyq95[0] = x.Namespace != "" - yyq95[1] = x.Verb != "" - yyq95[2] = x.Group != "" - yyq95[3] = x.Version != "" - yyq95[4] = x.Resource != "" - yyq95[5] = x.Subresource != "" - yyq95[6] = x.Name != "" - var yynn95 int - if yyr95 || yy2arr95 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [7]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Namespace != "" + yyq2[1] = x.Verb != "" + yyq2[2] = x.Group != "" + yyq2[3] = x.Version != "" + yyq2[4] = x.Resource != "" + yyq2[5] = x.Subresource != "" + yyq2[6] = x.Name != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(7) } else { - yynn95 = 0 - for _, b := range yyq95 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn95++ + yynn2++ } } - r.EncodeMapStart(yynn95) - yynn95 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr95 || yy2arr95 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq95[0] { - yym97 := z.EncBinary() - _ = yym97 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -1129,23 +1201,23 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq95[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym98 := z.EncBinary() - _ = yym98 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr95 || yy2arr95 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq95[1] { - yym100 := z.EncBinary() - _ = yym100 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Verb)) @@ -1154,23 +1226,23 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq95[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("verb")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym101 := z.EncBinary() - _ = yym101 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Verb)) } } } - if yyr95 || yy2arr95 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq95[2] { - yym103 := z.EncBinary() - _ = yym103 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Group)) @@ -1179,23 +1251,23 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq95[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("group")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym104 := z.EncBinary() - _ = yym104 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Group)) } } } - if yyr95 || yy2arr95 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq95[3] { - yym106 := z.EncBinary() - _ = yym106 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Version)) @@ -1204,23 +1276,23 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq95[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("version")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym107 := z.EncBinary() - _ = yym107 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Version)) } } } - if yyr95 || yy2arr95 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq95[4] { - yym109 := z.EncBinary() - _ = yym109 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) @@ -1229,23 +1301,23 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq95[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym110 := z.EncBinary() - _ = yym110 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) } } } - if yyr95 || yy2arr95 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq95[5] { - yym112 := z.EncBinary() - _ = yym112 + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subresource)) @@ -1254,23 +1326,23 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq95[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subresource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym113 := z.EncBinary() - _ = yym113 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subresource)) } } } - if yyr95 || yy2arr95 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq95[6] { - yym115 := z.EncBinary() - _ = yym115 + if yyq2[6] { + yym22 := z.EncBinary() + _ = yym22 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -1279,19 +1351,19 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq95[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym116 := z.EncBinary() - _ = yym116 + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr95 || yy2arr95 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1304,25 +1376,25 @@ func (x *ResourceAttributes) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym117 := z.DecBinary() - _ = yym117 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct118 := r.ContainerType() - if yyct118 == codecSelferValueTypeMap1234 { - yyl118 := r.ReadMapStart() - if yyl118 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl118, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct118 == codecSelferValueTypeArray1234 { - yyl118 := r.ReadArrayStart() - if yyl118 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl118, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1334,12 +1406,12 @@ func (x *ResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys119Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys119Slc - var yyhl119 bool = l >= 0 - for yyj119 := 0; ; yyj119++ { - if yyhl119 { - if yyj119 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1348,56 +1420,98 @@ func (x *ResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys119Slc = r.DecodeBytes(yys119Slc, true, true) - yys119 := string(yys119Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys119 { + switch yys3 { case "namespace": if r.TryDecodeAsNil() { x.Namespace = "" } else { - x.Namespace = string(r.DecodeString()) + yyv4 := &x.Namespace + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "verb": if r.TryDecodeAsNil() { x.Verb = "" } else { - x.Verb = string(r.DecodeString()) + yyv6 := &x.Verb + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "group": if r.TryDecodeAsNil() { x.Group = "" } else { - x.Group = string(r.DecodeString()) + yyv8 := &x.Group + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "version": if r.TryDecodeAsNil() { x.Version = "" } else { - x.Version = string(r.DecodeString()) + yyv10 := &x.Version + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "resource": if r.TryDecodeAsNil() { x.Resource = "" } else { - x.Resource = string(r.DecodeString()) + yyv12 := &x.Resource + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } case "subresource": if r.TryDecodeAsNil() { x.Subresource = "" } else { - x.Subresource = string(r.DecodeString()) + yyv14 := &x.Subresource + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv16 := &x.Name + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys119) - } // end switch yys119 - } // end for yyj119 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1405,16 +1519,16 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj127 int - var yyb127 bool - var yyhl127 bool = l >= 0 - yyj127++ - if yyhl127 { - yyb127 = yyj127 > l + var yyj18 int + var yyb18 bool + var yyhl18 bool = l >= 0 + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb127 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb127 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1422,15 +1536,21 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Namespace = "" } else { - x.Namespace = string(r.DecodeString()) + yyv19 := &x.Namespace + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } - yyj127++ - if yyhl127 { - yyb127 = yyj127 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb127 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb127 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1438,15 +1558,21 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Verb = "" } else { - x.Verb = string(r.DecodeString()) + yyv21 := &x.Verb + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } - yyj127++ - if yyhl127 { - yyb127 = yyj127 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb127 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb127 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1454,15 +1580,21 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Group = "" } else { - x.Group = string(r.DecodeString()) + yyv23 := &x.Group + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*string)(yyv23)) = r.DecodeString() + } } - yyj127++ - if yyhl127 { - yyb127 = yyj127 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb127 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb127 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1470,15 +1602,21 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Version = "" } else { - x.Version = string(r.DecodeString()) + yyv25 := &x.Version + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*string)(yyv25)) = r.DecodeString() + } } - yyj127++ - if yyhl127 { - yyb127 = yyj127 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb127 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb127 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1486,15 +1624,21 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Resource = "" } else { - x.Resource = string(r.DecodeString()) + yyv27 := &x.Resource + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*string)(yyv27)) = r.DecodeString() + } } - yyj127++ - if yyhl127 { - yyb127 = yyj127 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb127 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb127 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1502,15 +1646,21 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Subresource = "" } else { - x.Subresource = string(r.DecodeString()) + yyv29 := &x.Subresource + yym30 := z.DecBinary() + _ = yym30 + if false { + } else { + *((*string)(yyv29)) = r.DecodeString() + } } - yyj127++ - if yyhl127 { - yyb127 = yyj127 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb127 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb127 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1518,20 +1668,26 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv31 := &x.Name + yym32 := z.DecBinary() + _ = yym32 + if false { + } else { + *((*string)(yyv31)) = r.DecodeString() + } } for { - yyj127++ - if yyhl127 { - yyb127 = yyj127 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb127 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb127 { + if yyb18 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj127-1, "") + z.DecStructFieldNotFound(yyj18-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1543,36 +1699,36 @@ func (x *NonResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym135 := z.EncBinary() - _ = yym135 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep136 := !z.EncBinary() - yy2arr136 := z.EncBasicHandle().StructToArray - var yyq136 [2]bool - _, _, _ = yysep136, yyq136, yy2arr136 - const yyr136 bool = false - yyq136[0] = x.Path != "" - yyq136[1] = x.Verb != "" - var yynn136 int - if yyr136 || yy2arr136 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Path != "" + yyq2[1] = x.Verb != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn136 = 0 - for _, b := range yyq136 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn136++ + yynn2++ } } - r.EncodeMapStart(yynn136) - yynn136 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr136 || yy2arr136 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq136[0] { - yym138 := z.EncBinary() - _ = yym138 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -1581,23 +1737,23 @@ func (x *NonResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq136[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym139 := z.EncBinary() - _ = yym139 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr136 || yy2arr136 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq136[1] { - yym141 := z.EncBinary() - _ = yym141 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Verb)) @@ -1606,19 +1762,19 @@ func (x *NonResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq136[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("verb")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym142 := z.EncBinary() - _ = yym142 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Verb)) } } } - if yyr136 || yy2arr136 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1631,25 +1787,25 @@ func (x *NonResourceAttributes) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym143 := z.DecBinary() - _ = yym143 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct144 := r.ContainerType() - if yyct144 == codecSelferValueTypeMap1234 { - yyl144 := r.ReadMapStart() - if yyl144 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl144, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct144 == codecSelferValueTypeArray1234 { - yyl144 := r.ReadArrayStart() - if yyl144 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl144, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1661,12 +1817,12 @@ func (x *NonResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys145Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys145Slc - var yyhl145 bool = l >= 0 - for yyj145 := 0; ; yyj145++ { - if yyhl145 { - if yyj145 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1675,26 +1831,38 @@ func (x *NonResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys145Slc = r.DecodeBytes(yys145Slc, true, true) - yys145 := string(yys145Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys145 { + switch yys3 { case "path": if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv4 := &x.Path + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "verb": if r.TryDecodeAsNil() { x.Verb = "" } else { - x.Verb = string(r.DecodeString()) + yyv6 := &x.Verb + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys145) - } // end switch yys145 - } // end for yyj145 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1702,16 +1870,16 @@ func (x *NonResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj148 int - var yyb148 bool - var yyhl148 bool = l >= 0 - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb148 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb148 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1719,15 +1887,21 @@ func (x *NonResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv9 := &x.Path + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb148 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb148 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1735,20 +1909,26 @@ func (x *NonResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Verb = "" } else { - x.Verb = string(r.DecodeString()) + yyv11 := &x.Verb + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb148 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb148 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj148-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1760,37 +1940,37 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym151 := z.EncBinary() - _ = yym151 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep152 := !z.EncBinary() - yy2arr152 := z.EncBasicHandle().StructToArray - var yyq152 [5]bool - _, _, _ = yysep152, yyq152, yy2arr152 - const yyr152 bool = false - yyq152[0] = x.ResourceAttributes != nil - yyq152[1] = x.NonResourceAttributes != nil - yyq152[2] = x.User != "" - yyq152[3] = len(x.Groups) != 0 - yyq152[4] = len(x.Extra) != 0 - var yynn152 int - if yyr152 || yy2arr152 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.ResourceAttributes != nil + yyq2[1] = x.NonResourceAttributes != nil + yyq2[2] = x.User != "" + yyq2[3] = len(x.Groups) != 0 + yyq2[4] = len(x.Extra) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn152 = 0 - for _, b := range yyq152 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn152++ + yynn2++ } } - r.EncodeMapStart(yynn152) - yynn152 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr152 || yy2arr152 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq152[0] { + if yyq2[0] { if x.ResourceAttributes == nil { r.EncodeNil() } else { @@ -1800,7 +1980,7 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq152[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceAttributes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -1811,9 +1991,9 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr152 || yy2arr152 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq152[1] { + if yyq2[1] { if x.NonResourceAttributes == nil { r.EncodeNil() } else { @@ -1823,7 +2003,7 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq152[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nonResourceAttributes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -1834,11 +2014,11 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr152 || yy2arr152 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq152[2] { - yym156 := z.EncBinary() - _ = yym156 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -1847,26 +2027,26 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq152[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym157 := z.EncBinary() - _ = yym157 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr152 || yy2arr152 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq152[3] { + if yyq2[3] { if x.Groups == nil { r.EncodeNil() } else { - yym159 := z.EncBinary() - _ = yym159 + yym13 := z.EncBinary() + _ = yym13 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -1876,15 +2056,15 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq152[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("group")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Groups == nil { r.EncodeNil() } else { - yym160 := z.EncBinary() - _ = yym160 + yym14 := z.EncBinary() + _ = yym14 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -1892,14 +2072,14 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr152 || yy2arr152 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq152[4] { + if yyq2[4] { if x.Extra == nil { r.EncodeNil() } else { - yym162 := z.EncBinary() - _ = yym162 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encMapstringExtraValue((map[string]ExtraValue)(x.Extra), e) @@ -1909,15 +2089,15 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq152[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("extra")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Extra == nil { r.EncodeNil() } else { - yym163 := z.EncBinary() - _ = yym163 + yym17 := z.EncBinary() + _ = yym17 if false { } else { h.encMapstringExtraValue((map[string]ExtraValue)(x.Extra), e) @@ -1925,7 +2105,7 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr152 || yy2arr152 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1938,25 +2118,25 @@ func (x *SubjectAccessReviewSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym164 := z.DecBinary() - _ = yym164 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct165 := r.ContainerType() - if yyct165 == codecSelferValueTypeMap1234 { - yyl165 := r.ReadMapStart() - if yyl165 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl165, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct165 == codecSelferValueTypeArray1234 { - yyl165 := r.ReadArrayStart() - if yyl165 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl165, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1968,12 +2148,12 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys166Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys166Slc - var yyhl166 bool = l >= 0 - for yyj166 := 0; ; yyj166++ { - if yyhl166 { - if yyj166 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1982,10 +2162,10 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys166Slc = r.DecodeBytes(yys166Slc, true, true) - yys166 := string(yys166Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys166 { + switch yys3 { case "resourceAttributes": if r.TryDecodeAsNil() { if x.ResourceAttributes != nil { @@ -2012,36 +2192,42 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.User = "" } else { - x.User = string(r.DecodeString()) + yyv6 := &x.User + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "group": if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv170 := &x.Groups - yym171 := z.DecBinary() - _ = yym171 + yyv8 := &x.Groups + yym9 := z.DecBinary() + _ = yym9 if false { } else { - z.F.DecSliceStringX(yyv170, false, d) + z.F.DecSliceStringX(yyv8, false, d) } } case "extra": if r.TryDecodeAsNil() { x.Extra = nil } else { - yyv172 := &x.Extra - yym173 := z.DecBinary() - _ = yym173 + yyv10 := &x.Extra + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decMapstringExtraValue((*map[string]ExtraValue)(yyv172), d) + h.decMapstringExtraValue((*map[string]ExtraValue)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys166) - } // end switch yys166 - } // end for yyj166 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2049,16 +2235,16 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj174 int - var yyb174 bool - var yyhl174 bool = l >= 0 - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb174 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb174 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2073,13 +2259,13 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D } x.ResourceAttributes.CodecDecodeSelf(d) } - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb174 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb174 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2094,13 +2280,13 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D } x.NonResourceAttributes.CodecDecodeSelf(d) } - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb174 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb174 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2108,15 +2294,21 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.User = "" } else { - x.User = string(r.DecodeString()) + yyv15 := &x.User + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb174 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb174 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2124,21 +2316,21 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv178 := &x.Groups - yym179 := z.DecBinary() - _ = yym179 + yyv17 := &x.Groups + yym18 := z.DecBinary() + _ = yym18 if false { } else { - z.F.DecSliceStringX(yyv178, false, d) + z.F.DecSliceStringX(yyv17, false, d) } } - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb174 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb174 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2146,26 +2338,26 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Extra = nil } else { - yyv180 := &x.Extra - yym181 := z.DecBinary() - _ = yym181 + yyv19 := &x.Extra + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decMapstringExtraValue((*map[string]ExtraValue)(yyv180), d) + h.decMapstringExtraValue((*map[string]ExtraValue)(yyv19), d) } } for { - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb174 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb174 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj174-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2177,8 +2369,8 @@ func (x ExtraValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym182 := z.EncBinary() - _ = yym182 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -2191,8 +2383,8 @@ func (x *ExtraValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym183 := z.DecBinary() - _ = yym183 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -2207,34 +2399,34 @@ func (x *SelfSubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym184 := z.EncBinary() - _ = yym184 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep185 := !z.EncBinary() - yy2arr185 := z.EncBasicHandle().StructToArray - var yyq185 [2]bool - _, _, _ = yysep185, yyq185, yy2arr185 - const yyr185 bool = false - yyq185[0] = x.ResourceAttributes != nil - yyq185[1] = x.NonResourceAttributes != nil - var yynn185 int - if yyr185 || yy2arr185 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.ResourceAttributes != nil + yyq2[1] = x.NonResourceAttributes != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn185 = 0 - for _, b := range yyq185 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn185++ + yynn2++ } } - r.EncodeMapStart(yynn185) - yynn185 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr185 || yy2arr185 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq185[0] { + if yyq2[0] { if x.ResourceAttributes == nil { r.EncodeNil() } else { @@ -2244,7 +2436,7 @@ func (x *SelfSubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq185[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceAttributes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2255,9 +2447,9 @@ func (x *SelfSubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr185 || yy2arr185 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq185[1] { + if yyq2[1] { if x.NonResourceAttributes == nil { r.EncodeNil() } else { @@ -2267,7 +2459,7 @@ func (x *SelfSubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq185[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nonResourceAttributes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2278,7 +2470,7 @@ func (x *SelfSubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr185 || yy2arr185 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2291,25 +2483,25 @@ func (x *SelfSubjectAccessReviewSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym188 := z.DecBinary() - _ = yym188 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct189 := r.ContainerType() - if yyct189 == codecSelferValueTypeMap1234 { - yyl189 := r.ReadMapStart() - if yyl189 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl189, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct189 == codecSelferValueTypeArray1234 { - yyl189 := r.ReadArrayStart() - if yyl189 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl189, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2321,12 +2513,12 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys190Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys190Slc - var yyhl190 bool = l >= 0 - for yyj190 := 0; ; yyj190++ { - if yyhl190 { - if yyj190 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2335,10 +2527,10 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys190Slc = r.DecodeBytes(yys190Slc, true, true) - yys190 := string(yys190Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys190 { + switch yys3 { case "resourceAttributes": if r.TryDecodeAsNil() { if x.ResourceAttributes != nil { @@ -2362,9 +2554,9 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978 x.NonResourceAttributes.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys190) - } // end switch yys190 - } // end for yyj190 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2372,16 +2564,16 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj193 int - var yyb193 bool - var yyhl193 bool = l >= 0 - yyj193++ - if yyhl193 { - yyb193 = yyj193 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb193 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb193 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2396,13 +2588,13 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec19 } x.ResourceAttributes.CodecDecodeSelf(d) } - yyj193++ - if yyhl193 { - yyb193 = yyj193 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb193 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb193 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2418,17 +2610,17 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec19 x.NonResourceAttributes.CodecDecodeSelf(d) } for { - yyj193++ - if yyhl193 { - yyb193 = yyj193 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb193 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb193 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj193-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2440,35 +2632,35 @@ func (x *SubjectAccessReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym196 := z.EncBinary() - _ = yym196 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep197 := !z.EncBinary() - yy2arr197 := z.EncBasicHandle().StructToArray - var yyq197 [3]bool - _, _, _ = yysep197, yyq197, yy2arr197 - const yyr197 bool = false - yyq197[1] = x.Reason != "" - yyq197[2] = x.EvaluationError != "" - var yynn197 int - if yyr197 || yy2arr197 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.Reason != "" + yyq2[2] = x.EvaluationError != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn197 = 1 - for _, b := range yyq197 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn197++ + yynn2++ } } - r.EncodeMapStart(yynn197) - yynn197 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr197 || yy2arr197 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym199 := z.EncBinary() - _ = yym199 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeBool(bool(x.Allowed)) @@ -2477,18 +2669,18 @@ func (x *SubjectAccessReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym200 := z.EncBinary() - _ = yym200 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeBool(bool(x.Allowed)) } } - if yyr197 || yy2arr197 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq197[1] { - yym202 := z.EncBinary() - _ = yym202 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -2497,23 +2689,23 @@ func (x *SubjectAccessReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq197[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym203 := z.EncBinary() - _ = yym203 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr197 || yy2arr197 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq197[2] { - yym205 := z.EncBinary() - _ = yym205 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvaluationError)) @@ -2522,19 +2714,19 @@ func (x *SubjectAccessReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq197[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evaluationError")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym206 := z.EncBinary() - _ = yym206 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvaluationError)) } } } - if yyr197 || yy2arr197 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2547,25 +2739,25 @@ func (x *SubjectAccessReviewStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym207 := z.DecBinary() - _ = yym207 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct208 := r.ContainerType() - if yyct208 == codecSelferValueTypeMap1234 { - yyl208 := r.ReadMapStart() - if yyl208 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl208, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct208 == codecSelferValueTypeArray1234 { - yyl208 := r.ReadArrayStart() - if yyl208 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl208, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2577,12 +2769,12 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys209Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys209Slc - var yyhl209 bool = l >= 0 - for yyj209 := 0; ; yyj209++ { - if yyhl209 { - if yyj209 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2591,32 +2783,50 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys209Slc = r.DecodeBytes(yys209Slc, true, true) - yys209 := string(yys209Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys209 { + switch yys3 { case "allowed": if r.TryDecodeAsNil() { x.Allowed = false } else { - x.Allowed = bool(r.DecodeBool()) + yyv4 := &x.Allowed + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*bool)(yyv4)) = r.DecodeBool() + } } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv6 := &x.Reason + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "evaluationError": if r.TryDecodeAsNil() { x.EvaluationError = "" } else { - x.EvaluationError = string(r.DecodeString()) + yyv8 := &x.EvaluationError + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys209) - } // end switch yys209 - } // end for yyj209 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2624,16 +2834,16 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj213 int - var yyb213 bool - var yyhl213 bool = l >= 0 - yyj213++ - if yyhl213 { - yyb213 = yyj213 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb213 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb213 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2641,15 +2851,21 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Allowed = false } else { - x.Allowed = bool(r.DecodeBool()) + yyv11 := &x.Allowed + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*bool)(yyv11)) = r.DecodeBool() + } } - yyj213++ - if yyhl213 { - yyb213 = yyj213 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb213 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb213 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2657,15 +2873,21 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv13 := &x.Reason + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj213++ - if yyhl213 { - yyb213 = yyj213 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb213 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb213 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2673,20 +2895,26 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.EvaluationError = "" } else { - x.EvaluationError = string(r.DecodeString()) + yyv15 := &x.EvaluationError + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } for { - yyj213++ - if yyhl213 { - yyb213 = yyj213 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb213 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb213 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj213-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2696,19 +2924,19 @@ func (x codecSelfer1234) encMapstringExtraValue(v map[string]ExtraValue, e *code z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk217, yyv217 := range v { + for yyk1, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym218 := z.EncBinary() - _ = yym218 + yym2 := z.EncBinary() + _ = yym2 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk217)) + r.EncodeString(codecSelferC_UTF81234, string(yyk1)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv217 == nil { + if yyv1 == nil { r.EncodeNil() } else { - yyv217.CodecEncodeSelf(e) + yyv1.CodecEncodeSelf(e) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2719,70 +2947,82 @@ func (x codecSelfer1234) decMapstringExtraValue(v *map[string]ExtraValue, d *cod z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv219 := *v - yyl219 := r.ReadMapStart() - yybh219 := z.DecBasicHandle() - if yyv219 == nil { - yyrl219, _ := z.DecInferLen(yyl219, yybh219.MaxInitLen, 40) - yyv219 = make(map[string]ExtraValue, yyrl219) - *v = yyv219 + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 40) + yyv1 = make(map[string]ExtraValue, yyrl1) + *v = yyv1 } - var yymk219 string - var yymv219 ExtraValue - var yymg219 bool - if yybh219.MapValueReset { - yymg219 = true + var yymk1 string + var yymv1 ExtraValue + var yymg1 bool + if yybh1.MapValueReset { + yymg1 = true } - if yyl219 > 0 { - for yyj219 := 0; yyj219 < yyl219; yyj219++ { + if yyl1 > 0 { + for yyj1 := 0; yyj1 < yyl1; yyj1++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk219 = "" + yymk1 = "" } else { - yymk219 = string(r.DecodeString()) + yyv2 := &yymk1 + yym3 := z.DecBinary() + _ = yym3 + if false { + } else { + *((*string)(yyv2)) = r.DecodeString() + } } - if yymg219 { - yymv219 = yyv219[yymk219] + if yymg1 { + yymv1 = yyv1[yymk1] } else { - yymv219 = nil + yymv1 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv219 = nil + yymv1 = nil } else { - yyv221 := &yymv219 - yyv221.CodecDecodeSelf(d) + yyv4 := &yymv1 + yyv4.CodecDecodeSelf(d) } - if yyv219 != nil { - yyv219[yymk219] = yymv219 + if yyv1 != nil { + yyv1[yymk1] = yymv1 } } - } else if yyl219 < 0 { - for yyj219 := 0; !r.CheckBreak(); yyj219++ { + } else if yyl1 < 0 { + for yyj1 := 0; !r.CheckBreak(); yyj1++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk219 = "" + yymk1 = "" } else { - yymk219 = string(r.DecodeString()) + yyv5 := &yymk1 + yym6 := z.DecBinary() + _ = yym6 + if false { + } else { + *((*string)(yyv5)) = r.DecodeString() + } } - if yymg219 { - yymv219 = yyv219[yymk219] + if yymg1 { + yymv1 = yyv1[yymk1] } else { - yymv219 = nil + yymv1 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv219 = nil + yymv1 = nil } else { - yyv223 := &yymv219 - yyv223.CodecDecodeSelf(d) + yyv7 := &yymv1 + yyv7.CodecDecodeSelf(d) } - if yyv219 != nil { - yyv219[yymk219] = yymv219 + if yyv1 != nil { + yyv1[yymk1] = yymv1 } } } // else len==0: TODO: Should we clear map entries? @@ -2794,13 +3034,13 @@ func (x codecSelfer1234) encExtraValue(v ExtraValue, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv224 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym225 := z.EncBinary() - _ = yym225 + yym2 := z.EncBinary() + _ = yym2 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv224)) + r.EncodeString(codecSelferC_UTF81234, string(yyv1)) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -2811,75 +3051,96 @@ func (x codecSelfer1234) decExtraValue(v *ExtraValue, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv226 := *v - yyh226, yyl226 := z.DecSliceHelperStart() - var yyc226 bool - if yyl226 == 0 { - if yyv226 == nil { - yyv226 = []string{} - yyc226 = true - } else if len(yyv226) != 0 { - yyv226 = yyv226[:0] - yyc226 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []string{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl226 > 0 { - var yyrr226, yyrl226 int - var yyrt226 bool - if yyl226 > cap(yyv226) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrl226, yyrt226 = z.DecInferLen(yyl226, z.DecBasicHandle().MaxInitLen, 16) - if yyrt226 { - if yyrl226 <= cap(yyv226) { - yyv226 = yyv226[:yyrl226] + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv226 = make([]string, yyrl226) + yyv1 = make([]string, yyrl1) } } else { - yyv226 = make([]string, yyrl226) + yyv1 = make([]string, yyrl1) } - yyc226 = true - yyrr226 = len(yyv226) - } else if yyl226 != len(yyv226) { - yyv226 = yyv226[:yyl226] - yyc226 = true + yyc1 = true + yyrr1 = len(yyv1) + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj226 := 0 - for ; yyj226 < yyrr226; yyj226++ { - yyh226.ElemContainerState(yyj226) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv226[yyj226] = "" + yyv1[yyj1] = "" } else { - yyv226[yyj226] = string(r.DecodeString()) + yyv2 := &yyv1[yyj1] + yym3 := z.DecBinary() + _ = yym3 + if false { + } else { + *((*string)(yyv2)) = r.DecodeString() + } } } - if yyrt226 { - for ; yyj226 < yyl226; yyj226++ { - yyv226 = append(yyv226, "") - yyh226.ElemContainerState(yyj226) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, "") + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv226[yyj226] = "" + yyv1[yyj1] = "" } else { - yyv226[yyj226] = string(r.DecodeString()) + yyv4 := &yyv1[yyj1] + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } } } } else { - yyj226 := 0 - for ; !r.CheckBreak(); yyj226++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj226 >= len(yyv226) { - yyv226 = append(yyv226, "") // var yyz226 string - yyc226 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, "") // var yyz1 string + yyc1 = true } - yyh226.ElemContainerState(yyj226) - if yyj226 < len(yyv226) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv226[yyj226] = "" + yyv1[yyj1] = "" } else { - yyv226[yyj226] = string(r.DecodeString()) + yyv6 := &yyv1[yyj1] + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } } else { @@ -2887,16 +3148,16 @@ func (x codecSelfer1234) decExtraValue(v *ExtraValue, d *codec1978.Decoder) { } } - if yyj226 < len(yyv226) { - yyv226 = yyv226[:yyj226] - yyc226 = true - } else if yyj226 == 0 && yyv226 == nil { - yyv226 = []string{} - yyc226 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []string{} + yyc1 = true } } - yyh226.End() - if yyc226 { - *v = yyv226 + yyh1.End() + if yyc1 { + *v = yyv1 } } diff --git a/pkg/apis/authorization/v1beta1/types.go b/pkg/apis/authorization/v1beta1/types.go index 01e2491c..813bfd71 100644 --- a/pkg/apis/authorization/v1beta1/types.go +++ b/pkg/apis/authorization/v1beta1/types.go @@ -19,8 +19,8 @@ package v1beta1 import ( "fmt" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // +genclient=true diff --git a/pkg/apis/authorization/v1beta1/zz_generated.conversion.go b/pkg/apis/authorization/v1beta1/zz_generated.conversion.go index 28fed4a7..dc22725c 100644 --- a/pkg/apis/authorization/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/authorization/v1beta1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package v1beta1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" authorization "k8s.io/client-go/pkg/apis/authorization" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" unsafe "unsafe" ) diff --git a/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go b/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go index 373c279e..906708e3 100644 --- a/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package v1beta1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -50,14 +50,13 @@ func DeepCopy_v1beta1_LocalSubjectAccessReview(in interface{}, out interface{}, { in := in.(*LocalSubjectAccessReview) out := out.(*LocalSubjectAccessReview) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } if err := DeepCopy_v1beta1_SubjectAccessReviewSpec(&in.Spec, &out.Spec, c); err != nil { return err } - out.Status = in.Status return nil } } @@ -66,8 +65,7 @@ func DeepCopy_v1beta1_NonResourceAttributes(in interface{}, out interface{}, c * { in := in.(*NonResourceAttributes) out := out.(*NonResourceAttributes) - out.Path = in.Path - out.Verb = in.Verb + *out = *in return nil } } @@ -76,13 +74,7 @@ func DeepCopy_v1beta1_ResourceAttributes(in interface{}, out interface{}, c *con { in := in.(*ResourceAttributes) out := out.(*ResourceAttributes) - out.Namespace = in.Namespace - out.Verb = in.Verb - out.Group = in.Group - out.Version = in.Version - out.Resource = in.Resource - out.Subresource = in.Subresource - out.Name = in.Name + *out = *in return nil } } @@ -91,14 +83,13 @@ func DeepCopy_v1beta1_SelfSubjectAccessReview(in interface{}, out interface{}, c { in := in.(*SelfSubjectAccessReview) out := out.(*SelfSubjectAccessReview) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } if err := DeepCopy_v1beta1_SelfSubjectAccessReviewSpec(&in.Spec, &out.Spec, c); err != nil { return err } - out.Status = in.Status return nil } } @@ -107,19 +98,16 @@ func DeepCopy_v1beta1_SelfSubjectAccessReviewSpec(in interface{}, out interface{ { in := in.(*SelfSubjectAccessReviewSpec) out := out.(*SelfSubjectAccessReviewSpec) + *out = *in if in.ResourceAttributes != nil { in, out := &in.ResourceAttributes, &out.ResourceAttributes *out = new(ResourceAttributes) **out = **in - } else { - out.ResourceAttributes = nil } if in.NonResourceAttributes != nil { in, out := &in.NonResourceAttributes, &out.NonResourceAttributes *out = new(NonResourceAttributes) **out = **in - } else { - out.NonResourceAttributes = nil } return nil } @@ -129,14 +117,13 @@ func DeepCopy_v1beta1_SubjectAccessReview(in interface{}, out interface{}, c *co { in := in.(*SubjectAccessReview) out := out.(*SubjectAccessReview) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } if err := DeepCopy_v1beta1_SubjectAccessReviewSpec(&in.Spec, &out.Spec, c); err != nil { return err } - out.Status = in.Status return nil } } @@ -145,27 +132,21 @@ func DeepCopy_v1beta1_SubjectAccessReviewSpec(in interface{}, out interface{}, c { in := in.(*SubjectAccessReviewSpec) out := out.(*SubjectAccessReviewSpec) + *out = *in if in.ResourceAttributes != nil { in, out := &in.ResourceAttributes, &out.ResourceAttributes *out = new(ResourceAttributes) **out = **in - } else { - out.ResourceAttributes = nil } if in.NonResourceAttributes != nil { in, out := &in.NonResourceAttributes, &out.NonResourceAttributes *out = new(NonResourceAttributes) **out = **in - } else { - out.NonResourceAttributes = nil } - out.User = in.User if in.Groups != nil { in, out := &in.Groups, &out.Groups *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Groups = nil } if in.Extra != nil { in, out := &in.Extra, &out.Extra @@ -177,8 +158,6 @@ func DeepCopy_v1beta1_SubjectAccessReviewSpec(in interface{}, out interface{}, c (*out)[key] = *newVal.(*ExtraValue) } } - } else { - out.Extra = nil } return nil } @@ -188,9 +167,7 @@ func DeepCopy_v1beta1_SubjectAccessReviewStatus(in interface{}, out interface{}, { in := in.(*SubjectAccessReviewStatus) out := out.(*SubjectAccessReviewStatus) - out.Allowed = in.Allowed - out.Reason = in.Reason - out.EvaluationError = in.EvaluationError + *out = *in return nil } } diff --git a/pkg/apis/authorization/v1beta1/zz_generated.defaults.go b/pkg/apis/authorization/v1beta1/zz_generated.defaults.go new file mode 100644 index 00000000..e24e70be --- /dev/null +++ b/pkg/apis/authorization/v1beta1/zz_generated.defaults.go @@ -0,0 +1,32 @@ +// +build !ignore_autogenerated + +/* +Copyright 2017 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file was autogenerated by defaulter-gen. Do not edit it manually! + +package v1beta1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// RegisterDefaults adds defaulters functions to the given scheme. +// Public to allow building arbitrary schemes. +// All generated defaulters are covering - they call all nested defaulters. +func RegisterDefaults(scheme *runtime.Scheme) error { + return nil +} diff --git a/pkg/apis/authorization/zz_generated.deepcopy.go b/pkg/apis/authorization/zz_generated.deepcopy.go index ce703736..4d4a903e 100644 --- a/pkg/apis/authorization/zz_generated.deepcopy.go +++ b/pkg/apis/authorization/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package authorization import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -50,14 +50,13 @@ func DeepCopy_authorization_LocalSubjectAccessReview(in interface{}, out interfa { in := in.(*LocalSubjectAccessReview) out := out.(*LocalSubjectAccessReview) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } if err := DeepCopy_authorization_SubjectAccessReviewSpec(&in.Spec, &out.Spec, c); err != nil { return err } - out.Status = in.Status return nil } } @@ -66,8 +65,7 @@ func DeepCopy_authorization_NonResourceAttributes(in interface{}, out interface{ { in := in.(*NonResourceAttributes) out := out.(*NonResourceAttributes) - out.Path = in.Path - out.Verb = in.Verb + *out = *in return nil } } @@ -76,13 +74,7 @@ func DeepCopy_authorization_ResourceAttributes(in interface{}, out interface{}, { in := in.(*ResourceAttributes) out := out.(*ResourceAttributes) - out.Namespace = in.Namespace - out.Verb = in.Verb - out.Group = in.Group - out.Version = in.Version - out.Resource = in.Resource - out.Subresource = in.Subresource - out.Name = in.Name + *out = *in return nil } } @@ -91,14 +83,13 @@ func DeepCopy_authorization_SelfSubjectAccessReview(in interface{}, out interfac { in := in.(*SelfSubjectAccessReview) out := out.(*SelfSubjectAccessReview) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } if err := DeepCopy_authorization_SelfSubjectAccessReviewSpec(&in.Spec, &out.Spec, c); err != nil { return err } - out.Status = in.Status return nil } } @@ -107,19 +98,16 @@ func DeepCopy_authorization_SelfSubjectAccessReviewSpec(in interface{}, out inte { in := in.(*SelfSubjectAccessReviewSpec) out := out.(*SelfSubjectAccessReviewSpec) + *out = *in if in.ResourceAttributes != nil { in, out := &in.ResourceAttributes, &out.ResourceAttributes *out = new(ResourceAttributes) **out = **in - } else { - out.ResourceAttributes = nil } if in.NonResourceAttributes != nil { in, out := &in.NonResourceAttributes, &out.NonResourceAttributes *out = new(NonResourceAttributes) **out = **in - } else { - out.NonResourceAttributes = nil } return nil } @@ -129,14 +117,13 @@ func DeepCopy_authorization_SubjectAccessReview(in interface{}, out interface{}, { in := in.(*SubjectAccessReview) out := out.(*SubjectAccessReview) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } if err := DeepCopy_authorization_SubjectAccessReviewSpec(&in.Spec, &out.Spec, c); err != nil { return err } - out.Status = in.Status return nil } } @@ -145,27 +132,21 @@ func DeepCopy_authorization_SubjectAccessReviewSpec(in interface{}, out interfac { in := in.(*SubjectAccessReviewSpec) out := out.(*SubjectAccessReviewSpec) + *out = *in if in.ResourceAttributes != nil { in, out := &in.ResourceAttributes, &out.ResourceAttributes *out = new(ResourceAttributes) **out = **in - } else { - out.ResourceAttributes = nil } if in.NonResourceAttributes != nil { in, out := &in.NonResourceAttributes, &out.NonResourceAttributes *out = new(NonResourceAttributes) **out = **in - } else { - out.NonResourceAttributes = nil } - out.User = in.User if in.Groups != nil { in, out := &in.Groups, &out.Groups *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Groups = nil } if in.Extra != nil { in, out := &in.Extra, &out.Extra @@ -177,8 +158,6 @@ func DeepCopy_authorization_SubjectAccessReviewSpec(in interface{}, out interfac (*out)[key] = *newVal.(*ExtraValue) } } - } else { - out.Extra = nil } return nil } @@ -188,9 +167,7 @@ func DeepCopy_authorization_SubjectAccessReviewStatus(in interface{}, out interf { in := in.(*SubjectAccessReviewStatus) out := out.(*SubjectAccessReviewStatus) - out.Allowed = in.Allowed - out.Reason = in.Reason - out.EvaluationError = in.EvaluationError + *out = *in return nil } } diff --git a/pkg/apis/autoscaling/register.go b/pkg/apis/autoscaling/register.go index c006a4d4..b2f7398d 100644 --- a/pkg/apis/autoscaling/register.go +++ b/pkg/apis/autoscaling/register.go @@ -17,9 +17,9 @@ limitations under the License. package autoscaling import ( + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) // GroupName is the group name use in this package diff --git a/pkg/apis/autoscaling/types.go b/pkg/apis/autoscaling/types.go index 01cbd71d..89ef08c7 100644 --- a/pkg/apis/autoscaling/types.go +++ b/pkg/apis/autoscaling/types.go @@ -17,8 +17,8 @@ limitations under the License. package autoscaling import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // Scale represents a scaling request for a resource. diff --git a/pkg/apis/autoscaling/v1/defaults.go b/pkg/apis/autoscaling/v1/defaults.go index dc0c90c2..0dde7321 100644 --- a/pkg/apis/autoscaling/v1/defaults.go +++ b/pkg/apis/autoscaling/v1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/apis/autoscaling/v1/generated.pb.go b/pkg/apis/autoscaling/v1/generated.pb.go index 34c4c740..df1286ad 100644 --- a/pkg/apis/autoscaling/v1/generated.pb.go +++ b/pkg/apis/autoscaling/v1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" -import k8s_io_kubernetes_pkg_apis_meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" +import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" import strings "strings" import reflect "reflect" @@ -175,6 +175,14 @@ func (m *HorizontalPodAutoscaler) MarshalTo(data []byte) (int, error) { return 0, err } i += n3 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n4, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n4 return i, nil } @@ -196,11 +204,11 @@ func (m *HorizontalPodAutoscalerList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n4, err := m.ListMeta.MarshalTo(data[i:]) + n5, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n4 + i += n5 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -213,6 +221,14 @@ func (m *HorizontalPodAutoscalerList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n6, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n6 return i, nil } @@ -234,11 +250,11 @@ func (m *HorizontalPodAutoscalerSpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ScaleTargetRef.Size())) - n5, err := m.ScaleTargetRef.MarshalTo(data[i:]) + n7, err := m.ScaleTargetRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n5 + i += n7 if m.MinReplicas != nil { data[i] = 0x10 i++ @@ -279,11 +295,11 @@ func (m *HorizontalPodAutoscalerStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.LastScaleTime.Size())) - n6, err := m.LastScaleTime.MarshalTo(data[i:]) + n8, err := m.LastScaleTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n6 + i += n8 } data[i] = 0x18 i++ @@ -317,27 +333,35 @@ func (m *Scale) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n7, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n7 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n8, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n8 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n9, err := m.Status.MarshalTo(data[i:]) + n9, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n9 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n10, err := m.Spec.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n10 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n11, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n11 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n12, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n12 return i, nil } @@ -435,6 +459,8 @@ func (m *HorizontalPodAutoscaler) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -449,6 +475,8 @@ func (m *HorizontalPodAutoscalerList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -494,6 +522,8 @@ func (m *Scale) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -546,6 +576,7 @@ func (this *HorizontalPodAutoscaler) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "HorizontalPodAutoscalerSpec", "HorizontalPodAutoscalerSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "HorizontalPodAutoscalerStatus", "HorizontalPodAutoscalerStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -555,8 +586,9 @@ func (this *HorizontalPodAutoscalerList) String() string { return "nil" } s := strings.Join([]string{`&HorizontalPodAutoscalerList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "HorizontalPodAutoscaler", "HorizontalPodAutoscaler", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -580,7 +612,7 @@ func (this *HorizontalPodAutoscalerStatus) String() string { } s := strings.Join([]string{`&HorizontalPodAutoscalerStatus{`, `ObservedGeneration:` + valueToStringGenerated(this.ObservedGeneration) + `,`, - `LastScaleTime:` + strings.Replace(fmt.Sprintf("%v", this.LastScaleTime), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1) + `,`, + `LastScaleTime:` + strings.Replace(fmt.Sprintf("%v", this.LastScaleTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`, `CurrentReplicas:` + fmt.Sprintf("%v", this.CurrentReplicas) + `,`, `DesiredReplicas:` + fmt.Sprintf("%v", this.DesiredReplicas) + `,`, `CurrentCPUUtilizationPercentage:` + valueToStringGenerated(this.CurrentCPUUtilizationPercentage) + `,`, @@ -596,6 +628,7 @@ func (this *Scale) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -885,6 +918,36 @@ func (m *HorizontalPodAutoscaler) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -996,6 +1059,36 @@ func (m *HorizontalPodAutoscalerList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1232,7 +1325,7 @@ func (m *HorizontalPodAutoscalerStatus) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.LastScaleTime == nil { - m.LastScaleTime = &k8s_io_kubernetes_pkg_apis_meta_v1.Time{} + m.LastScaleTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{} } if err := m.LastScaleTime.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -1436,6 +1529,36 @@ func (m *Scale) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1730,58 +1853,61 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 838 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x6f, 0xdc, 0x44, - 0x14, 0x5f, 0xef, 0x47, 0x95, 0x8e, 0x49, 0x02, 0x83, 0xd4, 0xae, 0x52, 0x61, 0x47, 0x0b, 0x87, - 0x20, 0xa5, 0xb6, 0x76, 0x55, 0x10, 0x3d, 0xc6, 0x41, 0xa5, 0x15, 0x0d, 0x8d, 0x26, 0x6d, 0x85, - 0x7a, 0x40, 0x9a, 0xf5, 0xbe, 0x3a, 0xd3, 0x5d, 0x7b, 0xac, 0x99, 0xf1, 0x0a, 0xf5, 0xc4, 0x89, - 0x33, 0x17, 0x0e, 0xfc, 0x35, 0x5c, 0x73, 0xa3, 0x47, 0x4e, 0x2b, 0x62, 0xfe, 0x0d, 0x0e, 0xc8, - 0xb3, 0x53, 0xef, 0x57, 0xec, 0x12, 0x01, 0xb7, 0x9d, 0x79, 0xbf, 0x8f, 0x37, 0xef, 0x3d, 0xbf, - 0x45, 0xf7, 0xc7, 0x5f, 0x48, 0x8f, 0x71, 0x7f, 0x9c, 0x0d, 0x41, 0x24, 0xa0, 0x40, 0xfa, 0xe9, - 0x38, 0xf2, 0x69, 0xca, 0xa4, 0x4f, 0x33, 0xc5, 0x65, 0x48, 0x27, 0x2c, 0x89, 0xfc, 0x69, 0xdf, - 0x8f, 0x20, 0x01, 0x41, 0x15, 0x8c, 0xbc, 0x54, 0x70, 0xc5, 0xf1, 0xa7, 0x73, 0xaa, 0xb7, 0xa0, - 0x7a, 0xe9, 0x38, 0xf2, 0x0a, 0xaa, 0xb7, 0x44, 0xf5, 0xa6, 0xfd, 0xbd, 0xbb, 0x11, 0x53, 0xe7, - 0xd9, 0xd0, 0x0b, 0x79, 0xec, 0x47, 0x3c, 0xe2, 0xbe, 0x56, 0x18, 0x66, 0x2f, 0xf5, 0x49, 0x1f, - 0xf4, 0xaf, 0xb9, 0xf2, 0xde, 0xa0, 0x32, 0x29, 0x5f, 0x80, 0xe4, 0x99, 0x08, 0x61, 0x3d, 0x9b, - 0xbd, 0xc3, 0x6a, 0xce, 0x66, 0xee, 0x35, 0x0e, 0xd2, 0x8f, 0x41, 0xd1, 0xab, 0x38, 0x77, 0xaf, - 0xe6, 0x88, 0x2c, 0x51, 0x2c, 0xde, 0x4c, 0xe8, 0x5e, 0x3d, 0x5c, 0x86, 0xe7, 0x10, 0xd3, 0x0d, - 0x56, 0xff, 0x6a, 0x56, 0xa6, 0xd8, 0xc4, 0x67, 0x89, 0x92, 0x4a, 0xac, 0x53, 0x7a, 0x3f, 0x5b, - 0xe8, 0xce, 0xb1, 0xe0, 0x52, 0x3e, 0x07, 0x21, 0x19, 0x4f, 0x9e, 0x0c, 0x5f, 0x41, 0xa8, 0x08, - 0xbc, 0x04, 0x01, 0x49, 0x08, 0x78, 0x1f, 0xb5, 0xc7, 0x2c, 0x19, 0x75, 0xad, 0x7d, 0xeb, 0xe0, - 0x66, 0xf0, 0xde, 0xc5, 0xcc, 0x6d, 0xe4, 0x33, 0xb7, 0xfd, 0x35, 0x4b, 0x46, 0x44, 0x47, 0x0a, - 0x44, 0x42, 0x63, 0xe8, 0x36, 0x57, 0x11, 0xdf, 0xd0, 0x18, 0x88, 0x8e, 0xe0, 0x01, 0x42, 0x34, - 0x65, 0xc6, 0xa0, 0xdb, 0xd2, 0x38, 0x6c, 0x70, 0xe8, 0xe8, 0xf4, 0x91, 0x89, 0x90, 0x25, 0x54, - 0xef, 0xb7, 0x26, 0xba, 0xfd, 0x90, 0x0b, 0xf6, 0x9a, 0x27, 0x8a, 0x4e, 0x4e, 0xf9, 0xe8, 0xc8, - 0x0c, 0x05, 0x08, 0xfc, 0x2d, 0xda, 0x2a, 0xca, 0x3c, 0xa2, 0x8a, 0xea, 0xbc, 0xec, 0xc1, 0x81, - 0x57, 0x39, 0x4e, 0xde, 0xb4, 0xef, 0xcd, 0x1f, 0x75, 0x02, 0x8a, 0x2e, 0x7c, 0x17, 0x77, 0xa4, - 0x54, 0xc3, 0xe7, 0xa8, 0x2d, 0x53, 0x08, 0xf5, 0x5b, 0xec, 0xc1, 0x03, 0xef, 0x1f, 0x0f, 0xa9, - 0x57, 0x91, 0xeb, 0x59, 0x0a, 0xe1, 0xa2, 0x26, 0xc5, 0x89, 0x68, 0x07, 0x9c, 0xa2, 0x1b, 0x52, - 0x51, 0x95, 0x49, 0x5d, 0x0f, 0x7b, 0xf0, 0xf0, 0x3f, 0xf0, 0xd2, 0x7a, 0xc1, 0x8e, 0x71, 0xbb, - 0x31, 0x3f, 0x13, 0xe3, 0xd3, 0xcb, 0x2d, 0x74, 0xa7, 0x82, 0xf9, 0x98, 0x49, 0x85, 0x5f, 0x6c, - 0x54, 0xf5, 0xb0, 0x2e, 0xa7, 0x02, 0x5b, 0x24, 0x53, 0x70, 0x75, 0x65, 0xdf, 0x37, 0xbe, 0x5b, - 0x6f, 0x6f, 0x96, 0xea, 0x1a, 0xa1, 0x0e, 0x53, 0x10, 0xcb, 0x6e, 0x73, 0xbf, 0x75, 0x60, 0x0f, - 0x82, 0x7f, 0xff, 0xd8, 0x60, 0xdb, 0xd8, 0x75, 0x1e, 0x15, 0xc2, 0x64, 0xae, 0xdf, 0xfb, 0xab, - 0x59, 0xf9, 0xc8, 0xa2, 0xf8, 0xf8, 0x47, 0x0b, 0xed, 0xe8, 0xe3, 0x53, 0x2a, 0x22, 0x28, 0xe6, - 0xdc, 0xbc, 0xf5, 0x3a, 0xbd, 0xae, 0xf9, 0x5e, 0x82, 0x5b, 0x26, 0xad, 0x9d, 0xb3, 0x15, 0x17, - 0xb2, 0xe6, 0x8a, 0xfb, 0xc8, 0x8e, 0x59, 0x42, 0x20, 0x9d, 0xb0, 0x90, 0x4a, 0x3d, 0x70, 0x9d, - 0x60, 0x37, 0x9f, 0xb9, 0xf6, 0xc9, 0xe2, 0x9a, 0x2c, 0x63, 0xf0, 0x67, 0xc8, 0x8e, 0xe9, 0xf7, - 0x25, 0xa5, 0xa5, 0x29, 0x1f, 0x1a, 0x3f, 0xfb, 0x64, 0x11, 0x22, 0xcb, 0x38, 0xfc, 0x0a, 0x39, - 0x4a, 0xdb, 0x1e, 0x9f, 0x3e, 0x7b, 0xa6, 0xd8, 0x84, 0xbd, 0xa6, 0x8a, 0xf1, 0xe4, 0x14, 0x44, - 0x08, 0x89, 0xa2, 0x11, 0x74, 0xdb, 0x5a, 0xa9, 0x97, 0xcf, 0x5c, 0xe7, 0x69, 0x2d, 0x92, 0xbc, - 0x43, 0xa9, 0xf7, 0x6b, 0x0b, 0x7d, 0x54, 0x3b, 0x9d, 0xf8, 0x01, 0xc2, 0x7c, 0x28, 0x41, 0x4c, - 0x61, 0xf4, 0xd5, 0x7c, 0x15, 0x15, 0x3b, 0xa1, 0xe8, 0x41, 0x2b, 0xb8, 0x95, 0xcf, 0x5c, 0xfc, - 0x64, 0x23, 0x4a, 0xae, 0x60, 0x60, 0x8a, 0xb6, 0x27, 0x54, 0xaa, 0x79, 0x95, 0x99, 0x59, 0x3f, - 0xb5, 0x8b, 0x60, 0x31, 0xb2, 0x05, 0x3e, 0xf8, 0x20, 0x9f, 0xb9, 0xdb, 0x8f, 0x97, 0x25, 0xc8, - 0xaa, 0x22, 0x3e, 0x42, 0xbb, 0x61, 0x26, 0x04, 0x24, 0x6a, 0xad, 0xe6, 0xb7, 0x4d, 0xcd, 0x77, - 0x8f, 0x57, 0xc3, 0x64, 0x1d, 0x5f, 0x48, 0x8c, 0x40, 0x32, 0x01, 0xa3, 0x52, 0xa2, 0xbd, 0x2a, - 0xf1, 0xe5, 0x6a, 0x98, 0xac, 0xe3, 0x71, 0x8c, 0x5c, 0xa3, 0x5a, 0xd9, 0xbf, 0x8e, 0x96, 0xfc, - 0x38, 0x9f, 0xb9, 0xee, 0x71, 0x3d, 0x94, 0xbc, 0x4b, 0xab, 0xf7, 0x4b, 0x13, 0x75, 0x74, 0x09, - 0xfe, 0xc7, 0x2d, 0xfb, 0x7c, 0x65, 0xcb, 0xde, 0xbb, 0xc6, 0x97, 0xa7, 0x33, 0xab, 0xdc, 0xa9, - 0xdf, 0xad, 0xed, 0xd4, 0xcf, 0xaf, 0xad, 0x5c, 0xbf, 0x41, 0xef, 0xa3, 0x9b, 0x65, 0x02, 0xf8, - 0x10, 0x6d, 0x89, 0xb7, 0x3d, 0xb5, 0x74, 0x03, 0xca, 0x05, 0x58, 0x36, 0xb3, 0x44, 0xf4, 0x18, - 0xb2, 0x97, 0x1c, 0xae, 0x47, 0x2e, 0xd0, 0x12, 0x26, 0x10, 0x2a, 0x2e, 0xcc, 0xbf, 0x6c, 0x89, - 0x3e, 0x33, 0xf7, 0xa4, 0x44, 0x04, 0x9f, 0x5c, 0x5c, 0x3a, 0x8d, 0x37, 0x97, 0x4e, 0xe3, 0xf7, - 0x4b, 0xa7, 0xf1, 0x43, 0xee, 0x58, 0x17, 0xb9, 0x63, 0xbd, 0xc9, 0x1d, 0xeb, 0x8f, 0xdc, 0xb1, - 0x7e, 0xfa, 0xd3, 0x69, 0xbc, 0x68, 0x4e, 0xfb, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x62, - 0x6b, 0x34, 0xbb, 0x09, 0x00, 0x00, + // 888 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xc4, 0x56, 0x4d, 0x6f, 0xdc, 0x44, + 0x18, 0x5e, 0xef, 0x47, 0x95, 0x8e, 0x49, 0x02, 0x83, 0xd4, 0xae, 0x52, 0x61, 0x47, 0x0b, 0x87, + 0x80, 0x8a, 0xad, 0x5d, 0x95, 0x8a, 0x1e, 0xe3, 0xa0, 0xd2, 0x8a, 0x86, 0x46, 0x93, 0xb4, 0x42, + 0x08, 0x21, 0xcd, 0x7a, 0xdf, 0x3a, 0xd3, 0x5d, 0x7f, 0x68, 0x66, 0xbc, 0xa2, 0x3d, 0x71, 0xe2, + 0xcc, 0x85, 0x9f, 0xc1, 0x8f, 0x80, 0x53, 0x8e, 0x3d, 0x72, 0x5a, 0x11, 0xf3, 0x23, 0xb8, 0x70, + 0x40, 0x9e, 0x9d, 0x78, 0xed, 0x4d, 0x9c, 0x0f, 0x11, 0xd4, 0xdb, 0xce, 0xcc, 0xf3, 0xf1, 0xce, + 0x33, 0xef, 0x78, 0x16, 0x3d, 0x18, 0x7f, 0x2e, 0x1c, 0x16, 0xbb, 0xe3, 0x74, 0x08, 0x3c, 0x02, + 0x09, 0xc2, 0x4d, 0xc6, 0x81, 0x4b, 0x13, 0x26, 0x5c, 0x9a, 0xca, 0x58, 0xf8, 0x74, 0xc2, 0xa2, + 0xc0, 0x9d, 0xf6, 0xdd, 0x00, 0x22, 0xe0, 0x54, 0xc2, 0xc8, 0x49, 0x78, 0x2c, 0x63, 0xfc, 0xf1, + 0x9c, 0xea, 0x2c, 0xa8, 0x4e, 0x32, 0x0e, 0x9c, 0x9c, 0xea, 0x94, 0xa8, 0xce, 0xb4, 0xbf, 0xf1, + 0x69, 0xc0, 0xe4, 0x61, 0x3a, 0x74, 0xfc, 0x38, 0x74, 0x83, 0x38, 0x88, 0x5d, 0xa5, 0x30, 0x4c, + 0x5f, 0xa8, 0x91, 0x1a, 0xa8, 0x5f, 0x73, 0xe5, 0x8d, 0x7b, 0xba, 0x28, 0x9a, 0xb0, 0x90, 0xfa, + 0x87, 0x2c, 0x02, 0xfe, 0x6a, 0x51, 0x56, 0x08, 0x92, 0x9e, 0x51, 0xcf, 0x86, 0x5b, 0xc7, 0xe2, + 0x69, 0x24, 0x59, 0x08, 0xa7, 0x08, 0xf7, 0x2f, 0x22, 0x08, 0xff, 0x10, 0x42, 0x7a, 0x8a, 0x37, + 0xa8, 0xcd, 0xcc, 0xe5, 0x20, 0xe2, 0x94, 0xfb, 0xa7, 0xbd, 0xee, 0xd6, 0x73, 0xce, 0xd8, 0x4a, + 0xff, 0x6c, 0x74, 0x2a, 0xd9, 0xc4, 0x65, 0x91, 0x14, 0x92, 0x2f, 0x53, 0x7a, 0xbf, 0x18, 0xe8, + 0xce, 0x0e, 0x8f, 0x85, 0x78, 0x0e, 0x5c, 0xb0, 0x38, 0x7a, 0x3a, 0x7c, 0x09, 0xbe, 0x24, 0xf0, + 0x02, 0x38, 0x44, 0x3e, 0xe0, 0x4d, 0xd4, 0x1e, 0xb3, 0x68, 0xd4, 0x35, 0x36, 0x8d, 0xad, 0x9b, + 0xde, 0x3b, 0x47, 0x33, 0xbb, 0x91, 0xcd, 0xec, 0xf6, 0x57, 0x2c, 0x1a, 0x11, 0xb5, 0x92, 0x23, + 0x22, 0x1a, 0x42, 0xb7, 0x59, 0x45, 0x7c, 0x4d, 0x43, 0x20, 0x6a, 0x05, 0x0f, 0x10, 0xa2, 0x09, + 0xd3, 0x06, 0xdd, 0x96, 0xc2, 0x61, 0x8d, 0x43, 0xdb, 0x7b, 0x8f, 0xf5, 0x0a, 0x29, 0xa1, 0x7a, + 0xbf, 0xb6, 0xd0, 0xed, 0x47, 0x31, 0x67, 0xaf, 0xe3, 0x48, 0xd2, 0xc9, 0x5e, 0x3c, 0xda, 0xd6, + 0xad, 0x01, 0x1c, 0x7f, 0x83, 0x56, 0xf2, 0xc3, 0x1c, 0x51, 0x49, 0x55, 0x5d, 0xe6, 0x60, 0xcb, + 0xa9, 0x6d, 0x2a, 0x67, 0xda, 0x77, 0xe6, 0x9b, 0xda, 0x05, 0x49, 0x17, 0xbe, 0x8b, 0x39, 0x52, + 0xa8, 0xe1, 0x43, 0xd4, 0x16, 0x09, 0xf8, 0x6a, 0x2f, 0xe6, 0xe0, 0xa1, 0x73, 0xe9, 0x56, 0x75, + 0x6a, 0x6a, 0xdd, 0x4f, 0xc0, 0x5f, 0x64, 0x92, 0x8f, 0x88, 0x72, 0xc0, 0x09, 0xba, 0x21, 0x24, + 0x95, 0xa9, 0x50, 0x79, 0x98, 0x83, 0x47, 0xd7, 0xe0, 0xa5, 0xf4, 0xbc, 0x35, 0xed, 0x76, 0x63, + 0x3e, 0x26, 0xda, 0x07, 0x7f, 0x87, 0x56, 0xe4, 0xab, 0x04, 0xf2, 0x1d, 0x77, 0xdb, 0xca, 0xd3, + 0x39, 0xf1, 0x2c, 0x77, 0xf2, 0xc2, 0x35, 0x4f, 0x25, 0xb7, 0x3b, 0xd0, 0x2c, 0xef, 0x5d, 0xad, + 0xbc, 0x72, 0x32, 0x43, 0x0a, 0xc5, 0xde, 0xef, 0x4d, 0x74, 0xa7, 0xa6, 0xae, 0x27, 0x4c, 0xc8, + 0xdc, 0x7d, 0xe9, 0xcc, 0x2e, 0xe9, 0x9e, 0xb3, 0xab, 0xee, 0x27, 0x33, 0xa5, 0x73, 0x0b, 0x50, + 0x87, 0x49, 0x08, 0x45, 0xb7, 0xb9, 0xd9, 0xda, 0x32, 0x07, 0xde, 0x7f, 0x0f, 0xd3, 0x5b, 0xd5, + 0x76, 0x9d, 0xc7, 0xb9, 0x30, 0x99, 0xeb, 0x57, 0x42, 0x6c, 0x5d, 0x7b, 0x88, 0xff, 0xd4, 0x87, + 0x98, 0xb7, 0x0e, 0xfe, 0xc9, 0x40, 0x6b, 0x6a, 0x78, 0x40, 0x79, 0x00, 0xf9, 0x2d, 0xd5, 0x59, + 0x5e, 0xa5, 0x53, 0xcf, 0xb9, 0xed, 0xde, 0x2d, 0x5d, 0xdc, 0xda, 0x7e, 0xc5, 0x85, 0x2c, 0xb9, + 0xe2, 0x3e, 0x32, 0x43, 0x16, 0x11, 0x48, 0x26, 0xcc, 0xa7, 0x42, 0x5d, 0x97, 0x8e, 0xb7, 0x9e, + 0xcd, 0x6c, 0x73, 0x77, 0x31, 0x4d, 0xca, 0x18, 0xfc, 0x19, 0x32, 0x43, 0xfa, 0x43, 0x41, 0x69, + 0x29, 0xca, 0xfb, 0xda, 0xcf, 0xdc, 0x5d, 0x2c, 0x91, 0x32, 0x0e, 0xbf, 0x44, 0x96, 0x54, 0xb6, + 0x3b, 0x7b, 0xcf, 0x9e, 0x49, 0x36, 0x61, 0xaf, 0xa9, 0x64, 0x71, 0xb4, 0x07, 0xdc, 0x87, 0x48, + 0xd2, 0x00, 0x54, 0x2f, 0x77, 0xbc, 0x5e, 0x36, 0xb3, 0xad, 0x83, 0x73, 0x91, 0xe4, 0x02, 0xa5, + 0xde, 0x6f, 0x2d, 0xf4, 0xc1, 0xb9, 0x77, 0x0b, 0x3f, 0x44, 0x38, 0x1e, 0x0a, 0xe0, 0x53, 0x18, + 0x7d, 0x39, 0xff, 0x90, 0xe6, 0x5f, 0xb4, 0xfc, 0x0c, 0x5a, 0xde, 0xad, 0x6c, 0x66, 0xe3, 0xa7, + 0xa7, 0x56, 0xc9, 0x19, 0x0c, 0xec, 0xa3, 0xd5, 0x09, 0x15, 0x72, 0x9e, 0x32, 0xd3, 0x1f, 0x4f, + 0x73, 0xf0, 0xc9, 0x25, 0x7b, 0x89, 0x85, 0xe0, 0xbd, 0x97, 0xcd, 0xec, 0xd5, 0x27, 0x65, 0x11, + 0x52, 0xd5, 0xc4, 0xdb, 0x68, 0xdd, 0x4f, 0x39, 0x87, 0x48, 0x2e, 0xa5, 0x7e, 0x5b, 0xa7, 0xbe, + 0xbe, 0x53, 0x5d, 0x26, 0xcb, 0xf8, 0x5c, 0x62, 0x04, 0x82, 0x71, 0x18, 0x15, 0x12, 0xed, 0xaa, + 0xc4, 0x17, 0xd5, 0x65, 0xb2, 0x8c, 0xc7, 0x21, 0xb2, 0xb5, 0x6a, 0xed, 0x09, 0x76, 0x94, 0xe4, + 0x87, 0xd9, 0xcc, 0xb6, 0x77, 0xce, 0x87, 0x92, 0x8b, 0xb4, 0x7a, 0x7f, 0x37, 0x51, 0x47, 0x45, + 0xf0, 0x3f, 0xbe, 0x12, 0xcf, 0x2b, 0xaf, 0xc4, 0xbd, 0x2b, 0xdc, 0x3d, 0x55, 0x59, 0xed, 0x9b, + 0xf0, 0xfd, 0xd2, 0x9b, 0x70, 0xff, 0xca, 0xca, 0x6f, 0xf3, 0x05, 0x78, 0x80, 0x6e, 0x16, 0xdb, + 0xc3, 0x77, 0xd1, 0x0a, 0x3f, 0xe9, 0x18, 0x43, 0x1d, 0x6f, 0x41, 0x2d, 0x5a, 0xa5, 0x40, 0xf4, + 0x18, 0x32, 0x4b, 0xf5, 0x5f, 0x8d, 0x9c, 0xa3, 0x05, 0x4c, 0xc0, 0x97, 0x31, 0xd7, 0xff, 0x41, + 0x0a, 0xf4, 0xbe, 0x9e, 0x27, 0x05, 0xc2, 0xfb, 0xe8, 0xe8, 0xd8, 0x6a, 0xbc, 0x39, 0xb6, 0x1a, + 0x7f, 0x1c, 0x5b, 0x8d, 0x1f, 0x33, 0xcb, 0x38, 0xca, 0x2c, 0xe3, 0x4d, 0x66, 0x19, 0x7f, 0x66, + 0x96, 0xf1, 0xf3, 0x5f, 0x56, 0xe3, 0xdb, 0xe6, 0xb4, 0xff, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, + 0xab, 0x47, 0x03, 0x8d, 0xdf, 0x0a, 0x00, 0x00, } diff --git a/pkg/apis/autoscaling/v1/generated.proto b/pkg/apis/autoscaling/v1/generated.proto index 20f864c1..5607cc94 100644 --- a/pkg/apis/autoscaling/v1/generated.proto +++ b/pkg/apis/autoscaling/v1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.autoscaling.v1; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". @@ -46,6 +46,8 @@ message CrossVersionObjectReference { // configuration of a horizontal pod autoscaler. message HorizontalPodAutoscaler { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -61,9 +63,11 @@ message HorizontalPodAutoscaler { // list of horizontal pod autoscaler objects. message HorizontalPodAutoscalerList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // list of horizontal pod autoscaler objects. repeated HorizontalPodAutoscaler items = 2; @@ -97,7 +101,7 @@ message HorizontalPodAutoscalerStatus { // last time the HorizontalPodAutoscaler scaled the number of pods; // used by the autoscaler to control how often the number of pods is changed. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastScaleTime = 2; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScaleTime = 2; // current number of replicas of pods managed by this autoscaler. optional int32 currentReplicas = 3; @@ -113,6 +117,8 @@ message HorizontalPodAutoscalerStatus { // Scale represents a scaling request for a resource. message Scale { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; diff --git a/pkg/apis/autoscaling/v1/register.go b/pkg/apis/autoscaling/v1/register.go index 942cde3e..c1ef0f85 100644 --- a/pkg/apis/autoscaling/v1/register.go +++ b/pkg/apis/autoscaling/v1/register.go @@ -17,11 +17,10 @@ limitations under the License. package v1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package @@ -51,6 +50,6 @@ func addKnownTypes(scheme *runtime.Scheme) error { &metav1.ExportOptions{}, &metav1.GetOptions{}, ) - versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/apis/autoscaling/v1/types.generated.go b/pkg/apis/autoscaling/v1/types.generated.go index c86b9901..41120a26 100644 --- a/pkg/apis/autoscaling/v1/types.generated.go +++ b/pkg/apis/autoscaling/v1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" + pkg1_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + pkg3_types "k8s.io/apimachinery/pkg/types" pkg2_v1 "k8s.io/client-go/pkg/api/v1" - pkg1_v1 "k8s.io/client-go/pkg/apis/meta/v1" - pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" @@ -63,9 +63,9 @@ func init() { panic(err) } if false { // reference the types, but skip this branch at build/run time - var v0 pkg2_v1.ObjectMeta - var v1 pkg1_v1.Time - var v2 pkg3_types.UID + var v0 pkg1_v1.Time + var v1 pkg3_types.UID + var v2 pkg2_v1.ObjectMeta var v3 time.Time _, _, _, _ = v0, v1, v2, v3 } @@ -178,25 +178,25 @@ func (x *CrossVersionObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym12 := z.DecBinary() - _ = yym12 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct13 := r.ContainerType() - if yyct13 == codecSelferValueTypeMap1234 { - yyl13 := r.ReadMapStart() - if yyl13 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl13, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct13 == codecSelferValueTypeArray1234 { - yyl13 := r.ReadArrayStart() - if yyl13 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl13, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -208,12 +208,12 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys14Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys14Slc - var yyhl14 bool = l >= 0 - for yyj14 := 0; ; yyj14++ { - if yyhl14 { - if yyj14 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -222,32 +222,50 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys14Slc = r.DecodeBytes(yys14Slc, true, true) - yys14 := string(yys14Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys14 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv6 := &x.Name + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv8 := &x.APIVersion + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys14) - } // end switch yys14 - } // end for yyj14 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -255,16 +273,16 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj18 int - var yyb18 bool - var yyhl18 bool = l >= 0 - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb18 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb18 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -272,15 +290,21 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv11 := &x.Kind + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb18 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb18 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -288,15 +312,21 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv13 := &x.Name + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb18 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb18 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -304,20 +334,26 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } for { - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb18 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb18 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj18-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -329,81 +365,81 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym22 := z.EncBinary() - _ = yym22 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep23 := !z.EncBinary() - yy2arr23 := z.EncBasicHandle().StructToArray - var yyq23 [4]bool - _, _, _ = yysep23, yyq23, yy2arr23 - const yyr23 bool = false - yyq23[1] = x.MinReplicas != nil - yyq23[3] = x.TargetCPUUtilizationPercentage != nil - var yynn23 int - if yyr23 || yy2arr23 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.MinReplicas != nil + yyq2[3] = x.TargetCPUUtilizationPercentage != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn23 = 2 - for _, b := range yyq23 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn23++ + yynn2++ } } - r.EncodeMapStart(yynn23) - yynn23 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr23 || yy2arr23 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy25 := &x.ScaleTargetRef - yy25.CodecEncodeSelf(e) + yy4 := &x.ScaleTargetRef + yy4.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scaleTargetRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy26 := &x.ScaleTargetRef - yy26.CodecEncodeSelf(e) + yy6 := &x.ScaleTargetRef + yy6.CodecEncodeSelf(e) } - if yyr23 || yy2arr23 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq23[1] { + if yyq2[1] { if x.MinReplicas == nil { r.EncodeNil() } else { - yy28 := *x.MinReplicas - yym29 := z.EncBinary() - _ = yym29 + yy9 := *x.MinReplicas + yym10 := z.EncBinary() + _ = yym10 if false { } else { - r.EncodeInt(int64(yy28)) + r.EncodeInt(int64(yy9)) } } } else { r.EncodeNil() } } else { - if yyq23[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MinReplicas == nil { r.EncodeNil() } else { - yy30 := *x.MinReplicas - yym31 := z.EncBinary() - _ = yym31 + yy11 := *x.MinReplicas + yym12 := z.EncBinary() + _ = yym12 if false { } else { - r.EncodeInt(int64(yy30)) + r.EncodeInt(int64(yy11)) } } } } - if yyr23 || yy2arr23 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym33 := z.EncBinary() - _ = yym33 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeInt(int64(x.MaxReplicas)) @@ -412,49 +448,49 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym34 := z.EncBinary() - _ = yym34 + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeInt(int64(x.MaxReplicas)) } } - if yyr23 || yy2arr23 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq23[3] { + if yyq2[3] { if x.TargetCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy36 := *x.TargetCPUUtilizationPercentage - yym37 := z.EncBinary() - _ = yym37 + yy17 := *x.TargetCPUUtilizationPercentage + yym18 := z.EncBinary() + _ = yym18 if false { } else { - r.EncodeInt(int64(yy36)) + r.EncodeInt(int64(yy17)) } } } else { r.EncodeNil() } } else { - if yyq23[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetCPUUtilizationPercentage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TargetCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy38 := *x.TargetCPUUtilizationPercentage - yym39 := z.EncBinary() - _ = yym39 + yy19 := *x.TargetCPUUtilizationPercentage + yym20 := z.EncBinary() + _ = yym20 if false { } else { - r.EncodeInt(int64(yy38)) + r.EncodeInt(int64(yy19)) } } } } - if yyr23 || yy2arr23 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -467,25 +503,25 @@ func (x *HorizontalPodAutoscalerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym40 := z.DecBinary() - _ = yym40 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct41 := r.ContainerType() - if yyct41 == codecSelferValueTypeMap1234 { - yyl41 := r.ReadMapStart() - if yyl41 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl41, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct41 == codecSelferValueTypeArray1234 { - yyl41 := r.ReadArrayStart() - if yyl41 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl41, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -497,12 +533,12 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys42Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys42Slc - var yyhl42 bool = l >= 0 - for yyj42 := 0; ; yyj42++ { - if yyhl42 { - if yyj42 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -511,16 +547,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys42Slc = r.DecodeBytes(yys42Slc, true, true) - yys42 := string(yys42Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys42 { + switch yys3 { case "scaleTargetRef": if r.TryDecodeAsNil() { x.ScaleTargetRef = CrossVersionObjectReference{} } else { - yyv43 := &x.ScaleTargetRef - yyv43.CodecDecodeSelf(d) + yyv4 := &x.ScaleTargetRef + yyv4.CodecDecodeSelf(d) } case "minReplicas": if r.TryDecodeAsNil() { @@ -531,8 +567,8 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 if x.MinReplicas == nil { x.MinReplicas = new(int32) } - yym45 := z.DecBinary() - _ = yym45 + yym6 := z.DecBinary() + _ = yym6 if false { } else { *((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32)) @@ -542,7 +578,13 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 if r.TryDecodeAsNil() { x.MaxReplicas = 0 } else { - x.MaxReplicas = int32(r.DecodeInt(32)) + yyv7 := &x.MaxReplicas + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*int32)(yyv7)) = int32(r.DecodeInt(32)) + } } case "targetCPUUtilizationPercentage": if r.TryDecodeAsNil() { @@ -553,17 +595,17 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 if x.TargetCPUUtilizationPercentage == nil { x.TargetCPUUtilizationPercentage = new(int32) } - yym48 := z.DecBinary() - _ = yym48 + yym10 := z.DecBinary() + _ = yym10 if false { } else { *((*int32)(x.TargetCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys42) - } // end switch yys42 - } // end for yyj42 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -571,16 +613,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj49 int - var yyb49 bool - var yyhl49 bool = l >= 0 - yyj49++ - if yyhl49 { - yyb49 = yyj49 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb49 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb49 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -588,16 +630,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.ScaleTargetRef = CrossVersionObjectReference{} } else { - yyv50 := &x.ScaleTargetRef - yyv50.CodecDecodeSelf(d) + yyv12 := &x.ScaleTargetRef + yyv12.CodecDecodeSelf(d) } - yyj49++ - if yyhl49 { - yyb49 = yyj49 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb49 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb49 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -610,20 +652,20 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if x.MinReplicas == nil { x.MinReplicas = new(int32) } - yym52 := z.DecBinary() - _ = yym52 + yym14 := z.DecBinary() + _ = yym14 if false { } else { *((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32)) } } - yyj49++ - if yyhl49 { - yyb49 = yyj49 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb49 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb49 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -631,15 +673,21 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.MaxReplicas = 0 } else { - x.MaxReplicas = int32(r.DecodeInt(32)) + yyv15 := &x.MaxReplicas + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*int32)(yyv15)) = int32(r.DecodeInt(32)) + } } - yyj49++ - if yyhl49 { - yyb49 = yyj49 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb49 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb49 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -652,25 +700,25 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if x.TargetCPUUtilizationPercentage == nil { x.TargetCPUUtilizationPercentage = new(int32) } - yym55 := z.DecBinary() - _ = yym55 + yym18 := z.DecBinary() + _ = yym18 if false { } else { *((*int32)(x.TargetCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } for { - yyj49++ - if yyhl49 { - yyb49 = yyj49 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb49 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb49 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj49-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -682,80 +730,80 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym56 := z.EncBinary() - _ = yym56 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep57 := !z.EncBinary() - yy2arr57 := z.EncBasicHandle().StructToArray - var yyq57 [5]bool - _, _, _ = yysep57, yyq57, yy2arr57 - const yyr57 bool = false - yyq57[0] = x.ObservedGeneration != nil - yyq57[1] = x.LastScaleTime != nil - yyq57[4] = x.CurrentCPUUtilizationPercentage != nil - var yynn57 int - if yyr57 || yy2arr57 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.ObservedGeneration != nil + yyq2[1] = x.LastScaleTime != nil + yyq2[4] = x.CurrentCPUUtilizationPercentage != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn57 = 2 - for _, b := range yyq57 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn57++ + yynn2++ } } - r.EncodeMapStart(yynn57) - yynn57 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr57 || yy2arr57 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq57[0] { + if yyq2[0] { if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy59 := *x.ObservedGeneration - yym60 := z.EncBinary() - _ = yym60 + yy4 := *x.ObservedGeneration + yym5 := z.EncBinary() + _ = yym5 if false { } else { - r.EncodeInt(int64(yy59)) + r.EncodeInt(int64(yy4)) } } } else { r.EncodeNil() } } else { - if yyq57[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy61 := *x.ObservedGeneration - yym62 := z.EncBinary() - _ = yym62 + yy6 := *x.ObservedGeneration + yym7 := z.EncBinary() + _ = yym7 if false { } else { - r.EncodeInt(int64(yy61)) + r.EncodeInt(int64(yy6)) } } } } - if yyr57 || yy2arr57 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq57[1] { + if yyq2[1] { if x.LastScaleTime == nil { r.EncodeNil() } else { - yym64 := z.EncBinary() - _ = yym64 + yym9 := z.EncBinary() + _ = yym9 if false { } else if z.HasExtensions() && z.EncExt(x.LastScaleTime) { - } else if yym64 { + } else if yym9 { z.EncBinaryMarshal(x.LastScaleTime) - } else if !yym64 && z.IsJSONHandle() { + } else if !yym9 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScaleTime) } else { z.EncFallback(x.LastScaleTime) @@ -765,20 +813,20 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq57[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastScaleTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LastScaleTime == nil { r.EncodeNil() } else { - yym65 := z.EncBinary() - _ = yym65 + yym10 := z.EncBinary() + _ = yym10 if false { } else if z.HasExtensions() && z.EncExt(x.LastScaleTime) { - } else if yym65 { + } else if yym10 { z.EncBinaryMarshal(x.LastScaleTime) - } else if !yym65 && z.IsJSONHandle() { + } else if !yym10 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScaleTime) } else { z.EncFallback(x.LastScaleTime) @@ -786,10 +834,10 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr57 || yy2arr57 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym67 := z.EncBinary() - _ = yym67 + yym12 := z.EncBinary() + _ = yym12 if false { } else { r.EncodeInt(int64(x.CurrentReplicas)) @@ -798,17 +846,17 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym68 := z.EncBinary() - _ = yym68 + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeInt(int64(x.CurrentReplicas)) } } - if yyr57 || yy2arr57 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym70 := z.EncBinary() - _ = yym70 + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeInt(int64(x.DesiredReplicas)) @@ -817,49 +865,49 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym71 := z.EncBinary() - _ = yym71 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeInt(int64(x.DesiredReplicas)) } } - if yyr57 || yy2arr57 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq57[4] { + if yyq2[4] { if x.CurrentCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy73 := *x.CurrentCPUUtilizationPercentage - yym74 := z.EncBinary() - _ = yym74 + yy18 := *x.CurrentCPUUtilizationPercentage + yym19 := z.EncBinary() + _ = yym19 if false { } else { - r.EncodeInt(int64(yy73)) + r.EncodeInt(int64(yy18)) } } } else { r.EncodeNil() } } else { - if yyq57[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentCPUUtilizationPercentage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CurrentCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy75 := *x.CurrentCPUUtilizationPercentage - yym76 := z.EncBinary() - _ = yym76 + yy20 := *x.CurrentCPUUtilizationPercentage + yym21 := z.EncBinary() + _ = yym21 if false { } else { - r.EncodeInt(int64(yy75)) + r.EncodeInt(int64(yy20)) } } } } - if yyr57 || yy2arr57 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -872,25 +920,25 @@ func (x *HorizontalPodAutoscalerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym77 := z.DecBinary() - _ = yym77 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct78 := r.ContainerType() - if yyct78 == codecSelferValueTypeMap1234 { - yyl78 := r.ReadMapStart() - if yyl78 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl78, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct78 == codecSelferValueTypeArray1234 { - yyl78 := r.ReadArrayStart() - if yyl78 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl78, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -902,12 +950,12 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys79Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys79Slc - var yyhl79 bool = l >= 0 - for yyj79 := 0; ; yyj79++ { - if yyhl79 { - if yyj79 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -916,10 +964,10 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys79Slc = r.DecodeBytes(yys79Slc, true, true) - yys79 := string(yys79Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys79 { + switch yys3 { case "observedGeneration": if r.TryDecodeAsNil() { if x.ObservedGeneration != nil { @@ -929,8 +977,8 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym81 := z.DecBinary() - _ = yym81 + yym5 := z.DecBinary() + _ = yym5 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) @@ -945,13 +993,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.LastScaleTime == nil { x.LastScaleTime = new(pkg1_v1.Time) } - yym83 := z.DecBinary() - _ = yym83 + yym7 := z.DecBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.DecExt(x.LastScaleTime) { - } else if yym83 { + } else if yym7 { z.DecBinaryUnmarshal(x.LastScaleTime) - } else if !yym83 && z.IsJSONHandle() { + } else if !yym7 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScaleTime) } else { z.DecFallback(x.LastScaleTime, false) @@ -961,13 +1009,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if r.TryDecodeAsNil() { x.CurrentReplicas = 0 } else { - x.CurrentReplicas = int32(r.DecodeInt(32)) + yyv8 := &x.CurrentReplicas + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*int32)(yyv8)) = int32(r.DecodeInt(32)) + } } case "desiredReplicas": if r.TryDecodeAsNil() { x.DesiredReplicas = 0 } else { - x.DesiredReplicas = int32(r.DecodeInt(32)) + yyv10 := &x.DesiredReplicas + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*int32)(yyv10)) = int32(r.DecodeInt(32)) + } } case "currentCPUUtilizationPercentage": if r.TryDecodeAsNil() { @@ -978,17 +1038,17 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.CurrentCPUUtilizationPercentage == nil { x.CurrentCPUUtilizationPercentage = new(int32) } - yym87 := z.DecBinary() - _ = yym87 + yym13 := z.DecBinary() + _ = yym13 if false { } else { *((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys79) - } // end switch yys79 - } // end for yyj79 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -996,16 +1056,16 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj88 int - var yyb88 bool - var yyhl88 bool = l >= 0 - yyj88++ - if yyhl88 { - yyb88 = yyj88 > l + var yyj14 int + var yyb14 bool + var yyhl14 bool = l >= 0 + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb88 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb88 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1018,20 +1078,20 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym90 := z.DecBinary() - _ = yym90 + yym16 := z.DecBinary() + _ = yym16 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) } } - yyj88++ - if yyhl88 { - yyb88 = yyj88 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb88 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb88 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1044,25 +1104,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.LastScaleTime == nil { x.LastScaleTime = new(pkg1_v1.Time) } - yym92 := z.DecBinary() - _ = yym92 + yym18 := z.DecBinary() + _ = yym18 if false { } else if z.HasExtensions() && z.DecExt(x.LastScaleTime) { - } else if yym92 { + } else if yym18 { z.DecBinaryUnmarshal(x.LastScaleTime) - } else if !yym92 && z.IsJSONHandle() { + } else if !yym18 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScaleTime) } else { z.DecFallback(x.LastScaleTime, false) } } - yyj88++ - if yyhl88 { - yyb88 = yyj88 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb88 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb88 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1070,15 +1130,21 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.CurrentReplicas = 0 } else { - x.CurrentReplicas = int32(r.DecodeInt(32)) + yyv19 := &x.CurrentReplicas + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*int32)(yyv19)) = int32(r.DecodeInt(32)) + } } - yyj88++ - if yyhl88 { - yyb88 = yyj88 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb88 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb88 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1086,15 +1152,21 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.DesiredReplicas = 0 } else { - x.DesiredReplicas = int32(r.DecodeInt(32)) + yyv21 := &x.DesiredReplicas + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*int32)(yyv21)) = int32(r.DecodeInt(32)) + } } - yyj88++ - if yyhl88 { - yyb88 = yyj88 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb88 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb88 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1107,25 +1179,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.CurrentCPUUtilizationPercentage == nil { x.CurrentCPUUtilizationPercentage = new(int32) } - yym96 := z.DecBinary() - _ = yym96 + yym24 := z.DecBinary() + _ = yym24 if false { } else { *((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } for { - yyj88++ - if yyhl88 { - yyb88 = yyj88 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb88 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb88 { + if yyb14 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj88-1, "") + z.DecStructFieldNotFound(yyj14-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1137,39 +1209,39 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym97 := z.EncBinary() - _ = yym97 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep98 := !z.EncBinary() - yy2arr98 := z.EncBasicHandle().StructToArray - var yyq98 [5]bool - _, _, _ = yysep98, yyq98, yy2arr98 - const yyr98 bool = false - yyq98[0] = x.Kind != "" - yyq98[1] = x.APIVersion != "" - yyq98[2] = true - yyq98[3] = true - yyq98[4] = true - var yynn98 int - if yyr98 || yy2arr98 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn98 = 0 - for _, b := range yyq98 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn98++ + yynn2++ } } - r.EncodeMapStart(yynn98) - yynn98 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr98 || yy2arr98 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq98[0] { - yym100 := z.EncBinary() - _ = yym100 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1178,23 +1250,23 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq98[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym101 := z.EncBinary() - _ = yym101 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr98 || yy2arr98 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq98[1] { - yym103 := z.EncBinary() - _ = yym103 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1203,70 +1275,70 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq98[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym104 := z.EncBinary() - _ = yym104 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr98 || yy2arr98 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq98[2] { - yy106 := &x.ObjectMeta - yy106.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq98[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy107 := &x.ObjectMeta - yy107.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr98 || yy2arr98 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq98[3] { - yy109 := &x.Spec - yy109.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq98[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy110 := &x.Spec - yy110.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr98 || yy2arr98 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq98[4] { - yy112 := &x.Status - yy112.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq98[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy113 := &x.Status - yy113.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr98 || yy2arr98 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1279,25 +1351,25 @@ func (x *HorizontalPodAutoscaler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym114 := z.DecBinary() - _ = yym114 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct115 := r.ContainerType() - if yyct115 == codecSelferValueTypeMap1234 { - yyl115 := r.ReadMapStart() - if yyl115 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl115, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct115 == codecSelferValueTypeArray1234 { - yyl115 := r.ReadArrayStart() - if yyl115 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl115, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1309,12 +1381,12 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys116Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys116Slc - var yyhl116 bool = l >= 0 - for yyj116 := 0; ; yyj116++ { - if yyhl116 { - if yyj116 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1323,47 +1395,59 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys116Slc = r.DecodeBytes(yys116Slc, true, true) - yys116 := string(yys116Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys116 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv119 := &x.ObjectMeta - yyv119.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = HorizontalPodAutoscalerSpec{} } else { - yyv120 := &x.Spec - yyv120.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = HorizontalPodAutoscalerStatus{} } else { - yyv121 := &x.Status - yyv121.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys116) - } // end switch yys116 - } // end for yyj116 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1371,16 +1455,16 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj122 int - var yyb122 bool - var yyhl122 bool = l >= 0 - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb122 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb122 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1388,15 +1472,21 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb122 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb122 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1404,15 +1494,21 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb122 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb122 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1420,16 +1516,16 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv125 := &x.ObjectMeta - yyv125.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb122 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb122 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1437,16 +1533,16 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Spec = HorizontalPodAutoscalerSpec{} } else { - yyv126 := &x.Spec - yyv126.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb122 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb122 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1454,21 +1550,21 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Status = HorizontalPodAutoscalerStatus{} } else { - yyv127 := &x.Status - yyv127.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj122++ - if yyhl122 { - yyb122 = yyj122 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb122 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb122 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj122-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1480,37 +1576,37 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym128 := z.EncBinary() - _ = yym128 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep129 := !z.EncBinary() - yy2arr129 := z.EncBasicHandle().StructToArray - var yyq129 [4]bool - _, _, _ = yysep129, yyq129, yy2arr129 - const yyr129 bool = false - yyq129[0] = x.Kind != "" - yyq129[1] = x.APIVersion != "" - yyq129[2] = true - var yynn129 int - if yyr129 || yy2arr129 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn129 = 1 - for _, b := range yyq129 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn129++ + yynn2++ } } - r.EncodeMapStart(yynn129) - yynn129 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr129 || yy2arr129 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq129[0] { - yym131 := z.EncBinary() - _ = yym131 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1519,23 +1615,23 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq129[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym132 := z.EncBinary() - _ = yym132 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr129 || yy2arr129 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq129[1] { - yym134 := z.EncBinary() - _ = yym134 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1544,54 +1640,54 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq129[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym135 := z.EncBinary() - _ = yym135 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr129 || yy2arr129 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq129[2] { - yy137 := &x.ListMeta - yym138 := z.EncBinary() - _ = yym138 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy137) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy137) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq129[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy139 := &x.ListMeta - yym140 := z.EncBinary() - _ = yym140 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy139) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy139) + z.EncFallback(yy12) } } } - if yyr129 || yy2arr129 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym142 := z.EncBinary() - _ = yym142 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceHorizontalPodAutoscaler(([]HorizontalPodAutoscaler)(x.Items), e) @@ -1604,15 +1700,15 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym143 := z.EncBinary() - _ = yym143 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceHorizontalPodAutoscaler(([]HorizontalPodAutoscaler)(x.Items), e) } } } - if yyr129 || yy2arr129 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1625,25 +1721,25 @@ func (x *HorizontalPodAutoscalerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym144 := z.DecBinary() - _ = yym144 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct145 := r.ContainerType() - if yyct145 == codecSelferValueTypeMap1234 { - yyl145 := r.ReadMapStart() - if yyl145 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl145, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct145 == codecSelferValueTypeArray1234 { - yyl145 := r.ReadArrayStart() - if yyl145 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl145, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1655,12 +1751,12 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys146Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys146Slc - var yyhl146 bool = l >= 0 - for yyj146 := 0; ; yyj146++ { - if yyhl146 { - if yyj146 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1669,51 +1765,63 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys146Slc = r.DecodeBytes(yys146Slc, true, true) - yys146 := string(yys146Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys146 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv149 := &x.ListMeta - yym150 := z.DecBinary() - _ = yym150 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv149) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv149, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv151 := &x.Items - yym152 := z.DecBinary() - _ = yym152 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv151), d) + h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys146) - } // end switch yys146 - } // end for yyj146 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1721,16 +1829,16 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj153 int - var yyb153 bool - var yyhl153 bool = l >= 0 - yyj153++ - if yyhl153 { - yyb153 = yyj153 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb153 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb153 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1738,15 +1846,21 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj153++ - if yyhl153 { - yyb153 = yyj153 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb153 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb153 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1754,15 +1868,21 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj153++ - if yyhl153 { - yyb153 = yyj153 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb153 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb153 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1770,22 +1890,22 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv156 := &x.ListMeta - yym157 := z.DecBinary() - _ = yym157 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv156) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv156, false) + z.DecFallback(yyv17, false) } } - yyj153++ - if yyhl153 { - yyb153 = yyj153 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb153 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb153 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1793,26 +1913,26 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv158 := &x.Items - yym159 := z.DecBinary() - _ = yym159 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv158), d) + h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv19), d) } } for { - yyj153++ - if yyhl153 { - yyb153 = yyj153 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb153 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb153 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj153-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1824,39 +1944,39 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym160 := z.EncBinary() - _ = yym160 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep161 := !z.EncBinary() - yy2arr161 := z.EncBasicHandle().StructToArray - var yyq161 [5]bool - _, _, _ = yysep161, yyq161, yy2arr161 - const yyr161 bool = false - yyq161[0] = x.Kind != "" - yyq161[1] = x.APIVersion != "" - yyq161[2] = true - yyq161[3] = true - yyq161[4] = true - var yynn161 int - if yyr161 || yy2arr161 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn161 = 0 - for _, b := range yyq161 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn161++ + yynn2++ } } - r.EncodeMapStart(yynn161) - yynn161 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr161 || yy2arr161 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[0] { - yym163 := z.EncBinary() - _ = yym163 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1865,23 +1985,23 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq161[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym164 := z.EncBinary() - _ = yym164 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr161 || yy2arr161 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[1] { - yym166 := z.EncBinary() - _ = yym166 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1890,70 +2010,70 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq161[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym167 := z.EncBinary() - _ = yym167 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr161 || yy2arr161 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[2] { - yy169 := &x.ObjectMeta - yy169.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq161[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy170 := &x.ObjectMeta - yy170.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr161 || yy2arr161 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[3] { - yy172 := &x.Spec - yy172.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq161[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy173 := &x.Spec - yy173.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr161 || yy2arr161 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[4] { - yy175 := &x.Status - yy175.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq161[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy176 := &x.Status - yy176.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr161 || yy2arr161 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1966,25 +2086,25 @@ func (x *Scale) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym177 := z.DecBinary() - _ = yym177 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct178 := r.ContainerType() - if yyct178 == codecSelferValueTypeMap1234 { - yyl178 := r.ReadMapStart() - if yyl178 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl178, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct178 == codecSelferValueTypeArray1234 { - yyl178 := r.ReadArrayStart() - if yyl178 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl178, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1996,12 +2116,12 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys179Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys179Slc - var yyhl179 bool = l >= 0 - for yyj179 := 0; ; yyj179++ { - if yyhl179 { - if yyj179 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2010,47 +2130,59 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys179Slc = r.DecodeBytes(yys179Slc, true, true) - yys179 := string(yys179Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys179 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv182 := &x.ObjectMeta - yyv182.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ScaleSpec{} } else { - yyv183 := &x.Spec - yyv183.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ScaleStatus{} } else { - yyv184 := &x.Status - yyv184.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys179) - } // end switch yys179 - } // end for yyj179 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2058,16 +2190,16 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj185 int - var yyb185 bool - var yyhl185 bool = l >= 0 - yyj185++ - if yyhl185 { - yyb185 = yyj185 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb185 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb185 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2075,15 +2207,21 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj185++ - if yyhl185 { - yyb185 = yyj185 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb185 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb185 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2091,15 +2229,21 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj185++ - if yyhl185 { - yyb185 = yyj185 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb185 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb185 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2107,16 +2251,16 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv188 := &x.ObjectMeta - yyv188.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj185++ - if yyhl185 { - yyb185 = yyj185 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb185 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb185 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2124,16 +2268,16 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ScaleSpec{} } else { - yyv189 := &x.Spec - yyv189.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj185++ - if yyhl185 { - yyb185 = yyj185 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb185 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb185 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2141,21 +2285,21 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ScaleStatus{} } else { - yyv190 := &x.Status - yyv190.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj185++ - if yyhl185 { - yyb185 = yyj185 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb185 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb185 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj185-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2167,35 +2311,35 @@ func (x *ScaleSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym191 := z.EncBinary() - _ = yym191 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep192 := !z.EncBinary() - yy2arr192 := z.EncBasicHandle().StructToArray - var yyq192 [1]bool - _, _, _ = yysep192, yyq192, yy2arr192 - const yyr192 bool = false - yyq192[0] = x.Replicas != 0 - var yynn192 int - if yyr192 || yy2arr192 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Replicas != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn192 = 0 - for _, b := range yyq192 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn192++ + yynn2++ } } - r.EncodeMapStart(yynn192) - yynn192 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr192 || yy2arr192 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq192[0] { - yym194 := z.EncBinary() - _ = yym194 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -2204,19 +2348,19 @@ func (x *ScaleSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq192[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym195 := z.EncBinary() - _ = yym195 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.Replicas)) } } } - if yyr192 || yy2arr192 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2229,25 +2373,25 @@ func (x *ScaleSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym196 := z.DecBinary() - _ = yym196 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct197 := r.ContainerType() - if yyct197 == codecSelferValueTypeMap1234 { - yyl197 := r.ReadMapStart() - if yyl197 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl197, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct197 == codecSelferValueTypeArray1234 { - yyl197 := r.ReadArrayStart() - if yyl197 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl197, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2259,12 +2403,12 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys198Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys198Slc - var yyhl198 bool = l >= 0 - for yyj198 := 0; ; yyj198++ { - if yyhl198 { - if yyj198 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2273,20 +2417,26 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys198Slc = r.DecodeBytes(yys198Slc, true, true) - yys198 := string(yys198Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys198 { + switch yys3 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int32(r.DecodeInt(32)) + yyv4 := &x.Replicas + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int32)(yyv4)) = int32(r.DecodeInt(32)) + } } default: - z.DecStructFieldNotFound(-1, yys198) - } // end switch yys198 - } // end for yyj198 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2294,16 +2444,16 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj200 int - var yyb200 bool - var yyhl200 bool = l >= 0 - yyj200++ - if yyhl200 { - yyb200 = yyj200 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb200 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb200 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2311,20 +2461,26 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int32(r.DecodeInt(32)) + yyv7 := &x.Replicas + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*int32)(yyv7)) = int32(r.DecodeInt(32)) + } } for { - yyj200++ - if yyhl200 { - yyb200 = yyj200 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb200 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb200 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj200-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2336,34 +2492,34 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym202 := z.EncBinary() - _ = yym202 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep203 := !z.EncBinary() - yy2arr203 := z.EncBasicHandle().StructToArray - var yyq203 [2]bool - _, _, _ = yysep203, yyq203, yy2arr203 - const yyr203 bool = false - yyq203[1] = x.Selector != "" - var yynn203 int - if yyr203 || yy2arr203 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.Selector != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn203 = 1 - for _, b := range yyq203 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn203++ + yynn2++ } } - r.EncodeMapStart(yynn203) - yynn203 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr203 || yy2arr203 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym205 := z.EncBinary() - _ = yym205 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -2372,18 +2528,18 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym206 := z.EncBinary() - _ = yym206 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr203 || yy2arr203 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq203[1] { - yym208 := z.EncBinary() - _ = yym208 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Selector)) @@ -2392,19 +2548,19 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq203[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym209 := z.EncBinary() - _ = yym209 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Selector)) } } } - if yyr203 || yy2arr203 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2417,25 +2573,25 @@ func (x *ScaleStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym210 := z.DecBinary() - _ = yym210 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct211 := r.ContainerType() - if yyct211 == codecSelferValueTypeMap1234 { - yyl211 := r.ReadMapStart() - if yyl211 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl211, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct211 == codecSelferValueTypeArray1234 { - yyl211 := r.ReadArrayStart() - if yyl211 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl211, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2447,12 +2603,12 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys212Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys212Slc - var yyhl212 bool = l >= 0 - for yyj212 := 0; ; yyj212++ { - if yyhl212 { - if yyj212 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2461,26 +2617,38 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys212Slc = r.DecodeBytes(yys212Slc, true, true) - yys212 := string(yys212Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys212 { + switch yys3 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int32(r.DecodeInt(32)) + yyv4 := &x.Replicas + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int32)(yyv4)) = int32(r.DecodeInt(32)) + } } case "selector": if r.TryDecodeAsNil() { x.Selector = "" } else { - x.Selector = string(r.DecodeString()) + yyv6 := &x.Selector + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys212) - } // end switch yys212 - } // end for yyj212 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2488,16 +2656,16 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj215 int - var yyb215 bool - var yyhl215 bool = l >= 0 - yyj215++ - if yyhl215 { - yyb215 = yyj215 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb215 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb215 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2505,15 +2673,21 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int32(r.DecodeInt(32)) + yyv9 := &x.Replicas + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*int32)(yyv9)) = int32(r.DecodeInt(32)) + } } - yyj215++ - if yyhl215 { - yyb215 = yyj215 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb215 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb215 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2521,20 +2695,26 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = "" } else { - x.Selector = string(r.DecodeString()) + yyv11 := &x.Selector + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj215++ - if yyhl215 { - yyb215 = yyj215 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb215 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb215 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj215-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2544,10 +2724,10 @@ func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutosc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv218 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy219 := &yyv218 - yy219.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2557,83 +2737,86 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv220 := *v - yyh220, yyl220 := z.DecSliceHelperStart() - var yyc220 bool - if yyl220 == 0 { - if yyv220 == nil { - yyv220 = []HorizontalPodAutoscaler{} - yyc220 = true - } else if len(yyv220) != 0 { - yyv220 = yyv220[:0] - yyc220 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []HorizontalPodAutoscaler{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl220 > 0 { - var yyrr220, yyrl220 int - var yyrt220 bool - if yyl220 > cap(yyv220) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg220 := len(yyv220) > 0 - yyv2220 := yyv220 - yyrl220, yyrt220 = z.DecInferLen(yyl220, z.DecBasicHandle().MaxInitLen, 360) - if yyrt220 { - if yyrl220 <= cap(yyv220) { - yyv220 = yyv220[:yyrl220] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 360) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv220 = make([]HorizontalPodAutoscaler, yyrl220) + yyv1 = make([]HorizontalPodAutoscaler, yyrl1) } } else { - yyv220 = make([]HorizontalPodAutoscaler, yyrl220) + yyv1 = make([]HorizontalPodAutoscaler, yyrl1) } - yyc220 = true - yyrr220 = len(yyv220) - if yyrg220 { - copy(yyv220, yyv2220) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl220 != len(yyv220) { - yyv220 = yyv220[:yyl220] - yyc220 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj220 := 0 - for ; yyj220 < yyrr220; yyj220++ { - yyh220.ElemContainerState(yyj220) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv220[yyj220] = HorizontalPodAutoscaler{} + yyv1[yyj1] = HorizontalPodAutoscaler{} } else { - yyv221 := &yyv220[yyj220] - yyv221.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt220 { - for ; yyj220 < yyl220; yyj220++ { - yyv220 = append(yyv220, HorizontalPodAutoscaler{}) - yyh220.ElemContainerState(yyj220) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, HorizontalPodAutoscaler{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv220[yyj220] = HorizontalPodAutoscaler{} + yyv1[yyj1] = HorizontalPodAutoscaler{} } else { - yyv222 := &yyv220[yyj220] - yyv222.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj220 := 0 - for ; !r.CheckBreak(); yyj220++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj220 >= len(yyv220) { - yyv220 = append(yyv220, HorizontalPodAutoscaler{}) // var yyz220 HorizontalPodAutoscaler - yyc220 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, HorizontalPodAutoscaler{}) // var yyz1 HorizontalPodAutoscaler + yyc1 = true } - yyh220.ElemContainerState(yyj220) - if yyj220 < len(yyv220) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv220[yyj220] = HorizontalPodAutoscaler{} + yyv1[yyj1] = HorizontalPodAutoscaler{} } else { - yyv223 := &yyv220[yyj220] - yyv223.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -2641,16 +2824,16 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } } - if yyj220 < len(yyv220) { - yyv220 = yyv220[:yyj220] - yyc220 = true - } else if yyj220 == 0 && yyv220 == nil { - yyv220 = []HorizontalPodAutoscaler{} - yyc220 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []HorizontalPodAutoscaler{} + yyc1 = true } } - yyh220.End() - if yyc220 { - *v = yyv220 + yyh1.End() + if yyc1 { + *v = yyv1 } } diff --git a/pkg/apis/autoscaling/v1/types.go b/pkg/apis/autoscaling/v1/types.go index b741c035..6ad8a5f3 100644 --- a/pkg/apis/autoscaling/v1/types.go +++ b/pkg/apis/autoscaling/v1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // CrossVersionObjectReference contains enough information to let you identify the referred resource. diff --git a/pkg/apis/autoscaling/v1/zz_generated.conversion.go b/pkg/apis/autoscaling/v1/zz_generated.conversion.go index 5c02a883..749d68be 100644 --- a/pkg/apis/autoscaling/v1/zz_generated.conversion.go +++ b/pkg/apis/autoscaling/v1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" autoscaling "k8s.io/client-go/pkg/apis/autoscaling" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" unsafe "unsafe" ) diff --git a/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go b/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go index d09f240f..68338488 100644 --- a/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go +++ b/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api_v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -51,9 +51,7 @@ func DeepCopy_v1_CrossVersionObjectReference(in interface{}, out interface{}, c { in := in.(*CrossVersionObjectReference) out := out.(*CrossVersionObjectReference) - out.Kind = in.Kind - out.Name = in.Name - out.APIVersion = in.APIVersion + *out = *in return nil } } @@ -62,7 +60,7 @@ func DeepCopy_v1_HorizontalPodAutoscaler(in interface{}, out interface{}, c *con { in := in.(*HorizontalPodAutoscaler) out := out.(*HorizontalPodAutoscaler) - out.TypeMeta = in.TypeMeta + *out = *in if err := api_v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -80,8 +78,7 @@ func DeepCopy_v1_HorizontalPodAutoscalerList(in interface{}, out interface{}, c { in := in.(*HorizontalPodAutoscalerList) out := out.(*HorizontalPodAutoscalerList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]HorizontalPodAutoscaler, len(*in)) @@ -90,8 +87,6 @@ func DeepCopy_v1_HorizontalPodAutoscalerList(in interface{}, out interface{}, c return err } } - } else { - out.Items = nil } return nil } @@ -101,21 +96,16 @@ func DeepCopy_v1_HorizontalPodAutoscalerSpec(in interface{}, out interface{}, c { in := in.(*HorizontalPodAutoscalerSpec) out := out.(*HorizontalPodAutoscalerSpec) - out.ScaleTargetRef = in.ScaleTargetRef + *out = *in if in.MinReplicas != nil { in, out := &in.MinReplicas, &out.MinReplicas *out = new(int32) **out = **in - } else { - out.MinReplicas = nil } - out.MaxReplicas = in.MaxReplicas if in.TargetCPUUtilizationPercentage != nil { in, out := &in.TargetCPUUtilizationPercentage, &out.TargetCPUUtilizationPercentage *out = new(int32) **out = **in - } else { - out.TargetCPUUtilizationPercentage = nil } return nil } @@ -125,28 +115,21 @@ func DeepCopy_v1_HorizontalPodAutoscalerStatus(in interface{}, out interface{}, { in := in.(*HorizontalPodAutoscalerStatus) out := out.(*HorizontalPodAutoscalerStatus) + *out = *in if in.ObservedGeneration != nil { in, out := &in.ObservedGeneration, &out.ObservedGeneration *out = new(int64) **out = **in - } else { - out.ObservedGeneration = nil } if in.LastScaleTime != nil { in, out := &in.LastScaleTime, &out.LastScaleTime *out = new(meta_v1.Time) **out = (*in).DeepCopy() - } else { - out.LastScaleTime = nil } - out.CurrentReplicas = in.CurrentReplicas - out.DesiredReplicas = in.DesiredReplicas if in.CurrentCPUUtilizationPercentage != nil { in, out := &in.CurrentCPUUtilizationPercentage, &out.CurrentCPUUtilizationPercentage *out = new(int32) **out = **in - } else { - out.CurrentCPUUtilizationPercentage = nil } return nil } @@ -156,12 +139,10 @@ func DeepCopy_v1_Scale(in interface{}, out interface{}, c *conversion.Cloner) er { in := in.(*Scale) out := out.(*Scale) - out.TypeMeta = in.TypeMeta + *out = *in if err := api_v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Spec = in.Spec - out.Status = in.Status return nil } } @@ -170,7 +151,7 @@ func DeepCopy_v1_ScaleSpec(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*ScaleSpec) out := out.(*ScaleSpec) - out.Replicas = in.Replicas + *out = *in return nil } } @@ -179,8 +160,7 @@ func DeepCopy_v1_ScaleStatus(in interface{}, out interface{}, c *conversion.Clon { in := in.(*ScaleStatus) out := out.(*ScaleStatus) - out.Replicas = in.Replicas - out.Selector = in.Selector + *out = *in return nil } } diff --git a/pkg/apis/autoscaling/v1/zz_generated.defaults.go b/pkg/apis/autoscaling/v1/zz_generated.defaults.go index db483be8..af20e988 100644 --- a/pkg/apis/autoscaling/v1/zz_generated.defaults.go +++ b/pkg/apis/autoscaling/v1/zz_generated.defaults.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ limitations under the License. package v1 import ( - runtime "k8s.io/client-go/pkg/runtime" + runtime "k8s.io/apimachinery/pkg/runtime" ) // RegisterDefaults adds defaulters functions to the given scheme. diff --git a/pkg/apis/autoscaling/zz_generated.deepcopy.go b/pkg/apis/autoscaling/zz_generated.deepcopy.go index afd2def4..647db5ae 100644 --- a/pkg/apis/autoscaling/zz_generated.deepcopy.go +++ b/pkg/apis/autoscaling/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ limitations under the License. package autoscaling import ( + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" - v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -51,9 +51,7 @@ func DeepCopy_autoscaling_CrossVersionObjectReference(in interface{}, out interf { in := in.(*CrossVersionObjectReference) out := out.(*CrossVersionObjectReference) - out.Kind = in.Kind - out.Name = in.Name - out.APIVersion = in.APIVersion + *out = *in return nil } } @@ -62,7 +60,7 @@ func DeepCopy_autoscaling_HorizontalPodAutoscaler(in interface{}, out interface{ { in := in.(*HorizontalPodAutoscaler) out := out.(*HorizontalPodAutoscaler) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -80,8 +78,7 @@ func DeepCopy_autoscaling_HorizontalPodAutoscalerList(in interface{}, out interf { in := in.(*HorizontalPodAutoscalerList) out := out.(*HorizontalPodAutoscalerList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]HorizontalPodAutoscaler, len(*in)) @@ -90,8 +87,6 @@ func DeepCopy_autoscaling_HorizontalPodAutoscalerList(in interface{}, out interf return err } } - } else { - out.Items = nil } return nil } @@ -101,21 +96,16 @@ func DeepCopy_autoscaling_HorizontalPodAutoscalerSpec(in interface{}, out interf { in := in.(*HorizontalPodAutoscalerSpec) out := out.(*HorizontalPodAutoscalerSpec) - out.ScaleTargetRef = in.ScaleTargetRef + *out = *in if in.MinReplicas != nil { in, out := &in.MinReplicas, &out.MinReplicas *out = new(int32) **out = **in - } else { - out.MinReplicas = nil } - out.MaxReplicas = in.MaxReplicas if in.TargetCPUUtilizationPercentage != nil { in, out := &in.TargetCPUUtilizationPercentage, &out.TargetCPUUtilizationPercentage *out = new(int32) **out = **in - } else { - out.TargetCPUUtilizationPercentage = nil } return nil } @@ -125,28 +115,21 @@ func DeepCopy_autoscaling_HorizontalPodAutoscalerStatus(in interface{}, out inte { in := in.(*HorizontalPodAutoscalerStatus) out := out.(*HorizontalPodAutoscalerStatus) + *out = *in if in.ObservedGeneration != nil { in, out := &in.ObservedGeneration, &out.ObservedGeneration *out = new(int64) **out = **in - } else { - out.ObservedGeneration = nil } if in.LastScaleTime != nil { in, out := &in.LastScaleTime, &out.LastScaleTime *out = new(v1.Time) **out = (*in).DeepCopy() - } else { - out.LastScaleTime = nil } - out.CurrentReplicas = in.CurrentReplicas - out.DesiredReplicas = in.DesiredReplicas if in.CurrentCPUUtilizationPercentage != nil { in, out := &in.CurrentCPUUtilizationPercentage, &out.CurrentCPUUtilizationPercentage *out = new(int32) **out = **in - } else { - out.CurrentCPUUtilizationPercentage = nil } return nil } @@ -156,12 +139,10 @@ func DeepCopy_autoscaling_Scale(in interface{}, out interface{}, c *conversion.C { in := in.(*Scale) out := out.(*Scale) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Spec = in.Spec - out.Status = in.Status return nil } } @@ -170,7 +151,7 @@ func DeepCopy_autoscaling_ScaleSpec(in interface{}, out interface{}, c *conversi { in := in.(*ScaleSpec) out := out.(*ScaleSpec) - out.Replicas = in.Replicas + *out = *in return nil } } @@ -179,8 +160,7 @@ func DeepCopy_autoscaling_ScaleStatus(in interface{}, out interface{}, c *conver { in := in.(*ScaleStatus) out := out.(*ScaleStatus) - out.Replicas = in.Replicas - out.Selector = in.Selector + *out = *in return nil } } diff --git a/pkg/apis/batch/register.go b/pkg/apis/batch/register.go index c322cf96..ba2190a5 100644 --- a/pkg/apis/batch/register.go +++ b/pkg/apis/batch/register.go @@ -17,9 +17,9 @@ limitations under the License. package batch import ( + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) // GroupName is the group name use in this package diff --git a/pkg/apis/batch/types.go b/pkg/apis/batch/types.go index 6904b24a..8887b916 100644 --- a/pkg/apis/batch/types.go +++ b/pkg/apis/batch/types.go @@ -17,8 +17,8 @@ limitations under the License. package batch import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // +genclient=true diff --git a/pkg/apis/batch/v1/conversion.go b/pkg/apis/batch/v1/conversion.go index 17024769..c509d4a4 100644 --- a/pkg/apis/batch/v1/conversion.go +++ b/pkg/apis/batch/v1/conversion.go @@ -19,11 +19,11 @@ package v1 import ( "fmt" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" "k8s.io/client-go/pkg/apis/batch" - "k8s.io/client-go/pkg/conversion" - "k8s.io/client-go/pkg/runtime" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/apis/batch/v1/defaults.go b/pkg/apis/batch/v1/defaults.go index 3fcb01b0..3603247f 100644 --- a/pkg/apis/batch/v1/defaults.go +++ b/pkg/apis/batch/v1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/apis/batch/v1/generated.pb.go b/pkg/apis/batch/v1/generated.pb.go index 53d3e62a..9e24ce7c 100644 --- a/pkg/apis/batch/v1/generated.pb.go +++ b/pkg/apis/batch/v1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -37,8 +37,9 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" +import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1" -import k8s_io_kubernetes_pkg_apis_meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" import strings "strings" import reflect "reflect" @@ -120,6 +121,14 @@ func (m *Job) MarshalTo(data []byte) (int, error) { return 0, err } i += n3 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n4, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n4 return i, nil } @@ -149,19 +158,19 @@ func (m *JobCondition) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.LastProbeTime.Size())) - n4, err := m.LastProbeTime.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n4 - data[i] = 0x22 - i++ - i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) - n5, err := m.LastTransitionTime.MarshalTo(data[i:]) + n5, err := m.LastProbeTime.MarshalTo(data[i:]) if err != nil { return 0, err } i += n5 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) + n6, err := m.LastTransitionTime.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n6 data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) @@ -191,11 +200,11 @@ func (m *JobList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n6, err := m.ListMeta.MarshalTo(data[i:]) + n7, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n6 + i += n7 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -208,6 +217,14 @@ func (m *JobList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n8, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n8 return i, nil } @@ -245,11 +262,11 @@ func (m *JobSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n7, err := m.Selector.MarshalTo(data[i:]) + n9, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n7 + i += n9 } if m.ManualSelector != nil { data[i] = 0x28 @@ -264,11 +281,11 @@ func (m *JobSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x32 i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n8, err := m.Template.MarshalTo(data[i:]) + n10, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n8 + i += n10 return i, nil } @@ -303,21 +320,21 @@ func (m *JobStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.StartTime.Size())) - n9, err := m.StartTime.MarshalTo(data[i:]) + n11, err := m.StartTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n9 + i += n11 } if m.CompletionTime != nil { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.CompletionTime.Size())) - n10, err := m.CompletionTime.MarshalTo(data[i:]) + n12, err := m.CompletionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n10 + i += n12 } data[i] = 0x20 i++ @@ -367,6 +384,8 @@ func (m *Job) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -399,6 +418,8 @@ func (m *JobList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -470,6 +491,7 @@ func (this *Job) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "JobSpec", "JobSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "JobStatus", "JobStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -481,8 +503,8 @@ func (this *JobCondition) String() string { s := strings.Join([]string{`&JobCondition{`, `Type:` + fmt.Sprintf("%v", this.Type) + `,`, `Status:` + fmt.Sprintf("%v", this.Status) + `,`, - `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, - `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, `}`, @@ -494,8 +516,9 @@ func (this *JobList) String() string { return "nil" } s := strings.Join([]string{`&JobList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Job", "Job", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -508,7 +531,7 @@ func (this *JobSpec) String() string { `Parallelism:` + valueToStringGenerated(this.Parallelism) + `,`, `Completions:` + valueToStringGenerated(this.Completions) + `,`, `ActiveDeadlineSeconds:` + valueToStringGenerated(this.ActiveDeadlineSeconds) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, `ManualSelector:` + valueToStringGenerated(this.ManualSelector) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, @@ -521,8 +544,8 @@ func (this *JobStatus) String() string { } s := strings.Join([]string{`&JobStatus{`, `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "JobCondition", "JobCondition", 1), `&`, ``, 1) + `,`, - `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1) + `,`, - `CompletionTime:` + strings.Replace(fmt.Sprintf("%v", this.CompletionTime), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1) + `,`, + `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`, + `CompletionTime:` + strings.Replace(fmt.Sprintf("%v", this.CompletionTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`, `Active:` + fmt.Sprintf("%v", this.Active) + `,`, `Succeeded:` + fmt.Sprintf("%v", this.Succeeded) + `,`, `Failed:` + fmt.Sprintf("%v", this.Failed) + `,`, @@ -657,6 +680,36 @@ func (m *Job) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -994,6 +1047,36 @@ func (m *JobList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1131,7 +1214,7 @@ func (m *JobSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector{} + m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -1296,7 +1379,7 @@ func (m *JobStatus) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.StartTime == nil { - m.StartTime = &k8s_io_kubernetes_pkg_apis_meta_v1.Time{} + m.StartTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{} } if err := m.StartTime.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -1329,7 +1412,7 @@ func (m *JobStatus) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.CompletionTime == nil { - m.CompletionTime = &k8s_io_kubernetes_pkg_apis_meta_v1.Time{} + m.CompletionTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{} } if err := m.CompletionTime.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -1519,59 +1602,62 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 863 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x54, 0x4d, 0x6f, 0xe3, 0x44, - 0x18, 0xce, 0x47, 0xd3, 0x36, 0xd3, 0x8f, 0x5d, 0x46, 0xaa, 0x14, 0x7a, 0x48, 0x56, 0x01, 0xa1, - 0x22, 0xb5, 0xb6, 0x5c, 0xf6, 0x80, 0x38, 0x20, 0xe1, 0x22, 0x24, 0xaa, 0x96, 0xad, 0x26, 0x05, - 0xa1, 0xe5, 0x34, 0xb6, 0xdf, 0x4d, 0x4d, 0x6d, 0x8f, 0xe5, 0x19, 0x47, 0xda, 0x1b, 0x37, 0xae, - 0xfc, 0x14, 0x0e, 0x88, 0xdf, 0xd0, 0x03, 0x87, 0x3d, 0x72, 0xb2, 0xa8, 0xf9, 0x17, 0x7b, 0x42, - 0x33, 0x1e, 0x7f, 0xa4, 0x49, 0x43, 0x76, 0x6f, 0xf6, 0x3b, 0xcf, 0xf3, 0xcc, 0x33, 0xf3, 0x3e, - 0xf3, 0xa2, 0xcf, 0x6e, 0x3f, 0xe7, 0x86, 0xcf, 0xcc, 0xdb, 0xd4, 0x81, 0x24, 0x02, 0x01, 0xdc, - 0x8c, 0x6f, 0xa7, 0x26, 0x8d, 0x7d, 0x6e, 0x3a, 0x54, 0xb8, 0x37, 0xe6, 0xcc, 0x32, 0xa7, 0x10, - 0x41, 0x42, 0x05, 0x78, 0x46, 0x9c, 0x30, 0xc1, 0xf0, 0x47, 0x05, 0xc9, 0xa8, 0x49, 0x46, 0x7c, - 0x3b, 0x35, 0x24, 0xc9, 0x50, 0x24, 0x63, 0x66, 0x1d, 0x9e, 0x4c, 0x7d, 0x71, 0x93, 0x3a, 0x86, - 0xcb, 0x42, 0x73, 0xca, 0xa6, 0xcc, 0x54, 0x5c, 0x27, 0x7d, 0xa5, 0xfe, 0xd4, 0x8f, 0xfa, 0x2a, - 0x34, 0x0f, 0x4f, 0x1f, 0x35, 0x62, 0x26, 0xc0, 0x59, 0x9a, 0xb8, 0xf0, 0xd0, 0xc7, 0xe1, 0xf1, - 0xe3, 0x9c, 0x45, 0xd7, 0x2b, 0x76, 0xe0, 0x66, 0x08, 0x82, 0x2e, 0xe3, 0x9c, 0x2c, 0xe7, 0x24, - 0x69, 0x24, 0xfc, 0x70, 0xd1, 0xd0, 0xf3, 0xd5, 0x70, 0xee, 0xde, 0x40, 0x48, 0x17, 0x58, 0xd6, - 0x72, 0x56, 0x2a, 0xfc, 0xc0, 0xf4, 0x23, 0xc1, 0x45, 0xf2, 0x90, 0x32, 0xfe, 0xb5, 0x83, 0xba, - 0xe7, 0xcc, 0xc1, 0x3f, 0xa2, 0x6d, 0x69, 0xdd, 0xa3, 0x82, 0x0e, 0xda, 0xcf, 0xda, 0x47, 0x3b, - 0xa7, 0x47, 0xc6, 0xa3, 0xcd, 0x31, 0x66, 0x96, 0xf1, 0xc2, 0xf9, 0x19, 0x5c, 0x71, 0x09, 0x82, - 0xda, 0xf8, 0x2e, 0x1b, 0xb5, 0xf2, 0x6c, 0x84, 0xea, 0x1a, 0xa9, 0xd4, 0xf0, 0x77, 0x68, 0x83, - 0xc7, 0xe0, 0x0e, 0x3a, 0x4a, 0xf5, 0xd8, 0x58, 0xa3, 0xe5, 0xc6, 0x39, 0x73, 0x26, 0x31, 0xb8, - 0xf6, 0xae, 0x56, 0xde, 0x90, 0x7f, 0x44, 0xe9, 0xe0, 0x1f, 0xd0, 0x26, 0x17, 0x54, 0xa4, 0x7c, - 0xd0, 0x55, 0x8a, 0xc6, 0xda, 0x8a, 0x8a, 0x65, 0xef, 0x6b, 0xcd, 0xcd, 0xe2, 0x9f, 0x68, 0xb5, - 0xf1, 0x5f, 0x5d, 0xb4, 0x7b, 0xce, 0x9c, 0x33, 0x16, 0x79, 0xbe, 0xf0, 0x59, 0x84, 0x9f, 0xa3, - 0x0d, 0xf1, 0x3a, 0x06, 0x75, 0x1d, 0x7d, 0xfb, 0x59, 0x69, 0xe5, 0xfa, 0x75, 0x0c, 0x6f, 0xb3, - 0xd1, 0xd3, 0x26, 0x56, 0xd6, 0x88, 0x42, 0x37, 0xec, 0x75, 0x14, 0xef, 0xcb, 0xf9, 0xed, 0xde, - 0x66, 0xa3, 0x95, 0x61, 0x33, 0x2a, 0xcd, 0x79, 0x7b, 0x18, 0xd0, 0x5e, 0x40, 0xb9, 0xb8, 0x4a, - 0x98, 0x03, 0xd7, 0x7e, 0x08, 0xfa, 0xf4, 0x47, 0xab, 0x4e, 0x2f, 0x7b, 0x20, 0x0f, 0x2f, 0xf1, - 0xf6, 0x81, 0x36, 0xb2, 0x77, 0xd1, 0x94, 0x21, 0xf3, 0xaa, 0x58, 0x20, 0x2c, 0x0b, 0xd7, 0x09, - 0x8d, 0x78, 0x71, 0x34, 0xb9, 0xd7, 0xc6, 0x3b, 0xee, 0x75, 0xa8, 0xf7, 0xc2, 0x17, 0x0b, 0x5a, - 0x64, 0x89, 0x3e, 0xfe, 0x04, 0x6d, 0x26, 0x40, 0x39, 0x8b, 0x06, 0x3d, 0x75, 0x69, 0x55, 0x8f, - 0x88, 0xaa, 0x12, 0xbd, 0x8a, 0x3f, 0x45, 0x5b, 0x21, 0x70, 0x4e, 0xa7, 0x30, 0xd8, 0x54, 0xc0, - 0x27, 0x1a, 0xb8, 0x75, 0x59, 0x94, 0x49, 0xb9, 0x3e, 0xfe, 0xa3, 0x8d, 0xb6, 0xce, 0x99, 0x73, - 0xe1, 0x73, 0x81, 0x5f, 0x2e, 0x84, 0xfb, 0x78, 0x9d, 0xa3, 0x48, 0xae, 0x0a, 0xf8, 0x53, 0xbd, - 0xcb, 0x76, 0x59, 0x69, 0xc4, 0xfb, 0x12, 0xf5, 0x7c, 0x01, 0xa1, 0x6c, 0x77, 0xf7, 0xff, 0xee, - 0xa8, 0x99, 0x46, 0x7b, 0x4f, 0x8b, 0xf6, 0xbe, 0x95, 0x74, 0x52, 0xa8, 0x8c, 0xff, 0xec, 0x2a, - 0xdb, 0x32, 0xef, 0xd8, 0x42, 0x3b, 0x31, 0x4d, 0x68, 0x10, 0x40, 0xe0, 0xf3, 0x50, 0x39, 0xef, - 0xd9, 0x4f, 0xf2, 0x6c, 0xb4, 0x73, 0x55, 0x97, 0x49, 0x13, 0x23, 0x29, 0x2e, 0x0b, 0xe3, 0x00, - 0xe4, 0xd5, 0x16, 0x11, 0xd4, 0x94, 0xb3, 0xba, 0x4c, 0x9a, 0x18, 0xfc, 0x02, 0x1d, 0x50, 0x57, - 0xf8, 0x33, 0xf8, 0x1a, 0xa8, 0x17, 0xf8, 0x11, 0x4c, 0xc0, 0x65, 0x91, 0x57, 0x3c, 0xaf, 0xae, - 0xfd, 0x61, 0x9e, 0x8d, 0x0e, 0xbe, 0x5a, 0x06, 0x20, 0xcb, 0x79, 0xf8, 0x27, 0xb4, 0xcd, 0x21, - 0x00, 0x57, 0xb0, 0x44, 0x07, 0xc7, 0x5a, 0xeb, 0xb6, 0xa9, 0x03, 0xc1, 0x44, 0x13, 0xed, 0x5d, - 0x79, 0xdd, 0xe5, 0x1f, 0xa9, 0x04, 0xf1, 0x17, 0x68, 0x3f, 0xa4, 0x51, 0x4a, 0x2b, 0xa4, 0x4a, - 0xcc, 0xb6, 0x8d, 0xf3, 0x6c, 0xb4, 0x7f, 0x39, 0xb7, 0x42, 0x1e, 0x20, 0xa5, 0x31, 0x01, 0x61, - 0x1c, 0x50, 0x51, 0xc4, 0x67, 0xe7, 0xf4, 0x64, 0xf5, 0x8c, 0xbb, 0x62, 0xde, 0xb5, 0x26, 0xa8, - 0x71, 0x54, 0xe5, 0xa0, 0xac, 0x92, 0x4a, 0x70, 0xfc, 0x7b, 0x17, 0xf5, 0xab, 0x21, 0x83, 0x01, - 0x21, 0xb7, 0x7c, 0xc8, 0x7c, 0xd0, 0x56, 0xd1, 0xb0, 0xd6, 0x8d, 0x46, 0x35, 0x02, 0xea, 0xc9, - 0x5a, 0x95, 0x38, 0x69, 0x08, 0xe3, 0xef, 0x51, 0x9f, 0x0b, 0x9a, 0x08, 0xf5, 0x48, 0x3b, 0xef, - 0xf8, 0x48, 0xf7, 0xf2, 0x6c, 0xd4, 0x9f, 0x94, 0x74, 0x52, 0x2b, 0x61, 0x0f, 0xed, 0xd7, 0x09, - 0x79, 0xaf, 0x61, 0xa3, 0xda, 0x71, 0x36, 0xa7, 0x41, 0x1e, 0x68, 0xca, 0x47, 0x5f, 0x04, 0x48, - 0xa5, 0xa4, 0x57, 0x3f, 0xfa, 0x22, 0x6d, 0x44, 0xaf, 0x62, 0x13, 0xf5, 0x79, 0xea, 0xba, 0x00, - 0x1e, 0x78, 0xaa, 0xdb, 0x3d, 0xfb, 0x03, 0x0d, 0xed, 0x4f, 0xca, 0x05, 0x52, 0x63, 0xa4, 0xf0, - 0x2b, 0xea, 0x07, 0xe0, 0xa9, 0x2e, 0x37, 0x84, 0xbf, 0x51, 0x55, 0xa2, 0x57, 0xed, 0x8f, 0xef, - 0xee, 0x87, 0xad, 0x37, 0xf7, 0xc3, 0xd6, 0xdf, 0xf7, 0xc3, 0xd6, 0x2f, 0xf9, 0xb0, 0x7d, 0x97, - 0x0f, 0xdb, 0x6f, 0xf2, 0x61, 0xfb, 0x9f, 0x7c, 0xd8, 0xfe, 0xed, 0xdf, 0x61, 0xeb, 0x65, 0x67, - 0x66, 0xfd, 0x17, 0x00, 0x00, 0xff, 0xff, 0x9b, 0x37, 0xe1, 0x87, 0xd9, 0x08, 0x00, 0x00, + // 905 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x95, 0x4d, 0x6f, 0xe3, 0x44, + 0x18, 0xc7, 0xf3, 0xda, 0x26, 0xd3, 0x97, 0x5d, 0x46, 0xaa, 0x14, 0x7a, 0x48, 0x56, 0x05, 0xa1, + 0x05, 0xed, 0xda, 0x4a, 0x77, 0x85, 0x10, 0x07, 0x24, 0x5c, 0x84, 0x44, 0xd5, 0xb2, 0xd5, 0xa4, + 0x02, 0xc4, 0xcb, 0x61, 0x6c, 0x3f, 0x4d, 0x87, 0xda, 0x1e, 0xcb, 0x33, 0x8e, 0xb4, 0x37, 0x3e, + 0x02, 0x07, 0x3e, 0x0a, 0x07, 0x3e, 0x42, 0x8f, 0x3d, 0x72, 0x8a, 0xa8, 0x11, 0x5f, 0x62, 0x4f, + 0x68, 0xc6, 0x13, 0xdb, 0x49, 0x93, 0x92, 0xa2, 0xbd, 0x65, 0x9e, 0x79, 0xfe, 0xbf, 0x99, 0x79, + 0x9e, 0xbf, 0x9f, 0xa0, 0x17, 0x57, 0x9f, 0x08, 0x8b, 0x71, 0xfb, 0x2a, 0x75, 0x21, 0x89, 0x40, + 0x82, 0xb0, 0xe3, 0xab, 0xb1, 0x4d, 0x63, 0x26, 0x6c, 0x97, 0x4a, 0xef, 0xd2, 0x9e, 0x0c, 0xed, + 0x31, 0x44, 0x90, 0x50, 0x09, 0xbe, 0x15, 0x27, 0x5c, 0x72, 0xfc, 0x5e, 0x2e, 0xb2, 0x4a, 0x91, + 0x15, 0x5f, 0x8d, 0x2d, 0x25, 0xb2, 0xb4, 0xc8, 0x9a, 0x0c, 0xf7, 0x9f, 0x8f, 0x99, 0xbc, 0x4c, + 0x5d, 0xcb, 0xe3, 0xa1, 0x3d, 0xe6, 0x63, 0x6e, 0x6b, 0xad, 0x9b, 0x5e, 0xe8, 0x95, 0x5e, 0xe8, + 0x5f, 0x39, 0x73, 0xff, 0xa5, 0xb9, 0x08, 0x8d, 0x59, 0x48, 0xbd, 0x4b, 0x16, 0x41, 0xf2, 0xba, + 0xbc, 0x4a, 0x08, 0x92, 0x2e, 0xb9, 0xc9, 0xbe, 0xbd, 0x4a, 0x95, 0xa4, 0x91, 0x64, 0x21, 0xdc, + 0x11, 0x7c, 0xfc, 0x5f, 0x02, 0xe1, 0x5d, 0x42, 0x48, 0xef, 0xe8, 0x0e, 0x57, 0xd6, 0xc9, 0x4e, + 0x40, 0xf0, 0x34, 0xf1, 0xee, 0x9e, 0xf5, 0x6c, 0xb5, 0x66, 0xc9, 0x53, 0x86, 0xcb, 0xb3, 0x53, + 0xc9, 0x02, 0x9b, 0x45, 0x52, 0xc8, 0x64, 0x51, 0x72, 0xf0, 0x4f, 0x03, 0x35, 0x8f, 0xb9, 0x8b, + 0xbf, 0x43, 0x1d, 0x55, 0x20, 0x9f, 0x4a, 0xda, 0xab, 0x3f, 0xa9, 0x3f, 0xdd, 0x3a, 0x7c, 0x6a, + 0xad, 0x6c, 0x91, 0x35, 0x19, 0x5a, 0xaf, 0xdc, 0x9f, 0xc1, 0x93, 0xa7, 0x20, 0xa9, 0x83, 0xaf, + 0xa7, 0x83, 0x5a, 0x36, 0x1d, 0xa0, 0x32, 0x46, 0x0a, 0x1a, 0xfe, 0x1a, 0xb5, 0x44, 0x0c, 0x5e, + 0xaf, 0xa1, 0xa9, 0xcf, 0xac, 0x35, 0x1a, 0x6f, 0x1d, 0x73, 0x77, 0x14, 0x83, 0xe7, 0x6c, 0x1b, + 0x72, 0x4b, 0xad, 0x88, 0xe6, 0xe0, 0x6f, 0xd0, 0x86, 0x90, 0x54, 0xa6, 0xa2, 0xd7, 0xd4, 0x44, + 0x6b, 0x6d, 0xa2, 0x56, 0x39, 0xbb, 0x86, 0xb9, 0x91, 0xaf, 0x89, 0xa1, 0xe1, 0x1f, 0x51, 0x47, + 0xbe, 0x8e, 0x41, 0xdd, 0xbe, 0xd7, 0x9a, 0x27, 0x57, 0x3b, 0x5d, 0xb2, 0xd5, 0x0b, 0x15, 0xfa, + 0xdc, 0xa8, 0x9c, 0xc7, 0x86, 0xdc, 0x99, 0x45, 0x48, 0x41, 0x3c, 0xb8, 0x69, 0xa2, 0xed, 0x63, + 0xee, 0x1e, 0xf1, 0xc8, 0x67, 0x92, 0xf1, 0x08, 0xbf, 0x44, 0x2d, 0xb5, 0xa9, 0x8b, 0xdd, 0x75, + 0x9e, 0xcc, 0x1e, 0xaa, 0xa4, 0x6f, 0xa6, 0x83, 0xc7, 0xd5, 0x5c, 0x15, 0x23, 0x3a, 0xbb, 0xf2, + 0xf8, 0x86, 0xd6, 0x7d, 0x36, 0xff, 0x98, 0x37, 0xd3, 0xc1, 0xbd, 0x8e, 0xb1, 0x0a, 0xe6, 0xc2, + 0xe3, 0xc7, 0x68, 0x27, 0xa0, 0x42, 0x9e, 0x25, 0xdc, 0x85, 0x73, 0x16, 0x82, 0xa9, 0xed, 0x47, + 0x6b, 0x56, 0x80, 0x85, 0xe0, 0xec, 0x99, 0xab, 0xec, 0x9c, 0x54, 0x41, 0x64, 0x9e, 0x8b, 0x27, + 0x08, 0xab, 0xc0, 0x79, 0x42, 0x23, 0x91, 0x3f, 0x4e, 0x9d, 0xd6, 0x7a, 0xf0, 0x69, 0xfb, 0xe6, + 0x34, 0x7c, 0x72, 0x87, 0x46, 0x96, 0x9c, 0x80, 0x3f, 0x40, 0x1b, 0x09, 0x50, 0xc1, 0xa3, 0x5e, + 0x5b, 0x17, 0xae, 0x70, 0x01, 0xd1, 0x51, 0x62, 0x76, 0xf1, 0x87, 0x68, 0x33, 0x04, 0x21, 0xe8, + 0x18, 0x7a, 0x1b, 0x3a, 0xf1, 0x91, 0x49, 0xdc, 0x3c, 0xcd, 0xc3, 0x64, 0xb6, 0x7f, 0xf0, 0x5b, + 0x03, 0x6d, 0x1e, 0x73, 0xf7, 0x84, 0x09, 0xa9, 0xcc, 0xb3, 0xf0, 0xf9, 0xac, 0x69, 0x1e, 0xa5, + 0x9e, 0x37, 0xcf, 0x2c, 0x52, 0xf9, 0x84, 0x4e, 0x51, 0x9b, 0x49, 0x08, 0x55, 0xd3, 0x9b, 0xf7, + 0x7f, 0x99, 0xf3, 0x8e, 0x77, 0x76, 0x0c, 0xb4, 0xfd, 0x95, 0x92, 0x93, 0x9c, 0x32, 0xe7, 0xf4, + 0xe6, 0x5b, 0x77, 0xfa, 0x1f, 0x4d, 0x5d, 0x16, 0xf5, 0xc5, 0xe2, 0x21, 0xda, 0x8a, 0x69, 0x42, + 0x83, 0x00, 0x02, 0x26, 0x42, 0x5d, 0x99, 0xb6, 0xf3, 0x28, 0x9b, 0x0e, 0xb6, 0xce, 0xca, 0x30, + 0xa9, 0xe6, 0x28, 0x89, 0xc7, 0xc3, 0x38, 0x00, 0xd5, 0xba, 0xdc, 0xe6, 0x46, 0x72, 0x54, 0x86, + 0x49, 0x35, 0x07, 0xbf, 0x42, 0x7b, 0xd4, 0x93, 0x6c, 0x02, 0x5f, 0x00, 0xf5, 0x03, 0x16, 0xc1, + 0x08, 0x3c, 0x1e, 0xf9, 0xf9, 0x80, 0x68, 0x3a, 0xef, 0x66, 0xd3, 0xc1, 0xde, 0xe7, 0xcb, 0x12, + 0xc8, 0x72, 0x1d, 0xfe, 0x09, 0x75, 0x04, 0x04, 0xe0, 0x49, 0x9e, 0x18, 0x6b, 0xbe, 0x58, 0xb3, + 0x9b, 0xd4, 0x85, 0x60, 0x64, 0xa4, 0xce, 0xb6, 0xaa, 0xd0, 0x6c, 0x45, 0x0a, 0x24, 0xfe, 0x14, + 0xed, 0x86, 0x34, 0x4a, 0x69, 0x91, 0xa9, 0x3d, 0xd9, 0x71, 0x70, 0x36, 0x1d, 0xec, 0x9e, 0xce, + 0xed, 0x90, 0x85, 0x4c, 0xfc, 0x03, 0xea, 0x48, 0x08, 0xe3, 0x80, 0xca, 0xdc, 0xa0, 0x5b, 0x87, + 0xcf, 0xef, 0x9f, 0xd3, 0x67, 0xdc, 0x3f, 0x37, 0x02, 0x3d, 0x52, 0xcb, 0xd6, 0x99, 0x28, 0x29, + 0x80, 0x07, 0xbf, 0x37, 0x51, 0xb7, 0x18, 0x94, 0x18, 0x10, 0xf2, 0x66, 0xe3, 0x42, 0xf4, 0xea, + 0xda, 0x7a, 0xc3, 0x75, 0xad, 0x57, 0x0c, 0x9a, 0xf2, 0xdf, 0xa1, 0x08, 0x09, 0x52, 0x01, 0xe3, + 0x6f, 0x51, 0x57, 0x48, 0x9a, 0x48, 0x3d, 0x08, 0x1a, 0x0f, 0x1e, 0x04, 0x3b, 0xd9, 0x74, 0xd0, + 0x1d, 0xcd, 0x00, 0xa4, 0x64, 0xe1, 0x0b, 0xb4, 0x5b, 0xba, 0xe4, 0x7f, 0x0e, 0x35, 0xdd, 0x92, + 0xa3, 0x39, 0x0a, 0x59, 0xa0, 0xaa, 0xd1, 0x92, 0xdb, 0x48, 0x7b, 0xa5, 0x5d, 0x8e, 0x96, 0xdc, + 0x73, 0xc4, 0xec, 0x62, 0x1b, 0x75, 0x45, 0xea, 0x79, 0x00, 0x3e, 0xf8, 0xba, 0xe3, 0x6d, 0xe7, + 0x1d, 0x93, 0xda, 0x1d, 0xcd, 0x36, 0x48, 0x99, 0xa3, 0xc0, 0x17, 0x94, 0x05, 0xe0, 0xeb, 0x4e, + 0x57, 0xc0, 0x5f, 0xea, 0x28, 0x31, 0xbb, 0xce, 0xfb, 0xd7, 0xb7, 0xfd, 0xda, 0xcd, 0x6d, 0xbf, + 0xf6, 0xe7, 0x6d, 0xbf, 0xf6, 0x4b, 0xd6, 0xaf, 0x5f, 0x67, 0xfd, 0xfa, 0x4d, 0xd6, 0xaf, 0xff, + 0x95, 0xf5, 0xeb, 0xbf, 0xfe, 0xdd, 0xaf, 0x7d, 0xdf, 0x98, 0x0c, 0xff, 0x0d, 0x00, 0x00, 0xff, + 0xff, 0xa2, 0x94, 0x7a, 0x7f, 0xa7, 0x09, 0x00, 0x00, } diff --git a/pkg/apis/batch/v1/generated.proto b/pkg/apis/batch/v1/generated.proto index 62122e21..d65b4847 100644 --- a/pkg/apis/batch/v1/generated.proto +++ b/pkg/apis/batch/v1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.batch.v1; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". @@ -33,6 +33,8 @@ option go_package = "v1"; // Job represents the configuration of a single job. message Job { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -59,11 +61,11 @@ message JobCondition { // Last time the condition was checked. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastProbeTime = 3; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3; // Last time the condition transit from one status to another. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastTransitionTime = 4; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; // (brief) reason for the condition's last transition. // +optional @@ -76,10 +78,12 @@ message JobCondition { // JobList is a collection of jobs. message JobList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is the list of Job. repeated Job items = 2; @@ -113,7 +117,7 @@ message JobSpec { // Normally, the system sets this field for you. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.LabelSelector selector = 4; + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4; // ManualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing. @@ -145,13 +149,13 @@ message JobStatus { // It is not guaranteed to be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time startTime = 2; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 2; // CompletionTime represents time when the job was completed. It is not guaranteed to // be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time completionTime = 3; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time completionTime = 3; // Active is the number of actively running pods. // +optional diff --git a/pkg/apis/batch/v1/register.go b/pkg/apis/batch/v1/register.go index 01075ebd..61d924ee 100644 --- a/pkg/apis/batch/v1/register.go +++ b/pkg/apis/batch/v1/register.go @@ -17,11 +17,10 @@ limitations under the License. package v1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package @@ -50,6 +49,6 @@ func addKnownTypes(scheme *runtime.Scheme) error { &metav1.ExportOptions{}, &metav1.GetOptions{}, ) - versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/apis/batch/v1/types.generated.go b/pkg/apis/batch/v1/types.generated.go index ecd70456..48a702cf 100644 --- a/pkg/apis/batch/v1/types.generated.go +++ b/pkg/apis/batch/v1/types.generated.go @@ -25,10 +25,10 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" + pkg1_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + pkg3_types "k8s.io/apimachinery/pkg/types" pkg4_resource "k8s.io/client-go/pkg/api/resource" pkg2_v1 "k8s.io/client-go/pkg/api/v1" - pkg1_v1 "k8s.io/client-go/pkg/apis/meta/v1" - pkg3_types "k8s.io/client-go/pkg/types" pkg5_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" @@ -65,10 +65,10 @@ func init() { panic(err) } if false { // reference the types, but skip this branch at build/run time - var v0 pkg4_resource.Quantity - var v1 pkg2_v1.ObjectMeta - var v2 pkg1_v1.TypeMeta - var v3 pkg3_types.UID + var v0 pkg1_v1.TypeMeta + var v1 pkg3_types.UID + var v2 pkg4_resource.Quantity + var v3 pkg2_v1.ObjectMeta var v4 pkg5_intstr.IntOrString var v5 time.Time _, _, _, _, _, _ = v0, v1, v2, v3, v4, v5 @@ -173,15 +173,15 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.ObjectMeta - yy11.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[3] { - yy13 := &x.Spec - yy13.CodecEncodeSelf(e) + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -190,15 +190,15 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.Spec - yy14.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[4] { - yy16 := &x.Status - yy16.CodecEncodeSelf(e) + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -207,8 +207,8 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.Status - yy17.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { @@ -224,25 +224,25 @@ func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym18 := z.DecBinary() - _ = yym18 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct19 := r.ContainerType() - if yyct19 == codecSelferValueTypeMap1234 { - yyl19 := r.ReadMapStart() - if yyl19 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl19, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct19 == codecSelferValueTypeArray1234 { - yyl19 := r.ReadArrayStart() - if yyl19 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl19, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -254,12 +254,12 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys20Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys20Slc - var yyhl20 bool = l >= 0 - for yyj20 := 0; ; yyj20++ { - if yyhl20 { - if yyj20 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -268,47 +268,59 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys20Slc = r.DecodeBytes(yys20Slc, true, true) - yys20 := string(yys20Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys20 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv23 := &x.ObjectMeta - yyv23.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv24 := &x.Spec - yyv24.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = JobStatus{} } else { - yyv25 := &x.Status - yyv25.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys20) - } // end switch yys20 - } // end for yyj20 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -316,16 +328,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj26 int - var yyb26 bool - var yyhl26 bool = l >= 0 - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -333,15 +345,21 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -349,15 +367,21 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -365,16 +389,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv29 := &x.ObjectMeta - yyv29.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -382,16 +406,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv30 := &x.Spec - yyv30.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -399,21 +423,21 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = JobStatus{} } else { - yyv31 := &x.Status - yyv31.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj26-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -425,37 +449,37 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym32 := z.EncBinary() - _ = yym32 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep33 := !z.EncBinary() - yy2arr33 := z.EncBasicHandle().StructToArray - var yyq33 [4]bool - _, _, _ = yysep33, yyq33, yy2arr33 - const yyr33 bool = false - yyq33[0] = x.Kind != "" - yyq33[1] = x.APIVersion != "" - yyq33[2] = true - var yynn33 int - if yyr33 || yy2arr33 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn33 = 1 - for _, b := range yyq33 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn33++ + yynn2++ } } - r.EncodeMapStart(yynn33) - yynn33 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[0] { - yym35 := z.EncBinary() - _ = yym35 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -464,23 +488,23 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq33[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym36 := z.EncBinary() - _ = yym36 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[1] { - yym38 := z.EncBinary() - _ = yym38 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -489,54 +513,54 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq33[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym39 := z.EncBinary() - _ = yym39 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[2] { - yy41 := &x.ListMeta - yym42 := z.EncBinary() - _ = yym42 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy41) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy41) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq33[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy43 := &x.ListMeta - yym44 := z.EncBinary() - _ = yym44 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy43) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy43) + z.EncFallback(yy12) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym46 := z.EncBinary() - _ = yym46 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceJob(([]Job)(x.Items), e) @@ -549,15 +573,15 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym47 := z.EncBinary() - _ = yym47 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceJob(([]Job)(x.Items), e) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -570,25 +594,25 @@ func (x *JobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym48 := z.DecBinary() - _ = yym48 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct49 := r.ContainerType() - if yyct49 == codecSelferValueTypeMap1234 { - yyl49 := r.ReadMapStart() - if yyl49 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl49, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct49 == codecSelferValueTypeArray1234 { - yyl49 := r.ReadArrayStart() - if yyl49 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl49, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -600,12 +624,12 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys50Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys50Slc - var yyhl50 bool = l >= 0 - for yyj50 := 0; ; yyj50++ { - if yyhl50 { - if yyj50 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -614,51 +638,63 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys50Slc = r.DecodeBytes(yys50Slc, true, true) - yys50 := string(yys50Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys50 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv53 := &x.ListMeta - yym54 := z.DecBinary() - _ = yym54 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv53) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv53, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv55 := &x.Items - yym56 := z.DecBinary() - _ = yym56 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceJob((*[]Job)(yyv55), d) + h.decSliceJob((*[]Job)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys50) - } // end switch yys50 - } // end for yyj50 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -666,16 +702,16 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj57 int - var yyb57 bool - var yyhl57 bool = l >= 0 - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb57 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb57 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -683,15 +719,21 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb57 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb57 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -699,15 +741,21 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb57 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb57 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -715,22 +763,22 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv60 := &x.ListMeta - yym61 := z.DecBinary() - _ = yym61 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv60) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv60, false) + z.DecFallback(yyv17, false) } } - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb57 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb57 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -738,26 +786,26 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv62 := &x.Items - yym63 := z.DecBinary() - _ = yym63 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceJob((*[]Job)(yyv62), d) + h.decSliceJob((*[]Job)(yyv19), d) } } for { - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb57 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb57 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj57-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -769,147 +817,147 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym64 := z.EncBinary() - _ = yym64 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep65 := !z.EncBinary() - yy2arr65 := z.EncBasicHandle().StructToArray - var yyq65 [6]bool - _, _, _ = yysep65, yyq65, yy2arr65 - const yyr65 bool = false - yyq65[0] = x.Parallelism != nil - yyq65[1] = x.Completions != nil - yyq65[2] = x.ActiveDeadlineSeconds != nil - yyq65[3] = x.Selector != nil - yyq65[4] = x.ManualSelector != nil - var yynn65 int - if yyr65 || yy2arr65 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Parallelism != nil + yyq2[1] = x.Completions != nil + yyq2[2] = x.ActiveDeadlineSeconds != nil + yyq2[3] = x.Selector != nil + yyq2[4] = x.ManualSelector != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn65 = 1 - for _, b := range yyq65 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn65++ + yynn2++ } } - r.EncodeMapStart(yynn65) - yynn65 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq65[0] { + if yyq2[0] { if x.Parallelism == nil { r.EncodeNil() } else { - yy67 := *x.Parallelism - yym68 := z.EncBinary() - _ = yym68 + yy4 := *x.Parallelism + yym5 := z.EncBinary() + _ = yym5 if false { } else { - r.EncodeInt(int64(yy67)) + r.EncodeInt(int64(yy4)) } } } else { r.EncodeNil() } } else { - if yyq65[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("parallelism")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Parallelism == nil { r.EncodeNil() } else { - yy69 := *x.Parallelism - yym70 := z.EncBinary() - _ = yym70 + yy6 := *x.Parallelism + yym7 := z.EncBinary() + _ = yym7 if false { } else { - r.EncodeInt(int64(yy69)) + r.EncodeInt(int64(yy6)) } } } } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq65[1] { + if yyq2[1] { if x.Completions == nil { r.EncodeNil() } else { - yy72 := *x.Completions - yym73 := z.EncBinary() - _ = yym73 + yy9 := *x.Completions + yym10 := z.EncBinary() + _ = yym10 if false { } else { - r.EncodeInt(int64(yy72)) + r.EncodeInt(int64(yy9)) } } } else { r.EncodeNil() } } else { - if yyq65[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Completions == nil { r.EncodeNil() } else { - yy74 := *x.Completions - yym75 := z.EncBinary() - _ = yym75 + yy11 := *x.Completions + yym12 := z.EncBinary() + _ = yym12 if false { } else { - r.EncodeInt(int64(yy74)) + r.EncodeInt(int64(yy11)) } } } } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq65[2] { + if yyq2[2] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy77 := *x.ActiveDeadlineSeconds - yym78 := z.EncBinary() - _ = yym78 + yy14 := *x.ActiveDeadlineSeconds + yym15 := z.EncBinary() + _ = yym15 if false { } else { - r.EncodeInt(int64(yy77)) + r.EncodeInt(int64(yy14)) } } } else { r.EncodeNil() } } else { - if yyq65[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy79 := *x.ActiveDeadlineSeconds - yym80 := z.EncBinary() - _ = yym80 + yy16 := *x.ActiveDeadlineSeconds + yym17 := z.EncBinary() + _ = yym17 if false { } else { - r.EncodeInt(int64(yy79)) + r.EncodeInt(int64(yy16)) } } } } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq65[3] { + if yyq2[3] { if x.Selector == nil { r.EncodeNil() } else { - yym82 := z.EncBinary() - _ = yym82 + yym19 := z.EncBinary() + _ = yym19 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -920,15 +968,15 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq65[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym83 := z.EncBinary() - _ = yym83 + yym20 := z.EncBinary() + _ = yym20 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -937,53 +985,53 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq65[4] { + if yyq2[4] { if x.ManualSelector == nil { r.EncodeNil() } else { - yy85 := *x.ManualSelector - yym86 := z.EncBinary() - _ = yym86 + yy22 := *x.ManualSelector + yym23 := z.EncBinary() + _ = yym23 if false { } else { - r.EncodeBool(bool(yy85)) + r.EncodeBool(bool(yy22)) } } } else { r.EncodeNil() } } else { - if yyq65[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("manualSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ManualSelector == nil { r.EncodeNil() } else { - yy87 := *x.ManualSelector - yym88 := z.EncBinary() - _ = yym88 + yy24 := *x.ManualSelector + yym25 := z.EncBinary() + _ = yym25 if false { } else { - r.EncodeBool(bool(yy87)) + r.EncodeBool(bool(yy24)) } } } } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy90 := &x.Template - yy90.CodecEncodeSelf(e) + yy27 := &x.Template + yy27.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy91 := &x.Template - yy91.CodecEncodeSelf(e) + yy29 := &x.Template + yy29.CodecEncodeSelf(e) } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -996,25 +1044,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym92 := z.DecBinary() - _ = yym92 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct93 := r.ContainerType() - if yyct93 == codecSelferValueTypeMap1234 { - yyl93 := r.ReadMapStart() - if yyl93 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl93, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct93 == codecSelferValueTypeArray1234 { - yyl93 := r.ReadArrayStart() - if yyl93 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl93, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1026,12 +1074,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys94Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys94Slc - var yyhl94 bool = l >= 0 - for yyj94 := 0; ; yyj94++ { - if yyhl94 { - if yyj94 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1040,10 +1088,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys94Slc = r.DecodeBytes(yys94Slc, true, true) - yys94 := string(yys94Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys94 { + switch yys3 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -1053,8 +1101,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym96 := z.DecBinary() - _ = yym96 + yym5 := z.DecBinary() + _ = yym5 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -1069,8 +1117,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym98 := z.DecBinary() - _ = yym98 + yym7 := z.DecBinary() + _ = yym7 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -1085,8 +1133,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym100 := z.DecBinary() - _ = yym100 + yym9 := z.DecBinary() + _ = yym9 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -1101,8 +1149,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_v1.LabelSelector) } - yym102 := z.DecBinary() - _ = yym102 + yym11 := z.DecBinary() + _ = yym11 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -1118,8 +1166,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym104 := z.DecBinary() - _ = yym104 + yym13 := z.DecBinary() + _ = yym13 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() @@ -1129,13 +1177,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv105 := &x.Template - yyv105.CodecDecodeSelf(d) + yyv14 := &x.Template + yyv14.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys94) - } // end switch yys94 - } // end for yyj94 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1143,16 +1191,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj106 int - var yyb106 bool - var yyhl106 bool = l >= 0 - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + var yyj15 int + var yyb15 bool + var yyhl15 bool = l >= 0 + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb106 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb106 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1165,20 +1213,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym108 := z.DecBinary() - _ = yym108 + yym17 := z.DecBinary() + _ = yym17 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb106 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb106 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1191,20 +1239,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym110 := z.DecBinary() - _ = yym110 + yym19 := z.DecBinary() + _ = yym19 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb106 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb106 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1217,20 +1265,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym112 := z.DecBinary() - _ = yym112 + yym21 := z.DecBinary() + _ = yym21 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb106 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb106 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1243,21 +1291,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_v1.LabelSelector) } - yym114 := z.DecBinary() - _ = yym114 + yym23 := z.DecBinary() + _ = yym23 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb106 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb106 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1270,20 +1318,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym116 := z.DecBinary() - _ = yym116 + yym25 := z.DecBinary() + _ = yym25 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() } } - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb106 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb106 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1291,21 +1339,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv117 := &x.Template - yyv117.CodecDecodeSelf(d) + yyv26 := &x.Template + yyv26.CodecDecodeSelf(d) } for { - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb106 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb106 { + if yyb15 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj106-1, "") + z.DecStructFieldNotFound(yyj15-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1317,43 +1365,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym118 := z.EncBinary() - _ = yym118 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep119 := !z.EncBinary() - yy2arr119 := z.EncBasicHandle().StructToArray - var yyq119 [6]bool - _, _, _ = yysep119, yyq119, yy2arr119 - const yyr119 bool = false - yyq119[0] = len(x.Conditions) != 0 - yyq119[1] = x.StartTime != nil - yyq119[2] = x.CompletionTime != nil - yyq119[3] = x.Active != 0 - yyq119[4] = x.Succeeded != 0 - yyq119[5] = x.Failed != 0 - var yynn119 int - if yyr119 || yy2arr119 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Conditions) != 0 + yyq2[1] = x.StartTime != nil + yyq2[2] = x.CompletionTime != nil + yyq2[3] = x.Active != 0 + yyq2[4] = x.Succeeded != 0 + yyq2[5] = x.Failed != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn119 = 0 - for _, b := range yyq119 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn119++ + yynn2++ } } - r.EncodeMapStart(yynn119) - yynn119 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr119 || yy2arr119 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq119[0] { + if yyq2[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym121 := z.EncBinary() - _ = yym121 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1363,15 +1411,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq119[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym122 := z.EncBinary() - _ = yym122 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1379,19 +1427,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr119 || yy2arr119 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq119[1] { + if yyq2[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym124 := z.EncBinary() - _ = yym124 + yym7 := z.EncBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym124 { + } else if yym7 { z.EncBinaryMarshal(x.StartTime) - } else if !yym124 && z.IsJSONHandle() { + } else if !yym7 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1401,20 +1449,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq119[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym125 := z.EncBinary() - _ = yym125 + yym8 := z.EncBinary() + _ = yym8 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym125 { + } else if yym8 { z.EncBinaryMarshal(x.StartTime) - } else if !yym125 && z.IsJSONHandle() { + } else if !yym8 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1422,19 +1470,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr119 || yy2arr119 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq119[2] { + if yyq2[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym127 := z.EncBinary() - _ = yym127 + yym10 := z.EncBinary() + _ = yym10 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym127 { + } else if yym10 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym127 && z.IsJSONHandle() { + } else if !yym10 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1444,20 +1492,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq119[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym128 := z.EncBinary() - _ = yym128 + yym11 := z.EncBinary() + _ = yym11 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym128 { + } else if yym11 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym128 && z.IsJSONHandle() { + } else if !yym11 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1465,11 +1513,11 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr119 || yy2arr119 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq119[3] { - yym130 := z.EncBinary() - _ = yym130 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeInt(int64(x.Active)) @@ -1478,23 +1526,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq119[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym131 := z.EncBinary() - _ = yym131 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeInt(int64(x.Active)) } } } - if yyr119 || yy2arr119 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq119[4] { - yym133 := z.EncBinary() - _ = yym133 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeInt(int64(x.Succeeded)) @@ -1503,23 +1551,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq119[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("succeeded")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym134 := z.EncBinary() - _ = yym134 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeInt(int64(x.Succeeded)) } } } - if yyr119 || yy2arr119 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq119[5] { - yym136 := z.EncBinary() - _ = yym136 + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -1528,19 +1576,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq119[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym137 := z.EncBinary() - _ = yym137 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr119 || yy2arr119 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1553,25 +1601,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym138 := z.DecBinary() - _ = yym138 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct139 := r.ContainerType() - if yyct139 == codecSelferValueTypeMap1234 { - yyl139 := r.ReadMapStart() - if yyl139 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl139, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct139 == codecSelferValueTypeArray1234 { - yyl139 := r.ReadArrayStart() - if yyl139 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl139, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1583,12 +1631,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys140Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys140Slc - var yyhl140 bool = l >= 0 - for yyj140 := 0; ; yyj140++ { - if yyhl140 { - if yyj140 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1597,20 +1645,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys140Slc = r.DecodeBytes(yys140Slc, true, true) - yys140 := string(yys140Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys140 { + switch yys3 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv141 := &x.Conditions - yym142 := z.DecBinary() - _ = yym142 + yyv4 := &x.Conditions + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv141), d) + h.decSliceJobCondition((*[]JobCondition)(yyv4), d) } } case "startTime": @@ -1622,13 +1670,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_v1.Time) } - yym144 := z.DecBinary() - _ = yym144 + yym7 := z.DecBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym144 { + } else if yym7 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym144 && z.IsJSONHandle() { + } else if !yym7 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -1643,13 +1691,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_v1.Time) } - yym146 := z.DecBinary() - _ = yym146 + yym9 := z.DecBinary() + _ = yym9 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym146 { + } else if yym9 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym146 && z.IsJSONHandle() { + } else if !yym9 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -1659,24 +1707,42 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Active = 0 } else { - x.Active = int32(r.DecodeInt(32)) + yyv10 := &x.Active + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*int32)(yyv10)) = int32(r.DecodeInt(32)) + } } case "succeeded": if r.TryDecodeAsNil() { x.Succeeded = 0 } else { - x.Succeeded = int32(r.DecodeInt(32)) + yyv12 := &x.Succeeded + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*int32)(yyv12)) = int32(r.DecodeInt(32)) + } } case "failed": if r.TryDecodeAsNil() { x.Failed = 0 } else { - x.Failed = int32(r.DecodeInt(32)) + yyv14 := &x.Failed + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*int32)(yyv14)) = int32(r.DecodeInt(32)) + } } default: - z.DecStructFieldNotFound(-1, yys140) - } // end switch yys140 - } // end for yyj140 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1684,16 +1750,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj150 int - var yyb150 bool - var yyhl150 bool = l >= 0 - yyj150++ - if yyhl150 { - yyb150 = yyj150 > l + var yyj16 int + var yyb16 bool + var yyhl16 bool = l >= 0 + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb150 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb150 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1701,21 +1767,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv151 := &x.Conditions - yym152 := z.DecBinary() - _ = yym152 + yyv17 := &x.Conditions + yym18 := z.DecBinary() + _ = yym18 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv151), d) + h.decSliceJobCondition((*[]JobCondition)(yyv17), d) } } - yyj150++ - if yyhl150 { - yyb150 = yyj150 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb150 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb150 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1728,25 +1794,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_v1.Time) } - yym154 := z.DecBinary() - _ = yym154 + yym20 := z.DecBinary() + _ = yym20 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym154 { + } else if yym20 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym154 && z.IsJSONHandle() { + } else if !yym20 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj150++ - if yyhl150 { - yyb150 = yyj150 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb150 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb150 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1759,25 +1825,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_v1.Time) } - yym156 := z.DecBinary() - _ = yym156 + yym22 := z.DecBinary() + _ = yym22 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym156 { + } else if yym22 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym156 && z.IsJSONHandle() { + } else if !yym22 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj150++ - if yyhl150 { - yyb150 = yyj150 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb150 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb150 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1785,15 +1851,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Active = 0 } else { - x.Active = int32(r.DecodeInt(32)) + yyv23 := &x.Active + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*int32)(yyv23)) = int32(r.DecodeInt(32)) + } } - yyj150++ - if yyhl150 { - yyb150 = yyj150 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb150 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb150 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1801,15 +1873,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Succeeded = 0 } else { - x.Succeeded = int32(r.DecodeInt(32)) + yyv25 := &x.Succeeded + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*int32)(yyv25)) = int32(r.DecodeInt(32)) + } } - yyj150++ - if yyhl150 { - yyb150 = yyj150 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb150 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb150 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1817,20 +1895,26 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Failed = 0 } else { - x.Failed = int32(r.DecodeInt(32)) + yyv27 := &x.Failed + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*int32)(yyv27)) = int32(r.DecodeInt(32)) + } } for { - yyj150++ - if yyhl150 { - yyb150 = yyj150 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb150 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb150 { + if yyb16 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj150-1, "") + z.DecStructFieldNotFound(yyj16-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1839,8 +1923,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym160 := z.EncBinary() - _ = yym160 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -1852,8 +1936,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym161 := z.DecBinary() - _ = yym161 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -1868,34 +1952,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym162 := z.EncBinary() - _ = yym162 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep163 := !z.EncBinary() - yy2arr163 := z.EncBasicHandle().StructToArray - var yyq163 [6]bool - _, _, _ = yysep163, yyq163, yy2arr163 - const yyr163 bool = false - yyq163[2] = true - yyq163[3] = true - yyq163[4] = x.Reason != "" - yyq163[5] = x.Message != "" - var yynn163 int - if yyr163 || yy2arr163 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = true + yyq2[3] = true + yyq2[4] = x.Reason != "" + yyq2[5] = x.Message != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn163 = 2 - for _, b := range yyq163 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn163++ + yynn2++ } } - r.EncodeMapStart(yynn163) - yynn163 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr163 || yy2arr163 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -1904,106 +1988,96 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr163 || yy2arr163 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym166 := z.EncBinary() - _ = yym166 - if false { - } else if z.HasExtensions() && z.EncExt(x.Status) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Status)) - } + yysf7 := &x.Status + yysf7.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym167 := z.EncBinary() - _ = yym167 - if false { - } else if z.HasExtensions() && z.EncExt(x.Status) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Status)) - } + yysf8 := &x.Status + yysf8.CodecEncodeSelf(e) } - if yyr163 || yy2arr163 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq163[2] { - yy169 := &x.LastProbeTime - yym170 := z.EncBinary() - _ = yym170 + if yyq2[2] { + yy10 := &x.LastProbeTime + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy169) { - } else if yym170 { - z.EncBinaryMarshal(yy169) - } else if !yym170 && z.IsJSONHandle() { - z.EncJSONMarshal(yy169) + } else if z.HasExtensions() && z.EncExt(yy10) { + } else if yym11 { + z.EncBinaryMarshal(yy10) + } else if !yym11 && z.IsJSONHandle() { + z.EncJSONMarshal(yy10) } else { - z.EncFallback(yy169) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq163[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy171 := &x.LastProbeTime - yym172 := z.EncBinary() - _ = yym172 + yy12 := &x.LastProbeTime + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy171) { - } else if yym172 { - z.EncBinaryMarshal(yy171) - } else if !yym172 && z.IsJSONHandle() { - z.EncJSONMarshal(yy171) + } else if z.HasExtensions() && z.EncExt(yy12) { + } else if yym13 { + z.EncBinaryMarshal(yy12) + } else if !yym13 && z.IsJSONHandle() { + z.EncJSONMarshal(yy12) } else { - z.EncFallback(yy171) + z.EncFallback(yy12) } } } - if yyr163 || yy2arr163 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq163[3] { - yy174 := &x.LastTransitionTime - yym175 := z.EncBinary() - _ = yym175 + if yyq2[3] { + yy15 := &x.LastTransitionTime + yym16 := z.EncBinary() + _ = yym16 if false { - } else if z.HasExtensions() && z.EncExt(yy174) { - } else if yym175 { - z.EncBinaryMarshal(yy174) - } else if !yym175 && z.IsJSONHandle() { - z.EncJSONMarshal(yy174) + } else if z.HasExtensions() && z.EncExt(yy15) { + } else if yym16 { + z.EncBinaryMarshal(yy15) + } else if !yym16 && z.IsJSONHandle() { + z.EncJSONMarshal(yy15) } else { - z.EncFallback(yy174) + z.EncFallback(yy15) } } else { r.EncodeNil() } } else { - if yyq163[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy176 := &x.LastTransitionTime - yym177 := z.EncBinary() - _ = yym177 + yy17 := &x.LastTransitionTime + yym18 := z.EncBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.EncExt(yy176) { - } else if yym177 { - z.EncBinaryMarshal(yy176) - } else if !yym177 && z.IsJSONHandle() { - z.EncJSONMarshal(yy176) + } else if z.HasExtensions() && z.EncExt(yy17) { + } else if yym18 { + z.EncBinaryMarshal(yy17) + } else if !yym18 && z.IsJSONHandle() { + z.EncJSONMarshal(yy17) } else { - z.EncFallback(yy176) + z.EncFallback(yy17) } } } - if yyr163 || yy2arr163 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq163[4] { - yym179 := z.EncBinary() - _ = yym179 + if yyq2[4] { + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -2012,23 +2086,23 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq163[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym180 := z.EncBinary() - _ = yym180 + yym21 := z.EncBinary() + _ = yym21 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr163 || yy2arr163 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq163[5] { - yym182 := z.EncBinary() - _ = yym182 + if yyq2[5] { + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -2037,19 +2111,19 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq163[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym183 := z.EncBinary() - _ = yym183 + yym24 := z.EncBinary() + _ = yym24 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr163 || yy2arr163 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2062,25 +2136,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym184 := z.DecBinary() - _ = yym184 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct185 := r.ContainerType() - if yyct185 == codecSelferValueTypeMap1234 { - yyl185 := r.ReadMapStart() - if yyl185 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl185, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct185 == codecSelferValueTypeArray1234 { - yyl185 := r.ReadArrayStart() - if yyl185 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl185, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2092,12 +2166,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys186Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys186Slc - var yyhl186 bool = l >= 0 - for yyj186 := 0; ; yyj186++ { - if yyhl186 { - if yyj186 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2106,72 +2180,86 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys186Slc = r.DecodeBytes(yys186Slc, true, true) - yys186 := string(yys186Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys186 { + switch yys3 { case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = JobConditionType(r.DecodeString()) + yyv4 := &x.Type + yyv4.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) + yyv5 := &x.Status + yyv5.CodecDecodeSelf(d) } case "lastProbeTime": if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_v1.Time{} } else { - yyv189 := &x.LastProbeTime - yym190 := z.DecBinary() - _ = yym190 + yyv6 := &x.LastProbeTime + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv189) { - } else if yym190 { - z.DecBinaryUnmarshal(yyv189) - } else if !yym190 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv189) + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if yym7 { + z.DecBinaryUnmarshal(yyv6) + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) } else { - z.DecFallback(yyv189, false) + z.DecFallback(yyv6, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_v1.Time{} } else { - yyv191 := &x.LastTransitionTime - yym192 := z.DecBinary() - _ = yym192 + yyv8 := &x.LastTransitionTime + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv191) { - } else if yym192 { - z.DecBinaryUnmarshal(yyv191) - } else if !yym192 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv191) + } else if z.HasExtensions() && z.DecExt(yyv8) { + } else if yym9 { + z.DecBinaryUnmarshal(yyv8) + } else if !yym9 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv8) } else { - z.DecFallback(yyv191, false) + z.DecFallback(yyv8, false) } } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv10 := &x.Reason + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv12 := &x.Message + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys186) - } // end switch yys186 - } // end for yyj186 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2179,16 +2267,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj195 int - var yyb195 bool - var yyhl195 bool = l >= 0 - yyj195++ - if yyhl195 { - yyb195 = yyj195 > l + var yyj14 int + var yyb14 bool + var yyhl14 bool = l >= 0 + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb195 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb195 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2196,15 +2284,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = JobConditionType(r.DecodeString()) + yyv15 := &x.Type + yyv15.CodecDecodeSelf(d) } - yyj195++ - if yyhl195 { - yyb195 = yyj195 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb195 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb195 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2212,15 +2301,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) + yyv16 := &x.Status + yyv16.CodecDecodeSelf(d) } - yyj195++ - if yyhl195 { - yyb195 = yyj195 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb195 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb195 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2228,26 +2318,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_v1.Time{} } else { - yyv198 := &x.LastProbeTime - yym199 := z.DecBinary() - _ = yym199 + yyv17 := &x.LastProbeTime + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv198) { - } else if yym199 { - z.DecBinaryUnmarshal(yyv198) - } else if !yym199 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv198) + } else if z.HasExtensions() && z.DecExt(yyv17) { + } else if yym18 { + z.DecBinaryUnmarshal(yyv17) + } else if !yym18 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv17) } else { - z.DecFallback(yyv198, false) + z.DecFallback(yyv17, false) } } - yyj195++ - if yyhl195 { - yyb195 = yyj195 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb195 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb195 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2255,26 +2345,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_v1.Time{} } else { - yyv200 := &x.LastTransitionTime - yym201 := z.DecBinary() - _ = yym201 + yyv19 := &x.LastTransitionTime + yym20 := z.DecBinary() + _ = yym20 if false { - } else if z.HasExtensions() && z.DecExt(yyv200) { - } else if yym201 { - z.DecBinaryUnmarshal(yyv200) - } else if !yym201 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv200) + } else if z.HasExtensions() && z.DecExt(yyv19) { + } else if yym20 { + z.DecBinaryUnmarshal(yyv19) + } else if !yym20 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv19) } else { - z.DecFallback(yyv200, false) + z.DecFallback(yyv19, false) } } - yyj195++ - if yyhl195 { - yyb195 = yyj195 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb195 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb195 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2282,15 +2372,21 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv21 := &x.Reason + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } - yyj195++ - if yyhl195 { - yyb195 = yyj195 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb195 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb195 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2298,20 +2394,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv23 := &x.Message + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*string)(yyv23)) = r.DecodeString() + } } for { - yyj195++ - if yyhl195 { - yyb195 = yyj195 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb195 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb195 { + if yyb14 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj195-1, "") + z.DecStructFieldNotFound(yyj14-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2321,10 +2423,10 @@ func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv204 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy205 := &yyv204 - yy205.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2334,83 +2436,86 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv206 := *v - yyh206, yyl206 := z.DecSliceHelperStart() - var yyc206 bool - if yyl206 == 0 { - if yyv206 == nil { - yyv206 = []Job{} - yyc206 = true - } else if len(yyv206) != 0 { - yyv206 = yyv206[:0] - yyc206 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Job{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl206 > 0 { - var yyrr206, yyrl206 int - var yyrt206 bool - if yyl206 > cap(yyv206) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg206 := len(yyv206) > 0 - yyv2206 := yyv206 - yyrl206, yyrt206 = z.DecInferLen(yyl206, z.DecBasicHandle().MaxInitLen, 832) - if yyrt206 { - if yyrl206 <= cap(yyv206) { - yyv206 = yyv206[:yyrl206] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 832) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv206 = make([]Job, yyrl206) + yyv1 = make([]Job, yyrl1) } } else { - yyv206 = make([]Job, yyrl206) + yyv1 = make([]Job, yyrl1) } - yyc206 = true - yyrr206 = len(yyv206) - if yyrg206 { - copy(yyv206, yyv2206) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl206 != len(yyv206) { - yyv206 = yyv206[:yyl206] - yyc206 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj206 := 0 - for ; yyj206 < yyrr206; yyj206++ { - yyh206.ElemContainerState(yyj206) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv206[yyj206] = Job{} + yyv1[yyj1] = Job{} } else { - yyv207 := &yyv206[yyj206] - yyv207.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt206 { - for ; yyj206 < yyl206; yyj206++ { - yyv206 = append(yyv206, Job{}) - yyh206.ElemContainerState(yyj206) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Job{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv206[yyj206] = Job{} + yyv1[yyj1] = Job{} } else { - yyv208 := &yyv206[yyj206] - yyv208.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj206 := 0 - for ; !r.CheckBreak(); yyj206++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj206 >= len(yyv206) { - yyv206 = append(yyv206, Job{}) // var yyz206 Job - yyc206 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Job{}) // var yyz1 Job + yyc1 = true } - yyh206.ElemContainerState(yyj206) - if yyj206 < len(yyv206) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv206[yyj206] = Job{} + yyv1[yyj1] = Job{} } else { - yyv209 := &yyv206[yyj206] - yyv209.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -2418,17 +2523,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj206 < len(yyv206) { - yyv206 = yyv206[:yyj206] - yyc206 = true - } else if yyj206 == 0 && yyv206 == nil { - yyv206 = []Job{} - yyc206 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Job{} + yyc1 = true } } - yyh206.End() - if yyc206 { - *v = yyv206 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -2437,10 +2542,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv210 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy211 := &yyv210 - yy211.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2450,83 +2555,86 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv212 := *v - yyh212, yyl212 := z.DecSliceHelperStart() - var yyc212 bool - if yyl212 == 0 { - if yyv212 == nil { - yyv212 = []JobCondition{} - yyc212 = true - } else if len(yyv212) != 0 { - yyv212 = yyv212[:0] - yyc212 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []JobCondition{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl212 > 0 { - var yyrr212, yyrl212 int - var yyrt212 bool - if yyl212 > cap(yyv212) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg212 := len(yyv212) > 0 - yyv2212 := yyv212 - yyrl212, yyrt212 = z.DecInferLen(yyl212, z.DecBasicHandle().MaxInitLen, 112) - if yyrt212 { - if yyrl212 <= cap(yyv212) { - yyv212 = yyv212[:yyrl212] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv212 = make([]JobCondition, yyrl212) + yyv1 = make([]JobCondition, yyrl1) } } else { - yyv212 = make([]JobCondition, yyrl212) + yyv1 = make([]JobCondition, yyrl1) } - yyc212 = true - yyrr212 = len(yyv212) - if yyrg212 { - copy(yyv212, yyv2212) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl212 != len(yyv212) { - yyv212 = yyv212[:yyl212] - yyc212 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj212 := 0 - for ; yyj212 < yyrr212; yyj212++ { - yyh212.ElemContainerState(yyj212) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv212[yyj212] = JobCondition{} + yyv1[yyj1] = JobCondition{} } else { - yyv213 := &yyv212[yyj212] - yyv213.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt212 { - for ; yyj212 < yyl212; yyj212++ { - yyv212 = append(yyv212, JobCondition{}) - yyh212.ElemContainerState(yyj212) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, JobCondition{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv212[yyj212] = JobCondition{} + yyv1[yyj1] = JobCondition{} } else { - yyv214 := &yyv212[yyj212] - yyv214.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj212 := 0 - for ; !r.CheckBreak(); yyj212++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj212 >= len(yyv212) { - yyv212 = append(yyv212, JobCondition{}) // var yyz212 JobCondition - yyc212 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, JobCondition{}) // var yyz1 JobCondition + yyc1 = true } - yyh212.ElemContainerState(yyj212) - if yyj212 < len(yyv212) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv212[yyj212] = JobCondition{} + yyv1[yyj1] = JobCondition{} } else { - yyv215 := &yyv212[yyj212] - yyv215.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -2534,16 +2642,16 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj212 < len(yyv212) { - yyv212 = yyv212[:yyj212] - yyc212 = true - } else if yyj212 == 0 && yyv212 == nil { - yyv212 = []JobCondition{} - yyc212 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []JobCondition{} + yyc1 = true } } - yyh212.End() - if yyc212 { - *v = yyv212 + yyh1.End() + if yyc1 { + *v = yyv1 } } diff --git a/pkg/apis/batch/v1/types.go b/pkg/apis/batch/v1/types.go index 44ca039d..55baa786 100644 --- a/pkg/apis/batch/v1/types.go +++ b/pkg/apis/batch/v1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // +genclient=true diff --git a/pkg/apis/batch/v1/zz_generated.conversion.go b/pkg/apis/batch/v1/zz_generated.conversion.go index e798cd20..e2847325 100644 --- a/pkg/apis/batch/v1/zz_generated.conversion.go +++ b/pkg/apis/batch/v1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,12 +21,12 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" api_v1 "k8s.io/client-go/pkg/api/v1" batch "k8s.io/client-go/pkg/apis/batch" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" unsafe "unsafe" ) diff --git a/pkg/apis/batch/v1/zz_generated.deepcopy.go b/pkg/apis/batch/v1/zz_generated.deepcopy.go index 23513208..fb2599b7 100644 --- a/pkg/apis/batch/v1/zz_generated.deepcopy.go +++ b/pkg/apis/batch/v1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ limitations under the License. package v1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api_v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -48,7 +48,7 @@ func DeepCopy_v1_Job(in interface{}, out interface{}, c *conversion.Cloner) erro { in := in.(*Job) out := out.(*Job) - out.TypeMeta = in.TypeMeta + *out = *in if err := api_v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -66,12 +66,9 @@ func DeepCopy_v1_JobCondition(in interface{}, out interface{}, c *conversion.Clo { in := in.(*JobCondition) out := out.(*JobCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastProbeTime = in.LastProbeTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -80,8 +77,7 @@ func DeepCopy_v1_JobList(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*JobList) out := out.(*JobList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Job, len(*in)) @@ -90,8 +86,6 @@ func DeepCopy_v1_JobList(in interface{}, out interface{}, c *conversion.Cloner) return err } } - } else { - out.Items = nil } return nil } @@ -101,42 +95,34 @@ func DeepCopy_v1_JobSpec(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*JobSpec) out := out.(*JobSpec) + *out = *in if in.Parallelism != nil { in, out := &in.Parallelism, &out.Parallelism *out = new(int32) **out = **in - } else { - out.Parallelism = nil } if in.Completions != nil { in, out := &in.Completions, &out.Completions *out = new(int32) **out = **in - } else { - out.Completions = nil } if in.ActiveDeadlineSeconds != nil { in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds *out = new(int64) **out = **in - } else { - out.ActiveDeadlineSeconds = nil } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(meta_v1.LabelSelector) - if err := meta_v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*meta_v1.LabelSelector) } - } else { - out.Selector = nil } if in.ManualSelector != nil { in, out := &in.ManualSelector, &out.ManualSelector *out = new(bool) **out = **in - } else { - out.ManualSelector = nil } if err := api_v1.DeepCopy_v1_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err @@ -149,6 +135,7 @@ func DeepCopy_v1_JobStatus(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*JobStatus) out := out.(*JobStatus) + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]JobCondition, len(*in)) @@ -157,26 +144,17 @@ func DeepCopy_v1_JobStatus(in interface{}, out interface{}, c *conversion.Cloner return err } } - } else { - out.Conditions = nil } if in.StartTime != nil { in, out := &in.StartTime, &out.StartTime *out = new(meta_v1.Time) **out = (*in).DeepCopy() - } else { - out.StartTime = nil } if in.CompletionTime != nil { in, out := &in.CompletionTime, &out.CompletionTime *out = new(meta_v1.Time) **out = (*in).DeepCopy() - } else { - out.CompletionTime = nil } - out.Active = in.Active - out.Succeeded = in.Succeeded - out.Failed = in.Failed return nil } } diff --git a/pkg/apis/batch/v1/zz_generated.defaults.go b/pkg/apis/batch/v1/zz_generated.defaults.go index ef8a8b0e..bb1926c1 100644 --- a/pkg/apis/batch/v1/zz_generated.defaults.go +++ b/pkg/apis/batch/v1/zz_generated.defaults.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,8 +21,8 @@ limitations under the License. package v1 import ( + runtime "k8s.io/apimachinery/pkg/runtime" api_v1 "k8s.io/client-go/pkg/api/v1" - runtime "k8s.io/client-go/pkg/runtime" ) // RegisterDefaults adds defaulters functions to the given scheme. diff --git a/pkg/apis/batch/v2alpha1/conversion.go b/pkg/apis/batch/v2alpha1/conversion.go index e9a88b11..e567a00c 100644 --- a/pkg/apis/batch/v2alpha1/conversion.go +++ b/pkg/apis/batch/v2alpha1/conversion.go @@ -19,11 +19,11 @@ package v2alpha1 import ( "fmt" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" "k8s.io/client-go/pkg/apis/batch" - "k8s.io/client-go/pkg/conversion" - "k8s.io/client-go/pkg/runtime" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/apis/batch/v2alpha1/defaults.go b/pkg/apis/batch/v2alpha1/defaults.go index d0c1d634..63cf624c 100644 --- a/pkg/apis/batch/v2alpha1/defaults.go +++ b/pkg/apis/batch/v2alpha1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v2alpha1 import ( - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/apis/batch/v2alpha1/generated.pb.go b/pkg/apis/batch/v2alpha1/generated.pb.go index 376fe1d6..1b836635 100644 --- a/pkg/apis/batch/v2alpha1/generated.pb.go +++ b/pkg/apis/batch/v2alpha1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -43,8 +43,9 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" +import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1" -import k8s_io_kubernetes_pkg_apis_meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" import strings "strings" import reflect "reflect" @@ -156,6 +157,14 @@ func (m *CronJob) MarshalTo(data []byte) (int, error) { return 0, err } i += n3 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n4, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n4 return i, nil } @@ -177,11 +186,11 @@ func (m *CronJobList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n4, err := m.ListMeta.MarshalTo(data[i:]) + n5, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n4 + i += n5 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -194,6 +203,14 @@ func (m *CronJobList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n6, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n6 return i, nil } @@ -238,11 +255,11 @@ func (m *CronJobSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(m.JobTemplate.Size())) - n5, err := m.JobTemplate.MarshalTo(data[i:]) + n7, err := m.JobTemplate.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n5 + i += n7 return i, nil } @@ -277,11 +294,11 @@ func (m *CronJobStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.LastScheduleTime.Size())) - n6, err := m.LastScheduleTime.MarshalTo(data[i:]) + n8, err := m.LastScheduleTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n6 + i += n8 } return i, nil } @@ -304,27 +321,35 @@ func (m *Job) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n7, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n7 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n8, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n8 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n9, err := m.Status.MarshalTo(data[i:]) + n9, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n9 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n10, err := m.Spec.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n10 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n11, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n11 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n12, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n12 return i, nil } @@ -354,19 +379,19 @@ func (m *JobCondition) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.LastProbeTime.Size())) - n10, err := m.LastProbeTime.MarshalTo(data[i:]) + n13, err := m.LastProbeTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n10 + i += n13 data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) - n11, err := m.LastTransitionTime.MarshalTo(data[i:]) + n14, err := m.LastTransitionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n11 + i += n14 data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) @@ -396,11 +421,11 @@ func (m *JobList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n12, err := m.ListMeta.MarshalTo(data[i:]) + n15, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n12 + i += n15 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -413,6 +438,14 @@ func (m *JobList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n16, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n16 return i, nil } @@ -450,11 +483,11 @@ func (m *JobSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n13, err := m.Selector.MarshalTo(data[i:]) + n17, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n13 + i += n17 } if m.ManualSelector != nil { data[i] = 0x28 @@ -469,11 +502,11 @@ func (m *JobSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x32 i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n14, err := m.Template.MarshalTo(data[i:]) + n18, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n14 + i += n18 return i, nil } @@ -508,21 +541,21 @@ func (m *JobStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.StartTime.Size())) - n15, err := m.StartTime.MarshalTo(data[i:]) + n19, err := m.StartTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n15 + i += n19 } if m.CompletionTime != nil { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.CompletionTime.Size())) - n16, err := m.CompletionTime.MarshalTo(data[i:]) + n20, err := m.CompletionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n16 + i += n20 } data[i] = 0x20 i++ @@ -554,19 +587,27 @@ func (m *JobTemplate) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n17, err := m.ObjectMeta.MarshalTo(data[i:]) + n21, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n17 + i += n21 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n18, err := m.Template.MarshalTo(data[i:]) + n22, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n18 + i += n22 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n23, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n23 return i, nil } @@ -588,19 +629,19 @@ func (m *JobTemplateSpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n19, err := m.ObjectMeta.MarshalTo(data[i:]) + n24, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n19 + i += n24 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n20, err := m.Spec.MarshalTo(data[i:]) + n25, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n20 + i += n25 return i, nil } @@ -640,6 +681,8 @@ func (m *CronJob) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -654,6 +697,8 @@ func (m *CronJobList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -700,6 +745,8 @@ func (m *Job) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -732,6 +779,8 @@ func (m *JobList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -789,6 +838,8 @@ func (m *JobTemplate) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Template.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -823,6 +874,7 @@ func (this *CronJob) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "CronJobSpec", "CronJobSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "CronJobStatus", "CronJobStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -832,8 +884,9 @@ func (this *CronJobList) String() string { return "nil" } s := strings.Join([]string{`&CronJobList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "CronJob", "CronJob", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -858,7 +911,7 @@ func (this *CronJobStatus) String() string { } s := strings.Join([]string{`&CronJobStatus{`, `Active:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Active), "ObjectReference", "k8s_io_kubernetes_pkg_api_v1.ObjectReference", 1), `&`, ``, 1) + `,`, - `LastScheduleTime:` + strings.Replace(fmt.Sprintf("%v", this.LastScheduleTime), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1) + `,`, + `LastScheduleTime:` + strings.Replace(fmt.Sprintf("%v", this.LastScheduleTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`, `}`, }, "") return s @@ -871,6 +924,7 @@ func (this *Job) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "JobSpec", "JobSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "JobStatus", "JobStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -882,8 +936,8 @@ func (this *JobCondition) String() string { s := strings.Join([]string{`&JobCondition{`, `Type:` + fmt.Sprintf("%v", this.Type) + `,`, `Status:` + fmt.Sprintf("%v", this.Status) + `,`, - `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, - `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, `}`, @@ -895,8 +949,9 @@ func (this *JobList) String() string { return "nil" } s := strings.Join([]string{`&JobList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Job", "Job", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -909,7 +964,7 @@ func (this *JobSpec) String() string { `Parallelism:` + valueToStringGenerated(this.Parallelism) + `,`, `Completions:` + valueToStringGenerated(this.Completions) + `,`, `ActiveDeadlineSeconds:` + valueToStringGenerated(this.ActiveDeadlineSeconds) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, `ManualSelector:` + valueToStringGenerated(this.ManualSelector) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, @@ -922,8 +977,8 @@ func (this *JobStatus) String() string { } s := strings.Join([]string{`&JobStatus{`, `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "JobCondition", "JobCondition", 1), `&`, ``, 1) + `,`, - `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1) + `,`, - `CompletionTime:` + strings.Replace(fmt.Sprintf("%v", this.CompletionTime), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1) + `,`, + `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`, + `CompletionTime:` + strings.Replace(fmt.Sprintf("%v", this.CompletionTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`, `Active:` + fmt.Sprintf("%v", this.Active) + `,`, `Succeeded:` + fmt.Sprintf("%v", this.Succeeded) + `,`, `Failed:` + fmt.Sprintf("%v", this.Failed) + `,`, @@ -938,6 +993,7 @@ func (this *JobTemplate) String() string { s := strings.Join([]string{`&JobTemplate{`, `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "JobTemplateSpec", "JobTemplateSpec", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -1080,6 +1136,36 @@ func (m *CronJob) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1191,6 +1277,36 @@ func (m *CronJobList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1478,7 +1594,7 @@ func (m *CronJobStatus) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.LastScheduleTime == nil { - m.LastScheduleTime = &k8s_io_kubernetes_pkg_apis_meta_v1.Time{} + m.LastScheduleTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{} } if err := m.LastScheduleTime.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -1624,6 +1740,36 @@ func (m *Job) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1961,6 +2107,36 @@ func (m *JobList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -2098,7 +2274,7 @@ func (m *JobSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector{} + m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -2263,7 +2439,7 @@ func (m *JobStatus) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.StartTime == nil { - m.StartTime = &k8s_io_kubernetes_pkg_apis_meta_v1.Time{} + m.StartTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{} } if err := m.StartTime.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -2296,7 +2472,7 @@ func (m *JobStatus) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.CompletionTime == nil { - m.CompletionTime = &k8s_io_kubernetes_pkg_apis_meta_v1.Time{} + m.CompletionTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{} } if err := m.CompletionTime.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -2469,6 +2645,36 @@ func (m *JobTemplate) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -2706,77 +2912,80 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 1137 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x56, 0x4b, 0x6f, 0x23, 0x45, - 0x17, 0x4d, 0xdb, 0x89, 0x1f, 0xe5, 0x3c, 0xeb, 0xfb, 0xa2, 0x31, 0x41, 0xb2, 0x23, 0x4b, 0xa0, - 0x0c, 0x4a, 0xba, 0x15, 0x2b, 0x82, 0x61, 0x16, 0x48, 0xd3, 0x41, 0x48, 0x44, 0x89, 0x26, 0x2a, - 0x27, 0x30, 0x1a, 0x66, 0x41, 0xb9, 0xbb, 0xe2, 0x74, 0xd2, 0xee, 0x6a, 0xba, 0xaa, 0x23, 0x65, - 0xc7, 0x9a, 0x15, 0x12, 0x3f, 0x80, 0x7f, 0xc1, 0x82, 0x1d, 0xac, 0xb2, 0x60, 0x31, 0xb0, 0x62, - 0x65, 0x91, 0xe6, 0x5f, 0x64, 0x85, 0xaa, 0x5c, 0xfd, 0xf0, 0x93, 0x38, 0x68, 0x90, 0xd8, 0xb9, - 0x6f, 0x9d, 0x73, 0xea, 0x56, 0xdd, 0x53, 0xf7, 0x1a, 0x7c, 0x78, 0xf9, 0x84, 0xe9, 0x0e, 0x35, - 0x2e, 0xc3, 0x36, 0x09, 0x3c, 0xc2, 0x09, 0x33, 0xfc, 0xcb, 0x8e, 0x81, 0x7d, 0x87, 0x19, 0x6d, - 0xcc, 0xad, 0x73, 0xe3, 0xaa, 0x89, 0x5d, 0xff, 0x1c, 0xef, 0x1a, 0x1d, 0xe2, 0x91, 0x00, 0x73, - 0x62, 0xeb, 0x7e, 0x40, 0x39, 0x85, 0x8f, 0xfb, 0x54, 0x3d, 0xa5, 0xea, 0xfe, 0x65, 0x47, 0x17, - 0x54, 0x5d, 0x52, 0xf5, 0x98, 0xba, 0xb1, 0xd3, 0x71, 0xf8, 0x79, 0xd8, 0xd6, 0x2d, 0xda, 0x35, - 0x3a, 0xb4, 0x43, 0x0d, 0xa9, 0xd0, 0x0e, 0xcf, 0xe4, 0x97, 0xfc, 0x90, 0xbf, 0xfa, 0xca, 0x1b, - 0xcd, 0x89, 0x49, 0x19, 0x01, 0x61, 0x34, 0x0c, 0x2c, 0x32, 0x9c, 0xcd, 0xc6, 0xf6, 0x64, 0xce, - 0xd5, 0x48, 0xee, 0x53, 0x76, 0x60, 0x46, 0x97, 0x70, 0x3c, 0x8e, 0xb3, 0x33, 0x9e, 0x13, 0x84, - 0x1e, 0x77, 0xba, 0xa3, 0x09, 0xed, 0x4d, 0x87, 0x33, 0xeb, 0x9c, 0x74, 0xf1, 0x08, 0x6b, 0x77, - 0x3c, 0x2b, 0xe4, 0x8e, 0x6b, 0x38, 0x1e, 0x67, 0x3c, 0x18, 0xa6, 0x34, 0xbe, 0xcf, 0x81, 0xe2, - 0x7e, 0x40, 0xbd, 0x03, 0xda, 0x86, 0x2f, 0x40, 0x49, 0xa4, 0x6f, 0x63, 0x8e, 0xab, 0xda, 0xa6, - 0xb6, 0x55, 0x69, 0x6e, 0xe9, 0x13, 0xcb, 0xa4, 0x5f, 0xed, 0xea, 0xcf, 0xdb, 0x17, 0xc4, 0xe2, - 0x47, 0x84, 0x63, 0x13, 0xde, 0xf4, 0xea, 0x73, 0x51, 0xaf, 0x0e, 0xd2, 0x18, 0x4a, 0xd4, 0xe0, - 0x0b, 0x30, 0xcf, 0x7c, 0x62, 0x55, 0x73, 0x52, 0xf5, 0x7d, 0xfd, 0xde, 0xc5, 0xd7, 0x55, 0x6e, - 0x2d, 0x9f, 0x58, 0xe6, 0xa2, 0xda, 0x63, 0x5e, 0x7c, 0x21, 0xa9, 0x08, 0xbf, 0x04, 0x05, 0xc6, - 0x31, 0x0f, 0x59, 0x35, 0x2f, 0xb5, 0x9f, 0x3c, 0x40, 0x5b, 0xf2, 0xcd, 0x65, 0xa5, 0x5e, 0xe8, - 0x7f, 0x23, 0xa5, 0xdb, 0xf8, 0x59, 0x03, 0x15, 0x85, 0x3c, 0x74, 0x18, 0x87, 0x2f, 0x47, 0x6e, - 0x69, 0x7b, 0xda, 0x9e, 0x02, 0x2b, 0xee, 0x4a, 0x70, 0xe5, 0x4d, 0xad, 0xaa, 0x7d, 0x4a, 0x71, - 0x24, 0x73, 0x4f, 0x9f, 0x83, 0x05, 0x87, 0x93, 0x2e, 0xab, 0xe6, 0x36, 0xf3, 0x5b, 0x95, 0x66, - 0x73, 0xf6, 0xc3, 0x98, 0x4b, 0x4a, 0x7e, 0xe1, 0x53, 0x21, 0x84, 0xfa, 0x7a, 0x8d, 0x6f, 0xf2, - 0xc9, 0x21, 0xc4, 0xe5, 0xc1, 0x6d, 0x50, 0x12, 0x1e, 0xb2, 0x43, 0x97, 0xc8, 0x43, 0x94, 0xd3, - 0xb4, 0x5a, 0x2a, 0x8e, 0x12, 0x04, 0x3c, 0x05, 0x8f, 0x18, 0xc7, 0x01, 0x77, 0xbc, 0xce, 0xc7, - 0x04, 0xdb, 0xae, 0xe3, 0x91, 0x16, 0xb1, 0xa8, 0x67, 0x33, 0x59, 0xd1, 0xbc, 0xf9, 0x76, 0xd4, - 0xab, 0x3f, 0x6a, 0x8d, 0x87, 0xa0, 0x49, 0x5c, 0xf8, 0x0a, 0xac, 0x59, 0xd4, 0xb3, 0xc2, 0x20, - 0x20, 0x9e, 0x75, 0x7d, 0x4c, 0x5d, 0xc7, 0xba, 0x96, 0x65, 0x2c, 0x9b, 0xba, 0xca, 0x66, 0x6d, - 0x7f, 0x18, 0x70, 0x37, 0x2e, 0x88, 0x46, 0x85, 0xe0, 0x3b, 0xa0, 0xc8, 0x42, 0xe6, 0x13, 0xcf, - 0xae, 0xce, 0x6f, 0x6a, 0x5b, 0x25, 0xb3, 0x12, 0xf5, 0xea, 0xc5, 0x56, 0x3f, 0x84, 0xe2, 0x35, - 0xf8, 0x15, 0xa8, 0x5c, 0xd0, 0xf6, 0x09, 0xe9, 0xfa, 0x2e, 0xe6, 0xa4, 0xba, 0x20, 0x2b, 0xfa, - 0x74, 0x86, 0x8b, 0x3f, 0x48, 0xd9, 0xd2, 0xa5, 0xff, 0x53, 0xa9, 0x57, 0x32, 0x0b, 0x28, 0xbb, - 0x47, 0xe3, 0x37, 0x0d, 0x2c, 0x0d, 0x78, 0x0f, 0x9e, 0x82, 0x02, 0xb6, 0xb8, 0x73, 0x25, 0x8a, - 0x21, 0x0a, 0xbf, 0x73, 0x9f, 0x77, 0x87, 0xc8, 0x19, 0x11, 0x07, 0x26, 0xa9, 0x75, 0x9f, 0x49, - 0x11, 0xa4, 0xc4, 0xe0, 0x05, 0x58, 0x75, 0x31, 0xe3, 0x71, 0x45, 0x4f, 0x9c, 0x2e, 0x91, 0x77, - 0x31, 0xf5, 0x61, 0xa7, 0x96, 0x15, 0x78, 0xf3, 0xff, 0x51, 0xaf, 0xbe, 0x7a, 0x38, 0xa4, 0x82, - 0x46, 0x74, 0x1b, 0xdf, 0xe5, 0x40, 0xfe, 0xcd, 0x36, 0x91, 0x93, 0x81, 0x26, 0xd2, 0x9c, 0xad, - 0x44, 0x13, 0x1b, 0xc8, 0xab, 0xa1, 0x06, 0xb2, 0x37, 0xa3, 0xee, 0xf4, 0xe6, 0xf1, 0x4b, 0x1e, - 0x2c, 0x1e, 0xd0, 0xf6, 0x3e, 0xf5, 0x6c, 0x87, 0x3b, 0xd4, 0x83, 0x7b, 0x60, 0x9e, 0x5f, 0xfb, - 0xf1, 0xa3, 0xdb, 0x8c, 0x13, 0x3a, 0xb9, 0xf6, 0xc9, 0x5d, 0xaf, 0xbe, 0x9a, 0xc5, 0x8a, 0x18, - 0x92, 0x68, 0xf8, 0x59, 0x92, 0x64, 0x4e, 0xf2, 0x3e, 0x1a, 0xdc, 0xee, 0xae, 0x57, 0x9f, 0x3a, - 0xc1, 0xf4, 0x44, 0x73, 0x30, 0x3d, 0x48, 0xc0, 0x92, 0x28, 0xe4, 0x71, 0x40, 0xdb, 0x7d, 0x77, - 0xe4, 0x67, 0x74, 0xc7, 0xba, 0x4a, 0x64, 0xe9, 0x30, 0x2b, 0x83, 0x06, 0x55, 0x21, 0x07, 0x50, - 0x04, 0x4e, 0x02, 0xec, 0xb1, 0xfe, 0xd1, 0x1e, 0xe2, 0xc4, 0x0d, 0xb5, 0x17, 0x3c, 0x1c, 0xd1, - 0x42, 0x63, 0xf4, 0xe1, 0xbb, 0xa0, 0x10, 0x10, 0xcc, 0xa8, 0x27, 0x1f, 0x75, 0x39, 0xad, 0x11, - 0x92, 0x51, 0xa4, 0x56, 0xe1, 0x63, 0x50, 0xec, 0x12, 0xc6, 0x70, 0x87, 0x54, 0x0b, 0x12, 0xb8, - 0xa2, 0x80, 0xc5, 0xa3, 0x7e, 0x18, 0xc5, 0xeb, 0x8d, 0x1f, 0x35, 0x50, 0xfc, 0x37, 0xe6, 0x40, - 0x6b, 0x70, 0x0e, 0xe8, 0xb3, 0x79, 0x72, 0xc2, 0x0c, 0xf8, 0x21, 0x2f, 0x93, 0x97, 0xfd, 0x7f, - 0x17, 0x54, 0x7c, 0x1c, 0x60, 0xd7, 0x25, 0xae, 0xc3, 0xba, 0x32, 0xff, 0x05, 0x73, 0x45, 0x74, - 0xad, 0xe3, 0x34, 0x8c, 0xb2, 0x18, 0x41, 0xb1, 0x68, 0xd7, 0x77, 0x89, 0xb8, 0xe0, 0xbe, 0x11, - 0x15, 0x65, 0x3f, 0x0d, 0xa3, 0x2c, 0x06, 0x3e, 0x07, 0xeb, 0xfd, 0x4e, 0x34, 0x3c, 0x35, 0xf2, - 0x72, 0x6a, 0xbc, 0x15, 0xf5, 0xea, 0xeb, 0xcf, 0xc6, 0x01, 0xd0, 0x78, 0x1e, 0xfc, 0x02, 0x94, - 0x18, 0x71, 0x89, 0xc5, 0x69, 0xa0, 0xec, 0xb3, 0x7b, 0xaf, 0x3b, 0xc7, 0x6d, 0xe2, 0xb6, 0x14, - 0xd1, 0x5c, 0x94, 0x53, 0x4e, 0x7d, 0xa1, 0x44, 0x10, 0x3e, 0x05, 0xcb, 0x5d, 0xec, 0x85, 0x38, - 0x41, 0x4a, 0xdf, 0x94, 0x4c, 0x18, 0xf5, 0xea, 0xcb, 0x47, 0x03, 0x2b, 0x68, 0x08, 0x29, 0x12, - 0xe3, 0xf1, 0x08, 0x29, 0xc8, 0xc4, 0xfe, 0xa6, 0x85, 0x1f, 0x53, 0x7b, 0x60, 0x6a, 0x24, 0x6e, - 0x48, 0x46, 0x46, 0x22, 0x28, 0x0a, 0x57, 0x4e, 0x67, 0xc5, 0x25, 0x00, 0x56, 0xfc, 0x9c, 0x99, - 0x9a, 0x17, 0x1f, 0xcc, 0x66, 0x90, 0xa4, 0x1d, 0xa4, 0x1d, 0x37, 0x09, 0x31, 0x94, 0x91, 0x87, - 0xa7, 0xa0, 0x2c, 0xa7, 0xb7, 0x7c, 0xb0, 0xb9, 0x19, 0x1f, 0xec, 0x52, 0xd4, 0xab, 0x97, 0x5b, - 0x31, 0x1d, 0xa5, 0x4a, 0xd0, 0x06, 0xcb, 0xa9, 0x4f, 0x1e, 0xd4, 0x78, 0x64, 0x51, 0xf6, 0x07, - 0x34, 0xd0, 0x90, 0xa6, 0x68, 0x00, 0x6a, 0xaa, 0xce, 0x4b, 0xb3, 0x4e, 0x1a, 0x93, 0x06, 0x28, - 0xb3, 0xd0, 0xb2, 0x08, 0xb1, 0x89, 0x2d, 0x6b, 0xbe, 0x60, 0xae, 0x29, 0x68, 0xb9, 0x15, 0x2f, - 0xa0, 0x14, 0x23, 0x84, 0xcf, 0xb0, 0xe3, 0x12, 0x5b, 0xd6, 0x3a, 0x23, 0xfc, 0x89, 0x8c, 0x22, - 0xb5, 0xda, 0xf8, 0x55, 0x03, 0xd9, 0x7f, 0x01, 0x6f, 0x70, 0x36, 0x9e, 0x67, 0xfc, 0x97, 0xfb, - 0xc7, 0x7f, 0x61, 0xa6, 0x99, 0xf1, 0x27, 0x0d, 0xac, 0x0c, 0xe1, 0xff, 0x6b, 0x33, 0xdf, 0x7c, - 0xef, 0xe6, 0xb6, 0x36, 0xf7, 0xfa, 0xb6, 0x36, 0xf7, 0xfb, 0x6d, 0x6d, 0xee, 0xeb, 0xa8, 0xa6, - 0xdd, 0x44, 0x35, 0xed, 0x75, 0x54, 0xd3, 0xfe, 0x88, 0x6a, 0xda, 0xb7, 0x7f, 0xd6, 0xe6, 0x5e, - 0x96, 0x62, 0x9d, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf5, 0x1c, 0xb0, 0x5a, 0xe4, 0x0e, 0x00, - 0x00, + // 1187 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x56, 0xcb, 0x6f, 0x23, 0xc5, + 0x13, 0x8e, 0x3d, 0x89, 0x1f, 0xed, 0x3c, 0xfb, 0xf7, 0x8b, 0xd6, 0x04, 0xc9, 0x8e, 0x2c, 0x81, + 0xb2, 0xab, 0xdd, 0x19, 0xc5, 0x44, 0xcb, 0xb2, 0x07, 0xa4, 0x9d, 0x20, 0x24, 0xa2, 0x44, 0x1b, + 0xb5, 0xb3, 0xec, 0x0a, 0x82, 0x44, 0x7b, 0xa6, 0x63, 0xcf, 0x66, 0x5e, 0x4c, 0xf7, 0x44, 0xca, + 0x8d, 0x33, 0x27, 0xce, 0x1c, 0xf9, 0x07, 0xb8, 0x22, 0x6e, 0xdc, 0x72, 0xcc, 0x81, 0x03, 0x27, + 0x8b, 0x0c, 0x7f, 0x01, 0xd7, 0x48, 0x48, 0xa8, 0xdb, 0x3d, 0x0f, 0xbf, 0x76, 0xed, 0x40, 0x58, + 0x71, 0x9b, 0xa9, 0xae, 0xef, 0xab, 0xee, 0xaa, 0xaf, 0xab, 0x1a, 0x7c, 0x70, 0xfa, 0x88, 0xaa, + 0x96, 0xa7, 0x9d, 0x86, 0x6d, 0x12, 0xb8, 0x84, 0x11, 0xaa, 0xf9, 0xa7, 0x1d, 0x0d, 0xfb, 0x16, + 0xd5, 0xda, 0x98, 0x19, 0x5d, 0xed, 0xac, 0x89, 0x6d, 0xbf, 0x8b, 0xb7, 0xb5, 0x0e, 0x71, 0x49, + 0x80, 0x19, 0x31, 0x55, 0x3f, 0xf0, 0x98, 0x07, 0xef, 0xf6, 0xa1, 0x6a, 0x0a, 0x55, 0xfd, 0xd3, + 0x8e, 0xca, 0xa1, 0xaa, 0x80, 0xaa, 0x31, 0x74, 0xe3, 0x41, 0xc7, 0x62, 0xdd, 0xb0, 0xad, 0x1a, + 0x9e, 0xa3, 0x75, 0xbc, 0x8e, 0xa7, 0x09, 0x86, 0x76, 0x78, 0x22, 0xfe, 0xc4, 0x8f, 0xf8, 0xea, + 0x33, 0x6f, 0xec, 0xc8, 0x4d, 0x61, 0xdf, 0x72, 0xb0, 0xd1, 0xb5, 0x5c, 0x12, 0x9c, 0xa7, 0xdb, + 0x72, 0x08, 0xc3, 0xda, 0xd9, 0xc8, 0x7e, 0x36, 0xb4, 0x49, 0xa8, 0x20, 0x74, 0x99, 0xe5, 0x90, + 0x11, 0xc0, 0xc3, 0xd7, 0x01, 0xa8, 0xd1, 0x25, 0x0e, 0x1e, 0xc1, 0x35, 0x27, 0xe6, 0x4c, 0x0b, + 0x08, 0xf5, 0xc2, 0xc0, 0x18, 0x8d, 0x75, 0x7f, 0x32, 0x66, 0xcc, 0x51, 0xb6, 0xc7, 0x7b, 0x87, + 0xcc, 0xb2, 0x35, 0xcb, 0x65, 0x94, 0x05, 0xc3, 0x90, 0xc6, 0x9f, 0x79, 0x50, 0xdc, 0x0d, 0x3c, + 0x77, 0xcf, 0x6b, 0xc3, 0x17, 0xa0, 0xc4, 0x93, 0x64, 0x62, 0x86, 0xab, 0xb9, 0xcd, 0xdc, 0x56, + 0xa5, 0xb9, 0xa5, 0x4e, 0x2c, 0x96, 0x7a, 0xb6, 0xad, 0x3e, 0x6d, 0xbf, 0x24, 0x06, 0x3b, 0x20, + 0x0c, 0xeb, 0xf0, 0xa2, 0x57, 0x9f, 0x8b, 0x7a, 0x75, 0x90, 0xda, 0x50, 0xc2, 0x06, 0x5f, 0x80, + 0x79, 0xea, 0x13, 0xa3, 0x9a, 0x17, 0xac, 0x0f, 0xd5, 0xa9, 0x25, 0xa0, 0xca, 0xbd, 0xb5, 0x7c, + 0x62, 0xe8, 0x8b, 0x32, 0xc6, 0x3c, 0xff, 0x43, 0x82, 0x11, 0x7e, 0x09, 0x0a, 0x94, 0x61, 0x16, + 0xd2, 0xaa, 0x22, 0xb8, 0x1f, 0xdd, 0x80, 0x5b, 0xe0, 0xf5, 0x65, 0xc9, 0x5e, 0xe8, 0xff, 0x23, + 0xc9, 0x0b, 0x8f, 0x41, 0x89, 0x9d, 0xfb, 0x84, 0x9f, 0xa8, 0x3a, 0x2f, 0x62, 0xa8, 0x71, 0x8c, + 0xac, 0x02, 0xd2, 0x28, 0xfc, 0xd4, 0x3c, 0x3b, 0x47, 0x12, 0xa5, 0xaf, 0x4a, 0xe6, 0x52, 0x6c, + 0x41, 0x09, 0x63, 0xe3, 0xfb, 0x3c, 0xa8, 0xc8, 0x7d, 0xec, 0x5b, 0x94, 0xf1, 0x68, 0x43, 0x35, + 0x98, 0x32, 0x1a, 0x47, 0x0f, 0x46, 0x8b, 0x2d, 0x99, 0x3a, 0x3c, 0x07, 0x0b, 0x16, 0x23, 0x0e, + 0xad, 0xe6, 0x37, 0x95, 0xad, 0x4a, 0xb3, 0x39, 0x7b, 0xb2, 0xf4, 0x25, 0x49, 0xbf, 0xf0, 0x09, + 0x27, 0x42, 0x7d, 0xbe, 0x81, 0x24, 0x29, 0xff, 0x78, 0x92, 0xbe, 0x51, 0x92, 0x24, 0xf1, 0xd2, + 0xc3, 0xfb, 0xa0, 0xc4, 0xef, 0x98, 0x19, 0xda, 0x44, 0x24, 0xa9, 0x9c, 0xa2, 0x5b, 0xd2, 0x8e, + 0x12, 0x0f, 0xf8, 0x0c, 0xdc, 0xa1, 0x0c, 0x07, 0xcc, 0x72, 0x3b, 0x1f, 0x11, 0x6c, 0xda, 0x96, + 0x4b, 0x5a, 0xc4, 0xf0, 0x5c, 0x93, 0x0a, 0x3d, 0x2a, 0xfa, 0xdb, 0x51, 0xaf, 0x7e, 0xa7, 0x35, + 0xde, 0x05, 0x4d, 0xc2, 0xc2, 0x63, 0xb0, 0x66, 0x78, 0xae, 0x11, 0x06, 0x01, 0x71, 0x8d, 0xf3, + 0x43, 0xcf, 0xb6, 0x8c, 0x73, 0x71, 0xf6, 0xb2, 0xae, 0xca, 0xdd, 0xac, 0xed, 0x0e, 0x3b, 0x5c, + 0x8f, 0x33, 0xa2, 0x51, 0x22, 0xf8, 0x0e, 0x28, 0xd2, 0x90, 0xfa, 0xc4, 0x35, 0x85, 0xe8, 0x4a, + 0x7a, 0x25, 0xea, 0xd5, 0x8b, 0xad, 0xbe, 0x09, 0xc5, 0x6b, 0xf0, 0x2b, 0x50, 0x79, 0xe9, 0xb5, + 0x8f, 0x88, 0xe3, 0xdb, 0x98, 0x91, 0xea, 0x82, 0x48, 0xfd, 0xe3, 0x19, 0xca, 0xba, 0x97, 0xa2, + 0xc5, 0x1d, 0xfb, 0x9f, 0xdc, 0x7a, 0x25, 0xb3, 0x80, 0xb2, 0x31, 0x1a, 0xbf, 0xe4, 0xc0, 0xd2, + 0xc0, 0xcd, 0x81, 0xcf, 0x40, 0x01, 0x1b, 0xcc, 0x3a, 0xe3, 0xc5, 0xe0, 0xb2, 0x7a, 0x30, 0x4d, + 0xd7, 0x40, 0xe4, 0x84, 0xf0, 0x03, 0x93, 0xf4, 0xe2, 0x3d, 0x11, 0x24, 0x48, 0x92, 0x41, 0x1b, + 0xac, 0xda, 0x98, 0xb2, 0xb8, 0xa2, 0x47, 0x96, 0x43, 0xe4, 0x05, 0xbc, 0x37, 0xa5, 0xb6, 0x2c, + 0x87, 0xe8, 0xff, 0x8f, 0x7a, 0xf5, 0xd5, 0xfd, 0x21, 0x1e, 0x34, 0xc2, 0xdc, 0xf8, 0x23, 0x0f, + 0x94, 0xdb, 0x6d, 0x82, 0x47, 0x03, 0x4d, 0xb0, 0x39, 0x5b, 0x91, 0x26, 0x36, 0xc0, 0xe3, 0xa1, + 0x06, 0xb8, 0x33, 0x23, 0xef, 0x9b, 0x6c, 0x7e, 0x97, 0x0a, 0x58, 0xdc, 0xf3, 0xda, 0xbb, 0x9e, + 0x6b, 0x5a, 0xcc, 0xf2, 0x5c, 0xb8, 0x03, 0xe6, 0xf9, 0xa2, 0xbc, 0xd4, 0x9b, 0xf1, 0x71, 0x39, + 0xf4, 0xba, 0x57, 0x5f, 0xcd, 0xfa, 0x72, 0x1b, 0x12, 0xde, 0xf0, 0xd3, 0x24, 0x05, 0x79, 0x81, + 0xfb, 0x70, 0xf0, 0x30, 0xd7, 0xbd, 0xfa, 0x2b, 0xc7, 0xa8, 0x9a, 0x70, 0x0e, 0x1d, 0xbe, 0x03, + 0x96, 0xb8, 0x4c, 0x0e, 0x03, 0xaf, 0xdd, 0x57, 0x9f, 0x32, 0xb3, 0xfa, 0xd6, 0xe5, 0x56, 0x96, + 0xf6, 0xb3, 0x44, 0x68, 0x90, 0x17, 0x9e, 0x01, 0xc8, 0x0d, 0x47, 0x01, 0x76, 0x69, 0xff, 0x70, + 0x37, 0xd3, 0xfa, 0x86, 0x8c, 0x06, 0xf7, 0x47, 0xd8, 0xd0, 0x98, 0x08, 0xf0, 0x5d, 0x50, 0x08, + 0x08, 0xa6, 0x9e, 0x2b, 0x1a, 0x47, 0x39, 0x55, 0x01, 0x12, 0x56, 0x24, 0x57, 0xe1, 0x5d, 0x50, + 0x74, 0x08, 0xa5, 0xb8, 0x43, 0xaa, 0x05, 0xe1, 0xb8, 0x22, 0x1d, 0x8b, 0x07, 0x7d, 0x33, 0x8a, + 0xd7, 0x1b, 0xdf, 0xe5, 0x41, 0xf1, 0xdf, 0x99, 0x65, 0xad, 0xc1, 0x59, 0xa6, 0xce, 0xa6, 0xfb, + 0x37, 0x32, 0xc7, 0x7e, 0x54, 0x44, 0x72, 0xc4, 0x0c, 0xdb, 0x06, 0x15, 0x1f, 0x07, 0xd8, 0xb6, + 0x89, 0x6d, 0x51, 0x47, 0xe4, 0x67, 0x41, 0x5f, 0xe1, 0x9d, 0xf7, 0x30, 0x35, 0xa3, 0xac, 0x0f, + 0x87, 0x18, 0x9e, 0xe3, 0xdb, 0x84, 0x17, 0xb0, 0x2f, 0x76, 0x09, 0xd9, 0x4d, 0xcd, 0x28, 0xeb, + 0x03, 0x9f, 0x82, 0xf5, 0x7e, 0x37, 0x1d, 0x9e, 0x7c, 0x8a, 0x98, 0x7c, 0x6f, 0x45, 0xbd, 0xfa, + 0xfa, 0x93, 0x71, 0x0e, 0x68, 0x3c, 0x0e, 0x7e, 0x01, 0x4a, 0x94, 0xd8, 0xc4, 0x60, 0x5e, 0x20, + 0x05, 0xfa, 0xde, 0x94, 0x35, 0xc5, 0x6d, 0x62, 0xb7, 0x24, 0x54, 0x5f, 0x14, 0xb3, 0x5a, 0xfe, + 0xa1, 0x84, 0x12, 0x3e, 0x06, 0xcb, 0x0e, 0x76, 0x43, 0x9c, 0x78, 0x0a, 0x65, 0x96, 0x74, 0x18, + 0xf5, 0xea, 0xcb, 0x07, 0x03, 0x2b, 0x68, 0xc8, 0x13, 0x7e, 0x0e, 0x4a, 0x2c, 0x1e, 0x84, 0x05, + 0xb1, 0xb5, 0xd7, 0x0c, 0xa2, 0x43, 0xcf, 0x1c, 0x98, 0x7d, 0x69, 0xe9, 0xe2, 0xc1, 0x97, 0x10, + 0x36, 0x7e, 0x52, 0x40, 0x39, 0x9d, 0x78, 0xa7, 0x00, 0x18, 0x71, 0xd3, 0xa0, 0x72, 0xea, 0xbd, + 0x3f, 0x9b, 0x00, 0x93, 0xa6, 0x93, 0x4e, 0x8d, 0xc4, 0x44, 0x51, 0x86, 0x1e, 0x3e, 0x07, 0x65, + 0xf1, 0x06, 0x11, 0x4d, 0x21, 0x3f, 0x73, 0x53, 0x58, 0x8a, 0x7a, 0xf5, 0x72, 0x2b, 0x26, 0x40, + 0x29, 0x17, 0x3c, 0x01, 0xcb, 0xa9, 0x56, 0x6e, 0xd8, 0xe0, 0x44, 0x61, 0x76, 0x07, 0x58, 0xd0, + 0x10, 0x2b, 0x6f, 0x33, 0xf2, 0x7d, 0x30, 0x2f, 0x24, 0x3b, 0x69, 0xe0, 0x6b, 0xa0, 0x4c, 0x43, + 0xc3, 0x20, 0xc4, 0x24, 0xa6, 0xa8, 0xfb, 0x82, 0xbe, 0x26, 0x5d, 0xcb, 0xad, 0x78, 0x01, 0xa5, + 0x3e, 0x9c, 0xf8, 0x04, 0x5b, 0x36, 0x31, 0x45, 0xbd, 0x33, 0xc4, 0x1f, 0x0b, 0x2b, 0x92, 0xab, + 0x8d, 0x1f, 0xf2, 0x20, 0xfb, 0x9e, 0xb9, 0xc5, 0x19, 0xdf, 0xcd, 0x68, 0x30, 0xff, 0xb7, 0x1f, + 0x63, 0xaf, 0x10, 0xe4, 0x2d, 0x77, 0xaa, 0x9f, 0x73, 0x60, 0x65, 0x68, 0x37, 0xff, 0xb5, 0x97, + 0x91, 0x7e, 0xef, 0xe2, 0xaa, 0x36, 0x77, 0x79, 0x55, 0x9b, 0xfb, 0xf5, 0xaa, 0x36, 0xf7, 0x75, + 0x54, 0xcb, 0x5d, 0x44, 0xb5, 0xdc, 0x65, 0x54, 0xcb, 0xfd, 0x16, 0xd5, 0x72, 0xdf, 0xfe, 0x5e, + 0x9b, 0xfb, 0xac, 0x14, 0xf3, 0xfc, 0x15, 0x00, 0x00, 0xff, 0xff, 0x6e, 0x22, 0xb7, 0xad, 0xd0, + 0x10, 0x00, 0x00, } diff --git a/pkg/apis/batch/v2alpha1/generated.proto b/pkg/apis/batch/v2alpha1/generated.proto index 46d1223c..4e9508fe 100644 --- a/pkg/apis/batch/v2alpha1/generated.proto +++ b/pkg/apis/batch/v2alpha1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.batch.v2alpha1; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". @@ -33,6 +33,8 @@ option go_package = "v2alpha1"; // CronJob represents the configuration of a single cron job. message CronJob { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -51,10 +53,12 @@ message CronJob { // CronJobList is a collection of cron jobs. message CronJobList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is the list of CronJob. repeated CronJob items = 2; @@ -92,11 +96,13 @@ message CronJobStatus { // LastScheduleTime keeps information of when was the last time the job was successfully scheduled. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastScheduleTime = 4; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScheduleTime = 4; } // Job represents the configuration of a single job. message Job { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -123,11 +129,11 @@ message JobCondition { // Last time the condition was checked. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastProbeTime = 3; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3; // Last time the condition transit from one status to another. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastTransitionTime = 4; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; // (brief) reason for the condition's last transition. // +optional @@ -140,10 +146,12 @@ message JobCondition { // JobList is a collection of jobs. message JobList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is the list of Job. repeated Job items = 2; @@ -177,7 +185,7 @@ message JobSpec { // Normally, the system sets this field for you. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.LabelSelector selector = 4; + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4; // ManualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing. @@ -209,13 +217,13 @@ message JobStatus { // It is not guaranteed to be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time startTime = 2; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 2; // CompletionTime represents time when the job was completed. It is not guaranteed to // be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time completionTime = 3; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time completionTime = 3; // Active is the number of actively running pods. // +optional @@ -232,6 +240,8 @@ message JobStatus { // JobTemplate describes a template for creating copies of a predefined pod. message JobTemplate { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional diff --git a/pkg/apis/batch/v2alpha1/register.go b/pkg/apis/batch/v2alpha1/register.go index 4aeaadea..b462cca4 100644 --- a/pkg/apis/batch/v2alpha1/register.go +++ b/pkg/apis/batch/v2alpha1/register.go @@ -17,11 +17,10 @@ limitations under the License. package v2alpha1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package @@ -55,6 +54,6 @@ func addKnownTypes(scheme *runtime.Scheme) error { ) scheme.AddKnownTypeWithName(SchemeGroupVersion.WithKind("ScheduledJob"), &CronJob{}) scheme.AddKnownTypeWithName(SchemeGroupVersion.WithKind("ScheduledJobList"), &CronJobList{}) - versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/apis/batch/v2alpha1/types.generated.go b/pkg/apis/batch/v2alpha1/types.generated.go index 40535b97..7b71a844 100644 --- a/pkg/apis/batch/v2alpha1/types.generated.go +++ b/pkg/apis/batch/v2alpha1/types.generated.go @@ -25,10 +25,10 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" + pkg1_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + pkg3_types "k8s.io/apimachinery/pkg/types" pkg4_resource "k8s.io/client-go/pkg/api/resource" pkg2_v1 "k8s.io/client-go/pkg/api/v1" - pkg1_v1 "k8s.io/client-go/pkg/apis/meta/v1" - pkg3_types "k8s.io/client-go/pkg/types" pkg5_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" @@ -65,10 +65,10 @@ func init() { panic(err) } if false { // reference the types, but skip this branch at build/run time - var v0 pkg4_resource.Quantity - var v1 pkg2_v1.ObjectMeta - var v2 pkg1_v1.TypeMeta - var v3 pkg3_types.UID + var v0 pkg1_v1.TypeMeta + var v1 pkg3_types.UID + var v2 pkg4_resource.Quantity + var v3 pkg2_v1.ObjectMeta var v4 pkg5_intstr.IntOrString var v5 time.Time _, _, _, _, _, _ = v0, v1, v2, v3, v4, v5 @@ -173,15 +173,15 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.ObjectMeta - yy11.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[3] { - yy13 := &x.Spec - yy13.CodecEncodeSelf(e) + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -190,15 +190,15 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.Spec - yy14.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[4] { - yy16 := &x.Status - yy16.CodecEncodeSelf(e) + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -207,8 +207,8 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.Status - yy17.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { @@ -224,25 +224,25 @@ func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym18 := z.DecBinary() - _ = yym18 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct19 := r.ContainerType() - if yyct19 == codecSelferValueTypeMap1234 { - yyl19 := r.ReadMapStart() - if yyl19 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl19, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct19 == codecSelferValueTypeArray1234 { - yyl19 := r.ReadArrayStart() - if yyl19 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl19, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -254,12 +254,12 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys20Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys20Slc - var yyhl20 bool = l >= 0 - for yyj20 := 0; ; yyj20++ { - if yyhl20 { - if yyj20 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -268,47 +268,59 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys20Slc = r.DecodeBytes(yys20Slc, true, true) - yys20 := string(yys20Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys20 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv23 := &x.ObjectMeta - yyv23.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv24 := &x.Spec - yyv24.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = JobStatus{} } else { - yyv25 := &x.Status - yyv25.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys20) - } // end switch yys20 - } // end for yyj20 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -316,16 +328,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj26 int - var yyb26 bool - var yyhl26 bool = l >= 0 - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -333,15 +345,21 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -349,15 +367,21 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -365,16 +389,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv29 := &x.ObjectMeta - yyv29.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -382,16 +406,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv30 := &x.Spec - yyv30.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -399,21 +423,21 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = JobStatus{} } else { - yyv31 := &x.Status - yyv31.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj26-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -425,37 +449,37 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym32 := z.EncBinary() - _ = yym32 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep33 := !z.EncBinary() - yy2arr33 := z.EncBasicHandle().StructToArray - var yyq33 [4]bool - _, _, _ = yysep33, yyq33, yy2arr33 - const yyr33 bool = false - yyq33[0] = x.Kind != "" - yyq33[1] = x.APIVersion != "" - yyq33[2] = true - var yynn33 int - if yyr33 || yy2arr33 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn33 = 1 - for _, b := range yyq33 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn33++ + yynn2++ } } - r.EncodeMapStart(yynn33) - yynn33 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[0] { - yym35 := z.EncBinary() - _ = yym35 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -464,23 +488,23 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq33[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym36 := z.EncBinary() - _ = yym36 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[1] { - yym38 := z.EncBinary() - _ = yym38 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -489,54 +513,54 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq33[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym39 := z.EncBinary() - _ = yym39 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[2] { - yy41 := &x.ListMeta - yym42 := z.EncBinary() - _ = yym42 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy41) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy41) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq33[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy43 := &x.ListMeta - yym44 := z.EncBinary() - _ = yym44 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy43) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy43) + z.EncFallback(yy12) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym46 := z.EncBinary() - _ = yym46 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceJob(([]Job)(x.Items), e) @@ -549,15 +573,15 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym47 := z.EncBinary() - _ = yym47 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceJob(([]Job)(x.Items), e) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -570,25 +594,25 @@ func (x *JobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym48 := z.DecBinary() - _ = yym48 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct49 := r.ContainerType() - if yyct49 == codecSelferValueTypeMap1234 { - yyl49 := r.ReadMapStart() - if yyl49 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl49, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct49 == codecSelferValueTypeArray1234 { - yyl49 := r.ReadArrayStart() - if yyl49 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl49, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -600,12 +624,12 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys50Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys50Slc - var yyhl50 bool = l >= 0 - for yyj50 := 0; ; yyj50++ { - if yyhl50 { - if yyj50 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -614,51 +638,63 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys50Slc = r.DecodeBytes(yys50Slc, true, true) - yys50 := string(yys50Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys50 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv53 := &x.ListMeta - yym54 := z.DecBinary() - _ = yym54 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv53) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv53, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv55 := &x.Items - yym56 := z.DecBinary() - _ = yym56 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceJob((*[]Job)(yyv55), d) + h.decSliceJob((*[]Job)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys50) - } // end switch yys50 - } // end for yyj50 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -666,16 +702,16 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj57 int - var yyb57 bool - var yyhl57 bool = l >= 0 - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb57 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb57 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -683,15 +719,21 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb57 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb57 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -699,15 +741,21 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb57 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb57 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -715,22 +763,22 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv60 := &x.ListMeta - yym61 := z.DecBinary() - _ = yym61 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv60) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv60, false) + z.DecFallback(yyv17, false) } } - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb57 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb57 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -738,26 +786,26 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv62 := &x.Items - yym63 := z.DecBinary() - _ = yym63 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceJob((*[]Job)(yyv62), d) + h.decSliceJob((*[]Job)(yyv19), d) } } for { - yyj57++ - if yyhl57 { - yyb57 = yyj57 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb57 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb57 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj57-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -769,38 +817,38 @@ func (x *JobTemplate) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym64 := z.EncBinary() - _ = yym64 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep65 := !z.EncBinary() - yy2arr65 := z.EncBasicHandle().StructToArray - var yyq65 [4]bool - _, _, _ = yysep65, yyq65, yy2arr65 - const yyr65 bool = false - yyq65[0] = x.Kind != "" - yyq65[1] = x.APIVersion != "" - yyq65[2] = true - yyq65[3] = true - var yynn65 int - if yyr65 || yy2arr65 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn65 = 0 - for _, b := range yyq65 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn65++ + yynn2++ } } - r.EncodeMapStart(yynn65) - yynn65 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq65[0] { - yym67 := z.EncBinary() - _ = yym67 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -809,23 +857,23 @@ func (x *JobTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq65[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym68 := z.EncBinary() - _ = yym68 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq65[1] { - yym70 := z.EncBinary() - _ = yym70 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -834,53 +882,53 @@ func (x *JobTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq65[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym71 := z.EncBinary() - _ = yym71 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq65[2] { - yy73 := &x.ObjectMeta - yy73.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq65[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy74 := &x.ObjectMeta - yy74.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq65[3] { - yy76 := &x.Template - yy76.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Template + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq65[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy77 := &x.Template - yy77.CodecEncodeSelf(e) + yy17 := &x.Template + yy17.CodecEncodeSelf(e) } } - if yyr65 || yy2arr65 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -893,25 +941,25 @@ func (x *JobTemplate) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym78 := z.DecBinary() - _ = yym78 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct79 := r.ContainerType() - if yyct79 == codecSelferValueTypeMap1234 { - yyl79 := r.ReadMapStart() - if yyl79 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl79, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct79 == codecSelferValueTypeArray1234 { - yyl79 := r.ReadArrayStart() - if yyl79 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl79, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -923,12 +971,12 @@ func (x *JobTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys80Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys80Slc - var yyhl80 bool = l >= 0 - for yyj80 := 0; ; yyj80++ { - if yyhl80 { - if yyj80 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -937,40 +985,52 @@ func (x *JobTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys80Slc = r.DecodeBytes(yys80Slc, true, true) - yys80 := string(yys80Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys80 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv83 := &x.ObjectMeta - yyv83.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = JobTemplateSpec{} } else { - yyv84 := &x.Template - yyv84.CodecDecodeSelf(d) + yyv9 := &x.Template + yyv9.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys80) - } // end switch yys80 - } // end for yyj80 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -978,16 +1038,16 @@ func (x *JobTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj85 int - var yyb85 bool - var yyhl85 bool = l >= 0 - yyj85++ - if yyhl85 { - yyb85 = yyj85 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb85 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb85 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -995,15 +1055,21 @@ func (x *JobTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv11 := &x.Kind + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj85++ - if yyhl85 { - yyb85 = yyj85 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb85 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb85 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1011,15 +1077,21 @@ func (x *JobTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv13 := &x.APIVersion + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj85++ - if yyhl85 { - yyb85 = yyj85 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb85 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb85 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1027,16 +1099,16 @@ func (x *JobTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv88 := &x.ObjectMeta - yyv88.CodecDecodeSelf(d) + yyv15 := &x.ObjectMeta + yyv15.CodecDecodeSelf(d) } - yyj85++ - if yyhl85 { - yyb85 = yyj85 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb85 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb85 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1044,21 +1116,21 @@ func (x *JobTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = JobTemplateSpec{} } else { - yyv89 := &x.Template - yyv89.CodecDecodeSelf(d) + yyv16 := &x.Template + yyv16.CodecDecodeSelf(d) } for { - yyj85++ - if yyhl85 { - yyb85 = yyj85 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb85 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb85 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj85-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1070,66 +1142,66 @@ func (x *JobTemplateSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym90 := z.EncBinary() - _ = yym90 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep91 := !z.EncBinary() - yy2arr91 := z.EncBasicHandle().StructToArray - var yyq91 [2]bool - _, _, _ = yysep91, yyq91, yy2arr91 - const yyr91 bool = false - yyq91[0] = true - yyq91[1] = true - var yynn91 int - if yyr91 || yy2arr91 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = true + yyq2[1] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn91 = 0 - for _, b := range yyq91 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn91++ + yynn2++ } } - r.EncodeMapStart(yynn91) - yynn91 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr91 || yy2arr91 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq91[0] { - yy93 := &x.ObjectMeta - yy93.CodecEncodeSelf(e) + if yyq2[0] { + yy4 := &x.ObjectMeta + yy4.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq91[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy94 := &x.ObjectMeta - yy94.CodecEncodeSelf(e) + yy6 := &x.ObjectMeta + yy6.CodecEncodeSelf(e) } } - if yyr91 || yy2arr91 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq91[1] { - yy96 := &x.Spec - yy96.CodecEncodeSelf(e) + if yyq2[1] { + yy9 := &x.Spec + yy9.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq91[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy97 := &x.Spec - yy97.CodecEncodeSelf(e) + yy11 := &x.Spec + yy11.CodecEncodeSelf(e) } } - if yyr91 || yy2arr91 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1142,25 +1214,25 @@ func (x *JobTemplateSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym98 := z.DecBinary() - _ = yym98 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct99 := r.ContainerType() - if yyct99 == codecSelferValueTypeMap1234 { - yyl99 := r.ReadMapStart() - if yyl99 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl99, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct99 == codecSelferValueTypeArray1234 { - yyl99 := r.ReadArrayStart() - if yyl99 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl99, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1172,12 +1244,12 @@ func (x *JobTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys100Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys100Slc - var yyhl100 bool = l >= 0 - for yyj100 := 0; ; yyj100++ { - if yyhl100 { - if yyj100 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1186,28 +1258,28 @@ func (x *JobTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys100Slc = r.DecodeBytes(yys100Slc, true, true) - yys100 := string(yys100Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys100 { + switch yys3 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv101 := &x.ObjectMeta - yyv101.CodecDecodeSelf(d) + yyv4 := &x.ObjectMeta + yyv4.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv102 := &x.Spec - yyv102.CodecDecodeSelf(d) + yyv5 := &x.Spec + yyv5.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys100) - } // end switch yys100 - } // end for yyj100 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1215,16 +1287,16 @@ func (x *JobTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj103 int - var yyb103 bool - var yyhl103 bool = l >= 0 - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb103 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb103 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1232,16 +1304,16 @@ func (x *JobTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv104 := &x.ObjectMeta - yyv104.CodecDecodeSelf(d) + yyv7 := &x.ObjectMeta + yyv7.CodecDecodeSelf(d) } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb103 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb103 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1249,21 +1321,21 @@ func (x *JobTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv105 := &x.Spec - yyv105.CodecDecodeSelf(d) + yyv8 := &x.Spec + yyv8.CodecDecodeSelf(d) } for { - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb103 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb103 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj103-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1275,147 +1347,147 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym106 := z.EncBinary() - _ = yym106 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep107 := !z.EncBinary() - yy2arr107 := z.EncBasicHandle().StructToArray - var yyq107 [6]bool - _, _, _ = yysep107, yyq107, yy2arr107 - const yyr107 bool = false - yyq107[0] = x.Parallelism != nil - yyq107[1] = x.Completions != nil - yyq107[2] = x.ActiveDeadlineSeconds != nil - yyq107[3] = x.Selector != nil - yyq107[4] = x.ManualSelector != nil - var yynn107 int - if yyr107 || yy2arr107 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Parallelism != nil + yyq2[1] = x.Completions != nil + yyq2[2] = x.ActiveDeadlineSeconds != nil + yyq2[3] = x.Selector != nil + yyq2[4] = x.ManualSelector != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn107 = 1 - for _, b := range yyq107 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn107++ + yynn2++ } } - r.EncodeMapStart(yynn107) - yynn107 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr107 || yy2arr107 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq107[0] { + if yyq2[0] { if x.Parallelism == nil { r.EncodeNil() } else { - yy109 := *x.Parallelism - yym110 := z.EncBinary() - _ = yym110 + yy4 := *x.Parallelism + yym5 := z.EncBinary() + _ = yym5 if false { } else { - r.EncodeInt(int64(yy109)) + r.EncodeInt(int64(yy4)) } } } else { r.EncodeNil() } } else { - if yyq107[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("parallelism")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Parallelism == nil { r.EncodeNil() } else { - yy111 := *x.Parallelism - yym112 := z.EncBinary() - _ = yym112 + yy6 := *x.Parallelism + yym7 := z.EncBinary() + _ = yym7 if false { } else { - r.EncodeInt(int64(yy111)) + r.EncodeInt(int64(yy6)) } } } } - if yyr107 || yy2arr107 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq107[1] { + if yyq2[1] { if x.Completions == nil { r.EncodeNil() } else { - yy114 := *x.Completions - yym115 := z.EncBinary() - _ = yym115 + yy9 := *x.Completions + yym10 := z.EncBinary() + _ = yym10 if false { } else { - r.EncodeInt(int64(yy114)) + r.EncodeInt(int64(yy9)) } } } else { r.EncodeNil() } } else { - if yyq107[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Completions == nil { r.EncodeNil() } else { - yy116 := *x.Completions - yym117 := z.EncBinary() - _ = yym117 + yy11 := *x.Completions + yym12 := z.EncBinary() + _ = yym12 if false { } else { - r.EncodeInt(int64(yy116)) + r.EncodeInt(int64(yy11)) } } } } - if yyr107 || yy2arr107 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq107[2] { + if yyq2[2] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy119 := *x.ActiveDeadlineSeconds - yym120 := z.EncBinary() - _ = yym120 + yy14 := *x.ActiveDeadlineSeconds + yym15 := z.EncBinary() + _ = yym15 if false { } else { - r.EncodeInt(int64(yy119)) + r.EncodeInt(int64(yy14)) } } } else { r.EncodeNil() } } else { - if yyq107[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy121 := *x.ActiveDeadlineSeconds - yym122 := z.EncBinary() - _ = yym122 + yy16 := *x.ActiveDeadlineSeconds + yym17 := z.EncBinary() + _ = yym17 if false { } else { - r.EncodeInt(int64(yy121)) + r.EncodeInt(int64(yy16)) } } } } - if yyr107 || yy2arr107 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq107[3] { + if yyq2[3] { if x.Selector == nil { r.EncodeNil() } else { - yym124 := z.EncBinary() - _ = yym124 + yym19 := z.EncBinary() + _ = yym19 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -1426,15 +1498,15 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq107[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym125 := z.EncBinary() - _ = yym125 + yym20 := z.EncBinary() + _ = yym20 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -1443,53 +1515,53 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr107 || yy2arr107 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq107[4] { + if yyq2[4] { if x.ManualSelector == nil { r.EncodeNil() } else { - yy127 := *x.ManualSelector - yym128 := z.EncBinary() - _ = yym128 + yy22 := *x.ManualSelector + yym23 := z.EncBinary() + _ = yym23 if false { } else { - r.EncodeBool(bool(yy127)) + r.EncodeBool(bool(yy22)) } } } else { r.EncodeNil() } } else { - if yyq107[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("manualSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ManualSelector == nil { r.EncodeNil() } else { - yy129 := *x.ManualSelector - yym130 := z.EncBinary() - _ = yym130 + yy24 := *x.ManualSelector + yym25 := z.EncBinary() + _ = yym25 if false { } else { - r.EncodeBool(bool(yy129)) + r.EncodeBool(bool(yy24)) } } } } - if yyr107 || yy2arr107 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy132 := &x.Template - yy132.CodecEncodeSelf(e) + yy27 := &x.Template + yy27.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy133 := &x.Template - yy133.CodecEncodeSelf(e) + yy29 := &x.Template + yy29.CodecEncodeSelf(e) } - if yyr107 || yy2arr107 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1502,25 +1574,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym134 := z.DecBinary() - _ = yym134 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct135 := r.ContainerType() - if yyct135 == codecSelferValueTypeMap1234 { - yyl135 := r.ReadMapStart() - if yyl135 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl135, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct135 == codecSelferValueTypeArray1234 { - yyl135 := r.ReadArrayStart() - if yyl135 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl135, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1532,12 +1604,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys136Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys136Slc - var yyhl136 bool = l >= 0 - for yyj136 := 0; ; yyj136++ { - if yyhl136 { - if yyj136 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1546,10 +1618,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys136Slc = r.DecodeBytes(yys136Slc, true, true) - yys136 := string(yys136Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys136 { + switch yys3 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -1559,8 +1631,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym138 := z.DecBinary() - _ = yym138 + yym5 := z.DecBinary() + _ = yym5 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -1575,8 +1647,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym140 := z.DecBinary() - _ = yym140 + yym7 := z.DecBinary() + _ = yym7 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -1591,8 +1663,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym142 := z.DecBinary() - _ = yym142 + yym9 := z.DecBinary() + _ = yym9 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -1607,8 +1679,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_v1.LabelSelector) } - yym144 := z.DecBinary() - _ = yym144 + yym11 := z.DecBinary() + _ = yym11 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -1624,8 +1696,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym146 := z.DecBinary() - _ = yym146 + yym13 := z.DecBinary() + _ = yym13 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() @@ -1635,13 +1707,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv147 := &x.Template - yyv147.CodecDecodeSelf(d) + yyv14 := &x.Template + yyv14.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys136) - } // end switch yys136 - } // end for yyj136 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1649,16 +1721,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj148 int - var yyb148 bool - var yyhl148 bool = l >= 0 - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + var yyj15 int + var yyb15 bool + var yyhl15 bool = l >= 0 + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb148 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb148 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1671,20 +1743,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym150 := z.DecBinary() - _ = yym150 + yym17 := z.DecBinary() + _ = yym17 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb148 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb148 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1697,20 +1769,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym152 := z.DecBinary() - _ = yym152 + yym19 := z.DecBinary() + _ = yym19 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb148 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb148 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1723,20 +1795,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym154 := z.DecBinary() - _ = yym154 + yym21 := z.DecBinary() + _ = yym21 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb148 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb148 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1749,21 +1821,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_v1.LabelSelector) } - yym156 := z.DecBinary() - _ = yym156 + yym23 := z.DecBinary() + _ = yym23 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb148 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb148 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1776,20 +1848,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym158 := z.DecBinary() - _ = yym158 + yym25 := z.DecBinary() + _ = yym25 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() } } - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb148 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb148 { + if yyb15 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1797,21 +1869,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv159 := &x.Template - yyv159.CodecDecodeSelf(d) + yyv26 := &x.Template + yyv26.CodecDecodeSelf(d) } for { - yyj148++ - if yyhl148 { - yyb148 = yyj148 > l + yyj15++ + if yyhl15 { + yyb15 = yyj15 > l } else { - yyb148 = r.CheckBreak() + yyb15 = r.CheckBreak() } - if yyb148 { + if yyb15 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj148-1, "") + z.DecStructFieldNotFound(yyj15-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1823,43 +1895,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym160 := z.EncBinary() - _ = yym160 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep161 := !z.EncBinary() - yy2arr161 := z.EncBasicHandle().StructToArray - var yyq161 [6]bool - _, _, _ = yysep161, yyq161, yy2arr161 - const yyr161 bool = false - yyq161[0] = len(x.Conditions) != 0 - yyq161[1] = x.StartTime != nil - yyq161[2] = x.CompletionTime != nil - yyq161[3] = x.Active != 0 - yyq161[4] = x.Succeeded != 0 - yyq161[5] = x.Failed != 0 - var yynn161 int - if yyr161 || yy2arr161 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Conditions) != 0 + yyq2[1] = x.StartTime != nil + yyq2[2] = x.CompletionTime != nil + yyq2[3] = x.Active != 0 + yyq2[4] = x.Succeeded != 0 + yyq2[5] = x.Failed != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn161 = 0 - for _, b := range yyq161 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn161++ + yynn2++ } } - r.EncodeMapStart(yynn161) - yynn161 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr161 || yy2arr161 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[0] { + if yyq2[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym163 := z.EncBinary() - _ = yym163 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1869,15 +1941,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq161[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym164 := z.EncBinary() - _ = yym164 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1885,19 +1957,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr161 || yy2arr161 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[1] { + if yyq2[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym166 := z.EncBinary() - _ = yym166 + yym7 := z.EncBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym166 { + } else if yym7 { z.EncBinaryMarshal(x.StartTime) - } else if !yym166 && z.IsJSONHandle() { + } else if !yym7 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1907,20 +1979,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq161[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym167 := z.EncBinary() - _ = yym167 + yym8 := z.EncBinary() + _ = yym8 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym167 { + } else if yym8 { z.EncBinaryMarshal(x.StartTime) - } else if !yym167 && z.IsJSONHandle() { + } else if !yym8 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1928,19 +2000,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr161 || yy2arr161 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[2] { + if yyq2[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym169 := z.EncBinary() - _ = yym169 + yym10 := z.EncBinary() + _ = yym10 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym169 { + } else if yym10 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym169 && z.IsJSONHandle() { + } else if !yym10 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1950,20 +2022,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq161[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym170 := z.EncBinary() - _ = yym170 + yym11 := z.EncBinary() + _ = yym11 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym170 { + } else if yym11 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym170 && z.IsJSONHandle() { + } else if !yym11 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1971,11 +2043,11 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr161 || yy2arr161 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[3] { - yym172 := z.EncBinary() - _ = yym172 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeInt(int64(x.Active)) @@ -1984,23 +2056,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq161[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym173 := z.EncBinary() - _ = yym173 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeInt(int64(x.Active)) } } } - if yyr161 || yy2arr161 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[4] { - yym175 := z.EncBinary() - _ = yym175 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeInt(int64(x.Succeeded)) @@ -2009,23 +2081,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq161[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("succeeded")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym176 := z.EncBinary() - _ = yym176 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeInt(int64(x.Succeeded)) } } } - if yyr161 || yy2arr161 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq161[5] { - yym178 := z.EncBinary() - _ = yym178 + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -2034,19 +2106,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq161[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym179 := z.EncBinary() - _ = yym179 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr161 || yy2arr161 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2059,25 +2131,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym180 := z.DecBinary() - _ = yym180 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct181 := r.ContainerType() - if yyct181 == codecSelferValueTypeMap1234 { - yyl181 := r.ReadMapStart() - if yyl181 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl181, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct181 == codecSelferValueTypeArray1234 { - yyl181 := r.ReadArrayStart() - if yyl181 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl181, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2089,12 +2161,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys182Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys182Slc - var yyhl182 bool = l >= 0 - for yyj182 := 0; ; yyj182++ { - if yyhl182 { - if yyj182 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2103,20 +2175,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys182Slc = r.DecodeBytes(yys182Slc, true, true) - yys182 := string(yys182Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys182 { + switch yys3 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv183 := &x.Conditions - yym184 := z.DecBinary() - _ = yym184 + yyv4 := &x.Conditions + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv183), d) + h.decSliceJobCondition((*[]JobCondition)(yyv4), d) } } case "startTime": @@ -2128,13 +2200,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_v1.Time) } - yym186 := z.DecBinary() - _ = yym186 + yym7 := z.DecBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym186 { + } else if yym7 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym186 && z.IsJSONHandle() { + } else if !yym7 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -2149,13 +2221,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_v1.Time) } - yym188 := z.DecBinary() - _ = yym188 + yym9 := z.DecBinary() + _ = yym9 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym188 { + } else if yym9 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym188 && z.IsJSONHandle() { + } else if !yym9 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -2165,24 +2237,42 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Active = 0 } else { - x.Active = int32(r.DecodeInt(32)) + yyv10 := &x.Active + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*int32)(yyv10)) = int32(r.DecodeInt(32)) + } } case "succeeded": if r.TryDecodeAsNil() { x.Succeeded = 0 } else { - x.Succeeded = int32(r.DecodeInt(32)) + yyv12 := &x.Succeeded + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*int32)(yyv12)) = int32(r.DecodeInt(32)) + } } case "failed": if r.TryDecodeAsNil() { x.Failed = 0 } else { - x.Failed = int32(r.DecodeInt(32)) + yyv14 := &x.Failed + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*int32)(yyv14)) = int32(r.DecodeInt(32)) + } } default: - z.DecStructFieldNotFound(-1, yys182) - } // end switch yys182 - } // end for yyj182 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2190,16 +2280,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj192 int - var yyb192 bool - var yyhl192 bool = l >= 0 - yyj192++ - if yyhl192 { - yyb192 = yyj192 > l + var yyj16 int + var yyb16 bool + var yyhl16 bool = l >= 0 + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb192 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb192 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2207,21 +2297,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv193 := &x.Conditions - yym194 := z.DecBinary() - _ = yym194 + yyv17 := &x.Conditions + yym18 := z.DecBinary() + _ = yym18 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv193), d) + h.decSliceJobCondition((*[]JobCondition)(yyv17), d) } } - yyj192++ - if yyhl192 { - yyb192 = yyj192 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb192 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb192 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2234,25 +2324,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_v1.Time) } - yym196 := z.DecBinary() - _ = yym196 + yym20 := z.DecBinary() + _ = yym20 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym196 { + } else if yym20 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym196 && z.IsJSONHandle() { + } else if !yym20 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj192++ - if yyhl192 { - yyb192 = yyj192 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb192 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb192 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2265,25 +2355,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_v1.Time) } - yym198 := z.DecBinary() - _ = yym198 + yym22 := z.DecBinary() + _ = yym22 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym198 { + } else if yym22 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym198 && z.IsJSONHandle() { + } else if !yym22 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj192++ - if yyhl192 { - yyb192 = yyj192 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb192 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb192 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2291,15 +2381,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Active = 0 } else { - x.Active = int32(r.DecodeInt(32)) + yyv23 := &x.Active + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*int32)(yyv23)) = int32(r.DecodeInt(32)) + } } - yyj192++ - if yyhl192 { - yyb192 = yyj192 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb192 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb192 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2307,15 +2403,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Succeeded = 0 } else { - x.Succeeded = int32(r.DecodeInt(32)) + yyv25 := &x.Succeeded + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*int32)(yyv25)) = int32(r.DecodeInt(32)) + } } - yyj192++ - if yyhl192 { - yyb192 = yyj192 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb192 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb192 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2323,20 +2425,26 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Failed = 0 } else { - x.Failed = int32(r.DecodeInt(32)) + yyv27 := &x.Failed + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*int32)(yyv27)) = int32(r.DecodeInt(32)) + } } for { - yyj192++ - if yyhl192 { - yyb192 = yyj192 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb192 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb192 { + if yyb16 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj192-1, "") + z.DecStructFieldNotFound(yyj16-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2345,8 +2453,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym202 := z.EncBinary() - _ = yym202 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -2358,8 +2466,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym203 := z.DecBinary() - _ = yym203 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -2374,34 +2482,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym204 := z.EncBinary() - _ = yym204 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep205 := !z.EncBinary() - yy2arr205 := z.EncBasicHandle().StructToArray - var yyq205 [6]bool - _, _, _ = yysep205, yyq205, yy2arr205 - const yyr205 bool = false - yyq205[2] = true - yyq205[3] = true - yyq205[4] = x.Reason != "" - yyq205[5] = x.Message != "" - var yynn205 int - if yyr205 || yy2arr205 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = true + yyq2[3] = true + yyq2[4] = x.Reason != "" + yyq2[5] = x.Message != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn205 = 2 - for _, b := range yyq205 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn205++ + yynn2++ } } - r.EncodeMapStart(yynn205) - yynn205 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr205 || yy2arr205 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -2410,106 +2518,96 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr205 || yy2arr205 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym208 := z.EncBinary() - _ = yym208 - if false { - } else if z.HasExtensions() && z.EncExt(x.Status) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Status)) - } + yysf7 := &x.Status + yysf7.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym209 := z.EncBinary() - _ = yym209 - if false { - } else if z.HasExtensions() && z.EncExt(x.Status) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Status)) - } + yysf8 := &x.Status + yysf8.CodecEncodeSelf(e) } - if yyr205 || yy2arr205 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq205[2] { - yy211 := &x.LastProbeTime - yym212 := z.EncBinary() - _ = yym212 + if yyq2[2] { + yy10 := &x.LastProbeTime + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy211) { - } else if yym212 { - z.EncBinaryMarshal(yy211) - } else if !yym212 && z.IsJSONHandle() { - z.EncJSONMarshal(yy211) + } else if z.HasExtensions() && z.EncExt(yy10) { + } else if yym11 { + z.EncBinaryMarshal(yy10) + } else if !yym11 && z.IsJSONHandle() { + z.EncJSONMarshal(yy10) } else { - z.EncFallback(yy211) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq205[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy213 := &x.LastProbeTime - yym214 := z.EncBinary() - _ = yym214 + yy12 := &x.LastProbeTime + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy213) { - } else if yym214 { - z.EncBinaryMarshal(yy213) - } else if !yym214 && z.IsJSONHandle() { - z.EncJSONMarshal(yy213) + } else if z.HasExtensions() && z.EncExt(yy12) { + } else if yym13 { + z.EncBinaryMarshal(yy12) + } else if !yym13 && z.IsJSONHandle() { + z.EncJSONMarshal(yy12) } else { - z.EncFallback(yy213) + z.EncFallback(yy12) } } } - if yyr205 || yy2arr205 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq205[3] { - yy216 := &x.LastTransitionTime - yym217 := z.EncBinary() - _ = yym217 + if yyq2[3] { + yy15 := &x.LastTransitionTime + yym16 := z.EncBinary() + _ = yym16 if false { - } else if z.HasExtensions() && z.EncExt(yy216) { - } else if yym217 { - z.EncBinaryMarshal(yy216) - } else if !yym217 && z.IsJSONHandle() { - z.EncJSONMarshal(yy216) + } else if z.HasExtensions() && z.EncExt(yy15) { + } else if yym16 { + z.EncBinaryMarshal(yy15) + } else if !yym16 && z.IsJSONHandle() { + z.EncJSONMarshal(yy15) } else { - z.EncFallback(yy216) + z.EncFallback(yy15) } } else { r.EncodeNil() } } else { - if yyq205[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy218 := &x.LastTransitionTime - yym219 := z.EncBinary() - _ = yym219 + yy17 := &x.LastTransitionTime + yym18 := z.EncBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.EncExt(yy218) { - } else if yym219 { - z.EncBinaryMarshal(yy218) - } else if !yym219 && z.IsJSONHandle() { - z.EncJSONMarshal(yy218) + } else if z.HasExtensions() && z.EncExt(yy17) { + } else if yym18 { + z.EncBinaryMarshal(yy17) + } else if !yym18 && z.IsJSONHandle() { + z.EncJSONMarshal(yy17) } else { - z.EncFallback(yy218) + z.EncFallback(yy17) } } } - if yyr205 || yy2arr205 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq205[4] { - yym221 := z.EncBinary() - _ = yym221 + if yyq2[4] { + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -2518,23 +2616,23 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq205[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym222 := z.EncBinary() - _ = yym222 + yym21 := z.EncBinary() + _ = yym21 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr205 || yy2arr205 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq205[5] { - yym224 := z.EncBinary() - _ = yym224 + if yyq2[5] { + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -2543,19 +2641,19 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq205[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym225 := z.EncBinary() - _ = yym225 + yym24 := z.EncBinary() + _ = yym24 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr205 || yy2arr205 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2568,25 +2666,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym226 := z.DecBinary() - _ = yym226 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct227 := r.ContainerType() - if yyct227 == codecSelferValueTypeMap1234 { - yyl227 := r.ReadMapStart() - if yyl227 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl227, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct227 == codecSelferValueTypeArray1234 { - yyl227 := r.ReadArrayStart() - if yyl227 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl227, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2598,12 +2696,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys228Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys228Slc - var yyhl228 bool = l >= 0 - for yyj228 := 0; ; yyj228++ { - if yyhl228 { - if yyj228 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2612,72 +2710,86 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys228Slc = r.DecodeBytes(yys228Slc, true, true) - yys228 := string(yys228Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys228 { + switch yys3 { case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = JobConditionType(r.DecodeString()) + yyv4 := &x.Type + yyv4.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) + yyv5 := &x.Status + yyv5.CodecDecodeSelf(d) } case "lastProbeTime": if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_v1.Time{} } else { - yyv231 := &x.LastProbeTime - yym232 := z.DecBinary() - _ = yym232 + yyv6 := &x.LastProbeTime + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv231) { - } else if yym232 { - z.DecBinaryUnmarshal(yyv231) - } else if !yym232 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv231) + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if yym7 { + z.DecBinaryUnmarshal(yyv6) + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) } else { - z.DecFallback(yyv231, false) + z.DecFallback(yyv6, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_v1.Time{} } else { - yyv233 := &x.LastTransitionTime - yym234 := z.DecBinary() - _ = yym234 + yyv8 := &x.LastTransitionTime + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv233) { - } else if yym234 { - z.DecBinaryUnmarshal(yyv233) - } else if !yym234 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv233) + } else if z.HasExtensions() && z.DecExt(yyv8) { + } else if yym9 { + z.DecBinaryUnmarshal(yyv8) + } else if !yym9 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv8) } else { - z.DecFallback(yyv233, false) + z.DecFallback(yyv8, false) } } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv10 := &x.Reason + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv12 := &x.Message + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys228) - } // end switch yys228 - } // end for yyj228 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2685,16 +2797,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj237 int - var yyb237 bool - var yyhl237 bool = l >= 0 - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + var yyj14 int + var yyb14 bool + var yyhl14 bool = l >= 0 + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb237 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb237 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2702,15 +2814,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = JobConditionType(r.DecodeString()) + yyv15 := &x.Type + yyv15.CodecDecodeSelf(d) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb237 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb237 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2718,15 +2831,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) + yyv16 := &x.Status + yyv16.CodecDecodeSelf(d) } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb237 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb237 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2734,26 +2848,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_v1.Time{} } else { - yyv240 := &x.LastProbeTime - yym241 := z.DecBinary() - _ = yym241 + yyv17 := &x.LastProbeTime + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv240) { - } else if yym241 { - z.DecBinaryUnmarshal(yyv240) - } else if !yym241 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv240) + } else if z.HasExtensions() && z.DecExt(yyv17) { + } else if yym18 { + z.DecBinaryUnmarshal(yyv17) + } else if !yym18 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv17) } else { - z.DecFallback(yyv240, false) + z.DecFallback(yyv17, false) } } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb237 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb237 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2761,26 +2875,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_v1.Time{} } else { - yyv242 := &x.LastTransitionTime - yym243 := z.DecBinary() - _ = yym243 + yyv19 := &x.LastTransitionTime + yym20 := z.DecBinary() + _ = yym20 if false { - } else if z.HasExtensions() && z.DecExt(yyv242) { - } else if yym243 { - z.DecBinaryUnmarshal(yyv242) - } else if !yym243 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv242) + } else if z.HasExtensions() && z.DecExt(yyv19) { + } else if yym20 { + z.DecBinaryUnmarshal(yyv19) + } else if !yym20 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv19) } else { - z.DecFallback(yyv242, false) + z.DecFallback(yyv19, false) } } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb237 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb237 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2788,15 +2902,21 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv21 := &x.Reason + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb237 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb237 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2804,20 +2924,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv23 := &x.Message + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*string)(yyv23)) = r.DecodeString() + } } for { - yyj237++ - if yyhl237 { - yyb237 = yyj237 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb237 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb237 { + if yyb14 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj237-1, "") + z.DecStructFieldNotFound(yyj14-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2829,39 +2955,39 @@ func (x *CronJob) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym246 := z.EncBinary() - _ = yym246 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep247 := !z.EncBinary() - yy2arr247 := z.EncBasicHandle().StructToArray - var yyq247 [5]bool - _, _, _ = yysep247, yyq247, yy2arr247 - const yyr247 bool = false - yyq247[0] = x.Kind != "" - yyq247[1] = x.APIVersion != "" - yyq247[2] = true - yyq247[3] = true - yyq247[4] = true - var yynn247 int - if yyr247 || yy2arr247 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn247 = 0 - for _, b := range yyq247 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn247++ + yynn2++ } } - r.EncodeMapStart(yynn247) - yynn247 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr247 || yy2arr247 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[0] { - yym249 := z.EncBinary() - _ = yym249 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -2870,23 +2996,23 @@ func (x *CronJob) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq247[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym250 := z.EncBinary() - _ = yym250 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr247 || yy2arr247 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[1] { - yym252 := z.EncBinary() - _ = yym252 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -2895,70 +3021,70 @@ func (x *CronJob) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq247[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym253 := z.EncBinary() - _ = yym253 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr247 || yy2arr247 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[2] { - yy255 := &x.ObjectMeta - yy255.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq247[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy256 := &x.ObjectMeta - yy256.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr247 || yy2arr247 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[3] { - yy258 := &x.Spec - yy258.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq247[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy259 := &x.Spec - yy259.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr247 || yy2arr247 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[4] { - yy261 := &x.Status - yy261.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq247[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy262 := &x.Status - yy262.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr247 || yy2arr247 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2971,25 +3097,25 @@ func (x *CronJob) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym263 := z.DecBinary() - _ = yym263 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct264 := r.ContainerType() - if yyct264 == codecSelferValueTypeMap1234 { - yyl264 := r.ReadMapStart() - if yyl264 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl264, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct264 == codecSelferValueTypeArray1234 { - yyl264 := r.ReadArrayStart() - if yyl264 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl264, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3001,12 +3127,12 @@ func (x *CronJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys265Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys265Slc - var yyhl265 bool = l >= 0 - for yyj265 := 0; ; yyj265++ { - if yyhl265 { - if yyj265 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -3015,47 +3141,59 @@ func (x *CronJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys265Slc = r.DecodeBytes(yys265Slc, true, true) - yys265 := string(yys265Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys265 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv268 := &x.ObjectMeta - yyv268.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = CronJobSpec{} } else { - yyv269 := &x.Spec - yyv269.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = CronJobStatus{} } else { - yyv270 := &x.Status - yyv270.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys265) - } // end switch yys265 - } // end for yyj265 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3063,16 +3201,16 @@ func (x *CronJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj271 int - var yyb271 bool - var yyhl271 bool = l >= 0 - yyj271++ - if yyhl271 { - yyb271 = yyj271 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb271 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb271 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3080,15 +3218,21 @@ func (x *CronJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj271++ - if yyhl271 { - yyb271 = yyj271 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb271 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb271 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3096,15 +3240,21 @@ func (x *CronJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj271++ - if yyhl271 { - yyb271 = yyj271 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb271 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb271 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3112,16 +3262,16 @@ func (x *CronJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv274 := &x.ObjectMeta - yyv274.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj271++ - if yyhl271 { - yyb271 = yyj271 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb271 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb271 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3129,16 +3279,16 @@ func (x *CronJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = CronJobSpec{} } else { - yyv275 := &x.Spec - yyv275.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj271++ - if yyhl271 { - yyb271 = yyj271 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb271 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb271 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3146,21 +3296,21 @@ func (x *CronJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = CronJobStatus{} } else { - yyv276 := &x.Status - yyv276.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj271++ - if yyhl271 { - yyb271 = yyj271 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb271 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb271 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj271-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3172,37 +3322,37 @@ func (x *CronJobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym277 := z.EncBinary() - _ = yym277 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep278 := !z.EncBinary() - yy2arr278 := z.EncBasicHandle().StructToArray - var yyq278 [4]bool - _, _, _ = yysep278, yyq278, yy2arr278 - const yyr278 bool = false - yyq278[0] = x.Kind != "" - yyq278[1] = x.APIVersion != "" - yyq278[2] = true - var yynn278 int - if yyr278 || yy2arr278 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn278 = 1 - for _, b := range yyq278 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn278++ + yynn2++ } } - r.EncodeMapStart(yynn278) - yynn278 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr278 || yy2arr278 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq278[0] { - yym280 := z.EncBinary() - _ = yym280 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -3211,23 +3361,23 @@ func (x *CronJobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq278[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym281 := z.EncBinary() - _ = yym281 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr278 || yy2arr278 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq278[1] { - yym283 := z.EncBinary() - _ = yym283 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -3236,54 +3386,54 @@ func (x *CronJobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq278[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym284 := z.EncBinary() - _ = yym284 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr278 || yy2arr278 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq278[2] { - yy286 := &x.ListMeta - yym287 := z.EncBinary() - _ = yym287 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy286) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy286) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq278[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy288 := &x.ListMeta - yym289 := z.EncBinary() - _ = yym289 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy288) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy288) + z.EncFallback(yy12) } } } - if yyr278 || yy2arr278 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym291 := z.EncBinary() - _ = yym291 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceCronJob(([]CronJob)(x.Items), e) @@ -3296,15 +3446,15 @@ func (x *CronJobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym292 := z.EncBinary() - _ = yym292 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceCronJob(([]CronJob)(x.Items), e) } } } - if yyr278 || yy2arr278 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3317,25 +3467,25 @@ func (x *CronJobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym293 := z.DecBinary() - _ = yym293 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct294 := r.ContainerType() - if yyct294 == codecSelferValueTypeMap1234 { - yyl294 := r.ReadMapStart() - if yyl294 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl294, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct294 == codecSelferValueTypeArray1234 { - yyl294 := r.ReadArrayStart() - if yyl294 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl294, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3347,12 +3497,12 @@ func (x *CronJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys295Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys295Slc - var yyhl295 bool = l >= 0 - for yyj295 := 0; ; yyj295++ { - if yyhl295 { - if yyj295 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -3361,51 +3511,63 @@ func (x *CronJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys295Slc = r.DecodeBytes(yys295Slc, true, true) - yys295 := string(yys295Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys295 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv298 := &x.ListMeta - yym299 := z.DecBinary() - _ = yym299 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv298) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv298, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv300 := &x.Items - yym301 := z.DecBinary() - _ = yym301 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceCronJob((*[]CronJob)(yyv300), d) + h.decSliceCronJob((*[]CronJob)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys295) - } // end switch yys295 - } // end for yyj295 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3413,16 +3575,16 @@ func (x *CronJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj302 int - var yyb302 bool - var yyhl302 bool = l >= 0 - yyj302++ - if yyhl302 { - yyb302 = yyj302 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb302 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb302 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3430,15 +3592,21 @@ func (x *CronJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj302++ - if yyhl302 { - yyb302 = yyj302 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb302 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb302 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3446,15 +3614,21 @@ func (x *CronJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj302++ - if yyhl302 { - yyb302 = yyj302 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb302 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb302 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3462,22 +3636,22 @@ func (x *CronJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv305 := &x.ListMeta - yym306 := z.DecBinary() - _ = yym306 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv305) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv305, false) + z.DecFallback(yyv17, false) } } - yyj302++ - if yyhl302 { - yyb302 = yyj302 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb302 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb302 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3485,26 +3659,26 @@ func (x *CronJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv307 := &x.Items - yym308 := z.DecBinary() - _ = yym308 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceCronJob((*[]CronJob)(yyv307), d) + h.decSliceCronJob((*[]CronJob)(yyv19), d) } } for { - yyj302++ - if yyhl302 { - yyb302 = yyj302 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb302 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb302 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj302-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3516,36 +3690,36 @@ func (x *CronJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym309 := z.EncBinary() - _ = yym309 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep310 := !z.EncBinary() - yy2arr310 := z.EncBasicHandle().StructToArray - var yyq310 [5]bool - _, _, _ = yysep310, yyq310, yy2arr310 - const yyr310 bool = false - yyq310[1] = x.StartingDeadlineSeconds != nil - yyq310[2] = x.ConcurrencyPolicy != "" - yyq310[3] = x.Suspend != nil - var yynn310 int - if yyr310 || yy2arr310 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.StartingDeadlineSeconds != nil + yyq2[2] = x.ConcurrencyPolicy != "" + yyq2[3] = x.Suspend != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn310 = 2 - for _, b := range yyq310 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn310++ + yynn2++ } } - r.EncodeMapStart(yynn310) - yynn310 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr310 || yy2arr310 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym312 := z.EncBinary() - _ = yym312 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Schedule)) @@ -3554,110 +3728,110 @@ func (x *CronJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("schedule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym313 := z.EncBinary() - _ = yym313 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Schedule)) } } - if yyr310 || yy2arr310 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq310[1] { + if yyq2[1] { if x.StartingDeadlineSeconds == nil { r.EncodeNil() } else { - yy315 := *x.StartingDeadlineSeconds - yym316 := z.EncBinary() - _ = yym316 + yy7 := *x.StartingDeadlineSeconds + yym8 := z.EncBinary() + _ = yym8 if false { } else { - r.EncodeInt(int64(yy315)) + r.EncodeInt(int64(yy7)) } } } else { r.EncodeNil() } } else { - if yyq310[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startingDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartingDeadlineSeconds == nil { r.EncodeNil() } else { - yy317 := *x.StartingDeadlineSeconds - yym318 := z.EncBinary() - _ = yym318 + yy9 := *x.StartingDeadlineSeconds + yym10 := z.EncBinary() + _ = yym10 if false { } else { - r.EncodeInt(int64(yy317)) + r.EncodeInt(int64(yy9)) } } } } - if yyr310 || yy2arr310 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq310[2] { + if yyq2[2] { x.ConcurrencyPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq310[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrencyPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ConcurrencyPolicy.CodecEncodeSelf(e) } } - if yyr310 || yy2arr310 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq310[3] { + if yyq2[3] { if x.Suspend == nil { r.EncodeNil() } else { - yy321 := *x.Suspend - yym322 := z.EncBinary() - _ = yym322 + yy15 := *x.Suspend + yym16 := z.EncBinary() + _ = yym16 if false { } else { - r.EncodeBool(bool(yy321)) + r.EncodeBool(bool(yy15)) } } } else { r.EncodeNil() } } else { - if yyq310[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("suspend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Suspend == nil { r.EncodeNil() } else { - yy323 := *x.Suspend - yym324 := z.EncBinary() - _ = yym324 + yy17 := *x.Suspend + yym18 := z.EncBinary() + _ = yym18 if false { } else { - r.EncodeBool(bool(yy323)) + r.EncodeBool(bool(yy17)) } } } } - if yyr310 || yy2arr310 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy326 := &x.JobTemplate - yy326.CodecEncodeSelf(e) + yy20 := &x.JobTemplate + yy20.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("jobTemplate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy327 := &x.JobTemplate - yy327.CodecEncodeSelf(e) + yy22 := &x.JobTemplate + yy22.CodecEncodeSelf(e) } - if yyr310 || yy2arr310 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3670,25 +3844,25 @@ func (x *CronJobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym328 := z.DecBinary() - _ = yym328 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct329 := r.ContainerType() - if yyct329 == codecSelferValueTypeMap1234 { - yyl329 := r.ReadMapStart() - if yyl329 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl329, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct329 == codecSelferValueTypeArray1234 { - yyl329 := r.ReadArrayStart() - if yyl329 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl329, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3700,12 +3874,12 @@ func (x *CronJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys330Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys330Slc - var yyhl330 bool = l >= 0 - for yyj330 := 0; ; yyj330++ { - if yyhl330 { - if yyj330 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -3714,15 +3888,21 @@ func (x *CronJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys330Slc = r.DecodeBytes(yys330Slc, true, true) - yys330 := string(yys330Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys330 { + switch yys3 { case "schedule": if r.TryDecodeAsNil() { x.Schedule = "" } else { - x.Schedule = string(r.DecodeString()) + yyv4 := &x.Schedule + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "startingDeadlineSeconds": if r.TryDecodeAsNil() { @@ -3733,8 +3913,8 @@ func (x *CronJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartingDeadlineSeconds == nil { x.StartingDeadlineSeconds = new(int64) } - yym333 := z.DecBinary() - _ = yym333 + yym7 := z.DecBinary() + _ = yym7 if false { } else { *((*int64)(x.StartingDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -3744,7 +3924,8 @@ func (x *CronJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ConcurrencyPolicy = "" } else { - x.ConcurrencyPolicy = ConcurrencyPolicy(r.DecodeString()) + yyv8 := &x.ConcurrencyPolicy + yyv8.CodecDecodeSelf(d) } case "suspend": if r.TryDecodeAsNil() { @@ -3755,8 +3936,8 @@ func (x *CronJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Suspend == nil { x.Suspend = new(bool) } - yym336 := z.DecBinary() - _ = yym336 + yym10 := z.DecBinary() + _ = yym10 if false { } else { *((*bool)(x.Suspend)) = r.DecodeBool() @@ -3766,13 +3947,13 @@ func (x *CronJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.JobTemplate = JobTemplateSpec{} } else { - yyv337 := &x.JobTemplate - yyv337.CodecDecodeSelf(d) + yyv11 := &x.JobTemplate + yyv11.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys330) - } // end switch yys330 - } // end for yyj330 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3780,16 +3961,16 @@ func (x *CronJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj338 int - var yyb338 bool - var yyhl338 bool = l >= 0 - yyj338++ - if yyhl338 { - yyb338 = yyj338 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb338 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb338 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3797,15 +3978,21 @@ func (x *CronJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Schedule = "" } else { - x.Schedule = string(r.DecodeString()) + yyv13 := &x.Schedule + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj338++ - if yyhl338 { - yyb338 = yyj338 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb338 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb338 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3818,20 +4005,20 @@ func (x *CronJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartingDeadlineSeconds == nil { x.StartingDeadlineSeconds = new(int64) } - yym341 := z.DecBinary() - _ = yym341 + yym16 := z.DecBinary() + _ = yym16 if false { } else { *((*int64)(x.StartingDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj338++ - if yyhl338 { - yyb338 = yyj338 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb338 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb338 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3839,15 +4026,16 @@ func (x *CronJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ConcurrencyPolicy = "" } else { - x.ConcurrencyPolicy = ConcurrencyPolicy(r.DecodeString()) + yyv17 := &x.ConcurrencyPolicy + yyv17.CodecDecodeSelf(d) } - yyj338++ - if yyhl338 { - yyb338 = yyj338 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb338 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb338 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3860,20 +4048,20 @@ func (x *CronJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Suspend == nil { x.Suspend = new(bool) } - yym344 := z.DecBinary() - _ = yym344 + yym19 := z.DecBinary() + _ = yym19 if false { } else { *((*bool)(x.Suspend)) = r.DecodeBool() } } - yyj338++ - if yyhl338 { - yyb338 = yyj338 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb338 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb338 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3881,21 +4069,21 @@ func (x *CronJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.JobTemplate = JobTemplateSpec{} } else { - yyv345 := &x.JobTemplate - yyv345.CodecDecodeSelf(d) + yyv20 := &x.JobTemplate + yyv20.CodecDecodeSelf(d) } for { - yyj338++ - if yyhl338 { - yyb338 = yyj338 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb338 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb338 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj338-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3904,8 +4092,8 @@ func (x ConcurrencyPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym346 := z.EncBinary() - _ = yym346 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -3917,8 +4105,8 @@ func (x *ConcurrencyPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym347 := z.DecBinary() - _ = yym347 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -3933,39 +4121,39 @@ func (x *CronJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym348 := z.EncBinary() - _ = yym348 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep349 := !z.EncBinary() - yy2arr349 := z.EncBasicHandle().StructToArray - var yyq349 [2]bool - _, _, _ = yysep349, yyq349, yy2arr349 - const yyr349 bool = false - yyq349[0] = len(x.Active) != 0 - yyq349[1] = x.LastScheduleTime != nil - var yynn349 int - if yyr349 || yy2arr349 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Active) != 0 + yyq2[1] = x.LastScheduleTime != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn349 = 0 - for _, b := range yyq349 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn349++ + yynn2++ } } - r.EncodeMapStart(yynn349) - yynn349 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr349 || yy2arr349 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq349[0] { + if yyq2[0] { if x.Active == nil { r.EncodeNil() } else { - yym351 := z.EncBinary() - _ = yym351 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSlicev1_ObjectReference(([]pkg2_v1.ObjectReference)(x.Active), e) @@ -3975,15 +4163,15 @@ func (x *CronJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq349[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Active == nil { r.EncodeNil() } else { - yym352 := z.EncBinary() - _ = yym352 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSlicev1_ObjectReference(([]pkg2_v1.ObjectReference)(x.Active), e) @@ -3991,19 +4179,19 @@ func (x *CronJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr349 || yy2arr349 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq349[1] { + if yyq2[1] { if x.LastScheduleTime == nil { r.EncodeNil() } else { - yym354 := z.EncBinary() - _ = yym354 + yym7 := z.EncBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.EncExt(x.LastScheduleTime) { - } else if yym354 { + } else if yym7 { z.EncBinaryMarshal(x.LastScheduleTime) - } else if !yym354 && z.IsJSONHandle() { + } else if !yym7 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScheduleTime) } else { z.EncFallback(x.LastScheduleTime) @@ -4013,20 +4201,20 @@ func (x *CronJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq349[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastScheduleTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LastScheduleTime == nil { r.EncodeNil() } else { - yym355 := z.EncBinary() - _ = yym355 + yym8 := z.EncBinary() + _ = yym8 if false { } else if z.HasExtensions() && z.EncExt(x.LastScheduleTime) { - } else if yym355 { + } else if yym8 { z.EncBinaryMarshal(x.LastScheduleTime) - } else if !yym355 && z.IsJSONHandle() { + } else if !yym8 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScheduleTime) } else { z.EncFallback(x.LastScheduleTime) @@ -4034,7 +4222,7 @@ func (x *CronJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr349 || yy2arr349 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4047,25 +4235,25 @@ func (x *CronJobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym356 := z.DecBinary() - _ = yym356 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct357 := r.ContainerType() - if yyct357 == codecSelferValueTypeMap1234 { - yyl357 := r.ReadMapStart() - if yyl357 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl357, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct357 == codecSelferValueTypeArray1234 { - yyl357 := r.ReadArrayStart() - if yyl357 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl357, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4077,12 +4265,12 @@ func (x *CronJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys358Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys358Slc - var yyhl358 bool = l >= 0 - for yyj358 := 0; ; yyj358++ { - if yyhl358 { - if yyj358 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -4091,20 +4279,20 @@ func (x *CronJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys358Slc = r.DecodeBytes(yys358Slc, true, true) - yys358 := string(yys358Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys358 { + switch yys3 { case "active": if r.TryDecodeAsNil() { x.Active = nil } else { - yyv359 := &x.Active - yym360 := z.DecBinary() - _ = yym360 + yyv4 := &x.Active + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv359), d) + h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv4), d) } } case "lastScheduleTime": @@ -4116,22 +4304,22 @@ func (x *CronJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LastScheduleTime == nil { x.LastScheduleTime = new(pkg1_v1.Time) } - yym362 := z.DecBinary() - _ = yym362 + yym7 := z.DecBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.DecExt(x.LastScheduleTime) { - } else if yym362 { + } else if yym7 { z.DecBinaryUnmarshal(x.LastScheduleTime) - } else if !yym362 && z.IsJSONHandle() { + } else if !yym7 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScheduleTime) } else { z.DecFallback(x.LastScheduleTime, false) } } default: - z.DecStructFieldNotFound(-1, yys358) - } // end switch yys358 - } // end for yyj358 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4139,16 +4327,16 @@ func (x *CronJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj363 int - var yyb363 bool - var yyhl363 bool = l >= 0 - yyj363++ - if yyhl363 { - yyb363 = yyj363 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb363 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb363 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4156,21 +4344,21 @@ func (x *CronJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Active = nil } else { - yyv364 := &x.Active - yym365 := z.DecBinary() - _ = yym365 + yyv9 := &x.Active + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv364), d) + h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv9), d) } } - yyj363++ - if yyhl363 { - yyb363 = yyj363 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb363 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb363 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4183,30 +4371,30 @@ func (x *CronJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.LastScheduleTime == nil { x.LastScheduleTime = new(pkg1_v1.Time) } - yym367 := z.DecBinary() - _ = yym367 + yym12 := z.DecBinary() + _ = yym12 if false { } else if z.HasExtensions() && z.DecExt(x.LastScheduleTime) { - } else if yym367 { + } else if yym12 { z.DecBinaryUnmarshal(x.LastScheduleTime) - } else if !yym367 && z.IsJSONHandle() { + } else if !yym12 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScheduleTime) } else { z.DecFallback(x.LastScheduleTime, false) } } for { - yyj363++ - if yyhl363 { - yyb363 = yyj363 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb363 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb363 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj363-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4216,10 +4404,10 @@ func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv368 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy369 := &yyv368 - yy369.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4229,83 +4417,86 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv370 := *v - yyh370, yyl370 := z.DecSliceHelperStart() - var yyc370 bool - if yyl370 == 0 { - if yyv370 == nil { - yyv370 = []Job{} - yyc370 = true - } else if len(yyv370) != 0 { - yyv370 = yyv370[:0] - yyc370 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Job{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl370 > 0 { - var yyrr370, yyrl370 int - var yyrt370 bool - if yyl370 > cap(yyv370) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg370 := len(yyv370) > 0 - yyv2370 := yyv370 - yyrl370, yyrt370 = z.DecInferLen(yyl370, z.DecBasicHandle().MaxInitLen, 832) - if yyrt370 { - if yyrl370 <= cap(yyv370) { - yyv370 = yyv370[:yyrl370] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 832) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv370 = make([]Job, yyrl370) + yyv1 = make([]Job, yyrl1) } } else { - yyv370 = make([]Job, yyrl370) + yyv1 = make([]Job, yyrl1) } - yyc370 = true - yyrr370 = len(yyv370) - if yyrg370 { - copy(yyv370, yyv2370) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl370 != len(yyv370) { - yyv370 = yyv370[:yyl370] - yyc370 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj370 := 0 - for ; yyj370 < yyrr370; yyj370++ { - yyh370.ElemContainerState(yyj370) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv370[yyj370] = Job{} + yyv1[yyj1] = Job{} } else { - yyv371 := &yyv370[yyj370] - yyv371.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt370 { - for ; yyj370 < yyl370; yyj370++ { - yyv370 = append(yyv370, Job{}) - yyh370.ElemContainerState(yyj370) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Job{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv370[yyj370] = Job{} + yyv1[yyj1] = Job{} } else { - yyv372 := &yyv370[yyj370] - yyv372.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj370 := 0 - for ; !r.CheckBreak(); yyj370++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj370 >= len(yyv370) { - yyv370 = append(yyv370, Job{}) // var yyz370 Job - yyc370 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Job{}) // var yyz1 Job + yyc1 = true } - yyh370.ElemContainerState(yyj370) - if yyj370 < len(yyv370) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv370[yyj370] = Job{} + yyv1[yyj1] = Job{} } else { - yyv373 := &yyv370[yyj370] - yyv373.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -4313,17 +4504,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj370 < len(yyv370) { - yyv370 = yyv370[:yyj370] - yyc370 = true - } else if yyj370 == 0 && yyv370 == nil { - yyv370 = []Job{} - yyc370 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Job{} + yyc1 = true } } - yyh370.End() - if yyc370 { - *v = yyv370 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -4332,10 +4523,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv374 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy375 := &yyv374 - yy375.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4345,83 +4536,86 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv376 := *v - yyh376, yyl376 := z.DecSliceHelperStart() - var yyc376 bool - if yyl376 == 0 { - if yyv376 == nil { - yyv376 = []JobCondition{} - yyc376 = true - } else if len(yyv376) != 0 { - yyv376 = yyv376[:0] - yyc376 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []JobCondition{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl376 > 0 { - var yyrr376, yyrl376 int - var yyrt376 bool - if yyl376 > cap(yyv376) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg376 := len(yyv376) > 0 - yyv2376 := yyv376 - yyrl376, yyrt376 = z.DecInferLen(yyl376, z.DecBasicHandle().MaxInitLen, 112) - if yyrt376 { - if yyrl376 <= cap(yyv376) { - yyv376 = yyv376[:yyrl376] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv376 = make([]JobCondition, yyrl376) + yyv1 = make([]JobCondition, yyrl1) } } else { - yyv376 = make([]JobCondition, yyrl376) + yyv1 = make([]JobCondition, yyrl1) } - yyc376 = true - yyrr376 = len(yyv376) - if yyrg376 { - copy(yyv376, yyv2376) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl376 != len(yyv376) { - yyv376 = yyv376[:yyl376] - yyc376 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj376 := 0 - for ; yyj376 < yyrr376; yyj376++ { - yyh376.ElemContainerState(yyj376) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv376[yyj376] = JobCondition{} + yyv1[yyj1] = JobCondition{} } else { - yyv377 := &yyv376[yyj376] - yyv377.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt376 { - for ; yyj376 < yyl376; yyj376++ { - yyv376 = append(yyv376, JobCondition{}) - yyh376.ElemContainerState(yyj376) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, JobCondition{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv376[yyj376] = JobCondition{} + yyv1[yyj1] = JobCondition{} } else { - yyv378 := &yyv376[yyj376] - yyv378.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj376 := 0 - for ; !r.CheckBreak(); yyj376++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj376 >= len(yyv376) { - yyv376 = append(yyv376, JobCondition{}) // var yyz376 JobCondition - yyc376 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, JobCondition{}) // var yyz1 JobCondition + yyc1 = true } - yyh376.ElemContainerState(yyj376) - if yyj376 < len(yyv376) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv376[yyj376] = JobCondition{} + yyv1[yyj1] = JobCondition{} } else { - yyv379 := &yyv376[yyj376] - yyv379.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -4429,17 +4623,17 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj376 < len(yyv376) { - yyv376 = yyv376[:yyj376] - yyc376 = true - } else if yyj376 == 0 && yyv376 == nil { - yyv376 = []JobCondition{} - yyc376 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []JobCondition{} + yyc1 = true } } - yyh376.End() - if yyc376 { - *v = yyv376 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -4448,10 +4642,10 @@ func (x codecSelfer1234) encSliceCronJob(v []CronJob, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv380 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy381 := &yyv380 - yy381.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4461,83 +4655,86 @@ func (x codecSelfer1234) decSliceCronJob(v *[]CronJob, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv382 := *v - yyh382, yyl382 := z.DecSliceHelperStart() - var yyc382 bool - if yyl382 == 0 { - if yyv382 == nil { - yyv382 = []CronJob{} - yyc382 = true - } else if len(yyv382) != 0 { - yyv382 = yyv382[:0] - yyc382 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []CronJob{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl382 > 0 { - var yyrr382, yyrl382 int - var yyrt382 bool - if yyl382 > cap(yyv382) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg382 := len(yyv382) > 0 - yyv2382 := yyv382 - yyrl382, yyrt382 = z.DecInferLen(yyl382, z.DecBasicHandle().MaxInitLen, 1080) - if yyrt382 { - if yyrl382 <= cap(yyv382) { - yyv382 = yyv382[:yyrl382] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1080) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv382 = make([]CronJob, yyrl382) + yyv1 = make([]CronJob, yyrl1) } } else { - yyv382 = make([]CronJob, yyrl382) + yyv1 = make([]CronJob, yyrl1) } - yyc382 = true - yyrr382 = len(yyv382) - if yyrg382 { - copy(yyv382, yyv2382) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl382 != len(yyv382) { - yyv382 = yyv382[:yyl382] - yyc382 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj382 := 0 - for ; yyj382 < yyrr382; yyj382++ { - yyh382.ElemContainerState(yyj382) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv382[yyj382] = CronJob{} + yyv1[yyj1] = CronJob{} } else { - yyv383 := &yyv382[yyj382] - yyv383.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt382 { - for ; yyj382 < yyl382; yyj382++ { - yyv382 = append(yyv382, CronJob{}) - yyh382.ElemContainerState(yyj382) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, CronJob{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv382[yyj382] = CronJob{} + yyv1[yyj1] = CronJob{} } else { - yyv384 := &yyv382[yyj382] - yyv384.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj382 := 0 - for ; !r.CheckBreak(); yyj382++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj382 >= len(yyv382) { - yyv382 = append(yyv382, CronJob{}) // var yyz382 CronJob - yyc382 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, CronJob{}) // var yyz1 CronJob + yyc1 = true } - yyh382.ElemContainerState(yyj382) - if yyj382 < len(yyv382) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv382[yyj382] = CronJob{} + yyv1[yyj1] = CronJob{} } else { - yyv385 := &yyv382[yyj382] - yyv385.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -4545,17 +4742,17 @@ func (x codecSelfer1234) decSliceCronJob(v *[]CronJob, d *codec1978.Decoder) { } } - if yyj382 < len(yyv382) { - yyv382 = yyv382[:yyj382] - yyc382 = true - } else if yyj382 == 0 && yyv382 == nil { - yyv382 = []CronJob{} - yyc382 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []CronJob{} + yyc1 = true } } - yyh382.End() - if yyc382 { - *v = yyv382 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -4564,10 +4761,10 @@ func (x codecSelfer1234) encSlicev1_ObjectReference(v []pkg2_v1.ObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv386 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy387 := &yyv386 - yy387.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4577,83 +4774,86 @@ func (x codecSelfer1234) decSlicev1_ObjectReference(v *[]pkg2_v1.ObjectReference z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv388 := *v - yyh388, yyl388 := z.DecSliceHelperStart() - var yyc388 bool - if yyl388 == 0 { - if yyv388 == nil { - yyv388 = []pkg2_v1.ObjectReference{} - yyc388 = true - } else if len(yyv388) != 0 { - yyv388 = yyv388[:0] - yyc388 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []pkg2_v1.ObjectReference{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl388 > 0 { - var yyrr388, yyrl388 int - var yyrt388 bool - if yyl388 > cap(yyv388) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg388 := len(yyv388) > 0 - yyv2388 := yyv388 - yyrl388, yyrt388 = z.DecInferLen(yyl388, z.DecBasicHandle().MaxInitLen, 112) - if yyrt388 { - if yyrl388 <= cap(yyv388) { - yyv388 = yyv388[:yyrl388] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv388 = make([]pkg2_v1.ObjectReference, yyrl388) + yyv1 = make([]pkg2_v1.ObjectReference, yyrl1) } } else { - yyv388 = make([]pkg2_v1.ObjectReference, yyrl388) + yyv1 = make([]pkg2_v1.ObjectReference, yyrl1) } - yyc388 = true - yyrr388 = len(yyv388) - if yyrg388 { - copy(yyv388, yyv2388) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl388 != len(yyv388) { - yyv388 = yyv388[:yyl388] - yyc388 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj388 := 0 - for ; yyj388 < yyrr388; yyj388++ { - yyh388.ElemContainerState(yyj388) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv388[yyj388] = pkg2_v1.ObjectReference{} + yyv1[yyj1] = pkg2_v1.ObjectReference{} } else { - yyv389 := &yyv388[yyj388] - yyv389.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt388 { - for ; yyj388 < yyl388; yyj388++ { - yyv388 = append(yyv388, pkg2_v1.ObjectReference{}) - yyh388.ElemContainerState(yyj388) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, pkg2_v1.ObjectReference{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv388[yyj388] = pkg2_v1.ObjectReference{} + yyv1[yyj1] = pkg2_v1.ObjectReference{} } else { - yyv390 := &yyv388[yyj388] - yyv390.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj388 := 0 - for ; !r.CheckBreak(); yyj388++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj388 >= len(yyv388) { - yyv388 = append(yyv388, pkg2_v1.ObjectReference{}) // var yyz388 pkg2_v1.ObjectReference - yyc388 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, pkg2_v1.ObjectReference{}) // var yyz1 pkg2_v1.ObjectReference + yyc1 = true } - yyh388.ElemContainerState(yyj388) - if yyj388 < len(yyv388) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv388[yyj388] = pkg2_v1.ObjectReference{} + yyv1[yyj1] = pkg2_v1.ObjectReference{} } else { - yyv391 := &yyv388[yyj388] - yyv391.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -4661,16 +4861,16 @@ func (x codecSelfer1234) decSlicev1_ObjectReference(v *[]pkg2_v1.ObjectReference } } - if yyj388 < len(yyv388) { - yyv388 = yyv388[:yyj388] - yyc388 = true - } else if yyj388 == 0 && yyv388 == nil { - yyv388 = []pkg2_v1.ObjectReference{} - yyc388 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []pkg2_v1.ObjectReference{} + yyc1 = true } } - yyh388.End() - if yyc388 { - *v = yyv388 + yyh1.End() + if yyc1 { + *v = yyv1 } } diff --git a/pkg/apis/batch/v2alpha1/types.go b/pkg/apis/batch/v2alpha1/types.go index 897b89cf..bde96d97 100644 --- a/pkg/apis/batch/v2alpha1/types.go +++ b/pkg/apis/batch/v2alpha1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v2alpha1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // +genclient=true diff --git a/pkg/apis/batch/v2alpha1/zz_generated.conversion.go b/pkg/apis/batch/v2alpha1/zz_generated.conversion.go index e6175b7c..5d3be8be 100644 --- a/pkg/apis/batch/v2alpha1/zz_generated.conversion.go +++ b/pkg/apis/batch/v2alpha1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,12 +21,12 @@ limitations under the License. package v2alpha1 import ( + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" api_v1 "k8s.io/client-go/pkg/api/v1" batch "k8s.io/client-go/pkg/apis/batch" - v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" unsafe "unsafe" ) diff --git a/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go b/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go index 4d415a94..d9e0160d 100644 --- a/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ limitations under the License. package v2alpha1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -54,7 +54,7 @@ func DeepCopy_v2alpha1_CronJob(in interface{}, out interface{}, c *conversion.Cl { in := in.(*CronJob) out := out.(*CronJob) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -72,8 +72,7 @@ func DeepCopy_v2alpha1_CronJobList(in interface{}, out interface{}, c *conversio { in := in.(*CronJobList) out := out.(*CronJobList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]CronJob, len(*in)) @@ -82,8 +81,6 @@ func DeepCopy_v2alpha1_CronJobList(in interface{}, out interface{}, c *conversio return err } } - } else { - out.Items = nil } return nil } @@ -93,21 +90,16 @@ func DeepCopy_v2alpha1_CronJobSpec(in interface{}, out interface{}, c *conversio { in := in.(*CronJobSpec) out := out.(*CronJobSpec) - out.Schedule = in.Schedule + *out = *in if in.StartingDeadlineSeconds != nil { in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds *out = new(int64) **out = **in - } else { - out.StartingDeadlineSeconds = nil } - out.ConcurrencyPolicy = in.ConcurrencyPolicy if in.Suspend != nil { in, out := &in.Suspend, &out.Suspend *out = new(bool) **out = **in - } else { - out.Suspend = nil } if err := DeepCopy_v2alpha1_JobTemplateSpec(&in.JobTemplate, &out.JobTemplate, c); err != nil { return err @@ -120,21 +112,18 @@ func DeepCopy_v2alpha1_CronJobStatus(in interface{}, out interface{}, c *convers { in := in.(*CronJobStatus) out := out.(*CronJobStatus) + *out = *in if in.Active != nil { in, out := &in.Active, &out.Active *out = make([]v1.ObjectReference, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Active = nil } if in.LastScheduleTime != nil { in, out := &in.LastScheduleTime, &out.LastScheduleTime *out = new(meta_v1.Time) **out = (*in).DeepCopy() - } else { - out.LastScheduleTime = nil } return nil } @@ -144,7 +133,7 @@ func DeepCopy_v2alpha1_Job(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*Job) out := out.(*Job) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -162,12 +151,9 @@ func DeepCopy_v2alpha1_JobCondition(in interface{}, out interface{}, c *conversi { in := in.(*JobCondition) out := out.(*JobCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastProbeTime = in.LastProbeTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -176,8 +162,7 @@ func DeepCopy_v2alpha1_JobList(in interface{}, out interface{}, c *conversion.Cl { in := in.(*JobList) out := out.(*JobList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Job, len(*in)) @@ -186,8 +171,6 @@ func DeepCopy_v2alpha1_JobList(in interface{}, out interface{}, c *conversion.Cl return err } } - } else { - out.Items = nil } return nil } @@ -197,42 +180,34 @@ func DeepCopy_v2alpha1_JobSpec(in interface{}, out interface{}, c *conversion.Cl { in := in.(*JobSpec) out := out.(*JobSpec) + *out = *in if in.Parallelism != nil { in, out := &in.Parallelism, &out.Parallelism *out = new(int32) **out = **in - } else { - out.Parallelism = nil } if in.Completions != nil { in, out := &in.Completions, &out.Completions *out = new(int32) **out = **in - } else { - out.Completions = nil } if in.ActiveDeadlineSeconds != nil { in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds *out = new(int64) **out = **in - } else { - out.ActiveDeadlineSeconds = nil } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(meta_v1.LabelSelector) - if err := meta_v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*meta_v1.LabelSelector) } - } else { - out.Selector = nil } if in.ManualSelector != nil { in, out := &in.ManualSelector, &out.ManualSelector *out = new(bool) **out = **in - } else { - out.ManualSelector = nil } if err := v1.DeepCopy_v1_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err @@ -245,6 +220,7 @@ func DeepCopy_v2alpha1_JobStatus(in interface{}, out interface{}, c *conversion. { in := in.(*JobStatus) out := out.(*JobStatus) + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]JobCondition, len(*in)) @@ -253,26 +229,17 @@ func DeepCopy_v2alpha1_JobStatus(in interface{}, out interface{}, c *conversion. return err } } - } else { - out.Conditions = nil } if in.StartTime != nil { in, out := &in.StartTime, &out.StartTime *out = new(meta_v1.Time) **out = (*in).DeepCopy() - } else { - out.StartTime = nil } if in.CompletionTime != nil { in, out := &in.CompletionTime, &out.CompletionTime *out = new(meta_v1.Time) **out = (*in).DeepCopy() - } else { - out.CompletionTime = nil } - out.Active = in.Active - out.Succeeded = in.Succeeded - out.Failed = in.Failed return nil } } @@ -281,7 +248,7 @@ func DeepCopy_v2alpha1_JobTemplate(in interface{}, out interface{}, c *conversio { in := in.(*JobTemplate) out := out.(*JobTemplate) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -296,6 +263,7 @@ func DeepCopy_v2alpha1_JobTemplateSpec(in interface{}, out interface{}, c *conve { in := in.(*JobTemplateSpec) out := out.(*JobTemplateSpec) + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } diff --git a/pkg/apis/batch/v2alpha1/zz_generated.defaults.go b/pkg/apis/batch/v2alpha1/zz_generated.defaults.go index 27f6d938..ea7f2168 100644 --- a/pkg/apis/batch/v2alpha1/zz_generated.defaults.go +++ b/pkg/apis/batch/v2alpha1/zz_generated.defaults.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,8 +21,8 @@ limitations under the License. package v2alpha1 import ( + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - runtime "k8s.io/client-go/pkg/runtime" ) // RegisterDefaults adds defaulters functions to the given scheme. diff --git a/pkg/apis/batch/zz_generated.deepcopy.go b/pkg/apis/batch/zz_generated.deepcopy.go index d1d71792..8f60b1b2 100644 --- a/pkg/apis/batch/zz_generated.deepcopy.go +++ b/pkg/apis/batch/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ limitations under the License. package batch import ( + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" - v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -54,7 +54,7 @@ func DeepCopy_batch_CronJob(in interface{}, out interface{}, c *conversion.Clone { in := in.(*CronJob) out := out.(*CronJob) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -72,8 +72,7 @@ func DeepCopy_batch_CronJobList(in interface{}, out interface{}, c *conversion.C { in := in.(*CronJobList) out := out.(*CronJobList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]CronJob, len(*in)) @@ -82,8 +81,6 @@ func DeepCopy_batch_CronJobList(in interface{}, out interface{}, c *conversion.C return err } } - } else { - out.Items = nil } return nil } @@ -93,21 +90,16 @@ func DeepCopy_batch_CronJobSpec(in interface{}, out interface{}, c *conversion.C { in := in.(*CronJobSpec) out := out.(*CronJobSpec) - out.Schedule = in.Schedule + *out = *in if in.StartingDeadlineSeconds != nil { in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds *out = new(int64) **out = **in - } else { - out.StartingDeadlineSeconds = nil } - out.ConcurrencyPolicy = in.ConcurrencyPolicy if in.Suspend != nil { in, out := &in.Suspend, &out.Suspend *out = new(bool) **out = **in - } else { - out.Suspend = nil } if err := DeepCopy_batch_JobTemplateSpec(&in.JobTemplate, &out.JobTemplate, c); err != nil { return err @@ -120,21 +112,18 @@ func DeepCopy_batch_CronJobStatus(in interface{}, out interface{}, c *conversion { in := in.(*CronJobStatus) out := out.(*CronJobStatus) + *out = *in if in.Active != nil { in, out := &in.Active, &out.Active *out = make([]api.ObjectReference, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Active = nil } if in.LastScheduleTime != nil { in, out := &in.LastScheduleTime, &out.LastScheduleTime *out = new(v1.Time) **out = (*in).DeepCopy() - } else { - out.LastScheduleTime = nil } return nil } @@ -144,7 +133,7 @@ func DeepCopy_batch_Job(in interface{}, out interface{}, c *conversion.Cloner) e { in := in.(*Job) out := out.(*Job) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -162,12 +151,9 @@ func DeepCopy_batch_JobCondition(in interface{}, out interface{}, c *conversion. { in := in.(*JobCondition) out := out.(*JobCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastProbeTime = in.LastProbeTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -176,8 +162,7 @@ func DeepCopy_batch_JobList(in interface{}, out interface{}, c *conversion.Clone { in := in.(*JobList) out := out.(*JobList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Job, len(*in)) @@ -186,8 +171,6 @@ func DeepCopy_batch_JobList(in interface{}, out interface{}, c *conversion.Clone return err } } - } else { - out.Items = nil } return nil } @@ -197,42 +180,34 @@ func DeepCopy_batch_JobSpec(in interface{}, out interface{}, c *conversion.Clone { in := in.(*JobSpec) out := out.(*JobSpec) + *out = *in if in.Parallelism != nil { in, out := &in.Parallelism, &out.Parallelism *out = new(int32) **out = **in - } else { - out.Parallelism = nil } if in.Completions != nil { in, out := &in.Completions, &out.Completions *out = new(int32) **out = **in - } else { - out.Completions = nil } if in.ActiveDeadlineSeconds != nil { in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds *out = new(int64) **out = **in - } else { - out.ActiveDeadlineSeconds = nil } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(v1.LabelSelector) - if err := v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*v1.LabelSelector) } - } else { - out.Selector = nil } if in.ManualSelector != nil { in, out := &in.ManualSelector, &out.ManualSelector *out = new(bool) **out = **in - } else { - out.ManualSelector = nil } if err := api.DeepCopy_api_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err @@ -245,6 +220,7 @@ func DeepCopy_batch_JobStatus(in interface{}, out interface{}, c *conversion.Clo { in := in.(*JobStatus) out := out.(*JobStatus) + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]JobCondition, len(*in)) @@ -253,26 +229,17 @@ func DeepCopy_batch_JobStatus(in interface{}, out interface{}, c *conversion.Clo return err } } - } else { - out.Conditions = nil } if in.StartTime != nil { in, out := &in.StartTime, &out.StartTime *out = new(v1.Time) **out = (*in).DeepCopy() - } else { - out.StartTime = nil } if in.CompletionTime != nil { in, out := &in.CompletionTime, &out.CompletionTime *out = new(v1.Time) **out = (*in).DeepCopy() - } else { - out.CompletionTime = nil } - out.Active = in.Active - out.Succeeded = in.Succeeded - out.Failed = in.Failed return nil } } @@ -281,7 +248,7 @@ func DeepCopy_batch_JobTemplate(in interface{}, out interface{}, c *conversion.C { in := in.(*JobTemplate) out := out.(*JobTemplate) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -296,6 +263,7 @@ func DeepCopy_batch_JobTemplateSpec(in interface{}, out interface{}, c *conversi { in := in.(*JobTemplateSpec) out := out.(*JobTemplateSpec) + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } diff --git a/pkg/apis/certificates/install/install.go b/pkg/apis/certificates/install/install.go index 6abe6656..140f8e88 100644 --- a/pkg/apis/certificates/install/install.go +++ b/pkg/apis/certificates/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/apimachinery/announced" "k8s.io/client-go/pkg/apis/certificates" "k8s.io/client-go/pkg/apis/certificates/v1alpha1" - "k8s.io/client-go/pkg/util/sets" ) func init() { diff --git a/pkg/apis/certificates/register.go b/pkg/apis/certificates/register.go index 58b15639..73584e8a 100644 --- a/pkg/apis/certificates/register.go +++ b/pkg/apis/certificates/register.go @@ -17,9 +17,9 @@ limitations under the License. package certificates import ( + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) var ( diff --git a/pkg/apis/certificates/types.go b/pkg/apis/certificates/types.go index be538cf9..ace47bc1 100644 --- a/pkg/apis/certificates/types.go +++ b/pkg/apis/certificates/types.go @@ -17,8 +17,8 @@ limitations under the License. package certificates import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // +genclient=true @@ -46,6 +46,12 @@ type CertificateSigningRequestSpec struct { // Base64-encoded PKCS#10 CSR data Request []byte + // usages specifies a set of usage contexts the key will be + // valid for. + // See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 + // https://tools.ietf.org/html/rfc5280#section-4.2.1.12 + Usages []KeyUsage + // Information about the requesting user (if relevant) // See user.Info interface for details // +optional @@ -96,3 +102,34 @@ type CertificateSigningRequestList struct { // +optional Items []CertificateSigningRequest } + +// KeyUsages specifies valid usage contexts for keys. +// See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 +// https://tools.ietf.org/html/rfc5280#section-4.2.1.12 +type KeyUsage string + +const ( + UsageSigning KeyUsage = "signing" + UsageDigitalSignature KeyUsage = "digital signature" + UsageContentCommittment KeyUsage = "content committment" + UsageKeyEncipherment KeyUsage = "key encipherment" + UsageKeyAgreement KeyUsage = "key agreement" + UsageDataEncipherment KeyUsage = "data encipherment" + UsageCertSign KeyUsage = "cert sign" + UsageCRLSign KeyUsage = "crl sign" + UsageEncipherOnly KeyUsage = "encipher only" + UsageDecipherOnly KeyUsage = "decipher only" + UsageAny KeyUsage = "any" + UsageServerAuth KeyUsage = "server auth" + UsageClientAuth KeyUsage = "client auth" + UsageCodeSigning KeyUsage = "code signing" + UsageEmailProtection KeyUsage = "email protection" + UsageSMIME KeyUsage = "s/mime" + UsageIPsecEndSystem KeyUsage = "ipsec end system" + UsageIPsecTunnel KeyUsage = "ipsec tunnel" + UsageIPsecUser KeyUsage = "ipsec user" + UsageTimestamping KeyUsage = "timestamping" + UsageOCSPSigning KeyUsage = "ocsp signing" + UsageMicrosoftSGC KeyUsage = "microsoft sgc" + UsageNetscapSGC KeyUsage = "netscape sgc" +) diff --git a/pkg/apis/certificates/v1alpha1/conversion.go b/pkg/apis/certificates/v1alpha1/conversion.go index e8e4a297..df9f7b0e 100644 --- a/pkg/apis/certificates/v1alpha1/conversion.go +++ b/pkg/apis/certificates/v1alpha1/conversion.go @@ -19,8 +19,8 @@ package v1alpha1 import ( "fmt" + "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/runtime" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/apis/certificates/v1alpha1/generated.pb.go b/pkg/apis/certificates/v1alpha1/generated.pb.go index e5997682..dff0de03 100644 --- a/pkg/apis/certificates/v1alpha1/generated.pb.go +++ b/pkg/apis/certificates/v1alpha1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -127,6 +127,14 @@ func (m *CertificateSigningRequest) MarshalTo(data []byte) (int, error) { return 0, err } i += n3 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n4, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n4 return i, nil } @@ -160,11 +168,11 @@ func (m *CertificateSigningRequestCondition) MarshalTo(data []byte) (int, error) data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.LastUpdateTime.Size())) - n4, err := m.LastUpdateTime.MarshalTo(data[i:]) + n5, err := m.LastUpdateTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n4 + i += n5 return i, nil } @@ -186,11 +194,11 @@ func (m *CertificateSigningRequestList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n5, err := m.ListMeta.MarshalTo(data[i:]) + n6, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n5 + i += n6 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -203,6 +211,14 @@ func (m *CertificateSigningRequestList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n7, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n7 return i, nil } @@ -250,6 +266,21 @@ func (m *CertificateSigningRequestSpec) MarshalTo(data []byte) (int, error) { i += copy(data[i:], s) } } + if len(m.Usages) > 0 { + for _, s := range m.Usages { + data[i] = 0x2a + i++ + l = len(s) + for l >= 1<<7 { + data[i] = uint8(uint64(l)&0x7f | 0x80) + l >>= 7 + i++ + } + data[i] = uint8(l) + i++ + i += copy(data[i:], s) + } + } return i, nil } @@ -325,6 +356,8 @@ func (m *CertificateSigningRequest) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -353,6 +386,8 @@ func (m *CertificateSigningRequestList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -373,6 +408,12 @@ func (m *CertificateSigningRequestSpec) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + if len(m.Usages) > 0 { + for _, s := range m.Usages { + l = len(s) + n += 1 + l + sovGenerated(uint64(l)) + } + } return n } @@ -413,6 +454,7 @@ func (this *CertificateSigningRequest) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "CertificateSigningRequestSpec", "CertificateSigningRequestSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "CertificateSigningRequestStatus", "CertificateSigningRequestStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -425,7 +467,7 @@ func (this *CertificateSigningRequestCondition) String() string { `Type:` + fmt.Sprintf("%v", this.Type) + `,`, `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, - `LastUpdateTime:` + strings.Replace(strings.Replace(this.LastUpdateTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastUpdateTime:` + strings.Replace(strings.Replace(this.LastUpdateTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -435,8 +477,9 @@ func (this *CertificateSigningRequestList) String() string { return "nil" } s := strings.Join([]string{`&CertificateSigningRequestList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "CertificateSigningRequest", "CertificateSigningRequest", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -450,6 +493,7 @@ func (this *CertificateSigningRequestSpec) String() string { `Username:` + fmt.Sprintf("%v", this.Username) + `,`, `UID:` + fmt.Sprintf("%v", this.UID) + `,`, `Groups:` + fmt.Sprintf("%v", this.Groups) + `,`, + `Usages:` + fmt.Sprintf("%v", this.Usages) + `,`, `}`, }, "") return s @@ -592,6 +636,36 @@ func (m *CertificateSigningRequest) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -870,6 +944,36 @@ func (m *CertificateSigningRequestList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1038,6 +1142,35 @@ func (m *CertificateSigningRequestSpec) Unmarshal(data []byte) error { } m.Groups = append(m.Groups, string(data[iNdEx:postIndex])) iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Usages", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Usages = append(m.Usages, KeyUsage(data[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1277,49 +1410,53 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 691 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x54, 0x4f, 0x4f, 0x13, 0x4f, - 0x18, 0xee, 0xb6, 0xa5, 0xb4, 0x53, 0x7e, 0xf0, 0xcb, 0xc4, 0x98, 0x4a, 0xc2, 0x96, 0x34, 0x6a, - 0xaa, 0x81, 0x59, 0x4b, 0x3c, 0x70, 0x34, 0x8b, 0x89, 0x21, 0x42, 0x88, 0x03, 0x24, 0x86, 0xdb, - 0x74, 0xfb, 0xb2, 0x1d, 0xcb, 0xfe, 0x61, 0x67, 0x96, 0x84, 0x9b, 0x47, 0x8f, 0xde, 0xfd, 0x20, - 0x7e, 0x05, 0x8e, 0x1c, 0x3d, 0x55, 0x29, 0x67, 0xbf, 0x80, 0x27, 0x33, 0xd3, 0xe9, 0x1f, 0x5b, - 0x0a, 0x9a, 0x70, 0xeb, 0xfb, 0xcc, 0xfb, 0x3e, 0xcf, 0xfb, 0xe7, 0xe9, 0xa2, 0x57, 0x9d, 0x4d, - 0x41, 0x78, 0xe4, 0x74, 0xd2, 0x26, 0x24, 0x21, 0x48, 0x10, 0x4e, 0xdc, 0xf1, 0x1d, 0x16, 0x73, - 0xe1, 0x78, 0x90, 0x48, 0x7e, 0xcc, 0x3d, 0xa6, 0xd0, 0xb3, 0x06, 0x3b, 0x89, 0xdb, 0xac, 0xe1, - 0xf8, 0x10, 0x42, 0xc2, 0x24, 0xb4, 0x48, 0x9c, 0x44, 0x32, 0xc2, 0x2f, 0xfa, 0x0c, 0x64, 0xc4, - 0x40, 0xe2, 0x8e, 0x4f, 0x14, 0x03, 0x19, 0x67, 0x20, 0x03, 0x86, 0xe5, 0x75, 0x9f, 0xcb, 0x76, - 0xda, 0x24, 0x5e, 0x14, 0x38, 0x7e, 0xe4, 0x47, 0x8e, 0x26, 0x6a, 0xa6, 0xc7, 0x3a, 0xd2, 0x81, - 0xfe, 0xd5, 0x17, 0x58, 0xde, 0x98, 0xd9, 0xa2, 0x93, 0x80, 0x88, 0xd2, 0xc4, 0x83, 0xc9, 0xa6, - 0x96, 0xd7, 0x66, 0xd7, 0x9c, 0x4d, 0x8d, 0x70, 0x8b, 0x82, 0x70, 0x02, 0x90, 0xec, 0xa6, 0x9a, - 0xf5, 0x9b, 0x6b, 0x92, 0x34, 0x94, 0x3c, 0x98, 0x6e, 0xe8, 0xe5, 0xed, 0xe9, 0xc2, 0x6b, 0x43, - 0xc0, 0xa6, 0xaa, 0x1a, 0x37, 0x57, 0xa5, 0x92, 0x9f, 0x38, 0x3c, 0x94, 0x42, 0x26, 0x93, 0x25, - 0xb5, 0xeb, 0x2c, 0x7a, 0xb4, 0x35, 0x5a, 0xfb, 0x3e, 0xf7, 0x43, 0x1e, 0xfa, 0x14, 0x4e, 0x53, - 0x10, 0x12, 0xbf, 0x47, 0x45, 0x35, 0x50, 0x8b, 0x49, 0x56, 0xb1, 0x56, 0xad, 0x7a, 0x79, 0xa3, - 0x4e, 0x66, 0xde, 0x8f, 0x9c, 0x35, 0xc8, 0x5e, 0xf3, 0x03, 0x78, 0x72, 0x17, 0x24, 0x73, 0xf1, - 0x45, 0xb7, 0x9a, 0xe9, 0x75, 0xab, 0x68, 0x84, 0xd1, 0x21, 0x1b, 0x3e, 0x45, 0x79, 0x11, 0x83, - 0x57, 0xc9, 0x6a, 0xd6, 0x3d, 0xf2, 0xaf, 0xae, 0x20, 0x33, 0x9b, 0xde, 0x8f, 0xc1, 0x73, 0x17, - 0x8c, 0x78, 0x5e, 0x45, 0x54, 0x4b, 0xe1, 0x73, 0x54, 0x10, 0x92, 0xc9, 0x54, 0x54, 0x72, 0x5a, - 0xf4, 0xdd, 0x7d, 0x8a, 0x6a, 0x62, 0x77, 0xd1, 0xc8, 0x16, 0xfa, 0x31, 0x35, 0x82, 0xb5, 0x2f, - 0x59, 0x54, 0x9b, 0x59, 0xbb, 0x15, 0x85, 0x2d, 0x2e, 0x79, 0x14, 0xe2, 0x4d, 0x94, 0x97, 0xe7, - 0x31, 0xe8, 0x55, 0x97, 0xdc, 0xc7, 0x83, 0x19, 0x0e, 0xce, 0x63, 0xf8, 0xd5, 0xad, 0x3e, 0x98, - 0xcc, 0x57, 0x38, 0xd5, 0x15, 0xf8, 0x29, 0x2a, 0x24, 0xc0, 0x44, 0x14, 0xea, 0x85, 0x96, 0x46, - 0x8d, 0x50, 0x8d, 0x52, 0xf3, 0x8a, 0x9f, 0xa1, 0xf9, 0x00, 0x84, 0x60, 0x3e, 0xe8, 0x25, 0x94, - 0xdc, 0x25, 0x93, 0x38, 0xbf, 0xdb, 0x87, 0xe9, 0xe0, 0x1d, 0xb7, 0xd1, 0xe2, 0x09, 0x13, 0xf2, - 0x30, 0x6e, 0x31, 0x09, 0x07, 0x3c, 0x80, 0x4a, 0xfe, 0x2e, 0x07, 0x08, 0xa2, 0xee, 0xab, 0x7c, - 0xa0, 0xf2, 0xdd, 0x87, 0x86, 0x7b, 0x71, 0xe7, 0x0f, 0x1e, 0x3a, 0xc1, 0x5b, 0xfb, 0x69, 0xa1, - 0x95, 0x99, 0xdb, 0xd9, 0xe1, 0x42, 0xe2, 0xa3, 0x29, 0x1f, 0xae, 0xfd, 0x4d, 0x17, 0xaa, 0x56, - 0x7b, 0xf1, 0x7f, 0xd3, 0x49, 0x71, 0x80, 0x8c, 0x39, 0x31, 0x46, 0x73, 0x5c, 0x42, 0x20, 0x2a, - 0xd9, 0xd5, 0x5c, 0xbd, 0xbc, 0xf1, 0xf6, 0x1e, 0x5d, 0xe1, 0xfe, 0x67, 0x74, 0xe7, 0xb6, 0x95, - 0x02, 0xed, 0x0b, 0xd5, 0xbe, 0xde, 0x36, 0xaf, 0x32, 0x2c, 0x7e, 0x82, 0xe6, 0x93, 0x7e, 0xa8, - 0xc7, 0x5d, 0x70, 0xcb, 0xea, 0x44, 0x26, 0x83, 0x0e, 0xde, 0xf0, 0x1a, 0x2a, 0xa6, 0x02, 0x92, - 0x90, 0x05, 0x60, 0xee, 0x3e, 0x1c, 0xf4, 0xd0, 0xe0, 0x74, 0x98, 0x81, 0x57, 0x50, 0x2e, 0xe5, - 0x2d, 0x73, 0xf7, 0xb2, 0x49, 0xcc, 0x1d, 0x6e, 0xbf, 0xa6, 0x0a, 0xc7, 0x35, 0x54, 0xf0, 0x93, - 0x28, 0x8d, 0x45, 0x25, 0xbf, 0x9a, 0xab, 0x97, 0x5c, 0xa4, 0xec, 0xf3, 0x46, 0x23, 0xd4, 0xbc, - 0xd4, 0xbe, 0x5b, 0xa8, 0x7a, 0xc7, 0x7f, 0x00, 0x7f, 0xb2, 0x10, 0xf2, 0x06, 0x16, 0x15, 0x15, - 0x4b, 0x6f, 0xf5, 0xe0, 0x1e, 0xb7, 0x3a, 0xf4, 0xff, 0xe8, 0x13, 0x33, 0x84, 0x04, 0x1d, 0xd3, - 0xc6, 0x0d, 0x54, 0x1e, 0xe3, 0xd6, 0x2b, 0x5a, 0x70, 0x97, 0x7a, 0xdd, 0x6a, 0x79, 0x8c, 0x9c, - 0x8e, 0xe7, 0xb8, 0xcf, 0x2f, 0xae, 0xec, 0xcc, 0xe5, 0x95, 0x9d, 0xf9, 0x76, 0x65, 0x67, 0x3e, - 0xf6, 0x6c, 0xeb, 0xa2, 0x67, 0x5b, 0x97, 0x3d, 0xdb, 0xfa, 0xd1, 0xb3, 0xad, 0xcf, 0xd7, 0x76, - 0xe6, 0xa8, 0x38, 0xe8, 0xf0, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc4, 0x02, 0x0e, 0x3c, 0x0d, - 0x07, 0x00, 0x00, + // 760 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x54, 0x4d, 0x4f, 0x1b, 0x3b, + 0x14, 0xcd, 0x24, 0x21, 0x24, 0x0e, 0x0f, 0x9e, 0xac, 0x27, 0x94, 0x87, 0xc4, 0x04, 0x45, 0xef, + 0x55, 0x29, 0xa2, 0x9e, 0x26, 0xaa, 0x2a, 0x96, 0xd5, 0x50, 0xa9, 0x42, 0x80, 0x50, 0x0d, 0x91, + 0xaa, 0xaa, 0x1b, 0x67, 0x62, 0x26, 0x26, 0xcc, 0x07, 0x63, 0x0f, 0x52, 0x76, 0x5d, 0x76, 0xd9, + 0x3f, 0xd0, 0x1f, 0xd3, 0x1d, 0x9b, 0x4a, 0x2c, 0xbb, 0x4a, 0x4b, 0xba, 0xec, 0x3f, 0x60, 0x55, + 0xd9, 0xf1, 0x24, 0x21, 0x21, 0x85, 0x4a, 0xd9, 0xc5, 0xc7, 0xf7, 0x9e, 0x73, 0xe7, 0xdc, 0xe3, + 0x80, 0x17, 0x9d, 0x6d, 0x8e, 0x58, 0x60, 0x75, 0xe2, 0x26, 0x8d, 0x7c, 0x2a, 0x28, 0xb7, 0xc2, + 0x8e, 0x6b, 0x91, 0x90, 0x71, 0xcb, 0xa1, 0x91, 0x60, 0x27, 0xcc, 0x21, 0x12, 0xbd, 0xa8, 0x91, + 0xb3, 0xb0, 0x4d, 0x6a, 0x96, 0x4b, 0x7d, 0x1a, 0x11, 0x41, 0x5b, 0x28, 0x8c, 0x02, 0x11, 0xc0, + 0xa7, 0x03, 0x06, 0x34, 0x62, 0x40, 0x61, 0xc7, 0x45, 0x92, 0x01, 0x8d, 0x33, 0xa0, 0x84, 0x61, + 0xed, 0x89, 0xcb, 0x44, 0x3b, 0x6e, 0x22, 0x27, 0xf0, 0x2c, 0x37, 0x70, 0x03, 0x4b, 0x11, 0x35, + 0xe3, 0x13, 0x75, 0x52, 0x07, 0xf5, 0x6b, 0x20, 0xb0, 0xf6, 0x4c, 0x8f, 0x48, 0x42, 0xe6, 0x11, + 0xa7, 0xcd, 0x7c, 0x1a, 0x75, 0x47, 0x43, 0x7a, 0x54, 0x10, 0xeb, 0x62, 0x6a, 0xac, 0x35, 0x6b, + 0x56, 0x57, 0x14, 0xfb, 0x82, 0x79, 0x74, 0xaa, 0xe1, 0xf9, 0x7d, 0x0d, 0xdc, 0x69, 0x53, 0x8f, + 0x4c, 0xf5, 0xd5, 0x67, 0x3a, 0x68, 0x45, 0x94, 0x07, 0x71, 0xe4, 0x4c, 0x6b, 0x6d, 0xcd, 0xee, + 0xb9, 0xe3, 0x53, 0x6a, 0x77, 0x57, 0xc7, 0x82, 0x9d, 0x59, 0xcc, 0x17, 0x5c, 0x44, 0x93, 0x2d, + 0x95, 0xcf, 0x19, 0xf0, 0xef, 0xce, 0xc8, 0xfc, 0x23, 0xe6, 0xfa, 0xcc, 0x77, 0x31, 0x3d, 0x8f, + 0x29, 0x17, 0xf0, 0x0d, 0xc8, 0x4b, 0xdb, 0x5a, 0x44, 0x90, 0x92, 0xb1, 0x61, 0x54, 0x8b, 0xf5, + 0x2a, 0x9a, 0xb9, 0x45, 0x74, 0x51, 0x43, 0x87, 0xcd, 0x53, 0xea, 0x88, 0x03, 0x2a, 0x88, 0x0d, + 0x2f, 0x7b, 0xe5, 0x54, 0xbf, 0x57, 0x06, 0x23, 0x0c, 0x0f, 0xd9, 0xe0, 0x39, 0xc8, 0xf2, 0x90, + 0x3a, 0xa5, 0xb4, 0x62, 0x3d, 0x44, 0x7f, 0x9a, 0x0d, 0x34, 0x73, 0xe8, 0xa3, 0x90, 0x3a, 0xf6, + 0x92, 0x16, 0xcf, 0xca, 0x13, 0x56, 0x52, 0xb0, 0x0b, 0x72, 0x5c, 0x10, 0x11, 0xf3, 0x52, 0x46, + 0x89, 0xbe, 0x9e, 0xa7, 0xa8, 0x22, 0xb6, 0x97, 0xb5, 0x6c, 0x6e, 0x70, 0xc6, 0x5a, 0x10, 0xbe, + 0x03, 0x79, 0xd1, 0x0d, 0xa9, 0xf4, 0xa0, 0x94, 0x55, 0xe2, 0x28, 0x11, 0x1f, 0x4f, 0xd1, 0x48, + 0x5e, 0xfa, 0x24, 0xfd, 0x3c, 0xd6, 0x5d, 0xf6, 0xdf, 0x9a, 0x39, 0x9f, 0x20, 0x78, 0xc8, 0x58, + 0xf9, 0x94, 0x06, 0x95, 0x99, 0x93, 0xed, 0x04, 0x7e, 0x8b, 0x09, 0x16, 0xf8, 0x70, 0x1b, 0x64, + 0x65, 0x8b, 0x5a, 0x64, 0xc1, 0xfe, 0x2f, 0x71, 0x48, 0x12, 0xde, 0xf4, 0xca, 0xff, 0x4c, 0xd6, + 0x4b, 0x1c, 0xab, 0x0e, 0xf8, 0x08, 0xe4, 0x22, 0x4a, 0x78, 0xe0, 0xab, 0x75, 0x15, 0x46, 0x9f, + 0x89, 0x15, 0x8a, 0xf5, 0x2d, 0x7c, 0x0c, 0x16, 0x3d, 0xca, 0x39, 0x71, 0xa9, 0xb2, 0xb8, 0x60, + 0xaf, 0xe8, 0xc2, 0xc5, 0x83, 0x01, 0x8c, 0x93, 0x7b, 0x78, 0x0a, 0x96, 0xcf, 0x08, 0x17, 0x8d, + 0xb0, 0x45, 0x04, 0x3d, 0x66, 0x1e, 0xd5, 0xbe, 0x6c, 0x3e, 0xd0, 0x17, 0xe6, 0x51, 0x7b, 0x55, + 0xb3, 0x2f, 0xef, 0xdf, 0x62, 0xc2, 0x13, 0xcc, 0x95, 0x2f, 0x69, 0xb0, 0x3e, 0xd3, 0x9f, 0x7d, + 0xc6, 0x85, 0xdc, 0xcf, 0x44, 0xce, 0x1f, 0xb8, 0x1f, 0xd9, 0x7d, 0x7b, 0x3f, 0x09, 0x32, 0x96, + 0xf5, 0x10, 0x2c, 0x30, 0x41, 0x3d, 0x5e, 0x4a, 0x6f, 0x64, 0xaa, 0xc5, 0xfa, 0xde, 0x1c, 0x73, + 0x67, 0xff, 0xa5, 0x75, 0x17, 0x76, 0xa5, 0x02, 0x1e, 0x08, 0xdd, 0xca, 0x5b, 0x66, 0xee, 0x79, + 0xfb, 0x69, 0xfc, 0xc6, 0x4f, 0xf9, 0xe0, 0xe0, 0xff, 0x60, 0x31, 0x1a, 0x1c, 0x95, 0x9d, 0x4b, + 0x76, 0x51, 0x86, 0x40, 0x57, 0xe0, 0xe4, 0x0e, 0x6e, 0x81, 0x7c, 0xcc, 0x69, 0xe4, 0x13, 0x8f, + 0xea, 0x64, 0x0d, 0x65, 0x1b, 0x1a, 0xc7, 0xc3, 0x0a, 0xb8, 0x0e, 0x32, 0x31, 0x6b, 0xe9, 0x64, + 0x15, 0x75, 0x61, 0xa6, 0xb1, 0xfb, 0x12, 0x4b, 0x1c, 0x56, 0x40, 0xce, 0x8d, 0x82, 0x38, 0xe4, + 0xa5, 0xec, 0x46, 0xa6, 0x5a, 0xb0, 0x81, 0x0c, 0xe8, 0x2b, 0x85, 0x60, 0x7d, 0x03, 0xeb, 0x20, + 0xdf, 0xa1, 0xdd, 0x86, 0x4a, 0xe8, 0x82, 0xaa, 0x5a, 0x95, 0x55, 0x0a, 0xe0, 0x37, 0xbd, 0x72, + 0x7e, 0x4f, 0xdf, 0xe2, 0x61, 0x5d, 0xe5, 0x9b, 0x01, 0xca, 0xf7, 0xbc, 0x7b, 0xf8, 0xc1, 0x00, + 0xc0, 0x49, 0x1e, 0x0e, 0x2f, 0x19, 0x6a, 0xcf, 0xc7, 0x73, 0xdc, 0xf3, 0xf0, 0x55, 0x8e, 0xfe, + 0x56, 0x87, 0x10, 0xc7, 0x63, 0xda, 0xb0, 0x06, 0x8a, 0x63, 0xdc, 0xca, 0xd6, 0x25, 0x7b, 0xa5, + 0xdf, 0x2b, 0x17, 0xc7, 0xc8, 0xf1, 0x78, 0x8d, 0xbd, 0x79, 0x79, 0x6d, 0xa6, 0xae, 0xae, 0xcd, + 0xd4, 0xd7, 0x6b, 0x33, 0xf5, 0xbe, 0x6f, 0x1a, 0x97, 0x7d, 0xd3, 0xb8, 0xea, 0x9b, 0xc6, 0xf7, + 0xbe, 0x69, 0x7c, 0xfc, 0x61, 0xa6, 0xde, 0xe6, 0x93, 0x09, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, + 0x32, 0x89, 0x6c, 0x98, 0x07, 0x08, 0x00, 0x00, } diff --git a/pkg/apis/certificates/v1alpha1/generated.proto b/pkg/apis/certificates/v1alpha1/generated.proto index ae88f9f6..1bde3edb 100644 --- a/pkg/apis/certificates/v1alpha1/generated.proto +++ b/pkg/apis/certificates/v1alpha1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.certificates.v1alpha1; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". @@ -33,6 +33,8 @@ option go_package = "v1alpha1"; // Describes a certificate signing request message CertificateSigningRequest { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -59,12 +61,14 @@ message CertificateSigningRequestCondition { // timestamp for the last update to this condition // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastUpdateTime = 4; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastUpdateTime = 4; } message CertificateSigningRequestList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; repeated CertificateSigningRequest items = 2; } @@ -76,6 +80,12 @@ message CertificateSigningRequestSpec { // Base64-encoded PKCS#10 CSR data optional bytes request = 1; + // allowedUsages specifies a set of usage contexts the key will be + // valid for. + // See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 + // https://tools.ietf.org/html/rfc5280#section-4.2.1.12 + repeated string keyUsage = 5; + // Information about the requesting user (if relevant) // See user.Info interface for details // +optional diff --git a/pkg/apis/certificates/v1alpha1/register.go b/pkg/apis/certificates/v1alpha1/register.go index 2984a802..021a5979 100644 --- a/pkg/apis/certificates/v1alpha1/register.go +++ b/pkg/apis/certificates/v1alpha1/register.go @@ -17,11 +17,10 @@ limitations under the License. package v1alpha1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package @@ -57,7 +56,7 @@ func addKnownTypes(scheme *runtime.Scheme) error { ) // Add the watch version that applies - versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/apis/certificates/v1alpha1/types.generated.go b/pkg/apis/certificates/v1alpha1/types.generated.go index 2f1512ab..15e99ef4 100644 --- a/pkg/apis/certificates/v1alpha1/types.generated.go +++ b/pkg/apis/certificates/v1alpha1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" + pkg1_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + pkg3_types "k8s.io/apimachinery/pkg/types" pkg2_v1 "k8s.io/client-go/pkg/api/v1" - pkg1_v1 "k8s.io/client-go/pkg/apis/meta/v1" - pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" @@ -63,9 +63,9 @@ func init() { panic(err) } if false { // reference the types, but skip this branch at build/run time - var v0 pkg2_v1.ObjectMeta - var v1 pkg1_v1.TypeMeta - var v2 pkg3_types.UID + var v0 pkg1_v1.TypeMeta + var v1 pkg3_types.UID + var v2 pkg2_v1.ObjectMeta var v3 time.Time _, _, _, _ = v0, v1, v2, v3 } @@ -169,15 +169,15 @@ func (x *CertificateSigningRequest) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.ObjectMeta - yy11.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[3] { - yy13 := &x.Spec - yy13.CodecEncodeSelf(e) + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -186,15 +186,15 @@ func (x *CertificateSigningRequest) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.Spec - yy14.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[4] { - yy16 := &x.Status - yy16.CodecEncodeSelf(e) + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -203,8 +203,8 @@ func (x *CertificateSigningRequest) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.Status - yy17.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { @@ -220,25 +220,25 @@ func (x *CertificateSigningRequest) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym18 := z.DecBinary() - _ = yym18 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct19 := r.ContainerType() - if yyct19 == codecSelferValueTypeMap1234 { - yyl19 := r.ReadMapStart() - if yyl19 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl19, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct19 == codecSelferValueTypeArray1234 { - yyl19 := r.ReadArrayStart() - if yyl19 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl19, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -250,12 +250,12 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys20Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys20Slc - var yyhl20 bool = l >= 0 - for yyj20 := 0; ; yyj20++ { - if yyhl20 { - if yyj20 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -264,47 +264,59 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys20Slc = r.DecodeBytes(yys20Slc, true, true) - yys20 := string(yys20Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys20 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv23 := &x.ObjectMeta - yyv23.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = CertificateSigningRequestSpec{} } else { - yyv24 := &x.Spec - yyv24.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = CertificateSigningRequestStatus{} } else { - yyv25 := &x.Status - yyv25.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys20) - } // end switch yys20 - } // end for yyj20 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -312,16 +324,16 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj26 int - var yyb26 bool - var yyhl26 bool = l >= 0 - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -329,15 +341,21 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -345,15 +363,21 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -361,16 +385,16 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv29 := &x.ObjectMeta - yyv29.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -378,16 +402,16 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Spec = CertificateSigningRequestSpec{} } else { - yyv30 := &x.Spec - yyv30.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -395,21 +419,21 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Status = CertificateSigningRequestStatus{} } else { - yyv31 := &x.Status - yyv31.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj26-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -421,39 +445,40 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym32 := z.EncBinary() - _ = yym32 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep33 := !z.EncBinary() - yy2arr33 := z.EncBasicHandle().StructToArray - var yyq33 [4]bool - _, _, _ = yysep33, yyq33, yy2arr33 - const yyr33 bool = false - yyq33[1] = x.Username != "" - yyq33[2] = x.UID != "" - yyq33[3] = len(x.Groups) != 0 - var yynn33 int - if yyr33 || yy2arr33 { - r.EncodeArrayStart(4) + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = len(x.Usages) != 0 + yyq2[2] = x.Username != "" + yyq2[3] = x.UID != "" + yyq2[4] = len(x.Groups) != 0 + var yynn2 int + if yyr2 || yy2arr2 { + r.EncodeArrayStart(5) } else { - yynn33 = 1 - for _, b := range yyq33 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn33++ + yynn2++ } } - r.EncodeMapStart(yynn33) - yynn33 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Request == nil { r.EncodeNil() } else { - yym35 := z.EncBinary() - _ = yym35 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Request)) @@ -466,19 +491,52 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Request == nil { r.EncodeNil() } else { - yym36 := z.EncBinary() - _ = yym36 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Request)) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[1] { - yym38 := z.EncBinary() - _ = yym38 + if yyq2[1] { + if x.Usages == nil { + r.EncodeNil() + } else { + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + h.encSliceKeyUsage(([]KeyUsage)(x.Usages), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq2[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("usages")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Usages == nil { + r.EncodeNil() + } else { + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + h.encSliceKeyUsage(([]KeyUsage)(x.Usages), e) + } + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Username)) @@ -487,23 +545,23 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq33[1] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("username")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym39 := z.EncBinary() - _ = yym39 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Username)) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[2] { - yym41 := z.EncBinary() - _ = yym41 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) @@ -512,26 +570,26 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq33[2] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym42 := z.EncBinary() - _ = yym42 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[3] { + if yyq2[4] { if x.Groups == nil { r.EncodeNil() } else { - yym44 := z.EncBinary() - _ = yym44 + yym16 := z.EncBinary() + _ = yym16 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -541,15 +599,15 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq33[3] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("groups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Groups == nil { r.EncodeNil() } else { - yym45 := z.EncBinary() - _ = yym45 + yym17 := z.EncBinary() + _ = yym17 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -557,7 +615,7 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -570,25 +628,25 @@ func (x *CertificateSigningRequestSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym46 := z.DecBinary() - _ = yym46 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct47 := r.ContainerType() - if yyct47 == codecSelferValueTypeMap1234 { - yyl47 := r.ReadMapStart() - if yyl47 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl47, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct47 == codecSelferValueTypeArray1234 { - yyl47 := r.ReadArrayStart() - if yyl47 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl47, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -600,12 +658,12 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys48Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys48Slc - var yyhl48 bool = l >= 0 - for yyj48 := 0; ; yyj48++ { - if yyhl48 { - if yyj48 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -614,50 +672,74 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys48Slc = r.DecodeBytes(yys48Slc, true, true) - yys48 := string(yys48Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys48 { + switch yys3 { case "request": if r.TryDecodeAsNil() { x.Request = nil } else { - yyv49 := &x.Request - yym50 := z.DecBinary() - _ = yym50 + yyv4 := &x.Request + yym5 := z.DecBinary() + _ = yym5 if false { } else { - *yyv49 = r.DecodeBytes(*(*[]byte)(yyv49), false, false) + *yyv4 = r.DecodeBytes(*(*[]byte)(yyv4), false, false) + } + } + case "usages": + if r.TryDecodeAsNil() { + x.Usages = nil + } else { + yyv6 := &x.Usages + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + h.decSliceKeyUsage((*[]KeyUsage)(yyv6), d) } } case "username": if r.TryDecodeAsNil() { x.Username = "" } else { - x.Username = string(r.DecodeString()) + yyv8 := &x.Username + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "uid": if r.TryDecodeAsNil() { x.UID = "" } else { - x.UID = string(r.DecodeString()) + yyv10 := &x.UID + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "groups": if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv53 := &x.Groups - yym54 := z.DecBinary() - _ = yym54 + yyv12 := &x.Groups + yym13 := z.DecBinary() + _ = yym13 if false { } else { - z.F.DecSliceStringX(yyv53, false, d) + z.F.DecSliceStringX(yyv12, false, d) } } default: - z.DecStructFieldNotFound(-1, yys48) - } // end switch yys48 - } // end for yyj48 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -665,16 +747,16 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj55 int - var yyb55 bool - var yyhl55 bool = l >= 0 - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + var yyj14 int + var yyb14 bool + var yyhl14 bool = l >= 0 + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb55 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb55 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -682,21 +764,43 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.Request = nil } else { - yyv56 := &x.Request - yym57 := z.DecBinary() - _ = yym57 + yyv15 := &x.Request + yym16 := z.DecBinary() + _ = yym16 if false { } else { - *yyv56 = r.DecodeBytes(*(*[]byte)(yyv56), false, false) + *yyv15 = r.DecodeBytes(*(*[]byte)(yyv15), false, false) } } - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb55 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb55 { + if yyb14 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Usages = nil + } else { + yyv17 := &x.Usages + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + h.decSliceKeyUsage((*[]KeyUsage)(yyv17), d) + } + } + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l + } else { + yyb14 = r.CheckBreak() + } + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -704,15 +808,21 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.Username = "" } else { - x.Username = string(r.DecodeString()) + yyv19 := &x.Username + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb55 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb55 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -720,15 +830,21 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.UID = "" } else { - x.UID = string(r.DecodeString()) + yyv21 := &x.UID + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb55 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb55 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -736,26 +852,26 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv60 := &x.Groups - yym61 := z.DecBinary() - _ = yym61 + yyv23 := &x.Groups + yym24 := z.DecBinary() + _ = yym24 if false { } else { - z.F.DecSliceStringX(yyv60, false, d) + z.F.DecSliceStringX(yyv23, false, d) } } for { - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb55 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb55 { + if yyb14 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj55-1, "") + z.DecStructFieldNotFound(yyj14-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -767,39 +883,39 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) if x == nil { r.EncodeNil() } else { - yym62 := z.EncBinary() - _ = yym62 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep63 := !z.EncBinary() - yy2arr63 := z.EncBasicHandle().StructToArray - var yyq63 [2]bool - _, _, _ = yysep63, yyq63, yy2arr63 - const yyr63 bool = false - yyq63[0] = len(x.Conditions) != 0 - yyq63[1] = len(x.Certificate) != 0 - var yynn63 int - if yyr63 || yy2arr63 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Conditions) != 0 + yyq2[1] = len(x.Certificate) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn63 = 0 - for _, b := range yyq63 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn63++ + yynn2++ } } - r.EncodeMapStart(yynn63) - yynn63 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr63 || yy2arr63 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq63[0] { + if yyq2[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym65 := z.EncBinary() - _ = yym65 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceCertificateSigningRequestCondition(([]CertificateSigningRequestCondition)(x.Conditions), e) @@ -809,15 +925,15 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeNil() } } else { - if yyq63[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym66 := z.EncBinary() - _ = yym66 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceCertificateSigningRequestCondition(([]CertificateSigningRequestCondition)(x.Conditions), e) @@ -825,14 +941,14 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) } } } - if yyr63 || yy2arr63 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq63[1] { + if yyq2[1] { if x.Certificate == nil { r.EncodeNil() } else { - yym68 := z.EncBinary() - _ = yym68 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Certificate)) @@ -842,15 +958,15 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeNil() } } else { - if yyq63[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("certificate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Certificate == nil { r.EncodeNil() } else { - yym69 := z.EncBinary() - _ = yym69 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Certificate)) @@ -858,7 +974,7 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) } } } - if yyr63 || yy2arr63 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -871,25 +987,25 @@ func (x *CertificateSigningRequestStatus) CodecDecodeSelf(d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym70 := z.DecBinary() - _ = yym70 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct71 := r.ContainerType() - if yyct71 == codecSelferValueTypeMap1234 { - yyl71 := r.ReadMapStart() - if yyl71 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl71, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct71 == codecSelferValueTypeArray1234 { - yyl71 := r.ReadArrayStart() - if yyl71 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl71, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -901,12 +1017,12 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromMap(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys72Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys72Slc - var yyhl72 bool = l >= 0 - for yyj72 := 0; ; yyj72++ { - if yyhl72 { - if yyj72 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -915,38 +1031,38 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromMap(l int, d *codec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys72Slc = r.DecodeBytes(yys72Slc, true, true) - yys72 := string(yys72Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys72 { + switch yys3 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv73 := &x.Conditions - yym74 := z.DecBinary() - _ = yym74 + yyv4 := &x.Conditions + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceCertificateSigningRequestCondition((*[]CertificateSigningRequestCondition)(yyv73), d) + h.decSliceCertificateSigningRequestCondition((*[]CertificateSigningRequestCondition)(yyv4), d) } } case "certificate": if r.TryDecodeAsNil() { x.Certificate = nil } else { - yyv75 := &x.Certificate - yym76 := z.DecBinary() - _ = yym76 + yyv6 := &x.Certificate + yym7 := z.DecBinary() + _ = yym7 if false { } else { - *yyv75 = r.DecodeBytes(*(*[]byte)(yyv75), false, false) + *yyv6 = r.DecodeBytes(*(*[]byte)(yyv6), false, false) } } default: - z.DecStructFieldNotFound(-1, yys72) - } // end switch yys72 - } // end for yyj72 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -954,16 +1070,16 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromArray(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj77 int - var yyb77 bool - var yyhl77 bool = l >= 0 - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb77 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb77 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -971,21 +1087,21 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromArray(l int, d *cod if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv78 := &x.Conditions - yym79 := z.DecBinary() - _ = yym79 + yyv9 := &x.Conditions + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSliceCertificateSigningRequestCondition((*[]CertificateSigningRequestCondition)(yyv78), d) + h.decSliceCertificateSigningRequestCondition((*[]CertificateSigningRequestCondition)(yyv9), d) } } - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb77 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb77 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -993,26 +1109,26 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromArray(l int, d *cod if r.TryDecodeAsNil() { x.Certificate = nil } else { - yyv80 := &x.Certificate - yym81 := z.DecBinary() - _ = yym81 + yyv11 := &x.Certificate + yym12 := z.DecBinary() + _ = yym12 if false { } else { - *yyv80 = r.DecodeBytes(*(*[]byte)(yyv80), false, false) + *yyv11 = r.DecodeBytes(*(*[]byte)(yyv11), false, false) } } for { - yyj77++ - if yyhl77 { - yyb77 = yyj77 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb77 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb77 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj77-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1021,8 +1137,8 @@ func (x RequestConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym82 := z.EncBinary() - _ = yym82 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -1034,8 +1150,8 @@ func (x *RequestConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym83 := z.DecBinary() - _ = yym83 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -1050,33 +1166,33 @@ func (x *CertificateSigningRequestCondition) CodecEncodeSelf(e *codec1978.Encode if x == nil { r.EncodeNil() } else { - yym84 := z.EncBinary() - _ = yym84 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep85 := !z.EncBinary() - yy2arr85 := z.EncBasicHandle().StructToArray - var yyq85 [4]bool - _, _, _ = yysep85, yyq85, yy2arr85 - const yyr85 bool = false - yyq85[1] = x.Reason != "" - yyq85[2] = x.Message != "" - yyq85[3] = true - var yynn85 int - if yyr85 || yy2arr85 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.Reason != "" + yyq2[2] = x.Message != "" + yyq2[3] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn85 = 1 - for _, b := range yyq85 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn85++ + yynn2++ } } - r.EncodeMapStart(yynn85) - yynn85 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr85 || yy2arr85 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -1085,11 +1201,11 @@ func (x *CertificateSigningRequestCondition) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr85 || yy2arr85 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq85[1] { - yym88 := z.EncBinary() - _ = yym88 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -1098,23 +1214,23 @@ func (x *CertificateSigningRequestCondition) CodecEncodeSelf(e *codec1978.Encode r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq85[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym89 := z.EncBinary() - _ = yym89 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr85 || yy2arr85 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq85[2] { - yym91 := z.EncBinary() - _ = yym91 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -1123,56 +1239,56 @@ func (x *CertificateSigningRequestCondition) CodecEncodeSelf(e *codec1978.Encode r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq85[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym92 := z.EncBinary() - _ = yym92 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr85 || yy2arr85 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq85[3] { - yy94 := &x.LastUpdateTime - yym95 := z.EncBinary() - _ = yym95 + if yyq2[3] { + yy13 := &x.LastUpdateTime + yym14 := z.EncBinary() + _ = yym14 if false { - } else if z.HasExtensions() && z.EncExt(yy94) { - } else if yym95 { - z.EncBinaryMarshal(yy94) - } else if !yym95 && z.IsJSONHandle() { - z.EncJSONMarshal(yy94) + } else if z.HasExtensions() && z.EncExt(yy13) { + } else if yym14 { + z.EncBinaryMarshal(yy13) + } else if !yym14 && z.IsJSONHandle() { + z.EncJSONMarshal(yy13) } else { - z.EncFallback(yy94) + z.EncFallback(yy13) } } else { r.EncodeNil() } } else { - if yyq85[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastUpdateTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy96 := &x.LastUpdateTime - yym97 := z.EncBinary() - _ = yym97 + yy15 := &x.LastUpdateTime + yym16 := z.EncBinary() + _ = yym16 if false { - } else if z.HasExtensions() && z.EncExt(yy96) { - } else if yym97 { - z.EncBinaryMarshal(yy96) - } else if !yym97 && z.IsJSONHandle() { - z.EncJSONMarshal(yy96) + } else if z.HasExtensions() && z.EncExt(yy15) { + } else if yym16 { + z.EncBinaryMarshal(yy15) + } else if !yym16 && z.IsJSONHandle() { + z.EncJSONMarshal(yy15) } else { - z.EncFallback(yy96) + z.EncFallback(yy15) } } } - if yyr85 || yy2arr85 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1185,25 +1301,25 @@ func (x *CertificateSigningRequestCondition) CodecDecodeSelf(d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym98 := z.DecBinary() - _ = yym98 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct99 := r.ContainerType() - if yyct99 == codecSelferValueTypeMap1234 { - yyl99 := r.ReadMapStart() - if yyl99 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl99, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct99 == codecSelferValueTypeArray1234 { - yyl99 := r.ReadArrayStart() - if yyl99 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl99, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1215,12 +1331,12 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromMap(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys100Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys100Slc - var yyhl100 bool = l >= 0 - for yyj100 := 0; ; yyj100++ { - if yyhl100 { - if yyj100 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1229,49 +1345,62 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromMap(l int, d *co } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys100Slc = r.DecodeBytes(yys100Slc, true, true) - yys100 := string(yys100Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys100 { + switch yys3 { case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = RequestConditionType(r.DecodeString()) + yyv4 := &x.Type + yyv4.CodecDecodeSelf(d) } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv5 := &x.Reason + yym6 := z.DecBinary() + _ = yym6 + if false { + } else { + *((*string)(yyv5)) = r.DecodeString() + } } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv7 := &x.Message + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*string)(yyv7)) = r.DecodeString() + } } case "lastUpdateTime": if r.TryDecodeAsNil() { x.LastUpdateTime = pkg1_v1.Time{} } else { - yyv104 := &x.LastUpdateTime - yym105 := z.DecBinary() - _ = yym105 + yyv9 := &x.LastUpdateTime + yym10 := z.DecBinary() + _ = yym10 if false { - } else if z.HasExtensions() && z.DecExt(yyv104) { - } else if yym105 { - z.DecBinaryUnmarshal(yyv104) - } else if !yym105 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv104) + } else if z.HasExtensions() && z.DecExt(yyv9) { + } else if yym10 { + z.DecBinaryUnmarshal(yyv9) + } else if !yym10 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv9) } else { - z.DecFallback(yyv104, false) + z.DecFallback(yyv9, false) } } default: - z.DecStructFieldNotFound(-1, yys100) - } // end switch yys100 - } // end for yyj100 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1279,16 +1408,16 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj106 int - var yyb106 bool - var yyhl106 bool = l >= 0 - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb106 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb106 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1296,15 +1425,16 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = RequestConditionType(r.DecodeString()) + yyv12 := &x.Type + yyv12.CodecDecodeSelf(d) } - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb106 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb106 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1312,15 +1442,21 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv13 := &x.Reason + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb106 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb106 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1328,15 +1464,21 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv15 := &x.Message + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb106 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb106 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1344,31 +1486,31 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.LastUpdateTime = pkg1_v1.Time{} } else { - yyv110 := &x.LastUpdateTime - yym111 := z.DecBinary() - _ = yym111 + yyv17 := &x.LastUpdateTime + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv110) { - } else if yym111 { - z.DecBinaryUnmarshal(yyv110) - } else if !yym111 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv110) + } else if z.HasExtensions() && z.DecExt(yyv17) { + } else if yym18 { + z.DecBinaryUnmarshal(yyv17) + } else if !yym18 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv17) } else { - z.DecFallback(yyv110, false) + z.DecFallback(yyv17, false) } } for { - yyj106++ - if yyhl106 { - yyb106 = yyj106 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb106 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb106 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj106-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1380,37 +1522,37 @@ func (x *CertificateSigningRequestList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym112 := z.EncBinary() - _ = yym112 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep113 := !z.EncBinary() - yy2arr113 := z.EncBasicHandle().StructToArray - var yyq113 [4]bool - _, _, _ = yysep113, yyq113, yy2arr113 - const yyr113 bool = false - yyq113[0] = x.Kind != "" - yyq113[1] = x.APIVersion != "" - yyq113[2] = true - var yynn113 int - if yyr113 || yy2arr113 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn113 = 1 - for _, b := range yyq113 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn113++ + yynn2++ } } - r.EncodeMapStart(yynn113) - yynn113 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr113 || yy2arr113 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq113[0] { - yym115 := z.EncBinary() - _ = yym115 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1419,23 +1561,23 @@ func (x *CertificateSigningRequestList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq113[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym116 := z.EncBinary() - _ = yym116 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr113 || yy2arr113 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq113[1] { - yym118 := z.EncBinary() - _ = yym118 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1444,54 +1586,54 @@ func (x *CertificateSigningRequestList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq113[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym119 := z.EncBinary() - _ = yym119 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr113 || yy2arr113 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq113[2] { - yy121 := &x.ListMeta - yym122 := z.EncBinary() - _ = yym122 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy121) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy121) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq113[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy123 := &x.ListMeta - yym124 := z.EncBinary() - _ = yym124 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy123) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy123) + z.EncFallback(yy12) } } } - if yyr113 || yy2arr113 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym126 := z.EncBinary() - _ = yym126 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceCertificateSigningRequest(([]CertificateSigningRequest)(x.Items), e) @@ -1504,15 +1646,15 @@ func (x *CertificateSigningRequestList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym127 := z.EncBinary() - _ = yym127 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceCertificateSigningRequest(([]CertificateSigningRequest)(x.Items), e) } } } - if yyr113 || yy2arr113 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1525,25 +1667,25 @@ func (x *CertificateSigningRequestList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym128 := z.DecBinary() - _ = yym128 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct129 := r.ContainerType() - if yyct129 == codecSelferValueTypeMap1234 { - yyl129 := r.ReadMapStart() - if yyl129 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl129, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct129 == codecSelferValueTypeArray1234 { - yyl129 := r.ReadArrayStart() - if yyl129 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl129, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1555,12 +1697,12 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys130Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys130Slc - var yyhl130 bool = l >= 0 - for yyj130 := 0; ; yyj130++ { - if yyhl130 { - if yyj130 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1569,51 +1711,63 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys130Slc = r.DecodeBytes(yys130Slc, true, true) - yys130 := string(yys130Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys130 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv133 := &x.ListMeta - yym134 := z.DecBinary() - _ = yym134 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv133) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv133, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv135 := &x.Items - yym136 := z.DecBinary() - _ = yym136 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceCertificateSigningRequest((*[]CertificateSigningRequest)(yyv135), d) + h.decSliceCertificateSigningRequest((*[]CertificateSigningRequest)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys130) - } // end switch yys130 - } // end for yyj130 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1621,16 +1775,16 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj137 int - var yyb137 bool - var yyhl137 bool = l >= 0 - yyj137++ - if yyhl137 { - yyb137 = yyj137 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb137 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb137 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1638,15 +1792,21 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj137++ - if yyhl137 { - yyb137 = yyj137 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb137 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb137 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1654,15 +1814,21 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj137++ - if yyhl137 { - yyb137 = yyj137 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb137 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb137 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1670,22 +1836,22 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv140 := &x.ListMeta - yym141 := z.DecBinary() - _ = yym141 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv140) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv140, false) + z.DecFallback(yyv17, false) } } - yyj137++ - if yyhl137 { - yyb137 = yyj137 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb137 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb137 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1693,39 +1859,178 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv142 := &x.Items - yym143 := z.DecBinary() - _ = yym143 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceCertificateSigningRequest((*[]CertificateSigningRequest)(yyv142), d) + h.decSliceCertificateSigningRequest((*[]CertificateSigningRequest)(yyv19), d) } } for { - yyj137++ - if yyhl137 { - yyb137 = yyj137 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb137 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb137 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj137-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x KeyUsage) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym1 := z.EncBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *KeyUsage) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1 := z.DecBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x codecSelfer1234) encSliceKeyUsage(v []KeyUsage, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yyv1.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceKeyUsage(v *[]KeyUsage, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []KeyUsage{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true + } + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { + + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] + } else { + yyv1 = make([]KeyUsage, yyrl1) + } + } else { + yyv1 = make([]KeyUsage, yyrl1) + } + yyc1 = true + yyrr1 = len(yyv1) + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true + } + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) + if r.TryDecodeAsNil() { + yyv1[yyj1] = "" + } else { + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) + } + + } + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, "") + yyh1.ElemContainerState(yyj1) + if r.TryDecodeAsNil() { + yyv1[yyj1] = "" + } else { + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { + + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, "") // var yyz1 KeyUsage + yyc1 = true + } + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { + if r.TryDecodeAsNil() { + yyv1[yyj1] = "" + } else { + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []KeyUsage{} + yyc1 = true + } + } + yyh1.End() + if yyc1 { + *v = yyv1 + } +} + func (x codecSelfer1234) encSliceCertificateSigningRequestCondition(v []CertificateSigningRequestCondition, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv144 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy145 := &yyv144 - yy145.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1735,83 +2040,86 @@ func (x codecSelfer1234) decSliceCertificateSigningRequestCondition(v *[]Certifi z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv146 := *v - yyh146, yyl146 := z.DecSliceHelperStart() - var yyc146 bool - if yyl146 == 0 { - if yyv146 == nil { - yyv146 = []CertificateSigningRequestCondition{} - yyc146 = true - } else if len(yyv146) != 0 { - yyv146 = yyv146[:0] - yyc146 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []CertificateSigningRequestCondition{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl146 > 0 { - var yyrr146, yyrl146 int - var yyrt146 bool - if yyl146 > cap(yyv146) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg146 := len(yyv146) > 0 - yyv2146 := yyv146 - yyrl146, yyrt146 = z.DecInferLen(yyl146, z.DecBasicHandle().MaxInitLen, 72) - if yyrt146 { - if yyrl146 <= cap(yyv146) { - yyv146 = yyv146[:yyrl146] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv146 = make([]CertificateSigningRequestCondition, yyrl146) + yyv1 = make([]CertificateSigningRequestCondition, yyrl1) } } else { - yyv146 = make([]CertificateSigningRequestCondition, yyrl146) + yyv1 = make([]CertificateSigningRequestCondition, yyrl1) } - yyc146 = true - yyrr146 = len(yyv146) - if yyrg146 { - copy(yyv146, yyv2146) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl146 != len(yyv146) { - yyv146 = yyv146[:yyl146] - yyc146 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj146 := 0 - for ; yyj146 < yyrr146; yyj146++ { - yyh146.ElemContainerState(yyj146) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv146[yyj146] = CertificateSigningRequestCondition{} + yyv1[yyj1] = CertificateSigningRequestCondition{} } else { - yyv147 := &yyv146[yyj146] - yyv147.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt146 { - for ; yyj146 < yyl146; yyj146++ { - yyv146 = append(yyv146, CertificateSigningRequestCondition{}) - yyh146.ElemContainerState(yyj146) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, CertificateSigningRequestCondition{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv146[yyj146] = CertificateSigningRequestCondition{} + yyv1[yyj1] = CertificateSigningRequestCondition{} } else { - yyv148 := &yyv146[yyj146] - yyv148.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj146 := 0 - for ; !r.CheckBreak(); yyj146++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj146 >= len(yyv146) { - yyv146 = append(yyv146, CertificateSigningRequestCondition{}) // var yyz146 CertificateSigningRequestCondition - yyc146 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, CertificateSigningRequestCondition{}) // var yyz1 CertificateSigningRequestCondition + yyc1 = true } - yyh146.ElemContainerState(yyj146) - if yyj146 < len(yyv146) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv146[yyj146] = CertificateSigningRequestCondition{} + yyv1[yyj1] = CertificateSigningRequestCondition{} } else { - yyv149 := &yyv146[yyj146] - yyv149.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -1819,17 +2127,17 @@ func (x codecSelfer1234) decSliceCertificateSigningRequestCondition(v *[]Certifi } } - if yyj146 < len(yyv146) { - yyv146 = yyv146[:yyj146] - yyc146 = true - } else if yyj146 == 0 && yyv146 == nil { - yyv146 = []CertificateSigningRequestCondition{} - yyc146 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []CertificateSigningRequestCondition{} + yyc1 = true } } - yyh146.End() - if yyc146 { - *v = yyv146 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -1838,10 +2146,10 @@ func (x codecSelfer1234) encSliceCertificateSigningRequest(v []CertificateSignin z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv150 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy151 := &yyv150 - yy151.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1851,83 +2159,86 @@ func (x codecSelfer1234) decSliceCertificateSigningRequest(v *[]CertificateSigni z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv152 := *v - yyh152, yyl152 := z.DecSliceHelperStart() - var yyc152 bool - if yyl152 == 0 { - if yyv152 == nil { - yyv152 = []CertificateSigningRequest{} - yyc152 = true - } else if len(yyv152) != 0 { - yyv152 = yyv152[:0] - yyc152 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []CertificateSigningRequest{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl152 > 0 { - var yyrr152, yyrl152 int - var yyrt152 bool - if yyl152 > cap(yyv152) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg152 := len(yyv152) > 0 - yyv2152 := yyv152 - yyrl152, yyrt152 = z.DecInferLen(yyl152, z.DecBasicHandle().MaxInitLen, 384) - if yyrt152 { - if yyrl152 <= cap(yyv152) { - yyv152 = yyv152[:yyrl152] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 408) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv152 = make([]CertificateSigningRequest, yyrl152) + yyv1 = make([]CertificateSigningRequest, yyrl1) } } else { - yyv152 = make([]CertificateSigningRequest, yyrl152) + yyv1 = make([]CertificateSigningRequest, yyrl1) } - yyc152 = true - yyrr152 = len(yyv152) - if yyrg152 { - copy(yyv152, yyv2152) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl152 != len(yyv152) { - yyv152 = yyv152[:yyl152] - yyc152 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj152 := 0 - for ; yyj152 < yyrr152; yyj152++ { - yyh152.ElemContainerState(yyj152) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv152[yyj152] = CertificateSigningRequest{} + yyv1[yyj1] = CertificateSigningRequest{} } else { - yyv153 := &yyv152[yyj152] - yyv153.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt152 { - for ; yyj152 < yyl152; yyj152++ { - yyv152 = append(yyv152, CertificateSigningRequest{}) - yyh152.ElemContainerState(yyj152) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, CertificateSigningRequest{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv152[yyj152] = CertificateSigningRequest{} + yyv1[yyj1] = CertificateSigningRequest{} } else { - yyv154 := &yyv152[yyj152] - yyv154.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj152 := 0 - for ; !r.CheckBreak(); yyj152++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj152 >= len(yyv152) { - yyv152 = append(yyv152, CertificateSigningRequest{}) // var yyz152 CertificateSigningRequest - yyc152 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, CertificateSigningRequest{}) // var yyz1 CertificateSigningRequest + yyc1 = true } - yyh152.ElemContainerState(yyj152) - if yyj152 < len(yyv152) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv152[yyj152] = CertificateSigningRequest{} + yyv1[yyj1] = CertificateSigningRequest{} } else { - yyv155 := &yyv152[yyj152] - yyv155.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -1935,16 +2246,16 @@ func (x codecSelfer1234) decSliceCertificateSigningRequest(v *[]CertificateSigni } } - if yyj152 < len(yyv152) { - yyv152 = yyv152[:yyj152] - yyc152 = true - } else if yyj152 == 0 && yyv152 == nil { - yyv152 = []CertificateSigningRequest{} - yyc152 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []CertificateSigningRequest{} + yyc1 = true } } - yyh152.End() - if yyc152 { - *v = yyv152 + yyh1.End() + if yyc1 { + *v = yyv1 } } diff --git a/pkg/apis/certificates/v1alpha1/types.go b/pkg/apis/certificates/v1alpha1/types.go index 12cab362..c6f61b10 100644 --- a/pkg/apis/certificates/v1alpha1/types.go +++ b/pkg/apis/certificates/v1alpha1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1alpha1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // +genclient=true @@ -46,6 +46,12 @@ type CertificateSigningRequestSpec struct { // Base64-encoded PKCS#10 CSR data Request []byte `json:"request" protobuf:"bytes,1,opt,name=request"` + // allowedUsages specifies a set of usage contexts the key will be + // valid for. + // See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 + // https://tools.ietf.org/html/rfc5280#section-4.2.1.12 + Usages []KeyUsage `json:"usages,omitempty" protobuf:"bytes,5,opt,name=keyUsage"` + // Information about the requesting user (if relevant) // See user.Info interface for details // +optional @@ -95,3 +101,34 @@ type CertificateSigningRequestList struct { Items []CertificateSigningRequest `json:"items" protobuf:"bytes,2,rep,name=items"` } + +// KeyUsages specifies valid usage contexts for keys. +// See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 +// https://tools.ietf.org/html/rfc5280#section-4.2.1.12 +type KeyUsage string + +const ( + UsageSigning KeyUsage = "signing" + UsageDigitalSignature KeyUsage = "digital signature" + UsageContentCommittment KeyUsage = "content committment" + UsageKeyEncipherment KeyUsage = "key encipherment" + UsageKeyAgreement KeyUsage = "key agreement" + UsageDataEncipherment KeyUsage = "data encipherment" + UsageCertSign KeyUsage = "cert sign" + UsageCRLSign KeyUsage = "crl sign" + UsageEncipherOnly KeyUsage = "encipher only" + UsageDecipherOnly KeyUsage = "decipher only" + UsageAny KeyUsage = "any" + UsageServerAuth KeyUsage = "server auth" + UsageClientAuth KeyUsage = "client auth" + UsageCodeSigning KeyUsage = "code signing" + UsageEmailProtection KeyUsage = "email protection" + UsageSMIME KeyUsage = "s/mime" + UsageIPsecEndSystem KeyUsage = "ipsec end system" + UsageIPsecTunnel KeyUsage = "ipsec tunnel" + UsageIPsecUser KeyUsage = "ipsec user" + UsageTimestamping KeyUsage = "timestamping" + UsageOCSPSigning KeyUsage = "ocsp signing" + UsageMicrosoftSGC KeyUsage = "microsoft sgc" + UsageNetscapSGC KeyUsage = "netscape sgc" +) diff --git a/pkg/apis/certificates/v1alpha1/types_swagger_doc_generated.go b/pkg/apis/certificates/v1alpha1/types_swagger_doc_generated.go index cf66d074..26a9dceb 100644 --- a/pkg/apis/certificates/v1alpha1/types_swagger_doc_generated.go +++ b/pkg/apis/certificates/v1alpha1/types_swagger_doc_generated.go @@ -51,6 +51,7 @@ func (CertificateSigningRequestCondition) SwaggerDoc() map[string]string { var map_CertificateSigningRequestSpec = map[string]string{ "": "This information is immutable after the request is created. Only the Request and ExtraInfo fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.", "request": "Base64-encoded PKCS#10 CSR data", + "usages": "allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3\n https://tools.ietf.org/html/rfc5280#section-4.2.1.12", "username": "Information about the requesting user (if relevant) See user.Info interface for details", } diff --git a/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go b/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go index 8e45ea13..e70734b7 100644 --- a/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package v1alpha1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" certificates "k8s.io/client-go/pkg/apis/certificates" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" unsafe "unsafe" ) @@ -130,6 +130,7 @@ func Convert_certificates_CertificateSigningRequestList_To_v1alpha1_CertificateS func autoConvert_v1alpha1_CertificateSigningRequestSpec_To_certificates_CertificateSigningRequestSpec(in *CertificateSigningRequestSpec, out *certificates.CertificateSigningRequestSpec, s conversion.Scope) error { out.Request = *(*[]byte)(unsafe.Pointer(&in.Request)) + out.Usages = *(*[]certificates.KeyUsage)(unsafe.Pointer(&in.Usages)) out.Username = in.Username out.UID = in.UID out.Groups = *(*[]string)(unsafe.Pointer(&in.Groups)) @@ -142,6 +143,7 @@ func Convert_v1alpha1_CertificateSigningRequestSpec_To_certificates_CertificateS func autoConvert_certificates_CertificateSigningRequestSpec_To_v1alpha1_CertificateSigningRequestSpec(in *certificates.CertificateSigningRequestSpec, out *CertificateSigningRequestSpec, s conversion.Scope) error { out.Request = *(*[]byte)(unsafe.Pointer(&in.Request)) + out.Usages = *(*[]KeyUsage)(unsafe.Pointer(&in.Usages)) out.Username = in.Username out.UID = in.UID out.Groups = *(*[]string)(unsafe.Pointer(&in.Groups)) diff --git a/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go index f6991dff..c5386faa 100644 --- a/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package v1alpha1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -47,7 +47,7 @@ func DeepCopy_v1alpha1_CertificateSigningRequest(in interface{}, out interface{} { in := in.(*CertificateSigningRequest) out := out.(*CertificateSigningRequest) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -65,9 +65,7 @@ func DeepCopy_v1alpha1_CertificateSigningRequestCondition(in interface{}, out in { in := in.(*CertificateSigningRequestCondition) out := out.(*CertificateSigningRequestCondition) - out.Type = in.Type - out.Reason = in.Reason - out.Message = in.Message + *out = *in out.LastUpdateTime = in.LastUpdateTime.DeepCopy() return nil } @@ -77,8 +75,7 @@ func DeepCopy_v1alpha1_CertificateSigningRequestList(in interface{}, out interfa { in := in.(*CertificateSigningRequestList) out := out.(*CertificateSigningRequestList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]CertificateSigningRequest, len(*in)) @@ -87,8 +84,6 @@ func DeepCopy_v1alpha1_CertificateSigningRequestList(in interface{}, out interfa return err } } - } else { - out.Items = nil } return nil } @@ -98,21 +93,23 @@ func DeepCopy_v1alpha1_CertificateSigningRequestSpec(in interface{}, out interfa { in := in.(*CertificateSigningRequestSpec) out := out.(*CertificateSigningRequestSpec) + *out = *in if in.Request != nil { in, out := &in.Request, &out.Request *out = make([]byte, len(*in)) copy(*out, *in) - } else { - out.Request = nil } - out.Username = in.Username - out.UID = in.UID + if in.Usages != nil { + in, out := &in.Usages, &out.Usages + *out = make([]KeyUsage, len(*in)) + for i := range *in { + (*out)[i] = (*in)[i] + } + } if in.Groups != nil { in, out := &in.Groups, &out.Groups *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Groups = nil } return nil } @@ -122,6 +119,7 @@ func DeepCopy_v1alpha1_CertificateSigningRequestStatus(in interface{}, out inter { in := in.(*CertificateSigningRequestStatus) out := out.(*CertificateSigningRequestStatus) + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]CertificateSigningRequestCondition, len(*in)) @@ -130,15 +128,11 @@ func DeepCopy_v1alpha1_CertificateSigningRequestStatus(in interface{}, out inter return err } } - } else { - out.Conditions = nil } if in.Certificate != nil { in, out := &in.Certificate, &out.Certificate *out = make([]byte, len(*in)) copy(*out, *in) - } else { - out.Certificate = nil } return nil } diff --git a/pkg/apis/certificates/v1alpha1/zz_generated.defaults.go b/pkg/apis/certificates/v1alpha1/zz_generated.defaults.go new file mode 100644 index 00000000..7e6df29d --- /dev/null +++ b/pkg/apis/certificates/v1alpha1/zz_generated.defaults.go @@ -0,0 +1,32 @@ +// +build !ignore_autogenerated + +/* +Copyright 2017 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file was autogenerated by defaulter-gen. Do not edit it manually! + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// RegisterDefaults adds defaulters functions to the given scheme. +// Public to allow building arbitrary schemes. +// All generated defaulters are covering - they call all nested defaulters. +func RegisterDefaults(scheme *runtime.Scheme) error { + return nil +} diff --git a/pkg/apis/certificates/zz_generated.deepcopy.go b/pkg/apis/certificates/zz_generated.deepcopy.go index 6b4580c0..810f3160 100644 --- a/pkg/apis/certificates/zz_generated.deepcopy.go +++ b/pkg/apis/certificates/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package certificates import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -47,7 +47,7 @@ func DeepCopy_certificates_CertificateSigningRequest(in interface{}, out interfa { in := in.(*CertificateSigningRequest) out := out.(*CertificateSigningRequest) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -65,9 +65,7 @@ func DeepCopy_certificates_CertificateSigningRequestCondition(in interface{}, ou { in := in.(*CertificateSigningRequestCondition) out := out.(*CertificateSigningRequestCondition) - out.Type = in.Type - out.Reason = in.Reason - out.Message = in.Message + *out = *in out.LastUpdateTime = in.LastUpdateTime.DeepCopy() return nil } @@ -77,8 +75,7 @@ func DeepCopy_certificates_CertificateSigningRequestList(in interface{}, out int { in := in.(*CertificateSigningRequestList) out := out.(*CertificateSigningRequestList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]CertificateSigningRequest, len(*in)) @@ -87,8 +84,6 @@ func DeepCopy_certificates_CertificateSigningRequestList(in interface{}, out int return err } } - } else { - out.Items = nil } return nil } @@ -98,21 +93,23 @@ func DeepCopy_certificates_CertificateSigningRequestSpec(in interface{}, out int { in := in.(*CertificateSigningRequestSpec) out := out.(*CertificateSigningRequestSpec) + *out = *in if in.Request != nil { in, out := &in.Request, &out.Request *out = make([]byte, len(*in)) copy(*out, *in) - } else { - out.Request = nil } - out.Username = in.Username - out.UID = in.UID + if in.Usages != nil { + in, out := &in.Usages, &out.Usages + *out = make([]KeyUsage, len(*in)) + for i := range *in { + (*out)[i] = (*in)[i] + } + } if in.Groups != nil { in, out := &in.Groups, &out.Groups *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Groups = nil } return nil } @@ -122,6 +119,7 @@ func DeepCopy_certificates_CertificateSigningRequestStatus(in interface{}, out i { in := in.(*CertificateSigningRequestStatus) out := out.(*CertificateSigningRequestStatus) + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]CertificateSigningRequestCondition, len(*in)) @@ -130,15 +128,11 @@ func DeepCopy_certificates_CertificateSigningRequestStatus(in interface{}, out i return err } } - } else { - out.Conditions = nil } if in.Certificate != nil { in, out := &in.Certificate, &out.Certificate *out = make([]byte, len(*in)) copy(*out, *in) - } else { - out.Certificate = nil } return nil } diff --git a/pkg/apis/componentconfig/helpers.go b/pkg/apis/componentconfig/helpers.go index dbef6aa1..da3b3102 100644 --- a/pkg/apis/componentconfig/helpers.go +++ b/pkg/apis/componentconfig/helpers.go @@ -20,7 +20,7 @@ import ( "fmt" "net" - utilnet "k8s.io/client-go/pkg/util/net" + utilnet "k8s.io/apimachinery/pkg/util/net" ) // used for validating command line opts diff --git a/pkg/apis/componentconfig/register.go b/pkg/apis/componentconfig/register.go index ec88c87d..88f4c3b8 100644 --- a/pkg/apis/componentconfig/register.go +++ b/pkg/apis/componentconfig/register.go @@ -17,8 +17,8 @@ limitations under the License. package componentconfig import ( - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) var ( diff --git a/pkg/apis/componentconfig/types.go b/pkg/apis/componentconfig/types.go index 5f37ee3b..d33f1a50 100644 --- a/pkg/apis/componentconfig/types.go +++ b/pkg/apis/componentconfig/types.go @@ -17,8 +17,8 @@ limitations under the License. package componentconfig import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" utilconfig "k8s.io/client-go/pkg/util/config" ) @@ -379,9 +379,6 @@ type KubeletConfiguration struct { Containerized bool // maxOpenFiles is Number of files that can be opened by Kubelet process. MaxOpenFiles int64 - // reconcileCIDR is Reconcile node CIDR with the CIDR specified by the - // API server. Won't have any effect if register-node is false. - ReconcileCIDR bool // registerSchedulable tells the kubelet to register the node as // schedulable. Won't have any effect if register-node is false. // DEPRECATED: use registerWithTaints instead @@ -775,6 +772,13 @@ type KubeControllerManagerConfiguration struct { // Zone is treated as unhealthy in nodeEvictionRate and secondaryNodeEvictionRate when at least // unhealthyZoneThreshold (no less than 3) of Nodes in the zone are NotReady UnhealthyZoneThreshold float32 + // Reconciler runs a periodic loop to reconcile the desired state of the with + // the actual state of the world by triggering attach detach operations. + // This flag enables or disables reconcile. Is false by default, and thus enabled. + DisableAttachDetachReconcilerSync bool + // ReconcilerSyncLoopPeriod is the amount of time the reconciler sync states loop + // wait between successive executions. Is set to 5 sec by default. + ReconcilerSyncLoopPeriod metav1.Duration } // VolumeConfiguration contains *all* enumerated flags meant to configure all volume diff --git a/pkg/apis/componentconfig/v1alpha1/defaults.go b/pkg/apis/componentconfig/v1alpha1/defaults.go index d06f9a92..ba67bd7f 100644 --- a/pkg/apis/componentconfig/v1alpha1/defaults.go +++ b/pkg/apis/componentconfig/v1alpha1/defaults.go @@ -21,12 +21,12 @@ import ( "runtime" "time" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + kruntime "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" "k8s.io/client-go/pkg/kubelet/qos" kubetypes "k8s.io/client-go/pkg/kubelet/types" "k8s.io/client-go/pkg/master/ports" - kruntime "k8s.io/client-go/pkg/runtime" ) const ( @@ -351,9 +351,6 @@ func SetDefaults_KubeletConfiguration(obj *KubeletConfiguration) { if obj.SyncFrequency == zeroDuration { obj.SyncFrequency = metav1.Duration{Duration: 1 * time.Minute} } - if obj.ReconcileCIDR == nil { - obj.ReconcileCIDR = boolVar(true) - } if obj.ContentType == "" { obj.ContentType = "application/vnd.kubernetes.protobuf" } diff --git a/pkg/apis/componentconfig/v1alpha1/register.go b/pkg/apis/componentconfig/v1alpha1/register.go index 24a981bd..94f0f07c 100644 --- a/pkg/apis/componentconfig/v1alpha1/register.go +++ b/pkg/apis/componentconfig/v1alpha1/register.go @@ -17,8 +17,8 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) // GroupName is the group name use in this package diff --git a/pkg/apis/componentconfig/v1alpha1/types.go b/pkg/apis/componentconfig/v1alpha1/types.go index 988eedc4..2d3284d5 100644 --- a/pkg/apis/componentconfig/v1alpha1/types.go +++ b/pkg/apis/componentconfig/v1alpha1/types.go @@ -17,12 +17,12 @@ limitations under the License. package v1alpha1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) type KubeProxyConfiguration struct { - metav1.TypeMeta + metav1.TypeMeta `json:",inline"` // bindAddress is the IP address for the proxy server to serve on (set to 0.0.0.0 // for all interfaces) @@ -100,7 +100,7 @@ const ( ) type KubeSchedulerConfiguration struct { - metav1.TypeMeta + metav1.TypeMeta `json:",inline"` // port is the port that the scheduler's http service runs on. Port int `json:"port"` @@ -178,7 +178,7 @@ type LeaderElectionConfiguration struct { } type KubeletConfiguration struct { - metav1.TypeMeta + metav1.TypeMeta `json:",inline"` // podManifestPath is the path to the directory containing pod manifests to // run, or the path to a single manifest file @@ -428,9 +428,6 @@ type KubeletConfiguration struct { Containerized *bool `json:"containerized"` // maxOpenFiles is Number of files that can be opened by Kubelet process. MaxOpenFiles int64 `json:"maxOpenFiles"` - // reconcileCIDR is Reconcile node CIDR with the CIDR specified by the - // API server. Won't have any effect if register-node is false. - ReconcileCIDR *bool `json:"reconcileCIDR"` // registerSchedulable tells the kubelet to register the node as // schedulable. Won't have any effect if register-node is false. // DEPRECATED: use registerWithTaints instead @@ -523,7 +520,7 @@ type KubeletConfiguration struct { // This flag, if set, enables a check prior to mount operations to verify that the required components // (binaries, etc.) to mount the volume are available on the underlying node. If the check is enabled // and fails the mount operation fails. - ExperimentalCheckNodeCapabilitiesBeforeMount bool `json:"ExperimentalCheckNodeCapabilitiesBeforeMount,omitempty"` + ExperimentalCheckNodeCapabilitiesBeforeMount bool `json:"experimentalCheckNodeCapabilitiesBeforeMount,omitempty"` } type KubeletAuthorizationMode string diff --git a/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go b/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go index f210778d..791af63f 100644 --- a/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ limitations under the License. package v1alpha1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" componentconfig "k8s.io/client-go/pkg/apis/componentconfig" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" config "k8s.io/client-go/pkg/util/config" unsafe "unsafe" ) @@ -364,9 +364,6 @@ func autoConvert_v1alpha1_KubeletConfiguration_To_componentconfig_KubeletConfigu return err } out.MaxOpenFiles = in.MaxOpenFiles - if err := api.Convert_Pointer_bool_To_bool(&in.ReconcileCIDR, &out.ReconcileCIDR, s); err != nil { - return err - } if err := api.Convert_Pointer_bool_To_bool(&in.RegisterSchedulable, &out.RegisterSchedulable, s); err != nil { return err } @@ -538,9 +535,6 @@ func autoConvert_componentconfig_KubeletConfiguration_To_v1alpha1_KubeletConfigu return err } out.MaxOpenFiles = in.MaxOpenFiles - if err := api.Convert_bool_To_Pointer_bool(&in.ReconcileCIDR, &out.ReconcileCIDR, s); err != nil { - return err - } if err := api.Convert_bool_To_Pointer_bool(&in.RegisterSchedulable, &out.RegisterSchedulable, s); err != nil { return err } diff --git a/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go index 213b2ffa..29a83fbd 100644 --- a/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package v1alpha1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -52,40 +52,17 @@ func DeepCopy_v1alpha1_KubeProxyConfiguration(in interface{}, out interface{}, c { in := in.(*KubeProxyConfiguration) out := out.(*KubeProxyConfiguration) - out.TypeMeta = in.TypeMeta - out.BindAddress = in.BindAddress - out.ClusterCIDR = in.ClusterCIDR - out.HealthzBindAddress = in.HealthzBindAddress - out.HealthzPort = in.HealthzPort - out.HostnameOverride = in.HostnameOverride + *out = *in if in.IPTablesMasqueradeBit != nil { in, out := &in.IPTablesMasqueradeBit, &out.IPTablesMasqueradeBit *out = new(int32) **out = **in - } else { - out.IPTablesMasqueradeBit = nil } - out.IPTablesSyncPeriod = in.IPTablesSyncPeriod - out.IPTablesMinSyncPeriod = in.IPTablesMinSyncPeriod - out.KubeconfigPath = in.KubeconfigPath - out.MasqueradeAll = in.MasqueradeAll - out.Master = in.Master if in.OOMScoreAdj != nil { in, out := &in.OOMScoreAdj, &out.OOMScoreAdj *out = new(int32) **out = **in - } else { - out.OOMScoreAdj = nil } - out.Mode = in.Mode - out.PortRange = in.PortRange - out.ResourceContainer = in.ResourceContainer - out.UDPIdleTimeout = in.UDPIdleTimeout - out.ConntrackMax = in.ConntrackMax - out.ConntrackMaxPerCore = in.ConntrackMaxPerCore - out.ConntrackMin = in.ConntrackMin - out.ConntrackTCPEstablishedTimeout = in.ConntrackTCPEstablishedTimeout - out.ConntrackTCPCloseWaitTimeout = in.ConntrackTCPCloseWaitTimeout return nil } } @@ -94,25 +71,12 @@ func DeepCopy_v1alpha1_KubeSchedulerConfiguration(in interface{}, out interface{ { in := in.(*KubeSchedulerConfiguration) out := out.(*KubeSchedulerConfiguration) - out.TypeMeta = in.TypeMeta - out.Port = in.Port - out.Address = in.Address - out.AlgorithmProvider = in.AlgorithmProvider - out.PolicyConfigFile = in.PolicyConfigFile + *out = *in if in.EnableProfiling != nil { in, out := &in.EnableProfiling, &out.EnableProfiling *out = new(bool) **out = **in - } else { - out.EnableProfiling = nil } - out.EnableContentionProfiling = in.EnableContentionProfiling - out.ContentType = in.ContentType - out.KubeAPIQPS = in.KubeAPIQPS - out.KubeAPIBurst = in.KubeAPIBurst - out.SchedulerName = in.SchedulerName - out.HardPodAffinitySymmetricWeight = in.HardPodAffinitySymmetricWeight - out.FailureDomains = in.FailureDomains if err := DeepCopy_v1alpha1_LeaderElectionConfiguration(&in.LeaderElection, &out.LeaderElection, c); err != nil { return err } @@ -124,12 +88,11 @@ func DeepCopy_v1alpha1_KubeletAnonymousAuthentication(in interface{}, out interf { in := in.(*KubeletAnonymousAuthentication) out := out.(*KubeletAnonymousAuthentication) + *out = *in if in.Enabled != nil { in, out := &in.Enabled, &out.Enabled *out = new(bool) **out = **in - } else { - out.Enabled = nil } return nil } @@ -139,7 +102,7 @@ func DeepCopy_v1alpha1_KubeletAuthentication(in interface{}, out interface{}, c { in := in.(*KubeletAuthentication) out := out.(*KubeletAuthentication) - out.X509 = in.X509 + *out = *in if err := DeepCopy_v1alpha1_KubeletWebhookAuthentication(&in.Webhook, &out.Webhook, c); err != nil { return err } @@ -154,8 +117,7 @@ func DeepCopy_v1alpha1_KubeletAuthorization(in interface{}, out interface{}, c * { in := in.(*KubeletAuthorization) out := out.(*KubeletAuthorization) - out.Mode = in.Mode - out.Webhook = in.Webhook + *out = *in return nil } } @@ -164,206 +126,99 @@ func DeepCopy_v1alpha1_KubeletConfiguration(in interface{}, out interface{}, c * { in := in.(*KubeletConfiguration) out := out.(*KubeletConfiguration) - out.TypeMeta = in.TypeMeta - out.PodManifestPath = in.PodManifestPath - out.SyncFrequency = in.SyncFrequency - out.FileCheckFrequency = in.FileCheckFrequency - out.HTTPCheckFrequency = in.HTTPCheckFrequency - out.ManifestURL = in.ManifestURL - out.ManifestURLHeader = in.ManifestURLHeader + *out = *in if in.EnableServer != nil { in, out := &in.EnableServer, &out.EnableServer *out = new(bool) **out = **in - } else { - out.EnableServer = nil } - out.Address = in.Address - out.Port = in.Port - out.ReadOnlyPort = in.ReadOnlyPort - out.TLSCertFile = in.TLSCertFile - out.TLSPrivateKeyFile = in.TLSPrivateKeyFile - out.CertDirectory = in.CertDirectory if err := DeepCopy_v1alpha1_KubeletAuthentication(&in.Authentication, &out.Authentication, c); err != nil { return err } - out.Authorization = in.Authorization - out.HostnameOverride = in.HostnameOverride - out.PodInfraContainerImage = in.PodInfraContainerImage - out.DockerEndpoint = in.DockerEndpoint - out.RootDirectory = in.RootDirectory - out.SeccompProfileRoot = in.SeccompProfileRoot if in.AllowPrivileged != nil { in, out := &in.AllowPrivileged, &out.AllowPrivileged *out = new(bool) **out = **in - } else { - out.AllowPrivileged = nil } if in.HostNetworkSources != nil { in, out := &in.HostNetworkSources, &out.HostNetworkSources *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.HostNetworkSources = nil } if in.HostPIDSources != nil { in, out := &in.HostPIDSources, &out.HostPIDSources *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.HostPIDSources = nil } if in.HostIPCSources != nil { in, out := &in.HostIPCSources, &out.HostIPCSources *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.HostIPCSources = nil } if in.RegistryPullQPS != nil { in, out := &in.RegistryPullQPS, &out.RegistryPullQPS *out = new(int32) **out = **in - } else { - out.RegistryPullQPS = nil } - out.RegistryBurst = in.RegistryBurst if in.EventRecordQPS != nil { in, out := &in.EventRecordQPS, &out.EventRecordQPS *out = new(int32) **out = **in - } else { - out.EventRecordQPS = nil } - out.EventBurst = in.EventBurst if in.EnableDebuggingHandlers != nil { in, out := &in.EnableDebuggingHandlers, &out.EnableDebuggingHandlers *out = new(bool) **out = **in - } else { - out.EnableDebuggingHandlers = nil } - out.MinimumGCAge = in.MinimumGCAge - out.MaxPerPodContainerCount = in.MaxPerPodContainerCount if in.MaxContainerCount != nil { in, out := &in.MaxContainerCount, &out.MaxContainerCount *out = new(int32) **out = **in - } else { - out.MaxContainerCount = nil } - out.CAdvisorPort = in.CAdvisorPort - out.HealthzPort = in.HealthzPort - out.HealthzBindAddress = in.HealthzBindAddress if in.OOMScoreAdj != nil { in, out := &in.OOMScoreAdj, &out.OOMScoreAdj *out = new(int32) **out = **in - } else { - out.OOMScoreAdj = nil } if in.RegisterNode != nil { in, out := &in.RegisterNode, &out.RegisterNode *out = new(bool) **out = **in - } else { - out.RegisterNode = nil } - out.ClusterDomain = in.ClusterDomain - out.MasterServiceNamespace = in.MasterServiceNamespace - out.ClusterDNS = in.ClusterDNS - out.StreamingConnectionIdleTimeout = in.StreamingConnectionIdleTimeout - out.NodeStatusUpdateFrequency = in.NodeStatusUpdateFrequency - out.ImageMinimumGCAge = in.ImageMinimumGCAge if in.ImageGCHighThresholdPercent != nil { in, out := &in.ImageGCHighThresholdPercent, &out.ImageGCHighThresholdPercent *out = new(int32) **out = **in - } else { - out.ImageGCHighThresholdPercent = nil } if in.ImageGCLowThresholdPercent != nil { in, out := &in.ImageGCLowThresholdPercent, &out.ImageGCLowThresholdPercent *out = new(int32) **out = **in - } else { - out.ImageGCLowThresholdPercent = nil } - out.LowDiskSpaceThresholdMB = in.LowDiskSpaceThresholdMB - out.VolumeStatsAggPeriod = in.VolumeStatsAggPeriod - out.NetworkPluginName = in.NetworkPluginName - out.NetworkPluginDir = in.NetworkPluginDir - out.CNIConfDir = in.CNIConfDir - out.CNIBinDir = in.CNIBinDir - out.NetworkPluginMTU = in.NetworkPluginMTU - out.VolumePluginDir = in.VolumePluginDir - out.CloudProvider = in.CloudProvider - out.CloudConfigFile = in.CloudConfigFile - out.KubeletCgroups = in.KubeletCgroups - out.RuntimeCgroups = in.RuntimeCgroups - out.SystemCgroups = in.SystemCgroups - out.CgroupRoot = in.CgroupRoot if in.ExperimentalCgroupsPerQOS != nil { in, out := &in.ExperimentalCgroupsPerQOS, &out.ExperimentalCgroupsPerQOS *out = new(bool) **out = **in - } else { - out.ExperimentalCgroupsPerQOS = nil } - out.CgroupDriver = in.CgroupDriver - out.ContainerRuntime = in.ContainerRuntime - out.RemoteRuntimeEndpoint = in.RemoteRuntimeEndpoint - out.RemoteImageEndpoint = in.RemoteImageEndpoint - out.RuntimeRequestTimeout = in.RuntimeRequestTimeout - out.ImagePullProgressDeadline = in.ImagePullProgressDeadline - out.RktPath = in.RktPath - out.ExperimentalMounterPath = in.ExperimentalMounterPath - out.RktAPIEndpoint = in.RktAPIEndpoint - out.RktStage1Image = in.RktStage1Image if in.LockFilePath != nil { in, out := &in.LockFilePath, &out.LockFilePath *out = new(string) **out = **in - } else { - out.LockFilePath = nil } - out.ExitOnLockContention = in.ExitOnLockContention - out.HairpinMode = in.HairpinMode - out.BabysitDaemons = in.BabysitDaemons - out.MaxPods = in.MaxPods - out.NvidiaGPUs = in.NvidiaGPUs - out.DockerExecHandlerName = in.DockerExecHandlerName - out.PodCIDR = in.PodCIDR - out.ResolverConfig = in.ResolverConfig if in.CPUCFSQuota != nil { in, out := &in.CPUCFSQuota, &out.CPUCFSQuota *out = new(bool) **out = **in - } else { - out.CPUCFSQuota = nil } if in.Containerized != nil { in, out := &in.Containerized, &out.Containerized *out = new(bool) **out = **in - } else { - out.Containerized = nil - } - out.MaxOpenFiles = in.MaxOpenFiles - if in.ReconcileCIDR != nil { - in, out := &in.ReconcileCIDR, &out.ReconcileCIDR - *out = new(bool) - **out = **in - } else { - out.ReconcileCIDR = nil } if in.RegisterSchedulable != nil { in, out := &in.RegisterSchedulable, &out.RegisterSchedulable *out = new(bool) **out = **in - } else { - out.RegisterSchedulable = nil } if in.RegisterWithTaints != nil { in, out := &in.RegisterWithTaints, &out.RegisterWithTaints @@ -371,64 +226,38 @@ func DeepCopy_v1alpha1_KubeletConfiguration(in interface{}, out interface{}, c * for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.RegisterWithTaints = nil } - out.ContentType = in.ContentType if in.KubeAPIQPS != nil { in, out := &in.KubeAPIQPS, &out.KubeAPIQPS *out = new(int32) **out = **in - } else { - out.KubeAPIQPS = nil } - out.KubeAPIBurst = in.KubeAPIBurst if in.SerializeImagePulls != nil { in, out := &in.SerializeImagePulls, &out.SerializeImagePulls *out = new(bool) **out = **in - } else { - out.SerializeImagePulls = nil } - out.OutOfDiskTransitionFrequency = in.OutOfDiskTransitionFrequency - out.NodeIP = in.NodeIP if in.NodeLabels != nil { in, out := &in.NodeLabels, &out.NodeLabels *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } - } else { - out.NodeLabels = nil } - out.NonMasqueradeCIDR = in.NonMasqueradeCIDR - out.EnableCustomMetrics = in.EnableCustomMetrics if in.EvictionHard != nil { in, out := &in.EvictionHard, &out.EvictionHard *out = new(string) **out = **in - } else { - out.EvictionHard = nil } - out.EvictionSoft = in.EvictionSoft - out.EvictionSoftGracePeriod = in.EvictionSoftGracePeriod - out.EvictionPressureTransitionPeriod = in.EvictionPressureTransitionPeriod - out.EvictionMaxPodGracePeriod = in.EvictionMaxPodGracePeriod - out.EvictionMinimumReclaim = in.EvictionMinimumReclaim if in.ExperimentalKernelMemcgNotification != nil { in, out := &in.ExperimentalKernelMemcgNotification, &out.ExperimentalKernelMemcgNotification *out = new(bool) **out = **in - } else { - out.ExperimentalKernelMemcgNotification = nil } - out.PodsPerCore = in.PodsPerCore if in.EnableControllerAttachDetach != nil { in, out := &in.EnableControllerAttachDetach, &out.EnableControllerAttachDetach *out = new(bool) **out = **in - } else { - out.EnableControllerAttachDetach = nil } if in.SystemReserved != nil { in, out := &in.SystemReserved, &out.SystemReserved @@ -436,8 +265,6 @@ func DeepCopy_v1alpha1_KubeletConfiguration(in interface{}, out interface{}, c * for key, val := range *in { (*out)[key] = val } - } else { - out.SystemReserved = nil } if in.KubeReserved != nil { in, out := &in.KubeReserved, &out.KubeReserved @@ -445,42 +272,27 @@ func DeepCopy_v1alpha1_KubeletConfiguration(in interface{}, out interface{}, c * for key, val := range *in { (*out)[key] = val } - } else { - out.KubeReserved = nil } - out.ProtectKernelDefaults = in.ProtectKernelDefaults if in.MakeIPTablesUtilChains != nil { in, out := &in.MakeIPTablesUtilChains, &out.MakeIPTablesUtilChains *out = new(bool) **out = **in - } else { - out.MakeIPTablesUtilChains = nil } if in.IPTablesMasqueradeBit != nil { in, out := &in.IPTablesMasqueradeBit, &out.IPTablesMasqueradeBit *out = new(int32) **out = **in - } else { - out.IPTablesMasqueradeBit = nil } if in.IPTablesDropBit != nil { in, out := &in.IPTablesDropBit, &out.IPTablesDropBit *out = new(int32) **out = **in - } else { - out.IPTablesDropBit = nil } if in.AllowedUnsafeSysctls != nil { in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.AllowedUnsafeSysctls = nil } - out.FeatureGates = in.FeatureGates - out.EnableCRI = in.EnableCRI - out.ExperimentalFailSwapOn = in.ExperimentalFailSwapOn - out.ExperimentalCheckNodeCapabilitiesBeforeMount = in.ExperimentalCheckNodeCapabilitiesBeforeMount return nil } } @@ -489,14 +301,12 @@ func DeepCopy_v1alpha1_KubeletWebhookAuthentication(in interface{}, out interfac { in := in.(*KubeletWebhookAuthentication) out := out.(*KubeletWebhookAuthentication) + *out = *in if in.Enabled != nil { in, out := &in.Enabled, &out.Enabled *out = new(bool) **out = **in - } else { - out.Enabled = nil } - out.CacheTTL = in.CacheTTL return nil } } @@ -505,8 +315,7 @@ func DeepCopy_v1alpha1_KubeletWebhookAuthorization(in interface{}, out interface { in := in.(*KubeletWebhookAuthorization) out := out.(*KubeletWebhookAuthorization) - out.CacheAuthorizedTTL = in.CacheAuthorizedTTL - out.CacheUnauthorizedTTL = in.CacheUnauthorizedTTL + *out = *in return nil } } @@ -515,7 +324,7 @@ func DeepCopy_v1alpha1_KubeletX509Authentication(in interface{}, out interface{} { in := in.(*KubeletX509Authentication) out := out.(*KubeletX509Authentication) - out.ClientCAFile = in.ClientCAFile + *out = *in return nil } } @@ -524,16 +333,12 @@ func DeepCopy_v1alpha1_LeaderElectionConfiguration(in interface{}, out interface { in := in.(*LeaderElectionConfiguration) out := out.(*LeaderElectionConfiguration) + *out = *in if in.LeaderElect != nil { in, out := &in.LeaderElect, &out.LeaderElect *out = new(bool) **out = **in - } else { - out.LeaderElect = nil } - out.LeaseDuration = in.LeaseDuration - out.RenewDeadline = in.RenewDeadline - out.RetryPeriod = in.RetryPeriod return nil } } diff --git a/pkg/apis/componentconfig/v1alpha1/zz_generated.defaults.go b/pkg/apis/componentconfig/v1alpha1/zz_generated.defaults.go index 83ab4654..72bebf23 100644 --- a/pkg/apis/componentconfig/v1alpha1/zz_generated.defaults.go +++ b/pkg/apis/componentconfig/v1alpha1/zz_generated.defaults.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ limitations under the License. package v1alpha1 import ( - runtime "k8s.io/client-go/pkg/runtime" + runtime "k8s.io/apimachinery/pkg/runtime" ) // RegisterDefaults adds defaulters functions to the given scheme. diff --git a/pkg/apis/componentconfig/zz_generated.deepcopy.go b/pkg/apis/componentconfig/zz_generated.deepcopy.go index 8ddd80cf..9d5a57dd 100644 --- a/pkg/apis/componentconfig/zz_generated.deepcopy.go +++ b/pkg/apis/componentconfig/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package componentconfig import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" config "k8s.io/client-go/pkg/util/config" reflect "reflect" ) @@ -58,12 +58,11 @@ func DeepCopy_componentconfig_IPVar(in interface{}, out interface{}, c *conversi { in := in.(*IPVar) out := out.(*IPVar) + *out = *in if in.Val != nil { in, out := &in.Val, &out.Val *out = new(string) **out = **in - } else { - out.Val = nil } return nil } @@ -73,66 +72,7 @@ func DeepCopy_componentconfig_KubeControllerManagerConfiguration(in interface{}, { in := in.(*KubeControllerManagerConfiguration) out := out.(*KubeControllerManagerConfiguration) - out.TypeMeta = in.TypeMeta - out.Port = in.Port - out.Address = in.Address - out.UseServiceAccountCredentials = in.UseServiceAccountCredentials - out.CloudProvider = in.CloudProvider - out.CloudConfigFile = in.CloudConfigFile - out.ConcurrentEndpointSyncs = in.ConcurrentEndpointSyncs - out.ConcurrentRSSyncs = in.ConcurrentRSSyncs - out.ConcurrentRCSyncs = in.ConcurrentRCSyncs - out.ConcurrentServiceSyncs = in.ConcurrentServiceSyncs - out.ConcurrentResourceQuotaSyncs = in.ConcurrentResourceQuotaSyncs - out.ConcurrentDeploymentSyncs = in.ConcurrentDeploymentSyncs - out.ConcurrentDaemonSetSyncs = in.ConcurrentDaemonSetSyncs - out.ConcurrentJobSyncs = in.ConcurrentJobSyncs - out.ConcurrentNamespaceSyncs = in.ConcurrentNamespaceSyncs - out.ConcurrentSATokenSyncs = in.ConcurrentSATokenSyncs - out.LookupCacheSizeForRC = in.LookupCacheSizeForRC - out.LookupCacheSizeForRS = in.LookupCacheSizeForRS - out.LookupCacheSizeForDaemonSet = in.LookupCacheSizeForDaemonSet - out.ServiceSyncPeriod = in.ServiceSyncPeriod - out.NodeSyncPeriod = in.NodeSyncPeriod - out.RouteReconciliationPeriod = in.RouteReconciliationPeriod - out.ResourceQuotaSyncPeriod = in.ResourceQuotaSyncPeriod - out.NamespaceSyncPeriod = in.NamespaceSyncPeriod - out.PVClaimBinderSyncPeriod = in.PVClaimBinderSyncPeriod - out.MinResyncPeriod = in.MinResyncPeriod - out.TerminatedPodGCThreshold = in.TerminatedPodGCThreshold - out.HorizontalPodAutoscalerSyncPeriod = in.HorizontalPodAutoscalerSyncPeriod - out.DeploymentControllerSyncPeriod = in.DeploymentControllerSyncPeriod - out.PodEvictionTimeout = in.PodEvictionTimeout - out.DeletingPodsQps = in.DeletingPodsQps - out.DeletingPodsBurst = in.DeletingPodsBurst - out.NodeMonitorGracePeriod = in.NodeMonitorGracePeriod - out.RegisterRetryCount = in.RegisterRetryCount - out.NodeStartupGracePeriod = in.NodeStartupGracePeriod - out.NodeMonitorPeriod = in.NodeMonitorPeriod - out.ServiceAccountKeyFile = in.ServiceAccountKeyFile - out.ClusterSigningCertFile = in.ClusterSigningCertFile - out.ClusterSigningKeyFile = in.ClusterSigningKeyFile - out.ApproveAllKubeletCSRsForGroup = in.ApproveAllKubeletCSRsForGroup - out.EnableProfiling = in.EnableProfiling - out.ClusterName = in.ClusterName - out.ClusterCIDR = in.ClusterCIDR - out.ServiceCIDR = in.ServiceCIDR - out.NodeCIDRMaskSize = in.NodeCIDRMaskSize - out.AllocateNodeCIDRs = in.AllocateNodeCIDRs - out.ConfigureCloudRoutes = in.ConfigureCloudRoutes - out.RootCAFile = in.RootCAFile - out.ContentType = in.ContentType - out.KubeAPIQPS = in.KubeAPIQPS - out.KubeAPIBurst = in.KubeAPIBurst - out.LeaderElection = in.LeaderElection - out.VolumeConfiguration = in.VolumeConfiguration - out.ControllerStartInterval = in.ControllerStartInterval - out.EnableGarbageCollector = in.EnableGarbageCollector - out.ConcurrentGCSyncs = in.ConcurrentGCSyncs - out.NodeEvictionRate = in.NodeEvictionRate - out.SecondaryNodeEvictionRate = in.SecondaryNodeEvictionRate - out.LargeClusterSizeThreshold = in.LargeClusterSizeThreshold - out.UnhealthyZoneThreshold = in.UnhealthyZoneThreshold + *out = *in return nil } } @@ -141,40 +81,17 @@ func DeepCopy_componentconfig_KubeProxyConfiguration(in interface{}, out interfa { in := in.(*KubeProxyConfiguration) out := out.(*KubeProxyConfiguration) - out.TypeMeta = in.TypeMeta - out.BindAddress = in.BindAddress - out.ClusterCIDR = in.ClusterCIDR - out.HealthzBindAddress = in.HealthzBindAddress - out.HealthzPort = in.HealthzPort - out.HostnameOverride = in.HostnameOverride + *out = *in if in.IPTablesMasqueradeBit != nil { in, out := &in.IPTablesMasqueradeBit, &out.IPTablesMasqueradeBit *out = new(int32) **out = **in - } else { - out.IPTablesMasqueradeBit = nil } - out.IPTablesSyncPeriod = in.IPTablesSyncPeriod - out.IPTablesMinSyncPeriod = in.IPTablesMinSyncPeriod - out.KubeconfigPath = in.KubeconfigPath - out.MasqueradeAll = in.MasqueradeAll - out.Master = in.Master if in.OOMScoreAdj != nil { in, out := &in.OOMScoreAdj, &out.OOMScoreAdj *out = new(int32) **out = **in - } else { - out.OOMScoreAdj = nil } - out.Mode = in.Mode - out.PortRange = in.PortRange - out.ResourceContainer = in.ResourceContainer - out.UDPIdleTimeout = in.UDPIdleTimeout - out.ConntrackMax = in.ConntrackMax - out.ConntrackMaxPerCore = in.ConntrackMaxPerCore - out.ConntrackMin = in.ConntrackMin - out.ConntrackTCPEstablishedTimeout = in.ConntrackTCPEstablishedTimeout - out.ConntrackTCPCloseWaitTimeout = in.ConntrackTCPCloseWaitTimeout return nil } } @@ -183,20 +100,7 @@ func DeepCopy_componentconfig_KubeSchedulerConfiguration(in interface{}, out int { in := in.(*KubeSchedulerConfiguration) out := out.(*KubeSchedulerConfiguration) - out.TypeMeta = in.TypeMeta - out.Port = in.Port - out.Address = in.Address - out.AlgorithmProvider = in.AlgorithmProvider - out.PolicyConfigFile = in.PolicyConfigFile - out.EnableProfiling = in.EnableProfiling - out.EnableContentionProfiling = in.EnableContentionProfiling - out.ContentType = in.ContentType - out.KubeAPIQPS = in.KubeAPIQPS - out.KubeAPIBurst = in.KubeAPIBurst - out.SchedulerName = in.SchedulerName - out.HardPodAffinitySymmetricWeight = in.HardPodAffinitySymmetricWeight - out.FailureDomains = in.FailureDomains - out.LeaderElection = in.LeaderElection + *out = *in return nil } } @@ -205,7 +109,7 @@ func DeepCopy_componentconfig_KubeletAnonymousAuthentication(in interface{}, out { in := in.(*KubeletAnonymousAuthentication) out := out.(*KubeletAnonymousAuthentication) - out.Enabled = in.Enabled + *out = *in return nil } } @@ -214,9 +118,7 @@ func DeepCopy_componentconfig_KubeletAuthentication(in interface{}, out interfac { in := in.(*KubeletAuthentication) out := out.(*KubeletAuthentication) - out.X509 = in.X509 - out.Webhook = in.Webhook - out.Anonymous = in.Anonymous + *out = *in return nil } } @@ -225,8 +127,7 @@ func DeepCopy_componentconfig_KubeletAuthorization(in interface{}, out interface { in := in.(*KubeletAuthorization) out := out.(*KubeletAuthorization) - out.Mode = in.Mode - out.Webhook = in.Webhook + *out = *in return nil } } @@ -235,152 +136,42 @@ func DeepCopy_componentconfig_KubeletConfiguration(in interface{}, out interface { in := in.(*KubeletConfiguration) out := out.(*KubeletConfiguration) - out.TypeMeta = in.TypeMeta - out.PodManifestPath = in.PodManifestPath - out.SyncFrequency = in.SyncFrequency - out.FileCheckFrequency = in.FileCheckFrequency - out.HTTPCheckFrequency = in.HTTPCheckFrequency - out.ManifestURL = in.ManifestURL - out.ManifestURLHeader = in.ManifestURLHeader - out.EnableServer = in.EnableServer - out.Address = in.Address - out.Port = in.Port - out.ReadOnlyPort = in.ReadOnlyPort - out.TLSCertFile = in.TLSCertFile - out.TLSPrivateKeyFile = in.TLSPrivateKeyFile - out.CertDirectory = in.CertDirectory - out.Authentication = in.Authentication - out.Authorization = in.Authorization - out.HostnameOverride = in.HostnameOverride - out.PodInfraContainerImage = in.PodInfraContainerImage - out.DockerEndpoint = in.DockerEndpoint - out.RootDirectory = in.RootDirectory - out.SeccompProfileRoot = in.SeccompProfileRoot - out.AllowPrivileged = in.AllowPrivileged + *out = *in if in.HostNetworkSources != nil { in, out := &in.HostNetworkSources, &out.HostNetworkSources *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.HostNetworkSources = nil } if in.HostPIDSources != nil { in, out := &in.HostPIDSources, &out.HostPIDSources *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.HostPIDSources = nil } if in.HostIPCSources != nil { in, out := &in.HostIPCSources, &out.HostIPCSources *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.HostIPCSources = nil } - out.RegistryPullQPS = in.RegistryPullQPS - out.RegistryBurst = in.RegistryBurst - out.EventRecordQPS = in.EventRecordQPS - out.EventBurst = in.EventBurst - out.EnableDebuggingHandlers = in.EnableDebuggingHandlers - out.MinimumGCAge = in.MinimumGCAge - out.MaxPerPodContainerCount = in.MaxPerPodContainerCount - out.MaxContainerCount = in.MaxContainerCount - out.CAdvisorPort = in.CAdvisorPort - out.HealthzPort = in.HealthzPort - out.HealthzBindAddress = in.HealthzBindAddress - out.OOMScoreAdj = in.OOMScoreAdj - out.RegisterNode = in.RegisterNode - out.ClusterDomain = in.ClusterDomain - out.MasterServiceNamespace = in.MasterServiceNamespace - out.ClusterDNS = in.ClusterDNS - out.StreamingConnectionIdleTimeout = in.StreamingConnectionIdleTimeout - out.NodeStatusUpdateFrequency = in.NodeStatusUpdateFrequency - out.ImageMinimumGCAge = in.ImageMinimumGCAge - out.ImageGCHighThresholdPercent = in.ImageGCHighThresholdPercent - out.ImageGCLowThresholdPercent = in.ImageGCLowThresholdPercent - out.LowDiskSpaceThresholdMB = in.LowDiskSpaceThresholdMB - out.VolumeStatsAggPeriod = in.VolumeStatsAggPeriod - out.NetworkPluginName = in.NetworkPluginName - out.NetworkPluginMTU = in.NetworkPluginMTU - out.NetworkPluginDir = in.NetworkPluginDir - out.CNIConfDir = in.CNIConfDir - out.CNIBinDir = in.CNIBinDir - out.VolumePluginDir = in.VolumePluginDir - out.CloudProvider = in.CloudProvider - out.CloudConfigFile = in.CloudConfigFile - out.KubeletCgroups = in.KubeletCgroups - out.ExperimentalCgroupsPerQOS = in.ExperimentalCgroupsPerQOS - out.CgroupDriver = in.CgroupDriver - out.RuntimeCgroups = in.RuntimeCgroups - out.SystemCgroups = in.SystemCgroups - out.CgroupRoot = in.CgroupRoot - out.ContainerRuntime = in.ContainerRuntime - out.RemoteRuntimeEndpoint = in.RemoteRuntimeEndpoint - out.RemoteImageEndpoint = in.RemoteImageEndpoint - out.RuntimeRequestTimeout = in.RuntimeRequestTimeout - out.ImagePullProgressDeadline = in.ImagePullProgressDeadline - out.RktPath = in.RktPath - out.ExperimentalMounterPath = in.ExperimentalMounterPath - out.RktAPIEndpoint = in.RktAPIEndpoint - out.RktStage1Image = in.RktStage1Image - out.LockFilePath = in.LockFilePath - out.ExitOnLockContention = in.ExitOnLockContention - out.HairpinMode = in.HairpinMode - out.BabysitDaemons = in.BabysitDaemons - out.MaxPods = in.MaxPods - out.NvidiaGPUs = in.NvidiaGPUs - out.DockerExecHandlerName = in.DockerExecHandlerName - out.PodCIDR = in.PodCIDR - out.ResolverConfig = in.ResolverConfig - out.CPUCFSQuota = in.CPUCFSQuota - out.Containerized = in.Containerized - out.MaxOpenFiles = in.MaxOpenFiles - out.ReconcileCIDR = in.ReconcileCIDR - out.RegisterSchedulable = in.RegisterSchedulable if in.RegisterWithTaints != nil { in, out := &in.RegisterWithTaints, &out.RegisterWithTaints *out = make([]api.Taint, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.RegisterWithTaints = nil } - out.ContentType = in.ContentType - out.KubeAPIQPS = in.KubeAPIQPS - out.KubeAPIBurst = in.KubeAPIBurst - out.SerializeImagePulls = in.SerializeImagePulls - out.OutOfDiskTransitionFrequency = in.OutOfDiskTransitionFrequency - out.NodeIP = in.NodeIP if in.NodeLabels != nil { in, out := &in.NodeLabels, &out.NodeLabels *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } - } else { - out.NodeLabels = nil } - out.NonMasqueradeCIDR = in.NonMasqueradeCIDR - out.EnableCustomMetrics = in.EnableCustomMetrics - out.EvictionHard = in.EvictionHard - out.EvictionSoft = in.EvictionSoft - out.EvictionSoftGracePeriod = in.EvictionSoftGracePeriod - out.EvictionPressureTransitionPeriod = in.EvictionPressureTransitionPeriod - out.EvictionMaxPodGracePeriod = in.EvictionMaxPodGracePeriod - out.EvictionMinimumReclaim = in.EvictionMinimumReclaim - out.ExperimentalKernelMemcgNotification = in.ExperimentalKernelMemcgNotification - out.PodsPerCore = in.PodsPerCore - out.EnableControllerAttachDetach = in.EnableControllerAttachDetach if in.SystemReserved != nil { in, out := &in.SystemReserved, &out.SystemReserved *out = make(config.ConfigurationMap) for key, val := range *in { (*out)[key] = val } - } else { - out.SystemReserved = nil } if in.KubeReserved != nil { in, out := &in.KubeReserved, &out.KubeReserved @@ -388,24 +179,12 @@ func DeepCopy_componentconfig_KubeletConfiguration(in interface{}, out interface for key, val := range *in { (*out)[key] = val } - } else { - out.KubeReserved = nil } - out.ProtectKernelDefaults = in.ProtectKernelDefaults - out.MakeIPTablesUtilChains = in.MakeIPTablesUtilChains - out.IPTablesMasqueradeBit = in.IPTablesMasqueradeBit - out.IPTablesDropBit = in.IPTablesDropBit if in.AllowedUnsafeSysctls != nil { in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.AllowedUnsafeSysctls = nil } - out.FeatureGates = in.FeatureGates - out.EnableCRI = in.EnableCRI - out.ExperimentalFailSwapOn = in.ExperimentalFailSwapOn - out.ExperimentalCheckNodeCapabilitiesBeforeMount = in.ExperimentalCheckNodeCapabilitiesBeforeMount return nil } } @@ -414,8 +193,7 @@ func DeepCopy_componentconfig_KubeletWebhookAuthentication(in interface{}, out i { in := in.(*KubeletWebhookAuthentication) out := out.(*KubeletWebhookAuthentication) - out.Enabled = in.Enabled - out.CacheTTL = in.CacheTTL + *out = *in return nil } } @@ -424,8 +202,7 @@ func DeepCopy_componentconfig_KubeletWebhookAuthorization(in interface{}, out in { in := in.(*KubeletWebhookAuthorization) out := out.(*KubeletWebhookAuthorization) - out.CacheAuthorizedTTL = in.CacheAuthorizedTTL - out.CacheUnauthorizedTTL = in.CacheUnauthorizedTTL + *out = *in return nil } } @@ -434,7 +211,7 @@ func DeepCopy_componentconfig_KubeletX509Authentication(in interface{}, out inte { in := in.(*KubeletX509Authentication) out := out.(*KubeletX509Authentication) - out.ClientCAFile = in.ClientCAFile + *out = *in return nil } } @@ -443,10 +220,7 @@ func DeepCopy_componentconfig_LeaderElectionConfiguration(in interface{}, out in { in := in.(*LeaderElectionConfiguration) out := out.(*LeaderElectionConfiguration) - out.LeaderElect = in.LeaderElect - out.LeaseDuration = in.LeaseDuration - out.RenewDeadline = in.RenewDeadline - out.RetryPeriod = in.RetryPeriod + *out = *in return nil } } @@ -455,13 +229,7 @@ func DeepCopy_componentconfig_PersistentVolumeRecyclerConfiguration(in interface { in := in.(*PersistentVolumeRecyclerConfiguration) out := out.(*PersistentVolumeRecyclerConfiguration) - out.MaximumRetry = in.MaximumRetry - out.MinimumTimeoutNFS = in.MinimumTimeoutNFS - out.PodTemplateFilePathNFS = in.PodTemplateFilePathNFS - out.IncrementTimeoutNFS = in.IncrementTimeoutNFS - out.PodTemplateFilePathHostPath = in.PodTemplateFilePathHostPath - out.MinimumTimeoutHostPath = in.MinimumTimeoutHostPath - out.IncrementTimeoutHostPath = in.IncrementTimeoutHostPath + *out = *in return nil } } @@ -470,12 +238,11 @@ func DeepCopy_componentconfig_PortRangeVar(in interface{}, out interface{}, c *c { in := in.(*PortRangeVar) out := out.(*PortRangeVar) + *out = *in if in.Val != nil { in, out := &in.Val, &out.Val *out = new(string) **out = **in - } else { - out.Val = nil } return nil } @@ -485,10 +252,7 @@ func DeepCopy_componentconfig_VolumeConfiguration(in interface{}, out interface{ { in := in.(*VolumeConfiguration) out := out.(*VolumeConfiguration) - out.EnableHostPathProvisioning = in.EnableHostPathProvisioning - out.EnableDynamicProvisioning = in.EnableDynamicProvisioning - out.PersistentVolumeRecyclerConfiguration = in.PersistentVolumeRecyclerConfiguration - out.FlexVolumePluginDir = in.FlexVolumePluginDir + *out = *in return nil } } diff --git a/pkg/apis/extensions/install/install.go b/pkg/apis/extensions/install/install.go index f774a2b8..57c98b4b 100644 --- a/pkg/apis/extensions/install/install.go +++ b/pkg/apis/extensions/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/apimachinery/announced" "k8s.io/client-go/pkg/apis/extensions" "k8s.io/client-go/pkg/apis/extensions/v1beta1" - "k8s.io/client-go/pkg/util/sets" ) func init() { diff --git a/pkg/apis/extensions/register.go b/pkg/apis/extensions/register.go index faf14a52..97741e4d 100644 --- a/pkg/apis/extensions/register.go +++ b/pkg/apis/extensions/register.go @@ -17,11 +17,11 @@ limitations under the License. package extensions import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/apis/autoscaling" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) // GroupName is the group name use in this package diff --git a/pkg/apis/extensions/types.go b/pkg/apis/extensions/types.go index 22f2af83..5e4c4ffa 100644 --- a/pkg/apis/extensions/types.go +++ b/pkg/apis/extensions/types.go @@ -29,9 +29,9 @@ support is experimental. package extensions import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/resource" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" "k8s.io/client-go/pkg/util/intstr" ) @@ -312,6 +312,10 @@ type DeploymentStatus struct { // +optional UpdatedReplicas int32 + // Total number of ready pods targeted by this deployment. + // +optional + ReadyReplicas int32 + // Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. // +optional AvailableReplicas int32 @@ -474,6 +478,10 @@ type DaemonSetStatus struct { // NumberReady is the number of nodes that should be running the daemon pod and have one // or more of the daemon pod running and ready. NumberReady int32 + + // ObservedGeneration is the most recent generation observed by the daemon set controller. + // +optional + ObservedGeneration int64 } // +genclient=true diff --git a/pkg/apis/extensions/v1beta1/conversion.go b/pkg/apis/extensions/v1beta1/conversion.go index 3adb0928..f7f13ed3 100644 --- a/pkg/apis/extensions/v1beta1/conversion.go +++ b/pkg/apis/extensions/v1beta1/conversion.go @@ -19,13 +19,13 @@ package v1beta1 import ( "fmt" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" "k8s.io/client-go/pkg/apis/autoscaling" "k8s.io/client-go/pkg/apis/extensions" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/conversion" - "k8s.io/client-go/pkg/runtime" "k8s.io/client-go/pkg/util/intstr" ) diff --git a/pkg/apis/extensions/v1beta1/defaults.go b/pkg/apis/extensions/v1beta1/defaults.go index 735f840b..c251d871 100644 --- a/pkg/apis/extensions/v1beta1/defaults.go +++ b/pkg/apis/extensions/v1beta1/defaults.go @@ -17,9 +17,9 @@ limitations under the License. package v1beta1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" "k8s.io/client-go/pkg/util/intstr" ) diff --git a/pkg/apis/extensions/v1beta1/generated.pb.go b/pkg/apis/extensions/v1beta1/generated.pb.go index e8a1a304..03d11a3a 100644 --- a/pkg/apis/extensions/v1beta1/generated.pb.go +++ b/pkg/apis/extensions/v1beta1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -94,9 +94,9 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" -import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1" -import k8s_io_kubernetes_pkg_apis_meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" +import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" +import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1" import k8s_io_kubernetes_pkg_util_intstr "k8s.io/client-go/pkg/util/intstr" import strings "strings" @@ -652,6 +652,14 @@ func (m *DaemonSet) MarshalTo(data []byte) (int, error) { return 0, err } i += n5 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n6, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n6 return i, nil } @@ -673,11 +681,11 @@ func (m *DaemonSetList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n6, err := m.ListMeta.MarshalTo(data[i:]) + n7, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n6 + i += n7 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -690,6 +698,14 @@ func (m *DaemonSetList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n8, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n8 return i, nil } @@ -712,20 +728,20 @@ func (m *DaemonSetSpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n7, err := m.Selector.MarshalTo(data[i:]) + n9, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n7 + i += n9 } data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n8, err := m.Template.MarshalTo(data[i:]) + n10, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n8 + i += n10 return i, nil } @@ -756,6 +772,9 @@ func (m *DaemonSetStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x20 i++ i = encodeVarintGenerated(data, i, uint64(m.NumberReady)) + data[i] = 0x28 + i++ + i = encodeVarintGenerated(data, i, uint64(m.ObservedGeneration)) return i, nil } @@ -777,27 +796,35 @@ func (m *Deployment) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n9, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n9 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n10, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n10 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n11, err := m.Status.MarshalTo(data[i:]) + n11, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n11 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n12, err := m.Spec.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n12 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n13, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n13 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n14, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n14 return i, nil } @@ -835,19 +862,19 @@ func (m *DeploymentCondition) MarshalTo(data []byte) (int, error) { data[i] = 0x32 i++ i = encodeVarintGenerated(data, i, uint64(m.LastUpdateTime.Size())) - n12, err := m.LastUpdateTime.MarshalTo(data[i:]) + n15, err := m.LastUpdateTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n12 + i += n15 data[i] = 0x3a i++ i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) - n13, err := m.LastTransitionTime.MarshalTo(data[i:]) + n16, err := m.LastTransitionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n13 + i += n16 return i, nil } @@ -869,11 +896,11 @@ func (m *DeploymentList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n14, err := m.ListMeta.MarshalTo(data[i:]) + n17, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n14 + i += n17 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -886,6 +913,14 @@ func (m *DeploymentList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n18, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n18 return i, nil } @@ -928,11 +963,19 @@ func (m *DeploymentRollback) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.RollbackTo.Size())) - n15, err := m.RollbackTo.MarshalTo(data[i:]) + n19, err := m.RollbackTo.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n15 + i += n19 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n20, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n20 return i, nil } @@ -960,28 +1003,28 @@ func (m *DeploymentSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n16, err := m.Selector.MarshalTo(data[i:]) + n21, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n16 + i += n21 } data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n17, err := m.Template.MarshalTo(data[i:]) + n22, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n17 + i += n22 data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.Strategy.Size())) - n18, err := m.Strategy.MarshalTo(data[i:]) + n23, err := m.Strategy.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n18 + i += n23 data[i] = 0x28 i++ i = encodeVarintGenerated(data, i, uint64(m.MinReadySeconds)) @@ -1002,11 +1045,11 @@ func (m *DeploymentSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x42 i++ i = encodeVarintGenerated(data, i, uint64(m.RollbackTo.Size())) - n19, err := m.RollbackTo.MarshalTo(data[i:]) + n24, err := m.RollbackTo.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n19 + i += n24 } if m.ProgressDeadlineSeconds != nil { data[i] = 0x48 @@ -1058,6 +1101,9 @@ func (m *DeploymentStatus) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x38 + i++ + i = encodeVarintGenerated(data, i, uint64(m.ReadyReplicas)) return i, nil } @@ -1084,11 +1130,11 @@ func (m *DeploymentStrategy) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.RollingUpdate.Size())) - n20, err := m.RollingUpdate.MarshalTo(data[i:]) + n25, err := m.RollingUpdate.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n20 + i += n25 } return i, nil } @@ -1149,11 +1195,11 @@ func (m *HTTPIngressPath) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Backend.Size())) - n21, err := m.Backend.MarshalTo(data[i:]) + n26, err := m.Backend.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n21 + i += n26 return i, nil } @@ -1205,27 +1251,35 @@ func (m *HorizontalPodAutoscaler) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n22, err := m.ObjectMeta.MarshalTo(data[i:]) + n27, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n22 + i += n27 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n23, err := m.Spec.MarshalTo(data[i:]) + n28, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n23 + i += n28 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n24, err := m.Status.MarshalTo(data[i:]) + n29, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n24 + i += n29 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n30, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n30 return i, nil } @@ -1247,11 +1301,11 @@ func (m *HorizontalPodAutoscalerList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n25, err := m.ListMeta.MarshalTo(data[i:]) + n31, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n25 + i += n31 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -1264,6 +1318,14 @@ func (m *HorizontalPodAutoscalerList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n32, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n32 return i, nil } @@ -1285,11 +1347,11 @@ func (m *HorizontalPodAutoscalerSpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ScaleRef.Size())) - n26, err := m.ScaleRef.MarshalTo(data[i:]) + n33, err := m.ScaleRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n26 + i += n33 if m.MinReplicas != nil { data[i] = 0x10 i++ @@ -1302,11 +1364,11 @@ func (m *HorizontalPodAutoscalerSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.CPUUtilization.Size())) - n27, err := m.CPUUtilization.MarshalTo(data[i:]) + n34, err := m.CPUUtilization.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n27 + i += n34 } return i, nil } @@ -1335,11 +1397,11 @@ func (m *HorizontalPodAutoscalerStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.LastScaleTime.Size())) - n28, err := m.LastScaleTime.MarshalTo(data[i:]) + n35, err := m.LastScaleTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n28 + i += n35 } data[i] = 0x18 i++ @@ -1421,27 +1483,35 @@ func (m *Ingress) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n29, err := m.ObjectMeta.MarshalTo(data[i:]) + n36, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n29 + i += n36 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n30, err := m.Spec.MarshalTo(data[i:]) + n37, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n30 + i += n37 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n31, err := m.Status.MarshalTo(data[i:]) + n38, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n31 + i += n38 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n39, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n39 return i, nil } @@ -1467,11 +1537,11 @@ func (m *IngressBackend) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.ServicePort.Size())) - n32, err := m.ServicePort.MarshalTo(data[i:]) + n40, err := m.ServicePort.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n32 + i += n40 return i, nil } @@ -1493,11 +1563,11 @@ func (m *IngressList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n33, err := m.ListMeta.MarshalTo(data[i:]) + n41, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n33 + i += n41 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -1510,6 +1580,14 @@ func (m *IngressList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n42, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n42 return i, nil } @@ -1535,11 +1613,11 @@ func (m *IngressRule) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.IngressRuleValue.Size())) - n34, err := m.IngressRuleValue.MarshalTo(data[i:]) + n43, err := m.IngressRuleValue.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n34 + i += n43 return i, nil } @@ -1562,11 +1640,11 @@ func (m *IngressRuleValue) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.HTTP.Size())) - n35, err := m.HTTP.MarshalTo(data[i:]) + n44, err := m.HTTP.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n35 + i += n44 } return i, nil } @@ -1590,11 +1668,11 @@ func (m *IngressSpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Backend.Size())) - n36, err := m.Backend.MarshalTo(data[i:]) + n45, err := m.Backend.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n36 + i += n45 } if len(m.TLS) > 0 { for _, msg := range m.TLS { @@ -1641,11 +1719,11 @@ func (m *IngressStatus) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.LoadBalancer.Size())) - n37, err := m.LoadBalancer.MarshalTo(data[i:]) + n46, err := m.LoadBalancer.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n37 + i += n46 return i, nil } @@ -1704,19 +1782,27 @@ func (m *NetworkPolicy) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n38, err := m.ObjectMeta.MarshalTo(data[i:]) + n47, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n38 + i += n47 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n39, err := m.Spec.MarshalTo(data[i:]) + n48, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n39 + i += n48 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n49, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n49 return i, nil } @@ -1780,11 +1866,11 @@ func (m *NetworkPolicyList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n40, err := m.ListMeta.MarshalTo(data[i:]) + n50, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n40 + i += n50 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -1797,6 +1883,14 @@ func (m *NetworkPolicyList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n51, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n51 return i, nil } @@ -1819,21 +1913,21 @@ func (m *NetworkPolicyPeer) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.PodSelector.Size())) - n41, err := m.PodSelector.MarshalTo(data[i:]) + n52, err := m.PodSelector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n41 + i += n52 } if m.NamespaceSelector != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.NamespaceSelector.Size())) - n42, err := m.NamespaceSelector.MarshalTo(data[i:]) + n53, err := m.NamespaceSelector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n42 + i += n53 } return i, nil } @@ -1863,11 +1957,11 @@ func (m *NetworkPolicyPort) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Port.Size())) - n43, err := m.Port.MarshalTo(data[i:]) + n54, err := m.Port.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n43 + i += n54 } return i, nil } @@ -1890,11 +1984,11 @@ func (m *NetworkPolicySpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.PodSelector.Size())) - n44, err := m.PodSelector.MarshalTo(data[i:]) + n55, err := m.PodSelector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n44 + i += n55 if len(m.Ingress) > 0 { for _, msg := range m.Ingress { data[i] = 0x12 @@ -1928,19 +2022,27 @@ func (m *PodSecurityPolicy) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n45, err := m.ObjectMeta.MarshalTo(data[i:]) + n56, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n45 + i += n56 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n46, err := m.Spec.MarshalTo(data[i:]) + n57, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n46 + i += n57 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n58, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n58 return i, nil } @@ -1962,11 +2064,11 @@ func (m *PodSecurityPolicyList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n47, err := m.ListMeta.MarshalTo(data[i:]) + n59, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n47 + i += n59 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -1979,6 +2081,14 @@ func (m *PodSecurityPolicyList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n60, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n60 return i, nil } @@ -2104,35 +2214,35 @@ func (m *PodSecurityPolicySpec) MarshalTo(data []byte) (int, error) { data[i] = 0x52 i++ i = encodeVarintGenerated(data, i, uint64(m.SELinux.Size())) - n48, err := m.SELinux.MarshalTo(data[i:]) + n61, err := m.SELinux.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n48 + i += n61 data[i] = 0x5a i++ i = encodeVarintGenerated(data, i, uint64(m.RunAsUser.Size())) - n49, err := m.RunAsUser.MarshalTo(data[i:]) + n62, err := m.RunAsUser.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n49 + i += n62 data[i] = 0x62 i++ i = encodeVarintGenerated(data, i, uint64(m.SupplementalGroups.Size())) - n50, err := m.SupplementalGroups.MarshalTo(data[i:]) + n63, err := m.SupplementalGroups.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n50 + i += n63 data[i] = 0x6a i++ i = encodeVarintGenerated(data, i, uint64(m.FSGroup.Size())) - n51, err := m.FSGroup.MarshalTo(data[i:]) + n64, err := m.FSGroup.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n51 + i += n64 data[i] = 0x70 i++ if m.ReadOnlyRootFilesystem { @@ -2162,27 +2272,35 @@ func (m *ReplicaSet) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n52, err := m.ObjectMeta.MarshalTo(data[i:]) + n65, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n52 + i += n65 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n53, err := m.Spec.MarshalTo(data[i:]) + n66, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n53 + i += n66 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n54, err := m.Status.MarshalTo(data[i:]) + n67, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n54 + i += n67 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n68, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n68 return i, nil } @@ -2212,11 +2330,11 @@ func (m *ReplicaSetCondition) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) - n55, err := m.LastTransitionTime.MarshalTo(data[i:]) + n69, err := m.LastTransitionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n55 + i += n69 data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) @@ -2246,11 +2364,11 @@ func (m *ReplicaSetList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n56, err := m.ListMeta.MarshalTo(data[i:]) + n70, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n56 + i += n70 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -2263,6 +2381,14 @@ func (m *ReplicaSetList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n71, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n71 return i, nil } @@ -2290,20 +2416,20 @@ func (m *ReplicaSetSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n57, err := m.Selector.MarshalTo(data[i:]) + n72, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n57 + i += n72 } data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n58, err := m.Template.MarshalTo(data[i:]) + n73, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n58 + i += n73 data[i] = 0x20 i++ i = encodeVarintGenerated(data, i, uint64(m.MinReadySeconds)) @@ -2370,6 +2496,14 @@ func (m *ReplicationControllerDummy) MarshalTo(data []byte) (int, error) { _ = i var l int _ = l + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n74, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n74 return i, nil } @@ -2413,21 +2547,21 @@ func (m *RollingUpdateDeployment) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.MaxUnavailable.Size())) - n59, err := m.MaxUnavailable.MarshalTo(data[i:]) + n75, err := m.MaxUnavailable.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n59 + i += n75 } if m.MaxSurge != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.MaxSurge.Size())) - n60, err := m.MaxSurge.MarshalTo(data[i:]) + n76, err := m.MaxSurge.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n60 + i += n76 } return i, nil } @@ -2489,11 +2623,11 @@ func (m *SELinuxStrategyOptions) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.SELinuxOptions.Size())) - n61, err := m.SELinuxOptions.MarshalTo(data[i:]) + n77, err := m.SELinuxOptions.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n61 + i += n77 } return i, nil } @@ -2516,27 +2650,35 @@ func (m *Scale) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n62, err := m.ObjectMeta.MarshalTo(data[i:]) + n78, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n62 + i += n78 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n63, err := m.Spec.MarshalTo(data[i:]) + n79, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n63 + i += n79 data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n64, err := m.Status.MarshalTo(data[i:]) + n80, err := m.Status.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n64 + i += n80 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n81, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n81 return i, nil } @@ -2689,11 +2831,11 @@ func (m *ThirdPartyResource) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n65, err := m.ObjectMeta.MarshalTo(data[i:]) + n82, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n65 + i += n82 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Description))) @@ -2710,6 +2852,14 @@ func (m *ThirdPartyResource) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n83, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n83 return i, nil } @@ -2731,17 +2881,25 @@ func (m *ThirdPartyResourceData) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n66, err := m.ObjectMeta.MarshalTo(data[i:]) + n84, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n66 + i += n84 if m.Data != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Data))) i += copy(data[i:], m.Data) } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n85, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n85 return i, nil } @@ -2763,11 +2921,11 @@ func (m *ThirdPartyResourceDataList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n67, err := m.ListMeta.MarshalTo(data[i:]) + n86, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n67 + i += n86 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -2780,6 +2938,14 @@ func (m *ThirdPartyResourceDataList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n87, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n87 return i, nil } @@ -2801,11 +2967,11 @@ func (m *ThirdPartyResourceList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n68, err := m.ListMeta.MarshalTo(data[i:]) + n88, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n68 + i += n88 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -2818,6 +2984,14 @@ func (m *ThirdPartyResourceList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n89, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n89 return i, nil } @@ -2916,6 +3090,8 @@ func (m *DaemonSet) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -2930,6 +3106,8 @@ func (m *DaemonSetList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -2952,6 +3130,7 @@ func (m *DaemonSetStatus) Size() (n int) { n += 1 + sovGenerated(uint64(m.NumberMisscheduled)) n += 1 + sovGenerated(uint64(m.DesiredNumberScheduled)) n += 1 + sovGenerated(uint64(m.NumberReady)) + n += 1 + sovGenerated(uint64(m.ObservedGeneration)) return n } @@ -2964,6 +3143,8 @@ func (m *Deployment) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -2996,6 +3177,8 @@ func (m *DeploymentList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3014,6 +3197,8 @@ func (m *DeploymentRollback) Size() (n int) { } l = m.RollbackTo.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3060,6 +3245,7 @@ func (m *DeploymentStatus) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + n += 1 + sovGenerated(uint64(m.ReadyReplicas)) return n } @@ -3120,6 +3306,8 @@ func (m *HorizontalPodAutoscaler) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3134,6 +3322,8 @@ func (m *HorizontalPodAutoscalerList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3196,6 +3386,8 @@ func (m *Ingress) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3220,6 +3412,8 @@ func (m *IngressList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3294,6 +3488,8 @@ func (m *NetworkPolicy) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Spec.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3326,6 +3522,8 @@ func (m *NetworkPolicyList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3378,6 +3576,8 @@ func (m *PodSecurityPolicy) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Spec.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3392,6 +3592,8 @@ func (m *PodSecurityPolicyList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3453,6 +3655,8 @@ func (m *ReplicaSet) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3483,6 +3687,8 @@ func (m *ReplicaSetList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3522,6 +3728,8 @@ func (m *ReplicaSetStatus) Size() (n int) { func (m *ReplicationControllerDummy) Size() (n int) { var l int _ = l + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3581,6 +3789,8 @@ func (m *Scale) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3649,6 +3859,8 @@ func (m *ThirdPartyResource) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3661,6 +3873,8 @@ func (m *ThirdPartyResourceData) Size() (n int) { l = len(m.Data) n += 1 + l + sovGenerated(uint64(l)) } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3675,6 +3889,8 @@ func (m *ThirdPartyResourceDataList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3689,6 +3905,8 @@ func (m *ThirdPartyResourceList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -3775,6 +3993,7 @@ func (this *DaemonSet) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DaemonSetSpec", "DaemonSetSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DaemonSetStatus", "DaemonSetStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -3784,8 +4003,9 @@ func (this *DaemonSetList) String() string { return "nil" } s := strings.Join([]string{`&DaemonSetList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DaemonSet", "DaemonSet", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -3795,7 +4015,7 @@ func (this *DaemonSetSpec) String() string { return "nil" } s := strings.Join([]string{`&DaemonSetSpec{`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `}`, }, "") @@ -3810,6 +4030,7 @@ func (this *DaemonSetStatus) String() string { `NumberMisscheduled:` + fmt.Sprintf("%v", this.NumberMisscheduled) + `,`, `DesiredNumberScheduled:` + fmt.Sprintf("%v", this.DesiredNumberScheduled) + `,`, `NumberReady:` + fmt.Sprintf("%v", this.NumberReady) + `,`, + `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`, `}`, }, "") return s @@ -3822,6 +4043,7 @@ func (this *Deployment) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -3835,8 +4057,8 @@ func (this *DeploymentCondition) String() string { `Status:` + fmt.Sprintf("%v", this.Status) + `,`, `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, - `LastUpdateTime:` + strings.Replace(strings.Replace(this.LastUpdateTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, - `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastUpdateTime:` + strings.Replace(strings.Replace(this.LastUpdateTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -3846,8 +4068,9 @@ func (this *DeploymentList) String() string { return "nil" } s := strings.Join([]string{`&DeploymentList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Deployment", "Deployment", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -3870,6 +4093,7 @@ func (this *DeploymentRollback) String() string { `Name:` + fmt.Sprintf("%v", this.Name) + `,`, `UpdatedAnnotations:` + mapStringForUpdatedAnnotations + `,`, `RollbackTo:` + strings.Replace(strings.Replace(this.RollbackTo.String(), "RollbackConfig", "RollbackConfig", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -3880,7 +4104,7 @@ func (this *DeploymentSpec) String() string { } s := strings.Join([]string{`&DeploymentSpec{`, `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`, `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`, @@ -3903,6 +4127,7 @@ func (this *DeploymentStatus) String() string { `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`, `UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`, `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + `,`, + `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`, `}`, }, "") return s @@ -3958,6 +4183,7 @@ func (this *HorizontalPodAutoscaler) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "HorizontalPodAutoscalerSpec", "HorizontalPodAutoscalerSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "HorizontalPodAutoscalerStatus", "HorizontalPodAutoscalerStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -3967,8 +4193,9 @@ func (this *HorizontalPodAutoscalerList) String() string { return "nil" } s := strings.Join([]string{`&HorizontalPodAutoscalerList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "HorizontalPodAutoscaler", "HorizontalPodAutoscaler", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -3992,7 +4219,7 @@ func (this *HorizontalPodAutoscalerStatus) String() string { } s := strings.Join([]string{`&HorizontalPodAutoscalerStatus{`, `ObservedGeneration:` + valueToStringGenerated(this.ObservedGeneration) + `,`, - `LastScaleTime:` + strings.Replace(fmt.Sprintf("%v", this.LastScaleTime), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1) + `,`, + `LastScaleTime:` + strings.Replace(fmt.Sprintf("%v", this.LastScaleTime), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1) + `,`, `CurrentReplicas:` + fmt.Sprintf("%v", this.CurrentReplicas) + `,`, `DesiredReplicas:` + fmt.Sprintf("%v", this.DesiredReplicas) + `,`, `CurrentCPUUtilizationPercentage:` + valueToStringGenerated(this.CurrentCPUUtilizationPercentage) + `,`, @@ -4030,6 +4257,7 @@ func (this *Ingress) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "IngressSpec", "IngressSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "IngressStatus", "IngressStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -4050,8 +4278,9 @@ func (this *IngressList) String() string { return "nil" } s := strings.Join([]string{`&IngressList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Ingress", "Ingress", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -4117,6 +4346,7 @@ func (this *NetworkPolicy) String() string { s := strings.Join([]string{`&NetworkPolicy{`, `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NetworkPolicySpec", "NetworkPolicySpec", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -4137,8 +4367,9 @@ func (this *NetworkPolicyList) String() string { return "nil" } s := strings.Join([]string{`&NetworkPolicyList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "NetworkPolicy", "NetworkPolicy", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -4148,8 +4379,8 @@ func (this *NetworkPolicyPeer) String() string { return "nil" } s := strings.Join([]string{`&NetworkPolicyPeer{`, - `PodSelector:` + strings.Replace(fmt.Sprintf("%v", this.PodSelector), "LabelSelector", "k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector", 1) + `,`, - `NamespaceSelector:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceSelector), "LabelSelector", "k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector", 1) + `,`, + `PodSelector:` + strings.Replace(fmt.Sprintf("%v", this.PodSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, + `NamespaceSelector:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, `}`, }, "") return s @@ -4170,7 +4401,7 @@ func (this *NetworkPolicySpec) String() string { return "nil" } s := strings.Join([]string{`&NetworkPolicySpec{`, - `PodSelector:` + strings.Replace(strings.Replace(this.PodSelector.String(), "LabelSelector", "k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector", 1), `&`, ``, 1) + `,`, + `PodSelector:` + strings.Replace(strings.Replace(this.PodSelector.String(), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1), `&`, ``, 1) + `,`, `Ingress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ingress), "NetworkPolicyIngressRule", "NetworkPolicyIngressRule", 1), `&`, ``, 1) + `,`, `}`, }, "") @@ -4183,6 +4414,7 @@ func (this *PodSecurityPolicy) String() string { s := strings.Join([]string{`&PodSecurityPolicy{`, `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSecurityPolicySpec", "PodSecurityPolicySpec", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -4192,8 +4424,9 @@ func (this *PodSecurityPolicyList) String() string { return "nil" } s := strings.Join([]string{`&PodSecurityPolicyList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodSecurityPolicy", "PodSecurityPolicy", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -4229,6 +4462,7 @@ func (this *ReplicaSet) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicaSetSpec", "ReplicaSetSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicaSetStatus", "ReplicaSetStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -4240,7 +4474,7 @@ func (this *ReplicaSetCondition) String() string { s := strings.Join([]string{`&ReplicaSetCondition{`, `Type:` + fmt.Sprintf("%v", this.Type) + `,`, `Status:` + fmt.Sprintf("%v", this.Status) + `,`, - `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, `}`, @@ -4252,8 +4486,9 @@ func (this *ReplicaSetList) String() string { return "nil" } s := strings.Join([]string{`&ReplicaSetList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ReplicaSet", "ReplicaSet", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -4264,7 +4499,7 @@ func (this *ReplicaSetSpec) String() string { } s := strings.Join([]string{`&ReplicaSetSpec{`, `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`, `}`, @@ -4291,6 +4526,7 @@ func (this *ReplicationControllerDummy) String() string { return "nil" } s := strings.Join([]string{`&ReplicationControllerDummy{`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -4346,6 +4582,7 @@ func (this *Scale) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -4414,6 +4651,7 @@ func (this *ThirdPartyResource) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Description:` + fmt.Sprintf("%v", this.Description) + `,`, `Versions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Versions), "APIVersion", "APIVersion", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -4425,6 +4663,7 @@ func (this *ThirdPartyResourceData) String() string { s := strings.Join([]string{`&ThirdPartyResourceData{`, `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Data:` + valueToStringGenerated(this.Data) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -4434,8 +4673,9 @@ func (this *ThirdPartyResourceDataList) String() string { return "nil" } s := strings.Join([]string{`&ThirdPartyResourceDataList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ThirdPartyResourceData", "ThirdPartyResourceData", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -4445,8 +4685,9 @@ func (this *ThirdPartyResourceList) String() string { return "nil" } s := strings.Join([]string{`&ThirdPartyResourceList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ThirdPartyResource", "ThirdPartyResource", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -5106,6 +5347,36 @@ func (m *DaemonSet) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -5217,6 +5488,36 @@ func (m *DaemonSetList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -5294,7 +5595,7 @@ func (m *DaemonSetSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector{} + m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -5456,6 +5757,25 @@ func (m *DaemonSetStatus) Unmarshal(data []byte) error { break } } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType) + } + m.ObservedGeneration = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + m.ObservedGeneration |= (int64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -5596,6 +5916,36 @@ func (m *Deployment) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -5933,6 +6283,36 @@ func (m *DeploymentList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -6153,6 +6533,36 @@ func (m *DeploymentRollback) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -6250,7 +6660,7 @@ func (m *DeploymentSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector{} + m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -6604,6 +7014,25 @@ func (m *DeploymentStatus) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType) + } + m.ReadyReplicas = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + m.ReadyReplicas |= (int32(b) & 0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -7156,6 +7585,36 @@ func (m *HorizontalPodAutoscaler) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -7267,6 +7726,36 @@ func (m *HorizontalPodAutoscalerList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -7516,7 +8005,7 @@ func (m *HorizontalPodAutoscalerStatus) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.LastScaleTime == nil { - m.LastScaleTime = &k8s_io_kubernetes_pkg_apis_meta_v1.Time{} + m.LastScaleTime = &k8s_io_apimachinery_pkg_apis_meta_v1.Time{} } if err := m.LastScaleTime.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -7896,6 +8385,36 @@ func (m *Ingress) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -8116,6 +8635,36 @@ func (m *IngressList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -8751,6 +9300,36 @@ func (m *NetworkPolicy) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -8974,6 +9553,36 @@ func (m *NetworkPolicyList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -9051,7 +9660,7 @@ func (m *NetworkPolicyPeer) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.PodSelector == nil { - m.PodSelector = &k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector{} + m.PodSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} } if err := m.PodSelector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -9084,7 +9693,7 @@ func (m *NetworkPolicyPeer) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.NamespaceSelector == nil { - m.NamespaceSelector = &k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector{} + m.NamespaceSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} } if err := m.NamespaceSelector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -9424,6 +10033,36 @@ func (m *PodSecurityPolicy) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -9535,6 +10174,36 @@ func (m *PodSecurityPolicyList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -10092,6 +10761,36 @@ func (m *ReplicaSet) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -10399,6 +11098,36 @@ func (m *ReplicaSetList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -10496,7 +11225,7 @@ func (m *ReplicaSetSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector{} + m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -10777,6 +11506,36 @@ func (m *ReplicationControllerDummy) Unmarshal(data []byte) error { return fmt.Errorf("proto: ReplicationControllerDummy: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -11324,6 +12083,36 @@ func (m *Scale) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -12018,6 +12807,36 @@ func (m *ThirdPartyResource) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -12129,6 +12948,36 @@ func (m *ThirdPartyResourceData) Unmarshal(data []byte) error { m.Data = []byte{} } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -12240,6 +13089,36 @@ func (m *ThirdPartyResourceDataList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -12351,6 +13230,36 @@ func (m *ThirdPartyResourceList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -12478,226 +13387,233 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 3535 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x5b, 0x4d, 0x6c, 0x1c, 0xc7, - 0xb1, 0xd6, 0xec, 0x72, 0x45, 0xb2, 0x28, 0x92, 0x62, 0x93, 0xa6, 0xd6, 0xb4, 0xcd, 0x95, 0xc7, - 0x78, 0xb6, 0x0c, 0x48, 0xcb, 0x27, 0xbd, 0x27, 0x3f, 0x5b, 0xb6, 0x65, 0x73, 0x49, 0x51, 0xa2, - 0x1f, 0x29, 0xad, 0x7b, 0x97, 0x8a, 0x63, 0x3b, 0x36, 0x86, 0xbb, 0xcd, 0xe5, 0x88, 0xf3, 0xe7, - 0x99, 0x1e, 0x9a, 0x6b, 0x23, 0xb0, 0x81, 0x20, 0x57, 0xc7, 0xb7, 0xe4, 0x90, 0x1c, 0x72, 0x08, - 0x72, 0x8a, 0x11, 0x03, 0x01, 0x7c, 0xcc, 0x25, 0x3f, 0x4a, 0x90, 0x00, 0x4e, 0x80, 0x20, 0x41, - 0xe0, 0xd0, 0x31, 0xe3, 0xe4, 0x1e, 0xe4, 0xa6, 0x5c, 0x82, 0xee, 0xe9, 0xf9, 0xdd, 0x99, 0x95, - 0x76, 0xc9, 0x35, 0x02, 0xe4, 0xc6, 0xed, 0xae, 0xfa, 0xaa, 0xaa, 0xbb, 0xa6, 0xaa, 0xba, 0xbb, - 0x08, 0xcf, 0xee, 0x3c, 0xe9, 0x94, 0x55, 0x73, 0x61, 0xc7, 0xdd, 0x24, 0xb6, 0x41, 0x28, 0x71, - 0x16, 0xac, 0x9d, 0xd6, 0x82, 0x62, 0xa9, 0xce, 0x02, 0xd9, 0xa3, 0xc4, 0x70, 0x54, 0xd3, 0x70, - 0x16, 0x76, 0xcf, 0x6f, 0x12, 0xaa, 0x9c, 0x5f, 0x68, 0x11, 0x83, 0xd8, 0x0a, 0x25, 0xcd, 0xb2, - 0x65, 0x9b, 0xd4, 0x44, 0xe7, 0x3c, 0xf6, 0x72, 0xc8, 0x5e, 0xb6, 0x76, 0x5a, 0x65, 0xc6, 0x5e, - 0x0e, 0xd9, 0xcb, 0x82, 0x7d, 0xee, 0x5c, 0x4b, 0xa5, 0xdb, 0xee, 0x66, 0xb9, 0x61, 0xea, 0x0b, - 0x2d, 0xb3, 0x65, 0x2e, 0x70, 0x94, 0x4d, 0x77, 0x8b, 0xff, 0xe2, 0x3f, 0xf8, 0x5f, 0x1e, 0xfa, - 0xdc, 0x85, 0x4c, 0xe5, 0x16, 0x6c, 0xe2, 0x98, 0xae, 0xdd, 0x20, 0x49, 0x8d, 0xe6, 0xce, 0x66, - 0xf3, 0xec, 0x76, 0xe8, 0xdf, 0x45, 0x82, 0xb3, 0xa0, 0x13, 0xaa, 0xa4, 0xf1, 0x9c, 0x4b, 0xe7, - 0xb1, 0x5d, 0x83, 0xaa, 0x7a, 0xa7, 0x42, 0xff, 0xdb, 0x9d, 0xdc, 0x69, 0x6c, 0x13, 0x5d, 0xe9, - 0xe0, 0x3a, 0x9f, 0xce, 0xe5, 0x52, 0x55, 0x5b, 0x50, 0x0d, 0xea, 0x50, 0x3b, 0xc9, 0x22, 0x97, - 0x01, 0x16, 0xab, 0xab, 0x37, 0x89, 0xcd, 0xd6, 0x1c, 0x9d, 0x86, 0x21, 0x43, 0xd1, 0x49, 0x51, - 0x3a, 0x2d, 0x9d, 0x19, 0xad, 0x9c, 0xb8, 0xbd, 0x5f, 0x3a, 0x76, 0xb0, 0x5f, 0x1a, 0xba, 0xae, - 0xe8, 0x04, 0xf3, 0x19, 0xf9, 0x55, 0x98, 0x59, 0xaa, 0x6e, 0xd4, 0x15, 0xbb, 0x45, 0xe8, 0x06, - 0x55, 0x35, 0xf5, 0x2d, 0x85, 0x32, 0xce, 0x65, 0x38, 0x49, 0xf9, 0x60, 0x95, 0xd8, 0x0d, 0x62, - 0x50, 0xa5, 0xe5, 0xa1, 0x14, 0x2a, 0x45, 0x81, 0x72, 0xb2, 0x9e, 0x98, 0xc7, 0x1d, 0x1c, 0xf2, - 0x37, 0x25, 0xb8, 0x7f, 0xc9, 0x75, 0xa8, 0xa9, 0xaf, 0x13, 0x6a, 0xab, 0x8d, 0x25, 0xd7, 0xb6, - 0x89, 0x41, 0x6b, 0x54, 0xa1, 0xae, 0x73, 0x77, 0xed, 0xd0, 0x4b, 0x50, 0xd8, 0x55, 0x34, 0x97, - 0x14, 0x73, 0xa7, 0xa5, 0x33, 0x63, 0x17, 0xce, 0x96, 0x33, 0x3d, 0xad, 0xec, 0xfb, 0x42, 0xf9, - 0x45, 0x57, 0x31, 0xa8, 0x4a, 0xdb, 0x95, 0x19, 0x01, 0x78, 0x42, 0x48, 0xbd, 0xc9, 0x90, 0xb0, - 0x07, 0x28, 0xbf, 0x27, 0xc1, 0x43, 0x99, 0x9a, 0xad, 0xa9, 0x0e, 0x45, 0x3a, 0x14, 0x54, 0x4a, - 0x74, 0xa7, 0x28, 0x9d, 0xce, 0x9f, 0x19, 0xbb, 0x70, 0xad, 0xdc, 0x93, 0x97, 0x97, 0x33, 0xc1, - 0x2b, 0xe3, 0x42, 0xaf, 0xc2, 0x2a, 0x83, 0xc7, 0x9e, 0x14, 0xf9, 0x1b, 0x12, 0xa0, 0x28, 0x8f, - 0xb7, 0xba, 0xf7, 0xb0, 0x46, 0x5f, 0x3a, 0xcc, 0x1a, 0x4d, 0x0b, 0xc0, 0x31, 0x4f, 0x5c, 0x6c, - 0x89, 0xde, 0x95, 0x60, 0xb6, 0x53, 0x23, 0xbe, 0x36, 0x5b, 0xf1, 0xb5, 0x59, 0x3c, 0xc4, 0xda, - 0x78, 0xa8, 0x19, 0x8b, 0xf2, 0x83, 0x1c, 0x8c, 0x2e, 0x2b, 0x44, 0x37, 0x8d, 0x1a, 0xa1, 0xe8, - 0x25, 0x18, 0x61, 0x9f, 0x63, 0x53, 0xa1, 0x0a, 0x5f, 0x8f, 0xb1, 0x0b, 0x67, 0xba, 0x18, 0xbb, - 0x7b, 0xbe, 0x7c, 0x63, 0xf3, 0x16, 0x69, 0xd0, 0x75, 0x42, 0x95, 0x0a, 0x12, 0xf8, 0x10, 0x8e, - 0xe1, 0x00, 0x0d, 0xbd, 0x06, 0x43, 0x8e, 0x45, 0x1a, 0x62, 0x09, 0x9f, 0xe9, 0xd1, 0x9c, 0x40, - 0xc3, 0x9a, 0x45, 0x1a, 0xe1, 0x1e, 0xb1, 0x5f, 0x98, 0xe3, 0xa2, 0x2d, 0x38, 0xee, 0xf0, 0xcd, - 0x2f, 0xe6, 0xb9, 0x84, 0xcb, 0x7d, 0x4b, 0xf0, 0x5c, 0x68, 0x42, 0xc8, 0x38, 0xee, 0xfd, 0xc6, - 0x02, 0x5d, 0xfe, 0xa5, 0x04, 0xe3, 0x01, 0x2d, 0xdf, 0xa9, 0x97, 0x3b, 0xd6, 0xec, 0x6c, 0x37, - 0xd9, 0x8c, 0x96, 0xad, 0x1c, 0xe3, 0xe5, 0xeb, 0x76, 0x52, 0x48, 0x1a, 0xf1, 0x47, 0x22, 0xab, - 0xf6, 0x15, 0xdf, 0x0b, 0x72, 0xdc, 0x0b, 0x9e, 0xec, 0xd7, 0xa8, 0x8c, 0xcd, 0xff, 0x45, 0xd4, - 0x18, 0xb6, 0x98, 0xe8, 0x15, 0x18, 0x71, 0x88, 0x46, 0x1a, 0xd4, 0xb4, 0x85, 0x31, 0xe7, 0xef, - 0xc9, 0x18, 0x65, 0x93, 0x68, 0x35, 0xc1, 0x58, 0x39, 0xc1, 0xac, 0xf1, 0x7f, 0xe1, 0x00, 0x90, - 0x81, 0x53, 0xa2, 0x5b, 0x9a, 0x42, 0xfd, 0x4f, 0xe9, 0x5c, 0x77, 0xef, 0xaa, 0x9a, 0xcd, 0xba, - 0x60, 0xe0, 0x1b, 0x1f, 0x2c, 0x95, 0x3f, 0x8a, 0x03, 0x40, 0xf9, 0x27, 0x39, 0x98, 0x4c, 0x6c, - 0x22, 0xba, 0x09, 0xb3, 0x0d, 0x2f, 0x30, 0x5c, 0x77, 0xf5, 0x4d, 0x62, 0xd7, 0x1a, 0xdb, 0xa4, - 0xe9, 0x6a, 0xa4, 0x29, 0x02, 0xed, 0xbc, 0xc0, 0x9b, 0x5d, 0x4a, 0xa5, 0xc2, 0x19, 0xdc, 0xe8, - 0x05, 0x40, 0x06, 0x1f, 0x5a, 0x57, 0x1d, 0x27, 0xc0, 0xcc, 0x71, 0xcc, 0x39, 0x81, 0x89, 0xae, - 0x77, 0x50, 0xe0, 0x14, 0x2e, 0xa6, 0x63, 0x93, 0x38, 0xaa, 0x4d, 0x9a, 0x49, 0x1d, 0xf3, 0x71, - 0x1d, 0x97, 0x53, 0xa9, 0x70, 0x06, 0x37, 0xba, 0x08, 0x63, 0x9e, 0x34, 0x4c, 0x94, 0x66, 0xbb, - 0x38, 0xc4, 0xc1, 0x82, 0x60, 0x74, 0x3d, 0x9c, 0xc2, 0x51, 0x3a, 0xf9, 0x87, 0x39, 0x80, 0x65, - 0x62, 0x69, 0x66, 0x5b, 0x27, 0xc6, 0x20, 0x03, 0xc2, 0xeb, 0xb1, 0x80, 0xf0, 0x6c, 0xaf, 0x9e, - 0x1d, 0xa8, 0x98, 0x19, 0x11, 0x5a, 0x89, 0x88, 0xf0, 0x5c, 0xff, 0x22, 0xba, 0x87, 0x84, 0x3f, - 0xe5, 0x61, 0x3a, 0x24, 0x5e, 0x32, 0x8d, 0xa6, 0xca, 0x13, 0xfc, 0xd3, 0x30, 0x44, 0xdb, 0x96, - 0x9f, 0x58, 0x1e, 0xf3, 0x55, 0xac, 0xb7, 0x2d, 0x72, 0x67, 0xbf, 0x74, 0x2a, 0x85, 0x85, 0x4d, - 0x61, 0xce, 0x84, 0x6e, 0x06, 0xda, 0xe7, 0x38, 0xfb, 0xe5, 0xb8, 0xf0, 0x3b, 0xfb, 0xa5, 0xae, - 0x15, 0x58, 0x39, 0xc0, 0x8c, 0x2b, 0x8b, 0x1e, 0x85, 0xe3, 0x36, 0x51, 0x1c, 0xd3, 0xe0, 0x1e, - 0x31, 0x1a, 0x1a, 0x85, 0xf9, 0x28, 0x16, 0xb3, 0xe8, 0x71, 0x18, 0xd6, 0x89, 0xe3, 0xb0, 0xa2, - 0xa4, 0xc0, 0x09, 0x27, 0x05, 0xe1, 0xf0, 0xba, 0x37, 0x8c, 0xfd, 0x79, 0xb4, 0x0d, 0x13, 0x9a, - 0xe2, 0xd0, 0x0d, 0xab, 0xa9, 0x50, 0x52, 0x57, 0x75, 0x52, 0x3c, 0x7e, 0x37, 0x4f, 0x09, 0x23, - 0x07, 0xa3, 0xaf, 0xcc, 0x0a, 0xec, 0x89, 0xb5, 0x18, 0x0e, 0x4e, 0xe0, 0x22, 0x0a, 0x88, 0x8d, - 0xd4, 0x6d, 0xc5, 0x70, 0xbc, 0x05, 0x63, 0xd2, 0x86, 0x7b, 0x94, 0x16, 0x7c, 0xa1, 0x6b, 0x1d, - 0x58, 0x38, 0x05, 0x5f, 0xfe, 0x95, 0x04, 0x13, 0xe1, 0x66, 0x0d, 0x3c, 0xe6, 0xbf, 0x16, 0x8f, - 0xf9, 0x4f, 0xf5, 0xed, 0xb6, 0x19, 0x41, 0xff, 0x5b, 0x79, 0x40, 0x21, 0x11, 0x36, 0x35, 0x6d, - 0x53, 0x69, 0xec, 0xdc, 0x43, 0x19, 0xf4, 0x3d, 0x09, 0x90, 0xcb, 0x37, 0xa3, 0xb9, 0x68, 0x18, - 0x26, 0xe5, 0x65, 0xac, 0xaf, 0xe6, 0x97, 0xfb, 0x56, 0xd3, 0xd7, 0xa0, 0xbc, 0xd1, 0x81, 0x7d, - 0xc5, 0xa0, 0x76, 0x3b, 0xdc, 0xaf, 0x4e, 0x02, 0x9c, 0xa2, 0x10, 0x7a, 0x03, 0xc0, 0x16, 0x98, - 0x75, 0x53, 0x7c, 0xfc, 0xbd, 0xc6, 0x17, 0x5f, 0xa9, 0x25, 0xd3, 0xd8, 0x52, 0x5b, 0x61, 0x28, - 0xc3, 0x01, 0x30, 0x8e, 0x08, 0x99, 0xbb, 0x02, 0xa7, 0x32, 0xb4, 0x47, 0x27, 0x21, 0xbf, 0x43, - 0xda, 0xde, 0xb2, 0x62, 0xf6, 0x27, 0x9a, 0x89, 0x96, 0x93, 0xa3, 0xa2, 0x16, 0xbc, 0x94, 0x7b, - 0x52, 0x92, 0x3f, 0x2f, 0x44, 0x3d, 0x8d, 0x27, 0xe4, 0x33, 0x30, 0x62, 0x13, 0x4b, 0x53, 0x1b, - 0x8a, 0x23, 0x92, 0x16, 0xcf, 0xae, 0x58, 0x8c, 0xe1, 0x60, 0x36, 0x96, 0xba, 0x73, 0x83, 0x4c, - 0xdd, 0xf9, 0x23, 0x4e, 0xdd, 0xc8, 0x84, 0x11, 0x87, 0xb2, 0x23, 0x56, 0xcb, 0xcb, 0x53, 0xbd, - 0x97, 0xbb, 0xd1, 0x58, 0xed, 0x01, 0x85, 0x02, 0xfd, 0x11, 0x1c, 0x08, 0x41, 0x8b, 0x30, 0xa9, - 0xab, 0x06, 0x4f, 0x78, 0x35, 0xd2, 0x30, 0x8d, 0xa6, 0xc3, 0x83, 0x5c, 0xa1, 0x72, 0x4a, 0x30, - 0x4d, 0xae, 0xc7, 0xa7, 0x71, 0x92, 0x1e, 0xad, 0xc1, 0x8c, 0x4d, 0x76, 0x55, 0xa6, 0xc6, 0x35, - 0xd5, 0xa1, 0xa6, 0xdd, 0x5e, 0x53, 0x75, 0x95, 0xf2, 0xd0, 0x57, 0xa8, 0x14, 0x0f, 0xf6, 0x4b, - 0x33, 0x38, 0x65, 0x1e, 0xa7, 0x72, 0xb1, 0xa8, 0x6c, 0x29, 0xae, 0x43, 0x9a, 0x3c, 0x98, 0x8d, - 0x84, 0x51, 0xb9, 0xca, 0x47, 0xb1, 0x98, 0x45, 0x7a, 0xcc, 0xb5, 0x47, 0x8e, 0xc2, 0xb5, 0x27, - 0xb2, 0xdd, 0x1a, 0x6d, 0xc0, 0x29, 0xcb, 0x36, 0x5b, 0x36, 0x71, 0x9c, 0x65, 0xa2, 0x34, 0x35, - 0xd5, 0x20, 0xfe, 0x7a, 0x8d, 0x72, 0x3b, 0x1f, 0x38, 0xd8, 0x2f, 0x9d, 0xaa, 0xa6, 0x93, 0xe0, - 0x2c, 0x5e, 0xf9, 0xd3, 0x3c, 0x9c, 0x4c, 0x66, 0x57, 0x56, 0x53, 0x99, 0x9b, 0x0e, 0xb1, 0x77, - 0x49, 0xf3, 0xaa, 0x77, 0xe2, 0x56, 0x4d, 0x83, 0xbb, 0x7c, 0x3e, 0x8c, 0x00, 0x37, 0x3a, 0x28, - 0x70, 0x0a, 0x17, 0x3a, 0x1b, 0xf9, 0x68, 0xbc, 0xaa, 0x2c, 0xf0, 0x86, 0x94, 0x0f, 0x67, 0x11, - 0x26, 0x45, 0x14, 0xf1, 0x27, 0x45, 0xe9, 0x15, 0x78, 0xc3, 0x46, 0x7c, 0x1a, 0x27, 0xe9, 0xd1, - 0x55, 0x98, 0x52, 0x76, 0x15, 0x55, 0x53, 0x36, 0x35, 0x12, 0x80, 0x78, 0x25, 0xd7, 0xfd, 0x02, - 0x64, 0x6a, 0x31, 0x49, 0x80, 0x3b, 0x79, 0xd0, 0x3a, 0x4c, 0xbb, 0x46, 0x27, 0x94, 0xe7, 0x9d, - 0x0f, 0x08, 0xa8, 0xe9, 0x8d, 0x4e, 0x12, 0x9c, 0xc6, 0x87, 0x76, 0x01, 0x1a, 0x7e, 0x21, 0xe0, - 0x14, 0x8f, 0xf3, 0x48, 0x5d, 0xe9, 0xfb, 0xdb, 0x0a, 0x6a, 0x8a, 0x30, 0x1e, 0x06, 0x43, 0x0e, - 0x8e, 0x48, 0x92, 0x7f, 0x23, 0x45, 0x73, 0x8c, 0xff, 0x05, 0xa2, 0x4b, 0xb1, 0x8a, 0xe8, 0xd1, - 0x44, 0x45, 0x34, 0xdb, 0xc9, 0x11, 0x29, 0x88, 0xde, 0x81, 0x71, 0xe6, 0x99, 0xaa, 0xd1, 0xf2, - 0x76, 0x43, 0xc4, 0xb8, 0x95, 0x3e, 0xbc, 0x3f, 0xc0, 0x88, 0xe4, 0xca, 0xa9, 0x83, 0xfd, 0xd2, - 0x78, 0x6c, 0x12, 0xc7, 0xe5, 0xc9, 0x1f, 0x4a, 0x30, 0xbb, 0x52, 0xbb, 0x6a, 0x9b, 0xae, 0xe5, - 0xab, 0x77, 0xc3, 0xf2, 0x32, 0xce, 0xff, 0xc1, 0x90, 0xed, 0x6a, 0xbe, 0x5d, 0x8f, 0xf8, 0x76, - 0x61, 0x57, 0x63, 0x76, 0x4d, 0x27, 0xb8, 0x3c, 0xa3, 0x18, 0x03, 0x7a, 0x0d, 0x8e, 0xdb, 0x8a, - 0xd1, 0x22, 0x7e, 0x16, 0x7d, 0xa2, 0x47, 0x6b, 0x56, 0x97, 0x31, 0x63, 0x8f, 0x54, 0x71, 0x1c, - 0x0d, 0x0b, 0x54, 0xf9, 0x3b, 0x12, 0x4c, 0x5e, 0xab, 0xd7, 0xab, 0xab, 0x06, 0xff, 0x10, 0xab, - 0x0a, 0xdd, 0x66, 0x89, 0xde, 0x52, 0xe8, 0x76, 0x32, 0xd1, 0xb3, 0x39, 0xcc, 0x67, 0xd0, 0x36, - 0x0c, 0xb3, 0x00, 0x40, 0x8c, 0x66, 0x9f, 0xd5, 0xb9, 0x10, 0x57, 0xf1, 0x40, 0xc2, 0xd2, 0x51, - 0x0c, 0x60, 0x1f, 0x5e, 0x7e, 0x1b, 0x66, 0x22, 0xea, 0xb1, 0xf5, 0xe2, 0xf7, 0x23, 0xa8, 0x01, - 0x05, 0xa6, 0x89, 0x7f, 0xfb, 0xd1, 0xeb, 0x61, 0x3e, 0x61, 0x72, 0x58, 0x08, 0xb1, 0x5f, 0x0e, - 0xf6, 0xb0, 0xe5, 0xdf, 0xe7, 0xe0, 0xd4, 0x35, 0xd3, 0x56, 0xdf, 0x32, 0x0d, 0xaa, 0x68, 0x55, - 0xb3, 0xb9, 0xe8, 0x52, 0xd3, 0x69, 0x28, 0x1a, 0xb1, 0x07, 0x78, 0xee, 0xd1, 0x62, 0xe7, 0x9e, - 0x17, 0x7a, 0xb5, 0x2c, 0x5d, 0xdf, 0xcc, 0x43, 0x10, 0x4d, 0x1c, 0x82, 0xd6, 0x8e, 0x48, 0x5e, - 0xf7, 0x13, 0xd1, 0xdf, 0x24, 0x78, 0x20, 0x83, 0x73, 0xe0, 0xe5, 0xf3, 0x4e, 0xbc, 0x7c, 0x5e, - 0x39, 0x1a, 0x83, 0x33, 0x6a, 0xe9, 0x7f, 0xe6, 0x32, 0x0d, 0xe5, 0xd5, 0xdb, 0x1b, 0x30, 0xc2, - 0x7f, 0x61, 0xb2, 0x25, 0x0c, 0x5d, 0xea, 0x51, 0x9f, 0x9a, 0xbb, 0xe9, 0xdf, 0x29, 0x62, 0xb2, - 0x45, 0x6c, 0x62, 0x34, 0x48, 0xa4, 0xb6, 0x11, 0xe0, 0x38, 0x10, 0x83, 0xce, 0xc3, 0x18, 0xaf, - 0x55, 0x62, 0xe9, 0x6f, 0x92, 0x9d, 0xf9, 0xd7, 0xc3, 0x61, 0x1c, 0xa5, 0x41, 0x17, 0x61, 0x4c, - 0x57, 0xf6, 0x12, 0xc9, 0x2f, 0xb8, 0x2a, 0x58, 0x0f, 0xa7, 0x70, 0x94, 0x0e, 0xbd, 0x03, 0x13, - 0x0d, 0xcb, 0x8d, 0x5c, 0x69, 0x8b, 0xe2, 0xad, 0x57, 0x13, 0xd3, 0x6e, 0xc7, 0x2b, 0x88, 0x1d, - 0x07, 0x97, 0xaa, 0x1b, 0x91, 0x31, 0x9c, 0x10, 0x27, 0xff, 0x38, 0x0f, 0x0f, 0x75, 0x75, 0x50, - 0xb4, 0xd2, 0xa5, 0xa8, 0x98, 0xed, 0xa1, 0xa0, 0x50, 0x60, 0x9c, 0x1d, 0x0c, 0xf9, 0x72, 0xf3, - 0x33, 0x67, 0xae, 0xc7, 0x33, 0x27, 0x4f, 0x2f, 0x6b, 0x51, 0x08, 0x1c, 0x47, 0x64, 0x55, 0x88, - 0xb8, 0x6d, 0xca, 0xaa, 0x42, 0x96, 0xe2, 0xd3, 0x38, 0x49, 0xcf, 0x20, 0xc4, 0x65, 0x50, 0xa2, - 0x06, 0x09, 0x20, 0x96, 0xe3, 0xd3, 0x38, 0x49, 0x8f, 0x74, 0x28, 0x09, 0xd4, 0xf8, 0xda, 0x47, - 0xde, 0x28, 0xbc, 0x5a, 0xe4, 0x91, 0x83, 0xfd, 0x52, 0x69, 0xa9, 0x3b, 0x29, 0xbe, 0x1b, 0x96, - 0xbc, 0x0e, 0xe3, 0xd7, 0x4c, 0x87, 0x56, 0x4d, 0x9b, 0xf2, 0xcc, 0x85, 0x1e, 0x82, 0xbc, 0xae, - 0x1a, 0xe2, 0xa4, 0x33, 0x26, 0xd4, 0xce, 0x33, 0xcf, 0x65, 0xe3, 0x7c, 0x5a, 0xd9, 0x13, 0x4e, - 0x1d, 0x4e, 0x2b, 0x7b, 0x98, 0x8d, 0xcb, 0x57, 0x61, 0x58, 0x64, 0xc4, 0x28, 0x50, 0xbe, 0x3b, - 0x50, 0x3e, 0x05, 0xe8, 0xfb, 0x39, 0x18, 0x16, 0x09, 0x64, 0x80, 0xa9, 0xe0, 0xd5, 0x58, 0x2a, - 0xb8, 0xd4, 0x5f, 0x92, 0xcd, 0x0c, 0xfd, 0xcd, 0x44, 0xe8, 0x7f, 0xa6, 0x4f, 0xfc, 0xee, 0xa1, - 0xfe, 0x03, 0x09, 0x26, 0xe2, 0xe9, 0x9e, 0x85, 0x13, 0xf6, 0x01, 0xa9, 0x0d, 0x72, 0x3d, 0xbc, - 0x50, 0x08, 0xc2, 0x49, 0x2d, 0x9c, 0xc2, 0x51, 0x3a, 0x44, 0x02, 0x36, 0xe6, 0x0e, 0x62, 0x51, - 0xca, 0x19, 0x4a, 0xbb, 0x54, 0xd5, 0xca, 0xde, 0x03, 0x5d, 0x79, 0xd5, 0xa0, 0x37, 0xec, 0x1a, - 0xb5, 0x55, 0xa3, 0xd5, 0x21, 0x86, 0x7b, 0x56, 0x14, 0x57, 0xfe, 0x99, 0x04, 0x63, 0x42, 0xe1, - 0x81, 0xe7, 0xa2, 0x57, 0xe2, 0xb9, 0xe8, 0x89, 0x3e, 0xcb, 0xa8, 0xf4, 0xdc, 0xf3, 0x51, 0x68, - 0x08, 0x2b, 0x9c, 0x58, 0x5d, 0xb7, 0x6d, 0x3a, 0x34, 0x59, 0xd7, 0xb1, 0xef, 0x0b, 0xf3, 0x19, - 0xf4, 0x75, 0x09, 0x4e, 0xaa, 0x89, 0x52, 0x4b, 0xac, 0xf3, 0x73, 0xfd, 0xa9, 0x16, 0xc0, 0x84, - 0x6f, 0x96, 0xc9, 0x19, 0xdc, 0x21, 0x52, 0x76, 0xa1, 0x83, 0x0a, 0x29, 0x30, 0xb4, 0x4d, 0xa9, - 0xd5, 0x67, 0x96, 0x4c, 0x2b, 0x22, 0x2b, 0x23, 0xdc, 0xfc, 0x7a, 0xbd, 0x8a, 0x39, 0xb4, 0xfc, - 0x41, 0x2e, 0x58, 0xb0, 0x9a, 0xf7, 0x81, 0x04, 0x65, 0xae, 0x74, 0x14, 0x65, 0xee, 0x58, 0x5a, - 0x89, 0x8b, 0x5e, 0x82, 0x3c, 0xd5, 0xfa, 0xbd, 0xcc, 0x13, 0x12, 0xea, 0x6b, 0xb5, 0x30, 0x48, - 0xd5, 0xd7, 0x6a, 0x98, 0x41, 0xa2, 0xd7, 0xa1, 0xc0, 0x0e, 0x11, 0xec, 0xfb, 0xce, 0xf7, 0x1f, - 0x3f, 0xd8, 0x7a, 0x85, 0x1e, 0xc6, 0x7e, 0x39, 0xd8, 0xc3, 0x95, 0xdf, 0x86, 0xf1, 0x58, 0x10, - 0x40, 0xb7, 0xe0, 0x84, 0x66, 0x2a, 0xcd, 0x8a, 0xa2, 0x29, 0x46, 0x83, 0xf8, 0x2f, 0x44, 0xff, - 0xdd, 0x3d, 0x1c, 0xae, 0x45, 0x38, 0x44, 0x30, 0x09, 0xde, 0x8d, 0xa3, 0x73, 0x38, 0x86, 0x2d, - 0x2b, 0x00, 0xa1, 0xf5, 0xa8, 0x04, 0x05, 0xe6, 0xc2, 0xde, 0x81, 0x60, 0xb4, 0x32, 0xca, 0x74, - 0x65, 0x9e, 0xed, 0x60, 0x6f, 0x1c, 0x5d, 0x00, 0x70, 0x48, 0xc3, 0x26, 0x94, 0xc7, 0x1c, 0xef, - 0xce, 0x3c, 0x88, 0xbe, 0xb5, 0x60, 0x06, 0x47, 0xa8, 0xe4, 0x5f, 0x4b, 0x30, 0x7e, 0x9d, 0xd0, - 0x37, 0x4d, 0x7b, 0xa7, 0x6a, 0x6a, 0x6a, 0xa3, 0x3d, 0xc0, 0x58, 0xbf, 0x19, 0x8b, 0xf5, 0xcf, - 0xf7, 0xb8, 0x57, 0x31, 0x2d, 0xb3, 0x22, 0xbe, 0xfc, 0x57, 0x09, 0x8a, 0x31, 0xca, 0x68, 0x78, - 0x20, 0x50, 0xb0, 0x4c, 0x9b, 0xfa, 0x47, 0xaa, 0x43, 0x69, 0xc0, 0x02, 0x69, 0xe4, 0x50, 0xc5, - 0x60, 0xb1, 0x87, 0xce, 0xec, 0xdc, 0xb2, 0x4d, 0x5d, 0xf8, 0xfb, 0xe1, 0xa4, 0x10, 0x62, 0x87, - 0x76, 0xae, 0xd8, 0xa6, 0x8e, 0x39, 0xb6, 0xfc, 0x5b, 0x09, 0xa6, 0x62, 0x94, 0x03, 0x0f, 0xe4, - 0x4a, 0x3c, 0x90, 0x3f, 0x73, 0x18, 0xb3, 0x32, 0xc2, 0xf9, 0xdf, 0x93, 0x46, 0x31, 0xf3, 0x51, - 0x13, 0xc6, 0x2c, 0xb3, 0x59, 0x3b, 0xf4, 0x93, 0x2c, 0x3f, 0x00, 0x54, 0x43, 0x24, 0x1c, 0x85, - 0x45, 0xbb, 0x30, 0x65, 0x28, 0x3a, 0x71, 0x2c, 0xa5, 0x41, 0x6a, 0x87, 0xbe, 0x43, 0xbe, 0xef, - 0x60, 0xbf, 0x34, 0x75, 0x3d, 0x89, 0x87, 0x3b, 0x45, 0xc8, 0x3f, 0xea, 0xb0, 0xd9, 0xb4, 0x29, - 0x7a, 0x11, 0x46, 0x78, 0xa7, 0x4d, 0xc3, 0xd4, 0x44, 0x32, 0xbb, 0xc8, 0xb6, 0xa5, 0x2a, 0xc6, - 0xee, 0xec, 0x97, 0xfe, 0xab, 0xeb, 0xd3, 0x97, 0x4f, 0x88, 0x03, 0x18, 0xb4, 0x06, 0x43, 0x56, - 0xff, 0x45, 0x05, 0x4f, 0x24, 0xbc, 0x92, 0xe0, 0x28, 0x9d, 0x5b, 0xc5, 0xd3, 0xc9, 0xf6, 0x11, - 0x6d, 0x55, 0x50, 0xc2, 0x64, 0x6e, 0x97, 0x0d, 0xc3, 0x22, 0xa7, 0x0a, 0x7f, 0xbc, 0x7a, 0x18, - 0x7f, 0x8c, 0xe6, 0x81, 0xe0, 0xa6, 0xc6, 0x1f, 0xf4, 0x05, 0xc9, 0xbf, 0x93, 0x60, 0x8a, 0x2b, - 0xd4, 0x70, 0x6d, 0x95, 0xb6, 0x07, 0x1e, 0x2f, 0xb7, 0x62, 0xf1, 0x72, 0xb9, 0x47, 0x03, 0x3b, - 0x34, 0xcd, 0x8c, 0x99, 0x7f, 0x94, 0xe0, 0xbe, 0x0e, 0xea, 0x81, 0xc7, 0x13, 0x12, 0x8f, 0x27, - 0xcf, 0x1f, 0xd6, 0xbc, 0x8c, 0x98, 0x72, 0x1b, 0x52, 0x8c, 0xe3, 0xce, 0x7a, 0x01, 0xc0, 0xb2, - 0xd5, 0x5d, 0x55, 0x23, 0x2d, 0xd1, 0x0d, 0x31, 0x12, 0x6e, 0x48, 0x35, 0x98, 0xc1, 0x11, 0x2a, - 0xf4, 0x55, 0x98, 0x6d, 0x92, 0x2d, 0xc5, 0xd5, 0xe8, 0x62, 0xb3, 0xb9, 0xa4, 0x58, 0xca, 0xa6, - 0xaa, 0xa9, 0x54, 0x15, 0x97, 0x97, 0xa3, 0x95, 0x2b, 0x5e, 0x97, 0x42, 0x1a, 0xc5, 0x9d, 0xfd, - 0xd2, 0x63, 0xdd, 0x9f, 0xab, 0x7d, 0xe2, 0x36, 0xce, 0x10, 0x82, 0xbe, 0x26, 0x41, 0xd1, 0x26, - 0x6f, 0xb8, 0xec, 0xbc, 0xba, 0x6c, 0x9b, 0x56, 0x4c, 0x83, 0x3c, 0xd7, 0xe0, 0xea, 0xc1, 0x7e, - 0xa9, 0x88, 0x33, 0x68, 0x7a, 0xd1, 0x21, 0x53, 0x10, 0xa2, 0x30, 0xad, 0x68, 0x9a, 0xf9, 0x26, - 0x89, 0xaf, 0xc0, 0x10, 0x97, 0x5f, 0x39, 0xd8, 0x2f, 0x4d, 0x2f, 0x76, 0x4e, 0xf7, 0x22, 0x3a, - 0x0d, 0x1e, 0x2d, 0xc0, 0xf0, 0xae, 0xa9, 0xb9, 0x3a, 0x71, 0x8a, 0x05, 0x2e, 0x89, 0xc5, 0xd8, - 0xe1, 0x9b, 0xde, 0xd0, 0x9d, 0xfd, 0xd2, 0xf1, 0x95, 0x1a, 0xbf, 0x55, 0xf6, 0xa9, 0xd8, 0x19, - 0x8c, 0xd5, 0x45, 0xe2, 0x43, 0xe7, 0xaf, 0x52, 0x23, 0x61, 0x64, 0xb9, 0x16, 0x4e, 0xe1, 0x28, - 0x1d, 0xd2, 0x61, 0x74, 0x5b, 0x9c, 0xc7, 0x9d, 0xe2, 0x70, 0x5f, 0xb9, 0x2e, 0x76, 0x9e, 0xaf, - 0x4c, 0x09, 0x91, 0xa3, 0xfe, 0xb0, 0x83, 0x43, 0x09, 0xe8, 0x71, 0x18, 0xe6, 0x3f, 0x56, 0x97, - 0xf9, 0x5b, 0xd6, 0x48, 0x18, 0x7f, 0xae, 0x79, 0xc3, 0xd8, 0x9f, 0xf7, 0x49, 0x57, 0xab, 0x4b, - 0xfc, 0xe9, 0x29, 0x41, 0xba, 0x5a, 0x5d, 0xc2, 0xfe, 0x3c, 0xb2, 0x60, 0xd8, 0x21, 0x6b, 0xaa, - 0xe1, 0xee, 0x15, 0x81, 0x7f, 0xb7, 0x57, 0x7a, 0xbd, 0x73, 0xbb, 0xc2, 0xb9, 0x13, 0xb7, 0xfc, - 0xa1, 0x44, 0x31, 0x8f, 0x7d, 0x31, 0x68, 0x0f, 0x46, 0x6d, 0xd7, 0x58, 0x74, 0x36, 0x1c, 0x62, - 0x17, 0xc7, 0xb8, 0xcc, 0x5e, 0x43, 0x32, 0xf6, 0xf9, 0x93, 0x52, 0x83, 0x15, 0x0c, 0x28, 0x70, - 0x28, 0x0c, 0x7d, 0x5b, 0x02, 0xe4, 0xb8, 0x96, 0xa5, 0x11, 0x9d, 0x18, 0x54, 0xd1, 0xf8, 0x43, - 0x83, 0x53, 0x3c, 0xc1, 0x75, 0xa8, 0xf6, 0x7c, 0xd7, 0x98, 0x04, 0x4a, 0x2a, 0x13, 0x3c, 0xc4, - 0x75, 0x92, 0xe2, 0x14, 0x3d, 0xd8, 0x56, 0x6c, 0x39, 0xfc, 0xef, 0xe2, 0x78, 0x5f, 0x5b, 0x91, - 0xfe, 0xe0, 0x12, 0x6e, 0x85, 0x98, 0xc7, 0xbe, 0x18, 0x74, 0x13, 0x66, 0x6d, 0xa2, 0x34, 0x6f, - 0x18, 0x5a, 0x1b, 0x9b, 0x26, 0x5d, 0x51, 0x35, 0xe2, 0xb4, 0x1d, 0x4a, 0xf4, 0xe2, 0x04, 0x77, - 0x9b, 0xa0, 0x9d, 0x0a, 0xa7, 0x52, 0xe1, 0x0c, 0x6e, 0xde, 0x17, 0x25, 0x6e, 0xc9, 0x06, 0xdb, - 0x28, 0x79, 0xb8, 0xbe, 0xa8, 0x50, 0xc5, 0x81, 0xf5, 0x45, 0x45, 0x44, 0x74, 0xbf, 0x1a, 0xfa, - 0x47, 0x0e, 0xa6, 0x43, 0xe2, 0x7b, 0xee, 0x8b, 0x4a, 0x61, 0xf9, 0x02, 0xfa, 0xa2, 0xd2, 0x5b, - 0x8b, 0xf2, 0x83, 0x6d, 0x2d, 0x1a, 0x40, 0x37, 0x16, 0xef, 0x56, 0x0a, 0x97, 0xf0, 0xdf, 0xbd, - 0x5b, 0x29, 0xd4, 0x34, 0xeb, 0x96, 0x2b, 0x17, 0x35, 0xe7, 0x3f, 0xa6, 0x25, 0x26, 0xa5, 0x43, - 0x65, 0xa8, 0xb7, 0x0e, 0x15, 0xf9, 0x93, 0x3c, 0x9c, 0x4c, 0x7e, 0xab, 0xb1, 0xce, 0x08, 0xe9, - 0xae, 0x9d, 0x11, 0x55, 0x98, 0xd9, 0x72, 0x35, 0xad, 0xcd, 0x17, 0x24, 0xf2, 0xaa, 0xe0, 0xdd, - 0xbf, 0x3f, 0x28, 0x38, 0x67, 0x56, 0x52, 0x68, 0x70, 0x2a, 0x67, 0x46, 0x97, 0x47, 0xbe, 0xaf, - 0x2e, 0x8f, 0xa7, 0x61, 0xdc, 0xe6, 0x0d, 0xac, 0xf1, 0xc7, 0x8e, 0xfb, 0x04, 0xcc, 0x38, 0x8e, - 0x4e, 0xe2, 0x38, 0x6d, 0x7a, 0xc7, 0x46, 0xa1, 0x8f, 0x8e, 0x8d, 0xa3, 0x68, 0xb1, 0x48, 0x09, - 0x79, 0x77, 0x6d, 0xb1, 0x78, 0x10, 0xe6, 0x04, 0x1b, 0xfb, 0xbd, 0x64, 0x1a, 0xd4, 0x36, 0x35, - 0x8d, 0xd8, 0xcb, 0xae, 0xae, 0xb7, 0xe5, 0xcb, 0x30, 0x11, 0xef, 0xf3, 0xf1, 0x76, 0xde, 0x6b, - 0x3d, 0x12, 0xaf, 0x22, 0x91, 0x9d, 0xf7, 0xc6, 0x71, 0x40, 0x21, 0x7f, 0x2a, 0xc1, 0xa9, 0x8c, - 0x56, 0x09, 0x74, 0x0b, 0x26, 0x74, 0x65, 0x2f, 0xd2, 0x83, 0x22, 0x82, 0x4a, 0xaf, 0xc7, 0x6a, - 0xfe, 0xc4, 0xb7, 0x1e, 0x43, 0xc2, 0x09, 0x64, 0x9e, 0x67, 0x95, 0xbd, 0x9a, 0x6b, 0xb7, 0x48, - 0x9f, 0x87, 0x77, 0xfe, 0xf9, 0xae, 0x0b, 0x0c, 0x1c, 0xa0, 0xc9, 0x1f, 0x4a, 0x50, 0xcc, 0x2a, - 0xba, 0xd0, 0xc5, 0x58, 0x43, 0xc7, 0xc3, 0x89, 0x86, 0x8e, 0xa9, 0x0e, 0xbe, 0x2f, 0xa8, 0x9d, - 0xe3, 0x23, 0x09, 0x66, 0xd3, 0x8b, 0x53, 0xf4, 0x3f, 0x31, 0x8d, 0x4b, 0x09, 0x8d, 0x27, 0x13, - 0x5c, 0x42, 0xdf, 0x6d, 0x98, 0x10, 0x25, 0xac, 0x80, 0xb9, 0x87, 0xff, 0x70, 0xd9, 0x0d, 0xea, - 0x63, 0xbf, 0x18, 0xe3, 0xfb, 0x18, 0x1f, 0xc3, 0x09, 0x5c, 0xf9, 0xbb, 0x39, 0x28, 0xf0, 0xb7, - 0xce, 0x01, 0x56, 0x4e, 0x2f, 0xc7, 0x2a, 0xa7, 0x5e, 0xff, 0x57, 0x82, 0x6b, 0x97, 0x59, 0x34, - 0x6d, 0x26, 0x8a, 0xa6, 0x4b, 0x7d, 0xa1, 0x77, 0xaf, 0x97, 0x9e, 0x82, 0xd1, 0x40, 0x89, 0xde, - 0x02, 0x35, 0xab, 0x4e, 0xc7, 0x22, 0x22, 0x7a, 0x0c, 0xf3, 0xbb, 0xb1, 0x34, 0xd9, 0xcf, 0xbf, - 0x62, 0x45, 0x64, 0x97, 0xfd, 0x54, 0xe9, 0x35, 0xef, 0x86, 0xad, 0x0a, 0x9d, 0x19, 0xf4, 0x32, - 0x4c, 0x78, 0xff, 0xcf, 0x16, 0x5c, 0x9a, 0xe5, 0xb9, 0xf7, 0x06, 0xed, 0xe0, 0xf5, 0xd8, 0x2c, - 0x4e, 0x50, 0xcf, 0x3d, 0x0d, 0xe3, 0x31, 0x61, 0x3d, 0xf5, 0xda, 0xfe, 0x54, 0x82, 0x99, 0xb4, - 0xe6, 0x0a, 0x74, 0x1a, 0x86, 0x76, 0x54, 0xf1, 0x26, 0x14, 0x79, 0x47, 0xfb, 0x7f, 0xd5, 0x68, - 0x62, 0x3e, 0x13, 0xb4, 0x4a, 0xe7, 0x32, 0x5b, 0xa5, 0x2f, 0x00, 0x28, 0x96, 0x2a, 0xfe, 0x47, - 0x50, 0x58, 0x15, 0x38, 0x6f, 0xf8, 0xdf, 0x83, 0x38, 0x42, 0xc5, 0x9f, 0x4d, 0x43, 0x7d, 0x44, - 0x41, 0x18, 0xbe, 0x67, 0x46, 0x54, 0x8d, 0xd2, 0xc9, 0x3f, 0x97, 0xe0, 0xe1, 0xbb, 0x1e, 0xdc, - 0x50, 0x25, 0x16, 0x1e, 0xca, 0x89, 0xf0, 0x30, 0x9f, 0x0d, 0xf0, 0x05, 0x36, 0xab, 0xbd, 0x97, - 0x03, 0x54, 0xdf, 0x56, 0xed, 0x66, 0x55, 0xb1, 0x69, 0x1b, 0x0b, 0x03, 0x07, 0x18, 0x30, 0x2e, - 0xc2, 0x58, 0x93, 0x38, 0x0d, 0x5b, 0xe5, 0x8b, 0x24, 0xb6, 0x33, 0x58, 0xf1, 0xe5, 0x70, 0x0a, - 0x47, 0xe9, 0x50, 0x0b, 0x46, 0x76, 0xbd, 0x3d, 0xf3, 0x9f, 0xde, 0x7a, 0xad, 0x7a, 0x43, 0x0f, - 0x08, 0xbf, 0x0f, 0x31, 0xe0, 0xe0, 0x00, 0x5c, 0x7e, 0x5f, 0x82, 0xd9, 0xce, 0x05, 0x59, 0x66, - 0xaa, 0x0f, 0x6e, 0x51, 0x1e, 0x84, 0x21, 0x8e, 0xca, 0x56, 0xe3, 0x84, 0x77, 0xf5, 0xcd, 0x24, - 0x62, 0x3e, 0x2a, 0x7f, 0x2e, 0xc1, 0x5c, 0xba, 0x4a, 0x03, 0x3f, 0x69, 0xdc, 0x8a, 0x9f, 0x34, - 0x7a, 0xbd, 0x49, 0x48, 0xd7, 0x3a, 0xe3, 0xd4, 0xf1, 0x49, 0xea, 0xca, 0x0f, 0xdc, 0xc4, 0xad, - 0xb8, 0x89, 0x8b, 0x87, 0x36, 0x31, 0xdd, 0xbc, 0xca, 0xe3, 0xb7, 0x3f, 0x9b, 0x3f, 0xf6, 0xf1, - 0x67, 0xf3, 0xc7, 0xfe, 0xf0, 0xd9, 0xfc, 0xb1, 0x77, 0x0f, 0xe6, 0xa5, 0xdb, 0x07, 0xf3, 0xd2, - 0xc7, 0x07, 0xf3, 0xd2, 0x9f, 0x0f, 0xe6, 0xa5, 0xf7, 0xff, 0x32, 0x7f, 0xec, 0xe5, 0x61, 0x81, - 0xf9, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x62, 0xad, 0x66, 0xb9, 0x3e, 0x00, 0x00, + // 3644 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x5b, 0x4d, 0x6c, 0x1b, 0xc7, + 0xf5, 0xf7, 0x92, 0xa2, 0x45, 0x3d, 0x59, 0x92, 0x35, 0x52, 0x64, 0x46, 0x49, 0x44, 0x67, 0x83, + 0x7f, 0xe2, 0xfc, 0x91, 0x50, 0x7f, 0x3b, 0x7f, 0xa7, 0x89, 0x93, 0x38, 0x11, 0x25, 0xcb, 0x56, + 0x2a, 0xd9, 0xcc, 0x50, 0x72, 0xd3, 0xc4, 0x49, 0xb0, 0x22, 0x47, 0xd4, 0x5a, 0xfb, 0xc1, 0xec, + 0xce, 0x2a, 0x62, 0x82, 0x22, 0x01, 0x8a, 0x9c, 0x0a, 0xa4, 0xb9, 0xf5, 0x92, 0x1e, 0xdb, 0x43, + 0x5b, 0x04, 0x4d, 0x3f, 0x10, 0xb4, 0xe8, 0xa5, 0x40, 0x3f, 0x0c, 0xf4, 0x92, 0xde, 0x7a, 0x28, + 0xd4, 0x5a, 0x45, 0x7b, 0x2a, 0x7a, 0x29, 0xd2, 0x83, 0x7b, 0x68, 0x31, 0xb3, 0xb3, 0x9f, 0xdc, + 0x95, 0x45, 0x4a, 0x94, 0x0a, 0xf4, 0x46, 0xce, 0xbc, 0xf7, 0x7b, 0x6f, 0xde, 0xcc, 0xbc, 0xf7, + 0x66, 0xe6, 0x2d, 0x3c, 0xb7, 0xf1, 0x94, 0x5d, 0x52, 0xcd, 0xe9, 0x0d, 0x67, 0x95, 0x58, 0x06, + 0xa1, 0xc4, 0x9e, 0x6e, 0x6e, 0x34, 0xa6, 0x95, 0xa6, 0x6a, 0x4f, 0x93, 0x2d, 0x4a, 0x0c, 0x5b, + 0x35, 0x0d, 0x7b, 0x7a, 0xf3, 0xec, 0x2a, 0xa1, 0xca, 0xd9, 0xe9, 0x06, 0x31, 0x88, 0xa5, 0x50, + 0x52, 0x2f, 0x35, 0x2d, 0x93, 0x9a, 0xe8, 0x71, 0x97, 0xbd, 0x14, 0xb0, 0x97, 0x9a, 0x1b, 0x8d, + 0x12, 0x63, 0x2f, 0x05, 0xec, 0x25, 0xc1, 0x3e, 0xf9, 0x78, 0x43, 0xa5, 0xeb, 0xce, 0x6a, 0xa9, + 0x66, 0xea, 0xd3, 0x0d, 0xb3, 0x61, 0x4e, 0x73, 0x94, 0x55, 0x67, 0x8d, 0xff, 0xe3, 0x7f, 0xf8, + 0x2f, 0x17, 0x7d, 0xf2, 0xff, 0x85, 0x72, 0x4a, 0x53, 0xd5, 0x95, 0xda, 0xba, 0x6a, 0x10, 0xab, + 0x15, 0xa8, 0xa7, 0x13, 0xaa, 0x4c, 0x6f, 0xb6, 0xe9, 0x34, 0x39, 0x9d, 0xc6, 0x65, 0x39, 0x06, + 0x55, 0x75, 0xd2, 0xc6, 0xf0, 0xe4, 0xdd, 0x18, 0xec, 0xda, 0x3a, 0xd1, 0x95, 0x36, 0xbe, 0x73, + 0xa9, 0xb6, 0x9b, 0xb6, 0x88, 0x6d, 0x3a, 0x56, 0xad, 0x5d, 0xd6, 0x63, 0xe9, 0x3c, 0x09, 0x43, + 0x39, 0x9b, 0x4c, 0xed, 0x50, 0x55, 0x9b, 0x56, 0x0d, 0x6a, 0x53, 0x2b, 0xce, 0x22, 0x97, 0x00, + 0x66, 0x2a, 0x0b, 0xd7, 0x89, 0xc5, 0x2c, 0x8f, 0x4e, 0x43, 0x9f, 0xa1, 0xe8, 0xa4, 0x20, 0x9d, + 0x96, 0xce, 0x0c, 0x94, 0x4f, 0xdc, 0xda, 0x2e, 0x1e, 0xdb, 0xd9, 0x2e, 0xf6, 0x5d, 0x55, 0x74, + 0x82, 0x79, 0x8f, 0x7c, 0x03, 0xc6, 0x67, 0x2b, 0x2b, 0xcb, 0x8a, 0xd5, 0x20, 0x74, 0x85, 0xaa, + 0x9a, 0xfa, 0xb6, 0x42, 0x19, 0xe7, 0x1c, 0x9c, 0xa4, 0xbc, 0xb1, 0x42, 0xac, 0x1a, 0x31, 0xa8, + 0xd2, 0x70, 0x51, 0x72, 0xe5, 0x82, 0x40, 0x39, 0xb9, 0x1c, 0xeb, 0xc7, 0x6d, 0x1c, 0xf2, 0x37, + 0x24, 0xb8, 0x77, 0xd6, 0xb1, 0xa9, 0xa9, 0x2f, 0x11, 0x6a, 0xa9, 0xb5, 0x59, 0xc7, 0xb2, 0x88, + 0x41, 0xab, 0x54, 0xa1, 0x8e, 0x7d, 0x77, 0xed, 0xd0, 0xcb, 0x90, 0xdb, 0x54, 0x34, 0x87, 0x14, + 0x32, 0xa7, 0xa5, 0x33, 0x83, 0xe7, 0x1e, 0x2b, 0xa5, 0xae, 0xb7, 0x92, 0x67, 0xf2, 0xd2, 0x4b, + 0x8e, 0x62, 0x50, 0x95, 0xb6, 0xca, 0xe3, 0x02, 0xf0, 0x84, 0x90, 0x7a, 0x9d, 0x21, 0x61, 0x17, + 0x50, 0xfe, 0x40, 0x82, 0x07, 0x52, 0x35, 0x5b, 0x54, 0x6d, 0x8a, 0x74, 0xc8, 0xa9, 0x94, 0xe8, + 0x76, 0x41, 0x3a, 0x9d, 0x3d, 0x33, 0x78, 0xee, 0x4a, 0xa9, 0xa3, 0xb5, 0x5e, 0x4a, 0x05, 0x2f, + 0x0f, 0x09, 0xbd, 0x72, 0x0b, 0x0c, 0x1e, 0xbb, 0x52, 0xe4, 0xaf, 0x4b, 0x80, 0xc2, 0x3c, 0xae, + 0x75, 0xf7, 0x60, 0xa3, 0x2f, 0xed, 0xc7, 0x46, 0x63, 0x02, 0x70, 0xd0, 0x15, 0x17, 0x31, 0xd1, + 0x7b, 0x12, 0x4c, 0xb4, 0x6b, 0xc4, 0x6d, 0xb3, 0x16, 0xb5, 0xcd, 0xcc, 0x3e, 0x6c, 0xe3, 0xa2, + 0xa6, 0x18, 0xe5, 0x6b, 0x59, 0x18, 0x98, 0x53, 0x88, 0x6e, 0x1a, 0x55, 0x42, 0xd1, 0xcb, 0x90, + 0x67, 0x9b, 0xbe, 0xae, 0x50, 0x85, 0xdb, 0x63, 0xf0, 0xdc, 0x99, 0x5d, 0x06, 0xbb, 0x79, 0xb6, + 0x74, 0x6d, 0xf5, 0x26, 0xa9, 0xd1, 0x25, 0x42, 0x95, 0x32, 0x12, 0xf8, 0x10, 0xb4, 0x61, 0x1f, + 0x0d, 0xbd, 0x0e, 0x7d, 0x76, 0x93, 0xd4, 0x84, 0x09, 0x9f, 0xed, 0x70, 0x38, 0xbe, 0x86, 0xd5, + 0x26, 0xa9, 0x05, 0x73, 0xc4, 0xfe, 0x61, 0x8e, 0x8b, 0xd6, 0xe0, 0xb8, 0xcd, 0x27, 0xbf, 0x90, + 0xe5, 0x12, 0x2e, 0x76, 0x2d, 0xc1, 0x5d, 0x42, 0xc3, 0x42, 0xc6, 0x71, 0xf7, 0x3f, 0x16, 0xe8, + 0xe8, 0x06, 0xe4, 0x69, 0xab, 0x49, 0xd8, 0xe8, 0x0a, 0x7d, 0x5c, 0x52, 0xc9, 0x93, 0x14, 0xf6, + 0x6e, 0x81, 0x2c, 0x66, 0x01, 0x66, 0xa9, 0x65, 0xc1, 0x55, 0x3e, 0x29, 0x90, 0xf3, 0x5e, 0x0b, + 0xf6, 0x11, 0xe5, 0xef, 0x64, 0x60, 0xc8, 0xd7, 0x84, 0xaf, 0x83, 0x1b, 0x6d, 0x33, 0xb2, 0x47, + 0x79, 0x8c, 0x3b, 0x2a, 0xcf, 0x6b, 0x09, 0xcd, 0xca, 0x6b, 0xde, 0x2a, 0xcb, 0xf0, 0x55, 0xf6, + 0x54, 0xb7, 0x46, 0x4b, 0x5e, 0x5c, 0x11, 0x63, 0x65, 0x0f, 0xdc, 0x58, 0xbf, 0x91, 0x42, 0xc6, + 0x62, 0x4b, 0x01, 0xbd, 0x06, 0x79, 0x9b, 0x68, 0xa4, 0x46, 0x4d, 0x4b, 0x18, 0xeb, 0x89, 0x3d, + 0x1a, 0x4b, 0x59, 0x25, 0x5a, 0x55, 0xb0, 0x96, 0x4f, 0x30, 0x81, 0xde, 0x3f, 0xec, 0x43, 0xa2, + 0x57, 0x21, 0x4f, 0x89, 0xde, 0xd4, 0x14, 0xea, 0xb9, 0x82, 0xc7, 0x77, 0xdf, 0x1d, 0x15, 0xb3, + 0xbe, 0x2c, 0x18, 0xf8, 0xc2, 0x0d, 0x46, 0x23, 0x5a, 0xb1, 0x0f, 0x28, 0x7f, 0x98, 0x85, 0x91, + 0xd8, 0x22, 0x44, 0xd7, 0x61, 0xa2, 0xe6, 0x3a, 0xb6, 0xab, 0x8e, 0xbe, 0x4a, 0xac, 0x6a, 0x6d, + 0x9d, 0xd4, 0x1d, 0x8d, 0xd4, 0x45, 0xa0, 0x98, 0x12, 0x78, 0x13, 0xb3, 0x89, 0x54, 0x38, 0x85, + 0x1b, 0xbd, 0x08, 0xc8, 0xe0, 0x4d, 0x4b, 0xaa, 0x6d, 0xfb, 0x98, 0x19, 0x8e, 0x39, 0x29, 0x30, + 0xd1, 0xd5, 0x36, 0x0a, 0x9c, 0xc0, 0xc5, 0x74, 0xac, 0x13, 0x5b, 0xb5, 0x48, 0x3d, 0xae, 0x63, + 0x36, 0xaa, 0xe3, 0x5c, 0x22, 0x15, 0x4e, 0xe1, 0x46, 0xe7, 0x61, 0xd0, 0x95, 0x86, 0x89, 0x52, + 0x6f, 0xf1, 0xbd, 0x96, 0x0b, 0x9c, 0xe9, 0xd5, 0xa0, 0x0b, 0x87, 0xe9, 0xd8, 0xd0, 0xcc, 0x55, + 0x9b, 0x58, 0x9b, 0xa4, 0x7e, 0xd9, 0x0d, 0xdc, 0xaa, 0x69, 0x14, 0x72, 0xa7, 0xa5, 0x33, 0xd9, + 0x60, 0x68, 0xd7, 0xda, 0x28, 0x70, 0x02, 0x97, 0xfc, 0x41, 0x16, 0x60, 0x8e, 0x34, 0x35, 0xb3, + 0xa5, 0x13, 0xa3, 0x97, 0xce, 0xf1, 0x8d, 0x88, 0x73, 0x7c, 0xae, 0xd3, 0x5d, 0xe8, 0xab, 0x98, + 0xea, 0x1d, 0x1b, 0x31, 0xef, 0xf8, 0x7c, 0xf7, 0x22, 0x8e, 0xd2, 0x3d, 0xde, 0xce, 0xc2, 0x58, + 0xa0, 0xca, 0xac, 0x69, 0xd4, 0x55, 0x9e, 0x4a, 0x3d, 0x03, 0x7d, 0x8c, 0x46, 0x84, 0xf0, 0x47, + 0x3c, 0x03, 0x30, 0x84, 0x3b, 0xdb, 0xc5, 0x53, 0x09, 0x2c, 0xac, 0x0b, 0x73, 0x26, 0x74, 0xdd, + 0xb7, 0x4d, 0x86, 0xb3, 0x5f, 0x8c, 0x0e, 0xed, 0xce, 0x76, 0x71, 0xd7, 0x94, 0xb2, 0xe4, 0x63, + 0xc6, 0x4c, 0xf1, 0x30, 0x1c, 0xb7, 0x88, 0x62, 0x9b, 0x06, 0x37, 0xc4, 0x40, 0x60, 0x32, 0xcc, + 0x5b, 0xb1, 0xe8, 0x45, 0x8f, 0x42, 0xbf, 0x4e, 0x6c, 0x9b, 0xa5, 0x7f, 0x39, 0x4e, 0x38, 0x22, + 0x08, 0xfb, 0x97, 0xdc, 0x66, 0xec, 0xf5, 0xa3, 0x9b, 0x30, 0xac, 0x29, 0x36, 0x5d, 0x69, 0xd6, + 0x15, 0x4a, 0x96, 0x55, 0x9d, 0x14, 0x8e, 0x73, 0x1b, 0xff, 0xef, 0x1e, 0x6d, 0xac, 0xea, 0xa4, + 0x3c, 0x21, 0xd0, 0x87, 0x17, 0x23, 0x48, 0x38, 0x86, 0x8c, 0x36, 0x01, 0xb1, 0x96, 0x65, 0x4b, + 0x31, 0x6c, 0xd7, 0x64, 0x4c, 0x5e, 0x7f, 0xc7, 0xf2, 0xfc, 0x4d, 0xb7, 0xd8, 0x86, 0x86, 0x13, + 0x24, 0xc8, 0xdf, 0xcb, 0xc0, 0x70, 0x30, 0x61, 0x87, 0x10, 0x03, 0x5f, 0x8f, 0xc6, 0xc0, 0xa7, + 0xbb, 0xde, 0x1a, 0x47, 0x12, 0x04, 0xff, 0x91, 0x05, 0x14, 0xa8, 0x80, 0x4d, 0x4d, 0x5b, 0x55, + 0x6a, 0x1b, 0x7b, 0x48, 0x6a, 0xbf, 0x25, 0x01, 0x72, 0xf8, 0x74, 0xd7, 0x67, 0x0c, 0xc3, 0xa4, + 0xdc, 0xe5, 0x79, 0x46, 0xf8, 0x72, 0xd7, 0x46, 0xf0, 0x34, 0x28, 0xad, 0xb4, 0x61, 0x5f, 0x32, + 0xa8, 0xd5, 0x0a, 0xd6, 0x43, 0x3b, 0x01, 0x4e, 0x50, 0x08, 0xbd, 0x09, 0x60, 0x09, 0xcc, 0x65, + 0x53, 0x18, 0xb0, 0x53, 0x0f, 0xe9, 0x29, 0x35, 0x6b, 0x1a, 0x6b, 0x6a, 0x23, 0x70, 0xc6, 0xd8, + 0x07, 0xc6, 0x21, 0x21, 0xbd, 0x75, 0x62, 0x93, 0x97, 0xe0, 0x54, 0x8a, 0x6d, 0xd0, 0x49, 0xc8, + 0x6e, 0x90, 0x96, 0x3b, 0x69, 0x98, 0xfd, 0x44, 0xe3, 0xe1, 0xa3, 0xc7, 0x80, 0x38, 0x37, 0x5c, + 0xc8, 0x3c, 0x25, 0xc9, 0x7f, 0xc9, 0x85, 0xf7, 0x09, 0x4f, 0x7f, 0xce, 0x40, 0xde, 0x22, 0x4d, + 0x4d, 0xad, 0x29, 0xb6, 0x48, 0x10, 0x78, 0x26, 0x83, 0x45, 0x1b, 0xf6, 0x7b, 0x23, 0x89, 0x52, + 0xa6, 0xb7, 0x89, 0x52, 0xf6, 0x80, 0x13, 0x25, 0x64, 0x42, 0xde, 0xa6, 0xec, 0x40, 0xde, 0x68, + 0x89, 0xd9, 0x99, 0xd9, 0x47, 0x34, 0x73, 0x81, 0x02, 0x81, 0x5e, 0x0b, 0xf6, 0x85, 0xa0, 0x19, + 0x18, 0xd1, 0x55, 0x83, 0xa7, 0x17, 0x55, 0x52, 0x33, 0x8d, 0xba, 0xcd, 0x1d, 0x75, 0xae, 0x7c, + 0x4a, 0x30, 0x8d, 0x2c, 0x45, 0xbb, 0x71, 0x9c, 0x1e, 0x2d, 0xc2, 0xb8, 0x45, 0x36, 0x55, 0xa6, + 0xc6, 0x15, 0xd5, 0xa6, 0xa6, 0xd5, 0x5a, 0x54, 0x75, 0x95, 0x72, 0xf7, 0x9d, 0x2b, 0x17, 0x76, + 0xb6, 0x8b, 0xe3, 0x38, 0xa1, 0x1f, 0x27, 0x72, 0xb1, 0xc8, 0xd2, 0x54, 0x1c, 0x9b, 0xd4, 0xb9, + 0x3b, 0xce, 0x07, 0x91, 0xa5, 0xc2, 0x5b, 0xb1, 0xe8, 0x45, 0x7a, 0x64, 0xeb, 0xe4, 0x0f, 0x62, + 0xeb, 0x0c, 0xef, 0xb2, 0x6d, 0x56, 0xe0, 0x54, 0xd3, 0x32, 0x1b, 0x16, 0xb1, 0xed, 0x39, 0xa2, + 0xd4, 0x35, 0xd5, 0x20, 0x9e, 0xbd, 0x06, 0xf8, 0x38, 0xef, 0xdb, 0xd9, 0x2e, 0x9e, 0xaa, 0x24, + 0x93, 0xe0, 0x34, 0x5e, 0xf9, 0xa3, 0x3e, 0x38, 0x19, 0xcf, 0x3f, 0x52, 0xd2, 0x3c, 0xa9, 0x9b, + 0x34, 0x0f, 0x3d, 0x16, 0xda, 0x36, 0x6e, 0x0e, 0xec, 0xaf, 0x86, 0x84, 0xad, 0x33, 0x03, 0x23, + 0xc2, 0x4b, 0x79, 0x9d, 0x22, 0xd1, 0xf5, 0x57, 0xc3, 0x4a, 0xb4, 0x1b, 0xc7, 0xe9, 0xd1, 0x65, + 0x18, 0x55, 0x36, 0x15, 0x55, 0x53, 0x56, 0x35, 0xe2, 0x83, 0xb8, 0x09, 0xee, 0xbd, 0x02, 0x64, + 0x74, 0x26, 0x4e, 0x80, 0xdb, 0x79, 0xd0, 0x12, 0x8c, 0x39, 0x46, 0x3b, 0x94, 0xbb, 0x3a, 0xef, + 0x13, 0x50, 0x63, 0x2b, 0xed, 0x24, 0x38, 0x89, 0x0f, 0x6d, 0x02, 0xd4, 0xbc, 0x64, 0xc6, 0x2e, + 0x1c, 0xe7, 0x91, 0xa0, 0xdc, 0xf5, 0xde, 0xf2, 0xf3, 0xa2, 0xc0, 0xdf, 0xfa, 0x4d, 0x36, 0x0e, + 0x49, 0x42, 0xcf, 0xc0, 0x90, 0xc5, 0x33, 0x79, 0x6f, 0x00, 0xfd, 0x7c, 0x00, 0xf7, 0x08, 0xb6, + 0x21, 0x1c, 0xee, 0xc4, 0x51, 0x5a, 0xf9, 0xb7, 0x52, 0x38, 0x00, 0x7a, 0xdb, 0x17, 0x5d, 0x88, + 0xa4, 0x84, 0x0f, 0xc7, 0x52, 0xc2, 0x89, 0x76, 0x8e, 0x50, 0x46, 0xf8, 0x2e, 0x0c, 0xb1, 0x65, + 0xad, 0x1a, 0x0d, 0x77, 0x2a, 0x85, 0x8b, 0x9c, 0xef, 0x62, 0xeb, 0xf8, 0x18, 0xa1, 0x34, 0x61, + 0x94, 0x8f, 0x29, 0xdc, 0x89, 0xa3, 0xf2, 0xe4, 0x4f, 0x24, 0x98, 0x98, 0xaf, 0x5e, 0xb6, 0x4c, + 0xa7, 0xe9, 0xa9, 0x77, 0xad, 0xe9, 0xda, 0xea, 0x0b, 0xd0, 0x67, 0x39, 0x9a, 0x37, 0xae, 0x87, + 0xbc, 0x71, 0x61, 0x47, 0x63, 0xe3, 0x1a, 0x8b, 0x71, 0xb9, 0x83, 0x62, 0x0c, 0xe8, 0x75, 0x38, + 0x6e, 0x29, 0x46, 0x83, 0x78, 0x21, 0xfe, 0xc9, 0x0e, 0x47, 0xb3, 0x30, 0x87, 0x19, 0x7b, 0x28, + 0x8d, 0xe5, 0x68, 0x58, 0xa0, 0xca, 0xdf, 0x94, 0x60, 0xe4, 0xca, 0xf2, 0x72, 0x65, 0xc1, 0xe0, + 0xbb, 0xb8, 0xa2, 0xd0, 0x75, 0x96, 0x85, 0x34, 0x15, 0xba, 0x1e, 0xcf, 0x42, 0x58, 0x1f, 0xe6, + 0x3d, 0x68, 0x1d, 0xfa, 0x99, 0xf7, 0x20, 0x46, 0xbd, 0xcb, 0xc3, 0x8f, 0x10, 0x57, 0x76, 0x41, + 0x82, 0xdc, 0x59, 0x34, 0x60, 0x0f, 0x5e, 0x7e, 0x07, 0xc6, 0x43, 0xea, 0x31, 0x7b, 0xf1, 0xab, + 0x38, 0x54, 0x83, 0x1c, 0xd3, 0xc4, 0xbb, 0x68, 0xeb, 0xf4, 0xde, 0x28, 0x36, 0xe4, 0x20, 0x07, + 0x64, 0xff, 0x6c, 0xec, 0x62, 0xcb, 0x3f, 0xce, 0xc2, 0xa9, 0x2b, 0xa6, 0xa5, 0xbe, 0x6d, 0x1a, + 0x54, 0xd1, 0x2a, 0x66, 0x7d, 0xc6, 0xa1, 0xa6, 0x5d, 0x53, 0x34, 0x62, 0xf5, 0xf0, 0x58, 0xa9, + 0x45, 0x8e, 0x95, 0x2f, 0x76, 0x3a, 0xb2, 0x64, 0x7d, 0x53, 0xcf, 0x98, 0x34, 0x76, 0xc6, 0x5c, + 0x3c, 0x20, 0x79, 0x47, 0x79, 0xe0, 0xfc, 0x55, 0x06, 0xee, 0x4b, 0xd1, 0xeb, 0x10, 0x4e, 0x26, + 0x1b, 0xd1, 0x93, 0xc9, 0xfc, 0xc1, 0x18, 0xf4, 0x48, 0x8e, 0x29, 0xff, 0x4c, 0x37, 0x24, 0x4f, + 0x5d, 0xdf, 0x84, 0x3c, 0xff, 0x87, 0xc9, 0x9a, 0x30, 0xe4, 0x6c, 0x87, 0xa3, 0xad, 0x3a, 0xab, + 0xde, 0xe5, 0x3b, 0x26, 0x6b, 0xc4, 0x22, 0x46, 0x8d, 0x84, 0xd2, 0x3a, 0x01, 0x8e, 0x7d, 0x31, + 0xe8, 0x2c, 0x0c, 0xf2, 0x34, 0x2d, 0x12, 0xf9, 0x47, 0x76, 0xb6, 0x8b, 0x83, 0x4b, 0x41, 0x33, + 0x0e, 0xd3, 0xa0, 0xf3, 0x30, 0xa8, 0x2b, 0x5b, 0xb1, 0xb8, 0xef, 0xdf, 0x49, 0x2d, 0x05, 0x5d, + 0x38, 0x4c, 0x87, 0xde, 0x85, 0xe1, 0x5a, 0xd3, 0x09, 0xbd, 0xfd, 0x88, 0x95, 0xda, 0xe9, 0x10, + 0x93, 0x9e, 0x91, 0xca, 0x88, 0x9d, 0xe5, 0x67, 0x2b, 0x2b, 0xa1, 0x36, 0x1c, 0x13, 0x27, 0xff, + 0x3c, 0x0b, 0x0f, 0xec, 0xba, 0xbd, 0xd0, 0xfc, 0x2e, 0xf9, 0xd4, 0x44, 0x07, 0xb9, 0x54, 0x0d, + 0x86, 0xd8, 0x99, 0x9e, 0x9b, 0x9b, 0x5f, 0x18, 0x64, 0x3a, 0xbe, 0x30, 0xe0, 0xe1, 0x71, 0x31, + 0x0c, 0x82, 0xa3, 0x98, 0x2c, 0x05, 0x13, 0x17, 0x9b, 0x69, 0x29, 0xd8, 0x6c, 0xb4, 0x1b, 0xc7, + 0xe9, 0x19, 0x84, 0xb8, 0x77, 0x8c, 0x25, 0x60, 0x3e, 0xc4, 0x5c, 0xb4, 0x1b, 0xc7, 0xe9, 0x91, + 0x0e, 0x45, 0x81, 0x1a, 0xb5, 0x7e, 0xe8, 0x39, 0xcf, 0x4d, 0xc4, 0x1e, 0xda, 0xd9, 0x2e, 0x16, + 0x67, 0x77, 0x27, 0xc5, 0x77, 0xc3, 0x92, 0x97, 0x60, 0xe8, 0x8a, 0x69, 0xd3, 0x8a, 0x69, 0x51, + 0x1e, 0x79, 0xd1, 0x03, 0x90, 0xd5, 0x55, 0x43, 0x1c, 0xf4, 0x06, 0x85, 0xda, 0x59, 0xb6, 0x76, + 0x59, 0x3b, 0xef, 0x56, 0xb6, 0xc4, 0xb2, 0x0e, 0xba, 0x95, 0x2d, 0xcc, 0xda, 0xe5, 0xcb, 0xd0, + 0x2f, 0x22, 0x7a, 0x18, 0x28, 0xbb, 0x3b, 0x50, 0x36, 0x01, 0xe8, 0xfd, 0x2c, 0xf4, 0x8b, 0x00, + 0xd8, 0xc3, 0x50, 0x76, 0x23, 0x12, 0xca, 0x2e, 0x74, 0x97, 0x24, 0xa4, 0x86, 0xae, 0x7a, 0x2c, + 0x74, 0x3d, 0xdb, 0x25, 0xfe, 0x51, 0x86, 0xaa, 0x8f, 0x25, 0x18, 0x8e, 0x26, 0x43, 0xcc, 0x5d, + 0xb1, 0x0d, 0xaa, 0xd6, 0xc8, 0xd5, 0xe0, 0x2e, 0xc8, 0x77, 0x57, 0xd5, 0xa0, 0x0b, 0x87, 0xe9, + 0x10, 0xf1, 0xd9, 0xd8, 0x62, 0x13, 0x26, 0x2f, 0xa5, 0x98, 0xc4, 0xa1, 0xaa, 0x56, 0x72, 0x5f, + 0xca, 0x4b, 0x0b, 0x06, 0xbd, 0x66, 0x55, 0xa9, 0xa5, 0x1a, 0x8d, 0x36, 0x31, 0x7c, 0xdd, 0x86, + 0x71, 0xe5, 0x6f, 0x67, 0x60, 0x50, 0x28, 0x7c, 0x08, 0xb1, 0xf4, 0xd5, 0x68, 0x2c, 0x7d, 0xb2, + 0xcb, 0x34, 0xf3, 0x28, 0x62, 0xe7, 0xa7, 0x92, 0x6f, 0x28, 0x96, 0xb6, 0xb2, 0xac, 0x7a, 0xdd, + 0xb4, 0x69, 0x3c, 0xab, 0x66, 0xde, 0x01, 0xf3, 0x1e, 0xf4, 0xbe, 0x04, 0x27, 0xd5, 0x58, 0xa2, + 0x2b, 0xe6, 0xf1, 0xf9, 0xee, 0x06, 0xee, 0xc3, 0x04, 0xc5, 0x09, 0xf1, 0x1e, 0xdc, 0x26, 0x52, + 0x76, 0xa0, 0x8d, 0x0a, 0x29, 0xd0, 0xb7, 0x4e, 0x69, 0xb3, 0xcb, 0x28, 0x9f, 0x94, 0xc2, 0x97, + 0xf3, 0x7c, 0xf8, 0xcb, 0xcb, 0x15, 0xcc, 0xa1, 0xe5, 0x8f, 0x83, 0x95, 0x55, 0x75, 0xb7, 0xb7, + 0x7f, 0xc8, 0x90, 0x0e, 0xe2, 0x90, 0x31, 0x98, 0x74, 0xc0, 0x40, 0x2f, 0x43, 0x96, 0x6a, 0xdd, + 0xde, 0x22, 0x0b, 0x09, 0xcb, 0x8b, 0xd5, 0xc0, 0xc5, 0x2e, 0x2f, 0x56, 0x31, 0x83, 0x44, 0x6f, + 0x40, 0x8e, 0x1d, 0xe1, 0x98, 0x77, 0xca, 0x76, 0xef, 0xfd, 0x98, 0xbd, 0x82, 0xf5, 0xcb, 0xfe, + 0xd9, 0xd8, 0xc5, 0x95, 0xdf, 0x81, 0xa1, 0x88, 0x0b, 0x43, 0x37, 0xe1, 0x84, 0x66, 0x2a, 0xf5, + 0xb2, 0xa2, 0x29, 0x46, 0x8d, 0x78, 0x8f, 0xa9, 0xff, 0xb7, 0xbb, 0x33, 0x5f, 0x0c, 0x71, 0x08, + 0x57, 0xe8, 0x17, 0x88, 0x84, 0xfb, 0x70, 0x04, 0x5b, 0x56, 0x00, 0x82, 0xd1, 0xa3, 0x22, 0xe4, + 0xd8, 0x12, 0x76, 0x8f, 0x63, 0x03, 0xe5, 0x01, 0xa6, 0x2b, 0x5b, 0xd9, 0x36, 0x76, 0xdb, 0xd1, + 0x39, 0x00, 0x9b, 0xd4, 0x2c, 0x42, 0xb9, 0x4f, 0x73, 0x9f, 0x6c, 0xfc, 0xd8, 0x51, 0xf5, 0x7b, + 0x70, 0x88, 0x4a, 0xfe, 0x6e, 0x06, 0x86, 0xae, 0x12, 0xfa, 0x96, 0x69, 0x6d, 0x54, 0x4c, 0x4d, + 0xad, 0xb5, 0x7a, 0x18, 0xa9, 0x56, 0x23, 0x91, 0xea, 0x85, 0x0e, 0xe7, 0x2a, 0xa2, 0x65, 0x6a, + 0xbc, 0xea, 0xad, 0xbf, 0xf9, 0xb3, 0x04, 0x85, 0x88, 0x1e, 0x61, 0xe7, 0x43, 0x20, 0xd7, 0x34, + 0x2d, 0xea, 0x1d, 0x97, 0xf7, 0x35, 0x3e, 0x16, 0x06, 0x42, 0x07, 0x66, 0x06, 0x8b, 0x5d, 0x74, + 0x66, 0xc5, 0x35, 0xcb, 0xd4, 0xc5, 0x6e, 0xda, 0x9f, 0x14, 0x42, 0xac, 0xc0, 0x8a, 0xf3, 0x96, + 0xa9, 0x63, 0x8e, 0x2d, 0xff, 0x20, 0x03, 0xa3, 0x11, 0xca, 0x43, 0x08, 0x43, 0x4a, 0x34, 0x0c, + 0x3d, 0xbb, 0x9f, 0x81, 0x1d, 0x49, 0x30, 0xfa, 0x5c, 0x8a, 0x19, 0x8d, 0x99, 0x17, 0xad, 0xc1, + 0x60, 0xd3, 0xac, 0x57, 0x0f, 0xa0, 0xf6, 0x82, 0x1f, 0xc0, 0x2a, 0x01, 0x16, 0x0e, 0x03, 0xa3, + 0x2d, 0x18, 0x35, 0x14, 0x9d, 0xd8, 0x4d, 0xa5, 0x46, 0xaa, 0x07, 0xf0, 0x80, 0x71, 0xcf, 0xce, + 0x76, 0x71, 0xf4, 0x6a, 0x1c, 0x11, 0xb7, 0x0b, 0x91, 0x7f, 0xd4, 0x36, 0x6e, 0xd3, 0xa2, 0xe8, + 0x25, 0xc8, 0xf3, 0xa2, 0xc0, 0x9a, 0xa9, 0x89, 0x70, 0x7c, 0x9e, 0xd9, 0xad, 0x22, 0xda, 0xee, + 0x6c, 0x17, 0xff, 0x67, 0xd7, 0xb7, 0x63, 0x8f, 0x10, 0xfb, 0x30, 0x68, 0x11, 0xfa, 0x9a, 0xdd, + 0xa7, 0x5d, 0x3c, 0x14, 0xf2, 0x5c, 0x8b, 0xa3, 0xc8, 0x7f, 0x8f, 0xab, 0xcd, 0x03, 0xe2, 0xcd, + 0x03, 0x9b, 0x2e, 0x3f, 0xcd, 0x4b, 0x9d, 0x32, 0x0b, 0xfa, 0x45, 0x5e, 0x20, 0xd6, 0xfc, 0xe5, + 0xfd, 0xac, 0xf9, 0x70, 0x2c, 0xf3, 0xef, 0xfa, 0xbc, 0x46, 0x4f, 0x90, 0xfc, 0xc3, 0x0c, 0x8c, + 0x72, 0x85, 0x6a, 0x8e, 0xa5, 0xd2, 0x56, 0xcf, 0x7d, 0xfe, 0x5a, 0xc4, 0xe7, 0xcf, 0x75, 0x38, + 0xc0, 0x36, 0x4d, 0x8f, 0xc8, 0xef, 0xff, 0x34, 0x03, 0xf7, 0xb4, 0xe9, 0x72, 0x08, 0x3e, 0x91, + 0x44, 0x7d, 0xe2, 0x0b, 0xfb, 0x35, 0xdf, 0x91, 0xf8, 0xc5, 0x5b, 0x90, 0x60, 0x3c, 0xbe, 0xd9, + 0xce, 0x01, 0x34, 0x2d, 0x75, 0x53, 0xd5, 0x48, 0x43, 0x14, 0x6e, 0xe5, 0x83, 0xe5, 0x54, 0xf1, + 0x7b, 0x70, 0x88, 0x0a, 0x7d, 0x05, 0x26, 0xea, 0x64, 0x4d, 0x71, 0x34, 0x3a, 0x53, 0xaf, 0xcf, + 0x2a, 0x4d, 0x65, 0x55, 0xd5, 0x54, 0xaa, 0x8a, 0xcb, 0xfb, 0x81, 0xf2, 0x25, 0xb7, 0xa0, 0x2a, + 0x89, 0xe2, 0xce, 0x76, 0xf1, 0x91, 0xdd, 0xeb, 0x55, 0x3c, 0xe2, 0x16, 0x4e, 0x11, 0x82, 0xbe, + 0x2a, 0x41, 0xc1, 0x22, 0x6f, 0x3a, 0xaa, 0x45, 0xea, 0x73, 0x96, 0xd9, 0x8c, 0x68, 0x90, 0xe5, + 0x1a, 0x5c, 0xde, 0xd9, 0x2e, 0x16, 0x70, 0x0a, 0x4d, 0x27, 0x3a, 0xa4, 0x0a, 0x42, 0x14, 0xc6, + 0x14, 0x4d, 0x33, 0xdf, 0x22, 0x51, 0x0b, 0xf4, 0x71, 0xf9, 0xe5, 0x9d, 0xed, 0xe2, 0xd8, 0x4c, + 0x7b, 0x77, 0x27, 0xa2, 0x93, 0xe0, 0xd1, 0x34, 0xf4, 0x6f, 0x9a, 0x9a, 0xa3, 0x13, 0xbb, 0x90, + 0xe3, 0x92, 0x58, 0x8c, 0xe8, 0xbf, 0xee, 0x36, 0xdd, 0xd9, 0x2e, 0x1e, 0x9f, 0xaf, 0xf2, 0x57, + 0x15, 0x8f, 0x8a, 0x9d, 0xb2, 0x59, 0x66, 0x2a, 0xdc, 0x14, 0x7f, 0xd2, 0xcd, 0x07, 0x7e, 0xf1, + 0x4a, 0xd0, 0x85, 0xc3, 0x74, 0x48, 0x87, 0x81, 0x75, 0x71, 0x9f, 0x63, 0x17, 0xfa, 0xbb, 0xca, + 0x06, 0x22, 0xf7, 0x41, 0xe5, 0x51, 0x21, 0x72, 0xc0, 0x6b, 0xb6, 0x71, 0x20, 0x01, 0x3d, 0x0a, + 0xfd, 0xfc, 0xcf, 0xc2, 0x1c, 0x7f, 0x08, 0xce, 0x07, 0xde, 0xf3, 0x8a, 0xdb, 0x8c, 0xbd, 0x7e, + 0x8f, 0x74, 0xa1, 0x32, 0xcb, 0xdf, 0x6d, 0x63, 0xa4, 0x0b, 0x95, 0x59, 0xec, 0xf5, 0xa3, 0x26, + 0xf4, 0xdb, 0x64, 0x51, 0x35, 0x9c, 0xad, 0x02, 0xf0, 0x2d, 0x75, 0xa9, 0xd3, 0x5b, 0xdb, 0x4b, + 0x9c, 0x3b, 0xf6, 0xca, 0x15, 0x48, 0x14, 0xfd, 0xd8, 0x13, 0x83, 0xb6, 0x60, 0xc0, 0x72, 0x8c, + 0x19, 0x7b, 0xc5, 0x26, 0x56, 0x61, 0x90, 0xcb, 0xec, 0x34, 0xa0, 0x60, 0x8f, 0x3f, 0x2e, 0xd5, + 0xb7, 0xa0, 0x4f, 0x81, 0x03, 0x61, 0xe8, 0x23, 0x09, 0x90, 0xed, 0x34, 0x9b, 0x1a, 0xd1, 0x89, + 0x41, 0x15, 0x8d, 0x3f, 0xb4, 0xd9, 0x85, 0x13, 0x5c, 0x87, 0x4a, 0xc7, 0xb7, 0xd5, 0x71, 0xa0, + 0xb8, 0x32, 0xfe, 0x2b, 0x76, 0x3b, 0x29, 0x4e, 0xd0, 0x83, 0x4d, 0xc5, 0x9a, 0xcd, 0x7f, 0x17, + 0x86, 0xba, 0x9a, 0x8a, 0xe4, 0x07, 0xc7, 0x60, 0x2a, 0x44, 0x3f, 0xf6, 0xc4, 0xa0, 0xeb, 0x30, + 0x61, 0x11, 0xa5, 0x7e, 0xcd, 0xd0, 0x5a, 0xd8, 0x34, 0xe9, 0xbc, 0xaa, 0x11, 0xbb, 0x65, 0x53, + 0xa2, 0x17, 0x86, 0xf9, 0xb2, 0xf1, 0x2b, 0x3f, 0x71, 0x22, 0x15, 0x4e, 0xe1, 0xe6, 0x65, 0x97, + 0xe2, 0x96, 0xb5, 0xb7, 0x35, 0xe9, 0xfb, 0x2b, 0xbb, 0x0c, 0x54, 0xec, 0x59, 0xd9, 0x65, 0x48, + 0xc4, 0x51, 0x5e, 0x2d, 0x7e, 0x9e, 0x81, 0xb1, 0x40, 0x95, 0x3d, 0x97, 0x5d, 0x26, 0xb0, 0x1c, + 0x42, 0xd9, 0x65, 0x72, 0xdd, 0x62, 0xb6, 0xd7, 0x75, 0x8b, 0x3d, 0x28, 0xf7, 0xe4, 0xa5, 0x90, + 0x81, 0x11, 0xff, 0xf3, 0x4b, 0x21, 0x03, 0x5d, 0x8f, 0x24, 0x05, 0xfb, 0x49, 0xc4, 0x5c, 0xff, + 0x45, 0x15, 0x71, 0x09, 0x05, 0x6a, 0x7d, 0x9d, 0x15, 0xa8, 0xc9, 0xbf, 0xcf, 0xc2, 0xc9, 0xb8, + 0xb7, 0x89, 0x14, 0x46, 0x49, 0x77, 0x2d, 0x8c, 0xaa, 0xc0, 0xf8, 0x9a, 0xa3, 0x69, 0x2d, 0x6e, + 0x90, 0xd0, 0xbb, 0x9a, 0xfb, 0x02, 0x75, 0xbf, 0xe0, 0x1c, 0x9f, 0x4f, 0xa0, 0xc1, 0x89, 0x9c, + 0x29, 0x45, 0x5e, 0xd9, 0xae, 0x8a, 0xbc, 0xda, 0x6a, 0x8c, 0xfa, 0xf6, 0x5e, 0x63, 0x94, 0x5c, + 0xb0, 0x95, 0xeb, 0xa2, 0x60, 0xeb, 0x20, 0x2a, 0xac, 0x12, 0xdc, 0xea, 0xdd, 0x2a, 0xac, 0xe4, + 0xb7, 0x61, 0x52, 0xb0, 0xb1, 0xff, 0xb3, 0xa6, 0x41, 0x2d, 0x53, 0xd3, 0x88, 0x35, 0xe7, 0xe8, + 0x7a, 0x2b, 0xb2, 0x2d, 0xa5, 0x03, 0xdf, 0x96, 0x17, 0x61, 0x38, 0x5a, 0x44, 0xe8, 0xae, 0x2b, + 0xb7, 0xae, 0x51, 0xbc, 0x3a, 0x86, 0xd6, 0x95, 0xdb, 0x8e, 0x7d, 0x0a, 0xf9, 0x0f, 0x12, 0x9c, + 0x4a, 0x29, 0xa5, 0x42, 0x37, 0x61, 0x58, 0x57, 0xb6, 0x42, 0x05, 0x6e, 0x71, 0xfd, 0xf7, 0x78, + 0x6d, 0xc2, 0x1f, 0xd1, 0x97, 0x22, 0x48, 0x38, 0x86, 0xcc, 0xf3, 0x10, 0x65, 0xab, 0xea, 0x58, + 0x0d, 0xd2, 0xe5, 0xe5, 0x0c, 0x77, 0x0e, 0x4b, 0x02, 0x03, 0xfb, 0x68, 0xf2, 0x27, 0x12, 0x14, + 0xd2, 0x92, 0x52, 0x74, 0x3e, 0x52, 0xf0, 0xf5, 0x60, 0xac, 0xe0, 0x6b, 0xb4, 0x8d, 0xef, 0x90, + 0xca, 0xbd, 0x3e, 0x95, 0x60, 0x22, 0x39, 0x79, 0x47, 0x4f, 0x44, 0x34, 0x2e, 0xc6, 0x34, 0x1e, + 0x89, 0x71, 0x09, 0x7d, 0xd7, 0x61, 0x58, 0xa4, 0xf8, 0x02, 0x66, 0x0f, 0x1f, 0x5b, 0x6e, 0xfa, + 0xe7, 0x07, 0x2f, 0x59, 0xe5, 0xf3, 0x18, 0x6d, 0xc3, 0x31, 0x5c, 0xf9, 0x5f, 0x19, 0xc8, 0xf1, + 0x5a, 0x82, 0x1e, 0x66, 0x96, 0xaf, 0x44, 0x32, 0xcb, 0x4e, 0x3f, 0xab, 0xe3, 0xda, 0xa5, 0x26, + 0x95, 0xab, 0xb1, 0xa4, 0xf2, 0x42, 0x57, 0xe8, 0x47, 0x99, 0x4f, 0x3e, 0x0d, 0x03, 0xfe, 0x10, + 0x3b, 0x0b, 0x32, 0xf2, 0xf7, 0x33, 0x30, 0x18, 0x1a, 0x40, 0x87, 0x21, 0x6a, 0x33, 0x12, 0xe4, + 0xbb, 0xf9, 0xe6, 0x38, 0x24, 0xbb, 0xe4, 0x85, 0x79, 0xf7, 0xbb, 0x86, 0xa0, 0xd4, 0xa8, 0x3d, + 0xfa, 0x5f, 0x84, 0x61, 0xf7, 0xc3, 0x6d, 0xff, 0xca, 0x35, 0xcb, 0xf7, 0x86, 0xff, 0x2d, 0xce, + 0x72, 0xa4, 0x17, 0xc7, 0xa8, 0x27, 0x9f, 0x81, 0xa1, 0x88, 0xb0, 0x8e, 0x3e, 0x14, 0xf8, 0xa5, + 0x04, 0xe3, 0x49, 0xc5, 0x51, 0xe8, 0x34, 0xf4, 0x6d, 0xa8, 0xe2, 0x4d, 0x34, 0xf4, 0x8e, 0xfc, + 0x45, 0xd5, 0xa8, 0x63, 0xde, 0xe3, 0x7f, 0x45, 0x92, 0x49, 0xfd, 0x8a, 0xe4, 0x1c, 0x80, 0xd2, + 0x54, 0xc5, 0xc7, 0xf0, 0x62, 0x54, 0xfe, 0xd6, 0x08, 0x3e, 0x93, 0xc7, 0x21, 0x2a, 0x5e, 0x96, + 0x10, 0xe8, 0x23, 0xd2, 0xe5, 0xa0, 0x5e, 0x20, 0xa4, 0x6a, 0x98, 0x4e, 0xfe, 0xb5, 0x04, 0x0f, + 0xde, 0xf5, 0xd8, 0x8c, 0xca, 0x11, 0xe7, 0x53, 0x8a, 0x39, 0x9f, 0xa9, 0x74, 0x80, 0x43, 0x2c, + 0x95, 0xfd, 0x6b, 0x06, 0xd0, 0xf2, 0xba, 0x6a, 0xd5, 0x2b, 0x8a, 0x45, 0x5b, 0x58, 0x0c, 0xb0, + 0x87, 0xee, 0xe8, 0x3c, 0x0c, 0xd6, 0x89, 0x5d, 0xb3, 0x54, 0x6e, 0x24, 0x31, 0x9d, 0xbe, 0xc5, + 0xe7, 0x82, 0x2e, 0x1c, 0xa6, 0x43, 0x0d, 0xc8, 0x6f, 0xba, 0x73, 0xe6, 0x3d, 0x3d, 0x77, 0x7a, + 0x22, 0x08, 0x56, 0x40, 0xb0, 0x3f, 0x44, 0x83, 0x8d, 0x7d, 0xf0, 0x1e, 0xbb, 0x9b, 0xbf, 0x49, + 0x30, 0xd1, 0x6e, 0xee, 0x39, 0x66, 0x98, 0xde, 0x99, 0xfc, 0x7e, 0xe8, 0xe3, 0xa8, 0xcc, 0xd6, + 0x27, 0xdc, 0x67, 0x19, 0x26, 0x11, 0xf7, 0x89, 0x72, 0xa6, 0x5e, 0x1e, 0x84, 0x7e, 0x91, 0x81, + 0xc9, 0xe4, 0x01, 0x1f, 0xc2, 0x19, 0xf2, 0x66, 0xf4, 0x0c, 0xd9, 0xe9, 0x2d, 0x54, 0xb2, 0xde, + 0x47, 0x72, 0x9e, 0xfc, 0x59, 0x26, 0x69, 0xdd, 0x1c, 0x82, 0x09, 0xd7, 0xa2, 0x26, 0x9c, 0xd9, + 0xb7, 0x09, 0x8f, 0xc2, 0x7c, 0xe5, 0x47, 0x6f, 0xdd, 0x9e, 0x3a, 0xf6, 0xd9, 0xed, 0xa9, 0x63, + 0xbf, 0xbb, 0x3d, 0x75, 0xec, 0xbd, 0x9d, 0x29, 0xe9, 0xd6, 0xce, 0x94, 0xf4, 0xd9, 0xce, 0x94, + 0xf4, 0xc7, 0x9d, 0x29, 0xe9, 0xc3, 0x3f, 0x4d, 0x1d, 0x7b, 0xa5, 0x5f, 0x68, 0xfc, 0xef, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x7f, 0x8b, 0xea, 0x66, 0x24, 0x47, 0x00, 0x00, } diff --git a/pkg/apis/extensions/v1beta1/generated.proto b/pkg/apis/extensions/v1beta1/generated.proto index 087534ee..b9bf60ef 100644 --- a/pkg/apis/extensions/v1beta1/generated.proto +++ b/pkg/apis/extensions/v1beta1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.extensions.v1beta1; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". @@ -71,6 +71,8 @@ message CustomMetricTargetList { // DaemonSet represents the configuration of a daemon set. message DaemonSet { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -92,10 +94,12 @@ message DaemonSet { // DaemonSetList is a collection of daemon sets. message DaemonSetList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is a list of daemon sets. repeated DaemonSet items = 2; @@ -108,7 +112,7 @@ message DaemonSetSpec { // If empty, defaulted to labels on Pod template. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.LabelSelector selector = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 1; // Template is the object that describes the pod that will be created. // The DaemonSet will create exactly one copy of this pod on every node @@ -138,10 +142,16 @@ message DaemonSetStatus { // NumberReady is the number of nodes that should be running the daemon pod and have one // or more of the daemon pod running and ready. optional int32 numberReady = 4; + + // ObservedGeneration is the most recent generation observed by the daemon set controller. + // +optional + optional int64 observedGeneration = 5; } // Deployment enables declarative updates for Pods and ReplicaSets. message Deployment { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object metadata. // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -164,10 +174,10 @@ message DeploymentCondition { optional string status = 2; // The last time this condition was updated. - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastUpdateTime = 6; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastUpdateTime = 6; // Last time the condition transitioned from one status to another. - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastTransitionTime = 7; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 7; // The reason for the condition's last transition. optional string reason = 4; @@ -178,9 +188,11 @@ message DeploymentCondition { // DeploymentList is a list of Deployments. message DeploymentList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is the list of Deployments. repeated Deployment items = 2; @@ -188,6 +200,8 @@ message DeploymentList { // DeploymentRollback stores the information required to rollback a deployment. message DeploymentRollback { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Required: This must match the Name of a deployment. optional string name = 1; @@ -209,7 +223,7 @@ message DeploymentSpec { // Label selector for pods. Existing ReplicaSets whose pods are // selected by this will be the ones affected by this deployment. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.LabelSelector selector = 2; + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2; // Template describes the pods that will be created. optional k8s.io.kubernetes.pkg.api.v1.PodTemplateSpec template = 3; @@ -262,6 +276,10 @@ message DeploymentStatus { // +optional optional int32 updatedReplicas = 3; + // Total number of ready pods targeted by this deployment. + // +optional + optional int32 readyReplicas = 7; + // Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. // +optional optional int32 availableReplicas = 4; @@ -331,6 +349,8 @@ message HTTPIngressRuleValue { // configuration of a horizontal pod autoscaler. message HorizontalPodAutoscaler { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -346,9 +366,11 @@ message HorizontalPodAutoscaler { // list of horizontal pod autoscaler objects. message HorizontalPodAutoscalerList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // list of horizontal pod autoscaler objects. repeated HorizontalPodAutoscaler items = 2; @@ -382,7 +404,7 @@ message HorizontalPodAutoscalerStatus { // last time the HorizontalPodAutoscaler scaled the number of pods; // used by the autoscaler to control how often the number of pods is changed. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastScaleTime = 2; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScaleTime = 2; // current number of replicas of pods managed by this autoscaler. optional int32 currentReplicas = 3; @@ -420,6 +442,8 @@ message IDRange { // externally-reachable urls, load balance traffic, terminate SSL, offer name // based virtual hosting etc. message Ingress { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -447,10 +471,12 @@ message IngressBackend { // IngressList is a collection of Ingress. message IngressList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is the list of Ingress. repeated Ingress items = 2; @@ -542,6 +568,8 @@ message IngressTLS { } message NetworkPolicy { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -577,10 +605,12 @@ message NetworkPolicyIngressRule { // Network Policy List is a list of NetworkPolicy objects. message NetworkPolicyList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is a list of schema objects. repeated NetworkPolicy items = 2; @@ -592,7 +622,7 @@ message NetworkPolicyPeer { // If not provided, this selector selects no pods. // If present but empty, this selector selects all pods in this namespace. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.LabelSelector podSelector = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector podSelector = 1; // Selects Namespaces using cluster scoped-labels. This // matches all pods in all namespaces selected by this label selector. @@ -600,7 +630,7 @@ message NetworkPolicyPeer { // If omitted, this selector selects no namespaces. // If present but empty, this selector selects all namespaces. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.LabelSelector namespaceSelector = 2; + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector namespaceSelector = 2; } message NetworkPolicyPort { @@ -624,7 +654,7 @@ message NetworkPolicySpec { // same set of pods. In this case, the ingress rules for each are combined additively. // This field is NOT optional and follows standard label selector semantics. // An empty podSelector matches all pods in this namespace. - optional k8s.io.kubernetes.pkg.apis.meta.v1.LabelSelector podSelector = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector podSelector = 1; // List of ingress rules to be applied to the selected pods. // Traffic is allowed to a pod if namespace.networkPolicy.ingress.isolation is undefined and cluster policy allows it, @@ -641,6 +671,8 @@ message NetworkPolicySpec { // Pod Security Policy governs the ability to make requests that affect the Security Context // that will be applied to a pod and container. message PodSecurityPolicy { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -653,10 +685,12 @@ message PodSecurityPolicy { // Pod Security Policy List is a list of PodSecurityPolicy objects. message PodSecurityPolicyList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is a list of schema objects. repeated PodSecurityPolicy items = 2; @@ -729,6 +763,8 @@ message PodSecurityPolicySpec { // ReplicaSet represents the configuration of a ReplicaSet. message ReplicaSet { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // If the Labels of a ReplicaSet are empty, they are defaulted to // be the same as the Pod(s) that the ReplicaSet manages. // Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata @@ -759,7 +795,7 @@ message ReplicaSetCondition { // The last time the condition transitioned from one status to another. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastTransitionTime = 3; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 3; // The reason for the condition's last transition. // +optional @@ -772,10 +808,12 @@ message ReplicaSetCondition { // ReplicaSetList is a collection of ReplicaSets. message ReplicaSetList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // List of ReplicaSets. // More info: http://kubernetes.io/docs/user-guide/replication-controller @@ -802,7 +840,7 @@ message ReplicaSetSpec { // Label keys and values that must match in order to be controlled by this replica set. // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.LabelSelector selector = 2; + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2; // Template is the object that describes the pod that will be created if // insufficient replicas are detected. @@ -840,6 +878,7 @@ message ReplicaSetStatus { // Dummy definition message ReplicationControllerDummy { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 1; } message RollbackConfig { @@ -901,6 +940,8 @@ message SELinuxStrategyOptions { // represents a scaling request for a resource. message Scale { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -974,6 +1015,8 @@ message SupplementalGroupsStrategyOptions { // A ThirdPartyResource is a generic representation of a resource, it is used by add-ons and plugins to add new resource // types to the API. It consists of one or more Versions of the api. message ThirdPartyResource { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object metadata // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -989,6 +1032,8 @@ message ThirdPartyResource { // An internal object, used for versioned storage in etcd. Not exposed to the end user. message ThirdPartyResourceData { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object metadata. // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -1000,10 +1045,12 @@ message ThirdPartyResourceData { // ThirdPartyResrouceDataList is a list of ThirdPartyResourceData. message ThirdPartyResourceDataList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is the list of ThirdpartyResourceData. repeated ThirdPartyResourceData items = 2; @@ -1011,9 +1058,11 @@ message ThirdPartyResourceDataList { // ThirdPartyResourceList is a list of ThirdPartyResources. message ThirdPartyResourceList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is the list of ThirdPartyResources. repeated ThirdPartyResource items = 2; diff --git a/pkg/apis/extensions/v1beta1/register.go b/pkg/apis/extensions/v1beta1/register.go index ca5c8d8f..d27bba62 100644 --- a/pkg/apis/extensions/v1beta1/register.go +++ b/pkg/apis/extensions/v1beta1/register.go @@ -17,11 +17,10 @@ limitations under the License. package v1beta1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package @@ -70,6 +69,6 @@ func addKnownTypes(scheme *runtime.Scheme) error { &NetworkPolicyList{}, ) // Add the watch version that applies - versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/apis/extensions/v1beta1/types.generated.go b/pkg/apis/extensions/v1beta1/types.generated.go index c8516827..0667e729 100644 --- a/pkg/apis/extensions/v1beta1/types.generated.go +++ b/pkg/apis/extensions/v1beta1/types.generated.go @@ -25,10 +25,10 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" + pkg1_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + pkg3_types "k8s.io/apimachinery/pkg/types" pkg4_resource "k8s.io/client-go/pkg/api/resource" pkg2_v1 "k8s.io/client-go/pkg/api/v1" - pkg1_v1 "k8s.io/client-go/pkg/apis/meta/v1" - pkg3_types "k8s.io/client-go/pkg/types" pkg5_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" @@ -65,10 +65,10 @@ func init() { panic(err) } if false { // reference the types, but skip this branch at build/run time - var v0 pkg4_resource.Quantity - var v1 pkg2_v1.ObjectMeta - var v2 pkg1_v1.TypeMeta - var v3 pkg3_types.UID + var v0 pkg1_v1.TypeMeta + var v1 pkg3_types.UID + var v2 pkg4_resource.Quantity + var v3 pkg2_v1.ObjectMeta var v4 pkg5_intstr.IntOrString var v5 time.Time _, _, _, _, _, _ = v0, v1, v2, v3, v4, v5 @@ -144,25 +144,25 @@ func (x *ScaleSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym6 := z.DecBinary() - _ = yym6 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct7 := r.ContainerType() - if yyct7 == codecSelferValueTypeMap1234 { - yyl7 := r.ReadMapStart() - if yyl7 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl7, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct7 == codecSelferValueTypeArray1234 { - yyl7 := r.ReadArrayStart() - if yyl7 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl7, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -174,12 +174,12 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys8Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys8Slc - var yyhl8 bool = l >= 0 - for yyj8 := 0; ; yyj8++ { - if yyhl8 { - if yyj8 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -188,24 +188,288 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys8Slc = r.DecodeBytes(yys8Slc, true, true) - yys8 := string(yys8Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys8 { + switch yys3 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int32(r.DecodeInt(32)) + yyv4 := &x.Replicas + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int32)(yyv4)) = int32(r.DecodeInt(32)) + } } default: - z.DecStructFieldNotFound(-1, yys8) - } // end switch yys8 - } // end for yyj8 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l + } else { + yyb6 = r.CheckBreak() + } + if yyb6 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Replicas = 0 + } else { + yyv7 := &x.Replicas + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*int32)(yyv7)) = int32(r.DecodeInt(32)) + } + } + for { + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l + } else { + yyb6 = r.CheckBreak() + } + if yyb6 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj6-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1 := z.EncBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = len(x.Selector) != 0 + yyq2[2] = x.TargetSelector != "" + var yynn2 int + if yyr2 || yy2arr2 { + r.EncodeArrayStart(3) + } else { + yynn2 = 1 + for _, b := range yyq2 { + if b { + yynn2++ + } + } + r.EncodeMapStart(yynn2) + yynn2 = 0 + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("replicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[1] { + if x.Selector == nil { + r.EncodeNil() + } else { + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + z.F.EncMapStringStringV(x.Selector, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq2[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("selector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Selector == nil { + r.EncodeNil() + } else { + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + z.F.EncMapStringStringV(x.Selector, false, e) + } + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.TargetSelector)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("targetSelector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym11 := z.EncBinary() + _ = yym11 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.TargetSelector)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ScaleStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1 := z.DecBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2, d) + } + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3 { + case "replicas": + if r.TryDecodeAsNil() { + x.Replicas = 0 + } else { + yyv4 := &x.Replicas + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int32)(yyv4)) = int32(r.DecodeInt(32)) + } + } + case "selector": + if r.TryDecodeAsNil() { + x.Selector = nil + } else { + yyv6 := &x.Selector + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + z.F.DecMapStringStringX(yyv6, false, d) + } + } + case "targetSelector": + if r.TryDecodeAsNil() { + x.TargetSelector = "" + } else { + yyv8 := &x.TargetSelector + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } + } + default: + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -226,7 +490,57 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int32(r.DecodeInt(32)) + yyv11 := &x.Replicas + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*int32)(yyv11)) = int32(r.DecodeInt(32)) + } + } + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l + } else { + yyb10 = r.CheckBreak() + } + if yyb10 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Selector = nil + } else { + yyv13 := &x.Selector + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + z.F.DecMapStringStringX(yyv13, false, d) + } + } + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l + } else { + yyb10 = r.CheckBreak() + } + if yyb10 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TargetSelector = "" + } else { + yyv15 := &x.TargetSelector + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } for { yyj10++ @@ -244,284 +558,6 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep13 := !z.EncBinary() - yy2arr13 := z.EncBasicHandle().StructToArray - var yyq13 [3]bool - _, _, _ = yysep13, yyq13, yy2arr13 - const yyr13 bool = false - yyq13[1] = len(x.Selector) != 0 - yyq13[2] = x.TargetSelector != "" - var yynn13 int - if yyr13 || yy2arr13 { - r.EncodeArrayStart(3) - } else { - yynn13 = 1 - for _, b := range yyq13 { - if b { - yynn13++ - } - } - r.EncodeMapStart(yynn13) - yynn13 = 0 - } - if yyr13 || yy2arr13 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("replicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } - if yyr13 || yy2arr13 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq13[1] { - if x.Selector == nil { - r.EncodeNil() - } else { - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - z.F.EncMapStringStringV(x.Selector, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq13[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("selector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Selector == nil { - r.EncodeNil() - } else { - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - z.F.EncMapStringStringV(x.Selector, false, e) - } - } - } - } - if yyr13 || yy2arr13 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq13[2] { - yym21 := z.EncBinary() - _ = yym21 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.TargetSelector)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq13[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("targetSelector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.TargetSelector)) - } - } - } - if yyr13 || yy2arr13 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ScaleStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym23 := z.DecBinary() - _ = yym23 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct24 := r.ContainerType() - if yyct24 == codecSelferValueTypeMap1234 { - yyl24 := r.ReadMapStart() - if yyl24 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl24, d) - } - } else if yyct24 == codecSelferValueTypeArray1234 { - yyl24 := r.ReadArrayStart() - if yyl24 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl24, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys25Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys25Slc - var yyhl25 bool = l >= 0 - for yyj25 := 0; ; yyj25++ { - if yyhl25 { - if yyj25 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys25Slc = r.DecodeBytes(yys25Slc, true, true) - yys25 := string(yys25Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys25 { - case "replicas": - if r.TryDecodeAsNil() { - x.Replicas = 0 - } else { - x.Replicas = int32(r.DecodeInt(32)) - } - case "selector": - if r.TryDecodeAsNil() { - x.Selector = nil - } else { - yyv27 := &x.Selector - yym28 := z.DecBinary() - _ = yym28 - if false { - } else { - z.F.DecMapStringStringX(yyv27, false, d) - } - } - case "targetSelector": - if r.TryDecodeAsNil() { - x.TargetSelector = "" - } else { - x.TargetSelector = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys25) - } // end switch yys25 - } // end for yyj25 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj30 int - var yyb30 bool - var yyhl30 bool = l >= 0 - yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = r.CheckBreak() - } - if yyb30 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Replicas = 0 - } else { - x.Replicas = int32(r.DecodeInt(32)) - } - yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = r.CheckBreak() - } - if yyb30 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Selector = nil - } else { - yyv32 := &x.Selector - yym33 := z.DecBinary() - _ = yym33 - if false { - } else { - z.F.DecMapStringStringX(yyv32, false, d) - } - } - yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = r.CheckBreak() - } - if yyb30 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TargetSelector = "" - } else { - x.TargetSelector = string(r.DecodeString()) - } - for { - yyj30++ - if yyhl30 { - yyb30 = yyj30 > l - } else { - yyb30 = r.CheckBreak() - } - if yyb30 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj30-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -529,39 +565,39 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym35 := z.EncBinary() - _ = yym35 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep36 := !z.EncBinary() - yy2arr36 := z.EncBasicHandle().StructToArray - var yyq36 [5]bool - _, _, _ = yysep36, yyq36, yy2arr36 - const yyr36 bool = false - yyq36[0] = x.Kind != "" - yyq36[1] = x.APIVersion != "" - yyq36[2] = true - yyq36[3] = true - yyq36[4] = true - var yynn36 int - if yyr36 || yy2arr36 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn36 = 0 - for _, b := range yyq36 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn36++ + yynn2++ } } - r.EncodeMapStart(yynn36) - yynn36 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr36 || yy2arr36 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq36[0] { - yym38 := z.EncBinary() - _ = yym38 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -570,23 +606,23 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq36[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym39 := z.EncBinary() - _ = yym39 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr36 || yy2arr36 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq36[1] { - yym41 := z.EncBinary() - _ = yym41 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -595,70 +631,70 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq36[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym42 := z.EncBinary() - _ = yym42 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr36 || yy2arr36 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq36[2] { - yy44 := &x.ObjectMeta - yy44.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq36[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy45 := &x.ObjectMeta - yy45.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr36 || yy2arr36 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq36[3] { - yy47 := &x.Spec - yy47.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq36[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy48 := &x.Spec - yy48.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr36 || yy2arr36 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq36[4] { - yy50 := &x.Status - yy50.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq36[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy51 := &x.Status - yy51.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr36 || yy2arr36 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -671,25 +707,25 @@ func (x *Scale) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym52 := z.DecBinary() - _ = yym52 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct53 := r.ContainerType() - if yyct53 == codecSelferValueTypeMap1234 { - yyl53 := r.ReadMapStart() - if yyl53 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl53, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct53 == codecSelferValueTypeArray1234 { - yyl53 := r.ReadArrayStart() - if yyl53 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl53, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -701,12 +737,12 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys54Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys54Slc - var yyhl54 bool = l >= 0 - for yyj54 := 0; ; yyj54++ { - if yyhl54 { - if yyj54 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -715,47 +751,59 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys54Slc = r.DecodeBytes(yys54Slc, true, true) - yys54 := string(yys54Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys54 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv57 := &x.ObjectMeta - yyv57.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ScaleSpec{} } else { - yyv58 := &x.Spec - yyv58.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ScaleStatus{} } else { - yyv59 := &x.Status - yyv59.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys54) - } // end switch yys54 - } // end for yyj54 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -763,16 +811,16 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj60 int - var yyb60 bool - var yyhl60 bool = l >= 0 - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb60 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb60 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -780,15 +828,21 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb60 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb60 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -796,15 +850,21 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb60 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb60 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -812,16 +872,16 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv63 := &x.ObjectMeta - yyv63.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb60 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb60 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -829,16 +889,16 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ScaleSpec{} } else { - yyv64 := &x.Spec - yyv64.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb60 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb60 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -846,21 +906,21 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ScaleStatus{} } else { - yyv65 := &x.Status - yyv65.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb60 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb60 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj60-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -872,36 +932,36 @@ func (x *ReplicationControllerDummy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym66 := z.EncBinary() - _ = yym66 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep67 := !z.EncBinary() - yy2arr67 := z.EncBasicHandle().StructToArray - var yyq67 [2]bool - _, _, _ = yysep67, yyq67, yy2arr67 - const yyr67 bool = false - yyq67[0] = x.Kind != "" - yyq67[1] = x.APIVersion != "" - var yynn67 int - if yyr67 || yy2arr67 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn67 = 0 - for _, b := range yyq67 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn67++ + yynn2++ } } - r.EncodeMapStart(yynn67) - yynn67 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr67 || yy2arr67 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq67[0] { - yym69 := z.EncBinary() - _ = yym69 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -910,23 +970,23 @@ func (x *ReplicationControllerDummy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq67[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym70 := z.EncBinary() - _ = yym70 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr67 || yy2arr67 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq67[1] { - yym72 := z.EncBinary() - _ = yym72 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -935,19 +995,19 @@ func (x *ReplicationControllerDummy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq67[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym73 := z.EncBinary() - _ = yym73 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr67 || yy2arr67 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -960,25 +1020,25 @@ func (x *ReplicationControllerDummy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym74 := z.DecBinary() - _ = yym74 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct75 := r.ContainerType() - if yyct75 == codecSelferValueTypeMap1234 { - yyl75 := r.ReadMapStart() - if yyl75 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl75, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct75 == codecSelferValueTypeArray1234 { - yyl75 := r.ReadArrayStart() - if yyl75 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl75, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -990,12 +1050,12 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys76Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys76Slc - var yyhl76 bool = l >= 0 - for yyj76 := 0; ; yyj76++ { - if yyhl76 { - if yyj76 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1004,26 +1064,38 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys76Slc = r.DecodeBytes(yys76Slc, true, true) - yys76 := string(yys76Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys76 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys76) - } // end switch yys76 - } // end for yyj76 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1031,16 +1103,16 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj79 int - var yyb79 bool - var yyhl79 bool = l >= 0 - yyj79++ - if yyhl79 { - yyb79 = yyj79 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb79 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb79 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1048,15 +1120,21 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv9 := &x.Kind + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj79++ - if yyhl79 { - yyb79 = yyj79 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb79 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb79 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1064,20 +1142,26 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv11 := &x.APIVersion + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj79++ - if yyhl79 { - yyb79 = yyj79 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb79 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb79 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj79-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1089,38 +1173,38 @@ func (x *SubresourceReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym82 := z.EncBinary() - _ = yym82 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep83 := !z.EncBinary() - yy2arr83 := z.EncBasicHandle().StructToArray - var yyq83 [4]bool - _, _, _ = yysep83, yyq83, yy2arr83 - const yyr83 bool = false - yyq83[0] = x.Kind != "" - yyq83[1] = x.Name != "" - yyq83[2] = x.APIVersion != "" - yyq83[3] = x.Subresource != "" - var yynn83 int - if yyr83 || yy2arr83 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.Name != "" + yyq2[2] = x.APIVersion != "" + yyq2[3] = x.Subresource != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn83 = 0 - for _, b := range yyq83 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn83++ + yynn2++ } } - r.EncodeMapStart(yynn83) - yynn83 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr83 || yy2arr83 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq83[0] { - yym85 := z.EncBinary() - _ = yym85 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1129,23 +1213,23 @@ func (x *SubresourceReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq83[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym86 := z.EncBinary() - _ = yym86 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr83 || yy2arr83 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq83[1] { - yym88 := z.EncBinary() - _ = yym88 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -1154,23 +1238,23 @@ func (x *SubresourceReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq83[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym89 := z.EncBinary() - _ = yym89 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr83 || yy2arr83 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq83[2] { - yym91 := z.EncBinary() - _ = yym91 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1179,23 +1263,23 @@ func (x *SubresourceReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq83[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym92 := z.EncBinary() - _ = yym92 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr83 || yy2arr83 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq83[3] { - yym94 := z.EncBinary() - _ = yym94 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subresource)) @@ -1204,19 +1288,19 @@ func (x *SubresourceReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq83[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subresource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym95 := z.EncBinary() - _ = yym95 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subresource)) } } } - if yyr83 || yy2arr83 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1229,25 +1313,25 @@ func (x *SubresourceReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym96 := z.DecBinary() - _ = yym96 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct97 := r.ContainerType() - if yyct97 == codecSelferValueTypeMap1234 { - yyl97 := r.ReadMapStart() - if yyl97 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl97, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct97 == codecSelferValueTypeArray1234 { - yyl97 := r.ReadArrayStart() - if yyl97 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl97, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1259,12 +1343,12 @@ func (x *SubresourceReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys98Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys98Slc - var yyhl98 bool = l >= 0 - for yyj98 := 0; ; yyj98++ { - if yyhl98 { - if yyj98 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1273,38 +1357,62 @@ func (x *SubresourceReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys98Slc = r.DecodeBytes(yys98Slc, true, true) - yys98 := string(yys98Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys98 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv6 := &x.Name + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv8 := &x.APIVersion + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "subresource": if r.TryDecodeAsNil() { x.Subresource = "" } else { - x.Subresource = string(r.DecodeString()) + yyv10 := &x.Subresource + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys98) - } // end switch yys98 - } // end for yyj98 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1312,16 +1420,16 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj103 int - var yyb103 bool - var yyhl103 bool = l >= 0 - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb103 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb103 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1329,15 +1437,21 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb103 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb103 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1345,15 +1459,21 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv15 := &x.Name + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb103 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb103 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1361,15 +1481,21 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv17 := &x.APIVersion + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*string)(yyv17)) = r.DecodeString() + } } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb103 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb103 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1377,20 +1503,26 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Subresource = "" } else { - x.Subresource = string(r.DecodeString()) + yyv19 := &x.Subresource + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } for { - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb103 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb103 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj103-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1402,33 +1534,33 @@ func (x *CPUTargetUtilization) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym108 := z.EncBinary() - _ = yym108 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep109 := !z.EncBinary() - yy2arr109 := z.EncBasicHandle().StructToArray - var yyq109 [1]bool - _, _, _ = yysep109, yyq109, yy2arr109 - const yyr109 bool = false - var yynn109 int - if yyr109 || yy2arr109 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn109 = 1 - for _, b := range yyq109 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn109++ + yynn2++ } } - r.EncodeMapStart(yynn109) - yynn109 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr109 || yy2arr109 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym111 := z.EncBinary() - _ = yym111 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.TargetPercentage)) @@ -1437,14 +1569,14 @@ func (x *CPUTargetUtilization) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPercentage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym112 := z.EncBinary() - _ = yym112 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.TargetPercentage)) } } - if yyr109 || yy2arr109 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1457,25 +1589,25 @@ func (x *CPUTargetUtilization) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym113 := z.DecBinary() - _ = yym113 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct114 := r.ContainerType() - if yyct114 == codecSelferValueTypeMap1234 { - yyl114 := r.ReadMapStart() - if yyl114 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl114, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct114 == codecSelferValueTypeArray1234 { - yyl114 := r.ReadArrayStart() - if yyl114 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl114, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1487,12 +1619,12 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys115Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys115Slc - var yyhl115 bool = l >= 0 - for yyj115 := 0; ; yyj115++ { - if yyhl115 { - if yyj115 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1501,20 +1633,26 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys115Slc = r.DecodeBytes(yys115Slc, true, true) - yys115 := string(yys115Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys115 { + switch yys3 { case "targetPercentage": if r.TryDecodeAsNil() { x.TargetPercentage = 0 } else { - x.TargetPercentage = int32(r.DecodeInt(32)) + yyv4 := &x.TargetPercentage + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int32)(yyv4)) = int32(r.DecodeInt(32)) + } } default: - z.DecStructFieldNotFound(-1, yys115) - } // end switch yys115 - } // end for yyj115 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1522,16 +1660,16 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj117 int - var yyb117 bool - var yyhl117 bool = l >= 0 - yyj117++ - if yyhl117 { - yyb117 = yyj117 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb117 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb117 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1539,20 +1677,26 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.TargetPercentage = 0 } else { - x.TargetPercentage = int32(r.DecodeInt(32)) + yyv7 := &x.TargetPercentage + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*int32)(yyv7)) = int32(r.DecodeInt(32)) + } } for { - yyj117++ - if yyhl117 { - yyb117 = yyj117 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb117 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb117 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj117-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1564,33 +1708,33 @@ func (x *CustomMetricTarget) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym119 := z.EncBinary() - _ = yym119 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep120 := !z.EncBinary() - yy2arr120 := z.EncBasicHandle().StructToArray - var yyq120 [2]bool - _, _, _ = yysep120, yyq120, yy2arr120 - const yyr120 bool = false - var yynn120 int - if yyr120 || yy2arr120 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn120 = 2 - for _, b := range yyq120 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn120++ + yynn2++ } } - r.EncodeMapStart(yynn120) - yynn120 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr120 || yy2arr120 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym122 := z.EncBinary() - _ = yym122 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -1599,41 +1743,41 @@ func (x *CustomMetricTarget) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym123 := z.EncBinary() - _ = yym123 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr120 || yy2arr120 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy125 := &x.TargetValue - yym126 := z.EncBinary() - _ = yym126 + yy7 := &x.TargetValue + yym8 := z.EncBinary() + _ = yym8 if false { - } else if z.HasExtensions() && z.EncExt(yy125) { - } else if !yym126 && z.IsJSONHandle() { - z.EncJSONMarshal(yy125) + } else if z.HasExtensions() && z.EncExt(yy7) { + } else if !yym8 && z.IsJSONHandle() { + z.EncJSONMarshal(yy7) } else { - z.EncFallback(yy125) + z.EncFallback(yy7) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy127 := &x.TargetValue - yym128 := z.EncBinary() - _ = yym128 + yy9 := &x.TargetValue + yym10 := z.EncBinary() + _ = yym10 if false { - } else if z.HasExtensions() && z.EncExt(yy127) { - } else if !yym128 && z.IsJSONHandle() { - z.EncJSONMarshal(yy127) + } else if z.HasExtensions() && z.EncExt(yy9) { + } else if !yym10 && z.IsJSONHandle() { + z.EncJSONMarshal(yy9) } else { - z.EncFallback(yy127) + z.EncFallback(yy9) } } - if yyr120 || yy2arr120 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1646,25 +1790,25 @@ func (x *CustomMetricTarget) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym129 := z.DecBinary() - _ = yym129 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct130 := r.ContainerType() - if yyct130 == codecSelferValueTypeMap1234 { - yyl130 := r.ReadMapStart() - if yyl130 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl130, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct130 == codecSelferValueTypeArray1234 { - yyl130 := r.ReadArrayStart() - if yyl130 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl130, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1676,12 +1820,12 @@ func (x *CustomMetricTarget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys131Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys131Slc - var yyhl131 bool = l >= 0 - for yyj131 := 0; ; yyj131++ { - if yyhl131 { - if yyj131 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1690,35 +1834,41 @@ func (x *CustomMetricTarget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys131Slc = r.DecodeBytes(yys131Slc, true, true) - yys131 := string(yys131Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys131 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "value": if r.TryDecodeAsNil() { x.TargetValue = pkg4_resource.Quantity{} } else { - yyv133 := &x.TargetValue - yym134 := z.DecBinary() - _ = yym134 + yyv6 := &x.TargetValue + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv133) { - } else if !yym134 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv133) + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) } else { - z.DecFallback(yyv133, false) + z.DecFallback(yyv6, false) } } default: - z.DecStructFieldNotFound(-1, yys131) - } // end switch yys131 - } // end for yyj131 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1726,16 +1876,16 @@ func (x *CustomMetricTarget) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj135 int - var yyb135 bool - var yyhl135 bool = l >= 0 - yyj135++ - if yyhl135 { - yyb135 = yyj135 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb135 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb135 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1743,15 +1893,21 @@ func (x *CustomMetricTarget) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv9 := &x.Name + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj135++ - if yyhl135 { - yyb135 = yyj135 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb135 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb135 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1759,29 +1915,29 @@ func (x *CustomMetricTarget) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.TargetValue = pkg4_resource.Quantity{} } else { - yyv137 := &x.TargetValue - yym138 := z.DecBinary() - _ = yym138 + yyv11 := &x.TargetValue + yym12 := z.DecBinary() + _ = yym12 if false { - } else if z.HasExtensions() && z.DecExt(yyv137) { - } else if !yym138 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv137) + } else if z.HasExtensions() && z.DecExt(yyv11) { + } else if !yym12 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv11) } else { - z.DecFallback(yyv137, false) + z.DecFallback(yyv11, false) } } for { - yyj135++ - if yyhl135 { - yyb135 = yyj135 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb135 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb135 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj135-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1793,36 +1949,36 @@ func (x *CustomMetricTargetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym139 := z.EncBinary() - _ = yym139 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep140 := !z.EncBinary() - yy2arr140 := z.EncBasicHandle().StructToArray - var yyq140 [1]bool - _, _, _ = yysep140, yyq140, yy2arr140 - const yyr140 bool = false - var yynn140 int - if yyr140 || yy2arr140 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn140 = 1 - for _, b := range yyq140 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn140++ + yynn2++ } } - r.EncodeMapStart(yynn140) - yynn140 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr140 || yy2arr140 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym142 := z.EncBinary() - _ = yym142 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceCustomMetricTarget(([]CustomMetricTarget)(x.Items), e) @@ -1835,15 +1991,15 @@ func (x *CustomMetricTargetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym143 := z.EncBinary() - _ = yym143 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceCustomMetricTarget(([]CustomMetricTarget)(x.Items), e) } } } - if yyr140 || yy2arr140 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1856,25 +2012,25 @@ func (x *CustomMetricTargetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym144 := z.DecBinary() - _ = yym144 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct145 := r.ContainerType() - if yyct145 == codecSelferValueTypeMap1234 { - yyl145 := r.ReadMapStart() - if yyl145 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl145, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct145 == codecSelferValueTypeArray1234 { - yyl145 := r.ReadArrayStart() - if yyl145 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl145, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1886,12 +2042,12 @@ func (x *CustomMetricTargetList) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys146Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys146Slc - var yyhl146 bool = l >= 0 - for yyj146 := 0; ; yyj146++ { - if yyhl146 { - if yyj146 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1900,26 +2056,26 @@ func (x *CustomMetricTargetList) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys146Slc = r.DecodeBytes(yys146Slc, true, true) - yys146 := string(yys146Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys146 { + switch yys3 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv147 := &x.Items - yym148 := z.DecBinary() - _ = yym148 + yyv4 := &x.Items + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceCustomMetricTarget((*[]CustomMetricTarget)(yyv147), d) + h.decSliceCustomMetricTarget((*[]CustomMetricTarget)(yyv4), d) } } default: - z.DecStructFieldNotFound(-1, yys146) - } // end switch yys146 - } // end for yyj146 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1927,16 +2083,16 @@ func (x *CustomMetricTargetList) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj149 int - var yyb149 bool - var yyhl149 bool = l >= 0 - yyj149++ - if yyhl149 { - yyb149 = yyj149 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb149 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb149 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1944,26 +2100,26 @@ func (x *CustomMetricTargetList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Items = nil } else { - yyv150 := &x.Items - yym151 := z.DecBinary() - _ = yym151 + yyv7 := &x.Items + yym8 := z.DecBinary() + _ = yym8 if false { } else { - h.decSliceCustomMetricTarget((*[]CustomMetricTarget)(yyv150), d) + h.decSliceCustomMetricTarget((*[]CustomMetricTarget)(yyv7), d) } } for { - yyj149++ - if yyhl149 { - yyb149 = yyj149 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb149 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb149 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj149-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1975,33 +2131,33 @@ func (x *CustomMetricCurrentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym152 := z.EncBinary() - _ = yym152 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep153 := !z.EncBinary() - yy2arr153 := z.EncBasicHandle().StructToArray - var yyq153 [2]bool - _, _, _ = yysep153, yyq153, yy2arr153 - const yyr153 bool = false - var yynn153 int - if yyr153 || yy2arr153 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn153 = 2 - for _, b := range yyq153 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn153++ + yynn2++ } } - r.EncodeMapStart(yynn153) - yynn153 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr153 || yy2arr153 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym155 := z.EncBinary() - _ = yym155 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -2010,41 +2166,41 @@ func (x *CustomMetricCurrentStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym156 := z.EncBinary() - _ = yym156 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr153 || yy2arr153 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy158 := &x.CurrentValue - yym159 := z.EncBinary() - _ = yym159 + yy7 := &x.CurrentValue + yym8 := z.EncBinary() + _ = yym8 if false { - } else if z.HasExtensions() && z.EncExt(yy158) { - } else if !yym159 && z.IsJSONHandle() { - z.EncJSONMarshal(yy158) + } else if z.HasExtensions() && z.EncExt(yy7) { + } else if !yym8 && z.IsJSONHandle() { + z.EncJSONMarshal(yy7) } else { - z.EncFallback(yy158) + z.EncFallback(yy7) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy160 := &x.CurrentValue - yym161 := z.EncBinary() - _ = yym161 + yy9 := &x.CurrentValue + yym10 := z.EncBinary() + _ = yym10 if false { - } else if z.HasExtensions() && z.EncExt(yy160) { - } else if !yym161 && z.IsJSONHandle() { - z.EncJSONMarshal(yy160) + } else if z.HasExtensions() && z.EncExt(yy9) { + } else if !yym10 && z.IsJSONHandle() { + z.EncJSONMarshal(yy9) } else { - z.EncFallback(yy160) + z.EncFallback(yy9) } } - if yyr153 || yy2arr153 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2057,25 +2213,25 @@ func (x *CustomMetricCurrentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym162 := z.DecBinary() - _ = yym162 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct163 := r.ContainerType() - if yyct163 == codecSelferValueTypeMap1234 { - yyl163 := r.ReadMapStart() - if yyl163 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl163, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct163 == codecSelferValueTypeArray1234 { - yyl163 := r.ReadArrayStart() - if yyl163 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl163, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2087,12 +2243,12 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys164Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys164Slc - var yyhl164 bool = l >= 0 - for yyj164 := 0; ; yyj164++ { - if yyhl164 { - if yyj164 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2101,35 +2257,41 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys164Slc = r.DecodeBytes(yys164Slc, true, true) - yys164 := string(yys164Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys164 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "value": if r.TryDecodeAsNil() { x.CurrentValue = pkg4_resource.Quantity{} } else { - yyv166 := &x.CurrentValue - yym167 := z.DecBinary() - _ = yym167 + yyv6 := &x.CurrentValue + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv166) { - } else if !yym167 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv166) + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) } else { - z.DecFallback(yyv166, false) + z.DecFallback(yyv6, false) } } default: - z.DecStructFieldNotFound(-1, yys164) - } // end switch yys164 - } // end for yyj164 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2137,16 +2299,16 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj168 int - var yyb168 bool - var yyhl168 bool = l >= 0 - yyj168++ - if yyhl168 { - yyb168 = yyj168 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb168 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb168 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2154,15 +2316,21 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv9 := &x.Name + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj168++ - if yyhl168 { - yyb168 = yyj168 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb168 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb168 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2170,29 +2338,29 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.CurrentValue = pkg4_resource.Quantity{} } else { - yyv170 := &x.CurrentValue - yym171 := z.DecBinary() - _ = yym171 + yyv11 := &x.CurrentValue + yym12 := z.DecBinary() + _ = yym12 if false { - } else if z.HasExtensions() && z.DecExt(yyv170) { - } else if !yym171 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv170) + } else if z.HasExtensions() && z.DecExt(yyv11) { + } else if !yym12 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv11) } else { - z.DecFallback(yyv170, false) + z.DecFallback(yyv11, false) } } for { - yyj168++ - if yyhl168 { - yyb168 = yyj168 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb168 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb168 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj168-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2204,36 +2372,36 @@ func (x *CustomMetricCurrentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym172 := z.EncBinary() - _ = yym172 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep173 := !z.EncBinary() - yy2arr173 := z.EncBasicHandle().StructToArray - var yyq173 [1]bool - _, _, _ = yysep173, yyq173, yy2arr173 - const yyr173 bool = false - var yynn173 int - if yyr173 || yy2arr173 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn173 = 1 - for _, b := range yyq173 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn173++ + yynn2++ } } - r.EncodeMapStart(yynn173) - yynn173 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr173 || yy2arr173 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym175 := z.EncBinary() - _ = yym175 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceCustomMetricCurrentStatus(([]CustomMetricCurrentStatus)(x.Items), e) @@ -2246,15 +2414,15 @@ func (x *CustomMetricCurrentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym176 := z.EncBinary() - _ = yym176 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceCustomMetricCurrentStatus(([]CustomMetricCurrentStatus)(x.Items), e) } } } - if yyr173 || yy2arr173 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2267,25 +2435,25 @@ func (x *CustomMetricCurrentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym177 := z.DecBinary() - _ = yym177 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct178 := r.ContainerType() - if yyct178 == codecSelferValueTypeMap1234 { - yyl178 := r.ReadMapStart() - if yyl178 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl178, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct178 == codecSelferValueTypeArray1234 { - yyl178 := r.ReadArrayStart() - if yyl178 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl178, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2297,12 +2465,12 @@ func (x *CustomMetricCurrentStatusList) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys179Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys179Slc - var yyhl179 bool = l >= 0 - for yyj179 := 0; ; yyj179++ { - if yyhl179 { - if yyj179 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2311,26 +2479,26 @@ func (x *CustomMetricCurrentStatusList) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys179Slc = r.DecodeBytes(yys179Slc, true, true) - yys179 := string(yys179Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys179 { + switch yys3 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv180 := &x.Items - yym181 := z.DecBinary() - _ = yym181 + yyv4 := &x.Items + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceCustomMetricCurrentStatus((*[]CustomMetricCurrentStatus)(yyv180), d) + h.decSliceCustomMetricCurrentStatus((*[]CustomMetricCurrentStatus)(yyv4), d) } } default: - z.DecStructFieldNotFound(-1, yys179) - } // end switch yys179 - } // end for yyj179 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2338,16 +2506,16 @@ func (x *CustomMetricCurrentStatusList) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj182 int - var yyb182 bool - var yyhl182 bool = l >= 0 - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb182 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb182 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2355,26 +2523,26 @@ func (x *CustomMetricCurrentStatusList) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv183 := &x.Items - yym184 := z.DecBinary() - _ = yym184 + yyv7 := &x.Items + yym8 := z.DecBinary() + _ = yym8 if false { } else { - h.decSliceCustomMetricCurrentStatus((*[]CustomMetricCurrentStatus)(yyv183), d) + h.decSliceCustomMetricCurrentStatus((*[]CustomMetricCurrentStatus)(yyv7), d) } } for { - yyj182++ - if yyhl182 { - yyb182 = yyj182 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb182 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb182 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj182-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2386,81 +2554,81 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym185 := z.EncBinary() - _ = yym185 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep186 := !z.EncBinary() - yy2arr186 := z.EncBasicHandle().StructToArray - var yyq186 [4]bool - _, _, _ = yysep186, yyq186, yy2arr186 - const yyr186 bool = false - yyq186[1] = x.MinReplicas != nil - yyq186[3] = x.CPUUtilization != nil - var yynn186 int - if yyr186 || yy2arr186 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.MinReplicas != nil + yyq2[3] = x.CPUUtilization != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn186 = 2 - for _, b := range yyq186 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn186++ + yynn2++ } } - r.EncodeMapStart(yynn186) - yynn186 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr186 || yy2arr186 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy188 := &x.ScaleRef - yy188.CodecEncodeSelf(e) + yy4 := &x.ScaleRef + yy4.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scaleRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy189 := &x.ScaleRef - yy189.CodecEncodeSelf(e) + yy6 := &x.ScaleRef + yy6.CodecEncodeSelf(e) } - if yyr186 || yy2arr186 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq186[1] { + if yyq2[1] { if x.MinReplicas == nil { r.EncodeNil() } else { - yy191 := *x.MinReplicas - yym192 := z.EncBinary() - _ = yym192 + yy9 := *x.MinReplicas + yym10 := z.EncBinary() + _ = yym10 if false { } else { - r.EncodeInt(int64(yy191)) + r.EncodeInt(int64(yy9)) } } } else { r.EncodeNil() } } else { - if yyq186[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MinReplicas == nil { r.EncodeNil() } else { - yy193 := *x.MinReplicas - yym194 := z.EncBinary() - _ = yym194 + yy11 := *x.MinReplicas + yym12 := z.EncBinary() + _ = yym12 if false { } else { - r.EncodeInt(int64(yy193)) + r.EncodeInt(int64(yy11)) } } } } - if yyr186 || yy2arr186 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym196 := z.EncBinary() - _ = yym196 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeInt(int64(x.MaxReplicas)) @@ -2469,16 +2637,16 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym197 := z.EncBinary() - _ = yym197 + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeInt(int64(x.MaxReplicas)) } } - if yyr186 || yy2arr186 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq186[3] { + if yyq2[3] { if x.CPUUtilization == nil { r.EncodeNil() } else { @@ -2488,7 +2656,7 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq186[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cpuUtilization")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2499,7 +2667,7 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr186 || yy2arr186 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2512,25 +2680,25 @@ func (x *HorizontalPodAutoscalerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym199 := z.DecBinary() - _ = yym199 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct200 := r.ContainerType() - if yyct200 == codecSelferValueTypeMap1234 { - yyl200 := r.ReadMapStart() - if yyl200 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl200, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct200 == codecSelferValueTypeArray1234 { - yyl200 := r.ReadArrayStart() - if yyl200 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl200, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2542,12 +2710,12 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys201Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys201Slc - var yyhl201 bool = l >= 0 - for yyj201 := 0; ; yyj201++ { - if yyhl201 { - if yyj201 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2556,16 +2724,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys201Slc = r.DecodeBytes(yys201Slc, true, true) - yys201 := string(yys201Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys201 { + switch yys3 { case "scaleRef": if r.TryDecodeAsNil() { x.ScaleRef = SubresourceReference{} } else { - yyv202 := &x.ScaleRef - yyv202.CodecDecodeSelf(d) + yyv4 := &x.ScaleRef + yyv4.CodecDecodeSelf(d) } case "minReplicas": if r.TryDecodeAsNil() { @@ -2576,8 +2744,8 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 if x.MinReplicas == nil { x.MinReplicas = new(int32) } - yym204 := z.DecBinary() - _ = yym204 + yym6 := z.DecBinary() + _ = yym6 if false { } else { *((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32)) @@ -2587,7 +2755,13 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 if r.TryDecodeAsNil() { x.MaxReplicas = 0 } else { - x.MaxReplicas = int32(r.DecodeInt(32)) + yyv7 := &x.MaxReplicas + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*int32)(yyv7)) = int32(r.DecodeInt(32)) + } } case "cpuUtilization": if r.TryDecodeAsNil() { @@ -2601,9 +2775,9 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 x.CPUUtilization.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys201) - } // end switch yys201 - } // end for yyj201 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2611,16 +2785,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj207 int - var yyb207 bool - var yyhl207 bool = l >= 0 - yyj207++ - if yyhl207 { - yyb207 = yyj207 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb207 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb207 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2628,16 +2802,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.ScaleRef = SubresourceReference{} } else { - yyv208 := &x.ScaleRef - yyv208.CodecDecodeSelf(d) + yyv11 := &x.ScaleRef + yyv11.CodecDecodeSelf(d) } - yyj207++ - if yyhl207 { - yyb207 = yyj207 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb207 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb207 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2650,20 +2824,20 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if x.MinReplicas == nil { x.MinReplicas = new(int32) } - yym210 := z.DecBinary() - _ = yym210 + yym13 := z.DecBinary() + _ = yym13 if false { } else { *((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32)) } } - yyj207++ - if yyhl207 { - yyb207 = yyj207 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb207 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb207 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2671,15 +2845,21 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.MaxReplicas = 0 } else { - x.MaxReplicas = int32(r.DecodeInt(32)) + yyv14 := &x.MaxReplicas + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*int32)(yyv14)) = int32(r.DecodeInt(32)) + } } - yyj207++ - if yyhl207 { - yyb207 = yyj207 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb207 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb207 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2695,17 +2875,17 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 x.CPUUtilization.CodecDecodeSelf(d) } for { - yyj207++ - if yyhl207 { - yyb207 = yyj207 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb207 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb207 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj207-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2717,80 +2897,80 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym213 := z.EncBinary() - _ = yym213 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep214 := !z.EncBinary() - yy2arr214 := z.EncBasicHandle().StructToArray - var yyq214 [5]bool - _, _, _ = yysep214, yyq214, yy2arr214 - const yyr214 bool = false - yyq214[0] = x.ObservedGeneration != nil - yyq214[1] = x.LastScaleTime != nil - yyq214[4] = x.CurrentCPUUtilizationPercentage != nil - var yynn214 int - if yyr214 || yy2arr214 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.ObservedGeneration != nil + yyq2[1] = x.LastScaleTime != nil + yyq2[4] = x.CurrentCPUUtilizationPercentage != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn214 = 2 - for _, b := range yyq214 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn214++ + yynn2++ } } - r.EncodeMapStart(yynn214) - yynn214 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr214 || yy2arr214 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq214[0] { + if yyq2[0] { if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy216 := *x.ObservedGeneration - yym217 := z.EncBinary() - _ = yym217 + yy4 := *x.ObservedGeneration + yym5 := z.EncBinary() + _ = yym5 if false { } else { - r.EncodeInt(int64(yy216)) + r.EncodeInt(int64(yy4)) } } } else { r.EncodeNil() } } else { - if yyq214[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy218 := *x.ObservedGeneration - yym219 := z.EncBinary() - _ = yym219 + yy6 := *x.ObservedGeneration + yym7 := z.EncBinary() + _ = yym7 if false { } else { - r.EncodeInt(int64(yy218)) + r.EncodeInt(int64(yy6)) } } } } - if yyr214 || yy2arr214 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq214[1] { + if yyq2[1] { if x.LastScaleTime == nil { r.EncodeNil() } else { - yym221 := z.EncBinary() - _ = yym221 + yym9 := z.EncBinary() + _ = yym9 if false { } else if z.HasExtensions() && z.EncExt(x.LastScaleTime) { - } else if yym221 { + } else if yym9 { z.EncBinaryMarshal(x.LastScaleTime) - } else if !yym221 && z.IsJSONHandle() { + } else if !yym9 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScaleTime) } else { z.EncFallback(x.LastScaleTime) @@ -2800,20 +2980,20 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq214[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastScaleTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LastScaleTime == nil { r.EncodeNil() } else { - yym222 := z.EncBinary() - _ = yym222 + yym10 := z.EncBinary() + _ = yym10 if false { } else if z.HasExtensions() && z.EncExt(x.LastScaleTime) { - } else if yym222 { + } else if yym10 { z.EncBinaryMarshal(x.LastScaleTime) - } else if !yym222 && z.IsJSONHandle() { + } else if !yym10 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScaleTime) } else { z.EncFallback(x.LastScaleTime) @@ -2821,10 +3001,10 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr214 || yy2arr214 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym224 := z.EncBinary() - _ = yym224 + yym12 := z.EncBinary() + _ = yym12 if false { } else { r.EncodeInt(int64(x.CurrentReplicas)) @@ -2833,17 +3013,17 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym225 := z.EncBinary() - _ = yym225 + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeInt(int64(x.CurrentReplicas)) } } - if yyr214 || yy2arr214 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym227 := z.EncBinary() - _ = yym227 + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeInt(int64(x.DesiredReplicas)) @@ -2852,49 +3032,49 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym228 := z.EncBinary() - _ = yym228 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeInt(int64(x.DesiredReplicas)) } } - if yyr214 || yy2arr214 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq214[4] { + if yyq2[4] { if x.CurrentCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy230 := *x.CurrentCPUUtilizationPercentage - yym231 := z.EncBinary() - _ = yym231 + yy18 := *x.CurrentCPUUtilizationPercentage + yym19 := z.EncBinary() + _ = yym19 if false { } else { - r.EncodeInt(int64(yy230)) + r.EncodeInt(int64(yy18)) } } } else { r.EncodeNil() } } else { - if yyq214[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentCPUUtilizationPercentage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CurrentCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy232 := *x.CurrentCPUUtilizationPercentage - yym233 := z.EncBinary() - _ = yym233 + yy20 := *x.CurrentCPUUtilizationPercentage + yym21 := z.EncBinary() + _ = yym21 if false { } else { - r.EncodeInt(int64(yy232)) + r.EncodeInt(int64(yy20)) } } } } - if yyr214 || yy2arr214 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2907,25 +3087,25 @@ func (x *HorizontalPodAutoscalerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym234 := z.DecBinary() - _ = yym234 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct235 := r.ContainerType() - if yyct235 == codecSelferValueTypeMap1234 { - yyl235 := r.ReadMapStart() - if yyl235 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl235, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct235 == codecSelferValueTypeArray1234 { - yyl235 := r.ReadArrayStart() - if yyl235 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl235, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2937,12 +3117,12 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys236Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys236Slc - var yyhl236 bool = l >= 0 - for yyj236 := 0; ; yyj236++ { - if yyhl236 { - if yyj236 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2951,10 +3131,10 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys236Slc = r.DecodeBytes(yys236Slc, true, true) - yys236 := string(yys236Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys236 { + switch yys3 { case "observedGeneration": if r.TryDecodeAsNil() { if x.ObservedGeneration != nil { @@ -2964,8 +3144,8 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym238 := z.DecBinary() - _ = yym238 + yym5 := z.DecBinary() + _ = yym5 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) @@ -2980,13 +3160,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.LastScaleTime == nil { x.LastScaleTime = new(pkg1_v1.Time) } - yym240 := z.DecBinary() - _ = yym240 + yym7 := z.DecBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.DecExt(x.LastScaleTime) { - } else if yym240 { + } else if yym7 { z.DecBinaryUnmarshal(x.LastScaleTime) - } else if !yym240 && z.IsJSONHandle() { + } else if !yym7 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScaleTime) } else { z.DecFallback(x.LastScaleTime, false) @@ -2996,13 +3176,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if r.TryDecodeAsNil() { x.CurrentReplicas = 0 } else { - x.CurrentReplicas = int32(r.DecodeInt(32)) + yyv8 := &x.CurrentReplicas + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*int32)(yyv8)) = int32(r.DecodeInt(32)) + } } case "desiredReplicas": if r.TryDecodeAsNil() { x.DesiredReplicas = 0 } else { - x.DesiredReplicas = int32(r.DecodeInt(32)) + yyv10 := &x.DesiredReplicas + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*int32)(yyv10)) = int32(r.DecodeInt(32)) + } } case "currentCPUUtilizationPercentage": if r.TryDecodeAsNil() { @@ -3013,17 +3205,17 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.CurrentCPUUtilizationPercentage == nil { x.CurrentCPUUtilizationPercentage = new(int32) } - yym244 := z.DecBinary() - _ = yym244 + yym13 := z.DecBinary() + _ = yym13 if false { } else { *((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys236) - } // end switch yys236 - } // end for yyj236 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3031,16 +3223,16 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj245 int - var yyb245 bool - var yyhl245 bool = l >= 0 - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + var yyj14 int + var yyb14 bool + var yyhl14 bool = l >= 0 + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb245 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb245 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3053,20 +3245,20 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym247 := z.DecBinary() - _ = yym247 + yym16 := z.DecBinary() + _ = yym16 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) } } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb245 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb245 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3079,25 +3271,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.LastScaleTime == nil { x.LastScaleTime = new(pkg1_v1.Time) } - yym249 := z.DecBinary() - _ = yym249 + yym18 := z.DecBinary() + _ = yym18 if false { } else if z.HasExtensions() && z.DecExt(x.LastScaleTime) { - } else if yym249 { + } else if yym18 { z.DecBinaryUnmarshal(x.LastScaleTime) - } else if !yym249 && z.IsJSONHandle() { + } else if !yym18 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScaleTime) } else { z.DecFallback(x.LastScaleTime, false) } } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb245 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb245 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3105,15 +3297,21 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.CurrentReplicas = 0 } else { - x.CurrentReplicas = int32(r.DecodeInt(32)) + yyv19 := &x.CurrentReplicas + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*int32)(yyv19)) = int32(r.DecodeInt(32)) + } } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb245 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb245 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3121,15 +3319,21 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.DesiredReplicas = 0 } else { - x.DesiredReplicas = int32(r.DecodeInt(32)) + yyv21 := &x.DesiredReplicas + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*int32)(yyv21)) = int32(r.DecodeInt(32)) + } } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb245 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb245 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3142,25 +3346,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.CurrentCPUUtilizationPercentage == nil { x.CurrentCPUUtilizationPercentage = new(int32) } - yym253 := z.DecBinary() - _ = yym253 + yym24 := z.DecBinary() + _ = yym24 if false { } else { *((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } for { - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb245 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb245 { + if yyb14 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj245-1, "") + z.DecStructFieldNotFound(yyj14-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3172,39 +3376,39 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym254 := z.EncBinary() - _ = yym254 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep255 := !z.EncBinary() - yy2arr255 := z.EncBasicHandle().StructToArray - var yyq255 [5]bool - _, _, _ = yysep255, yyq255, yy2arr255 - const yyr255 bool = false - yyq255[0] = x.Kind != "" - yyq255[1] = x.APIVersion != "" - yyq255[2] = true - yyq255[3] = true - yyq255[4] = true - var yynn255 int - if yyr255 || yy2arr255 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn255 = 0 - for _, b := range yyq255 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn255++ + yynn2++ } } - r.EncodeMapStart(yynn255) - yynn255 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr255 || yy2arr255 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq255[0] { - yym257 := z.EncBinary() - _ = yym257 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -3213,23 +3417,23 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq255[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym258 := z.EncBinary() - _ = yym258 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr255 || yy2arr255 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq255[1] { - yym260 := z.EncBinary() - _ = yym260 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -3238,70 +3442,70 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq255[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym261 := z.EncBinary() - _ = yym261 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr255 || yy2arr255 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq255[2] { - yy263 := &x.ObjectMeta - yy263.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq255[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy264 := &x.ObjectMeta - yy264.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr255 || yy2arr255 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq255[3] { - yy266 := &x.Spec - yy266.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq255[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy267 := &x.Spec - yy267.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr255 || yy2arr255 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq255[4] { - yy269 := &x.Status - yy269.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq255[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy270 := &x.Status - yy270.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr255 || yy2arr255 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3314,25 +3518,25 @@ func (x *HorizontalPodAutoscaler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym271 := z.DecBinary() - _ = yym271 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct272 := r.ContainerType() - if yyct272 == codecSelferValueTypeMap1234 { - yyl272 := r.ReadMapStart() - if yyl272 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl272, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct272 == codecSelferValueTypeArray1234 { - yyl272 := r.ReadArrayStart() - if yyl272 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl272, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3344,12 +3548,12 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys273Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys273Slc - var yyhl273 bool = l >= 0 - for yyj273 := 0; ; yyj273++ { - if yyhl273 { - if yyj273 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -3358,47 +3562,59 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys273Slc = r.DecodeBytes(yys273Slc, true, true) - yys273 := string(yys273Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys273 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv276 := &x.ObjectMeta - yyv276.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = HorizontalPodAutoscalerSpec{} } else { - yyv277 := &x.Spec - yyv277.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = HorizontalPodAutoscalerStatus{} } else { - yyv278 := &x.Status - yyv278.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys273) - } // end switch yys273 - } // end for yyj273 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3406,16 +3622,16 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj279 int - var yyb279 bool - var yyhl279 bool = l >= 0 - yyj279++ - if yyhl279 { - yyb279 = yyj279 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb279 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb279 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3423,15 +3639,21 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj279++ - if yyhl279 { - yyb279 = yyj279 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb279 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb279 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3439,15 +3661,21 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj279++ - if yyhl279 { - yyb279 = yyj279 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb279 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb279 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3455,16 +3683,16 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv282 := &x.ObjectMeta - yyv282.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj279++ - if yyhl279 { - yyb279 = yyj279 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb279 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb279 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3472,16 +3700,16 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Spec = HorizontalPodAutoscalerSpec{} } else { - yyv283 := &x.Spec - yyv283.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj279++ - if yyhl279 { - yyb279 = yyj279 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb279 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb279 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3489,21 +3717,21 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Status = HorizontalPodAutoscalerStatus{} } else { - yyv284 := &x.Status - yyv284.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj279++ - if yyhl279 { - yyb279 = yyj279 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb279 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb279 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj279-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3515,37 +3743,37 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym285 := z.EncBinary() - _ = yym285 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep286 := !z.EncBinary() - yy2arr286 := z.EncBasicHandle().StructToArray - var yyq286 [4]bool - _, _, _ = yysep286, yyq286, yy2arr286 - const yyr286 bool = false - yyq286[0] = x.Kind != "" - yyq286[1] = x.APIVersion != "" - yyq286[2] = true - var yynn286 int - if yyr286 || yy2arr286 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn286 = 1 - for _, b := range yyq286 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn286++ + yynn2++ } } - r.EncodeMapStart(yynn286) - yynn286 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr286 || yy2arr286 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq286[0] { - yym288 := z.EncBinary() - _ = yym288 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -3554,23 +3782,23 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq286[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym289 := z.EncBinary() - _ = yym289 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr286 || yy2arr286 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq286[1] { - yym291 := z.EncBinary() - _ = yym291 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -3579,54 +3807,54 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq286[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym292 := z.EncBinary() - _ = yym292 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr286 || yy2arr286 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq286[2] { - yy294 := &x.ListMeta - yym295 := z.EncBinary() - _ = yym295 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy294) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy294) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq286[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy296 := &x.ListMeta - yym297 := z.EncBinary() - _ = yym297 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy296) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy296) + z.EncFallback(yy12) } } } - if yyr286 || yy2arr286 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym299 := z.EncBinary() - _ = yym299 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceHorizontalPodAutoscaler(([]HorizontalPodAutoscaler)(x.Items), e) @@ -3639,15 +3867,15 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym300 := z.EncBinary() - _ = yym300 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceHorizontalPodAutoscaler(([]HorizontalPodAutoscaler)(x.Items), e) } } } - if yyr286 || yy2arr286 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3660,25 +3888,25 @@ func (x *HorizontalPodAutoscalerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym301 := z.DecBinary() - _ = yym301 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct302 := r.ContainerType() - if yyct302 == codecSelferValueTypeMap1234 { - yyl302 := r.ReadMapStart() - if yyl302 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl302, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct302 == codecSelferValueTypeArray1234 { - yyl302 := r.ReadArrayStart() - if yyl302 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl302, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3690,12 +3918,12 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys303Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys303Slc - var yyhl303 bool = l >= 0 - for yyj303 := 0; ; yyj303++ { - if yyhl303 { - if yyj303 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -3704,51 +3932,63 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys303Slc = r.DecodeBytes(yys303Slc, true, true) - yys303 := string(yys303Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys303 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv306 := &x.ListMeta - yym307 := z.DecBinary() - _ = yym307 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv306) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv306, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv308 := &x.Items - yym309 := z.DecBinary() - _ = yym309 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv308), d) + h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys303) - } // end switch yys303 - } // end for yyj303 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3756,16 +3996,16 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj310 int - var yyb310 bool - var yyhl310 bool = l >= 0 - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb310 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb310 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3773,15 +4013,21 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb310 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb310 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3789,15 +4035,21 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb310 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb310 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3805,22 +4057,22 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv313 := &x.ListMeta - yym314 := z.DecBinary() - _ = yym314 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv313) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv313, false) + z.DecFallback(yyv17, false) } } - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb310 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb310 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3828,26 +4080,26 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv315 := &x.Items - yym316 := z.DecBinary() - _ = yym316 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv315), d) + h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv19), d) } } for { - yyj310++ - if yyhl310 { - yyb310 = yyj310 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb310 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb310 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj310-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3859,39 +4111,39 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym317 := z.EncBinary() - _ = yym317 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep318 := !z.EncBinary() - yy2arr318 := z.EncBasicHandle().StructToArray - var yyq318 [5]bool - _, _, _ = yysep318, yyq318, yy2arr318 - const yyr318 bool = false - yyq318[0] = x.Kind != "" - yyq318[1] = x.APIVersion != "" - yyq318[2] = true - yyq318[3] = x.Description != "" - yyq318[4] = len(x.Versions) != 0 - var yynn318 int - if yyr318 || yy2arr318 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = x.Description != "" + yyq2[4] = len(x.Versions) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn318 = 0 - for _, b := range yyq318 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn318++ + yynn2++ } } - r.EncodeMapStart(yynn318) - yynn318 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr318 || yy2arr318 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq318[0] { - yym320 := z.EncBinary() - _ = yym320 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -3900,23 +4152,23 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq318[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym321 := z.EncBinary() - _ = yym321 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr318 || yy2arr318 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq318[1] { - yym323 := z.EncBinary() - _ = yym323 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -3925,40 +4177,40 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq318[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym324 := z.EncBinary() - _ = yym324 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr318 || yy2arr318 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq318[2] { - yy326 := &x.ObjectMeta - yy326.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq318[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy327 := &x.ObjectMeta - yy327.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr318 || yy2arr318 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq318[3] { - yym329 := z.EncBinary() - _ = yym329 + if yyq2[3] { + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Description)) @@ -3967,26 +4219,26 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq318[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("description")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym330 := z.EncBinary() - _ = yym330 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Description)) } } } - if yyr318 || yy2arr318 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq318[4] { + if yyq2[4] { if x.Versions == nil { r.EncodeNil() } else { - yym332 := z.EncBinary() - _ = yym332 + yym18 := z.EncBinary() + _ = yym18 if false { } else { h.encSliceAPIVersion(([]APIVersion)(x.Versions), e) @@ -3996,15 +4248,15 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq318[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("versions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Versions == nil { r.EncodeNil() } else { - yym333 := z.EncBinary() - _ = yym333 + yym19 := z.EncBinary() + _ = yym19 if false { } else { h.encSliceAPIVersion(([]APIVersion)(x.Versions), e) @@ -4012,7 +4264,7 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr318 || yy2arr318 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4025,25 +4277,25 @@ func (x *ThirdPartyResource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym334 := z.DecBinary() - _ = yym334 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct335 := r.ContainerType() - if yyct335 == codecSelferValueTypeMap1234 { - yyl335 := r.ReadMapStart() - if yyl335 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl335, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct335 == codecSelferValueTypeArray1234 { - yyl335 := r.ReadArrayStart() - if yyl335 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl335, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4055,12 +4307,12 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys336Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys336Slc - var yyhl336 bool = l >= 0 - for yyj336 := 0; ; yyj336++ { - if yyhl336 { - if yyj336 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -4069,51 +4321,69 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys336Slc = r.DecodeBytes(yys336Slc, true, true) - yys336 := string(yys336Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys336 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv339 := &x.ObjectMeta - yyv339.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "description": if r.TryDecodeAsNil() { x.Description = "" } else { - x.Description = string(r.DecodeString()) + yyv9 := &x.Description + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } case "versions": if r.TryDecodeAsNil() { x.Versions = nil } else { - yyv341 := &x.Versions - yym342 := z.DecBinary() - _ = yym342 + yyv11 := &x.Versions + yym12 := z.DecBinary() + _ = yym12 if false { } else { - h.decSliceAPIVersion((*[]APIVersion)(yyv341), d) + h.decSliceAPIVersion((*[]APIVersion)(yyv11), d) } } default: - z.DecStructFieldNotFound(-1, yys336) - } // end switch yys336 - } // end for yyj336 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4121,16 +4391,16 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj343 int - var yyb343 bool - var yyhl343 bool = l >= 0 - yyj343++ - if yyhl343 { - yyb343 = yyj343 > l + var yyj13 int + var yyb13 bool + var yyhl13 bool = l >= 0 + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb343 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb343 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4138,15 +4408,21 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv14 := &x.Kind + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj343++ - if yyhl343 { - yyb343 = yyj343 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb343 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb343 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4154,15 +4430,21 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv16 := &x.APIVersion + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } - yyj343++ - if yyhl343 { - yyb343 = yyj343 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb343 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb343 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4170,16 +4452,16 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv346 := &x.ObjectMeta - yyv346.CodecDecodeSelf(d) + yyv18 := &x.ObjectMeta + yyv18.CodecDecodeSelf(d) } - yyj343++ - if yyhl343 { - yyb343 = yyj343 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb343 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb343 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4187,15 +4469,21 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Description = "" } else { - x.Description = string(r.DecodeString()) + yyv19 := &x.Description + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } - yyj343++ - if yyhl343 { - yyb343 = yyj343 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb343 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb343 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4203,26 +4491,26 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Versions = nil } else { - yyv348 := &x.Versions - yym349 := z.DecBinary() - _ = yym349 + yyv21 := &x.Versions + yym22 := z.DecBinary() + _ = yym22 if false { } else { - h.decSliceAPIVersion((*[]APIVersion)(yyv348), d) + h.decSliceAPIVersion((*[]APIVersion)(yyv21), d) } } for { - yyj343++ - if yyhl343 { - yyb343 = yyj343 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb343 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb343 { + if yyb13 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj343-1, "") + z.DecStructFieldNotFound(yyj13-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4234,37 +4522,37 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym350 := z.EncBinary() - _ = yym350 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep351 := !z.EncBinary() - yy2arr351 := z.EncBasicHandle().StructToArray - var yyq351 [4]bool - _, _, _ = yysep351, yyq351, yy2arr351 - const yyr351 bool = false - yyq351[0] = x.Kind != "" - yyq351[1] = x.APIVersion != "" - yyq351[2] = true - var yynn351 int - if yyr351 || yy2arr351 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn351 = 1 - for _, b := range yyq351 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn351++ + yynn2++ } } - r.EncodeMapStart(yynn351) - yynn351 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr351 || yy2arr351 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq351[0] { - yym353 := z.EncBinary() - _ = yym353 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -4273,23 +4561,23 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq351[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym354 := z.EncBinary() - _ = yym354 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr351 || yy2arr351 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq351[1] { - yym356 := z.EncBinary() - _ = yym356 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -4298,54 +4586,54 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq351[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym357 := z.EncBinary() - _ = yym357 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr351 || yy2arr351 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq351[2] { - yy359 := &x.ListMeta - yym360 := z.EncBinary() - _ = yym360 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy359) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy359) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq351[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy361 := &x.ListMeta - yym362 := z.EncBinary() - _ = yym362 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy361) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy361) + z.EncFallback(yy12) } } } - if yyr351 || yy2arr351 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym364 := z.EncBinary() - _ = yym364 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceThirdPartyResource(([]ThirdPartyResource)(x.Items), e) @@ -4358,15 +4646,15 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym365 := z.EncBinary() - _ = yym365 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceThirdPartyResource(([]ThirdPartyResource)(x.Items), e) } } } - if yyr351 || yy2arr351 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4379,25 +4667,25 @@ func (x *ThirdPartyResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym366 := z.DecBinary() - _ = yym366 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct367 := r.ContainerType() - if yyct367 == codecSelferValueTypeMap1234 { - yyl367 := r.ReadMapStart() - if yyl367 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl367, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct367 == codecSelferValueTypeArray1234 { - yyl367 := r.ReadArrayStart() - if yyl367 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl367, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4409,12 +4697,12 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys368Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys368Slc - var yyhl368 bool = l >= 0 - for yyj368 := 0; ; yyj368++ { - if yyhl368 { - if yyj368 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -4423,51 +4711,63 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys368Slc = r.DecodeBytes(yys368Slc, true, true) - yys368 := string(yys368Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys368 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv371 := &x.ListMeta - yym372 := z.DecBinary() - _ = yym372 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv371) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv371, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv373 := &x.Items - yym374 := z.DecBinary() - _ = yym374 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv373), d) + h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys368) - } // end switch yys368 - } // end for yyj368 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4475,16 +4775,16 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj375 int - var yyb375 bool - var yyhl375 bool = l >= 0 - yyj375++ - if yyhl375 { - yyb375 = yyj375 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb375 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb375 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4492,15 +4792,21 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj375++ - if yyhl375 { - yyb375 = yyj375 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb375 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb375 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4508,15 +4814,21 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj375++ - if yyhl375 { - yyb375 = yyj375 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb375 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb375 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4524,22 +4836,22 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv378 := &x.ListMeta - yym379 := z.DecBinary() - _ = yym379 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv378) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv378, false) + z.DecFallback(yyv17, false) } } - yyj375++ - if yyhl375 { - yyb375 = yyj375 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb375 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb375 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4547,26 +4859,26 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Items = nil } else { - yyv380 := &x.Items - yym381 := z.DecBinary() - _ = yym381 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv380), d) + h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv19), d) } } for { - yyj375++ - if yyhl375 { - yyb375 = yyj375 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb375 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb375 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj375-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4578,35 +4890,35 @@ func (x *APIVersion) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym382 := z.EncBinary() - _ = yym382 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep383 := !z.EncBinary() - yy2arr383 := z.EncBasicHandle().StructToArray - var yyq383 [1]bool - _, _, _ = yysep383, yyq383, yy2arr383 - const yyr383 bool = false - yyq383[0] = x.Name != "" - var yynn383 int - if yyr383 || yy2arr383 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Name != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn383 = 0 - for _, b := range yyq383 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn383++ + yynn2++ } } - r.EncodeMapStart(yynn383) - yynn383 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr383 || yy2arr383 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq383[0] { - yym385 := z.EncBinary() - _ = yym385 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -4615,19 +4927,19 @@ func (x *APIVersion) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq383[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym386 := z.EncBinary() - _ = yym386 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr383 || yy2arr383 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4640,25 +4952,25 @@ func (x *APIVersion) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym387 := z.DecBinary() - _ = yym387 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct388 := r.ContainerType() - if yyct388 == codecSelferValueTypeMap1234 { - yyl388 := r.ReadMapStart() - if yyl388 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl388, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct388 == codecSelferValueTypeArray1234 { - yyl388 := r.ReadArrayStart() - if yyl388 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl388, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4670,12 +4982,12 @@ func (x *APIVersion) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys389Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys389Slc - var yyhl389 bool = l >= 0 - for yyj389 := 0; ; yyj389++ { - if yyhl389 { - if yyj389 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -4684,20 +4996,26 @@ func (x *APIVersion) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys389Slc = r.DecodeBytes(yys389Slc, true, true) - yys389 := string(yys389Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys389 { + switch yys3 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv4 := &x.Name + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys389) - } // end switch yys389 - } // end for yyj389 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4705,16 +5023,16 @@ func (x *APIVersion) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj391 int - var yyb391 bool - var yyhl391 bool = l >= 0 - yyj391++ - if yyhl391 { - yyb391 = yyj391 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb391 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb391 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4722,20 +5040,26 @@ func (x *APIVersion) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv7 := &x.Name + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*string)(yyv7)) = r.DecodeString() + } } for { - yyj391++ - if yyhl391 { - yyb391 = yyj391 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb391 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb391 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj391-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4747,38 +5071,38 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym393 := z.EncBinary() - _ = yym393 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep394 := !z.EncBinary() - yy2arr394 := z.EncBasicHandle().StructToArray - var yyq394 [4]bool - _, _, _ = yysep394, yyq394, yy2arr394 - const yyr394 bool = false - yyq394[0] = x.Kind != "" - yyq394[1] = x.APIVersion != "" - yyq394[2] = true - yyq394[3] = len(x.Data) != 0 - var yynn394 int - if yyr394 || yy2arr394 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = len(x.Data) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn394 = 0 - for _, b := range yyq394 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn394++ + yynn2++ } } - r.EncodeMapStart(yynn394) - yynn394 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr394 || yy2arr394 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq394[0] { - yym396 := z.EncBinary() - _ = yym396 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -4787,23 +5111,23 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq394[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym397 := z.EncBinary() - _ = yym397 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr394 || yy2arr394 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq394[1] { - yym399 := z.EncBinary() - _ = yym399 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -4812,43 +5136,43 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq394[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym400 := z.EncBinary() - _ = yym400 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr394 || yy2arr394 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq394[2] { - yy402 := &x.ObjectMeta - yy402.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq394[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy403 := &x.ObjectMeta - yy403.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr394 || yy2arr394 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq394[3] { + if yyq2[3] { if x.Data == nil { r.EncodeNil() } else { - yym405 := z.EncBinary() - _ = yym405 + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -4858,15 +5182,15 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq394[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym406 := z.EncBinary() - _ = yym406 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -4874,7 +5198,7 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr394 || yy2arr394 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4887,25 +5211,25 @@ func (x *ThirdPartyResourceData) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym407 := z.DecBinary() - _ = yym407 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct408 := r.ContainerType() - if yyct408 == codecSelferValueTypeMap1234 { - yyl408 := r.ReadMapStart() - if yyl408 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl408, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct408 == codecSelferValueTypeArray1234 { - yyl408 := r.ReadArrayStart() - if yyl408 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl408, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4917,12 +5241,12 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys409Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys409Slc - var yyhl409 bool = l >= 0 - for yyj409 := 0; ; yyj409++ { - if yyhl409 { - if yyj409 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -4931,45 +5255,57 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys409Slc = r.DecodeBytes(yys409Slc, true, true) - yys409 := string(yys409Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys409 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv412 := &x.ObjectMeta - yyv412.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv413 := &x.Data - yym414 := z.DecBinary() - _ = yym414 + yyv9 := &x.Data + yym10 := z.DecBinary() + _ = yym10 if false { } else { - *yyv413 = r.DecodeBytes(*(*[]byte)(yyv413), false, false) + *yyv9 = r.DecodeBytes(*(*[]byte)(yyv9), false, false) } } default: - z.DecStructFieldNotFound(-1, yys409) - } // end switch yys409 - } // end for yyj409 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4977,16 +5313,16 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj415 int - var yyb415 bool - var yyhl415 bool = l >= 0 - yyj415++ - if yyhl415 { - yyb415 = yyj415 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb415 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb415 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4994,15 +5330,21 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj415++ - if yyhl415 { - yyb415 = yyj415 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb415 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb415 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5010,15 +5352,21 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj415++ - if yyhl415 { - yyb415 = yyj415 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb415 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb415 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5026,16 +5374,16 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv418 := &x.ObjectMeta - yyv418.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj415++ - if yyhl415 { - yyb415 = yyj415 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb415 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb415 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5043,26 +5391,26 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Data = nil } else { - yyv419 := &x.Data - yym420 := z.DecBinary() - _ = yym420 + yyv17 := &x.Data + yym18 := z.DecBinary() + _ = yym18 if false { } else { - *yyv419 = r.DecodeBytes(*(*[]byte)(yyv419), false, false) + *yyv17 = r.DecodeBytes(*(*[]byte)(yyv17), false, false) } } for { - yyj415++ - if yyhl415 { - yyb415 = yyj415 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb415 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb415 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj415-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5074,39 +5422,39 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym421 := z.EncBinary() - _ = yym421 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep422 := !z.EncBinary() - yy2arr422 := z.EncBasicHandle().StructToArray - var yyq422 [5]bool - _, _, _ = yysep422, yyq422, yy2arr422 - const yyr422 bool = false - yyq422[0] = x.Kind != "" - yyq422[1] = x.APIVersion != "" - yyq422[2] = true - yyq422[3] = true - yyq422[4] = true - var yynn422 int - if yyr422 || yy2arr422 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn422 = 0 - for _, b := range yyq422 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn422++ + yynn2++ } } - r.EncodeMapStart(yynn422) - yynn422 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr422 || yy2arr422 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq422[0] { - yym424 := z.EncBinary() - _ = yym424 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -5115,23 +5463,23 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq422[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym425 := z.EncBinary() - _ = yym425 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr422 || yy2arr422 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq422[1] { - yym427 := z.EncBinary() - _ = yym427 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -5140,70 +5488,70 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq422[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym428 := z.EncBinary() - _ = yym428 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr422 || yy2arr422 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq422[2] { - yy430 := &x.ObjectMeta - yy430.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq422[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy431 := &x.ObjectMeta - yy431.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr422 || yy2arr422 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq422[3] { - yy433 := &x.Spec - yy433.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq422[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy434 := &x.Spec - yy434.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr422 || yy2arr422 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq422[4] { - yy436 := &x.Status - yy436.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq422[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy437 := &x.Status - yy437.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr422 || yy2arr422 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5216,25 +5564,25 @@ func (x *Deployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym438 := z.DecBinary() - _ = yym438 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct439 := r.ContainerType() - if yyct439 == codecSelferValueTypeMap1234 { - yyl439 := r.ReadMapStart() - if yyl439 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl439, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct439 == codecSelferValueTypeArray1234 { - yyl439 := r.ReadArrayStart() - if yyl439 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl439, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5246,12 +5594,12 @@ func (x *Deployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys440Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys440Slc - var yyhl440 bool = l >= 0 - for yyj440 := 0; ; yyj440++ { - if yyhl440 { - if yyj440 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -5260,47 +5608,59 @@ func (x *Deployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys440Slc = r.DecodeBytes(yys440Slc, true, true) - yys440 := string(yys440Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys440 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv443 := &x.ObjectMeta - yyv443.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = DeploymentSpec{} } else { - yyv444 := &x.Spec - yyv444.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = DeploymentStatus{} } else { - yyv445 := &x.Status - yyv445.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys440) - } // end switch yys440 - } // end for yyj440 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5308,16 +5668,16 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj446 int - var yyb446 bool - var yyhl446 bool = l >= 0 - yyj446++ - if yyhl446 { - yyb446 = yyj446 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb446 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb446 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5325,15 +5685,21 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj446++ - if yyhl446 { - yyb446 = yyj446 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb446 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb446 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5341,15 +5707,21 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj446++ - if yyhl446 { - yyb446 = yyj446 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb446 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb446 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5357,16 +5729,16 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv449 := &x.ObjectMeta - yyv449.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj446++ - if yyhl446 { - yyb446 = yyj446 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb446 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb446 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5374,16 +5746,16 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = DeploymentSpec{} } else { - yyv450 := &x.Spec - yyv450.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj446++ - if yyhl446 { - yyb446 = yyj446 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb446 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb446 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5391,21 +5763,21 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = DeploymentStatus{} } else { - yyv451 := &x.Status - yyv451.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj446++ - if yyhl446 { - yyb446 = yyj446 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb446 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb446 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj446-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5417,80 +5789,80 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym452 := z.EncBinary() - _ = yym452 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep453 := !z.EncBinary() - yy2arr453 := z.EncBasicHandle().StructToArray - var yyq453 [9]bool - _, _, _ = yysep453, yyq453, yy2arr453 - const yyr453 bool = false - yyq453[0] = x.Replicas != nil - yyq453[1] = x.Selector != nil - yyq453[3] = true - yyq453[4] = x.MinReadySeconds != 0 - yyq453[5] = x.RevisionHistoryLimit != nil - yyq453[6] = x.Paused != false - yyq453[7] = x.RollbackTo != nil - yyq453[8] = x.ProgressDeadlineSeconds != nil - var yynn453 int - if yyr453 || yy2arr453 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [9]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Replicas != nil + yyq2[1] = x.Selector != nil + yyq2[3] = true + yyq2[4] = x.MinReadySeconds != 0 + yyq2[5] = x.RevisionHistoryLimit != nil + yyq2[6] = x.Paused != false + yyq2[7] = x.RollbackTo != nil + yyq2[8] = x.ProgressDeadlineSeconds != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(9) } else { - yynn453 = 1 - for _, b := range yyq453 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn453++ + yynn2++ } } - r.EncodeMapStart(yynn453) - yynn453 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr453 || yy2arr453 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq453[0] { + if yyq2[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy455 := *x.Replicas - yym456 := z.EncBinary() - _ = yym456 + yy4 := *x.Replicas + yym5 := z.EncBinary() + _ = yym5 if false { } else { - r.EncodeInt(int64(yy455)) + r.EncodeInt(int64(yy4)) } } } else { r.EncodeNil() } } else { - if yyq453[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy457 := *x.Replicas - yym458 := z.EncBinary() - _ = yym458 + yy6 := *x.Replicas + yym7 := z.EncBinary() + _ = yym7 if false { } else { - r.EncodeInt(int64(yy457)) + r.EncodeInt(int64(yy6)) } } } } - if yyr453 || yy2arr453 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq453[1] { + if yyq2[1] { if x.Selector == nil { r.EncodeNil() } else { - yym460 := z.EncBinary() - _ = yym460 + yym9 := z.EncBinary() + _ = yym9 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -5501,15 +5873,15 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq453[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym461 := z.EncBinary() - _ = yym461 + yym10 := z.EncBinary() + _ = yym10 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -5518,39 +5890,39 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr453 || yy2arr453 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy463 := &x.Template - yy463.CodecEncodeSelf(e) + yy12 := &x.Template + yy12.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy464 := &x.Template - yy464.CodecEncodeSelf(e) + yy14 := &x.Template + yy14.CodecEncodeSelf(e) } - if yyr453 || yy2arr453 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq453[3] { - yy466 := &x.Strategy - yy466.CodecEncodeSelf(e) + if yyq2[3] { + yy17 := &x.Strategy + yy17.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq453[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("strategy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy467 := &x.Strategy - yy467.CodecEncodeSelf(e) + yy19 := &x.Strategy + yy19.CodecEncodeSelf(e) } } - if yyr453 || yy2arr453 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq453[4] { - yym469 := z.EncBinary() - _ = yym469 + if yyq2[4] { + yym22 := z.EncBinary() + _ = yym22 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -5559,58 +5931,58 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq453[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym470 := z.EncBinary() - _ = yym470 + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) } } } - if yyr453 || yy2arr453 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq453[5] { + if yyq2[5] { if x.RevisionHistoryLimit == nil { r.EncodeNil() } else { - yy472 := *x.RevisionHistoryLimit - yym473 := z.EncBinary() - _ = yym473 + yy25 := *x.RevisionHistoryLimit + yym26 := z.EncBinary() + _ = yym26 if false { } else { - r.EncodeInt(int64(yy472)) + r.EncodeInt(int64(yy25)) } } } else { r.EncodeNil() } } else { - if yyq453[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revisionHistoryLimit")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RevisionHistoryLimit == nil { r.EncodeNil() } else { - yy474 := *x.RevisionHistoryLimit - yym475 := z.EncBinary() - _ = yym475 + yy27 := *x.RevisionHistoryLimit + yym28 := z.EncBinary() + _ = yym28 if false { } else { - r.EncodeInt(int64(yy474)) + r.EncodeInt(int64(yy27)) } } } } - if yyr453 || yy2arr453 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq453[6] { - yym477 := z.EncBinary() - _ = yym477 + if yyq2[6] { + yym30 := z.EncBinary() + _ = yym30 if false { } else { r.EncodeBool(bool(x.Paused)) @@ -5619,21 +5991,21 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq453[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("paused")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym478 := z.EncBinary() - _ = yym478 + yym31 := z.EncBinary() + _ = yym31 if false { } else { r.EncodeBool(bool(x.Paused)) } } } - if yyr453 || yy2arr453 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq453[7] { + if yyq2[7] { if x.RollbackTo == nil { r.EncodeNil() } else { @@ -5643,7 +6015,7 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq453[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollbackTo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -5654,42 +6026,42 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr453 || yy2arr453 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq453[8] { + if yyq2[8] { if x.ProgressDeadlineSeconds == nil { r.EncodeNil() } else { - yy481 := *x.ProgressDeadlineSeconds - yym482 := z.EncBinary() - _ = yym482 + yy36 := *x.ProgressDeadlineSeconds + yym37 := z.EncBinary() + _ = yym37 if false { } else { - r.EncodeInt(int64(yy481)) + r.EncodeInt(int64(yy36)) } } } else { r.EncodeNil() } } else { - if yyq453[8] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("progressDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ProgressDeadlineSeconds == nil { r.EncodeNil() } else { - yy483 := *x.ProgressDeadlineSeconds - yym484 := z.EncBinary() - _ = yym484 + yy38 := *x.ProgressDeadlineSeconds + yym39 := z.EncBinary() + _ = yym39 if false { } else { - r.EncodeInt(int64(yy483)) + r.EncodeInt(int64(yy38)) } } } } - if yyr453 || yy2arr453 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5702,25 +6074,25 @@ func (x *DeploymentSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym485 := z.DecBinary() - _ = yym485 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct486 := r.ContainerType() - if yyct486 == codecSelferValueTypeMap1234 { - yyl486 := r.ReadMapStart() - if yyl486 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl486, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct486 == codecSelferValueTypeArray1234 { - yyl486 := r.ReadArrayStart() - if yyl486 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl486, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5732,12 +6104,12 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys487Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys487Slc - var yyhl487 bool = l >= 0 - for yyj487 := 0; ; yyj487++ { - if yyhl487 { - if yyj487 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -5746,10 +6118,10 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys487Slc = r.DecodeBytes(yys487Slc, true, true) - yys487 := string(yys487Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys487 { + switch yys3 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -5759,8 +6131,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym489 := z.DecBinary() - _ = yym489 + yym5 := z.DecBinary() + _ = yym5 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -5775,8 +6147,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_v1.LabelSelector) } - yym491 := z.DecBinary() - _ = yym491 + yym7 := z.DecBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -5787,21 +6159,27 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv492 := &x.Template - yyv492.CodecDecodeSelf(d) + yyv8 := &x.Template + yyv8.CodecDecodeSelf(d) } case "strategy": if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv493 := &x.Strategy - yyv493.CodecDecodeSelf(d) + yyv9 := &x.Strategy + yyv9.CodecDecodeSelf(d) } case "minReadySeconds": if r.TryDecodeAsNil() { x.MinReadySeconds = 0 } else { - x.MinReadySeconds = int32(r.DecodeInt(32)) + yyv10 := &x.MinReadySeconds + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*int32)(yyv10)) = int32(r.DecodeInt(32)) + } } case "revisionHistoryLimit": if r.TryDecodeAsNil() { @@ -5812,8 +6190,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym496 := z.DecBinary() - _ = yym496 + yym13 := z.DecBinary() + _ = yym13 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) @@ -5823,7 +6201,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Paused = false } else { - x.Paused = bool(r.DecodeBool()) + yyv14 := &x.Paused + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*bool)(yyv14)) = r.DecodeBool() + } } case "rollbackTo": if r.TryDecodeAsNil() { @@ -5845,17 +6229,17 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ProgressDeadlineSeconds == nil { x.ProgressDeadlineSeconds = new(int32) } - yym500 := z.DecBinary() - _ = yym500 + yym18 := z.DecBinary() + _ = yym18 if false { } else { *((*int32)(x.ProgressDeadlineSeconds)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys487) - } // end switch yys487 - } // end for yyj487 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5863,16 +6247,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj501 int - var yyb501 bool - var yyhl501 bool = l >= 0 - yyj501++ - if yyhl501 { - yyb501 = yyj501 > l + var yyj19 int + var yyb19 bool + var yyhl19 bool = l >= 0 + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb501 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb501 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5885,20 +6269,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym503 := z.DecBinary() - _ = yym503 + yym21 := z.DecBinary() + _ = yym21 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj501++ - if yyhl501 { - yyb501 = yyj501 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb501 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb501 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5911,21 +6295,21 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_v1.LabelSelector) } - yym505 := z.DecBinary() - _ = yym505 + yym23 := z.DecBinary() + _ = yym23 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj501++ - if yyhl501 { - yyb501 = yyj501 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb501 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb501 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5933,16 +6317,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv506 := &x.Template - yyv506.CodecDecodeSelf(d) + yyv24 := &x.Template + yyv24.CodecDecodeSelf(d) } - yyj501++ - if yyhl501 { - yyb501 = yyj501 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb501 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb501 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5950,16 +6334,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv507 := &x.Strategy - yyv507.CodecDecodeSelf(d) + yyv25 := &x.Strategy + yyv25.CodecDecodeSelf(d) } - yyj501++ - if yyhl501 { - yyb501 = yyj501 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb501 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb501 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5967,15 +6351,21 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MinReadySeconds = 0 } else { - x.MinReadySeconds = int32(r.DecodeInt(32)) + yyv26 := &x.MinReadySeconds + yym27 := z.DecBinary() + _ = yym27 + if false { + } else { + *((*int32)(yyv26)) = int32(r.DecodeInt(32)) + } } - yyj501++ - if yyhl501 { - yyb501 = yyj501 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb501 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb501 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5988,20 +6378,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym510 := z.DecBinary() - _ = yym510 + yym29 := z.DecBinary() + _ = yym29 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) } } - yyj501++ - if yyhl501 { - yyb501 = yyj501 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb501 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb501 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6009,15 +6399,21 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Paused = false } else { - x.Paused = bool(r.DecodeBool()) + yyv30 := &x.Paused + yym31 := z.DecBinary() + _ = yym31 + if false { + } else { + *((*bool)(yyv30)) = r.DecodeBool() + } } - yyj501++ - if yyhl501 { - yyb501 = yyj501 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb501 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb501 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6032,13 +6428,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RollbackTo.CodecDecodeSelf(d) } - yyj501++ - if yyhl501 { - yyb501 = yyj501 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb501 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb501 { + if yyb19 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6051,25 +6447,25 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ProgressDeadlineSeconds == nil { x.ProgressDeadlineSeconds = new(int32) } - yym514 := z.DecBinary() - _ = yym514 + yym34 := z.DecBinary() + _ = yym34 if false { } else { *((*int32)(x.ProgressDeadlineSeconds)) = int32(r.DecodeInt(32)) } } for { - yyj501++ - if yyhl501 { - yyb501 = yyj501 > l + yyj19++ + if yyhl19 { + yyb19 = yyj19 > l } else { - yyb501 = r.CheckBreak() + yyb19 = r.CheckBreak() } - if yyb501 { + if yyb19 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj501-1, "") + z.DecStructFieldNotFound(yyj19-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6081,37 +6477,37 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym515 := z.EncBinary() - _ = yym515 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep516 := !z.EncBinary() - yy2arr516 := z.EncBasicHandle().StructToArray - var yyq516 [5]bool - _, _, _ = yysep516, yyq516, yy2arr516 - const yyr516 bool = false - yyq516[0] = x.Kind != "" - yyq516[1] = x.APIVersion != "" - yyq516[3] = len(x.UpdatedAnnotations) != 0 - var yynn516 int - if yyr516 || yy2arr516 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[3] = len(x.UpdatedAnnotations) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn516 = 2 - for _, b := range yyq516 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn516++ + yynn2++ } } - r.EncodeMapStart(yynn516) - yynn516 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr516 || yy2arr516 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq516[0] { - yym518 := z.EncBinary() - _ = yym518 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6120,23 +6516,23 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq516[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym519 := z.EncBinary() - _ = yym519 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr516 || yy2arr516 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq516[1] { - yym521 := z.EncBinary() - _ = yym521 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6145,22 +6541,22 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq516[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym522 := z.EncBinary() - _ = yym522 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr516 || yy2arr516 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym524 := z.EncBinary() - _ = yym524 + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -6169,21 +6565,21 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym525 := z.EncBinary() - _ = yym525 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr516 || yy2arr516 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq516[3] { + if yyq2[3] { if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym527 := z.EncBinary() - _ = yym527 + yym13 := z.EncBinary() + _ = yym13 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -6193,15 +6589,15 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq516[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("updatedAnnotations")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym528 := z.EncBinary() - _ = yym528 + yym14 := z.EncBinary() + _ = yym14 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -6209,18 +6605,18 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr516 || yy2arr516 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy530 := &x.RollbackTo - yy530.CodecEncodeSelf(e) + yy16 := &x.RollbackTo + yy16.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollbackTo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy531 := &x.RollbackTo - yy531.CodecEncodeSelf(e) + yy18 := &x.RollbackTo + yy18.CodecEncodeSelf(e) } - if yyr516 || yy2arr516 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6233,25 +6629,25 @@ func (x *DeploymentRollback) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym532 := z.DecBinary() - _ = yym532 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct533 := r.ContainerType() - if yyct533 == codecSelferValueTypeMap1234 { - yyl533 := r.ReadMapStart() - if yyl533 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl533, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct533 == codecSelferValueTypeArray1234 { - yyl533 := r.ReadArrayStart() - if yyl533 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl533, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6263,12 +6659,12 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys534Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys534Slc - var yyhl534 bool = l >= 0 - for yyj534 := 0; ; yyj534++ { - if yyhl534 { - if yyj534 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -6277,51 +6673,69 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys534Slc = r.DecodeBytes(yys534Slc, true, true) - yys534 := string(yys534Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys534 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv8 := &x.Name + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "updatedAnnotations": if r.TryDecodeAsNil() { x.UpdatedAnnotations = nil } else { - yyv538 := &x.UpdatedAnnotations - yym539 := z.DecBinary() - _ = yym539 + yyv10 := &x.UpdatedAnnotations + yym11 := z.DecBinary() + _ = yym11 if false { } else { - z.F.DecMapStringStringX(yyv538, false, d) + z.F.DecMapStringStringX(yyv10, false, d) } } case "rollbackTo": if r.TryDecodeAsNil() { x.RollbackTo = RollbackConfig{} } else { - yyv540 := &x.RollbackTo - yyv540.CodecDecodeSelf(d) + yyv12 := &x.RollbackTo + yyv12.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys534) - } // end switch yys534 - } // end for yyj534 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6329,16 +6743,16 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj541 int - var yyb541 bool - var yyhl541 bool = l >= 0 - yyj541++ - if yyhl541 { - yyb541 = yyj541 > l + var yyj13 int + var yyb13 bool + var yyhl13 bool = l >= 0 + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb541 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb541 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6346,15 +6760,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv14 := &x.Kind + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj541++ - if yyhl541 { - yyb541 = yyj541 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb541 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb541 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6362,15 +6782,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv16 := &x.APIVersion + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } - yyj541++ - if yyhl541 { - yyb541 = yyj541 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb541 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb541 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6378,15 +6804,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv18 := &x.Name + yym19 := z.DecBinary() + _ = yym19 + if false { + } else { + *((*string)(yyv18)) = r.DecodeString() + } } - yyj541++ - if yyhl541 { - yyb541 = yyj541 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb541 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb541 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6394,21 +6826,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.UpdatedAnnotations = nil } else { - yyv545 := &x.UpdatedAnnotations - yym546 := z.DecBinary() - _ = yym546 + yyv20 := &x.UpdatedAnnotations + yym21 := z.DecBinary() + _ = yym21 if false { } else { - z.F.DecMapStringStringX(yyv545, false, d) + z.F.DecMapStringStringX(yyv20, false, d) } } - yyj541++ - if yyhl541 { - yyb541 = yyj541 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb541 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb541 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6416,21 +6848,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.RollbackTo = RollbackConfig{} } else { - yyv547 := &x.RollbackTo - yyv547.CodecDecodeSelf(d) + yyv22 := &x.RollbackTo + yyv22.CodecDecodeSelf(d) } for { - yyj541++ - if yyhl541 { - yyb541 = yyj541 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb541 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb541 { + if yyb13 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj541-1, "") + z.DecStructFieldNotFound(yyj13-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6442,35 +6874,35 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym548 := z.EncBinary() - _ = yym548 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep549 := !z.EncBinary() - yy2arr549 := z.EncBasicHandle().StructToArray - var yyq549 [1]bool - _, _, _ = yysep549, yyq549, yy2arr549 - const yyr549 bool = false - yyq549[0] = x.Revision != 0 - var yynn549 int - if yyr549 || yy2arr549 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Revision != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn549 = 0 - for _, b := range yyq549 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn549++ + yynn2++ } } - r.EncodeMapStart(yynn549) - yynn549 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr549 || yy2arr549 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq549[0] { - yym551 := z.EncBinary() - _ = yym551 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.Revision)) @@ -6479,19 +6911,19 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq549[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym552 := z.EncBinary() - _ = yym552 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.Revision)) } } } - if yyr549 || yy2arr549 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6504,25 +6936,25 @@ func (x *RollbackConfig) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym553 := z.DecBinary() - _ = yym553 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct554 := r.ContainerType() - if yyct554 == codecSelferValueTypeMap1234 { - yyl554 := r.ReadMapStart() - if yyl554 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl554, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct554 == codecSelferValueTypeArray1234 { - yyl554 := r.ReadArrayStart() - if yyl554 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl554, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6534,12 +6966,12 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys555Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys555Slc - var yyhl555 bool = l >= 0 - for yyj555 := 0; ; yyj555++ { - if yyhl555 { - if yyj555 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -6548,20 +6980,26 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys555Slc = r.DecodeBytes(yys555Slc, true, true) - yys555 := string(yys555Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys555 { + switch yys3 { case "revision": if r.TryDecodeAsNil() { x.Revision = 0 } else { - x.Revision = int64(r.DecodeInt(64)) + yyv4 := &x.Revision + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int64)(yyv4)) = int64(r.DecodeInt(64)) + } } default: - z.DecStructFieldNotFound(-1, yys555) - } // end switch yys555 - } // end for yyj555 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6569,16 +7007,16 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj557 int - var yyb557 bool - var yyhl557 bool = l >= 0 - yyj557++ - if yyhl557 { - yyb557 = yyj557 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb557 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb557 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6586,20 +7024,26 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Revision = 0 } else { - x.Revision = int64(r.DecodeInt(64)) + yyv7 := &x.Revision + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*int64)(yyv7)) = int64(r.DecodeInt(64)) + } } for { - yyj557++ - if yyhl557 { - yyb557 = yyj557 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb557 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb557 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj557-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6611,49 +7055,49 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym559 := z.EncBinary() - _ = yym559 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep560 := !z.EncBinary() - yy2arr560 := z.EncBasicHandle().StructToArray - var yyq560 [2]bool - _, _, _ = yysep560, yyq560, yy2arr560 - const yyr560 bool = false - yyq560[0] = x.Type != "" - yyq560[1] = x.RollingUpdate != nil - var yynn560 int - if yyr560 || yy2arr560 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Type != "" + yyq2[1] = x.RollingUpdate != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn560 = 0 - for _, b := range yyq560 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn560++ + yynn2++ } } - r.EncodeMapStart(yynn560) - yynn560 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr560 || yy2arr560 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq560[0] { + if yyq2[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq560[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr560 || yy2arr560 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq560[1] { + if yyq2[1] { if x.RollingUpdate == nil { r.EncodeNil() } else { @@ -6663,7 +7107,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq560[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollingUpdate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -6674,7 +7118,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr560 || yy2arr560 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6687,25 +7131,25 @@ func (x *DeploymentStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym563 := z.DecBinary() - _ = yym563 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct564 := r.ContainerType() - if yyct564 == codecSelferValueTypeMap1234 { - yyl564 := r.ReadMapStart() - if yyl564 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl564, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct564 == codecSelferValueTypeArray1234 { - yyl564 := r.ReadArrayStart() - if yyl564 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl564, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6717,12 +7161,12 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys565Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys565Slc - var yyhl565 bool = l >= 0 - for yyj565 := 0; ; yyj565++ { - if yyhl565 { - if yyj565 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -6731,15 +7175,16 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys565Slc = r.DecodeBytes(yys565Slc, true, true) - yys565 := string(yys565Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys565 { + switch yys3 { case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = DeploymentStrategyType(r.DecodeString()) + yyv4 := &x.Type + yyv4.CodecDecodeSelf(d) } case "rollingUpdate": if r.TryDecodeAsNil() { @@ -6753,9 +7198,9 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.RollingUpdate.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys565) - } // end switch yys565 - } // end for yyj565 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6763,16 +7208,16 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj568 int - var yyb568 bool - var yyhl568 bool = l >= 0 - yyj568++ - if yyhl568 { - yyb568 = yyj568 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb568 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb568 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6780,15 +7225,16 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = DeploymentStrategyType(r.DecodeString()) + yyv7 := &x.Type + yyv7.CodecDecodeSelf(d) } - yyj568++ - if yyhl568 { - yyb568 = yyj568 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb568 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb568 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6804,17 +7250,17 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.RollingUpdate.CodecDecodeSelf(d) } for { - yyj568++ - if yyhl568 { - yyb568 = yyj568 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb568 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb568 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj568-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6823,8 +7269,8 @@ func (x DeploymentStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym571 := z.EncBinary() - _ = yym571 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -6836,8 +7282,8 @@ func (x *DeploymentStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym572 := z.DecBinary() - _ = yym572 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -6852,42 +7298,42 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym573 := z.EncBinary() - _ = yym573 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep574 := !z.EncBinary() - yy2arr574 := z.EncBasicHandle().StructToArray - var yyq574 [2]bool - _, _, _ = yysep574, yyq574, yy2arr574 - const yyr574 bool = false - yyq574[0] = x.MaxUnavailable != nil - yyq574[1] = x.MaxSurge != nil - var yynn574 int - if yyr574 || yy2arr574 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.MaxUnavailable != nil + yyq2[1] = x.MaxSurge != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn574 = 0 - for _, b := range yyq574 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn574++ + yynn2++ } } - r.EncodeMapStart(yynn574) - yynn574 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr574 || yy2arr574 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq574[0] { + if yyq2[0] { if x.MaxUnavailable == nil { r.EncodeNil() } else { - yym576 := z.EncBinary() - _ = yym576 + yym4 := z.EncBinary() + _ = yym4 if false { } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { - } else if !yym576 && z.IsJSONHandle() { + } else if !yym4 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxUnavailable) } else { z.EncFallback(x.MaxUnavailable) @@ -6897,18 +7343,18 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq574[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxUnavailable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MaxUnavailable == nil { r.EncodeNil() } else { - yym577 := z.EncBinary() - _ = yym577 + yym5 := z.EncBinary() + _ = yym5 if false { } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { - } else if !yym577 && z.IsJSONHandle() { + } else if !yym5 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxUnavailable) } else { z.EncFallback(x.MaxUnavailable) @@ -6916,17 +7362,17 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr574 || yy2arr574 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq574[1] { + if yyq2[1] { if x.MaxSurge == nil { r.EncodeNil() } else { - yym579 := z.EncBinary() - _ = yym579 + yym7 := z.EncBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { - } else if !yym579 && z.IsJSONHandle() { + } else if !yym7 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxSurge) } else { z.EncFallback(x.MaxSurge) @@ -6936,18 +7382,18 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq574[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxSurge")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MaxSurge == nil { r.EncodeNil() } else { - yym580 := z.EncBinary() - _ = yym580 + yym8 := z.EncBinary() + _ = yym8 if false { } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { - } else if !yym580 && z.IsJSONHandle() { + } else if !yym8 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxSurge) } else { z.EncFallback(x.MaxSurge) @@ -6955,7 +7401,7 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr574 || yy2arr574 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6968,25 +7414,25 @@ func (x *RollingUpdateDeployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym581 := z.DecBinary() - _ = yym581 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct582 := r.ContainerType() - if yyct582 == codecSelferValueTypeMap1234 { - yyl582 := r.ReadMapStart() - if yyl582 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl582, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct582 == codecSelferValueTypeArray1234 { - yyl582 := r.ReadArrayStart() - if yyl582 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl582, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6998,12 +7444,12 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys583Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys583Slc - var yyhl583 bool = l >= 0 - for yyj583 := 0; ; yyj583++ { - if yyhl583 { - if yyj583 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -7012,10 +7458,10 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys583Slc = r.DecodeBytes(yys583Slc, true, true) - yys583 := string(yys583Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys583 { + switch yys3 { case "maxUnavailable": if r.TryDecodeAsNil() { if x.MaxUnavailable != nil { @@ -7025,11 +7471,11 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.MaxUnavailable == nil { x.MaxUnavailable = new(pkg5_intstr.IntOrString) } - yym585 := z.DecBinary() - _ = yym585 + yym5 := z.DecBinary() + _ = yym5 if false { } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { - } else if !yym585 && z.IsJSONHandle() { + } else if !yym5 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxUnavailable) } else { z.DecFallback(x.MaxUnavailable, false) @@ -7044,20 +7490,20 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.MaxSurge == nil { x.MaxSurge = new(pkg5_intstr.IntOrString) } - yym587 := z.DecBinary() - _ = yym587 + yym7 := z.DecBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { - } else if !yym587 && z.IsJSONHandle() { + } else if !yym7 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxSurge) } else { z.DecFallback(x.MaxSurge, false) } } default: - z.DecStructFieldNotFound(-1, yys583) - } // end switch yys583 - } // end for yyj583 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7065,16 +7511,16 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj588 int - var yyb588 bool - var yyhl588 bool = l >= 0 - yyj588++ - if yyhl588 { - yyb588 = yyj588 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb588 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb588 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7087,23 +7533,23 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if x.MaxUnavailable == nil { x.MaxUnavailable = new(pkg5_intstr.IntOrString) } - yym590 := z.DecBinary() - _ = yym590 + yym10 := z.DecBinary() + _ = yym10 if false { } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { - } else if !yym590 && z.IsJSONHandle() { + } else if !yym10 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxUnavailable) } else { z.DecFallback(x.MaxUnavailable, false) } } - yyj588++ - if yyhl588 { - yyb588 = yyj588 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb588 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb588 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7116,28 +7562,28 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if x.MaxSurge == nil { x.MaxSurge = new(pkg5_intstr.IntOrString) } - yym592 := z.DecBinary() - _ = yym592 + yym12 := z.DecBinary() + _ = yym12 if false { } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { - } else if !yym592 && z.IsJSONHandle() { + } else if !yym12 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxSurge) } else { z.DecFallback(x.MaxSurge, false) } } for { - yyj588++ - if yyhl588 { - yyb588 = yyj588 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb588 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb588 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj588-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7149,40 +7595,41 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym593 := z.EncBinary() - _ = yym593 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep594 := !z.EncBinary() - yy2arr594 := z.EncBasicHandle().StructToArray - var yyq594 [6]bool - _, _, _ = yysep594, yyq594, yy2arr594 - const yyr594 bool = false - yyq594[0] = x.ObservedGeneration != 0 - yyq594[1] = x.Replicas != 0 - yyq594[2] = x.UpdatedReplicas != 0 - yyq594[3] = x.AvailableReplicas != 0 - yyq594[4] = x.UnavailableReplicas != 0 - yyq594[5] = len(x.Conditions) != 0 - var yynn594 int - if yyr594 || yy2arr594 { - r.EncodeArrayStart(6) + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [7]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.ObservedGeneration != 0 + yyq2[1] = x.Replicas != 0 + yyq2[2] = x.UpdatedReplicas != 0 + yyq2[3] = x.ReadyReplicas != 0 + yyq2[4] = x.AvailableReplicas != 0 + yyq2[5] = x.UnavailableReplicas != 0 + yyq2[6] = len(x.Conditions) != 0 + var yynn2 int + if yyr2 || yy2arr2 { + r.EncodeArrayStart(7) } else { - yynn594 = 0 - for _, b := range yyq594 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn594++ + yynn2++ } } - r.EncodeMapStart(yynn594) - yynn594 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr594 || yy2arr594 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq594[0] { - yym596 := z.EncBinary() - _ = yym596 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -7191,23 +7638,23 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq594[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym597 := z.EncBinary() - _ = yym597 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr594 || yy2arr594 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq594[1] { - yym599 := z.EncBinary() - _ = yym599 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -7216,23 +7663,23 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq594[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym600 := z.EncBinary() - _ = yym600 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeInt(int64(x.Replicas)) } } } - if yyr594 || yy2arr594 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq594[2] { - yym602 := z.EncBinary() - _ = yym602 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeInt(int64(x.UpdatedReplicas)) @@ -7241,23 +7688,48 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq594[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym603 := z.EncBinary() - _ = yym603 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeInt(int64(x.UpdatedReplicas)) } } } - if yyr594 || yy2arr594 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq594[3] { - yym605 := z.EncBinary() - _ = yym605 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 + if false { + } else { + r.EncodeInt(int64(x.ReadyReplicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq2[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("readyReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym14 := z.EncBinary() + _ = yym14 + if false { + } else { + r.EncodeInt(int64(x.ReadyReplicas)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) @@ -7266,23 +7738,23 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq594[3] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym606 := z.EncBinary() - _ = yym606 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) } } } - if yyr594 || yy2arr594 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq594[4] { - yym608 := z.EncBinary() - _ = yym608 + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) @@ -7291,26 +7763,26 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq594[4] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unavailableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym609 := z.EncBinary() - _ = yym609 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) } } } - if yyr594 || yy2arr594 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq594[5] { + if yyq2[6] { if x.Conditions == nil { r.EncodeNil() } else { - yym611 := z.EncBinary() - _ = yym611 + yym22 := z.EncBinary() + _ = yym22 if false { } else { h.encSliceDeploymentCondition(([]DeploymentCondition)(x.Conditions), e) @@ -7320,15 +7792,15 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq594[5] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym612 := z.EncBinary() - _ = yym612 + yym23 := z.EncBinary() + _ = yym23 if false { } else { h.encSliceDeploymentCondition(([]DeploymentCondition)(x.Conditions), e) @@ -7336,7 +7808,7 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr594 || yy2arr594 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7349,25 +7821,25 @@ func (x *DeploymentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym613 := z.DecBinary() - _ = yym613 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct614 := r.ContainerType() - if yyct614 == codecSelferValueTypeMap1234 { - yyl614 := r.ReadMapStart() - if yyl614 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl614, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct614 == codecSelferValueTypeArray1234 { - yyl614 := r.ReadArrayStart() - if yyl614 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl614, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7379,12 +7851,12 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys615Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys615Slc - var yyhl615 bool = l >= 0 - for yyj615 := 0; ; yyj615++ { - if yyhl615 { - if yyj615 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -7393,56 +7865,98 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys615Slc = r.DecodeBytes(yys615Slc, true, true) - yys615 := string(yys615Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys615 { + switch yys3 { case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 } else { - x.ObservedGeneration = int64(r.DecodeInt(64)) + yyv4 := &x.ObservedGeneration + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int64)(yyv4)) = int64(r.DecodeInt(64)) + } } case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int32(r.DecodeInt(32)) + yyv6 := &x.Replicas + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*int32)(yyv6)) = int32(r.DecodeInt(32)) + } } case "updatedReplicas": if r.TryDecodeAsNil() { x.UpdatedReplicas = 0 } else { - x.UpdatedReplicas = int32(r.DecodeInt(32)) + yyv8 := &x.UpdatedReplicas + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*int32)(yyv8)) = int32(r.DecodeInt(32)) + } + } + case "readyReplicas": + if r.TryDecodeAsNil() { + x.ReadyReplicas = 0 + } else { + yyv10 := &x.ReadyReplicas + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*int32)(yyv10)) = int32(r.DecodeInt(32)) + } } case "availableReplicas": if r.TryDecodeAsNil() { x.AvailableReplicas = 0 } else { - x.AvailableReplicas = int32(r.DecodeInt(32)) + yyv12 := &x.AvailableReplicas + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*int32)(yyv12)) = int32(r.DecodeInt(32)) + } } case "unavailableReplicas": if r.TryDecodeAsNil() { x.UnavailableReplicas = 0 } else { - x.UnavailableReplicas = int32(r.DecodeInt(32)) + yyv14 := &x.UnavailableReplicas + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*int32)(yyv14)) = int32(r.DecodeInt(32)) + } } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv621 := &x.Conditions - yym622 := z.DecBinary() - _ = yym622 + yyv16 := &x.Conditions + yym17 := z.DecBinary() + _ = yym17 if false { } else { - h.decSliceDeploymentCondition((*[]DeploymentCondition)(yyv621), d) + h.decSliceDeploymentCondition((*[]DeploymentCondition)(yyv16), d) } } default: - z.DecStructFieldNotFound(-1, yys615) - } // end switch yys615 - } // end for yyj615 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7450,16 +7964,16 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj623 int - var yyb623 bool - var yyhl623 bool = l >= 0 - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l + var yyj18 int + var yyb18 bool + var yyhl18 bool = l >= 0 + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb623 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb623 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7467,15 +7981,21 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObservedGeneration = 0 } else { - x.ObservedGeneration = int64(r.DecodeInt(64)) + yyv19 := &x.ObservedGeneration + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*int64)(yyv19)) = int64(r.DecodeInt(64)) + } } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb623 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb623 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7483,15 +8003,21 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int32(r.DecodeInt(32)) + yyv21 := &x.Replicas + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*int32)(yyv21)) = int32(r.DecodeInt(32)) + } } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb623 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb623 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7499,15 +8025,43 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.UpdatedReplicas = 0 } else { - x.UpdatedReplicas = int32(r.DecodeInt(32)) + yyv23 := &x.UpdatedReplicas + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*int32)(yyv23)) = int32(r.DecodeInt(32)) + } } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb623 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb623 { + if yyb18 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ReadyReplicas = 0 + } else { + yyv25 := &x.ReadyReplicas + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*int32)(yyv25)) = int32(r.DecodeInt(32)) + } + } + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l + } else { + yyb18 = r.CheckBreak() + } + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7515,15 +8069,21 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.AvailableReplicas = 0 } else { - x.AvailableReplicas = int32(r.DecodeInt(32)) + yyv27 := &x.AvailableReplicas + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*int32)(yyv27)) = int32(r.DecodeInt(32)) + } } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb623 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb623 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7531,15 +8091,21 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.UnavailableReplicas = 0 } else { - x.UnavailableReplicas = int32(r.DecodeInt(32)) + yyv29 := &x.UnavailableReplicas + yym30 := z.DecBinary() + _ = yym30 + if false { + } else { + *((*int32)(yyv29)) = int32(r.DecodeInt(32)) + } } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb623 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb623 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7547,26 +8113,26 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv629 := &x.Conditions - yym630 := z.DecBinary() - _ = yym630 + yyv31 := &x.Conditions + yym32 := z.DecBinary() + _ = yym32 if false { } else { - h.decSliceDeploymentCondition((*[]DeploymentCondition)(yyv629), d) + h.decSliceDeploymentCondition((*[]DeploymentCondition)(yyv31), d) } } for { - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb623 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb623 { + if yyb18 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj623-1, "") + z.DecStructFieldNotFound(yyj18-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7575,8 +8141,8 @@ func (x DeploymentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym631 := z.EncBinary() - _ = yym631 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -7588,8 +8154,8 @@ func (x *DeploymentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym632 := z.DecBinary() - _ = yym632 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -7604,34 +8170,34 @@ func (x *DeploymentCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym633 := z.EncBinary() - _ = yym633 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep634 := !z.EncBinary() - yy2arr634 := z.EncBasicHandle().StructToArray - var yyq634 [6]bool - _, _, _ = yysep634, yyq634, yy2arr634 - const yyr634 bool = false - yyq634[2] = true - yyq634[3] = true - yyq634[4] = x.Reason != "" - yyq634[5] = x.Message != "" - var yynn634 int - if yyr634 || yy2arr634 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = true + yyq2[3] = true + yyq2[4] = x.Reason != "" + yyq2[5] = x.Message != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn634 = 2 - for _, b := range yyq634 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn634++ + yynn2++ } } - r.EncodeMapStart(yynn634) - yynn634 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr634 || yy2arr634 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -7640,106 +8206,96 @@ func (x *DeploymentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr634 || yy2arr634 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym637 := z.EncBinary() - _ = yym637 - if false { - } else if z.HasExtensions() && z.EncExt(x.Status) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Status)) - } + yysf7 := &x.Status + yysf7.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym638 := z.EncBinary() - _ = yym638 - if false { - } else if z.HasExtensions() && z.EncExt(x.Status) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Status)) - } + yysf8 := &x.Status + yysf8.CodecEncodeSelf(e) } - if yyr634 || yy2arr634 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq634[2] { - yy640 := &x.LastUpdateTime - yym641 := z.EncBinary() - _ = yym641 + if yyq2[2] { + yy10 := &x.LastUpdateTime + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy640) { - } else if yym641 { - z.EncBinaryMarshal(yy640) - } else if !yym641 && z.IsJSONHandle() { - z.EncJSONMarshal(yy640) + } else if z.HasExtensions() && z.EncExt(yy10) { + } else if yym11 { + z.EncBinaryMarshal(yy10) + } else if !yym11 && z.IsJSONHandle() { + z.EncJSONMarshal(yy10) } else { - z.EncFallback(yy640) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq634[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastUpdateTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy642 := &x.LastUpdateTime - yym643 := z.EncBinary() - _ = yym643 + yy12 := &x.LastUpdateTime + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy642) { - } else if yym643 { - z.EncBinaryMarshal(yy642) - } else if !yym643 && z.IsJSONHandle() { - z.EncJSONMarshal(yy642) + } else if z.HasExtensions() && z.EncExt(yy12) { + } else if yym13 { + z.EncBinaryMarshal(yy12) + } else if !yym13 && z.IsJSONHandle() { + z.EncJSONMarshal(yy12) } else { - z.EncFallback(yy642) + z.EncFallback(yy12) } } } - if yyr634 || yy2arr634 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq634[3] { - yy645 := &x.LastTransitionTime - yym646 := z.EncBinary() - _ = yym646 + if yyq2[3] { + yy15 := &x.LastTransitionTime + yym16 := z.EncBinary() + _ = yym16 if false { - } else if z.HasExtensions() && z.EncExt(yy645) { - } else if yym646 { - z.EncBinaryMarshal(yy645) - } else if !yym646 && z.IsJSONHandle() { - z.EncJSONMarshal(yy645) + } else if z.HasExtensions() && z.EncExt(yy15) { + } else if yym16 { + z.EncBinaryMarshal(yy15) + } else if !yym16 && z.IsJSONHandle() { + z.EncJSONMarshal(yy15) } else { - z.EncFallback(yy645) + z.EncFallback(yy15) } } else { r.EncodeNil() } } else { - if yyq634[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy647 := &x.LastTransitionTime - yym648 := z.EncBinary() - _ = yym648 + yy17 := &x.LastTransitionTime + yym18 := z.EncBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.EncExt(yy647) { - } else if yym648 { - z.EncBinaryMarshal(yy647) - } else if !yym648 && z.IsJSONHandle() { - z.EncJSONMarshal(yy647) + } else if z.HasExtensions() && z.EncExt(yy17) { + } else if yym18 { + z.EncBinaryMarshal(yy17) + } else if !yym18 && z.IsJSONHandle() { + z.EncJSONMarshal(yy17) } else { - z.EncFallback(yy647) + z.EncFallback(yy17) } } } - if yyr634 || yy2arr634 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq634[4] { - yym650 := z.EncBinary() - _ = yym650 + if yyq2[4] { + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -7748,23 +8304,23 @@ func (x *DeploymentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq634[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym651 := z.EncBinary() - _ = yym651 + yym21 := z.EncBinary() + _ = yym21 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr634 || yy2arr634 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq634[5] { - yym653 := z.EncBinary() - _ = yym653 + if yyq2[5] { + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -7773,19 +8329,19 @@ func (x *DeploymentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq634[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym654 := z.EncBinary() - _ = yym654 + yym24 := z.EncBinary() + _ = yym24 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr634 || yy2arr634 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7798,25 +8354,25 @@ func (x *DeploymentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym655 := z.DecBinary() - _ = yym655 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct656 := r.ContainerType() - if yyct656 == codecSelferValueTypeMap1234 { - yyl656 := r.ReadMapStart() - if yyl656 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl656, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct656 == codecSelferValueTypeArray1234 { - yyl656 := r.ReadArrayStart() - if yyl656 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl656, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7828,12 +8384,12 @@ func (x *DeploymentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys657Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys657Slc - var yyhl657 bool = l >= 0 - for yyj657 := 0; ; yyj657++ { - if yyhl657 { - if yyj657 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -7842,72 +8398,86 @@ func (x *DeploymentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys657Slc = r.DecodeBytes(yys657Slc, true, true) - yys657 := string(yys657Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys657 { + switch yys3 { case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = DeploymentConditionType(r.DecodeString()) + yyv4 := &x.Type + yyv4.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) + yyv5 := &x.Status + yyv5.CodecDecodeSelf(d) } case "lastUpdateTime": if r.TryDecodeAsNil() { x.LastUpdateTime = pkg1_v1.Time{} } else { - yyv660 := &x.LastUpdateTime - yym661 := z.DecBinary() - _ = yym661 + yyv6 := &x.LastUpdateTime + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv660) { - } else if yym661 { - z.DecBinaryUnmarshal(yyv660) - } else if !yym661 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv660) + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if yym7 { + z.DecBinaryUnmarshal(yyv6) + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) } else { - z.DecFallback(yyv660, false) + z.DecFallback(yyv6, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_v1.Time{} } else { - yyv662 := &x.LastTransitionTime - yym663 := z.DecBinary() - _ = yym663 + yyv8 := &x.LastTransitionTime + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv662) { - } else if yym663 { - z.DecBinaryUnmarshal(yyv662) - } else if !yym663 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv662) + } else if z.HasExtensions() && z.DecExt(yyv8) { + } else if yym9 { + z.DecBinaryUnmarshal(yyv8) + } else if !yym9 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv8) } else { - z.DecFallback(yyv662, false) + z.DecFallback(yyv8, false) } } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv10 := &x.Reason + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv12 := &x.Message + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys657) - } // end switch yys657 - } // end for yyj657 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7915,16 +8485,16 @@ func (x *DeploymentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj666 int - var yyb666 bool - var yyhl666 bool = l >= 0 - yyj666++ - if yyhl666 { - yyb666 = yyj666 > l + var yyj14 int + var yyb14 bool + var yyhl14 bool = l >= 0 + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb666 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb666 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7932,15 +8502,16 @@ func (x *DeploymentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = DeploymentConditionType(r.DecodeString()) + yyv15 := &x.Type + yyv15.CodecDecodeSelf(d) } - yyj666++ - if yyhl666 { - yyb666 = yyj666 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb666 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb666 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7948,15 +8519,16 @@ func (x *DeploymentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) + yyv16 := &x.Status + yyv16.CodecDecodeSelf(d) } - yyj666++ - if yyhl666 { - yyb666 = yyj666 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb666 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb666 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7964,26 +8536,26 @@ func (x *DeploymentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.LastUpdateTime = pkg1_v1.Time{} } else { - yyv669 := &x.LastUpdateTime - yym670 := z.DecBinary() - _ = yym670 + yyv17 := &x.LastUpdateTime + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv669) { - } else if yym670 { - z.DecBinaryUnmarshal(yyv669) - } else if !yym670 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv669) + } else if z.HasExtensions() && z.DecExt(yyv17) { + } else if yym18 { + z.DecBinaryUnmarshal(yyv17) + } else if !yym18 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv17) } else { - z.DecFallback(yyv669, false) + z.DecFallback(yyv17, false) } } - yyj666++ - if yyhl666 { - yyb666 = yyj666 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb666 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb666 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7991,26 +8563,26 @@ func (x *DeploymentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_v1.Time{} } else { - yyv671 := &x.LastTransitionTime - yym672 := z.DecBinary() - _ = yym672 + yyv19 := &x.LastTransitionTime + yym20 := z.DecBinary() + _ = yym20 if false { - } else if z.HasExtensions() && z.DecExt(yyv671) { - } else if yym672 { - z.DecBinaryUnmarshal(yyv671) - } else if !yym672 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv671) + } else if z.HasExtensions() && z.DecExt(yyv19) { + } else if yym20 { + z.DecBinaryUnmarshal(yyv19) + } else if !yym20 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv19) } else { - z.DecFallback(yyv671, false) + z.DecFallback(yyv19, false) } } - yyj666++ - if yyhl666 { - yyb666 = yyj666 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb666 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb666 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8018,15 +8590,21 @@ func (x *DeploymentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv21 := &x.Reason + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } } - yyj666++ - if yyhl666 { - yyb666 = yyj666 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb666 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb666 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8034,20 +8612,26 @@ func (x *DeploymentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv23 := &x.Message + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*string)(yyv23)) = r.DecodeString() + } } for { - yyj666++ - if yyhl666 { - yyb666 = yyj666 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb666 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb666 { + if yyb14 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj666-1, "") + z.DecStructFieldNotFound(yyj14-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8059,37 +8643,37 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym675 := z.EncBinary() - _ = yym675 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep676 := !z.EncBinary() - yy2arr676 := z.EncBasicHandle().StructToArray - var yyq676 [4]bool - _, _, _ = yysep676, yyq676, yy2arr676 - const yyr676 bool = false - yyq676[0] = x.Kind != "" - yyq676[1] = x.APIVersion != "" - yyq676[2] = true - var yynn676 int - if yyr676 || yy2arr676 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn676 = 1 - for _, b := range yyq676 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn676++ + yynn2++ } } - r.EncodeMapStart(yynn676) - yynn676 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr676 || yy2arr676 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq676[0] { - yym678 := z.EncBinary() - _ = yym678 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8098,23 +8682,23 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq676[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym679 := z.EncBinary() - _ = yym679 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr676 || yy2arr676 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq676[1] { - yym681 := z.EncBinary() - _ = yym681 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8123,54 +8707,54 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq676[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym682 := z.EncBinary() - _ = yym682 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr676 || yy2arr676 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq676[2] { - yy684 := &x.ListMeta - yym685 := z.EncBinary() - _ = yym685 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy684) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy684) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq676[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy686 := &x.ListMeta - yym687 := z.EncBinary() - _ = yym687 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy686) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy686) + z.EncFallback(yy12) } } } - if yyr676 || yy2arr676 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym689 := z.EncBinary() - _ = yym689 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceDeployment(([]Deployment)(x.Items), e) @@ -8183,15 +8767,15 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym690 := z.EncBinary() - _ = yym690 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceDeployment(([]Deployment)(x.Items), e) } } } - if yyr676 || yy2arr676 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8204,25 +8788,25 @@ func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym691 := z.DecBinary() - _ = yym691 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct692 := r.ContainerType() - if yyct692 == codecSelferValueTypeMap1234 { - yyl692 := r.ReadMapStart() - if yyl692 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl692, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct692 == codecSelferValueTypeArray1234 { - yyl692 := r.ReadArrayStart() - if yyl692 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl692, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8234,12 +8818,12 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys693Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys693Slc - var yyhl693 bool = l >= 0 - for yyj693 := 0; ; yyj693++ { - if yyhl693 { - if yyj693 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -8248,51 +8832,63 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys693Slc = r.DecodeBytes(yys693Slc, true, true) - yys693 := string(yys693Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys693 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv696 := &x.ListMeta - yym697 := z.DecBinary() - _ = yym697 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv696) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv696, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv698 := &x.Items - yym699 := z.DecBinary() - _ = yym699 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceDeployment((*[]Deployment)(yyv698), d) + h.decSliceDeployment((*[]Deployment)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys693) - } // end switch yys693 - } // end for yyj693 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8300,16 +8896,16 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj700 int - var yyb700 bool - var yyhl700 bool = l >= 0 - yyj700++ - if yyhl700 { - yyb700 = yyj700 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb700 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb700 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8317,15 +8913,21 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj700++ - if yyhl700 { - yyb700 = yyj700 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb700 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb700 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8333,15 +8935,21 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj700++ - if yyhl700 { - yyb700 = yyj700 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb700 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb700 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8349,22 +8957,22 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv703 := &x.ListMeta - yym704 := z.DecBinary() - _ = yym704 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv703) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv703, false) + z.DecFallback(yyv17, false) } } - yyj700++ - if yyhl700 { - yyb700 = yyj700 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb700 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb700 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8372,26 +8980,26 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv705 := &x.Items - yym706 := z.DecBinary() - _ = yym706 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceDeployment((*[]Deployment)(yyv705), d) + h.decSliceDeployment((*[]Deployment)(yyv19), d) } } for { - yyj700++ - if yyhl700 { - yyb700 = yyj700 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb700 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb700 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj700-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8403,38 +9011,38 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym707 := z.EncBinary() - _ = yym707 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep708 := !z.EncBinary() - yy2arr708 := z.EncBasicHandle().StructToArray - var yyq708 [2]bool - _, _, _ = yysep708, yyq708, yy2arr708 - const yyr708 bool = false - yyq708[0] = x.Selector != nil - var yynn708 int - if yyr708 || yy2arr708 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Selector != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn708 = 1 - for _, b := range yyq708 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn708++ + yynn2++ } } - r.EncodeMapStart(yynn708) - yynn708 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr708 || yy2arr708 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq708[0] { + if yyq2[0] { if x.Selector == nil { r.EncodeNil() } else { - yym710 := z.EncBinary() - _ = yym710 + yym4 := z.EncBinary() + _ = yym4 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -8445,15 +9053,15 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq708[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym711 := z.EncBinary() - _ = yym711 + yym5 := z.EncBinary() + _ = yym5 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -8462,18 +9070,18 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr708 || yy2arr708 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy713 := &x.Template - yy713.CodecEncodeSelf(e) + yy7 := &x.Template + yy7.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy714 := &x.Template - yy714.CodecEncodeSelf(e) + yy9 := &x.Template + yy9.CodecEncodeSelf(e) } - if yyr708 || yy2arr708 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8486,25 +9094,25 @@ func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym715 := z.DecBinary() - _ = yym715 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct716 := r.ContainerType() - if yyct716 == codecSelferValueTypeMap1234 { - yyl716 := r.ReadMapStart() - if yyl716 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl716, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct716 == codecSelferValueTypeArray1234 { - yyl716 := r.ReadArrayStart() - if yyl716 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl716, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8516,12 +9124,12 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys717Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys717Slc - var yyhl717 bool = l >= 0 - for yyj717 := 0; ; yyj717++ { - if yyhl717 { - if yyj717 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -8530,10 +9138,10 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys717Slc = r.DecodeBytes(yys717Slc, true, true) - yys717 := string(yys717Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys717 { + switch yys3 { case "selector": if r.TryDecodeAsNil() { if x.Selector != nil { @@ -8543,8 +9151,8 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_v1.LabelSelector) } - yym719 := z.DecBinary() - _ = yym719 + yym5 := z.DecBinary() + _ = yym5 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -8555,13 +9163,13 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv720 := &x.Template - yyv720.CodecDecodeSelf(d) + yyv6 := &x.Template + yyv6.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys717) - } // end switch yys717 - } // end for yyj717 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8569,16 +9177,16 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj721 int - var yyb721 bool - var yyhl721 bool = l >= 0 - yyj721++ - if yyhl721 { - yyb721 = yyj721 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb721 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb721 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8591,21 +9199,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_v1.LabelSelector) } - yym723 := z.DecBinary() - _ = yym723 + yym9 := z.DecBinary() + _ = yym9 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj721++ - if yyhl721 { - yyb721 = yyj721 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb721 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb721 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8613,21 +9221,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv724 := &x.Template - yyv724.CodecDecodeSelf(d) + yyv10 := &x.Template + yyv10.CodecDecodeSelf(d) } for { - yyj721++ - if yyhl721 { - yyb721 = yyj721 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb721 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb721 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj721-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8639,33 +9247,34 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym725 := z.EncBinary() - _ = yym725 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep726 := !z.EncBinary() - yy2arr726 := z.EncBasicHandle().StructToArray - var yyq726 [4]bool - _, _, _ = yysep726, yyq726, yy2arr726 - const yyr726 bool = false - var yynn726 int - if yyr726 || yy2arr726 { - r.EncodeArrayStart(4) + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[4] = x.ObservedGeneration != 0 + var yynn2 int + if yyr2 || yy2arr2 { + r.EncodeArrayStart(5) } else { - yynn726 = 4 - for _, b := range yyq726 { + yynn2 = 4 + for _, b := range yyq2 { if b { - yynn726++ + yynn2++ } } - r.EncodeMapStart(yynn726) - yynn726 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr726 || yy2arr726 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym728 := z.EncBinary() - _ = yym728 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) @@ -8674,17 +9283,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym729 := z.EncBinary() - _ = yym729 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) } } - if yyr726 || yy2arr726 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym731 := z.EncBinary() - _ = yym731 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) @@ -8693,17 +9302,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberMisscheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym732 := z.EncBinary() - _ = yym732 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) } } - if yyr726 || yy2arr726 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym734 := z.EncBinary() - _ = yym734 + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) @@ -8712,17 +9321,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym735 := z.EncBinary() - _ = yym735 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) } } - if yyr726 || yy2arr726 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym737 := z.EncBinary() - _ = yym737 + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeInt(int64(x.NumberReady)) @@ -8731,14 +9340,39 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberReady")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym738 := z.EncBinary() - _ = yym738 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeInt(int64(x.NumberReady)) } } - if yyr726 || yy2arr726 { + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 + if false { + } else { + r.EncodeInt(int64(x.ObservedGeneration)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq2[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym17 := z.EncBinary() + _ = yym17 + if false { + } else { + r.EncodeInt(int64(x.ObservedGeneration)) + } + } + } + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8751,25 +9385,25 @@ func (x *DaemonSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym739 := z.DecBinary() - _ = yym739 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct740 := r.ContainerType() - if yyct740 == codecSelferValueTypeMap1234 { - yyl740 := r.ReadMapStart() - if yyl740 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl740, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct740 == codecSelferValueTypeArray1234 { - yyl740 := r.ReadArrayStart() - if yyl740 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl740, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8781,12 +9415,12 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys741Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys741Slc - var yyhl741 bool = l >= 0 - for yyj741 := 0; ; yyj741++ { - if yyhl741 { - if yyj741 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -8795,38 +9429,74 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys741Slc = r.DecodeBytes(yys741Slc, true, true) - yys741 := string(yys741Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys741 { + switch yys3 { case "currentNumberScheduled": if r.TryDecodeAsNil() { x.CurrentNumberScheduled = 0 } else { - x.CurrentNumberScheduled = int32(r.DecodeInt(32)) + yyv4 := &x.CurrentNumberScheduled + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int32)(yyv4)) = int32(r.DecodeInt(32)) + } } case "numberMisscheduled": if r.TryDecodeAsNil() { x.NumberMisscheduled = 0 } else { - x.NumberMisscheduled = int32(r.DecodeInt(32)) + yyv6 := &x.NumberMisscheduled + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*int32)(yyv6)) = int32(r.DecodeInt(32)) + } } case "desiredNumberScheduled": if r.TryDecodeAsNil() { x.DesiredNumberScheduled = 0 } else { - x.DesiredNumberScheduled = int32(r.DecodeInt(32)) + yyv8 := &x.DesiredNumberScheduled + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*int32)(yyv8)) = int32(r.DecodeInt(32)) + } } case "numberReady": if r.TryDecodeAsNil() { x.NumberReady = 0 } else { - x.NumberReady = int32(r.DecodeInt(32)) + yyv10 := &x.NumberReady + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*int32)(yyv10)) = int32(r.DecodeInt(32)) + } + } + case "observedGeneration": + if r.TryDecodeAsNil() { + x.ObservedGeneration = 0 + } else { + yyv12 := &x.ObservedGeneration + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*int64)(yyv12)) = int64(r.DecodeInt(64)) + } } default: - z.DecStructFieldNotFound(-1, yys741) - } // end switch yys741 - } // end for yyj741 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8834,16 +9504,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj746 int - var yyb746 bool - var yyhl746 bool = l >= 0 - yyj746++ - if yyhl746 { - yyb746 = yyj746 > l + var yyj14 int + var yyb14 bool + var yyhl14 bool = l >= 0 + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb746 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb746 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8851,15 +9521,21 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.CurrentNumberScheduled = 0 } else { - x.CurrentNumberScheduled = int32(r.DecodeInt(32)) + yyv15 := &x.CurrentNumberScheduled + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*int32)(yyv15)) = int32(r.DecodeInt(32)) + } } - yyj746++ - if yyhl746 { - yyb746 = yyj746 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb746 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb746 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8867,15 +9543,21 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.NumberMisscheduled = 0 } else { - x.NumberMisscheduled = int32(r.DecodeInt(32)) + yyv17 := &x.NumberMisscheduled + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*int32)(yyv17)) = int32(r.DecodeInt(32)) + } } - yyj746++ - if yyhl746 { - yyb746 = yyj746 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb746 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb746 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8883,15 +9565,21 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.DesiredNumberScheduled = 0 } else { - x.DesiredNumberScheduled = int32(r.DecodeInt(32)) + yyv19 := &x.DesiredNumberScheduled + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*int32)(yyv19)) = int32(r.DecodeInt(32)) + } } - yyj746++ - if yyhl746 { - yyb746 = yyj746 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb746 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb746 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8899,20 +9587,48 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.NumberReady = 0 } else { - x.NumberReady = int32(r.DecodeInt(32)) + yyv21 := &x.NumberReady + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*int32)(yyv21)) = int32(r.DecodeInt(32)) + } + } + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l + } else { + yyb14 = r.CheckBreak() + } + if yyb14 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObservedGeneration = 0 + } else { + yyv23 := &x.ObservedGeneration + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*int64)(yyv23)) = int64(r.DecodeInt(64)) + } } for { - yyj746++ - if yyhl746 { - yyb746 = yyj746 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb746 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb746 { + if yyb14 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj746-1, "") + z.DecStructFieldNotFound(yyj14-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8924,39 +9640,39 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym751 := z.EncBinary() - _ = yym751 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep752 := !z.EncBinary() - yy2arr752 := z.EncBasicHandle().StructToArray - var yyq752 [5]bool - _, _, _ = yysep752, yyq752, yy2arr752 - const yyr752 bool = false - yyq752[0] = x.Kind != "" - yyq752[1] = x.APIVersion != "" - yyq752[2] = true - yyq752[3] = true - yyq752[4] = true - var yynn752 int - if yyr752 || yy2arr752 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn752 = 0 - for _, b := range yyq752 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn752++ + yynn2++ } } - r.EncodeMapStart(yynn752) - yynn752 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr752 || yy2arr752 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq752[0] { - yym754 := z.EncBinary() - _ = yym754 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8965,23 +9681,23 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq752[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym755 := z.EncBinary() - _ = yym755 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr752 || yy2arr752 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq752[1] { - yym757 := z.EncBinary() - _ = yym757 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8990,70 +9706,70 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq752[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym758 := z.EncBinary() - _ = yym758 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr752 || yy2arr752 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq752[2] { - yy760 := &x.ObjectMeta - yy760.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq752[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy761 := &x.ObjectMeta - yy761.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr752 || yy2arr752 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq752[3] { - yy763 := &x.Spec - yy763.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq752[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy764 := &x.Spec - yy764.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr752 || yy2arr752 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq752[4] { - yy766 := &x.Status - yy766.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq752[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy767 := &x.Status - yy767.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr752 || yy2arr752 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9066,25 +9782,25 @@ func (x *DaemonSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym768 := z.DecBinary() - _ = yym768 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct769 := r.ContainerType() - if yyct769 == codecSelferValueTypeMap1234 { - yyl769 := r.ReadMapStart() - if yyl769 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl769, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct769 == codecSelferValueTypeArray1234 { - yyl769 := r.ReadArrayStart() - if yyl769 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl769, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9096,12 +9812,12 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys770Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys770Slc - var yyhl770 bool = l >= 0 - for yyj770 := 0; ; yyj770++ { - if yyhl770 { - if yyj770 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -9110,47 +9826,59 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys770Slc = r.DecodeBytes(yys770Slc, true, true) - yys770 := string(yys770Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys770 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv773 := &x.ObjectMeta - yyv773.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv774 := &x.Spec - yyv774.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv775 := &x.Status - yyv775.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys770) - } // end switch yys770 - } // end for yyj770 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9158,16 +9886,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj776 int - var yyb776 bool - var yyhl776 bool = l >= 0 - yyj776++ - if yyhl776 { - yyb776 = yyj776 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb776 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb776 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9175,15 +9903,21 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj776++ - if yyhl776 { - yyb776 = yyj776 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb776 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb776 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9191,15 +9925,21 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj776++ - if yyhl776 { - yyb776 = yyj776 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb776 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb776 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9207,16 +9947,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv779 := &x.ObjectMeta - yyv779.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj776++ - if yyhl776 { - yyb776 = yyj776 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb776 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb776 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9224,16 +9964,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv780 := &x.Spec - yyv780.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj776++ - if yyhl776 { - yyb776 = yyj776 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb776 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb776 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9241,21 +9981,21 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv781 := &x.Status - yyv781.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj776++ - if yyhl776 { - yyb776 = yyj776 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb776 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb776 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj776-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9267,37 +10007,37 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym782 := z.EncBinary() - _ = yym782 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep783 := !z.EncBinary() - yy2arr783 := z.EncBasicHandle().StructToArray - var yyq783 [4]bool - _, _, _ = yysep783, yyq783, yy2arr783 - const yyr783 bool = false - yyq783[0] = x.Kind != "" - yyq783[1] = x.APIVersion != "" - yyq783[2] = true - var yynn783 int - if yyr783 || yy2arr783 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn783 = 1 - for _, b := range yyq783 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn783++ + yynn2++ } } - r.EncodeMapStart(yynn783) - yynn783 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr783 || yy2arr783 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq783[0] { - yym785 := z.EncBinary() - _ = yym785 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9306,23 +10046,23 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq783[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym786 := z.EncBinary() - _ = yym786 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr783 || yy2arr783 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq783[1] { - yym788 := z.EncBinary() - _ = yym788 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9331,54 +10071,54 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq783[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym789 := z.EncBinary() - _ = yym789 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr783 || yy2arr783 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq783[2] { - yy791 := &x.ListMeta - yym792 := z.EncBinary() - _ = yym792 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy791) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy791) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq783[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy793 := &x.ListMeta - yym794 := z.EncBinary() - _ = yym794 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy793) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy793) + z.EncFallback(yy12) } } } - if yyr783 || yy2arr783 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym796 := z.EncBinary() - _ = yym796 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) @@ -9391,15 +10131,15 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym797 := z.EncBinary() - _ = yym797 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } - if yyr783 || yy2arr783 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9412,25 +10152,25 @@ func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym798 := z.DecBinary() - _ = yym798 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct799 := r.ContainerType() - if yyct799 == codecSelferValueTypeMap1234 { - yyl799 := r.ReadMapStart() - if yyl799 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl799, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct799 == codecSelferValueTypeArray1234 { - yyl799 := r.ReadArrayStart() - if yyl799 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl799, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9442,12 +10182,12 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys800Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys800Slc - var yyhl800 bool = l >= 0 - for yyj800 := 0; ; yyj800++ { - if yyhl800 { - if yyj800 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -9456,51 +10196,63 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys800Slc = r.DecodeBytes(yys800Slc, true, true) - yys800 := string(yys800Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys800 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv803 := &x.ListMeta - yym804 := z.DecBinary() - _ = yym804 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv803) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv803, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv805 := &x.Items - yym806 := z.DecBinary() - _ = yym806 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv805), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys800) - } // end switch yys800 - } // end for yyj800 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9508,16 +10260,16 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj807 int - var yyb807 bool - var yyhl807 bool = l >= 0 - yyj807++ - if yyhl807 { - yyb807 = yyj807 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb807 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb807 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9525,15 +10277,21 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj807++ - if yyhl807 { - yyb807 = yyj807 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb807 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb807 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9541,15 +10299,21 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj807++ - if yyhl807 { - yyb807 = yyj807 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb807 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb807 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9557,22 +10321,22 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv810 := &x.ListMeta - yym811 := z.DecBinary() - _ = yym811 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv810) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv810, false) + z.DecFallback(yyv17, false) } } - yyj807++ - if yyhl807 { - yyb807 = yyj807 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb807 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb807 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9580,26 +10344,26 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv812 := &x.Items - yym813 := z.DecBinary() - _ = yym813 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv812), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv19), d) } } for { - yyj807++ - if yyhl807 { - yyb807 = yyj807 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb807 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb807 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj807-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9611,37 +10375,37 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym814 := z.EncBinary() - _ = yym814 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep815 := !z.EncBinary() - yy2arr815 := z.EncBasicHandle().StructToArray - var yyq815 [4]bool - _, _, _ = yysep815, yyq815, yy2arr815 - const yyr815 bool = false - yyq815[0] = x.Kind != "" - yyq815[1] = x.APIVersion != "" - yyq815[2] = true - var yynn815 int - if yyr815 || yy2arr815 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn815 = 1 - for _, b := range yyq815 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn815++ + yynn2++ } } - r.EncodeMapStart(yynn815) - yynn815 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr815 || yy2arr815 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq815[0] { - yym817 := z.EncBinary() - _ = yym817 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9650,23 +10414,23 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq815[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym818 := z.EncBinary() - _ = yym818 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr815 || yy2arr815 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq815[1] { - yym820 := z.EncBinary() - _ = yym820 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9675,54 +10439,54 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq815[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym821 := z.EncBinary() - _ = yym821 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr815 || yy2arr815 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq815[2] { - yy823 := &x.ListMeta - yym824 := z.EncBinary() - _ = yym824 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy823) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy823) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq815[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy825 := &x.ListMeta - yym826 := z.EncBinary() - _ = yym826 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy825) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy825) + z.EncFallback(yy12) } } } - if yyr815 || yy2arr815 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym828 := z.EncBinary() - _ = yym828 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) @@ -9735,15 +10499,15 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym829 := z.EncBinary() - _ = yym829 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) } } } - if yyr815 || yy2arr815 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9756,25 +10520,25 @@ func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym830 := z.DecBinary() - _ = yym830 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct831 := r.ContainerType() - if yyct831 == codecSelferValueTypeMap1234 { - yyl831 := r.ReadMapStart() - if yyl831 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl831, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct831 == codecSelferValueTypeArray1234 { - yyl831 := r.ReadArrayStart() - if yyl831 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl831, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9786,12 +10550,12 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys832Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys832Slc - var yyhl832 bool = l >= 0 - for yyj832 := 0; ; yyj832++ { - if yyhl832 { - if yyj832 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -9800,51 +10564,63 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys832Slc = r.DecodeBytes(yys832Slc, true, true) - yys832 := string(yys832Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys832 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv835 := &x.ListMeta - yym836 := z.DecBinary() - _ = yym836 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv835) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv835, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv837 := &x.Items - yym838 := z.DecBinary() - _ = yym838 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv837), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys832) - } // end switch yys832 - } // end for yyj832 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9852,16 +10628,16 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj839 int - var yyb839 bool - var yyhl839 bool = l >= 0 - yyj839++ - if yyhl839 { - yyb839 = yyj839 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb839 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb839 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9869,15 +10645,21 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj839++ - if yyhl839 { - yyb839 = yyj839 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb839 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb839 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9885,15 +10667,21 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj839++ - if yyhl839 { - yyb839 = yyj839 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb839 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb839 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9901,22 +10689,22 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv842 := &x.ListMeta - yym843 := z.DecBinary() - _ = yym843 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv842) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv842, false) + z.DecFallback(yyv17, false) } } - yyj839++ - if yyhl839 { - yyb839 = yyj839 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb839 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb839 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9924,26 +10712,26 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv844 := &x.Items - yym845 := z.DecBinary() - _ = yym845 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv844), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv19), d) } } for { - yyj839++ - if yyhl839 { - yyb839 = yyj839 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb839 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb839 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj839-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9955,39 +10743,39 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym846 := z.EncBinary() - _ = yym846 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep847 := !z.EncBinary() - yy2arr847 := z.EncBasicHandle().StructToArray - var yyq847 [5]bool - _, _, _ = yysep847, yyq847, yy2arr847 - const yyr847 bool = false - yyq847[0] = x.Kind != "" - yyq847[1] = x.APIVersion != "" - yyq847[2] = true - yyq847[3] = true - yyq847[4] = true - var yynn847 int - if yyr847 || yy2arr847 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn847 = 0 - for _, b := range yyq847 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn847++ + yynn2++ } } - r.EncodeMapStart(yynn847) - yynn847 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr847 || yy2arr847 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq847[0] { - yym849 := z.EncBinary() - _ = yym849 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9996,23 +10784,23 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq847[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym850 := z.EncBinary() - _ = yym850 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr847 || yy2arr847 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq847[1] { - yym852 := z.EncBinary() - _ = yym852 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -10021,70 +10809,70 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq847[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym853 := z.EncBinary() - _ = yym853 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr847 || yy2arr847 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq847[2] { - yy855 := &x.ObjectMeta - yy855.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq847[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy856 := &x.ObjectMeta - yy856.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr847 || yy2arr847 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq847[3] { - yy858 := &x.Spec - yy858.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq847[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy859 := &x.Spec - yy859.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr847 || yy2arr847 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq847[4] { - yy861 := &x.Status - yy861.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq847[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy862 := &x.Status - yy862.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr847 || yy2arr847 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10097,25 +10885,25 @@ func (x *Ingress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym863 := z.DecBinary() - _ = yym863 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct864 := r.ContainerType() - if yyct864 == codecSelferValueTypeMap1234 { - yyl864 := r.ReadMapStart() - if yyl864 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl864, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct864 == codecSelferValueTypeArray1234 { - yyl864 := r.ReadArrayStart() - if yyl864 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl864, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10127,12 +10915,12 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys865Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys865Slc - var yyhl865 bool = l >= 0 - for yyj865 := 0; ; yyj865++ { - if yyhl865 { - if yyj865 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -10141,47 +10929,59 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys865Slc = r.DecodeBytes(yys865Slc, true, true) - yys865 := string(yys865Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys865 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv868 := &x.ObjectMeta - yyv868.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv869 := &x.Spec - yyv869.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv870 := &x.Status - yyv870.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys865) - } // end switch yys865 - } // end for yyj865 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10189,16 +10989,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj871 int - var yyb871 bool - var yyhl871 bool = l >= 0 - yyj871++ - if yyhl871 { - yyb871 = yyj871 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb871 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb871 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10206,15 +11006,21 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj871++ - if yyhl871 { - yyb871 = yyj871 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb871 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb871 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10222,15 +11028,21 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj871++ - if yyhl871 { - yyb871 = yyj871 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb871 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb871 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10238,16 +11050,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv874 := &x.ObjectMeta - yyv874.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj871++ - if yyhl871 { - yyb871 = yyj871 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb871 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb871 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10255,16 +11067,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv875 := &x.Spec - yyv875.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj871++ - if yyhl871 { - yyb871 = yyj871 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb871 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb871 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10272,21 +11084,21 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv876 := &x.Status - yyv876.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj871++ - if yyhl871 { - yyb871 = yyj871 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb871 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb871 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj871-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10298,37 +11110,37 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym877 := z.EncBinary() - _ = yym877 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep878 := !z.EncBinary() - yy2arr878 := z.EncBasicHandle().StructToArray - var yyq878 [4]bool - _, _, _ = yysep878, yyq878, yy2arr878 - const yyr878 bool = false - yyq878[0] = x.Kind != "" - yyq878[1] = x.APIVersion != "" - yyq878[2] = true - var yynn878 int - if yyr878 || yy2arr878 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn878 = 1 - for _, b := range yyq878 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn878++ + yynn2++ } } - r.EncodeMapStart(yynn878) - yynn878 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr878 || yy2arr878 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq878[0] { - yym880 := z.EncBinary() - _ = yym880 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -10337,23 +11149,23 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq878[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym881 := z.EncBinary() - _ = yym881 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr878 || yy2arr878 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq878[1] { - yym883 := z.EncBinary() - _ = yym883 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -10362,54 +11174,54 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq878[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym884 := z.EncBinary() - _ = yym884 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr878 || yy2arr878 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq878[2] { - yy886 := &x.ListMeta - yym887 := z.EncBinary() - _ = yym887 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy886) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy886) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq878[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy888 := &x.ListMeta - yym889 := z.EncBinary() - _ = yym889 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy888) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy888) + z.EncFallback(yy12) } } } - if yyr878 || yy2arr878 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym891 := z.EncBinary() - _ = yym891 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) @@ -10422,15 +11234,15 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym892 := z.EncBinary() - _ = yym892 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) } } } - if yyr878 || yy2arr878 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10443,25 +11255,25 @@ func (x *IngressList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym893 := z.DecBinary() - _ = yym893 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct894 := r.ContainerType() - if yyct894 == codecSelferValueTypeMap1234 { - yyl894 := r.ReadMapStart() - if yyl894 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl894, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct894 == codecSelferValueTypeArray1234 { - yyl894 := r.ReadArrayStart() - if yyl894 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl894, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10473,12 +11285,12 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys895Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys895Slc - var yyhl895 bool = l >= 0 - for yyj895 := 0; ; yyj895++ { - if yyhl895 { - if yyj895 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -10487,51 +11299,63 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys895Slc = r.DecodeBytes(yys895Slc, true, true) - yys895 := string(yys895Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys895 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv898 := &x.ListMeta - yym899 := z.DecBinary() - _ = yym899 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv898) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv898, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv900 := &x.Items - yym901 := z.DecBinary() - _ = yym901 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv900), d) + h.decSliceIngress((*[]Ingress)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys895) - } // end switch yys895 - } // end for yyj895 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10539,16 +11363,16 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj902 int - var yyb902 bool - var yyhl902 bool = l >= 0 - yyj902++ - if yyhl902 { - yyb902 = yyj902 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb902 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb902 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10556,15 +11380,21 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj902++ - if yyhl902 { - yyb902 = yyj902 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb902 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb902 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10572,15 +11402,21 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj902++ - if yyhl902 { - yyb902 = yyj902 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb902 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb902 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10588,22 +11424,22 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv905 := &x.ListMeta - yym906 := z.DecBinary() - _ = yym906 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv905) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv905, false) + z.DecFallback(yyv17, false) } } - yyj902++ - if yyhl902 { - yyb902 = yyj902 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb902 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb902 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10611,26 +11447,26 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv907 := &x.Items - yym908 := z.DecBinary() - _ = yym908 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv907), d) + h.decSliceIngress((*[]Ingress)(yyv19), d) } } for { - yyj902++ - if yyhl902 { - yyb902 = yyj902 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb902 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb902 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj902-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10642,35 +11478,35 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym909 := z.EncBinary() - _ = yym909 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep910 := !z.EncBinary() - yy2arr910 := z.EncBasicHandle().StructToArray - var yyq910 [3]bool - _, _, _ = yysep910, yyq910, yy2arr910 - const yyr910 bool = false - yyq910[0] = x.Backend != nil - yyq910[1] = len(x.TLS) != 0 - yyq910[2] = len(x.Rules) != 0 - var yynn910 int - if yyr910 || yy2arr910 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Backend != nil + yyq2[1] = len(x.TLS) != 0 + yyq2[2] = len(x.Rules) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn910 = 0 - for _, b := range yyq910 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn910++ + yynn2++ } } - r.EncodeMapStart(yynn910) - yynn910 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr910 || yy2arr910 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq910[0] { + if yyq2[0] { if x.Backend == nil { r.EncodeNil() } else { @@ -10680,7 +11516,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq910[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -10691,14 +11527,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr910 || yy2arr910 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq910[1] { + if yyq2[1] { if x.TLS == nil { r.EncodeNil() } else { - yym913 := z.EncBinary() - _ = yym913 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -10708,15 +11544,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq910[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TLS == nil { r.EncodeNil() } else { - yym914 := z.EncBinary() - _ = yym914 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -10724,14 +11560,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr910 || yy2arr910 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq910[2] { + if yyq2[2] { if x.Rules == nil { r.EncodeNil() } else { - yym916 := z.EncBinary() - _ = yym916 + yym10 := z.EncBinary() + _ = yym10 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -10741,15 +11577,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq910[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rules")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Rules == nil { r.EncodeNil() } else { - yym917 := z.EncBinary() - _ = yym917 + yym11 := z.EncBinary() + _ = yym11 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -10757,7 +11593,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr910 || yy2arr910 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10770,25 +11606,25 @@ func (x *IngressSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym918 := z.DecBinary() - _ = yym918 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct919 := r.ContainerType() - if yyct919 == codecSelferValueTypeMap1234 { - yyl919 := r.ReadMapStart() - if yyl919 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl919, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct919 == codecSelferValueTypeArray1234 { - yyl919 := r.ReadArrayStart() - if yyl919 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl919, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10800,12 +11636,12 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys920Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys920Slc - var yyhl920 bool = l >= 0 - for yyj920 := 0; ; yyj920++ { - if yyhl920 { - if yyj920 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -10814,10 +11650,10 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys920Slc = r.DecodeBytes(yys920Slc, true, true) - yys920 := string(yys920Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys920 { + switch yys3 { case "backend": if r.TryDecodeAsNil() { if x.Backend != nil { @@ -10833,30 +11669,30 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv922 := &x.TLS - yym923 := z.DecBinary() - _ = yym923 + yyv5 := &x.TLS + yym6 := z.DecBinary() + _ = yym6 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv922), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv5), d) } } case "rules": if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv924 := &x.Rules - yym925 := z.DecBinary() - _ = yym925 + yyv7 := &x.Rules + yym8 := z.DecBinary() + _ = yym8 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv924), d) + h.decSliceIngressRule((*[]IngressRule)(yyv7), d) } } default: - z.DecStructFieldNotFound(-1, yys920) - } // end switch yys920 - } // end for yyj920 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10864,16 +11700,16 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj926 int - var yyb926 bool - var yyhl926 bool = l >= 0 - yyj926++ - if yyhl926 { - yyb926 = yyj926 > l + var yyj9 int + var yyb9 bool + var yyhl9 bool = l >= 0 + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb926 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb926 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10888,13 +11724,13 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Backend.CodecDecodeSelf(d) } - yyj926++ - if yyhl926 { - yyb926 = yyj926 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb926 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb926 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10902,21 +11738,21 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv928 := &x.TLS - yym929 := z.DecBinary() - _ = yym929 + yyv11 := &x.TLS + yym12 := z.DecBinary() + _ = yym12 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv928), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv11), d) } } - yyj926++ - if yyhl926 { - yyb926 = yyj926 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb926 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb926 { + if yyb9 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10924,26 +11760,26 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv930 := &x.Rules - yym931 := z.DecBinary() - _ = yym931 + yyv13 := &x.Rules + yym14 := z.DecBinary() + _ = yym14 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv930), d) + h.decSliceIngressRule((*[]IngressRule)(yyv13), d) } } for { - yyj926++ - if yyhl926 { - yyb926 = yyj926 > l + yyj9++ + if yyhl9 { + yyb9 = yyj9 > l } else { - yyb926 = r.CheckBreak() + yyb9 = r.CheckBreak() } - if yyb926 { + if yyb9 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj926-1, "") + z.DecStructFieldNotFound(yyj9-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10955,39 +11791,39 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym932 := z.EncBinary() - _ = yym932 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep933 := !z.EncBinary() - yy2arr933 := z.EncBasicHandle().StructToArray - var yyq933 [2]bool - _, _, _ = yysep933, yyq933, yy2arr933 - const yyr933 bool = false - yyq933[0] = len(x.Hosts) != 0 - yyq933[1] = x.SecretName != "" - var yynn933 int - if yyr933 || yy2arr933 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Hosts) != 0 + yyq2[1] = x.SecretName != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn933 = 0 - for _, b := range yyq933 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn933++ + yynn2++ } } - r.EncodeMapStart(yynn933) - yynn933 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr933 || yy2arr933 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq933[0] { + if yyq2[0] { if x.Hosts == nil { r.EncodeNil() } else { - yym935 := z.EncBinary() - _ = yym935 + yym4 := z.EncBinary() + _ = yym4 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -10997,15 +11833,15 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq933[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hosts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Hosts == nil { r.EncodeNil() } else { - yym936 := z.EncBinary() - _ = yym936 + yym5 := z.EncBinary() + _ = yym5 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -11013,11 +11849,11 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr933 || yy2arr933 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq933[1] { - yym938 := z.EncBinary() - _ = yym938 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -11026,19 +11862,19 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq933[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym939 := z.EncBinary() - _ = yym939 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } } - if yyr933 || yy2arr933 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11051,25 +11887,25 @@ func (x *IngressTLS) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym940 := z.DecBinary() - _ = yym940 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct941 := r.ContainerType() - if yyct941 == codecSelferValueTypeMap1234 { - yyl941 := r.ReadMapStart() - if yyl941 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl941, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct941 == codecSelferValueTypeArray1234 { - yyl941 := r.ReadArrayStart() - if yyl941 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl941, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11081,12 +11917,12 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys942Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys942Slc - var yyhl942 bool = l >= 0 - for yyj942 := 0; ; yyj942++ { - if yyhl942 { - if yyj942 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -11095,32 +11931,38 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys942Slc = r.DecodeBytes(yys942Slc, true, true) - yys942 := string(yys942Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys942 { + switch yys3 { case "hosts": if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv943 := &x.Hosts - yym944 := z.DecBinary() - _ = yym944 + yyv4 := &x.Hosts + yym5 := z.DecBinary() + _ = yym5 if false { } else { - z.F.DecSliceStringX(yyv943, false, d) + z.F.DecSliceStringX(yyv4, false, d) } } case "secretName": if r.TryDecodeAsNil() { x.SecretName = "" } else { - x.SecretName = string(r.DecodeString()) + yyv6 := &x.SecretName + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys942) - } // end switch yys942 - } // end for yyj942 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11128,16 +11970,16 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj946 int - var yyb946 bool - var yyhl946 bool = l >= 0 - yyj946++ - if yyhl946 { - yyb946 = yyj946 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb946 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb946 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11145,21 +11987,21 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv947 := &x.Hosts - yym948 := z.DecBinary() - _ = yym948 + yyv9 := &x.Hosts + yym10 := z.DecBinary() + _ = yym10 if false { } else { - z.F.DecSliceStringX(yyv947, false, d) + z.F.DecSliceStringX(yyv9, false, d) } } - yyj946++ - if yyhl946 { - yyb946 = yyj946 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb946 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb946 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11167,20 +12009,26 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.SecretName = "" } else { - x.SecretName = string(r.DecodeString()) + yyv11 := &x.SecretName + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj946++ - if yyhl946 { - yyb946 = yyj946 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb946 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb946 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj946-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11192,48 +12040,48 @@ func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym950 := z.EncBinary() - _ = yym950 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep951 := !z.EncBinary() - yy2arr951 := z.EncBasicHandle().StructToArray - var yyq951 [1]bool - _, _, _ = yysep951, yyq951, yy2arr951 - const yyr951 bool = false - yyq951[0] = true - var yynn951 int - if yyr951 || yy2arr951 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn951 = 0 - for _, b := range yyq951 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn951++ + yynn2++ } } - r.EncodeMapStart(yynn951) - yynn951 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr951 || yy2arr951 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq951[0] { - yy953 := &x.LoadBalancer - yy953.CodecEncodeSelf(e) + if yyq2[0] { + yy4 := &x.LoadBalancer + yy4.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq951[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy954 := &x.LoadBalancer - yy954.CodecEncodeSelf(e) + yy6 := &x.LoadBalancer + yy6.CodecEncodeSelf(e) } } - if yyr951 || yy2arr951 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11246,25 +12094,25 @@ func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym955 := z.DecBinary() - _ = yym955 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct956 := r.ContainerType() - if yyct956 == codecSelferValueTypeMap1234 { - yyl956 := r.ReadMapStart() - if yyl956 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl956, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct956 == codecSelferValueTypeArray1234 { - yyl956 := r.ReadArrayStart() - if yyl956 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl956, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11276,12 +12124,12 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys957Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys957Slc - var yyhl957 bool = l >= 0 - for yyj957 := 0; ; yyj957++ { - if yyhl957 { - if yyj957 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -11290,21 +12138,21 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys957Slc = r.DecodeBytes(yys957Slc, true, true) - yys957 := string(yys957Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys957 { + switch yys3 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} } else { - yyv958 := &x.LoadBalancer - yyv958.CodecDecodeSelf(d) + yyv4 := &x.LoadBalancer + yyv4.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys957) - } // end switch yys957 - } // end for yyj957 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11312,16 +12160,16 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj959 int - var yyb959 bool - var yyhl959 bool = l >= 0 - yyj959++ - if yyhl959 { - yyb959 = yyj959 > l + var yyj5 int + var yyb5 bool + var yyhl5 bool = l >= 0 + yyj5++ + if yyhl5 { + yyb5 = yyj5 > l } else { - yyb959 = r.CheckBreak() + yyb5 = r.CheckBreak() } - if yyb959 { + if yyb5 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11329,21 +12177,21 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} } else { - yyv960 := &x.LoadBalancer - yyv960.CodecDecodeSelf(d) + yyv6 := &x.LoadBalancer + yyv6.CodecDecodeSelf(d) } for { - yyj959++ - if yyhl959 { - yyb959 = yyj959 > l + yyj5++ + if yyhl5 { + yyb5 = yyj5 > l } else { - yyb959 = r.CheckBreak() + yyb5 = r.CheckBreak() } - if yyb959 { + if yyb5 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj959-1, "") + z.DecStructFieldNotFound(yyj5-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11355,36 +12203,36 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym961 := z.EncBinary() - _ = yym961 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep962 := !z.EncBinary() - yy2arr962 := z.EncBasicHandle().StructToArray - var yyq962 [2]bool - _, _, _ = yysep962, yyq962, yy2arr962 - const yyr962 bool = false - yyq962[0] = x.Host != "" - yyq962[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil - var yynn962 int - if yyr962 || yy2arr962 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Host != "" + yyq2[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn962 = 0 - for _, b := range yyq962 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn962++ + yynn2++ } } - r.EncodeMapStart(yynn962) - yynn962 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr962 || yy2arr962 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq962[0] { - yym964 := z.EncBinary() - _ = yym964 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -11393,30 +12241,30 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq962[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym965 := z.EncBinary() - _ = yym965 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - var yyn966 bool + var yyn6 bool if x.IngressRuleValue.HTTP == nil { - yyn966 = true - goto LABEL966 + yyn6 = true + goto LABEL6 } - LABEL966: - if yyr962 || yy2arr962 { - if yyn966 { + LABEL6: + if yyr2 || yy2arr2 { + if yyn6 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq962[1] { + if yyq2[1] { if x.HTTP == nil { r.EncodeNil() } else { @@ -11427,11 +12275,11 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq962[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn966 { + if yyn6 { r.EncodeNil() } else { if x.HTTP == nil { @@ -11442,7 +12290,7 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr962 || yy2arr962 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11455,25 +12303,25 @@ func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym967 := z.DecBinary() - _ = yym967 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct968 := r.ContainerType() - if yyct968 == codecSelferValueTypeMap1234 { - yyl968 := r.ReadMapStart() - if yyl968 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl968, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct968 == codecSelferValueTypeArray1234 { - yyl968 := r.ReadArrayStart() - if yyl968 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl968, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11485,12 +12333,12 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys969Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys969Slc - var yyhl969 bool = l >= 0 - for yyj969 := 0; ; yyj969++ { - if yyhl969 { - if yyj969 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -11499,15 +12347,21 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys969Slc = r.DecodeBytes(yys969Slc, true, true) - yys969 := string(yys969Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys969 { + switch yys3 { case "host": if r.TryDecodeAsNil() { x.Host = "" } else { - x.Host = string(r.DecodeString()) + yyv4 := &x.Host + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "http": if x.IngressRuleValue.HTTP == nil { @@ -11524,9 +12378,9 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys969) - } // end switch yys969 - } // end for yyj969 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11534,16 +12388,16 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj972 int - var yyb972 bool - var yyhl972 bool = l >= 0 - yyj972++ - if yyhl972 { - yyb972 = yyj972 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb972 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb972 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11551,18 +12405,24 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Host = "" } else { - x.Host = string(r.DecodeString()) + yyv8 := &x.Host + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } if x.IngressRuleValue.HTTP == nil { x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) } - yyj972++ - if yyhl972 { - yyb972 = yyj972 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb972 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb972 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11578,17 +12438,17 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } for { - yyj972++ - if yyhl972 { - yyb972 = yyj972 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb972 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb972 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj972-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11600,33 +12460,33 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym975 := z.EncBinary() - _ = yym975 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep976 := !z.EncBinary() - yy2arr976 := z.EncBasicHandle().StructToArray - var yyq976 [1]bool - _, _, _ = yysep976, yyq976, yy2arr976 - const yyr976 bool = false - yyq976[0] = x.HTTP != nil - var yynn976 int - if yyr976 || yy2arr976 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.HTTP != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn976 = 0 - for _, b := range yyq976 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn976++ + yynn2++ } } - r.EncodeMapStart(yynn976) - yynn976 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr976 || yy2arr976 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq976[0] { + if yyq2[0] { if x.HTTP == nil { r.EncodeNil() } else { @@ -11636,7 +12496,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq976[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -11647,7 +12507,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr976 || yy2arr976 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11660,25 +12520,25 @@ func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym978 := z.DecBinary() - _ = yym978 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct979 := r.ContainerType() - if yyct979 == codecSelferValueTypeMap1234 { - yyl979 := r.ReadMapStart() - if yyl979 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl979, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct979 == codecSelferValueTypeArray1234 { - yyl979 := r.ReadArrayStart() - if yyl979 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl979, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11690,12 +12550,12 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys980Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys980Slc - var yyhl980 bool = l >= 0 - for yyj980 := 0; ; yyj980++ { - if yyhl980 { - if yyj980 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -11704,10 +12564,10 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys980Slc = r.DecodeBytes(yys980Slc, true, true) - yys980 := string(yys980Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys980 { + switch yys3 { case "http": if r.TryDecodeAsNil() { if x.HTTP != nil { @@ -11720,9 +12580,9 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys980) - } // end switch yys980 - } // end for yyj980 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11730,16 +12590,16 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj982 int - var yyb982 bool - var yyhl982 bool = l >= 0 - yyj982++ - if yyhl982 { - yyb982 = yyj982 > l + var yyj5 int + var yyb5 bool + var yyhl5 bool = l >= 0 + yyj5++ + if yyhl5 { + yyb5 = yyj5 > l } else { - yyb982 = r.CheckBreak() + yyb5 = r.CheckBreak() } - if yyb982 { + if yyb5 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11755,17 +12615,17 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.HTTP.CodecDecodeSelf(d) } for { - yyj982++ - if yyhl982 { - yyb982 = yyj982 > l + yyj5++ + if yyhl5 { + yyb5 = yyj5 > l } else { - yyb982 = r.CheckBreak() + yyb5 = r.CheckBreak() } - if yyb982 { + if yyb5 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj982-1, "") + z.DecStructFieldNotFound(yyj5-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11777,36 +12637,36 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym984 := z.EncBinary() - _ = yym984 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep985 := !z.EncBinary() - yy2arr985 := z.EncBasicHandle().StructToArray - var yyq985 [1]bool - _, _, _ = yysep985, yyq985, yy2arr985 - const yyr985 bool = false - var yynn985 int - if yyr985 || yy2arr985 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn985 = 1 - for _, b := range yyq985 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn985++ + yynn2++ } } - r.EncodeMapStart(yynn985) - yynn985 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr985 || yy2arr985 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Paths == nil { r.EncodeNil() } else { - yym987 := z.EncBinary() - _ = yym987 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) @@ -11819,15 +12679,15 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x.Paths == nil { r.EncodeNil() } else { - yym988 := z.EncBinary() - _ = yym988 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) } } } - if yyr985 || yy2arr985 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11840,25 +12700,25 @@ func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym989 := z.DecBinary() - _ = yym989 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct990 := r.ContainerType() - if yyct990 == codecSelferValueTypeMap1234 { - yyl990 := r.ReadMapStart() - if yyl990 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl990, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct990 == codecSelferValueTypeArray1234 { - yyl990 := r.ReadArrayStart() - if yyl990 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl990, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11870,12 +12730,12 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys991Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys991Slc - var yyhl991 bool = l >= 0 - for yyj991 := 0; ; yyj991++ { - if yyhl991 { - if yyj991 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -11884,26 +12744,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys991Slc = r.DecodeBytes(yys991Slc, true, true) - yys991 := string(yys991Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys991 { + switch yys3 { case "paths": if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv992 := &x.Paths - yym993 := z.DecBinary() - _ = yym993 + yyv4 := &x.Paths + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv992), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv4), d) } } default: - z.DecStructFieldNotFound(-1, yys991) - } // end switch yys991 - } // end for yyj991 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11911,16 +12771,16 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj994 int - var yyb994 bool - var yyhl994 bool = l >= 0 - yyj994++ - if yyhl994 { - yyb994 = yyj994 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb994 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb994 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11928,26 +12788,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv995 := &x.Paths - yym996 := z.DecBinary() - _ = yym996 + yyv7 := &x.Paths + yym8 := z.DecBinary() + _ = yym8 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv995), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv7), d) } } for { - yyj994++ - if yyhl994 { - yyb994 = yyj994 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb994 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb994 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj994-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11959,35 +12819,35 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym997 := z.EncBinary() - _ = yym997 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep998 := !z.EncBinary() - yy2arr998 := z.EncBasicHandle().StructToArray - var yyq998 [2]bool - _, _, _ = yysep998, yyq998, yy2arr998 - const yyr998 bool = false - yyq998[0] = x.Path != "" - var yynn998 int - if yyr998 || yy2arr998 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Path != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn998 = 1 - for _, b := range yyq998 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn998++ + yynn2++ } } - r.EncodeMapStart(yynn998) - yynn998 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr998 || yy2arr998 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq998[0] { - yym1000 := z.EncBinary() - _ = yym1000 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -11996,30 +12856,30 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq998[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1001 := z.EncBinary() - _ = yym1001 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr998 || yy2arr998 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1003 := &x.Backend - yy1003.CodecEncodeSelf(e) + yy7 := &x.Backend + yy7.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1004 := &x.Backend - yy1004.CodecEncodeSelf(e) + yy9 := &x.Backend + yy9.CodecEncodeSelf(e) } - if yyr998 || yy2arr998 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12032,25 +12892,25 @@ func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1005 := z.DecBinary() - _ = yym1005 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1006 := r.ContainerType() - if yyct1006 == codecSelferValueTypeMap1234 { - yyl1006 := r.ReadMapStart() - if yyl1006 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1006, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1006 == codecSelferValueTypeArray1234 { - yyl1006 := r.ReadArrayStart() - if yyl1006 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1006, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12062,12 +12922,12 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1007Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1007Slc - var yyhl1007 bool = l >= 0 - for yyj1007 := 0; ; yyj1007++ { - if yyhl1007 { - if yyj1007 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -12076,27 +12936,33 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1007Slc = r.DecodeBytes(yys1007Slc, true, true) - yys1007 := string(yys1007Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1007 { + switch yys3 { case "path": if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv4 := &x.Path + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "backend": if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv1009 := &x.Backend - yyv1009.CodecDecodeSelf(d) + yyv6 := &x.Backend + yyv6.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1007) - } // end switch yys1007 - } // end for yyj1007 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12104,16 +12970,16 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1010 int - var yyb1010 bool - var yyhl1010 bool = l >= 0 - yyj1010++ - if yyhl1010 { - yyb1010 = yyj1010 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1010 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1010 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12121,15 +12987,21 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Path = "" } else { - x.Path = string(r.DecodeString()) + yyv8 := &x.Path + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } - yyj1010++ - if yyhl1010 { - yyb1010 = yyj1010 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1010 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1010 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12137,21 +13009,21 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv1012 := &x.Backend - yyv1012.CodecDecodeSelf(d) + yyv10 := &x.Backend + yyv10.CodecDecodeSelf(d) } for { - yyj1010++ - if yyhl1010 { - yyb1010 = yyj1010 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1010 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1010 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1010-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12163,33 +13035,33 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1013 := z.EncBinary() - _ = yym1013 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1014 := !z.EncBinary() - yy2arr1014 := z.EncBasicHandle().StructToArray - var yyq1014 [2]bool - _, _, _ = yysep1014, yyq1014, yy2arr1014 - const yyr1014 bool = false - var yynn1014 int - if yyr1014 || yy2arr1014 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1014 = 2 - for _, b := range yyq1014 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn1014++ + yynn2++ } } - r.EncodeMapStart(yynn1014) - yynn1014 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1014 || yy2arr1014 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1016 := z.EncBinary() - _ = yym1016 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) @@ -12198,41 +13070,41 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1017 := z.EncBinary() - _ = yym1017 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) } } - if yyr1014 || yy2arr1014 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1019 := &x.ServicePort - yym1020 := z.EncBinary() - _ = yym1020 + yy7 := &x.ServicePort + yym8 := z.EncBinary() + _ = yym8 if false { - } else if z.HasExtensions() && z.EncExt(yy1019) { - } else if !yym1020 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1019) + } else if z.HasExtensions() && z.EncExt(yy7) { + } else if !yym8 && z.IsJSONHandle() { + z.EncJSONMarshal(yy7) } else { - z.EncFallback(yy1019) + z.EncFallback(yy7) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("servicePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1021 := &x.ServicePort - yym1022 := z.EncBinary() - _ = yym1022 + yy9 := &x.ServicePort + yym10 := z.EncBinary() + _ = yym10 if false { - } else if z.HasExtensions() && z.EncExt(yy1021) { - } else if !yym1022 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1021) + } else if z.HasExtensions() && z.EncExt(yy9) { + } else if !yym10 && z.IsJSONHandle() { + z.EncJSONMarshal(yy9) } else { - z.EncFallback(yy1021) + z.EncFallback(yy9) } } - if yyr1014 || yy2arr1014 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12245,25 +13117,25 @@ func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1023 := z.DecBinary() - _ = yym1023 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1024 := r.ContainerType() - if yyct1024 == codecSelferValueTypeMap1234 { - yyl1024 := r.ReadMapStart() - if yyl1024 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1024, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1024 == codecSelferValueTypeArray1234 { - yyl1024 := r.ReadArrayStart() - if yyl1024 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1024, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12275,12 +13147,12 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1025Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1025Slc - var yyhl1025 bool = l >= 0 - for yyj1025 := 0; ; yyj1025++ { - if yyhl1025 { - if yyj1025 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -12289,35 +13161,41 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1025Slc = r.DecodeBytes(yys1025Slc, true, true) - yys1025 := string(yys1025Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1025 { + switch yys3 { case "serviceName": if r.TryDecodeAsNil() { x.ServiceName = "" } else { - x.ServiceName = string(r.DecodeString()) + yyv4 := &x.ServiceName + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "servicePort": if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv1027 := &x.ServicePort - yym1028 := z.DecBinary() - _ = yym1028 + yyv6 := &x.ServicePort + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv1027) { - } else if !yym1028 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1027) + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) } else { - z.DecFallback(yyv1027, false) + z.DecFallback(yyv6, false) } } default: - z.DecStructFieldNotFound(-1, yys1025) - } // end switch yys1025 - } // end for yyj1025 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12325,16 +13203,16 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1029 int - var yyb1029 bool - var yyhl1029 bool = l >= 0 - yyj1029++ - if yyhl1029 { - yyb1029 = yyj1029 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1029 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1029 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12342,15 +13220,21 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServiceName = "" } else { - x.ServiceName = string(r.DecodeString()) + yyv9 := &x.ServiceName + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } - yyj1029++ - if yyhl1029 { - yyb1029 = yyj1029 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1029 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1029 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12358,29 +13242,29 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv1031 := &x.ServicePort - yym1032 := z.DecBinary() - _ = yym1032 + yyv11 := &x.ServicePort + yym12 := z.DecBinary() + _ = yym12 if false { - } else if z.HasExtensions() && z.DecExt(yyv1031) { - } else if !yym1032 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1031) + } else if z.HasExtensions() && z.DecExt(yyv11) { + } else if !yym12 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv11) } else { - z.DecFallback(yyv1031, false) + z.DecFallback(yyv11, false) } } for { - yyj1029++ - if yyhl1029 { - yyb1029 = yyj1029 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1029 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1029 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1029-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12392,39 +13276,39 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1033 := z.EncBinary() - _ = yym1033 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1034 := !z.EncBinary() - yy2arr1034 := z.EncBasicHandle().StructToArray - var yyq1034 [5]bool - _, _, _ = yysep1034, yyq1034, yy2arr1034 - const yyr1034 bool = false - yyq1034[0] = x.Kind != "" - yyq1034[1] = x.APIVersion != "" - yyq1034[2] = true - yyq1034[3] = true - yyq1034[4] = true - var yynn1034 int - if yyr1034 || yy2arr1034 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn1034 = 0 - for _, b := range yyq1034 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1034++ + yynn2++ } } - r.EncodeMapStart(yynn1034) - yynn1034 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1034 || yy2arr1034 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1034[0] { - yym1036 := z.EncBinary() - _ = yym1036 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -12433,23 +13317,23 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1034[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1037 := z.EncBinary() - _ = yym1037 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1034 || yy2arr1034 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1034[1] { - yym1039 := z.EncBinary() - _ = yym1039 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -12458,70 +13342,70 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1034[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1040 := z.EncBinary() - _ = yym1040 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1034 || yy2arr1034 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1034[2] { - yy1042 := &x.ObjectMeta - yy1042.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1034[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1043 := &x.ObjectMeta - yy1043.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr1034 || yy2arr1034 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1034[3] { - yy1045 := &x.Spec - yy1045.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1034[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1046 := &x.Spec - yy1046.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr1034 || yy2arr1034 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1034[4] { - yy1048 := &x.Status - yy1048.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1034[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1049 := &x.Status - yy1049.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr1034 || yy2arr1034 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12534,25 +13418,25 @@ func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1050 := z.DecBinary() - _ = yym1050 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1051 := r.ContainerType() - if yyct1051 == codecSelferValueTypeMap1234 { - yyl1051 := r.ReadMapStart() - if yyl1051 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1051, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1051 == codecSelferValueTypeArray1234 { - yyl1051 := r.ReadArrayStart() - if yyl1051 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1051, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12564,12 +13448,12 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1052Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1052Slc - var yyhl1052 bool = l >= 0 - for yyj1052 := 0; ; yyj1052++ { - if yyhl1052 { - if yyj1052 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -12578,47 +13462,59 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1052Slc = r.DecodeBytes(yys1052Slc, true, true) - yys1052 := string(yys1052Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1052 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1055 := &x.ObjectMeta - yyv1055.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ReplicaSetSpec{} } else { - yyv1056 := &x.Spec - yyv1056.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ReplicaSetStatus{} } else { - yyv1057 := &x.Status - yyv1057.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1052) - } // end switch yys1052 - } // end for yyj1052 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12626,16 +13522,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1058 int - var yyb1058 bool - var yyhl1058 bool = l >= 0 - yyj1058++ - if yyhl1058 { - yyb1058 = yyj1058 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb1058 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb1058 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12643,15 +13539,21 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj1058++ - if yyhl1058 { - yyb1058 = yyj1058 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb1058 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb1058 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12659,15 +13561,21 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj1058++ - if yyhl1058 { - yyb1058 = yyj1058 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb1058 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb1058 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12675,16 +13583,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1061 := &x.ObjectMeta - yyv1061.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj1058++ - if yyhl1058 { - yyb1058 = yyj1058 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb1058 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb1058 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12692,16 +13600,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ReplicaSetSpec{} } else { - yyv1062 := &x.Spec - yyv1062.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj1058++ - if yyhl1058 { - yyb1058 = yyj1058 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb1058 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb1058 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12709,21 +13617,21 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ReplicaSetStatus{} } else { - yyv1063 := &x.Status - yyv1063.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj1058++ - if yyhl1058 { - yyb1058 = yyj1058 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb1058 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb1058 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1058-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12735,37 +13643,37 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1064 := z.EncBinary() - _ = yym1064 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1065 := !z.EncBinary() - yy2arr1065 := z.EncBasicHandle().StructToArray - var yyq1065 [4]bool - _, _, _ = yysep1065, yyq1065, yy2arr1065 - const yyr1065 bool = false - yyq1065[0] = x.Kind != "" - yyq1065[1] = x.APIVersion != "" - yyq1065[2] = true - var yynn1065 int - if yyr1065 || yy2arr1065 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn1065 = 1 - for _, b := range yyq1065 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1065++ + yynn2++ } } - r.EncodeMapStart(yynn1065) - yynn1065 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1065 || yy2arr1065 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1065[0] { - yym1067 := z.EncBinary() - _ = yym1067 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -12774,23 +13682,23 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1065[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1068 := z.EncBinary() - _ = yym1068 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1065 || yy2arr1065 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1065[1] { - yym1070 := z.EncBinary() - _ = yym1070 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -12799,54 +13707,54 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1065[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1071 := z.EncBinary() - _ = yym1071 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1065 || yy2arr1065 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1065[2] { - yy1073 := &x.ListMeta - yym1074 := z.EncBinary() - _ = yym1074 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy1073) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy1073) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq1065[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1075 := &x.ListMeta - yym1076 := z.EncBinary() - _ = yym1076 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy1075) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy1075) + z.EncFallback(yy12) } } } - if yyr1065 || yy2arr1065 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1078 := z.EncBinary() - _ = yym1078 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) @@ -12859,15 +13767,15 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1079 := z.EncBinary() - _ = yym1079 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) } } } - if yyr1065 || yy2arr1065 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12880,25 +13788,25 @@ func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1080 := z.DecBinary() - _ = yym1080 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1081 := r.ContainerType() - if yyct1081 == codecSelferValueTypeMap1234 { - yyl1081 := r.ReadMapStart() - if yyl1081 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1081, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1081 == codecSelferValueTypeArray1234 { - yyl1081 := r.ReadArrayStart() - if yyl1081 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1081, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12910,12 +13818,12 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1082Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1082Slc - var yyhl1082 bool = l >= 0 - for yyj1082 := 0; ; yyj1082++ { - if yyhl1082 { - if yyj1082 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -12924,51 +13832,63 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1082Slc = r.DecodeBytes(yys1082Slc, true, true) - yys1082 := string(yys1082Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1082 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv1085 := &x.ListMeta - yym1086 := z.DecBinary() - _ = yym1086 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv1085) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv1085, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1087 := &x.Items - yym1088 := z.DecBinary() - _ = yym1088 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv1087), d) + h.decSliceReplicaSet((*[]ReplicaSet)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys1082) - } // end switch yys1082 - } // end for yyj1082 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12976,16 +13896,16 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1089 int - var yyb1089 bool - var yyhl1089 bool = l >= 0 - yyj1089++ - if yyhl1089 { - yyb1089 = yyj1089 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1089 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1089 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12993,15 +13913,21 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj1089++ - if yyhl1089 { - yyb1089 = yyj1089 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1089 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1089 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13009,15 +13935,21 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj1089++ - if yyhl1089 { - yyb1089 = yyj1089 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1089 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1089 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13025,22 +13957,22 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv1092 := &x.ListMeta - yym1093 := z.DecBinary() - _ = yym1093 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv1092) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv1092, false) + z.DecFallback(yyv17, false) } } - yyj1089++ - if yyhl1089 { - yyb1089 = yyj1089 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1089 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1089 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13048,26 +13980,26 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1094 := &x.Items - yym1095 := z.DecBinary() - _ = yym1095 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv1094), d) + h.decSliceReplicaSet((*[]ReplicaSet)(yyv19), d) } } for { - yyj1089++ - if yyhl1089 { - yyb1089 = yyj1089 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1089 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1089 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1089-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13079,73 +14011,73 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1096 := z.EncBinary() - _ = yym1096 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1097 := !z.EncBinary() - yy2arr1097 := z.EncBasicHandle().StructToArray - var yyq1097 [4]bool - _, _, _ = yysep1097, yyq1097, yy2arr1097 - const yyr1097 bool = false - yyq1097[0] = x.Replicas != nil - yyq1097[1] = x.MinReadySeconds != 0 - yyq1097[2] = x.Selector != nil - yyq1097[3] = true - var yynn1097 int - if yyr1097 || yy2arr1097 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Replicas != nil + yyq2[1] = x.MinReadySeconds != 0 + yyq2[2] = x.Selector != nil + yyq2[3] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn1097 = 0 - for _, b := range yyq1097 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1097++ + yynn2++ } } - r.EncodeMapStart(yynn1097) - yynn1097 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1097 || yy2arr1097 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1097[0] { + if yyq2[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy1099 := *x.Replicas - yym1100 := z.EncBinary() - _ = yym1100 + yy4 := *x.Replicas + yym5 := z.EncBinary() + _ = yym5 if false { } else { - r.EncodeInt(int64(yy1099)) + r.EncodeInt(int64(yy4)) } } } else { r.EncodeNil() } } else { - if yyq1097[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy1101 := *x.Replicas - yym1102 := z.EncBinary() - _ = yym1102 + yy6 := *x.Replicas + yym7 := z.EncBinary() + _ = yym7 if false { } else { - r.EncodeInt(int64(yy1101)) + r.EncodeInt(int64(yy6)) } } } } - if yyr1097 || yy2arr1097 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1097[1] { - yym1104 := z.EncBinary() - _ = yym1104 + if yyq2[1] { + yym9 := z.EncBinary() + _ = yym9 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -13154,26 +14086,26 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1097[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1105 := z.EncBinary() - _ = yym1105 + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) } } } - if yyr1097 || yy2arr1097 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1097[2] { + if yyq2[2] { if x.Selector == nil { r.EncodeNil() } else { - yym1107 := z.EncBinary() - _ = yym1107 + yym12 := z.EncBinary() + _ = yym12 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -13184,15 +14116,15 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1097[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym1108 := z.EncBinary() - _ = yym1108 + yym13 := z.EncBinary() + _ = yym13 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -13201,24 +14133,24 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1097 || yy2arr1097 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1097[3] { - yy1110 := &x.Template - yy1110.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Template + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1097[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1111 := &x.Template - yy1111.CodecEncodeSelf(e) + yy17 := &x.Template + yy17.CodecEncodeSelf(e) } } - if yyr1097 || yy2arr1097 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13231,25 +14163,25 @@ func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1112 := z.DecBinary() - _ = yym1112 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1113 := r.ContainerType() - if yyct1113 == codecSelferValueTypeMap1234 { - yyl1113 := r.ReadMapStart() - if yyl1113 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1113, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1113 == codecSelferValueTypeArray1234 { - yyl1113 := r.ReadArrayStart() - if yyl1113 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1113, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13261,12 +14193,12 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1114Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1114Slc - var yyhl1114 bool = l >= 0 - for yyj1114 := 0; ; yyj1114++ { - if yyhl1114 { - if yyj1114 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -13275,10 +14207,10 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1114Slc = r.DecodeBytes(yys1114Slc, true, true) - yys1114 := string(yys1114Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1114 { + switch yys3 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -13288,8 +14220,8 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym1116 := z.DecBinary() - _ = yym1116 + yym5 := z.DecBinary() + _ = yym5 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -13299,7 +14231,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MinReadySeconds = 0 } else { - x.MinReadySeconds = int32(r.DecodeInt(32)) + yyv6 := &x.MinReadySeconds + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*int32)(yyv6)) = int32(r.DecodeInt(32)) + } } case "selector": if r.TryDecodeAsNil() { @@ -13310,8 +14248,8 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_v1.LabelSelector) } - yym1119 := z.DecBinary() - _ = yym1119 + yym9 := z.DecBinary() + _ = yym9 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -13322,13 +14260,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv1120 := &x.Template - yyv1120.CodecDecodeSelf(d) + yyv10 := &x.Template + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1114) - } // end switch yys1114 - } // end for yyj1114 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13336,16 +14274,16 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1121 int - var yyb1121 bool - var yyhl1121 bool = l >= 0 - yyj1121++ - if yyhl1121 { - yyb1121 = yyj1121 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb1121 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb1121 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13358,20 +14296,20 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym1123 := z.DecBinary() - _ = yym1123 + yym13 := z.DecBinary() + _ = yym13 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj1121++ - if yyhl1121 { - yyb1121 = yyj1121 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb1121 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb1121 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13379,15 +14317,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MinReadySeconds = 0 } else { - x.MinReadySeconds = int32(r.DecodeInt(32)) + yyv14 := &x.MinReadySeconds + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*int32)(yyv14)) = int32(r.DecodeInt(32)) + } } - yyj1121++ - if yyhl1121 { - yyb1121 = yyj1121 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb1121 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb1121 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13400,21 +14344,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_v1.LabelSelector) } - yym1126 := z.DecBinary() - _ = yym1126 + yym17 := z.DecBinary() + _ = yym17 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj1121++ - if yyhl1121 { - yyb1121 = yyj1121 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb1121 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb1121 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13422,21 +14366,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv1127 := &x.Template - yyv1127.CodecDecodeSelf(d) + yyv18 := &x.Template + yyv18.CodecDecodeSelf(d) } for { - yyj1121++ - if yyhl1121 { - yyb1121 = yyj1121 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb1121 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb1121 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1121-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13448,38 +14392,38 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1128 := z.EncBinary() - _ = yym1128 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1129 := !z.EncBinary() - yy2arr1129 := z.EncBasicHandle().StructToArray - var yyq1129 [6]bool - _, _, _ = yysep1129, yyq1129, yy2arr1129 - const yyr1129 bool = false - yyq1129[1] = x.FullyLabeledReplicas != 0 - yyq1129[2] = x.ReadyReplicas != 0 - yyq1129[3] = x.AvailableReplicas != 0 - yyq1129[4] = x.ObservedGeneration != 0 - yyq1129[5] = len(x.Conditions) != 0 - var yynn1129 int - if yyr1129 || yy2arr1129 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.FullyLabeledReplicas != 0 + yyq2[2] = x.ReadyReplicas != 0 + yyq2[3] = x.AvailableReplicas != 0 + yyq2[4] = x.ObservedGeneration != 0 + yyq2[5] = len(x.Conditions) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn1129 = 1 - for _, b := range yyq1129 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1129++ + yynn2++ } } - r.EncodeMapStart(yynn1129) - yynn1129 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1129 || yy2arr1129 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1131 := z.EncBinary() - _ = yym1131 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -13488,18 +14432,18 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1132 := z.EncBinary() - _ = yym1132 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr1129 || yy2arr1129 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1129[1] { - yym1134 := z.EncBinary() - _ = yym1134 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -13508,23 +14452,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1129[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1135 := z.EncBinary() - _ = yym1135 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr1129 || yy2arr1129 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1129[2] { - yym1137 := z.EncBinary() - _ = yym1137 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) @@ -13533,23 +14477,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1129[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readyReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1138 := z.EncBinary() - _ = yym1138 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) } } } - if yyr1129 || yy2arr1129 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1129[3] { - yym1140 := z.EncBinary() - _ = yym1140 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) @@ -13558,23 +14502,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1129[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1141 := z.EncBinary() - _ = yym1141 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) } } } - if yyr1129 || yy2arr1129 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1129[4] { - yym1143 := z.EncBinary() - _ = yym1143 + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -13583,26 +14527,26 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1129[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1144 := z.EncBinary() - _ = yym1144 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr1129 || yy2arr1129 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1129[5] { + if yyq2[5] { if x.Conditions == nil { r.EncodeNil() } else { - yym1146 := z.EncBinary() - _ = yym1146 + yym19 := z.EncBinary() + _ = yym19 if false { } else { h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) @@ -13612,15 +14556,15 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1129[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym1147 := z.EncBinary() - _ = yym1147 + yym20 := z.EncBinary() + _ = yym20 if false { } else { h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) @@ -13628,7 +14572,7 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1129 || yy2arr1129 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13641,25 +14585,25 @@ func (x *ReplicaSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1148 := z.DecBinary() - _ = yym1148 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1149 := r.ContainerType() - if yyct1149 == codecSelferValueTypeMap1234 { - yyl1149 := r.ReadMapStart() - if yyl1149 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1149, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1149 == codecSelferValueTypeArray1234 { - yyl1149 := r.ReadArrayStart() - if yyl1149 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1149, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13671,12 +14615,12 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1150Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1150Slc - var yyhl1150 bool = l >= 0 - for yyj1150 := 0; ; yyj1150++ { - if yyhl1150 { - if yyj1150 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -13685,56 +14629,86 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1150Slc = r.DecodeBytes(yys1150Slc, true, true) - yys1150 := string(yys1150Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1150 { + switch yys3 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int32(r.DecodeInt(32)) + yyv4 := &x.Replicas + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int32)(yyv4)) = int32(r.DecodeInt(32)) + } } case "fullyLabeledReplicas": if r.TryDecodeAsNil() { x.FullyLabeledReplicas = 0 } else { - x.FullyLabeledReplicas = int32(r.DecodeInt(32)) + yyv6 := &x.FullyLabeledReplicas + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*int32)(yyv6)) = int32(r.DecodeInt(32)) + } } case "readyReplicas": if r.TryDecodeAsNil() { x.ReadyReplicas = 0 } else { - x.ReadyReplicas = int32(r.DecodeInt(32)) + yyv8 := &x.ReadyReplicas + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*int32)(yyv8)) = int32(r.DecodeInt(32)) + } } case "availableReplicas": if r.TryDecodeAsNil() { x.AvailableReplicas = 0 } else { - x.AvailableReplicas = int32(r.DecodeInt(32)) + yyv10 := &x.AvailableReplicas + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*int32)(yyv10)) = int32(r.DecodeInt(32)) + } } case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 } else { - x.ObservedGeneration = int64(r.DecodeInt(64)) + yyv12 := &x.ObservedGeneration + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*int64)(yyv12)) = int64(r.DecodeInt(64)) + } } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1156 := &x.Conditions - yym1157 := z.DecBinary() - _ = yym1157 + yyv14 := &x.Conditions + yym15 := z.DecBinary() + _ = yym15 if false { } else { - h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1156), d) + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv14), d) } } default: - z.DecStructFieldNotFound(-1, yys1150) - } // end switch yys1150 - } // end for yyj1150 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13742,16 +14716,16 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1158 int - var yyb1158 bool - var yyhl1158 bool = l >= 0 - yyj1158++ - if yyhl1158 { - yyb1158 = yyj1158 > l + var yyj16 int + var yyb16 bool + var yyhl16 bool = l >= 0 + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb1158 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb1158 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13759,15 +14733,21 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int32(r.DecodeInt(32)) + yyv17 := &x.Replicas + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*int32)(yyv17)) = int32(r.DecodeInt(32)) + } } - yyj1158++ - if yyhl1158 { - yyb1158 = yyj1158 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb1158 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb1158 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13775,15 +14755,21 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.FullyLabeledReplicas = 0 } else { - x.FullyLabeledReplicas = int32(r.DecodeInt(32)) + yyv19 := &x.FullyLabeledReplicas + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*int32)(yyv19)) = int32(r.DecodeInt(32)) + } } - yyj1158++ - if yyhl1158 { - yyb1158 = yyj1158 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb1158 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb1158 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13791,15 +14777,21 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ReadyReplicas = 0 } else { - x.ReadyReplicas = int32(r.DecodeInt(32)) + yyv21 := &x.ReadyReplicas + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*int32)(yyv21)) = int32(r.DecodeInt(32)) + } } - yyj1158++ - if yyhl1158 { - yyb1158 = yyj1158 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb1158 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb1158 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13807,15 +14799,21 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.AvailableReplicas = 0 } else { - x.AvailableReplicas = int32(r.DecodeInt(32)) + yyv23 := &x.AvailableReplicas + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*int32)(yyv23)) = int32(r.DecodeInt(32)) + } } - yyj1158++ - if yyhl1158 { - yyb1158 = yyj1158 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb1158 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb1158 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13823,15 +14821,21 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObservedGeneration = 0 } else { - x.ObservedGeneration = int64(r.DecodeInt(64)) + yyv25 := &x.ObservedGeneration + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*int64)(yyv25)) = int64(r.DecodeInt(64)) + } } - yyj1158++ - if yyhl1158 { - yyb1158 = yyj1158 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb1158 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb1158 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13839,26 +14843,26 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1164 := &x.Conditions - yym1165 := z.DecBinary() - _ = yym1165 + yyv27 := &x.Conditions + yym28 := z.DecBinary() + _ = yym28 if false { } else { - h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1164), d) + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv27), d) } } for { - yyj1158++ - if yyhl1158 { - yyb1158 = yyj1158 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb1158 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb1158 { + if yyb16 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1158-1, "") + z.DecStructFieldNotFound(yyj16-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13867,8 +14871,8 @@ func (x ReplicaSetConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1166 := z.EncBinary() - _ = yym1166 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -13880,8 +14884,8 @@ func (x *ReplicaSetConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1167 := z.DecBinary() - _ = yym1167 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -13896,33 +14900,33 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1168 := z.EncBinary() - _ = yym1168 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1169 := !z.EncBinary() - yy2arr1169 := z.EncBasicHandle().StructToArray - var yyq1169 [5]bool - _, _, _ = yysep1169, yyq1169, yy2arr1169 - const yyr1169 bool = false - yyq1169[2] = true - yyq1169[3] = x.Reason != "" - yyq1169[4] = x.Message != "" - var yynn1169 int - if yyr1169 || yy2arr1169 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = true + yyq2[3] = x.Reason != "" + yyq2[4] = x.Message != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn1169 = 2 - for _, b := range yyq1169 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn1169++ + yynn2++ } } - r.EncodeMapStart(yynn1169) - yynn1169 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1169 || yy2arr1169 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -13931,69 +14935,59 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr1169 || yy2arr1169 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1172 := z.EncBinary() - _ = yym1172 - if false { - } else if z.HasExtensions() && z.EncExt(x.Status) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Status)) - } + yysf7 := &x.Status + yysf7.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1173 := z.EncBinary() - _ = yym1173 - if false { - } else if z.HasExtensions() && z.EncExt(x.Status) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Status)) - } + yysf8 := &x.Status + yysf8.CodecEncodeSelf(e) } - if yyr1169 || yy2arr1169 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1169[2] { - yy1175 := &x.LastTransitionTime - yym1176 := z.EncBinary() - _ = yym1176 + if yyq2[2] { + yy10 := &x.LastTransitionTime + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy1175) { - } else if yym1176 { - z.EncBinaryMarshal(yy1175) - } else if !yym1176 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1175) + } else if z.HasExtensions() && z.EncExt(yy10) { + } else if yym11 { + z.EncBinaryMarshal(yy10) + } else if !yym11 && z.IsJSONHandle() { + z.EncJSONMarshal(yy10) } else { - z.EncFallback(yy1175) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq1169[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1177 := &x.LastTransitionTime - yym1178 := z.EncBinary() - _ = yym1178 + yy12 := &x.LastTransitionTime + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy1177) { - } else if yym1178 { - z.EncBinaryMarshal(yy1177) - } else if !yym1178 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1177) + } else if z.HasExtensions() && z.EncExt(yy12) { + } else if yym13 { + z.EncBinaryMarshal(yy12) + } else if !yym13 && z.IsJSONHandle() { + z.EncJSONMarshal(yy12) } else { - z.EncFallback(yy1177) + z.EncFallback(yy12) } } } - if yyr1169 || yy2arr1169 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1169[3] { - yym1180 := z.EncBinary() - _ = yym1180 + if yyq2[3] { + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -14002,23 +14996,23 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1169[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1181 := z.EncBinary() - _ = yym1181 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1169 || yy2arr1169 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1169[4] { - yym1183 := z.EncBinary() - _ = yym1183 + if yyq2[4] { + yym18 := z.EncBinary() + _ = yym18 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -14027,19 +15021,19 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1169[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1184 := z.EncBinary() - _ = yym1184 + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1169 || yy2arr1169 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14052,25 +15046,25 @@ func (x *ReplicaSetCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1185 := z.DecBinary() - _ = yym1185 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1186 := r.ContainerType() - if yyct1186 == codecSelferValueTypeMap1234 { - yyl1186 := r.ReadMapStart() - if yyl1186 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1186, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1186 == codecSelferValueTypeArray1234 { - yyl1186 := r.ReadArrayStart() - if yyl1186 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1186, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14082,12 +15076,12 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1187Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1187Slc - var yyhl1187 bool = l >= 0 - for yyj1187 := 0; ; yyj1187++ { - if yyhl1187 { - if yyj1187 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -14096,55 +15090,69 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1187Slc = r.DecodeBytes(yys1187Slc, true, true) - yys1187 := string(yys1187Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1187 { + switch yys3 { case "type": if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = ReplicaSetConditionType(r.DecodeString()) + yyv4 := &x.Type + yyv4.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) + yyv5 := &x.Status + yyv5.CodecDecodeSelf(d) } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_v1.Time{} } else { - yyv1190 := &x.LastTransitionTime - yym1191 := z.DecBinary() - _ = yym1191 + yyv6 := &x.LastTransitionTime + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv1190) { - } else if yym1191 { - z.DecBinaryUnmarshal(yyv1190) - } else if !yym1191 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1190) + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if yym7 { + z.DecBinaryUnmarshal(yyv6) + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) } else { - z.DecFallback(yyv1190, false) + z.DecFallback(yyv6, false) } } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv8 := &x.Reason + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "message": if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv10 := &x.Message + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys1187) - } // end switch yys1187 - } // end for yyj1187 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14152,16 +15160,16 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1194 int - var yyb1194 bool - var yyhl1194 bool = l >= 0 - yyj1194++ - if yyhl1194 { - yyb1194 = yyj1194 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1194 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1194 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14169,15 +15177,16 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Type = "" } else { - x.Type = ReplicaSetConditionType(r.DecodeString()) + yyv13 := &x.Type + yyv13.CodecDecodeSelf(d) } - yyj1194++ - if yyhl1194 { - yyb1194 = yyj1194 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1194 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1194 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14185,15 +15194,16 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Status = "" } else { - x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) + yyv14 := &x.Status + yyv14.CodecDecodeSelf(d) } - yyj1194++ - if yyhl1194 { - yyb1194 = yyj1194 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1194 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1194 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14201,26 +15211,26 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_v1.Time{} } else { - yyv1197 := &x.LastTransitionTime - yym1198 := z.DecBinary() - _ = yym1198 + yyv15 := &x.LastTransitionTime + yym16 := z.DecBinary() + _ = yym16 if false { - } else if z.HasExtensions() && z.DecExt(yyv1197) { - } else if yym1198 { - z.DecBinaryUnmarshal(yyv1197) - } else if !yym1198 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1197) + } else if z.HasExtensions() && z.DecExt(yyv15) { + } else if yym16 { + z.DecBinaryUnmarshal(yyv15) + } else if !yym16 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv15) } else { - z.DecFallback(yyv1197, false) + z.DecFallback(yyv15, false) } } - yyj1194++ - if yyhl1194 { - yyb1194 = yyj1194 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1194 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1194 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14228,15 +15238,21 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv17 := &x.Reason + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*string)(yyv17)) = r.DecodeString() + } } - yyj1194++ - if yyhl1194 { - yyb1194 = yyj1194 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1194 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1194 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14244,20 +15260,26 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Message = "" } else { - x.Message = string(r.DecodeString()) + yyv19 := &x.Message + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } for { - yyj1194++ - if yyhl1194 { - yyb1194 = yyj1194 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1194 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1194 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1194-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14269,38 +15291,38 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1201 := z.EncBinary() - _ = yym1201 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1202 := !z.EncBinary() - yy2arr1202 := z.EncBasicHandle().StructToArray - var yyq1202 [4]bool - _, _, _ = yysep1202, yyq1202, yy2arr1202 - const yyr1202 bool = false - yyq1202[0] = x.Kind != "" - yyq1202[1] = x.APIVersion != "" - yyq1202[2] = true - yyq1202[3] = true - var yynn1202 int - if yyr1202 || yy2arr1202 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn1202 = 0 - for _, b := range yyq1202 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1202++ + yynn2++ } } - r.EncodeMapStart(yynn1202) - yynn1202 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1202 || yy2arr1202 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1202[0] { - yym1204 := z.EncBinary() - _ = yym1204 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -14309,23 +15331,23 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1202[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1205 := z.EncBinary() - _ = yym1205 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1202 || yy2arr1202 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1202[1] { - yym1207 := z.EncBinary() - _ = yym1207 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -14334,53 +15356,53 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1202[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1208 := z.EncBinary() - _ = yym1208 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1202 || yy2arr1202 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1202[2] { - yy1210 := &x.ObjectMeta - yy1210.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1202[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1211 := &x.ObjectMeta - yy1211.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr1202 || yy2arr1202 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1202[3] { - yy1213 := &x.Spec - yy1213.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1202[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1214 := &x.Spec - yy1214.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr1202 || yy2arr1202 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14393,25 +15415,25 @@ func (x *PodSecurityPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1215 := z.DecBinary() - _ = yym1215 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1216 := r.ContainerType() - if yyct1216 == codecSelferValueTypeMap1234 { - yyl1216 := r.ReadMapStart() - if yyl1216 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1216, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1216 == codecSelferValueTypeArray1234 { - yyl1216 := r.ReadArrayStart() - if yyl1216 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1216, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14423,12 +15445,12 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1217Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1217Slc - var yyhl1217 bool = l >= 0 - for yyj1217 := 0; ; yyj1217++ { - if yyhl1217 { - if yyj1217 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -14437,40 +15459,52 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1217Slc = r.DecodeBytes(yys1217Slc, true, true) - yys1217 := string(yys1217Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1217 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1220 := &x.ObjectMeta - yyv1220.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv1221 := &x.Spec - yyv1221.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1217) - } // end switch yys1217 - } // end for yyj1217 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14478,16 +15512,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1222 int - var yyb1222 bool - var yyhl1222 bool = l >= 0 - yyj1222++ - if yyhl1222 { - yyb1222 = yyj1222 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1222 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1222 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14495,15 +15529,21 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv11 := &x.Kind + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj1222++ - if yyhl1222 { - yyb1222 = yyj1222 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1222 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1222 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14511,15 +15551,21 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv13 := &x.APIVersion + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj1222++ - if yyhl1222 { - yyb1222 = yyj1222 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1222 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1222 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14527,16 +15573,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1225 := &x.ObjectMeta - yyv1225.CodecDecodeSelf(d) + yyv15 := &x.ObjectMeta + yyv15.CodecDecodeSelf(d) } - yyj1222++ - if yyhl1222 { - yyb1222 = yyj1222 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1222 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1222 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14544,21 +15590,21 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv1226 := &x.Spec - yyv1226.CodecDecodeSelf(d) + yyv16 := &x.Spec + yyv16.CodecDecodeSelf(d) } for { - yyj1222++ - if yyhl1222 { - yyb1222 = yyj1222 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1222 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1222 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1222-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14570,44 +15616,44 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1227 := z.EncBinary() - _ = yym1227 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1228 := !z.EncBinary() - yy2arr1228 := z.EncBasicHandle().StructToArray - var yyq1228 [14]bool - _, _, _ = yysep1228, yyq1228, yy2arr1228 - const yyr1228 bool = false - yyq1228[0] = x.Privileged != false - yyq1228[1] = len(x.DefaultAddCapabilities) != 0 - yyq1228[2] = len(x.RequiredDropCapabilities) != 0 - yyq1228[3] = len(x.AllowedCapabilities) != 0 - yyq1228[4] = len(x.Volumes) != 0 - yyq1228[5] = x.HostNetwork != false - yyq1228[6] = len(x.HostPorts) != 0 - yyq1228[7] = x.HostPID != false - yyq1228[8] = x.HostIPC != false - yyq1228[13] = x.ReadOnlyRootFilesystem != false - var yynn1228 int - if yyr1228 || yy2arr1228 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [14]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Privileged != false + yyq2[1] = len(x.DefaultAddCapabilities) != 0 + yyq2[2] = len(x.RequiredDropCapabilities) != 0 + yyq2[3] = len(x.AllowedCapabilities) != 0 + yyq2[4] = len(x.Volumes) != 0 + yyq2[5] = x.HostNetwork != false + yyq2[6] = len(x.HostPorts) != 0 + yyq2[7] = x.HostPID != false + yyq2[8] = x.HostIPC != false + yyq2[13] = x.ReadOnlyRootFilesystem != false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(14) } else { - yynn1228 = 4 - for _, b := range yyq1228 { + yynn2 = 4 + for _, b := range yyq2 { if b { - yynn1228++ + yynn2++ } } - r.EncodeMapStart(yynn1228) - yynn1228 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1228[0] { - yym1230 := z.EncBinary() - _ = yym1230 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeBool(bool(x.Privileged)) @@ -14616,26 +15662,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1228[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1231 := z.EncBinary() - _ = yym1231 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeBool(bool(x.Privileged)) } } } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1228[1] { + if yyq2[1] { if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym1233 := z.EncBinary() - _ = yym1233 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.DefaultAddCapabilities), e) @@ -14645,15 +15691,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1228[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultAddCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym1234 := z.EncBinary() - _ = yym1234 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.DefaultAddCapabilities), e) @@ -14661,14 +15707,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1228[2] { + if yyq2[2] { if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym1236 := z.EncBinary() - _ = yym1236 + yym10 := z.EncBinary() + _ = yym10 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.RequiredDropCapabilities), e) @@ -14678,15 +15724,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1228[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDropCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym1237 := z.EncBinary() - _ = yym1237 + yym11 := z.EncBinary() + _ = yym11 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.RequiredDropCapabilities), e) @@ -14694,14 +15740,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1228[3] { + if yyq2[3] { if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1239 := z.EncBinary() - _ = yym1239 + yym13 := z.EncBinary() + _ = yym13 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.AllowedCapabilities), e) @@ -14711,15 +15757,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1228[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowedCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1240 := z.EncBinary() - _ = yym1240 + yym14 := z.EncBinary() + _ = yym14 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.AllowedCapabilities), e) @@ -14727,14 +15773,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1228[4] { + if yyq2[4] { if x.Volumes == nil { r.EncodeNil() } else { - yym1242 := z.EncBinary() - _ = yym1242 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -14744,15 +15790,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1228[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym1243 := z.EncBinary() - _ = yym1243 + yym17 := z.EncBinary() + _ = yym17 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -14760,11 +15806,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1228[5] { - yym1245 := z.EncBinary() - _ = yym1245 + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -14773,26 +15819,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1228[5] { + if yyq2[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1246 := z.EncBinary() - _ = yym1246 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1228[6] { + if yyq2[6] { if x.HostPorts == nil { r.EncodeNil() } else { - yym1248 := z.EncBinary() - _ = yym1248 + yym22 := z.EncBinary() + _ = yym22 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -14802,15 +15848,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1228[6] { + if yyq2[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPorts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HostPorts == nil { r.EncodeNil() } else { - yym1249 := z.EncBinary() - _ = yym1249 + yym23 := z.EncBinary() + _ = yym23 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -14818,11 +15864,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1228[7] { - yym1251 := z.EncBinary() - _ = yym1251 + if yyq2[7] { + yym25 := z.EncBinary() + _ = yym25 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -14831,23 +15877,23 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1228[7] { + if yyq2[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1252 := z.EncBinary() - _ = yym1252 + yym26 := z.EncBinary() + _ = yym26 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1228[8] { - yym1254 := z.EncBinary() - _ = yym1254 + if yyq2[8] { + yym28 := z.EncBinary() + _ = yym28 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -14856,67 +15902,67 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1228[8] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1255 := z.EncBinary() - _ = yym1255 + yym29 := z.EncBinary() + _ = yym29 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1257 := &x.SELinux - yy1257.CodecEncodeSelf(e) + yy31 := &x.SELinux + yy31.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinux")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1258 := &x.SELinux - yy1258.CodecEncodeSelf(e) + yy33 := &x.SELinux + yy33.CodecEncodeSelf(e) } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1260 := &x.RunAsUser - yy1260.CodecEncodeSelf(e) + yy36 := &x.RunAsUser + yy36.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1261 := &x.RunAsUser - yy1261.CodecEncodeSelf(e) + yy38 := &x.RunAsUser + yy38.CodecEncodeSelf(e) } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1263 := &x.SupplementalGroups - yy1263.CodecEncodeSelf(e) + yy41 := &x.SupplementalGroups + yy41.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1264 := &x.SupplementalGroups - yy1264.CodecEncodeSelf(e) + yy43 := &x.SupplementalGroups + yy43.CodecEncodeSelf(e) } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1266 := &x.FSGroup - yy1266.CodecEncodeSelf(e) + yy46 := &x.FSGroup + yy46.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1267 := &x.FSGroup - yy1267.CodecEncodeSelf(e) + yy48 := &x.FSGroup + yy48.CodecEncodeSelf(e) } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1228[13] { - yym1269 := z.EncBinary() - _ = yym1269 + if yyq2[13] { + yym51 := z.EncBinary() + _ = yym51 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) @@ -14925,19 +15971,19 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1228[13] { + if yyq2[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1270 := z.EncBinary() - _ = yym1270 + yym52 := z.EncBinary() + _ = yym52 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) } } } - if yyr1228 || yy2arr1228 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14950,25 +15996,25 @@ func (x *PodSecurityPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1271 := z.DecBinary() - _ = yym1271 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1272 := r.ContainerType() - if yyct1272 == codecSelferValueTypeMap1234 { - yyl1272 := r.ReadMapStart() - if yyl1272 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1272, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1272 == codecSelferValueTypeArray1234 { - yyl1272 := r.ReadArrayStart() - if yyl1272 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1272, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14980,12 +16026,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1273Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1273Slc - var yyhl1273 bool = l >= 0 - for yyj1273 := 0; ; yyj1273++ { - if yyhl1273 { - if yyj1273 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -14994,132 +16040,162 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1273Slc = r.DecodeBytes(yys1273Slc, true, true) - yys1273 := string(yys1273Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1273 { + switch yys3 { case "privileged": if r.TryDecodeAsNil() { x.Privileged = false } else { - x.Privileged = bool(r.DecodeBool()) + yyv4 := &x.Privileged + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*bool)(yyv4)) = r.DecodeBool() + } } case "defaultAddCapabilities": if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1275 := &x.DefaultAddCapabilities - yym1276 := z.DecBinary() - _ = yym1276 + yyv6 := &x.DefaultAddCapabilities + yym7 := z.DecBinary() + _ = yym7 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1275), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv6), d) } } case "requiredDropCapabilities": if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1277 := &x.RequiredDropCapabilities - yym1278 := z.DecBinary() - _ = yym1278 + yyv8 := &x.RequiredDropCapabilities + yym9 := z.DecBinary() + _ = yym9 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1277), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv8), d) } } case "allowedCapabilities": if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1279 := &x.AllowedCapabilities - yym1280 := z.DecBinary() - _ = yym1280 + yyv10 := &x.AllowedCapabilities + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1279), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv10), d) } } case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1281 := &x.Volumes - yym1282 := z.DecBinary() - _ = yym1282 + yyv12 := &x.Volumes + yym13 := z.DecBinary() + _ = yym13 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1281), d) + h.decSliceFSType((*[]FSType)(yyv12), d) } } case "hostNetwork": if r.TryDecodeAsNil() { x.HostNetwork = false } else { - x.HostNetwork = bool(r.DecodeBool()) + yyv14 := &x.HostNetwork + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*bool)(yyv14)) = r.DecodeBool() + } } case "hostPorts": if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1284 := &x.HostPorts - yym1285 := z.DecBinary() - _ = yym1285 + yyv16 := &x.HostPorts + yym17 := z.DecBinary() + _ = yym17 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1284), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv16), d) } } case "hostPID": if r.TryDecodeAsNil() { x.HostPID = false } else { - x.HostPID = bool(r.DecodeBool()) + yyv18 := &x.HostPID + yym19 := z.DecBinary() + _ = yym19 + if false { + } else { + *((*bool)(yyv18)) = r.DecodeBool() + } } case "hostIPC": if r.TryDecodeAsNil() { x.HostIPC = false } else { - x.HostIPC = bool(r.DecodeBool()) + yyv20 := &x.HostIPC + yym21 := z.DecBinary() + _ = yym21 + if false { + } else { + *((*bool)(yyv20)) = r.DecodeBool() + } } case "seLinux": if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1288 := &x.SELinux - yyv1288.CodecDecodeSelf(d) + yyv22 := &x.SELinux + yyv22.CodecDecodeSelf(d) } case "runAsUser": if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1289 := &x.RunAsUser - yyv1289.CodecDecodeSelf(d) + yyv23 := &x.RunAsUser + yyv23.CodecDecodeSelf(d) } case "supplementalGroups": if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1290 := &x.SupplementalGroups - yyv1290.CodecDecodeSelf(d) + yyv24 := &x.SupplementalGroups + yyv24.CodecDecodeSelf(d) } case "fsGroup": if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1291 := &x.FSGroup - yyv1291.CodecDecodeSelf(d) + yyv25 := &x.FSGroup + yyv25.CodecDecodeSelf(d) } case "readOnlyRootFilesystem": if r.TryDecodeAsNil() { x.ReadOnlyRootFilesystem = false } else { - x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) + yyv26 := &x.ReadOnlyRootFilesystem + yym27 := z.DecBinary() + _ = yym27 + if false { + } else { + *((*bool)(yyv26)) = r.DecodeBool() + } } default: - z.DecStructFieldNotFound(-1, yys1273) - } // end switch yys1273 - } // end for yyj1273 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15127,16 +16203,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1293 int - var yyb1293 bool - var yyhl1293 bool = l >= 0 - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + var yyj28 int + var yyb28 bool + var yyhl28 bool = l >= 0 + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15144,15 +16220,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Privileged = false } else { - x.Privileged = bool(r.DecodeBool()) + yyv29 := &x.Privileged + yym30 := z.DecBinary() + _ = yym30 + if false { + } else { + *((*bool)(yyv29)) = r.DecodeBool() + } } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15160,21 +16242,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1295 := &x.DefaultAddCapabilities - yym1296 := z.DecBinary() - _ = yym1296 + yyv31 := &x.DefaultAddCapabilities + yym32 := z.DecBinary() + _ = yym32 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1295), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv31), d) } } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15182,21 +16264,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1297 := &x.RequiredDropCapabilities - yym1298 := z.DecBinary() - _ = yym1298 + yyv33 := &x.RequiredDropCapabilities + yym34 := z.DecBinary() + _ = yym34 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1297), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv33), d) } } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15204,21 +16286,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1299 := &x.AllowedCapabilities - yym1300 := z.DecBinary() - _ = yym1300 + yyv35 := &x.AllowedCapabilities + yym36 := z.DecBinary() + _ = yym36 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1299), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv35), d) } } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15226,21 +16308,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1301 := &x.Volumes - yym1302 := z.DecBinary() - _ = yym1302 + yyv37 := &x.Volumes + yym38 := z.DecBinary() + _ = yym38 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1301), d) + h.decSliceFSType((*[]FSType)(yyv37), d) } } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15248,15 +16330,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.HostNetwork = false } else { - x.HostNetwork = bool(r.DecodeBool()) + yyv39 := &x.HostNetwork + yym40 := z.DecBinary() + _ = yym40 + if false { + } else { + *((*bool)(yyv39)) = r.DecodeBool() + } } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15264,21 +16352,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1304 := &x.HostPorts - yym1305 := z.DecBinary() - _ = yym1305 + yyv41 := &x.HostPorts + yym42 := z.DecBinary() + _ = yym42 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1304), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv41), d) } } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15286,15 +16374,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.HostPID = false } else { - x.HostPID = bool(r.DecodeBool()) + yyv43 := &x.HostPID + yym44 := z.DecBinary() + _ = yym44 + if false { + } else { + *((*bool)(yyv43)) = r.DecodeBool() + } } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15302,15 +16396,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.HostIPC = false } else { - x.HostIPC = bool(r.DecodeBool()) + yyv45 := &x.HostIPC + yym46 := z.DecBinary() + _ = yym46 + if false { + } else { + *((*bool)(yyv45)) = r.DecodeBool() + } } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15318,16 +16418,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1308 := &x.SELinux - yyv1308.CodecDecodeSelf(d) + yyv47 := &x.SELinux + yyv47.CodecDecodeSelf(d) } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15335,16 +16435,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1309 := &x.RunAsUser - yyv1309.CodecDecodeSelf(d) + yyv48 := &x.RunAsUser + yyv48.CodecDecodeSelf(d) } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15352,16 +16452,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1310 := &x.SupplementalGroups - yyv1310.CodecDecodeSelf(d) + yyv49 := &x.SupplementalGroups + yyv49.CodecDecodeSelf(d) } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15369,16 +16469,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1311 := &x.FSGroup - yyv1311.CodecDecodeSelf(d) + yyv50 := &x.FSGroup + yyv50.CodecDecodeSelf(d) } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15386,20 +16486,26 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ReadOnlyRootFilesystem = false } else { - x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) + yyv51 := &x.ReadOnlyRootFilesystem + yym52 := z.DecBinary() + _ = yym52 + if false { + } else { + *((*bool)(yyv51)) = r.DecodeBool() + } } for { - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj28++ + if yyhl28 { + yyb28 = yyj28 > l } else { - yyb1293 = r.CheckBreak() + yyb28 = r.CheckBreak() } - if yyb1293 { + if yyb28 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1293-1, "") + z.DecStructFieldNotFound(yyj28-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15408,8 +16514,8 @@ func (x FSType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1313 := z.EncBinary() - _ = yym1313 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -15421,8 +16527,8 @@ func (x *FSType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1314 := z.DecBinary() - _ = yym1314 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -15437,33 +16543,33 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1315 := z.EncBinary() - _ = yym1315 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1316 := !z.EncBinary() - yy2arr1316 := z.EncBasicHandle().StructToArray - var yyq1316 [2]bool - _, _, _ = yysep1316, yyq1316, yy2arr1316 - const yyr1316 bool = false - var yynn1316 int - if yyr1316 || yy2arr1316 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1316 = 2 - for _, b := range yyq1316 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn1316++ + yynn2++ } } - r.EncodeMapStart(yynn1316) - yynn1316 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1316 || yy2arr1316 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1318 := z.EncBinary() - _ = yym1318 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.Min)) @@ -15472,17 +16578,17 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1319 := z.EncBinary() - _ = yym1319 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1316 || yy2arr1316 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1321 := z.EncBinary() - _ = yym1321 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeInt(int64(x.Max)) @@ -15491,14 +16597,14 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1322 := z.EncBinary() - _ = yym1322 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1316 || yy2arr1316 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15511,25 +16617,25 @@ func (x *HostPortRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1323 := z.DecBinary() - _ = yym1323 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1324 := r.ContainerType() - if yyct1324 == codecSelferValueTypeMap1234 { - yyl1324 := r.ReadMapStart() - if yyl1324 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1324, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1324 == codecSelferValueTypeArray1234 { - yyl1324 := r.ReadArrayStart() - if yyl1324 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1324, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15541,12 +16647,12 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1325Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1325Slc - var yyhl1325 bool = l >= 0 - for yyj1325 := 0; ; yyj1325++ { - if yyhl1325 { - if yyj1325 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -15555,26 +16661,38 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1325Slc = r.DecodeBytes(yys1325Slc, true, true) - yys1325 := string(yys1325Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1325 { + switch yys3 { case "min": if r.TryDecodeAsNil() { x.Min = 0 } else { - x.Min = int32(r.DecodeInt(32)) + yyv4 := &x.Min + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int32)(yyv4)) = int32(r.DecodeInt(32)) + } } case "max": if r.TryDecodeAsNil() { x.Max = 0 } else { - x.Max = int32(r.DecodeInt(32)) + yyv6 := &x.Max + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*int32)(yyv6)) = int32(r.DecodeInt(32)) + } } default: - z.DecStructFieldNotFound(-1, yys1325) - } // end switch yys1325 - } // end for yyj1325 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15582,16 +16700,16 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1328 int - var yyb1328 bool - var yyhl1328 bool = l >= 0 - yyj1328++ - if yyhl1328 { - yyb1328 = yyj1328 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1328 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1328 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15599,15 +16717,21 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Min = 0 } else { - x.Min = int32(r.DecodeInt(32)) + yyv9 := &x.Min + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*int32)(yyv9)) = int32(r.DecodeInt(32)) + } } - yyj1328++ - if yyhl1328 { - yyb1328 = yyj1328 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1328 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1328 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15615,20 +16739,26 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = 0 } else { - x.Max = int32(r.DecodeInt(32)) + yyv11 := &x.Max + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*int32)(yyv11)) = int32(r.DecodeInt(32)) + } } for { - yyj1328++ - if yyhl1328 { - yyb1328 = yyj1328 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1328 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1328 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1328-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15640,31 +16770,31 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1331 := z.EncBinary() - _ = yym1331 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1332 := !z.EncBinary() - yy2arr1332 := z.EncBasicHandle().StructToArray - var yyq1332 [2]bool - _, _, _ = yysep1332, yyq1332, yy2arr1332 - const yyr1332 bool = false - yyq1332[1] = x.SELinuxOptions != nil - var yynn1332 int - if yyr1332 || yy2arr1332 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.SELinuxOptions != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1332 = 1 - for _, b := range yyq1332 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1332++ + yynn2++ } } - r.EncodeMapStart(yynn1332) - yynn1332 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1332 || yy2arr1332 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -15673,9 +16803,9 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1332 || yy2arr1332 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1332[1] { + if yyq2[1] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -15685,7 +16815,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1332[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15696,7 +16826,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1332 || yy2arr1332 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15709,25 +16839,25 @@ func (x *SELinuxStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1335 := z.DecBinary() - _ = yym1335 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1336 := r.ContainerType() - if yyct1336 == codecSelferValueTypeMap1234 { - yyl1336 := r.ReadMapStart() - if yyl1336 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1336, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1336 == codecSelferValueTypeArray1234 { - yyl1336 := r.ReadArrayStart() - if yyl1336 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1336, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15739,12 +16869,12 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1337Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1337Slc - var yyhl1337 bool = l >= 0 - for yyj1337 := 0; ; yyj1337++ { - if yyhl1337 { - if yyj1337 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -15753,15 +16883,16 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1337Slc = r.DecodeBytes(yys1337Slc, true, true) - yys1337 := string(yys1337Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1337 { + switch yys3 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" } else { - x.Rule = SELinuxStrategy(r.DecodeString()) + yyv4 := &x.Rule + yyv4.CodecDecodeSelf(d) } case "seLinuxOptions": if r.TryDecodeAsNil() { @@ -15775,9 +16906,9 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.SELinuxOptions.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1337) - } // end switch yys1337 - } // end for yyj1337 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15785,16 +16916,16 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1340 int - var yyb1340 bool - var yyhl1340 bool = l >= 0 - yyj1340++ - if yyhl1340 { - yyb1340 = yyj1340 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1340 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1340 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15802,15 +16933,16 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Rule = "" } else { - x.Rule = SELinuxStrategy(r.DecodeString()) + yyv7 := &x.Rule + yyv7.CodecDecodeSelf(d) } - yyj1340++ - if yyhl1340 { - yyb1340 = yyj1340 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1340 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1340 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15826,17 +16958,17 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De x.SELinuxOptions.CodecDecodeSelf(d) } for { - yyj1340++ - if yyhl1340 { - yyb1340 = yyj1340 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb1340 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb1340 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1340-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15845,8 +16977,8 @@ func (x SELinuxStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1343 := z.EncBinary() - _ = yym1343 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -15858,8 +16990,8 @@ func (x *SELinuxStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1344 := z.DecBinary() - _ = yym1344 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -15874,31 +17006,31 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1345 := z.EncBinary() - _ = yym1345 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1346 := !z.EncBinary() - yy2arr1346 := z.EncBasicHandle().StructToArray - var yyq1346 [2]bool - _, _, _ = yysep1346, yyq1346, yy2arr1346 - const yyr1346 bool = false - yyq1346[1] = len(x.Ranges) != 0 - var yynn1346 int - if yyr1346 || yy2arr1346 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = len(x.Ranges) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1346 = 1 - for _, b := range yyq1346 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1346++ + yynn2++ } } - r.EncodeMapStart(yynn1346) - yynn1346 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1346 || yy2arr1346 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -15907,14 +17039,14 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1346 || yy2arr1346 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1346[1] { + if yyq2[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1349 := z.EncBinary() - _ = yym1349 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -15924,15 +17056,15 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1346[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1350 := z.EncBinary() - _ = yym1350 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -15940,7 +17072,7 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1346 || yy2arr1346 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15953,25 +17085,25 @@ func (x *RunAsUserStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1351 := z.DecBinary() - _ = yym1351 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1352 := r.ContainerType() - if yyct1352 == codecSelferValueTypeMap1234 { - yyl1352 := r.ReadMapStart() - if yyl1352 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1352, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1352 == codecSelferValueTypeArray1234 { - yyl1352 := r.ReadArrayStart() - if yyl1352 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1352, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15983,12 +17115,12 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1353Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1353Slc - var yyhl1353 bool = l >= 0 - for yyj1353 := 0; ; yyj1353++ { - if yyhl1353 { - if yyj1353 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -15997,32 +17129,33 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1353Slc = r.DecodeBytes(yys1353Slc, true, true) - yys1353 := string(yys1353Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1353 { + switch yys3 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" } else { - x.Rule = RunAsUserStrategy(r.DecodeString()) + yyv4 := &x.Rule + yyv4.CodecDecodeSelf(d) } case "ranges": if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1355 := &x.Ranges - yym1356 := z.DecBinary() - _ = yym1356 + yyv5 := &x.Ranges + yym6 := z.DecBinary() + _ = yym6 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1355), d) + h.decSliceIDRange((*[]IDRange)(yyv5), d) } } default: - z.DecStructFieldNotFound(-1, yys1353) - } // end switch yys1353 - } // end for yyj1353 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16030,16 +17163,16 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1357 int - var yyb1357 bool - var yyhl1357 bool = l >= 0 - yyj1357++ - if yyhl1357 { - yyb1357 = yyj1357 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1357 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1357 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16047,15 +17180,16 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Rule = "" } else { - x.Rule = RunAsUserStrategy(r.DecodeString()) + yyv8 := &x.Rule + yyv8.CodecDecodeSelf(d) } - yyj1357++ - if yyhl1357 { - yyb1357 = yyj1357 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1357 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1357 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16063,26 +17197,26 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1359 := &x.Ranges - yym1360 := z.DecBinary() - _ = yym1360 + yyv9 := &x.Ranges + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1359), d) + h.decSliceIDRange((*[]IDRange)(yyv9), d) } } for { - yyj1357++ - if yyhl1357 { - yyb1357 = yyj1357 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1357 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1357 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1357-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16094,33 +17228,33 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1361 := z.EncBinary() - _ = yym1361 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1362 := !z.EncBinary() - yy2arr1362 := z.EncBasicHandle().StructToArray - var yyq1362 [2]bool - _, _, _ = yysep1362, yyq1362, yy2arr1362 - const yyr1362 bool = false - var yynn1362 int - if yyr1362 || yy2arr1362 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1362 = 2 - for _, b := range yyq1362 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn1362++ + yynn2++ } } - r.EncodeMapStart(yynn1362) - yynn1362 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1362 || yy2arr1362 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1364 := z.EncBinary() - _ = yym1364 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.Min)) @@ -16129,17 +17263,17 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1365 := z.EncBinary() - _ = yym1365 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1362 || yy2arr1362 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1367 := z.EncBinary() - _ = yym1367 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeInt(int64(x.Max)) @@ -16148,14 +17282,14 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1368 := z.EncBinary() - _ = yym1368 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1362 || yy2arr1362 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16168,25 +17302,25 @@ func (x *IDRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1369 := z.DecBinary() - _ = yym1369 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1370 := r.ContainerType() - if yyct1370 == codecSelferValueTypeMap1234 { - yyl1370 := r.ReadMapStart() - if yyl1370 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1370, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1370 == codecSelferValueTypeArray1234 { - yyl1370 := r.ReadArrayStart() - if yyl1370 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1370, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16198,12 +17332,12 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1371Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1371Slc - var yyhl1371 bool = l >= 0 - for yyj1371 := 0; ; yyj1371++ { - if yyhl1371 { - if yyj1371 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -16212,26 +17346,38 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1371Slc = r.DecodeBytes(yys1371Slc, true, true) - yys1371 := string(yys1371Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1371 { + switch yys3 { case "min": if r.TryDecodeAsNil() { x.Min = 0 } else { - x.Min = int64(r.DecodeInt(64)) + yyv4 := &x.Min + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int64)(yyv4)) = int64(r.DecodeInt(64)) + } } case "max": if r.TryDecodeAsNil() { x.Max = 0 } else { - x.Max = int64(r.DecodeInt(64)) + yyv6 := &x.Max + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*int64)(yyv6)) = int64(r.DecodeInt(64)) + } } default: - z.DecStructFieldNotFound(-1, yys1371) - } // end switch yys1371 - } // end for yyj1371 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16239,16 +17385,16 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1374 int - var yyb1374 bool - var yyhl1374 bool = l >= 0 - yyj1374++ - if yyhl1374 { - yyb1374 = yyj1374 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1374 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1374 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16256,15 +17402,21 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Min = 0 } else { - x.Min = int64(r.DecodeInt(64)) + yyv9 := &x.Min + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*int64)(yyv9)) = int64(r.DecodeInt(64)) + } } - yyj1374++ - if yyhl1374 { - yyb1374 = yyj1374 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1374 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1374 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16272,20 +17424,26 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = 0 } else { - x.Max = int64(r.DecodeInt(64)) + yyv11 := &x.Max + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*int64)(yyv11)) = int64(r.DecodeInt(64)) + } } for { - yyj1374++ - if yyhl1374 { - yyb1374 = yyj1374 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1374 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1374 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1374-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16294,8 +17452,8 @@ func (x RunAsUserStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1377 := z.EncBinary() - _ = yym1377 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -16307,8 +17465,8 @@ func (x *RunAsUserStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1378 := z.DecBinary() - _ = yym1378 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -16323,54 +17481,54 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1379 := z.EncBinary() - _ = yym1379 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1380 := !z.EncBinary() - yy2arr1380 := z.EncBasicHandle().StructToArray - var yyq1380 [2]bool - _, _, _ = yysep1380, yyq1380, yy2arr1380 - const yyr1380 bool = false - yyq1380[0] = x.Rule != "" - yyq1380[1] = len(x.Ranges) != 0 - var yynn1380 int - if yyr1380 || yy2arr1380 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Rule != "" + yyq2[1] = len(x.Ranges) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1380 = 0 - for _, b := range yyq1380 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1380++ + yynn2++ } } - r.EncodeMapStart(yynn1380) - yynn1380 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1380 || yy2arr1380 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1380[0] { + if yyq2[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1380[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1380 || yy2arr1380 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1380[1] { + if yyq2[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1383 := z.EncBinary() - _ = yym1383 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -16380,15 +17538,15 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1380[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1384 := z.EncBinary() - _ = yym1384 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -16396,7 +17554,7 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1380 || yy2arr1380 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16409,25 +17567,25 @@ func (x *FSGroupStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1385 := z.DecBinary() - _ = yym1385 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1386 := r.ContainerType() - if yyct1386 == codecSelferValueTypeMap1234 { - yyl1386 := r.ReadMapStart() - if yyl1386 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1386, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1386 == codecSelferValueTypeArray1234 { - yyl1386 := r.ReadArrayStart() - if yyl1386 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1386, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16439,12 +17597,12 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1387Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1387Slc - var yyhl1387 bool = l >= 0 - for yyj1387 := 0; ; yyj1387++ { - if yyhl1387 { - if yyj1387 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -16453,32 +17611,33 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1387Slc = r.DecodeBytes(yys1387Slc, true, true) - yys1387 := string(yys1387Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1387 { + switch yys3 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" } else { - x.Rule = FSGroupStrategyType(r.DecodeString()) + yyv4 := &x.Rule + yyv4.CodecDecodeSelf(d) } case "ranges": if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1389 := &x.Ranges - yym1390 := z.DecBinary() - _ = yym1390 + yyv5 := &x.Ranges + yym6 := z.DecBinary() + _ = yym6 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1389), d) + h.decSliceIDRange((*[]IDRange)(yyv5), d) } } default: - z.DecStructFieldNotFound(-1, yys1387) - } // end switch yys1387 - } // end for yyj1387 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16486,16 +17645,16 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1391 int - var yyb1391 bool - var yyhl1391 bool = l >= 0 - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1391 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1391 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16503,15 +17662,16 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Rule = "" } else { - x.Rule = FSGroupStrategyType(r.DecodeString()) + yyv8 := &x.Rule + yyv8.CodecDecodeSelf(d) } - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1391 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1391 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16519,26 +17679,26 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1393 := &x.Ranges - yym1394 := z.DecBinary() - _ = yym1394 + yyv9 := &x.Ranges + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1393), d) + h.decSliceIDRange((*[]IDRange)(yyv9), d) } } for { - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1391 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1391 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1391-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16547,8 +17707,8 @@ func (x FSGroupStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1395 := z.EncBinary() - _ = yym1395 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -16560,8 +17720,8 @@ func (x *FSGroupStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1396 := z.DecBinary() - _ = yym1396 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -16576,54 +17736,54 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym1397 := z.EncBinary() - _ = yym1397 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1398 := !z.EncBinary() - yy2arr1398 := z.EncBasicHandle().StructToArray - var yyq1398 [2]bool - _, _, _ = yysep1398, yyq1398, yy2arr1398 - const yyr1398 bool = false - yyq1398[0] = x.Rule != "" - yyq1398[1] = len(x.Ranges) != 0 - var yynn1398 int - if yyr1398 || yy2arr1398 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Rule != "" + yyq2[1] = len(x.Ranges) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1398 = 0 - for _, b := range yyq1398 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1398++ + yynn2++ } } - r.EncodeMapStart(yynn1398) - yynn1398 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1398 || yy2arr1398 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1398[0] { + if yyq2[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1398[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1398 || yy2arr1398 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1398[1] { + if yyq2[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1401 := z.EncBinary() - _ = yym1401 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -16633,15 +17793,15 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder r.EncodeNil() } } else { - if yyq1398[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1402 := z.EncBinary() - _ = yym1402 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -16649,7 +17809,7 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder } } } - if yyr1398 || yy2arr1398 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16662,25 +17822,25 @@ func (x *SupplementalGroupsStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1403 := z.DecBinary() - _ = yym1403 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1404 := r.ContainerType() - if yyct1404 == codecSelferValueTypeMap1234 { - yyl1404 := r.ReadMapStart() - if yyl1404 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1404, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1404 == codecSelferValueTypeArray1234 { - yyl1404 := r.ReadArrayStart() - if yyl1404 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1404, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16692,12 +17852,12 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1405Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1405Slc - var yyhl1405 bool = l >= 0 - for yyj1405 := 0; ; yyj1405++ { - if yyhl1405 { - if yyj1405 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -16706,32 +17866,33 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1405Slc = r.DecodeBytes(yys1405Slc, true, true) - yys1405 := string(yys1405Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1405 { + switch yys3 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" } else { - x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) + yyv4 := &x.Rule + yyv4.CodecDecodeSelf(d) } case "ranges": if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1407 := &x.Ranges - yym1408 := z.DecBinary() - _ = yym1408 + yyv5 := &x.Ranges + yym6 := z.DecBinary() + _ = yym6 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1407), d) + h.decSliceIDRange((*[]IDRange)(yyv5), d) } } default: - z.DecStructFieldNotFound(-1, yys1405) - } // end switch yys1405 - } // end for yyj1405 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16739,16 +17900,16 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1409 int - var yyb1409 bool - var yyhl1409 bool = l >= 0 - yyj1409++ - if yyhl1409 { - yyb1409 = yyj1409 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1409 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1409 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16756,15 +17917,16 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c if r.TryDecodeAsNil() { x.Rule = "" } else { - x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) + yyv8 := &x.Rule + yyv8.CodecDecodeSelf(d) } - yyj1409++ - if yyhl1409 { - yyb1409 = yyj1409 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1409 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1409 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16772,26 +17934,26 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1411 := &x.Ranges - yym1412 := z.DecBinary() - _ = yym1412 + yyv9 := &x.Ranges + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1411), d) + h.decSliceIDRange((*[]IDRange)(yyv9), d) } } for { - yyj1409++ - if yyhl1409 { - yyb1409 = yyj1409 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1409 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1409 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1409-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16800,8 +17962,8 @@ func (x SupplementalGroupsStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1413 := z.EncBinary() - _ = yym1413 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -16813,8 +17975,8 @@ func (x *SupplementalGroupsStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1414 := z.DecBinary() - _ = yym1414 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -16829,37 +17991,37 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1415 := z.EncBinary() - _ = yym1415 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1416 := !z.EncBinary() - yy2arr1416 := z.EncBasicHandle().StructToArray - var yyq1416 [4]bool - _, _, _ = yysep1416, yyq1416, yy2arr1416 - const yyr1416 bool = false - yyq1416[0] = x.Kind != "" - yyq1416[1] = x.APIVersion != "" - yyq1416[2] = true - var yynn1416 int - if yyr1416 || yy2arr1416 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn1416 = 1 - for _, b := range yyq1416 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1416++ + yynn2++ } } - r.EncodeMapStart(yynn1416) - yynn1416 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1416 || yy2arr1416 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1416[0] { - yym1418 := z.EncBinary() - _ = yym1418 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -16868,23 +18030,23 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1416[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1419 := z.EncBinary() - _ = yym1419 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1416 || yy2arr1416 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1416[1] { - yym1421 := z.EncBinary() - _ = yym1421 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -16893,54 +18055,54 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1416[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1422 := z.EncBinary() - _ = yym1422 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1416 || yy2arr1416 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1416[2] { - yy1424 := &x.ListMeta - yym1425 := z.EncBinary() - _ = yym1425 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy1424) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy1424) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq1416[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1426 := &x.ListMeta - yym1427 := z.EncBinary() - _ = yym1427 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy1426) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy1426) + z.EncFallback(yy12) } } } - if yyr1416 || yy2arr1416 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1429 := z.EncBinary() - _ = yym1429 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) @@ -16953,15 +18115,15 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1430 := z.EncBinary() - _ = yym1430 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) } } } - if yyr1416 || yy2arr1416 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16974,25 +18136,25 @@ func (x *PodSecurityPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1431 := z.DecBinary() - _ = yym1431 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1432 := r.ContainerType() - if yyct1432 == codecSelferValueTypeMap1234 { - yyl1432 := r.ReadMapStart() - if yyl1432 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1432, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1432 == codecSelferValueTypeArray1234 { - yyl1432 := r.ReadArrayStart() - if yyl1432 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1432, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17004,12 +18166,12 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1433Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1433Slc - var yyhl1433 bool = l >= 0 - for yyj1433 := 0; ; yyj1433++ { - if yyhl1433 { - if yyj1433 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -17018,51 +18180,63 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1433Slc = r.DecodeBytes(yys1433Slc, true, true) - yys1433 := string(yys1433Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1433 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv1436 := &x.ListMeta - yym1437 := z.DecBinary() - _ = yym1437 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv1436) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv1436, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1438 := &x.Items - yym1439 := z.DecBinary() - _ = yym1439 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1438), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys1433) - } // end switch yys1433 - } // end for yyj1433 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17070,16 +18244,16 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1440 int - var yyb1440 bool - var yyhl1440 bool = l >= 0 - yyj1440++ - if yyhl1440 { - yyb1440 = yyj1440 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1440 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1440 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17087,15 +18261,21 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj1440++ - if yyhl1440 { - yyb1440 = yyj1440 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1440 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1440 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17103,15 +18283,21 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj1440++ - if yyhl1440 { - yyb1440 = yyj1440 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1440 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1440 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17119,22 +18305,22 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv1443 := &x.ListMeta - yym1444 := z.DecBinary() - _ = yym1444 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv1443) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv1443, false) + z.DecFallback(yyv17, false) } } - yyj1440++ - if yyhl1440 { - yyb1440 = yyj1440 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1440 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1440 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17142,26 +18328,26 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1445 := &x.Items - yym1446 := z.DecBinary() - _ = yym1446 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1445), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv19), d) } } for { - yyj1440++ - if yyhl1440 { - yyb1440 = yyj1440 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1440 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1440 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1440-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17173,38 +18359,38 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1447 := z.EncBinary() - _ = yym1447 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1448 := !z.EncBinary() - yy2arr1448 := z.EncBasicHandle().StructToArray - var yyq1448 [4]bool - _, _, _ = yysep1448, yyq1448, yy2arr1448 - const yyr1448 bool = false - yyq1448[0] = x.Kind != "" - yyq1448[1] = x.APIVersion != "" - yyq1448[2] = true - yyq1448[3] = true - var yynn1448 int - if yyr1448 || yy2arr1448 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn1448 = 0 - for _, b := range yyq1448 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1448++ + yynn2++ } } - r.EncodeMapStart(yynn1448) - yynn1448 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1448 || yy2arr1448 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1448[0] { - yym1450 := z.EncBinary() - _ = yym1450 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -17213,23 +18399,23 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1448[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1451 := z.EncBinary() - _ = yym1451 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1448 || yy2arr1448 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1448[1] { - yym1453 := z.EncBinary() - _ = yym1453 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -17238,53 +18424,53 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1448[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1454 := z.EncBinary() - _ = yym1454 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1448 || yy2arr1448 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1448[2] { - yy1456 := &x.ObjectMeta - yy1456.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1448[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1457 := &x.ObjectMeta - yy1457.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr1448 || yy2arr1448 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1448[3] { - yy1459 := &x.Spec - yy1459.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1448[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1460 := &x.Spec - yy1460.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr1448 || yy2arr1448 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17297,25 +18483,25 @@ func (x *NetworkPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1461 := z.DecBinary() - _ = yym1461 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1462 := r.ContainerType() - if yyct1462 == codecSelferValueTypeMap1234 { - yyl1462 := r.ReadMapStart() - if yyl1462 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1462, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1462 == codecSelferValueTypeArray1234 { - yyl1462 := r.ReadArrayStart() - if yyl1462 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1462, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17327,12 +18513,12 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1463Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1463Slc - var yyhl1463 bool = l >= 0 - for yyj1463 := 0; ; yyj1463++ { - if yyhl1463 { - if yyj1463 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -17341,40 +18527,52 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1463Slc = r.DecodeBytes(yys1463Slc, true, true) - yys1463 := string(yys1463Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1463 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1466 := &x.ObjectMeta - yyv1466.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1467 := &x.Spec - yyv1467.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1463) - } // end switch yys1463 - } // end for yyj1463 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17382,16 +18580,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1468 int - var yyb1468 bool - var yyhl1468 bool = l >= 0 - yyj1468++ - if yyhl1468 { - yyb1468 = yyj1468 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1468 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1468 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17399,15 +18597,21 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv11 := &x.Kind + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj1468++ - if yyhl1468 { - yyb1468 = yyj1468 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1468 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1468 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17415,15 +18619,21 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv13 := &x.APIVersion + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj1468++ - if yyhl1468 { - yyb1468 = yyj1468 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1468 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1468 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17431,16 +18641,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1471 := &x.ObjectMeta - yyv1471.CodecDecodeSelf(d) + yyv15 := &x.ObjectMeta + yyv15.CodecDecodeSelf(d) } - yyj1468++ - if yyhl1468 { - yyb1468 = yyj1468 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1468 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1468 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17448,21 +18658,21 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1472 := &x.Spec - yyv1472.CodecDecodeSelf(d) + yyv16 := &x.Spec + yyv16.CodecDecodeSelf(d) } for { - yyj1468++ - if yyhl1468 { - yyb1468 = yyj1468 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb1468 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb1468 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1468-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17474,61 +18684,61 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1473 := z.EncBinary() - _ = yym1473 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1474 := !z.EncBinary() - yy2arr1474 := z.EncBasicHandle().StructToArray - var yyq1474 [2]bool - _, _, _ = yysep1474, yyq1474, yy2arr1474 - const yyr1474 bool = false - yyq1474[1] = len(x.Ingress) != 0 - var yynn1474 int - if yyr1474 || yy2arr1474 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = len(x.Ingress) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1474 = 1 - for _, b := range yyq1474 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1474++ + yynn2++ } } - r.EncodeMapStart(yynn1474) - yynn1474 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1474 || yy2arr1474 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1476 := &x.PodSelector - yym1477 := z.EncBinary() - _ = yym1477 + yy4 := &x.PodSelector + yym5 := z.EncBinary() + _ = yym5 if false { - } else if z.HasExtensions() && z.EncExt(yy1476) { + } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy1476) + z.EncFallback(yy4) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1478 := &x.PodSelector - yym1479 := z.EncBinary() - _ = yym1479 + yy6 := &x.PodSelector + yym7 := z.EncBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.EncExt(yy1478) { + } else if z.HasExtensions() && z.EncExt(yy6) { } else { - z.EncFallback(yy1478) + z.EncFallback(yy6) } } - if yyr1474 || yy2arr1474 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1474[1] { + if yyq2[1] { if x.Ingress == nil { r.EncodeNil() } else { - yym1481 := z.EncBinary() - _ = yym1481 + yym9 := z.EncBinary() + _ = yym9 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -17538,15 +18748,15 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1474[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym1482 := z.EncBinary() - _ = yym1482 + yym10 := z.EncBinary() + _ = yym10 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -17554,7 +18764,7 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1474 || yy2arr1474 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17567,25 +18777,25 @@ func (x *NetworkPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1483 := z.DecBinary() - _ = yym1483 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1484 := r.ContainerType() - if yyct1484 == codecSelferValueTypeMap1234 { - yyl1484 := r.ReadMapStart() - if yyl1484 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1484, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1484 == codecSelferValueTypeArray1234 { - yyl1484 := r.ReadArrayStart() - if yyl1484 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1484, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17597,12 +18807,12 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1485Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1485Slc - var yyhl1485 bool = l >= 0 - for yyj1485 := 0; ; yyj1485++ { - if yyhl1485 { - if yyj1485 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -17611,39 +18821,39 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1485Slc = r.DecodeBytes(yys1485Slc, true, true) - yys1485 := string(yys1485Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1485 { + switch yys3 { case "podSelector": if r.TryDecodeAsNil() { x.PodSelector = pkg1_v1.LabelSelector{} } else { - yyv1486 := &x.PodSelector - yym1487 := z.DecBinary() - _ = yym1487 + yyv4 := &x.PodSelector + yym5 := z.DecBinary() + _ = yym5 if false { - } else if z.HasExtensions() && z.DecExt(yyv1486) { + } else if z.HasExtensions() && z.DecExt(yyv4) { } else { - z.DecFallback(yyv1486, false) + z.DecFallback(yyv4, false) } } case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1488 := &x.Ingress - yym1489 := z.DecBinary() - _ = yym1489 + yyv6 := &x.Ingress + yym7 := z.DecBinary() + _ = yym7 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1488), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv6), d) } } default: - z.DecStructFieldNotFound(-1, yys1485) - } // end switch yys1485 - } // end for yyj1485 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17651,16 +18861,16 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1490 int - var yyb1490 bool - var yyhl1490 bool = l >= 0 - yyj1490++ - if yyhl1490 { - yyb1490 = yyj1490 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1490 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1490 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17668,22 +18878,22 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.PodSelector = pkg1_v1.LabelSelector{} } else { - yyv1491 := &x.PodSelector - yym1492 := z.DecBinary() - _ = yym1492 + yyv9 := &x.PodSelector + yym10 := z.DecBinary() + _ = yym10 if false { - } else if z.HasExtensions() && z.DecExt(yyv1491) { + } else if z.HasExtensions() && z.DecExt(yyv9) { } else { - z.DecFallback(yyv1491, false) + z.DecFallback(yyv9, false) } } - yyj1490++ - if yyhl1490 { - yyb1490 = yyj1490 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1490 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1490 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17691,26 +18901,26 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1493 := &x.Ingress - yym1494 := z.DecBinary() - _ = yym1494 + yyv11 := &x.Ingress + yym12 := z.DecBinary() + _ = yym12 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1493), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv11), d) } } for { - yyj1490++ - if yyhl1490 { - yyb1490 = yyj1490 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1490 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1490 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1490-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17722,39 +18932,39 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1495 := z.EncBinary() - _ = yym1495 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1496 := !z.EncBinary() - yy2arr1496 := z.EncBasicHandle().StructToArray - var yyq1496 [2]bool - _, _, _ = yysep1496, yyq1496, yy2arr1496 - const yyr1496 bool = false - yyq1496[0] = len(x.Ports) != 0 - yyq1496[1] = len(x.From) != 0 - var yynn1496 int - if yyr1496 || yy2arr1496 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Ports) != 0 + yyq2[1] = len(x.From) != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1496 = 0 - for _, b := range yyq1496 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1496++ + yynn2++ } } - r.EncodeMapStart(yynn1496) - yynn1496 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1496 || yy2arr1496 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1496[0] { + if yyq2[0] { if x.Ports == nil { r.EncodeNil() } else { - yym1498 := z.EncBinary() - _ = yym1498 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -17764,15 +18974,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1496[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym1499 := z.EncBinary() - _ = yym1499 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -17780,14 +18990,14 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1496 || yy2arr1496 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1496[1] { + if yyq2[1] { if x.From == nil { r.EncodeNil() } else { - yym1501 := z.EncBinary() - _ = yym1501 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -17797,15 +19007,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1496[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("from")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.From == nil { r.EncodeNil() } else { - yym1502 := z.EncBinary() - _ = yym1502 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -17813,7 +19023,7 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1496 || yy2arr1496 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17826,25 +19036,25 @@ func (x *NetworkPolicyIngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1503 := z.DecBinary() - _ = yym1503 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1504 := r.ContainerType() - if yyct1504 == codecSelferValueTypeMap1234 { - yyl1504 := r.ReadMapStart() - if yyl1504 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1504, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1504 == codecSelferValueTypeArray1234 { - yyl1504 := r.ReadArrayStart() - if yyl1504 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1504, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17856,12 +19066,12 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1505Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1505Slc - var yyhl1505 bool = l >= 0 - for yyj1505 := 0; ; yyj1505++ { - if yyhl1505 { - if yyj1505 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -17870,38 +19080,38 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1505Slc = r.DecodeBytes(yys1505Slc, true, true) - yys1505 := string(yys1505Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1505 { + switch yys3 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1506 := &x.Ports - yym1507 := z.DecBinary() - _ = yym1507 + yyv4 := &x.Ports + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1506), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv4), d) } } case "from": if r.TryDecodeAsNil() { x.From = nil } else { - yyv1508 := &x.From - yym1509 := z.DecBinary() - _ = yym1509 + yyv6 := &x.From + yym7 := z.DecBinary() + _ = yym7 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1508), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv6), d) } } default: - z.DecStructFieldNotFound(-1, yys1505) - } // end switch yys1505 - } // end for yyj1505 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17909,16 +19119,16 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1510 int - var yyb1510 bool - var yyhl1510 bool = l >= 0 - yyj1510++ - if yyhl1510 { - yyb1510 = yyj1510 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1510 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1510 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17926,21 +19136,21 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1511 := &x.Ports - yym1512 := z.DecBinary() - _ = yym1512 + yyv9 := &x.Ports + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1511), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv9), d) } } - yyj1510++ - if yyhl1510 { - yyb1510 = yyj1510 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1510 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1510 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17948,26 +19158,26 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.From = nil } else { - yyv1513 := &x.From - yym1514 := z.DecBinary() - _ = yym1514 + yyv11 := &x.From + yym12 := z.DecBinary() + _ = yym12 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1513), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv11), d) } } for { - yyj1510++ - if yyhl1510 { - yyb1510 = yyj1510 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1510 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1510 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1510-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17979,79 +19189,69 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1515 := z.EncBinary() - _ = yym1515 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1516 := !z.EncBinary() - yy2arr1516 := z.EncBasicHandle().StructToArray - var yyq1516 [2]bool - _, _, _ = yysep1516, yyq1516, yy2arr1516 - const yyr1516 bool = false - yyq1516[0] = x.Protocol != nil - yyq1516[1] = x.Port != nil - var yynn1516 int - if yyr1516 || yy2arr1516 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Protocol != nil + yyq2[1] = x.Port != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1516 = 0 - for _, b := range yyq1516 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1516++ + yynn2++ } } - r.EncodeMapStart(yynn1516) - yynn1516 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1516 || yy2arr1516 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1516[0] { + if yyq2[0] { if x.Protocol == nil { r.EncodeNil() } else { - yy1518 := *x.Protocol - yym1519 := z.EncBinary() - _ = yym1519 - if false { - } else if z.HasExtensions() && z.EncExt(yy1518) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1518)) - } + yy4 := *x.Protocol + yysf5 := &yy4 + yysf5.CodecEncodeSelf(e) } } else { r.EncodeNil() } } else { - if yyq1516[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Protocol == nil { r.EncodeNil() } else { - yy1520 := *x.Protocol - yym1521 := z.EncBinary() - _ = yym1521 - if false { - } else if z.HasExtensions() && z.EncExt(yy1520) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1520)) - } + yy6 := *x.Protocol + yysf7 := &yy6 + yysf7.CodecEncodeSelf(e) } } } - if yyr1516 || yy2arr1516 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1516[1] { + if yyq2[1] { if x.Port == nil { r.EncodeNil() } else { - yym1523 := z.EncBinary() - _ = yym1523 + yym9 := z.EncBinary() + _ = yym9 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1523 && z.IsJSONHandle() { + } else if !yym9 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -18061,18 +19261,18 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1516[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Port == nil { r.EncodeNil() } else { - yym1524 := z.EncBinary() - _ = yym1524 + yym10 := z.EncBinary() + _ = yym10 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1524 && z.IsJSONHandle() { + } else if !yym10 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -18080,7 +19280,7 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1516 || yy2arr1516 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18093,25 +19293,25 @@ func (x *NetworkPolicyPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1525 := z.DecBinary() - _ = yym1525 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1526 := r.ContainerType() - if yyct1526 == codecSelferValueTypeMap1234 { - yyl1526 := r.ReadMapStart() - if yyl1526 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1526, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1526 == codecSelferValueTypeArray1234 { - yyl1526 := r.ReadArrayStart() - if yyl1526 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1526, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18123,12 +19323,12 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1527Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1527Slc - var yyhl1527 bool = l >= 0 - for yyj1527 := 0; ; yyj1527++ { - if yyhl1527 { - if yyj1527 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -18137,10 +19337,10 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1527Slc = r.DecodeBytes(yys1527Slc, true, true) - yys1527 := string(yys1527Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1527 { + switch yys3 { case "protocol": if r.TryDecodeAsNil() { if x.Protocol != nil { @@ -18161,20 +19361,20 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym1530 := z.DecBinary() - _ = yym1530 + yym6 := z.DecBinary() + _ = yym6 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1530 && z.IsJSONHandle() { + } else if !yym6 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } default: - z.DecStructFieldNotFound(-1, yys1527) - } // end switch yys1527 - } // end for yyj1527 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18182,16 +19382,16 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1531 int - var yyb1531 bool - var yyhl1531 bool = l >= 0 - yyj1531++ - if yyhl1531 { - yyb1531 = yyj1531 > l + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1531 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1531 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18206,13 +19406,13 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } x.Protocol.CodecDecodeSelf(d) } - yyj1531++ - if yyhl1531 { - yyb1531 = yyj1531 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1531 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1531 { + if yyb7 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18225,28 +19425,28 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym1534 := z.DecBinary() - _ = yym1534 + yym10 := z.DecBinary() + _ = yym10 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1534 && z.IsJSONHandle() { + } else if !yym10 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } for { - yyj1531++ - if yyhl1531 { - yyb1531 = yyj1531 > l + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l } else { - yyb1531 = r.CheckBreak() + yyb7 = r.CheckBreak() } - if yyb1531 { + if yyb7 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1531-1, "") + z.DecStructFieldNotFound(yyj7-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18258,39 +19458,39 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1535 := z.EncBinary() - _ = yym1535 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1536 := !z.EncBinary() - yy2arr1536 := z.EncBasicHandle().StructToArray - var yyq1536 [2]bool - _, _, _ = yysep1536, yyq1536, yy2arr1536 - const yyr1536 bool = false - yyq1536[0] = x.PodSelector != nil - yyq1536[1] = x.NamespaceSelector != nil - var yynn1536 int - if yyr1536 || yy2arr1536 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.PodSelector != nil + yyq2[1] = x.NamespaceSelector != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn1536 = 0 - for _, b := range yyq1536 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn1536++ + yynn2++ } } - r.EncodeMapStart(yynn1536) - yynn1536 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1536 || yy2arr1536 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1536[0] { + if yyq2[0] { if x.PodSelector == nil { r.EncodeNil() } else { - yym1538 := z.EncBinary() - _ = yym1538 + yym4 := z.EncBinary() + _ = yym4 if false { } else if z.HasExtensions() && z.EncExt(x.PodSelector) { } else { @@ -18301,15 +19501,15 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1536[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PodSelector == nil { r.EncodeNil() } else { - yym1539 := z.EncBinary() - _ = yym1539 + yym5 := z.EncBinary() + _ = yym5 if false { } else if z.HasExtensions() && z.EncExt(x.PodSelector) { } else { @@ -18318,14 +19518,14 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1536 || yy2arr1536 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1536[1] { + if yyq2[1] { if x.NamespaceSelector == nil { r.EncodeNil() } else { - yym1541 := z.EncBinary() - _ = yym1541 + yym7 := z.EncBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { } else { @@ -18336,15 +19536,15 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1536[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespaceSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NamespaceSelector == nil { r.EncodeNil() } else { - yym1542 := z.EncBinary() - _ = yym1542 + yym8 := z.EncBinary() + _ = yym8 if false { } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { } else { @@ -18353,7 +19553,7 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1536 || yy2arr1536 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18366,25 +19566,25 @@ func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1543 := z.DecBinary() - _ = yym1543 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1544 := r.ContainerType() - if yyct1544 == codecSelferValueTypeMap1234 { - yyl1544 := r.ReadMapStart() - if yyl1544 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1544, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1544 == codecSelferValueTypeArray1234 { - yyl1544 := r.ReadArrayStart() - if yyl1544 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1544, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18396,12 +19596,12 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1545Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1545Slc - var yyhl1545 bool = l >= 0 - for yyj1545 := 0; ; yyj1545++ { - if yyhl1545 { - if yyj1545 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -18410,10 +19610,10 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1545Slc = r.DecodeBytes(yys1545Slc, true, true) - yys1545 := string(yys1545Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1545 { + switch yys3 { case "podSelector": if r.TryDecodeAsNil() { if x.PodSelector != nil { @@ -18423,8 +19623,8 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.PodSelector == nil { x.PodSelector = new(pkg1_v1.LabelSelector) } - yym1547 := z.DecBinary() - _ = yym1547 + yym5 := z.DecBinary() + _ = yym5 if false { } else if z.HasExtensions() && z.DecExt(x.PodSelector) { } else { @@ -18440,8 +19640,8 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.NamespaceSelector == nil { x.NamespaceSelector = new(pkg1_v1.LabelSelector) } - yym1549 := z.DecBinary() - _ = yym1549 + yym7 := z.DecBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { } else { @@ -18449,9 +19649,9 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } default: - z.DecStructFieldNotFound(-1, yys1545) - } // end switch yys1545 - } // end for yyj1545 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18459,16 +19659,16 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1550 int - var yyb1550 bool - var yyhl1550 bool = l >= 0 - yyj1550++ - if yyhl1550 { - yyb1550 = yyj1550 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1550 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1550 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18481,21 +19681,21 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.PodSelector == nil { x.PodSelector = new(pkg1_v1.LabelSelector) } - yym1552 := z.DecBinary() - _ = yym1552 + yym10 := z.DecBinary() + _ = yym10 if false { } else if z.HasExtensions() && z.DecExt(x.PodSelector) { } else { z.DecFallback(x.PodSelector, false) } } - yyj1550++ - if yyhl1550 { - yyb1550 = yyj1550 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1550 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1550 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18508,8 +19708,8 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.NamespaceSelector == nil { x.NamespaceSelector = new(pkg1_v1.LabelSelector) } - yym1554 := z.DecBinary() - _ = yym1554 + yym12 := z.DecBinary() + _ = yym12 if false { } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { } else { @@ -18517,17 +19717,17 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } } for { - yyj1550++ - if yyhl1550 { - yyb1550 = yyj1550 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb1550 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb1550 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1550-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18539,37 +19739,37 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1555 := z.EncBinary() - _ = yym1555 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1556 := !z.EncBinary() - yy2arr1556 := z.EncBasicHandle().StructToArray - var yyq1556 [4]bool - _, _, _ = yysep1556, yyq1556, yy2arr1556 - const yyr1556 bool = false - yyq1556[0] = x.Kind != "" - yyq1556[1] = x.APIVersion != "" - yyq1556[2] = true - var yynn1556 int - if yyr1556 || yy2arr1556 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn1556 = 1 - for _, b := range yyq1556 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn1556++ + yynn2++ } } - r.EncodeMapStart(yynn1556) - yynn1556 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr1556 || yy2arr1556 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1556[0] { - yym1558 := z.EncBinary() - _ = yym1558 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -18578,23 +19778,23 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1556[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1559 := z.EncBinary() - _ = yym1559 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1556 || yy2arr1556 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1556[1] { - yym1561 := z.EncBinary() - _ = yym1561 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -18603,54 +19803,54 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1556[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1562 := z.EncBinary() - _ = yym1562 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1556 || yy2arr1556 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1556[2] { - yy1564 := &x.ListMeta - yym1565 := z.EncBinary() - _ = yym1565 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy1564) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy1564) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq1556[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1566 := &x.ListMeta - yym1567 := z.EncBinary() - _ = yym1567 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy1566) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy1566) + z.EncFallback(yy12) } } } - if yyr1556 || yy2arr1556 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1569 := z.EncBinary() - _ = yym1569 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) @@ -18663,15 +19863,15 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1570 := z.EncBinary() - _ = yym1570 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) } } } - if yyr1556 || yy2arr1556 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18684,25 +19884,25 @@ func (x *NetworkPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1571 := z.DecBinary() - _ = yym1571 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1572 := r.ContainerType() - if yyct1572 == codecSelferValueTypeMap1234 { - yyl1572 := r.ReadMapStart() - if yyl1572 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1572, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct1572 == codecSelferValueTypeArray1234 { - yyl1572 := r.ReadArrayStart() - if yyl1572 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1572, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18714,12 +19914,12 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1573Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1573Slc - var yyhl1573 bool = l >= 0 - for yyj1573 := 0; ; yyj1573++ { - if yyhl1573 { - if yyj1573 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -18728,51 +19928,63 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1573Slc = r.DecodeBytes(yys1573Slc, true, true) - yys1573 := string(yys1573Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1573 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv1576 := &x.ListMeta - yym1577 := z.DecBinary() - _ = yym1577 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv1576) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv1576, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1578 := &x.Items - yym1579 := z.DecBinary() - _ = yym1579 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1578), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys1573) - } // end switch yys1573 - } // end for yyj1573 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18780,16 +19992,16 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1580 int - var yyb1580 bool - var yyhl1580 bool = l >= 0 - yyj1580++ - if yyhl1580 { - yyb1580 = yyj1580 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1580 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1580 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18797,15 +20009,21 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj1580++ - if yyhl1580 { - yyb1580 = yyj1580 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1580 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1580 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18813,15 +20031,21 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj1580++ - if yyhl1580 { - yyb1580 = yyj1580 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1580 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1580 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18829,22 +20053,22 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv1583 := &x.ListMeta - yym1584 := z.DecBinary() - _ = yym1584 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv1583) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv1583, false) + z.DecFallback(yyv17, false) } } - yyj1580++ - if yyhl1580 { - yyb1580 = yyj1580 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1580 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1580 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18852,26 +20076,26 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1585 := &x.Items - yym1586 := z.DecBinary() - _ = yym1586 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1585), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv19), d) } } for { - yyj1580++ - if yyhl1580 { - yyb1580 = yyj1580 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb1580 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb1580 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1580-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18881,10 +20105,10 @@ func (x codecSelfer1234) encSliceCustomMetricTarget(v []CustomMetricTarget, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1587 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1588 := &yyv1587 - yy1588.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18894,83 +20118,86 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1589 := *v - yyh1589, yyl1589 := z.DecSliceHelperStart() - var yyc1589 bool - if yyl1589 == 0 { - if yyv1589 == nil { - yyv1589 = []CustomMetricTarget{} - yyc1589 = true - } else if len(yyv1589) != 0 { - yyv1589 = yyv1589[:0] - yyc1589 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []CustomMetricTarget{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1589 > 0 { - var yyrr1589, yyrl1589 int - var yyrt1589 bool - if yyl1589 > cap(yyv1589) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1589 := len(yyv1589) > 0 - yyv21589 := yyv1589 - yyrl1589, yyrt1589 = z.DecInferLen(yyl1589, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1589 { - if yyrl1589 <= cap(yyv1589) { - yyv1589 = yyv1589[:yyrl1589] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1589 = make([]CustomMetricTarget, yyrl1589) + yyv1 = make([]CustomMetricTarget, yyrl1) } } else { - yyv1589 = make([]CustomMetricTarget, yyrl1589) + yyv1 = make([]CustomMetricTarget, yyrl1) } - yyc1589 = true - yyrr1589 = len(yyv1589) - if yyrg1589 { - copy(yyv1589, yyv21589) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1589 != len(yyv1589) { - yyv1589 = yyv1589[:yyl1589] - yyc1589 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1589 := 0 - for ; yyj1589 < yyrr1589; yyj1589++ { - yyh1589.ElemContainerState(yyj1589) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1589[yyj1589] = CustomMetricTarget{} + yyv1[yyj1] = CustomMetricTarget{} } else { - yyv1590 := &yyv1589[yyj1589] - yyv1590.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1589 { - for ; yyj1589 < yyl1589; yyj1589++ { - yyv1589 = append(yyv1589, CustomMetricTarget{}) - yyh1589.ElemContainerState(yyj1589) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, CustomMetricTarget{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1589[yyj1589] = CustomMetricTarget{} + yyv1[yyj1] = CustomMetricTarget{} } else { - yyv1591 := &yyv1589[yyj1589] - yyv1591.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1589 := 0 - for ; !r.CheckBreak(); yyj1589++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1589 >= len(yyv1589) { - yyv1589 = append(yyv1589, CustomMetricTarget{}) // var yyz1589 CustomMetricTarget - yyc1589 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, CustomMetricTarget{}) // var yyz1 CustomMetricTarget + yyc1 = true } - yyh1589.ElemContainerState(yyj1589) - if yyj1589 < len(yyv1589) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1589[yyj1589] = CustomMetricTarget{} + yyv1[yyj1] = CustomMetricTarget{} } else { - yyv1592 := &yyv1589[yyj1589] - yyv1592.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -18978,17 +20205,17 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * } } - if yyj1589 < len(yyv1589) { - yyv1589 = yyv1589[:yyj1589] - yyc1589 = true - } else if yyj1589 == 0 && yyv1589 == nil { - yyv1589 = []CustomMetricTarget{} - yyc1589 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []CustomMetricTarget{} + yyc1 = true } } - yyh1589.End() - if yyc1589 { - *v = yyv1589 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -18997,10 +20224,10 @@ func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1593 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1594 := &yyv1593 - yy1594.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19010,83 +20237,86 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1595 := *v - yyh1595, yyl1595 := z.DecSliceHelperStart() - var yyc1595 bool - if yyl1595 == 0 { - if yyv1595 == nil { - yyv1595 = []CustomMetricCurrentStatus{} - yyc1595 = true - } else if len(yyv1595) != 0 { - yyv1595 = yyv1595[:0] - yyc1595 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []CustomMetricCurrentStatus{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1595 > 0 { - var yyrr1595, yyrl1595 int - var yyrt1595 bool - if yyl1595 > cap(yyv1595) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1595 := len(yyv1595) > 0 - yyv21595 := yyv1595 - yyrl1595, yyrt1595 = z.DecInferLen(yyl1595, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1595 { - if yyrl1595 <= cap(yyv1595) { - yyv1595 = yyv1595[:yyrl1595] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1595 = make([]CustomMetricCurrentStatus, yyrl1595) + yyv1 = make([]CustomMetricCurrentStatus, yyrl1) } } else { - yyv1595 = make([]CustomMetricCurrentStatus, yyrl1595) + yyv1 = make([]CustomMetricCurrentStatus, yyrl1) } - yyc1595 = true - yyrr1595 = len(yyv1595) - if yyrg1595 { - copy(yyv1595, yyv21595) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1595 != len(yyv1595) { - yyv1595 = yyv1595[:yyl1595] - yyc1595 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1595 := 0 - for ; yyj1595 < yyrr1595; yyj1595++ { - yyh1595.ElemContainerState(yyj1595) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1595[yyj1595] = CustomMetricCurrentStatus{} + yyv1[yyj1] = CustomMetricCurrentStatus{} } else { - yyv1596 := &yyv1595[yyj1595] - yyv1596.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1595 { - for ; yyj1595 < yyl1595; yyj1595++ { - yyv1595 = append(yyv1595, CustomMetricCurrentStatus{}) - yyh1595.ElemContainerState(yyj1595) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, CustomMetricCurrentStatus{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1595[yyj1595] = CustomMetricCurrentStatus{} + yyv1[yyj1] = CustomMetricCurrentStatus{} } else { - yyv1597 := &yyv1595[yyj1595] - yyv1597.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1595 := 0 - for ; !r.CheckBreak(); yyj1595++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1595 >= len(yyv1595) { - yyv1595 = append(yyv1595, CustomMetricCurrentStatus{}) // var yyz1595 CustomMetricCurrentStatus - yyc1595 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, CustomMetricCurrentStatus{}) // var yyz1 CustomMetricCurrentStatus + yyc1 = true } - yyh1595.ElemContainerState(yyj1595) - if yyj1595 < len(yyv1595) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1595[yyj1595] = CustomMetricCurrentStatus{} + yyv1[yyj1] = CustomMetricCurrentStatus{} } else { - yyv1598 := &yyv1595[yyj1595] - yyv1598.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -19094,17 +20324,17 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr } } - if yyj1595 < len(yyv1595) { - yyv1595 = yyv1595[:yyj1595] - yyc1595 = true - } else if yyj1595 == 0 && yyv1595 == nil { - yyv1595 = []CustomMetricCurrentStatus{} - yyc1595 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []CustomMetricCurrentStatus{} + yyc1 = true } } - yyh1595.End() - if yyc1595 { - *v = yyv1595 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -19113,10 +20343,10 @@ func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutosc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1599 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1600 := &yyv1599 - yy1600.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19126,83 +20356,86 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1601 := *v - yyh1601, yyl1601 := z.DecSliceHelperStart() - var yyc1601 bool - if yyl1601 == 0 { - if yyv1601 == nil { - yyv1601 = []HorizontalPodAutoscaler{} - yyc1601 = true - } else if len(yyv1601) != 0 { - yyv1601 = yyv1601[:0] - yyc1601 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []HorizontalPodAutoscaler{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1601 > 0 { - var yyrr1601, yyrl1601 int - var yyrt1601 bool - if yyl1601 > cap(yyv1601) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1601 := len(yyv1601) > 0 - yyv21601 := yyv1601 - yyrl1601, yyrt1601 = z.DecInferLen(yyl1601, z.DecBasicHandle().MaxInitLen, 376) - if yyrt1601 { - if yyrl1601 <= cap(yyv1601) { - yyv1601 = yyv1601[:yyrl1601] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 376) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1601 = make([]HorizontalPodAutoscaler, yyrl1601) + yyv1 = make([]HorizontalPodAutoscaler, yyrl1) } } else { - yyv1601 = make([]HorizontalPodAutoscaler, yyrl1601) + yyv1 = make([]HorizontalPodAutoscaler, yyrl1) } - yyc1601 = true - yyrr1601 = len(yyv1601) - if yyrg1601 { - copy(yyv1601, yyv21601) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1601 != len(yyv1601) { - yyv1601 = yyv1601[:yyl1601] - yyc1601 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1601 := 0 - for ; yyj1601 < yyrr1601; yyj1601++ { - yyh1601.ElemContainerState(yyj1601) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1601[yyj1601] = HorizontalPodAutoscaler{} + yyv1[yyj1] = HorizontalPodAutoscaler{} } else { - yyv1602 := &yyv1601[yyj1601] - yyv1602.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1601 { - for ; yyj1601 < yyl1601; yyj1601++ { - yyv1601 = append(yyv1601, HorizontalPodAutoscaler{}) - yyh1601.ElemContainerState(yyj1601) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, HorizontalPodAutoscaler{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1601[yyj1601] = HorizontalPodAutoscaler{} + yyv1[yyj1] = HorizontalPodAutoscaler{} } else { - yyv1603 := &yyv1601[yyj1601] - yyv1603.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1601 := 0 - for ; !r.CheckBreak(); yyj1601++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1601 >= len(yyv1601) { - yyv1601 = append(yyv1601, HorizontalPodAutoscaler{}) // var yyz1601 HorizontalPodAutoscaler - yyc1601 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, HorizontalPodAutoscaler{}) // var yyz1 HorizontalPodAutoscaler + yyc1 = true } - yyh1601.ElemContainerState(yyj1601) - if yyj1601 < len(yyv1601) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1601[yyj1601] = HorizontalPodAutoscaler{} + yyv1[yyj1] = HorizontalPodAutoscaler{} } else { - yyv1604 := &yyv1601[yyj1601] - yyv1604.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -19210,17 +20443,17 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } } - if yyj1601 < len(yyv1601) { - yyv1601 = yyv1601[:yyj1601] - yyc1601 = true - } else if yyj1601 == 0 && yyv1601 == nil { - yyv1601 = []HorizontalPodAutoscaler{} - yyc1601 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []HorizontalPodAutoscaler{} + yyc1 = true } } - yyh1601.End() - if yyc1601 { - *v = yyv1601 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -19229,10 +20462,10 @@ func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1605 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1606 := &yyv1605 - yy1606.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19242,83 +20475,86 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1607 := *v - yyh1607, yyl1607 := z.DecSliceHelperStart() - var yyc1607 bool - if yyl1607 == 0 { - if yyv1607 == nil { - yyv1607 = []APIVersion{} - yyc1607 = true - } else if len(yyv1607) != 0 { - yyv1607 = yyv1607[:0] - yyc1607 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []APIVersion{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1607 > 0 { - var yyrr1607, yyrl1607 int - var yyrt1607 bool - if yyl1607 > cap(yyv1607) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1607 := len(yyv1607) > 0 - yyv21607 := yyv1607 - yyrl1607, yyrt1607 = z.DecInferLen(yyl1607, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1607 { - if yyrl1607 <= cap(yyv1607) { - yyv1607 = yyv1607[:yyrl1607] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1607 = make([]APIVersion, yyrl1607) + yyv1 = make([]APIVersion, yyrl1) } } else { - yyv1607 = make([]APIVersion, yyrl1607) + yyv1 = make([]APIVersion, yyrl1) } - yyc1607 = true - yyrr1607 = len(yyv1607) - if yyrg1607 { - copy(yyv1607, yyv21607) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1607 != len(yyv1607) { - yyv1607 = yyv1607[:yyl1607] - yyc1607 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1607 := 0 - for ; yyj1607 < yyrr1607; yyj1607++ { - yyh1607.ElemContainerState(yyj1607) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1607[yyj1607] = APIVersion{} + yyv1[yyj1] = APIVersion{} } else { - yyv1608 := &yyv1607[yyj1607] - yyv1608.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1607 { - for ; yyj1607 < yyl1607; yyj1607++ { - yyv1607 = append(yyv1607, APIVersion{}) - yyh1607.ElemContainerState(yyj1607) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, APIVersion{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1607[yyj1607] = APIVersion{} + yyv1[yyj1] = APIVersion{} } else { - yyv1609 := &yyv1607[yyj1607] - yyv1609.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1607 := 0 - for ; !r.CheckBreak(); yyj1607++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1607 >= len(yyv1607) { - yyv1607 = append(yyv1607, APIVersion{}) // var yyz1607 APIVersion - yyc1607 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, APIVersion{}) // var yyz1 APIVersion + yyc1 = true } - yyh1607.ElemContainerState(yyj1607) - if yyj1607 < len(yyv1607) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1607[yyj1607] = APIVersion{} + yyv1[yyj1] = APIVersion{} } else { - yyv1610 := &yyv1607[yyj1607] - yyv1610.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -19326,17 +20562,17 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } } - if yyj1607 < len(yyv1607) { - yyv1607 = yyv1607[:yyj1607] - yyc1607 = true - } else if yyj1607 == 0 && yyv1607 == nil { - yyv1607 = []APIVersion{} - yyc1607 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []APIVersion{} + yyc1 = true } } - yyh1607.End() - if yyc1607 { - *v = yyv1607 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -19345,10 +20581,10 @@ func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1611 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1612 := &yyv1611 - yy1612.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19358,83 +20594,86 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1613 := *v - yyh1613, yyl1613 := z.DecSliceHelperStart() - var yyc1613 bool - if yyl1613 == 0 { - if yyv1613 == nil { - yyv1613 = []ThirdPartyResource{} - yyc1613 = true - } else if len(yyv1613) != 0 { - yyv1613 = yyv1613[:0] - yyc1613 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ThirdPartyResource{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1613 > 0 { - var yyrr1613, yyrl1613 int - var yyrt1613 bool - if yyl1613 > cap(yyv1613) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1613 := len(yyv1613) > 0 - yyv21613 := yyv1613 - yyrl1613, yyrt1613 = z.DecInferLen(yyl1613, z.DecBasicHandle().MaxInitLen, 296) - if yyrt1613 { - if yyrl1613 <= cap(yyv1613) { - yyv1613 = yyv1613[:yyrl1613] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 296) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1613 = make([]ThirdPartyResource, yyrl1613) + yyv1 = make([]ThirdPartyResource, yyrl1) } } else { - yyv1613 = make([]ThirdPartyResource, yyrl1613) + yyv1 = make([]ThirdPartyResource, yyrl1) } - yyc1613 = true - yyrr1613 = len(yyv1613) - if yyrg1613 { - copy(yyv1613, yyv21613) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1613 != len(yyv1613) { - yyv1613 = yyv1613[:yyl1613] - yyc1613 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1613 := 0 - for ; yyj1613 < yyrr1613; yyj1613++ { - yyh1613.ElemContainerState(yyj1613) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1613[yyj1613] = ThirdPartyResource{} + yyv1[yyj1] = ThirdPartyResource{} } else { - yyv1614 := &yyv1613[yyj1613] - yyv1614.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1613 { - for ; yyj1613 < yyl1613; yyj1613++ { - yyv1613 = append(yyv1613, ThirdPartyResource{}) - yyh1613.ElemContainerState(yyj1613) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ThirdPartyResource{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1613[yyj1613] = ThirdPartyResource{} + yyv1[yyj1] = ThirdPartyResource{} } else { - yyv1615 := &yyv1613[yyj1613] - yyv1615.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1613 := 0 - for ; !r.CheckBreak(); yyj1613++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1613 >= len(yyv1613) { - yyv1613 = append(yyv1613, ThirdPartyResource{}) // var yyz1613 ThirdPartyResource - yyc1613 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ThirdPartyResource{}) // var yyz1 ThirdPartyResource + yyc1 = true } - yyh1613.ElemContainerState(yyj1613) - if yyj1613 < len(yyv1613) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1613[yyj1613] = ThirdPartyResource{} + yyv1[yyj1] = ThirdPartyResource{} } else { - yyv1616 := &yyv1613[yyj1613] - yyv1616.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -19442,17 +20681,17 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } } - if yyj1613 < len(yyv1613) { - yyv1613 = yyv1613[:yyj1613] - yyc1613 = true - } else if yyj1613 == 0 && yyv1613 == nil { - yyv1613 = []ThirdPartyResource{} - yyc1613 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ThirdPartyResource{} + yyc1 = true } } - yyh1613.End() - if yyc1613 { - *v = yyv1613 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -19461,10 +20700,10 @@ func (x codecSelfer1234) encSliceDeploymentCondition(v []DeploymentCondition, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1617 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1618 := &yyv1617 - yy1618.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19474,83 +20713,86 @@ func (x codecSelfer1234) decSliceDeploymentCondition(v *[]DeploymentCondition, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1619 := *v - yyh1619, yyl1619 := z.DecSliceHelperStart() - var yyc1619 bool - if yyl1619 == 0 { - if yyv1619 == nil { - yyv1619 = []DeploymentCondition{} - yyc1619 = true - } else if len(yyv1619) != 0 { - yyv1619 = yyv1619[:0] - yyc1619 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []DeploymentCondition{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1619 > 0 { - var yyrr1619, yyrl1619 int - var yyrt1619 bool - if yyl1619 > cap(yyv1619) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1619 := len(yyv1619) > 0 - yyv21619 := yyv1619 - yyrl1619, yyrt1619 = z.DecInferLen(yyl1619, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1619 { - if yyrl1619 <= cap(yyv1619) { - yyv1619 = yyv1619[:yyrl1619] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1619 = make([]DeploymentCondition, yyrl1619) + yyv1 = make([]DeploymentCondition, yyrl1) } } else { - yyv1619 = make([]DeploymentCondition, yyrl1619) + yyv1 = make([]DeploymentCondition, yyrl1) } - yyc1619 = true - yyrr1619 = len(yyv1619) - if yyrg1619 { - copy(yyv1619, yyv21619) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1619 != len(yyv1619) { - yyv1619 = yyv1619[:yyl1619] - yyc1619 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1619 := 0 - for ; yyj1619 < yyrr1619; yyj1619++ { - yyh1619.ElemContainerState(yyj1619) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1619[yyj1619] = DeploymentCondition{} + yyv1[yyj1] = DeploymentCondition{} } else { - yyv1620 := &yyv1619[yyj1619] - yyv1620.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1619 { - for ; yyj1619 < yyl1619; yyj1619++ { - yyv1619 = append(yyv1619, DeploymentCondition{}) - yyh1619.ElemContainerState(yyj1619) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, DeploymentCondition{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1619[yyj1619] = DeploymentCondition{} + yyv1[yyj1] = DeploymentCondition{} } else { - yyv1621 := &yyv1619[yyj1619] - yyv1621.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1619 := 0 - for ; !r.CheckBreak(); yyj1619++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1619 >= len(yyv1619) { - yyv1619 = append(yyv1619, DeploymentCondition{}) // var yyz1619 DeploymentCondition - yyc1619 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, DeploymentCondition{}) // var yyz1 DeploymentCondition + yyc1 = true } - yyh1619.ElemContainerState(yyj1619) - if yyj1619 < len(yyv1619) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1619[yyj1619] = DeploymentCondition{} + yyv1[yyj1] = DeploymentCondition{} } else { - yyv1622 := &yyv1619[yyj1619] - yyv1622.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -19558,17 +20800,17 @@ func (x codecSelfer1234) decSliceDeploymentCondition(v *[]DeploymentCondition, d } } - if yyj1619 < len(yyv1619) { - yyv1619 = yyv1619[:yyj1619] - yyc1619 = true - } else if yyj1619 == 0 && yyv1619 == nil { - yyv1619 = []DeploymentCondition{} - yyc1619 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []DeploymentCondition{} + yyc1 = true } } - yyh1619.End() - if yyc1619 { - *v = yyv1619 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -19577,10 +20819,10 @@ func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1623 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1624 := &yyv1623 - yy1624.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19590,83 +20832,86 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1625 := *v - yyh1625, yyl1625 := z.DecSliceHelperStart() - var yyc1625 bool - if yyl1625 == 0 { - if yyv1625 == nil { - yyv1625 = []Deployment{} - yyc1625 = true - } else if len(yyv1625) != 0 { - yyv1625 = yyv1625[:0] - yyc1625 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Deployment{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1625 > 0 { - var yyrr1625, yyrl1625 int - var yyrt1625 bool - if yyl1625 > cap(yyv1625) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1625 := len(yyv1625) > 0 - yyv21625 := yyv1625 - yyrl1625, yyrt1625 = z.DecInferLen(yyl1625, z.DecBasicHandle().MaxInitLen, 864) - if yyrt1625 { - if yyrl1625 <= cap(yyv1625) { - yyv1625 = yyv1625[:yyrl1625] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 872) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1625 = make([]Deployment, yyrl1625) + yyv1 = make([]Deployment, yyrl1) } } else { - yyv1625 = make([]Deployment, yyrl1625) + yyv1 = make([]Deployment, yyrl1) } - yyc1625 = true - yyrr1625 = len(yyv1625) - if yyrg1625 { - copy(yyv1625, yyv21625) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1625 != len(yyv1625) { - yyv1625 = yyv1625[:yyl1625] - yyc1625 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1625 := 0 - for ; yyj1625 < yyrr1625; yyj1625++ { - yyh1625.ElemContainerState(yyj1625) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1625[yyj1625] = Deployment{} + yyv1[yyj1] = Deployment{} } else { - yyv1626 := &yyv1625[yyj1625] - yyv1626.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1625 { - for ; yyj1625 < yyl1625; yyj1625++ { - yyv1625 = append(yyv1625, Deployment{}) - yyh1625.ElemContainerState(yyj1625) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Deployment{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1625[yyj1625] = Deployment{} + yyv1[yyj1] = Deployment{} } else { - yyv1627 := &yyv1625[yyj1625] - yyv1627.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1625 := 0 - for ; !r.CheckBreak(); yyj1625++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1625 >= len(yyv1625) { - yyv1625 = append(yyv1625, Deployment{}) // var yyz1625 Deployment - yyc1625 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Deployment{}) // var yyz1 Deployment + yyc1 = true } - yyh1625.ElemContainerState(yyj1625) - if yyj1625 < len(yyv1625) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1625[yyj1625] = Deployment{} + yyv1[yyj1] = Deployment{} } else { - yyv1628 := &yyv1625[yyj1625] - yyv1628.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -19674,17 +20919,17 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } } - if yyj1625 < len(yyv1625) { - yyv1625 = yyv1625[:yyj1625] - yyc1625 = true - } else if yyj1625 == 0 && yyv1625 == nil { - yyv1625 = []Deployment{} - yyc1625 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Deployment{} + yyc1 = true } } - yyh1625.End() - if yyc1625 { - *v = yyv1625 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -19693,10 +20938,10 @@ func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1629 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1630 := &yyv1629 - yy1630.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19706,83 +20951,86 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1631 := *v - yyh1631, yyl1631 := z.DecSliceHelperStart() - var yyc1631 bool - if yyl1631 == 0 { - if yyv1631 == nil { - yyv1631 = []DaemonSet{} - yyc1631 = true - } else if len(yyv1631) != 0 { - yyv1631 = yyv1631[:0] - yyc1631 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []DaemonSet{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1631 > 0 { - var yyrr1631, yyrl1631 int - var yyrt1631 bool - if yyl1631 > cap(yyv1631) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1631 := len(yyv1631) > 0 - yyv21631 := yyv1631 - yyrl1631, yyrt1631 = z.DecInferLen(yyl1631, z.DecBasicHandle().MaxInitLen, 760) - if yyrt1631 { - if yyrl1631 <= cap(yyv1631) { - yyv1631 = yyv1631[:yyrl1631] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 768) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1631 = make([]DaemonSet, yyrl1631) + yyv1 = make([]DaemonSet, yyrl1) } } else { - yyv1631 = make([]DaemonSet, yyrl1631) + yyv1 = make([]DaemonSet, yyrl1) } - yyc1631 = true - yyrr1631 = len(yyv1631) - if yyrg1631 { - copy(yyv1631, yyv21631) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1631 != len(yyv1631) { - yyv1631 = yyv1631[:yyl1631] - yyc1631 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1631 := 0 - for ; yyj1631 < yyrr1631; yyj1631++ { - yyh1631.ElemContainerState(yyj1631) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1631[yyj1631] = DaemonSet{} + yyv1[yyj1] = DaemonSet{} } else { - yyv1632 := &yyv1631[yyj1631] - yyv1632.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1631 { - for ; yyj1631 < yyl1631; yyj1631++ { - yyv1631 = append(yyv1631, DaemonSet{}) - yyh1631.ElemContainerState(yyj1631) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, DaemonSet{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1631[yyj1631] = DaemonSet{} + yyv1[yyj1] = DaemonSet{} } else { - yyv1633 := &yyv1631[yyj1631] - yyv1633.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1631 := 0 - for ; !r.CheckBreak(); yyj1631++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1631 >= len(yyv1631) { - yyv1631 = append(yyv1631, DaemonSet{}) // var yyz1631 DaemonSet - yyc1631 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, DaemonSet{}) // var yyz1 DaemonSet + yyc1 = true } - yyh1631.ElemContainerState(yyj1631) - if yyj1631 < len(yyv1631) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1631[yyj1631] = DaemonSet{} + yyv1[yyj1] = DaemonSet{} } else { - yyv1634 := &yyv1631[yyj1631] - yyv1634.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -19790,17 +21038,17 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } } - if yyj1631 < len(yyv1631) { - yyv1631 = yyv1631[:yyj1631] - yyc1631 = true - } else if yyj1631 == 0 && yyv1631 == nil { - yyv1631 = []DaemonSet{} - yyc1631 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []DaemonSet{} + yyc1 = true } } - yyh1631.End() - if yyc1631 { - *v = yyv1631 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -19809,10 +21057,10 @@ func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceDa z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1635 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1636 := &yyv1635 - yy1636.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19822,83 +21070,86 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1637 := *v - yyh1637, yyl1637 := z.DecSliceHelperStart() - var yyc1637 bool - if yyl1637 == 0 { - if yyv1637 == nil { - yyv1637 = []ThirdPartyResourceData{} - yyc1637 = true - } else if len(yyv1637) != 0 { - yyv1637 = yyv1637[:0] - yyc1637 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ThirdPartyResourceData{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1637 > 0 { - var yyrr1637, yyrl1637 int - var yyrt1637 bool - if yyl1637 > cap(yyv1637) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1637 := len(yyv1637) > 0 - yyv21637 := yyv1637 - yyrl1637, yyrt1637 = z.DecInferLen(yyl1637, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1637 { - if yyrl1637 <= cap(yyv1637) { - yyv1637 = yyv1637[:yyrl1637] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1637 = make([]ThirdPartyResourceData, yyrl1637) + yyv1 = make([]ThirdPartyResourceData, yyrl1) } } else { - yyv1637 = make([]ThirdPartyResourceData, yyrl1637) + yyv1 = make([]ThirdPartyResourceData, yyrl1) } - yyc1637 = true - yyrr1637 = len(yyv1637) - if yyrg1637 { - copy(yyv1637, yyv21637) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1637 != len(yyv1637) { - yyv1637 = yyv1637[:yyl1637] - yyc1637 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1637 := 0 - for ; yyj1637 < yyrr1637; yyj1637++ { - yyh1637.ElemContainerState(yyj1637) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1637[yyj1637] = ThirdPartyResourceData{} + yyv1[yyj1] = ThirdPartyResourceData{} } else { - yyv1638 := &yyv1637[yyj1637] - yyv1638.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1637 { - for ; yyj1637 < yyl1637; yyj1637++ { - yyv1637 = append(yyv1637, ThirdPartyResourceData{}) - yyh1637.ElemContainerState(yyj1637) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ThirdPartyResourceData{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1637[yyj1637] = ThirdPartyResourceData{} + yyv1[yyj1] = ThirdPartyResourceData{} } else { - yyv1639 := &yyv1637[yyj1637] - yyv1639.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1637 := 0 - for ; !r.CheckBreak(); yyj1637++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1637 >= len(yyv1637) { - yyv1637 = append(yyv1637, ThirdPartyResourceData{}) // var yyz1637 ThirdPartyResourceData - yyc1637 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ThirdPartyResourceData{}) // var yyz1 ThirdPartyResourceData + yyc1 = true } - yyh1637.ElemContainerState(yyj1637) - if yyj1637 < len(yyv1637) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1637[yyj1637] = ThirdPartyResourceData{} + yyv1[yyj1] = ThirdPartyResourceData{} } else { - yyv1640 := &yyv1637[yyj1637] - yyv1640.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -19906,17 +21157,17 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } } - if yyj1637 < len(yyv1637) { - yyv1637 = yyv1637[:yyj1637] - yyc1637 = true - } else if yyj1637 == 0 && yyv1637 == nil { - yyv1637 = []ThirdPartyResourceData{} - yyc1637 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ThirdPartyResourceData{} + yyc1 = true } } - yyh1637.End() - if yyc1637 { - *v = yyv1637 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -19925,10 +21176,10 @@ func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1641 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1642 := &yyv1641 - yy1642.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19938,83 +21189,86 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1643 := *v - yyh1643, yyl1643 := z.DecSliceHelperStart() - var yyc1643 bool - if yyl1643 == 0 { - if yyv1643 == nil { - yyv1643 = []Ingress{} - yyc1643 = true - } else if len(yyv1643) != 0 { - yyv1643 = yyv1643[:0] - yyc1643 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Ingress{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1643 > 0 { - var yyrr1643, yyrl1643 int - var yyrt1643 bool - if yyl1643 > cap(yyv1643) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1643 := len(yyv1643) > 0 - yyv21643 := yyv1643 - yyrl1643, yyrt1643 = z.DecInferLen(yyl1643, z.DecBasicHandle().MaxInitLen, 336) - if yyrt1643 { - if yyrl1643 <= cap(yyv1643) { - yyv1643 = yyv1643[:yyrl1643] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 336) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1643 = make([]Ingress, yyrl1643) + yyv1 = make([]Ingress, yyrl1) } } else { - yyv1643 = make([]Ingress, yyrl1643) + yyv1 = make([]Ingress, yyrl1) } - yyc1643 = true - yyrr1643 = len(yyv1643) - if yyrg1643 { - copy(yyv1643, yyv21643) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1643 != len(yyv1643) { - yyv1643 = yyv1643[:yyl1643] - yyc1643 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1643 := 0 - for ; yyj1643 < yyrr1643; yyj1643++ { - yyh1643.ElemContainerState(yyj1643) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1643[yyj1643] = Ingress{} + yyv1[yyj1] = Ingress{} } else { - yyv1644 := &yyv1643[yyj1643] - yyv1644.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1643 { - for ; yyj1643 < yyl1643; yyj1643++ { - yyv1643 = append(yyv1643, Ingress{}) - yyh1643.ElemContainerState(yyj1643) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Ingress{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1643[yyj1643] = Ingress{} + yyv1[yyj1] = Ingress{} } else { - yyv1645 := &yyv1643[yyj1643] - yyv1645.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1643 := 0 - for ; !r.CheckBreak(); yyj1643++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1643 >= len(yyv1643) { - yyv1643 = append(yyv1643, Ingress{}) // var yyz1643 Ingress - yyc1643 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Ingress{}) // var yyz1 Ingress + yyc1 = true } - yyh1643.ElemContainerState(yyj1643) - if yyj1643 < len(yyv1643) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1643[yyj1643] = Ingress{} + yyv1[yyj1] = Ingress{} } else { - yyv1646 := &yyv1643[yyj1643] - yyv1646.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -20022,17 +21276,17 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } } - if yyj1643 < len(yyv1643) { - yyv1643 = yyv1643[:yyj1643] - yyc1643 = true - } else if yyj1643 == 0 && yyv1643 == nil { - yyv1643 = []Ingress{} - yyc1643 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Ingress{} + yyc1 = true } } - yyh1643.End() - if yyc1643 { - *v = yyv1643 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -20041,10 +21295,10 @@ func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1647 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1648 := &yyv1647 - yy1648.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20054,83 +21308,86 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1649 := *v - yyh1649, yyl1649 := z.DecSliceHelperStart() - var yyc1649 bool - if yyl1649 == 0 { - if yyv1649 == nil { - yyv1649 = []IngressTLS{} - yyc1649 = true - } else if len(yyv1649) != 0 { - yyv1649 = yyv1649[:0] - yyc1649 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []IngressTLS{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1649 > 0 { - var yyrr1649, yyrl1649 int - var yyrt1649 bool - if yyl1649 > cap(yyv1649) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1649 := len(yyv1649) > 0 - yyv21649 := yyv1649 - yyrl1649, yyrt1649 = z.DecInferLen(yyl1649, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1649 { - if yyrl1649 <= cap(yyv1649) { - yyv1649 = yyv1649[:yyrl1649] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1649 = make([]IngressTLS, yyrl1649) + yyv1 = make([]IngressTLS, yyrl1) } } else { - yyv1649 = make([]IngressTLS, yyrl1649) + yyv1 = make([]IngressTLS, yyrl1) } - yyc1649 = true - yyrr1649 = len(yyv1649) - if yyrg1649 { - copy(yyv1649, yyv21649) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1649 != len(yyv1649) { - yyv1649 = yyv1649[:yyl1649] - yyc1649 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1649 := 0 - for ; yyj1649 < yyrr1649; yyj1649++ { - yyh1649.ElemContainerState(yyj1649) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1649[yyj1649] = IngressTLS{} + yyv1[yyj1] = IngressTLS{} } else { - yyv1650 := &yyv1649[yyj1649] - yyv1650.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1649 { - for ; yyj1649 < yyl1649; yyj1649++ { - yyv1649 = append(yyv1649, IngressTLS{}) - yyh1649.ElemContainerState(yyj1649) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, IngressTLS{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1649[yyj1649] = IngressTLS{} + yyv1[yyj1] = IngressTLS{} } else { - yyv1651 := &yyv1649[yyj1649] - yyv1651.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1649 := 0 - for ; !r.CheckBreak(); yyj1649++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1649 >= len(yyv1649) { - yyv1649 = append(yyv1649, IngressTLS{}) // var yyz1649 IngressTLS - yyc1649 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, IngressTLS{}) // var yyz1 IngressTLS + yyc1 = true } - yyh1649.ElemContainerState(yyj1649) - if yyj1649 < len(yyv1649) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1649[yyj1649] = IngressTLS{} + yyv1[yyj1] = IngressTLS{} } else { - yyv1652 := &yyv1649[yyj1649] - yyv1652.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -20138,17 +21395,17 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } } - if yyj1649 < len(yyv1649) { - yyv1649 = yyv1649[:yyj1649] - yyc1649 = true - } else if yyj1649 == 0 && yyv1649 == nil { - yyv1649 = []IngressTLS{} - yyc1649 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []IngressTLS{} + yyc1 = true } } - yyh1649.End() - if yyc1649 { - *v = yyv1649 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -20157,10 +21414,10 @@ func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1653 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1654 := &yyv1653 - yy1654.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20170,83 +21427,86 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1655 := *v - yyh1655, yyl1655 := z.DecSliceHelperStart() - var yyc1655 bool - if yyl1655 == 0 { - if yyv1655 == nil { - yyv1655 = []IngressRule{} - yyc1655 = true - } else if len(yyv1655) != 0 { - yyv1655 = yyv1655[:0] - yyc1655 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []IngressRule{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1655 > 0 { - var yyrr1655, yyrl1655 int - var yyrt1655 bool - if yyl1655 > cap(yyv1655) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1655 := len(yyv1655) > 0 - yyv21655 := yyv1655 - yyrl1655, yyrt1655 = z.DecInferLen(yyl1655, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1655 { - if yyrl1655 <= cap(yyv1655) { - yyv1655 = yyv1655[:yyrl1655] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1655 = make([]IngressRule, yyrl1655) + yyv1 = make([]IngressRule, yyrl1) } } else { - yyv1655 = make([]IngressRule, yyrl1655) + yyv1 = make([]IngressRule, yyrl1) } - yyc1655 = true - yyrr1655 = len(yyv1655) - if yyrg1655 { - copy(yyv1655, yyv21655) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1655 != len(yyv1655) { - yyv1655 = yyv1655[:yyl1655] - yyc1655 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1655 := 0 - for ; yyj1655 < yyrr1655; yyj1655++ { - yyh1655.ElemContainerState(yyj1655) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1655[yyj1655] = IngressRule{} + yyv1[yyj1] = IngressRule{} } else { - yyv1656 := &yyv1655[yyj1655] - yyv1656.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1655 { - for ; yyj1655 < yyl1655; yyj1655++ { - yyv1655 = append(yyv1655, IngressRule{}) - yyh1655.ElemContainerState(yyj1655) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, IngressRule{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1655[yyj1655] = IngressRule{} + yyv1[yyj1] = IngressRule{} } else { - yyv1657 := &yyv1655[yyj1655] - yyv1657.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1655 := 0 - for ; !r.CheckBreak(); yyj1655++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1655 >= len(yyv1655) { - yyv1655 = append(yyv1655, IngressRule{}) // var yyz1655 IngressRule - yyc1655 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, IngressRule{}) // var yyz1 IngressRule + yyc1 = true } - yyh1655.ElemContainerState(yyj1655) - if yyj1655 < len(yyv1655) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1655[yyj1655] = IngressRule{} + yyv1[yyj1] = IngressRule{} } else { - yyv1658 := &yyv1655[yyj1655] - yyv1658.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -20254,17 +21514,17 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } } - if yyj1655 < len(yyv1655) { - yyv1655 = yyv1655[:yyj1655] - yyc1655 = true - } else if yyj1655 == 0 && yyv1655 == nil { - yyv1655 = []IngressRule{} - yyc1655 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []IngressRule{} + yyc1 = true } } - yyh1655.End() - if yyc1655 { - *v = yyv1655 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -20273,10 +21533,10 @@ func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1659 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1660 := &yyv1659 - yy1660.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20286,83 +21546,86 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1661 := *v - yyh1661, yyl1661 := z.DecSliceHelperStart() - var yyc1661 bool - if yyl1661 == 0 { - if yyv1661 == nil { - yyv1661 = []HTTPIngressPath{} - yyc1661 = true - } else if len(yyv1661) != 0 { - yyv1661 = yyv1661[:0] - yyc1661 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []HTTPIngressPath{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1661 > 0 { - var yyrr1661, yyrl1661 int - var yyrt1661 bool - if yyl1661 > cap(yyv1661) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1661 := len(yyv1661) > 0 - yyv21661 := yyv1661 - yyrl1661, yyrt1661 = z.DecInferLen(yyl1661, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1661 { - if yyrl1661 <= cap(yyv1661) { - yyv1661 = yyv1661[:yyrl1661] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1661 = make([]HTTPIngressPath, yyrl1661) + yyv1 = make([]HTTPIngressPath, yyrl1) } } else { - yyv1661 = make([]HTTPIngressPath, yyrl1661) + yyv1 = make([]HTTPIngressPath, yyrl1) } - yyc1661 = true - yyrr1661 = len(yyv1661) - if yyrg1661 { - copy(yyv1661, yyv21661) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1661 != len(yyv1661) { - yyv1661 = yyv1661[:yyl1661] - yyc1661 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1661 := 0 - for ; yyj1661 < yyrr1661; yyj1661++ { - yyh1661.ElemContainerState(yyj1661) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1661[yyj1661] = HTTPIngressPath{} + yyv1[yyj1] = HTTPIngressPath{} } else { - yyv1662 := &yyv1661[yyj1661] - yyv1662.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1661 { - for ; yyj1661 < yyl1661; yyj1661++ { - yyv1661 = append(yyv1661, HTTPIngressPath{}) - yyh1661.ElemContainerState(yyj1661) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, HTTPIngressPath{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1661[yyj1661] = HTTPIngressPath{} + yyv1[yyj1] = HTTPIngressPath{} } else { - yyv1663 := &yyv1661[yyj1661] - yyv1663.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1661 := 0 - for ; !r.CheckBreak(); yyj1661++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1661 >= len(yyv1661) { - yyv1661 = append(yyv1661, HTTPIngressPath{}) // var yyz1661 HTTPIngressPath - yyc1661 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, HTTPIngressPath{}) // var yyz1 HTTPIngressPath + yyc1 = true } - yyh1661.ElemContainerState(yyj1661) - if yyj1661 < len(yyv1661) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1661[yyj1661] = HTTPIngressPath{} + yyv1[yyj1] = HTTPIngressPath{} } else { - yyv1664 := &yyv1661[yyj1661] - yyv1664.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -20370,17 +21633,17 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } } - if yyj1661 < len(yyv1661) { - yyv1661 = yyv1661[:yyj1661] - yyc1661 = true - } else if yyj1661 == 0 && yyv1661 == nil { - yyv1661 = []HTTPIngressPath{} - yyc1661 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []HTTPIngressPath{} + yyc1 = true } } - yyh1661.End() - if yyc1661 { - *v = yyv1661 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -20389,10 +21652,10 @@ func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1665 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1666 := &yyv1665 - yy1666.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20402,83 +21665,86 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1667 := *v - yyh1667, yyl1667 := z.DecSliceHelperStart() - var yyc1667 bool - if yyl1667 == 0 { - if yyv1667 == nil { - yyv1667 = []ReplicaSet{} - yyc1667 = true - } else if len(yyv1667) != 0 { - yyv1667 = yyv1667[:0] - yyc1667 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ReplicaSet{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1667 > 0 { - var yyrr1667, yyrl1667 int - var yyrt1667 bool - if yyl1667 > cap(yyv1667) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1667 := len(yyv1667) > 0 - yyv21667 := yyv1667 - yyrl1667, yyrt1667 = z.DecInferLen(yyl1667, z.DecBasicHandle().MaxInitLen, 808) - if yyrt1667 { - if yyrl1667 <= cap(yyv1667) { - yyv1667 = yyv1667[:yyrl1667] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 808) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1667 = make([]ReplicaSet, yyrl1667) + yyv1 = make([]ReplicaSet, yyrl1) } } else { - yyv1667 = make([]ReplicaSet, yyrl1667) + yyv1 = make([]ReplicaSet, yyrl1) } - yyc1667 = true - yyrr1667 = len(yyv1667) - if yyrg1667 { - copy(yyv1667, yyv21667) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1667 != len(yyv1667) { - yyv1667 = yyv1667[:yyl1667] - yyc1667 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1667 := 0 - for ; yyj1667 < yyrr1667; yyj1667++ { - yyh1667.ElemContainerState(yyj1667) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1667[yyj1667] = ReplicaSet{} + yyv1[yyj1] = ReplicaSet{} } else { - yyv1668 := &yyv1667[yyj1667] - yyv1668.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1667 { - for ; yyj1667 < yyl1667; yyj1667++ { - yyv1667 = append(yyv1667, ReplicaSet{}) - yyh1667.ElemContainerState(yyj1667) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ReplicaSet{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1667[yyj1667] = ReplicaSet{} + yyv1[yyj1] = ReplicaSet{} } else { - yyv1669 := &yyv1667[yyj1667] - yyv1669.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1667 := 0 - for ; !r.CheckBreak(); yyj1667++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1667 >= len(yyv1667) { - yyv1667 = append(yyv1667, ReplicaSet{}) // var yyz1667 ReplicaSet - yyc1667 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ReplicaSet{}) // var yyz1 ReplicaSet + yyc1 = true } - yyh1667.ElemContainerState(yyj1667) - if yyj1667 < len(yyv1667) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1667[yyj1667] = ReplicaSet{} + yyv1[yyj1] = ReplicaSet{} } else { - yyv1670 := &yyv1667[yyj1667] - yyv1670.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -20486,17 +21752,17 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } } - if yyj1667 < len(yyv1667) { - yyv1667 = yyv1667[:yyj1667] - yyc1667 = true - } else if yyj1667 == 0 && yyv1667 == nil { - yyv1667 = []ReplicaSet{} - yyc1667 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ReplicaSet{} + yyc1 = true } } - yyh1667.End() - if yyc1667 { - *v = yyv1667 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -20505,10 +21771,10 @@ func (x codecSelfer1234) encSliceReplicaSetCondition(v []ReplicaSetCondition, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1671 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1672 := &yyv1671 - yy1672.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20518,83 +21784,86 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1673 := *v - yyh1673, yyl1673 := z.DecSliceHelperStart() - var yyc1673 bool - if yyl1673 == 0 { - if yyv1673 == nil { - yyv1673 = []ReplicaSetCondition{} - yyc1673 = true - } else if len(yyv1673) != 0 { - yyv1673 = yyv1673[:0] - yyc1673 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ReplicaSetCondition{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1673 > 0 { - var yyrr1673, yyrl1673 int - var yyrt1673 bool - if yyl1673 > cap(yyv1673) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1673 := len(yyv1673) > 0 - yyv21673 := yyv1673 - yyrl1673, yyrt1673 = z.DecInferLen(yyl1673, z.DecBasicHandle().MaxInitLen, 88) - if yyrt1673 { - if yyrl1673 <= cap(yyv1673) { - yyv1673 = yyv1673[:yyrl1673] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 88) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1673 = make([]ReplicaSetCondition, yyrl1673) + yyv1 = make([]ReplicaSetCondition, yyrl1) } } else { - yyv1673 = make([]ReplicaSetCondition, yyrl1673) + yyv1 = make([]ReplicaSetCondition, yyrl1) } - yyc1673 = true - yyrr1673 = len(yyv1673) - if yyrg1673 { - copy(yyv1673, yyv21673) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1673 != len(yyv1673) { - yyv1673 = yyv1673[:yyl1673] - yyc1673 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1673 := 0 - for ; yyj1673 < yyrr1673; yyj1673++ { - yyh1673.ElemContainerState(yyj1673) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1673[yyj1673] = ReplicaSetCondition{} + yyv1[yyj1] = ReplicaSetCondition{} } else { - yyv1674 := &yyv1673[yyj1673] - yyv1674.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1673 { - for ; yyj1673 < yyl1673; yyj1673++ { - yyv1673 = append(yyv1673, ReplicaSetCondition{}) - yyh1673.ElemContainerState(yyj1673) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ReplicaSetCondition{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1673[yyj1673] = ReplicaSetCondition{} + yyv1[yyj1] = ReplicaSetCondition{} } else { - yyv1675 := &yyv1673[yyj1673] - yyv1675.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1673 := 0 - for ; !r.CheckBreak(); yyj1673++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1673 >= len(yyv1673) { - yyv1673 = append(yyv1673, ReplicaSetCondition{}) // var yyz1673 ReplicaSetCondition - yyc1673 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ReplicaSetCondition{}) // var yyz1 ReplicaSetCondition + yyc1 = true } - yyh1673.ElemContainerState(yyj1673) - if yyj1673 < len(yyv1673) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1673[yyj1673] = ReplicaSetCondition{} + yyv1[yyj1] = ReplicaSetCondition{} } else { - yyv1676 := &yyv1673[yyj1673] - yyv1676.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -20602,17 +21871,17 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d } } - if yyj1673 < len(yyv1673) { - yyv1673 = yyv1673[:yyj1673] - yyc1673 = true - } else if yyj1673 == 0 && yyv1673 == nil { - yyv1673 = []ReplicaSetCondition{} - yyc1673 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ReplicaSetCondition{} + yyc1 = true } } - yyh1673.End() - if yyc1673 { - *v = yyv1673 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -20621,15 +21890,10 @@ func (x codecSelfer1234) encSlicev1_Capability(v []pkg2_v1.Capability, e *codec1 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1677 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1678 := z.EncBinary() - _ = yym1678 - if false { - } else if z.HasExtensions() && z.EncExt(yyv1677) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1677)) - } + yysf2 := &yyv1 + yysf2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20639,75 +21903,81 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1679 := *v - yyh1679, yyl1679 := z.DecSliceHelperStart() - var yyc1679 bool - if yyl1679 == 0 { - if yyv1679 == nil { - yyv1679 = []pkg2_v1.Capability{} - yyc1679 = true - } else if len(yyv1679) != 0 { - yyv1679 = yyv1679[:0] - yyc1679 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []pkg2_v1.Capability{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1679 > 0 { - var yyrr1679, yyrl1679 int - var yyrt1679 bool - if yyl1679 > cap(yyv1679) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrl1679, yyrt1679 = z.DecInferLen(yyl1679, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1679 { - if yyrl1679 <= cap(yyv1679) { - yyv1679 = yyv1679[:yyrl1679] + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1679 = make([]pkg2_v1.Capability, yyrl1679) + yyv1 = make([]pkg2_v1.Capability, yyrl1) } } else { - yyv1679 = make([]pkg2_v1.Capability, yyrl1679) + yyv1 = make([]pkg2_v1.Capability, yyrl1) } - yyc1679 = true - yyrr1679 = len(yyv1679) - } else if yyl1679 != len(yyv1679) { - yyv1679 = yyv1679[:yyl1679] - yyc1679 = true + yyc1 = true + yyrr1 = len(yyv1) + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1679 := 0 - for ; yyj1679 < yyrr1679; yyj1679++ { - yyh1679.ElemContainerState(yyj1679) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1679[yyj1679] = "" + yyv1[yyj1] = "" } else { - yyv1679[yyj1679] = pkg2_v1.Capability(r.DecodeString()) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1679 { - for ; yyj1679 < yyl1679; yyj1679++ { - yyv1679 = append(yyv1679, "") - yyh1679.ElemContainerState(yyj1679) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, "") + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1679[yyj1679] = "" + yyv1[yyj1] = "" } else { - yyv1679[yyj1679] = pkg2_v1.Capability(r.DecodeString()) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1679 := 0 - for ; !r.CheckBreak(); yyj1679++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1679 >= len(yyv1679) { - yyv1679 = append(yyv1679, "") // var yyz1679 pkg2_v1.Capability - yyc1679 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, "") // var yyz1 pkg2_v1.Capability + yyc1 = true } - yyh1679.ElemContainerState(yyj1679) - if yyj1679 < len(yyv1679) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1679[yyj1679] = "" + yyv1[yyj1] = "" } else { - yyv1679[yyj1679] = pkg2_v1.Capability(r.DecodeString()) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -20715,17 +21985,17 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec } } - if yyj1679 < len(yyv1679) { - yyv1679 = yyv1679[:yyj1679] - yyc1679 = true - } else if yyj1679 == 0 && yyv1679 == nil { - yyv1679 = []pkg2_v1.Capability{} - yyc1679 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []pkg2_v1.Capability{} + yyc1 = true } } - yyh1679.End() - if yyc1679 { - *v = yyv1679 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -20734,9 +22004,9 @@ func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1683 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1683.CodecEncodeSelf(e) + yyv1.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20746,75 +22016,81 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1684 := *v - yyh1684, yyl1684 := z.DecSliceHelperStart() - var yyc1684 bool - if yyl1684 == 0 { - if yyv1684 == nil { - yyv1684 = []FSType{} - yyc1684 = true - } else if len(yyv1684) != 0 { - yyv1684 = yyv1684[:0] - yyc1684 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []FSType{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1684 > 0 { - var yyrr1684, yyrl1684 int - var yyrt1684 bool - if yyl1684 > cap(yyv1684) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrl1684, yyrt1684 = z.DecInferLen(yyl1684, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1684 { - if yyrl1684 <= cap(yyv1684) { - yyv1684 = yyv1684[:yyrl1684] + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1684 = make([]FSType, yyrl1684) + yyv1 = make([]FSType, yyrl1) } } else { - yyv1684 = make([]FSType, yyrl1684) + yyv1 = make([]FSType, yyrl1) } - yyc1684 = true - yyrr1684 = len(yyv1684) - } else if yyl1684 != len(yyv1684) { - yyv1684 = yyv1684[:yyl1684] - yyc1684 = true + yyc1 = true + yyrr1 = len(yyv1) + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1684 := 0 - for ; yyj1684 < yyrr1684; yyj1684++ { - yyh1684.ElemContainerState(yyj1684) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1684[yyj1684] = "" + yyv1[yyj1] = "" } else { - yyv1684[yyj1684] = FSType(r.DecodeString()) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1684 { - for ; yyj1684 < yyl1684; yyj1684++ { - yyv1684 = append(yyv1684, "") - yyh1684.ElemContainerState(yyj1684) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, "") + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1684[yyj1684] = "" + yyv1[yyj1] = "" } else { - yyv1684[yyj1684] = FSType(r.DecodeString()) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1684 := 0 - for ; !r.CheckBreak(); yyj1684++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1684 >= len(yyv1684) { - yyv1684 = append(yyv1684, "") // var yyz1684 FSType - yyc1684 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, "") // var yyz1 FSType + yyc1 = true } - yyh1684.ElemContainerState(yyj1684) - if yyj1684 < len(yyv1684) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1684[yyj1684] = "" + yyv1[yyj1] = "" } else { - yyv1684[yyj1684] = FSType(r.DecodeString()) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -20822,17 +22098,17 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { } } - if yyj1684 < len(yyv1684) { - yyv1684 = yyv1684[:yyj1684] - yyc1684 = true - } else if yyj1684 == 0 && yyv1684 == nil { - yyv1684 = []FSType{} - yyc1684 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []FSType{} + yyc1 = true } } - yyh1684.End() - if yyc1684 { - *v = yyv1684 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -20841,10 +22117,10 @@ func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1688 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1689 := &yyv1688 - yy1689.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20854,83 +22130,86 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1690 := *v - yyh1690, yyl1690 := z.DecSliceHelperStart() - var yyc1690 bool - if yyl1690 == 0 { - if yyv1690 == nil { - yyv1690 = []HostPortRange{} - yyc1690 = true - } else if len(yyv1690) != 0 { - yyv1690 = yyv1690[:0] - yyc1690 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []HostPortRange{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1690 > 0 { - var yyrr1690, yyrl1690 int - var yyrt1690 bool - if yyl1690 > cap(yyv1690) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1690 := len(yyv1690) > 0 - yyv21690 := yyv1690 - yyrl1690, yyrt1690 = z.DecInferLen(yyl1690, z.DecBasicHandle().MaxInitLen, 8) - if yyrt1690 { - if yyrl1690 <= cap(yyv1690) { - yyv1690 = yyv1690[:yyrl1690] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1690 = make([]HostPortRange, yyrl1690) + yyv1 = make([]HostPortRange, yyrl1) } } else { - yyv1690 = make([]HostPortRange, yyrl1690) + yyv1 = make([]HostPortRange, yyrl1) } - yyc1690 = true - yyrr1690 = len(yyv1690) - if yyrg1690 { - copy(yyv1690, yyv21690) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1690 != len(yyv1690) { - yyv1690 = yyv1690[:yyl1690] - yyc1690 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1690 := 0 - for ; yyj1690 < yyrr1690; yyj1690++ { - yyh1690.ElemContainerState(yyj1690) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1690[yyj1690] = HostPortRange{} + yyv1[yyj1] = HostPortRange{} } else { - yyv1691 := &yyv1690[yyj1690] - yyv1691.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1690 { - for ; yyj1690 < yyl1690; yyj1690++ { - yyv1690 = append(yyv1690, HostPortRange{}) - yyh1690.ElemContainerState(yyj1690) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, HostPortRange{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1690[yyj1690] = HostPortRange{} + yyv1[yyj1] = HostPortRange{} } else { - yyv1692 := &yyv1690[yyj1690] - yyv1692.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1690 := 0 - for ; !r.CheckBreak(); yyj1690++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1690 >= len(yyv1690) { - yyv1690 = append(yyv1690, HostPortRange{}) // var yyz1690 HostPortRange - yyc1690 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, HostPortRange{}) // var yyz1 HostPortRange + yyc1 = true } - yyh1690.ElemContainerState(yyj1690) - if yyj1690 < len(yyv1690) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1690[yyj1690] = HostPortRange{} + yyv1[yyj1] = HostPortRange{} } else { - yyv1693 := &yyv1690[yyj1690] - yyv1693.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -20938,17 +22217,17 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. } } - if yyj1690 < len(yyv1690) { - yyv1690 = yyv1690[:yyj1690] - yyc1690 = true - } else if yyj1690 == 0 && yyv1690 == nil { - yyv1690 = []HostPortRange{} - yyc1690 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []HostPortRange{} + yyc1 = true } } - yyh1690.End() - if yyc1690 { - *v = yyv1690 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -20957,10 +22236,10 @@ func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1694 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1695 := &yyv1694 - yy1695.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20970,83 +22249,86 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1696 := *v - yyh1696, yyl1696 := z.DecSliceHelperStart() - var yyc1696 bool - if yyl1696 == 0 { - if yyv1696 == nil { - yyv1696 = []IDRange{} - yyc1696 = true - } else if len(yyv1696) != 0 { - yyv1696 = yyv1696[:0] - yyc1696 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []IDRange{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1696 > 0 { - var yyrr1696, yyrl1696 int - var yyrt1696 bool - if yyl1696 > cap(yyv1696) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1696 := len(yyv1696) > 0 - yyv21696 := yyv1696 - yyrl1696, yyrt1696 = z.DecInferLen(yyl1696, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1696 { - if yyrl1696 <= cap(yyv1696) { - yyv1696 = yyv1696[:yyrl1696] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1696 = make([]IDRange, yyrl1696) + yyv1 = make([]IDRange, yyrl1) } } else { - yyv1696 = make([]IDRange, yyrl1696) + yyv1 = make([]IDRange, yyrl1) } - yyc1696 = true - yyrr1696 = len(yyv1696) - if yyrg1696 { - copy(yyv1696, yyv21696) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1696 != len(yyv1696) { - yyv1696 = yyv1696[:yyl1696] - yyc1696 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1696 := 0 - for ; yyj1696 < yyrr1696; yyj1696++ { - yyh1696.ElemContainerState(yyj1696) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1696[yyj1696] = IDRange{} + yyv1[yyj1] = IDRange{} } else { - yyv1697 := &yyv1696[yyj1696] - yyv1697.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1696 { - for ; yyj1696 < yyl1696; yyj1696++ { - yyv1696 = append(yyv1696, IDRange{}) - yyh1696.ElemContainerState(yyj1696) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, IDRange{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1696[yyj1696] = IDRange{} + yyv1[yyj1] = IDRange{} } else { - yyv1698 := &yyv1696[yyj1696] - yyv1698.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1696 := 0 - for ; !r.CheckBreak(); yyj1696++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1696 >= len(yyv1696) { - yyv1696 = append(yyv1696, IDRange{}) // var yyz1696 IDRange - yyc1696 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, IDRange{}) // var yyz1 IDRange + yyc1 = true } - yyh1696.ElemContainerState(yyj1696) - if yyj1696 < len(yyv1696) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1696[yyj1696] = IDRange{} + yyv1[yyj1] = IDRange{} } else { - yyv1699 := &yyv1696[yyj1696] - yyv1699.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -21054,17 +22336,17 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { } } - if yyj1696 < len(yyv1696) { - yyv1696 = yyv1696[:yyj1696] - yyc1696 = true - } else if yyj1696 == 0 && yyv1696 == nil { - yyv1696 = []IDRange{} - yyc1696 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []IDRange{} + yyc1 = true } } - yyh1696.End() - if yyc1696 { - *v = yyv1696 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -21073,10 +22355,10 @@ func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1700 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1701 := &yyv1700 - yy1701.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21086,83 +22368,86 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1702 := *v - yyh1702, yyl1702 := z.DecSliceHelperStart() - var yyc1702 bool - if yyl1702 == 0 { - if yyv1702 == nil { - yyv1702 = []PodSecurityPolicy{} - yyc1702 = true - } else if len(yyv1702) != 0 { - yyv1702 = yyv1702[:0] - yyc1702 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []PodSecurityPolicy{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1702 > 0 { - var yyrr1702, yyrl1702 int - var yyrt1702 bool - if yyl1702 > cap(yyv1702) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1702 := len(yyv1702) > 0 - yyv21702 := yyv1702 - yyrl1702, yyrt1702 = z.DecInferLen(yyl1702, z.DecBasicHandle().MaxInitLen, 552) - if yyrt1702 { - if yyrl1702 <= cap(yyv1702) { - yyv1702 = yyv1702[:yyrl1702] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 552) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1702 = make([]PodSecurityPolicy, yyrl1702) + yyv1 = make([]PodSecurityPolicy, yyrl1) } } else { - yyv1702 = make([]PodSecurityPolicy, yyrl1702) + yyv1 = make([]PodSecurityPolicy, yyrl1) } - yyc1702 = true - yyrr1702 = len(yyv1702) - if yyrg1702 { - copy(yyv1702, yyv21702) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1702 != len(yyv1702) { - yyv1702 = yyv1702[:yyl1702] - yyc1702 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1702 := 0 - for ; yyj1702 < yyrr1702; yyj1702++ { - yyh1702.ElemContainerState(yyj1702) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1702[yyj1702] = PodSecurityPolicy{} + yyv1[yyj1] = PodSecurityPolicy{} } else { - yyv1703 := &yyv1702[yyj1702] - yyv1703.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1702 { - for ; yyj1702 < yyl1702; yyj1702++ { - yyv1702 = append(yyv1702, PodSecurityPolicy{}) - yyh1702.ElemContainerState(yyj1702) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, PodSecurityPolicy{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1702[yyj1702] = PodSecurityPolicy{} + yyv1[yyj1] = PodSecurityPolicy{} } else { - yyv1704 := &yyv1702[yyj1702] - yyv1704.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1702 := 0 - for ; !r.CheckBreak(); yyj1702++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1702 >= len(yyv1702) { - yyv1702 = append(yyv1702, PodSecurityPolicy{}) // var yyz1702 PodSecurityPolicy - yyc1702 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, PodSecurityPolicy{}) // var yyz1 PodSecurityPolicy + yyc1 = true } - yyh1702.ElemContainerState(yyj1702) - if yyj1702 < len(yyv1702) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1702[yyj1702] = PodSecurityPolicy{} + yyv1[yyj1] = PodSecurityPolicy{} } else { - yyv1705 := &yyv1702[yyj1702] - yyv1705.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -21170,17 +22455,17 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co } } - if yyj1702 < len(yyv1702) { - yyv1702 = yyv1702[:yyj1702] - yyc1702 = true - } else if yyj1702 == 0 && yyv1702 == nil { - yyv1702 = []PodSecurityPolicy{} - yyc1702 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []PodSecurityPolicy{} + yyc1 = true } } - yyh1702.End() - if yyc1702 { - *v = yyv1702 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -21189,10 +22474,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1706 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1707 := &yyv1706 - yy1707.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21202,83 +22487,86 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1708 := *v - yyh1708, yyl1708 := z.DecSliceHelperStart() - var yyc1708 bool - if yyl1708 == 0 { - if yyv1708 == nil { - yyv1708 = []NetworkPolicyIngressRule{} - yyc1708 = true - } else if len(yyv1708) != 0 { - yyv1708 = yyv1708[:0] - yyc1708 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []NetworkPolicyIngressRule{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1708 > 0 { - var yyrr1708, yyrl1708 int - var yyrt1708 bool - if yyl1708 > cap(yyv1708) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1708 := len(yyv1708) > 0 - yyv21708 := yyv1708 - yyrl1708, yyrt1708 = z.DecInferLen(yyl1708, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1708 { - if yyrl1708 <= cap(yyv1708) { - yyv1708 = yyv1708[:yyrl1708] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 48) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1708 = make([]NetworkPolicyIngressRule, yyrl1708) + yyv1 = make([]NetworkPolicyIngressRule, yyrl1) } } else { - yyv1708 = make([]NetworkPolicyIngressRule, yyrl1708) + yyv1 = make([]NetworkPolicyIngressRule, yyrl1) } - yyc1708 = true - yyrr1708 = len(yyv1708) - if yyrg1708 { - copy(yyv1708, yyv21708) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1708 != len(yyv1708) { - yyv1708 = yyv1708[:yyl1708] - yyc1708 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1708 := 0 - for ; yyj1708 < yyrr1708; yyj1708++ { - yyh1708.ElemContainerState(yyj1708) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1708[yyj1708] = NetworkPolicyIngressRule{} + yyv1[yyj1] = NetworkPolicyIngressRule{} } else { - yyv1709 := &yyv1708[yyj1708] - yyv1709.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1708 { - for ; yyj1708 < yyl1708; yyj1708++ { - yyv1708 = append(yyv1708, NetworkPolicyIngressRule{}) - yyh1708.ElemContainerState(yyj1708) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, NetworkPolicyIngressRule{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1708[yyj1708] = NetworkPolicyIngressRule{} + yyv1[yyj1] = NetworkPolicyIngressRule{} } else { - yyv1710 := &yyv1708[yyj1708] - yyv1710.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1708 := 0 - for ; !r.CheckBreak(); yyj1708++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1708 >= len(yyv1708) { - yyv1708 = append(yyv1708, NetworkPolicyIngressRule{}) // var yyz1708 NetworkPolicyIngressRule - yyc1708 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, NetworkPolicyIngressRule{}) // var yyz1 NetworkPolicyIngressRule + yyc1 = true } - yyh1708.ElemContainerState(yyj1708) - if yyj1708 < len(yyv1708) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1708[yyj1708] = NetworkPolicyIngressRule{} + yyv1[yyj1] = NetworkPolicyIngressRule{} } else { - yyv1711 := &yyv1708[yyj1708] - yyv1711.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -21286,17 +22574,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr } } - if yyj1708 < len(yyv1708) { - yyv1708 = yyv1708[:yyj1708] - yyc1708 = true - } else if yyj1708 == 0 && yyv1708 == nil { - yyv1708 = []NetworkPolicyIngressRule{} - yyc1708 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []NetworkPolicyIngressRule{} + yyc1 = true } } - yyh1708.End() - if yyc1708 { - *v = yyv1708 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -21305,10 +22593,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1712 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1713 := &yyv1712 - yy1713.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21318,83 +22606,86 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1714 := *v - yyh1714, yyl1714 := z.DecSliceHelperStart() - var yyc1714 bool - if yyl1714 == 0 { - if yyv1714 == nil { - yyv1714 = []NetworkPolicyPort{} - yyc1714 = true - } else if len(yyv1714) != 0 { - yyv1714 = yyv1714[:0] - yyc1714 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []NetworkPolicyPort{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1714 > 0 { - var yyrr1714, yyrl1714 int - var yyrt1714 bool - if yyl1714 > cap(yyv1714) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1714 := len(yyv1714) > 0 - yyv21714 := yyv1714 - yyrl1714, yyrt1714 = z.DecInferLen(yyl1714, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1714 { - if yyrl1714 <= cap(yyv1714) { - yyv1714 = yyv1714[:yyrl1714] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1714 = make([]NetworkPolicyPort, yyrl1714) + yyv1 = make([]NetworkPolicyPort, yyrl1) } } else { - yyv1714 = make([]NetworkPolicyPort, yyrl1714) + yyv1 = make([]NetworkPolicyPort, yyrl1) } - yyc1714 = true - yyrr1714 = len(yyv1714) - if yyrg1714 { - copy(yyv1714, yyv21714) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1714 != len(yyv1714) { - yyv1714 = yyv1714[:yyl1714] - yyc1714 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1714 := 0 - for ; yyj1714 < yyrr1714; yyj1714++ { - yyh1714.ElemContainerState(yyj1714) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1714[yyj1714] = NetworkPolicyPort{} + yyv1[yyj1] = NetworkPolicyPort{} } else { - yyv1715 := &yyv1714[yyj1714] - yyv1715.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1714 { - for ; yyj1714 < yyl1714; yyj1714++ { - yyv1714 = append(yyv1714, NetworkPolicyPort{}) - yyh1714.ElemContainerState(yyj1714) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, NetworkPolicyPort{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1714[yyj1714] = NetworkPolicyPort{} + yyv1[yyj1] = NetworkPolicyPort{} } else { - yyv1716 := &yyv1714[yyj1714] - yyv1716.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1714 := 0 - for ; !r.CheckBreak(); yyj1714++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1714 >= len(yyv1714) { - yyv1714 = append(yyv1714, NetworkPolicyPort{}) // var yyz1714 NetworkPolicyPort - yyc1714 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, NetworkPolicyPort{}) // var yyz1 NetworkPolicyPort + yyc1 = true } - yyh1714.ElemContainerState(yyj1714) - if yyj1714 < len(yyv1714) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1714[yyj1714] = NetworkPolicyPort{} + yyv1[yyj1] = NetworkPolicyPort{} } else { - yyv1717 := &yyv1714[yyj1714] - yyv1717.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -21402,17 +22693,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co } } - if yyj1714 < len(yyv1714) { - yyv1714 = yyv1714[:yyj1714] - yyc1714 = true - } else if yyj1714 == 0 && yyv1714 == nil { - yyv1714 = []NetworkPolicyPort{} - yyc1714 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []NetworkPolicyPort{} + yyc1 = true } } - yyh1714.End() - if yyc1714 { - *v = yyv1714 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -21421,10 +22712,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1718 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1719 := &yyv1718 - yy1719.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21434,83 +22725,86 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1720 := *v - yyh1720, yyl1720 := z.DecSliceHelperStart() - var yyc1720 bool - if yyl1720 == 0 { - if yyv1720 == nil { - yyv1720 = []NetworkPolicyPeer{} - yyc1720 = true - } else if len(yyv1720) != 0 { - yyv1720 = yyv1720[:0] - yyc1720 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []NetworkPolicyPeer{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1720 > 0 { - var yyrr1720, yyrl1720 int - var yyrt1720 bool - if yyl1720 > cap(yyv1720) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1720 := len(yyv1720) > 0 - yyv21720 := yyv1720 - yyrl1720, yyrt1720 = z.DecInferLen(yyl1720, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1720 { - if yyrl1720 <= cap(yyv1720) { - yyv1720 = yyv1720[:yyrl1720] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1720 = make([]NetworkPolicyPeer, yyrl1720) + yyv1 = make([]NetworkPolicyPeer, yyrl1) } } else { - yyv1720 = make([]NetworkPolicyPeer, yyrl1720) + yyv1 = make([]NetworkPolicyPeer, yyrl1) } - yyc1720 = true - yyrr1720 = len(yyv1720) - if yyrg1720 { - copy(yyv1720, yyv21720) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1720 != len(yyv1720) { - yyv1720 = yyv1720[:yyl1720] - yyc1720 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1720 := 0 - for ; yyj1720 < yyrr1720; yyj1720++ { - yyh1720.ElemContainerState(yyj1720) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1720[yyj1720] = NetworkPolicyPeer{} + yyv1[yyj1] = NetworkPolicyPeer{} } else { - yyv1721 := &yyv1720[yyj1720] - yyv1721.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1720 { - for ; yyj1720 < yyl1720; yyj1720++ { - yyv1720 = append(yyv1720, NetworkPolicyPeer{}) - yyh1720.ElemContainerState(yyj1720) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, NetworkPolicyPeer{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1720[yyj1720] = NetworkPolicyPeer{} + yyv1[yyj1] = NetworkPolicyPeer{} } else { - yyv1722 := &yyv1720[yyj1720] - yyv1722.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1720 := 0 - for ; !r.CheckBreak(); yyj1720++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1720 >= len(yyv1720) { - yyv1720 = append(yyv1720, NetworkPolicyPeer{}) // var yyz1720 NetworkPolicyPeer - yyc1720 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, NetworkPolicyPeer{}) // var yyz1 NetworkPolicyPeer + yyc1 = true } - yyh1720.ElemContainerState(yyj1720) - if yyj1720 < len(yyv1720) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1720[yyj1720] = NetworkPolicyPeer{} + yyv1[yyj1] = NetworkPolicyPeer{} } else { - yyv1723 := &yyv1720[yyj1720] - yyv1723.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -21518,17 +22812,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co } } - if yyj1720 < len(yyv1720) { - yyv1720 = yyv1720[:yyj1720] - yyc1720 = true - } else if yyj1720 == 0 && yyv1720 == nil { - yyv1720 = []NetworkPolicyPeer{} - yyc1720 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []NetworkPolicyPeer{} + yyc1 = true } } - yyh1720.End() - if yyc1720 { - *v = yyv1720 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -21537,10 +22831,10 @@ func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1724 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1725 := &yyv1724 - yy1725.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21550,83 +22844,86 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1726 := *v - yyh1726, yyl1726 := z.DecSliceHelperStart() - var yyc1726 bool - if yyl1726 == 0 { - if yyv1726 == nil { - yyv1726 = []NetworkPolicy{} - yyc1726 = true - } else if len(yyv1726) != 0 { - yyv1726 = yyv1726[:0] - yyc1726 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []NetworkPolicy{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl1726 > 0 { - var yyrr1726, yyrl1726 int - var yyrt1726 bool - if yyl1726 > cap(yyv1726) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg1726 := len(yyv1726) > 0 - yyv21726 := yyv1726 - yyrl1726, yyrt1726 = z.DecInferLen(yyl1726, z.DecBasicHandle().MaxInitLen, 312) - if yyrt1726 { - if yyrl1726 <= cap(yyv1726) { - yyv1726 = yyv1726[:yyrl1726] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 312) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv1726 = make([]NetworkPolicy, yyrl1726) + yyv1 = make([]NetworkPolicy, yyrl1) } } else { - yyv1726 = make([]NetworkPolicy, yyrl1726) + yyv1 = make([]NetworkPolicy, yyrl1) } - yyc1726 = true - yyrr1726 = len(yyv1726) - if yyrg1726 { - copy(yyv1726, yyv21726) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl1726 != len(yyv1726) { - yyv1726 = yyv1726[:yyl1726] - yyc1726 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj1726 := 0 - for ; yyj1726 < yyrr1726; yyj1726++ { - yyh1726.ElemContainerState(yyj1726) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1726[yyj1726] = NetworkPolicy{} + yyv1[yyj1] = NetworkPolicy{} } else { - yyv1727 := &yyv1726[yyj1726] - yyv1727.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt1726 { - for ; yyj1726 < yyl1726; yyj1726++ { - yyv1726 = append(yyv1726, NetworkPolicy{}) - yyh1726.ElemContainerState(yyj1726) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, NetworkPolicy{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv1726[yyj1726] = NetworkPolicy{} + yyv1[yyj1] = NetworkPolicy{} } else { - yyv1728 := &yyv1726[yyj1726] - yyv1728.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj1726 := 0 - for ; !r.CheckBreak(); yyj1726++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj1726 >= len(yyv1726) { - yyv1726 = append(yyv1726, NetworkPolicy{}) // var yyz1726 NetworkPolicy - yyc1726 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, NetworkPolicy{}) // var yyz1 NetworkPolicy + yyc1 = true } - yyh1726.ElemContainerState(yyj1726) - if yyj1726 < len(yyv1726) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv1726[yyj1726] = NetworkPolicy{} + yyv1[yyj1] = NetworkPolicy{} } else { - yyv1729 := &yyv1726[yyj1726] - yyv1729.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -21634,16 +22931,16 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. } } - if yyj1726 < len(yyv1726) { - yyv1726 = yyv1726[:yyj1726] - yyc1726 = true - } else if yyj1726 == 0 && yyv1726 == nil { - yyv1726 = []NetworkPolicy{} - yyc1726 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []NetworkPolicy{} + yyc1 = true } } - yyh1726.End() - if yyc1726 { - *v = yyv1726 + yyh1.End() + if yyc1 { + *v = yyv1 } } diff --git a/pkg/apis/extensions/v1beta1/types.go b/pkg/apis/extensions/v1beta1/types.go index 7e9939c6..4e7f426e 100644 --- a/pkg/apis/extensions/v1beta1/types.go +++ b/pkg/apis/extensions/v1beta1/types.go @@ -17,9 +17,9 @@ limitations under the License. package v1beta1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/resource" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" "k8s.io/client-go/pkg/util/intstr" ) @@ -397,6 +397,10 @@ type DeploymentStatus struct { // +optional UpdatedReplicas int32 `json:"updatedReplicas,omitempty" protobuf:"varint,3,opt,name=updatedReplicas"` + // Total number of ready pods targeted by this deployment. + // +optional + ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,7,opt,name=readyReplicas"` + // Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. // +optional AvailableReplicas int32 `json:"availableReplicas,omitempty" protobuf:"varint,4,opt,name=availableReplicas"` @@ -564,6 +568,10 @@ type DaemonSetStatus struct { // NumberReady is the number of nodes that should be running the daemon pod and have one // or more of the daemon pod running and ready. NumberReady int32 `json:"numberReady" protobuf:"varint,4,opt,name=numberReady"` + + // ObservedGeneration is the most recent generation observed by the daemon set controller. + // +optional + ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,5,opt,name=observedGeneration"` } // +genclient=true diff --git a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go index 18ae1d0f..3291c243 100644 --- a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go +++ b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go @@ -100,6 +100,7 @@ var map_DaemonSetStatus = map[string]string{ "numberMisscheduled": "NumberMisscheduled is the number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md", "desiredNumberScheduled": "DesiredNumberScheduled is the total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md", "numberReady": "NumberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", + "observedGeneration": "ObservedGeneration is the most recent generation observed by the daemon set controller.", } func (DaemonSetStatus) SwaggerDoc() map[string]string { @@ -174,6 +175,7 @@ var map_DeploymentStatus = map[string]string{ "observedGeneration": "The generation observed by the deployment controller.", "replicas": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", "updatedReplicas": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", + "readyReplicas": "Total number of ready pods targeted by this deployment.", "availableReplicas": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", "unavailableReplicas": "Total number of unavailable pods targeted by this deployment.", "conditions": "Represents the latest available observations of a deployment's current state.", diff --git a/pkg/apis/extensions/v1beta1/zz_generated.conversion.go b/pkg/apis/extensions/v1beta1/zz_generated.conversion.go index c418b49f..86511575 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,13 +21,13 @@ limitations under the License. package v1beta1 import ( + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" api_v1 "k8s.io/client-go/pkg/api/v1" autoscaling "k8s.io/client-go/pkg/apis/autoscaling" extensions "k8s.io/client-go/pkg/apis/extensions" - v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" intstr "k8s.io/client-go/pkg/util/intstr" unsafe "unsafe" ) @@ -362,6 +362,7 @@ func autoConvert_v1beta1_DaemonSetStatus_To_extensions_DaemonSetStatus(in *Daemo out.NumberMisscheduled = in.NumberMisscheduled out.DesiredNumberScheduled = in.DesiredNumberScheduled out.NumberReady = in.NumberReady + out.ObservedGeneration = in.ObservedGeneration return nil } @@ -374,6 +375,7 @@ func autoConvert_extensions_DaemonSetStatus_To_v1beta1_DaemonSetStatus(in *exten out.NumberMisscheduled = in.NumberMisscheduled out.DesiredNumberScheduled = in.DesiredNumberScheduled out.NumberReady = in.NumberReady + out.ObservedGeneration = in.ObservedGeneration return nil } @@ -553,6 +555,7 @@ func autoConvert_v1beta1_DeploymentStatus_To_extensions_DeploymentStatus(in *Dep out.ObservedGeneration = in.ObservedGeneration out.Replicas = in.Replicas out.UpdatedReplicas = in.UpdatedReplicas + out.ReadyReplicas = in.ReadyReplicas out.AvailableReplicas = in.AvailableReplicas out.UnavailableReplicas = in.UnavailableReplicas out.Conditions = *(*[]extensions.DeploymentCondition)(unsafe.Pointer(&in.Conditions)) @@ -567,6 +570,7 @@ func autoConvert_extensions_DeploymentStatus_To_v1beta1_DeploymentStatus(in *ext out.ObservedGeneration = in.ObservedGeneration out.Replicas = in.Replicas out.UpdatedReplicas = in.UpdatedReplicas + out.ReadyReplicas = in.ReadyReplicas out.AvailableReplicas = in.AvailableReplicas out.UnavailableReplicas = in.UnavailableReplicas out.Conditions = *(*[]DeploymentCondition)(unsafe.Pointer(&in.Conditions)) @@ -1585,14 +1589,14 @@ func Convert_extensions_ScaleSpec_To_v1beta1_ScaleSpec(in *extensions.ScaleSpec, func autoConvert_v1beta1_ScaleStatus_To_extensions_ScaleStatus(in *ScaleStatus, out *extensions.ScaleStatus, s conversion.Scope) error { out.Replicas = in.Replicas - // WARNING: in.Selector requires manual conversion: inconvertible types (map[string]string vs *k8s.io/kubernetes/pkg/apis/meta/v1.LabelSelector) + // WARNING: in.Selector requires manual conversion: inconvertible types (map[string]string vs *k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector) // WARNING: in.TargetSelector requires manual conversion: does not exist in peer-type return nil } func autoConvert_extensions_ScaleStatus_To_v1beta1_ScaleStatus(in *extensions.ScaleStatus, out *ScaleStatus, s conversion.Scope) error { out.Replicas = in.Replicas - // WARNING: in.Selector requires manual conversion: inconvertible types (*k8s.io/kubernetes/pkg/apis/meta/v1.LabelSelector vs map[string]string) + // WARNING: in.Selector requires manual conversion: inconvertible types (*k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector vs map[string]string) return nil } diff --git a/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go b/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go index ccabe27a..a0fd1ce5 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ limitations under the License. package v1beta1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" intstr "k8s.io/client-go/pkg/util/intstr" reflect "reflect" ) @@ -106,7 +106,7 @@ func DeepCopy_v1beta1_APIVersion(in interface{}, out interface{}, c *conversion. { in := in.(*APIVersion) out := out.(*APIVersion) - out.Name = in.Name + *out = *in return nil } } @@ -115,7 +115,7 @@ func DeepCopy_v1beta1_CPUTargetUtilization(in interface{}, out interface{}, c *c { in := in.(*CPUTargetUtilization) out := out.(*CPUTargetUtilization) - out.TargetPercentage = in.TargetPercentage + *out = *in return nil } } @@ -124,7 +124,7 @@ func DeepCopy_v1beta1_CustomMetricCurrentStatus(in interface{}, out interface{}, { in := in.(*CustomMetricCurrentStatus) out := out.(*CustomMetricCurrentStatus) - out.Name = in.Name + *out = *in out.CurrentValue = in.CurrentValue.DeepCopy() return nil } @@ -134,6 +134,7 @@ func DeepCopy_v1beta1_CustomMetricCurrentStatusList(in interface{}, out interfac { in := in.(*CustomMetricCurrentStatusList) out := out.(*CustomMetricCurrentStatusList) + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]CustomMetricCurrentStatus, len(*in)) @@ -142,8 +143,6 @@ func DeepCopy_v1beta1_CustomMetricCurrentStatusList(in interface{}, out interfac return err } } - } else { - out.Items = nil } return nil } @@ -153,7 +152,7 @@ func DeepCopy_v1beta1_CustomMetricTarget(in interface{}, out interface{}, c *con { in := in.(*CustomMetricTarget) out := out.(*CustomMetricTarget) - out.Name = in.Name + *out = *in out.TargetValue = in.TargetValue.DeepCopy() return nil } @@ -163,6 +162,7 @@ func DeepCopy_v1beta1_CustomMetricTargetList(in interface{}, out interface{}, c { in := in.(*CustomMetricTargetList) out := out.(*CustomMetricTargetList) + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]CustomMetricTarget, len(*in)) @@ -171,8 +171,6 @@ func DeepCopy_v1beta1_CustomMetricTargetList(in interface{}, out interface{}, c return err } } - } else { - out.Items = nil } return nil } @@ -182,14 +180,13 @@ func DeepCopy_v1beta1_DaemonSet(in interface{}, out interface{}, c *conversion.C { in := in.(*DaemonSet) out := out.(*DaemonSet) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } if err := DeepCopy_v1beta1_DaemonSetSpec(&in.Spec, &out.Spec, c); err != nil { return err } - out.Status = in.Status return nil } } @@ -198,8 +195,7 @@ func DeepCopy_v1beta1_DaemonSetList(in interface{}, out interface{}, c *conversi { in := in.(*DaemonSetList) out := out.(*DaemonSetList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]DaemonSet, len(*in)) @@ -208,8 +204,6 @@ func DeepCopy_v1beta1_DaemonSetList(in interface{}, out interface{}, c *conversi return err } } - } else { - out.Items = nil } return nil } @@ -219,14 +213,14 @@ func DeepCopy_v1beta1_DaemonSetSpec(in interface{}, out interface{}, c *conversi { in := in.(*DaemonSetSpec) out := out.(*DaemonSetSpec) + *out = *in if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(meta_v1.LabelSelector) - if err := meta_v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*meta_v1.LabelSelector) } - } else { - out.Selector = nil } if err := v1.DeepCopy_v1_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err @@ -239,10 +233,7 @@ func DeepCopy_v1beta1_DaemonSetStatus(in interface{}, out interface{}, c *conver { in := in.(*DaemonSetStatus) out := out.(*DaemonSetStatus) - out.CurrentNumberScheduled = in.CurrentNumberScheduled - out.NumberMisscheduled = in.NumberMisscheduled - out.DesiredNumberScheduled = in.DesiredNumberScheduled - out.NumberReady = in.NumberReady + *out = *in return nil } } @@ -251,7 +242,7 @@ func DeepCopy_v1beta1_Deployment(in interface{}, out interface{}, c *conversion. { in := in.(*Deployment) out := out.(*Deployment) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -269,12 +260,9 @@ func DeepCopy_v1beta1_DeploymentCondition(in interface{}, out interface{}, c *co { in := in.(*DeploymentCondition) out := out.(*DeploymentCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastUpdateTime = in.LastUpdateTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -283,8 +271,7 @@ func DeepCopy_v1beta1_DeploymentList(in interface{}, out interface{}, c *convers { in := in.(*DeploymentList) out := out.(*DeploymentList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Deployment, len(*in)) @@ -293,8 +280,6 @@ func DeepCopy_v1beta1_DeploymentList(in interface{}, out interface{}, c *convers return err } } - } else { - out.Items = nil } return nil } @@ -304,18 +289,14 @@ func DeepCopy_v1beta1_DeploymentRollback(in interface{}, out interface{}, c *con { in := in.(*DeploymentRollback) out := out.(*DeploymentRollback) - out.TypeMeta = in.TypeMeta - out.Name = in.Name + *out = *in if in.UpdatedAnnotations != nil { in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } - } else { - out.UpdatedAnnotations = nil } - out.RollbackTo = in.RollbackTo return nil } } @@ -324,21 +305,19 @@ func DeepCopy_v1beta1_DeploymentSpec(in interface{}, out interface{}, c *convers { in := in.(*DeploymentSpec) out := out.(*DeploymentSpec) + *out = *in if in.Replicas != nil { in, out := &in.Replicas, &out.Replicas *out = new(int32) **out = **in - } else { - out.Replicas = nil } if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(meta_v1.LabelSelector) - if err := meta_v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*meta_v1.LabelSelector) } - } else { - out.Selector = nil } if err := v1.DeepCopy_v1_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err @@ -346,28 +325,20 @@ func DeepCopy_v1beta1_DeploymentSpec(in interface{}, out interface{}, c *convers if err := DeepCopy_v1beta1_DeploymentStrategy(&in.Strategy, &out.Strategy, c); err != nil { return err } - out.MinReadySeconds = in.MinReadySeconds if in.RevisionHistoryLimit != nil { in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit *out = new(int32) **out = **in - } else { - out.RevisionHistoryLimit = nil } - out.Paused = in.Paused if in.RollbackTo != nil { in, out := &in.RollbackTo, &out.RollbackTo *out = new(RollbackConfig) **out = **in - } else { - out.RollbackTo = nil } if in.ProgressDeadlineSeconds != nil { in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds *out = new(int32) **out = **in - } else { - out.ProgressDeadlineSeconds = nil } return nil } @@ -377,11 +348,7 @@ func DeepCopy_v1beta1_DeploymentStatus(in interface{}, out interface{}, c *conve { in := in.(*DeploymentStatus) out := out.(*DeploymentStatus) - out.ObservedGeneration = in.ObservedGeneration - out.Replicas = in.Replicas - out.UpdatedReplicas = in.UpdatedReplicas - out.AvailableReplicas = in.AvailableReplicas - out.UnavailableReplicas = in.UnavailableReplicas + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]DeploymentCondition, len(*in)) @@ -390,8 +357,6 @@ func DeepCopy_v1beta1_DeploymentStatus(in interface{}, out interface{}, c *conve return err } } - } else { - out.Conditions = nil } return nil } @@ -401,15 +366,13 @@ func DeepCopy_v1beta1_DeploymentStrategy(in interface{}, out interface{}, c *con { in := in.(*DeploymentStrategy) out := out.(*DeploymentStrategy) - out.Type = in.Type + *out = *in if in.RollingUpdate != nil { in, out := &in.RollingUpdate, &out.RollingUpdate *out = new(RollingUpdateDeployment) if err := DeepCopy_v1beta1_RollingUpdateDeployment(*in, *out, c); err != nil { return err } - } else { - out.RollingUpdate = nil } return nil } @@ -419,15 +382,13 @@ func DeepCopy_v1beta1_FSGroupStrategyOptions(in interface{}, out interface{}, c { in := in.(*FSGroupStrategyOptions) out := out.(*FSGroupStrategyOptions) - out.Rule = in.Rule + *out = *in if in.Ranges != nil { in, out := &in.Ranges, &out.Ranges *out = make([]IDRange, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Ranges = nil } return nil } @@ -437,8 +398,7 @@ func DeepCopy_v1beta1_HTTPIngressPath(in interface{}, out interface{}, c *conver { in := in.(*HTTPIngressPath) out := out.(*HTTPIngressPath) - out.Path = in.Path - out.Backend = in.Backend + *out = *in return nil } } @@ -447,14 +407,13 @@ func DeepCopy_v1beta1_HTTPIngressRuleValue(in interface{}, out interface{}, c *c { in := in.(*HTTPIngressRuleValue) out := out.(*HTTPIngressRuleValue) + *out = *in if in.Paths != nil { in, out := &in.Paths, &out.Paths *out = make([]HTTPIngressPath, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Paths = nil } return nil } @@ -464,7 +423,7 @@ func DeepCopy_v1beta1_HorizontalPodAutoscaler(in interface{}, out interface{}, c { in := in.(*HorizontalPodAutoscaler) out := out.(*HorizontalPodAutoscaler) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -482,8 +441,7 @@ func DeepCopy_v1beta1_HorizontalPodAutoscalerList(in interface{}, out interface{ { in := in.(*HorizontalPodAutoscalerList) out := out.(*HorizontalPodAutoscalerList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]HorizontalPodAutoscaler, len(*in)) @@ -492,8 +450,6 @@ func DeepCopy_v1beta1_HorizontalPodAutoscalerList(in interface{}, out interface{ return err } } - } else { - out.Items = nil } return nil } @@ -503,21 +459,16 @@ func DeepCopy_v1beta1_HorizontalPodAutoscalerSpec(in interface{}, out interface{ { in := in.(*HorizontalPodAutoscalerSpec) out := out.(*HorizontalPodAutoscalerSpec) - out.ScaleRef = in.ScaleRef + *out = *in if in.MinReplicas != nil { in, out := &in.MinReplicas, &out.MinReplicas *out = new(int32) **out = **in - } else { - out.MinReplicas = nil } - out.MaxReplicas = in.MaxReplicas if in.CPUUtilization != nil { in, out := &in.CPUUtilization, &out.CPUUtilization *out = new(CPUTargetUtilization) **out = **in - } else { - out.CPUUtilization = nil } return nil } @@ -527,28 +478,21 @@ func DeepCopy_v1beta1_HorizontalPodAutoscalerStatus(in interface{}, out interfac { in := in.(*HorizontalPodAutoscalerStatus) out := out.(*HorizontalPodAutoscalerStatus) + *out = *in if in.ObservedGeneration != nil { in, out := &in.ObservedGeneration, &out.ObservedGeneration *out = new(int64) **out = **in - } else { - out.ObservedGeneration = nil } if in.LastScaleTime != nil { in, out := &in.LastScaleTime, &out.LastScaleTime *out = new(meta_v1.Time) **out = (*in).DeepCopy() - } else { - out.LastScaleTime = nil } - out.CurrentReplicas = in.CurrentReplicas - out.DesiredReplicas = in.DesiredReplicas if in.CurrentCPUUtilizationPercentage != nil { in, out := &in.CurrentCPUUtilizationPercentage, &out.CurrentCPUUtilizationPercentage *out = new(int32) **out = **in - } else { - out.CurrentCPUUtilizationPercentage = nil } return nil } @@ -558,8 +502,7 @@ func DeepCopy_v1beta1_HostPortRange(in interface{}, out interface{}, c *conversi { in := in.(*HostPortRange) out := out.(*HostPortRange) - out.Min = in.Min - out.Max = in.Max + *out = *in return nil } } @@ -568,8 +511,7 @@ func DeepCopy_v1beta1_IDRange(in interface{}, out interface{}, c *conversion.Clo { in := in.(*IDRange) out := out.(*IDRange) - out.Min = in.Min - out.Max = in.Max + *out = *in return nil } } @@ -578,7 +520,7 @@ func DeepCopy_v1beta1_Ingress(in interface{}, out interface{}, c *conversion.Clo { in := in.(*Ingress) out := out.(*Ingress) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -596,8 +538,7 @@ func DeepCopy_v1beta1_IngressBackend(in interface{}, out interface{}, c *convers { in := in.(*IngressBackend) out := out.(*IngressBackend) - out.ServiceName = in.ServiceName - out.ServicePort = in.ServicePort + *out = *in return nil } } @@ -606,8 +547,7 @@ func DeepCopy_v1beta1_IngressList(in interface{}, out interface{}, c *conversion { in := in.(*IngressList) out := out.(*IngressList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Ingress, len(*in)) @@ -616,8 +556,6 @@ func DeepCopy_v1beta1_IngressList(in interface{}, out interface{}, c *conversion return err } } - } else { - out.Items = nil } return nil } @@ -627,7 +565,7 @@ func DeepCopy_v1beta1_IngressRule(in interface{}, out interface{}, c *conversion { in := in.(*IngressRule) out := out.(*IngressRule) - out.Host = in.Host + *out = *in if err := DeepCopy_v1beta1_IngressRuleValue(&in.IngressRuleValue, &out.IngressRuleValue, c); err != nil { return err } @@ -639,14 +577,13 @@ func DeepCopy_v1beta1_IngressRuleValue(in interface{}, out interface{}, c *conve { in := in.(*IngressRuleValue) out := out.(*IngressRuleValue) + *out = *in if in.HTTP != nil { in, out := &in.HTTP, &out.HTTP *out = new(HTTPIngressRuleValue) if err := DeepCopy_v1beta1_HTTPIngressRuleValue(*in, *out, c); err != nil { return err } - } else { - out.HTTP = nil } return nil } @@ -656,12 +593,11 @@ func DeepCopy_v1beta1_IngressSpec(in interface{}, out interface{}, c *conversion { in := in.(*IngressSpec) out := out.(*IngressSpec) + *out = *in if in.Backend != nil { in, out := &in.Backend, &out.Backend *out = new(IngressBackend) **out = **in - } else { - out.Backend = nil } if in.TLS != nil { in, out := &in.TLS, &out.TLS @@ -671,8 +607,6 @@ func DeepCopy_v1beta1_IngressSpec(in interface{}, out interface{}, c *conversion return err } } - } else { - out.TLS = nil } if in.Rules != nil { in, out := &in.Rules, &out.Rules @@ -682,8 +616,6 @@ func DeepCopy_v1beta1_IngressSpec(in interface{}, out interface{}, c *conversion return err } } - } else { - out.Rules = nil } return nil } @@ -693,6 +625,7 @@ func DeepCopy_v1beta1_IngressStatus(in interface{}, out interface{}, c *conversi { in := in.(*IngressStatus) out := out.(*IngressStatus) + *out = *in if err := v1.DeepCopy_v1_LoadBalancerStatus(&in.LoadBalancer, &out.LoadBalancer, c); err != nil { return err } @@ -704,14 +637,12 @@ func DeepCopy_v1beta1_IngressTLS(in interface{}, out interface{}, c *conversion. { in := in.(*IngressTLS) out := out.(*IngressTLS) + *out = *in if in.Hosts != nil { in, out := &in.Hosts, &out.Hosts *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Hosts = nil } - out.SecretName = in.SecretName return nil } } @@ -720,7 +651,7 @@ func DeepCopy_v1beta1_NetworkPolicy(in interface{}, out interface{}, c *conversi { in := in.(*NetworkPolicy) out := out.(*NetworkPolicy) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -735,6 +666,7 @@ func DeepCopy_v1beta1_NetworkPolicyIngressRule(in interface{}, out interface{}, { in := in.(*NetworkPolicyIngressRule) out := out.(*NetworkPolicyIngressRule) + *out = *in if in.Ports != nil { in, out := &in.Ports, &out.Ports *out = make([]NetworkPolicyPort, len(*in)) @@ -743,8 +675,6 @@ func DeepCopy_v1beta1_NetworkPolicyIngressRule(in interface{}, out interface{}, return err } } - } else { - out.Ports = nil } if in.From != nil { in, out := &in.From, &out.From @@ -754,8 +684,6 @@ func DeepCopy_v1beta1_NetworkPolicyIngressRule(in interface{}, out interface{}, return err } } - } else { - out.From = nil } return nil } @@ -765,8 +693,7 @@ func DeepCopy_v1beta1_NetworkPolicyList(in interface{}, out interface{}, c *conv { in := in.(*NetworkPolicyList) out := out.(*NetworkPolicyList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]NetworkPolicy, len(*in)) @@ -775,8 +702,6 @@ func DeepCopy_v1beta1_NetworkPolicyList(in interface{}, out interface{}, c *conv return err } } - } else { - out.Items = nil } return nil } @@ -786,23 +711,22 @@ func DeepCopy_v1beta1_NetworkPolicyPeer(in interface{}, out interface{}, c *conv { in := in.(*NetworkPolicyPeer) out := out.(*NetworkPolicyPeer) + *out = *in if in.PodSelector != nil { in, out := &in.PodSelector, &out.PodSelector - *out = new(meta_v1.LabelSelector) - if err := meta_v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*meta_v1.LabelSelector) } - } else { - out.PodSelector = nil } if in.NamespaceSelector != nil { in, out := &in.NamespaceSelector, &out.NamespaceSelector - *out = new(meta_v1.LabelSelector) - if err := meta_v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*meta_v1.LabelSelector) } - } else { - out.NamespaceSelector = nil } return nil } @@ -812,19 +736,16 @@ func DeepCopy_v1beta1_NetworkPolicyPort(in interface{}, out interface{}, c *conv { in := in.(*NetworkPolicyPort) out := out.(*NetworkPolicyPort) + *out = *in if in.Protocol != nil { in, out := &in.Protocol, &out.Protocol *out = new(v1.Protocol) **out = **in - } else { - out.Protocol = nil } if in.Port != nil { in, out := &in.Port, &out.Port *out = new(intstr.IntOrString) **out = **in - } else { - out.Port = nil } return nil } @@ -834,8 +755,11 @@ func DeepCopy_v1beta1_NetworkPolicySpec(in interface{}, out interface{}, c *conv { in := in.(*NetworkPolicySpec) out := out.(*NetworkPolicySpec) - if err := meta_v1.DeepCopy_v1_LabelSelector(&in.PodSelector, &out.PodSelector, c); err != nil { + *out = *in + if newVal, err := c.DeepCopy(&in.PodSelector); err != nil { return err + } else { + out.PodSelector = *newVal.(*meta_v1.LabelSelector) } if in.Ingress != nil { in, out := &in.Ingress, &out.Ingress @@ -845,8 +769,6 @@ func DeepCopy_v1beta1_NetworkPolicySpec(in interface{}, out interface{}, c *conv return err } } - } else { - out.Ingress = nil } return nil } @@ -856,7 +778,7 @@ func DeepCopy_v1beta1_PodSecurityPolicy(in interface{}, out interface{}, c *conv { in := in.(*PodSecurityPolicy) out := out.(*PodSecurityPolicy) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -871,8 +793,7 @@ func DeepCopy_v1beta1_PodSecurityPolicyList(in interface{}, out interface{}, c * { in := in.(*PodSecurityPolicyList) out := out.(*PodSecurityPolicyList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PodSecurityPolicy, len(*in)) @@ -881,8 +802,6 @@ func DeepCopy_v1beta1_PodSecurityPolicyList(in interface{}, out interface{}, c * return err } } - } else { - out.Items = nil } return nil } @@ -892,15 +811,13 @@ func DeepCopy_v1beta1_PodSecurityPolicySpec(in interface{}, out interface{}, c * { in := in.(*PodSecurityPolicySpec) out := out.(*PodSecurityPolicySpec) - out.Privileged = in.Privileged + *out = *in if in.DefaultAddCapabilities != nil { in, out := &in.DefaultAddCapabilities, &out.DefaultAddCapabilities *out = make([]v1.Capability, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.DefaultAddCapabilities = nil } if in.RequiredDropCapabilities != nil { in, out := &in.RequiredDropCapabilities, &out.RequiredDropCapabilities @@ -908,8 +825,6 @@ func DeepCopy_v1beta1_PodSecurityPolicySpec(in interface{}, out interface{}, c * for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.RequiredDropCapabilities = nil } if in.AllowedCapabilities != nil { in, out := &in.AllowedCapabilities, &out.AllowedCapabilities @@ -917,8 +832,6 @@ func DeepCopy_v1beta1_PodSecurityPolicySpec(in interface{}, out interface{}, c * for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.AllowedCapabilities = nil } if in.Volumes != nil { in, out := &in.Volumes, &out.Volumes @@ -926,21 +839,14 @@ func DeepCopy_v1beta1_PodSecurityPolicySpec(in interface{}, out interface{}, c * for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Volumes = nil } - out.HostNetwork = in.HostNetwork if in.HostPorts != nil { in, out := &in.HostPorts, &out.HostPorts *out = make([]HostPortRange, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.HostPorts = nil } - out.HostPID = in.HostPID - out.HostIPC = in.HostIPC if err := DeepCopy_v1beta1_SELinuxStrategyOptions(&in.SELinux, &out.SELinux, c); err != nil { return err } @@ -953,7 +859,6 @@ func DeepCopy_v1beta1_PodSecurityPolicySpec(in interface{}, out interface{}, c * if err := DeepCopy_v1beta1_FSGroupStrategyOptions(&in.FSGroup, &out.FSGroup, c); err != nil { return err } - out.ReadOnlyRootFilesystem = in.ReadOnlyRootFilesystem return nil } } @@ -962,7 +867,7 @@ func DeepCopy_v1beta1_ReplicaSet(in interface{}, out interface{}, c *conversion. { in := in.(*ReplicaSet) out := out.(*ReplicaSet) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -980,11 +885,8 @@ func DeepCopy_v1beta1_ReplicaSetCondition(in interface{}, out interface{}, c *co { in := in.(*ReplicaSetCondition) out := out.(*ReplicaSetCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -993,8 +895,7 @@ func DeepCopy_v1beta1_ReplicaSetList(in interface{}, out interface{}, c *convers { in := in.(*ReplicaSetList) out := out.(*ReplicaSetList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ReplicaSet, len(*in)) @@ -1003,8 +904,6 @@ func DeepCopy_v1beta1_ReplicaSetList(in interface{}, out interface{}, c *convers return err } } - } else { - out.Items = nil } return nil } @@ -1014,22 +913,19 @@ func DeepCopy_v1beta1_ReplicaSetSpec(in interface{}, out interface{}, c *convers { in := in.(*ReplicaSetSpec) out := out.(*ReplicaSetSpec) + *out = *in if in.Replicas != nil { in, out := &in.Replicas, &out.Replicas *out = new(int32) **out = **in - } else { - out.Replicas = nil } - out.MinReadySeconds = in.MinReadySeconds if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(meta_v1.LabelSelector) - if err := meta_v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*meta_v1.LabelSelector) } - } else { - out.Selector = nil } if err := v1.DeepCopy_v1_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err @@ -1042,11 +938,7 @@ func DeepCopy_v1beta1_ReplicaSetStatus(in interface{}, out interface{}, c *conve { in := in.(*ReplicaSetStatus) out := out.(*ReplicaSetStatus) - out.Replicas = in.Replicas - out.FullyLabeledReplicas = in.FullyLabeledReplicas - out.ReadyReplicas = in.ReadyReplicas - out.AvailableReplicas = in.AvailableReplicas - out.ObservedGeneration = in.ObservedGeneration + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]ReplicaSetCondition, len(*in)) @@ -1055,8 +947,6 @@ func DeepCopy_v1beta1_ReplicaSetStatus(in interface{}, out interface{}, c *conve return err } } - } else { - out.Conditions = nil } return nil } @@ -1066,7 +956,7 @@ func DeepCopy_v1beta1_ReplicationControllerDummy(in interface{}, out interface{} { in := in.(*ReplicationControllerDummy) out := out.(*ReplicationControllerDummy) - out.TypeMeta = in.TypeMeta + *out = *in return nil } } @@ -1075,7 +965,7 @@ func DeepCopy_v1beta1_RollbackConfig(in interface{}, out interface{}, c *convers { in := in.(*RollbackConfig) out := out.(*RollbackConfig) - out.Revision = in.Revision + *out = *in return nil } } @@ -1084,19 +974,16 @@ func DeepCopy_v1beta1_RollingUpdateDeployment(in interface{}, out interface{}, c { in := in.(*RollingUpdateDeployment) out := out.(*RollingUpdateDeployment) + *out = *in if in.MaxUnavailable != nil { in, out := &in.MaxUnavailable, &out.MaxUnavailable *out = new(intstr.IntOrString) **out = **in - } else { - out.MaxUnavailable = nil } if in.MaxSurge != nil { in, out := &in.MaxSurge, &out.MaxSurge *out = new(intstr.IntOrString) **out = **in - } else { - out.MaxSurge = nil } return nil } @@ -1106,15 +993,13 @@ func DeepCopy_v1beta1_RunAsUserStrategyOptions(in interface{}, out interface{}, { in := in.(*RunAsUserStrategyOptions) out := out.(*RunAsUserStrategyOptions) - out.Rule = in.Rule + *out = *in if in.Ranges != nil { in, out := &in.Ranges, &out.Ranges *out = make([]IDRange, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Ranges = nil } return nil } @@ -1124,13 +1009,11 @@ func DeepCopy_v1beta1_SELinuxStrategyOptions(in interface{}, out interface{}, c { in := in.(*SELinuxStrategyOptions) out := out.(*SELinuxStrategyOptions) - out.Rule = in.Rule + *out = *in if in.SELinuxOptions != nil { in, out := &in.SELinuxOptions, &out.SELinuxOptions *out = new(v1.SELinuxOptions) **out = **in - } else { - out.SELinuxOptions = nil } return nil } @@ -1140,11 +1023,10 @@ func DeepCopy_v1beta1_Scale(in interface{}, out interface{}, c *conversion.Clone { in := in.(*Scale) out := out.(*Scale) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Spec = in.Spec if err := DeepCopy_v1beta1_ScaleStatus(&in.Status, &out.Status, c); err != nil { return err } @@ -1156,7 +1038,7 @@ func DeepCopy_v1beta1_ScaleSpec(in interface{}, out interface{}, c *conversion.C { in := in.(*ScaleSpec) out := out.(*ScaleSpec) - out.Replicas = in.Replicas + *out = *in return nil } } @@ -1165,17 +1047,14 @@ func DeepCopy_v1beta1_ScaleStatus(in interface{}, out interface{}, c *conversion { in := in.(*ScaleStatus) out := out.(*ScaleStatus) - out.Replicas = in.Replicas + *out = *in if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } - } else { - out.Selector = nil } - out.TargetSelector = in.TargetSelector return nil } } @@ -1184,10 +1063,7 @@ func DeepCopy_v1beta1_SubresourceReference(in interface{}, out interface{}, c *c { in := in.(*SubresourceReference) out := out.(*SubresourceReference) - out.Kind = in.Kind - out.Name = in.Name - out.APIVersion = in.APIVersion - out.Subresource = in.Subresource + *out = *in return nil } } @@ -1196,15 +1072,13 @@ func DeepCopy_v1beta1_SupplementalGroupsStrategyOptions(in interface{}, out inte { in := in.(*SupplementalGroupsStrategyOptions) out := out.(*SupplementalGroupsStrategyOptions) - out.Rule = in.Rule + *out = *in if in.Ranges != nil { in, out := &in.Ranges, &out.Ranges *out = make([]IDRange, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Ranges = nil } return nil } @@ -1214,19 +1088,16 @@ func DeepCopy_v1beta1_ThirdPartyResource(in interface{}, out interface{}, c *con { in := in.(*ThirdPartyResource) out := out.(*ThirdPartyResource) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Description = in.Description if in.Versions != nil { in, out := &in.Versions, &out.Versions *out = make([]APIVersion, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Versions = nil } return nil } @@ -1236,7 +1107,7 @@ func DeepCopy_v1beta1_ThirdPartyResourceData(in interface{}, out interface{}, c { in := in.(*ThirdPartyResourceData) out := out.(*ThirdPartyResourceData) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -1244,8 +1115,6 @@ func DeepCopy_v1beta1_ThirdPartyResourceData(in interface{}, out interface{}, c in, out := &in.Data, &out.Data *out = make([]byte, len(*in)) copy(*out, *in) - } else { - out.Data = nil } return nil } @@ -1255,8 +1124,7 @@ func DeepCopy_v1beta1_ThirdPartyResourceDataList(in interface{}, out interface{} { in := in.(*ThirdPartyResourceDataList) out := out.(*ThirdPartyResourceDataList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ThirdPartyResourceData, len(*in)) @@ -1265,8 +1133,6 @@ func DeepCopy_v1beta1_ThirdPartyResourceDataList(in interface{}, out interface{} return err } } - } else { - out.Items = nil } return nil } @@ -1276,8 +1142,7 @@ func DeepCopy_v1beta1_ThirdPartyResourceList(in interface{}, out interface{}, c { in := in.(*ThirdPartyResourceList) out := out.(*ThirdPartyResourceList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ThirdPartyResource, len(*in)) @@ -1286,8 +1151,6 @@ func DeepCopy_v1beta1_ThirdPartyResourceList(in interface{}, out interface{}, c return err } } - } else { - out.Items = nil } return nil } diff --git a/pkg/apis/extensions/v1beta1/zz_generated.defaults.go b/pkg/apis/extensions/v1beta1/zz_generated.defaults.go index d033ac3f..511a9340 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.defaults.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.defaults.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,8 +21,8 @@ limitations under the License. package v1beta1 import ( + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - runtime "k8s.io/client-go/pkg/runtime" ) // RegisterDefaults adds defaulters functions to the given scheme. diff --git a/pkg/apis/extensions/zz_generated.deepcopy.go b/pkg/apis/extensions/zz_generated.deepcopy.go index 19106fbb..68f8185d 100644 --- a/pkg/apis/extensions/zz_generated.deepcopy.go +++ b/pkg/apis/extensions/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ limitations under the License. package extensions import ( + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" - v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" intstr "k8s.io/client-go/pkg/util/intstr" reflect "reflect" ) @@ -100,7 +100,7 @@ func DeepCopy_extensions_APIVersion(in interface{}, out interface{}, c *conversi { in := in.(*APIVersion) out := out.(*APIVersion) - out.Name = in.Name + *out = *in return nil } } @@ -109,7 +109,7 @@ func DeepCopy_extensions_CustomMetricCurrentStatus(in interface{}, out interface { in := in.(*CustomMetricCurrentStatus) out := out.(*CustomMetricCurrentStatus) - out.Name = in.Name + *out = *in out.CurrentValue = in.CurrentValue.DeepCopy() return nil } @@ -119,6 +119,7 @@ func DeepCopy_extensions_CustomMetricCurrentStatusList(in interface{}, out inter { in := in.(*CustomMetricCurrentStatusList) out := out.(*CustomMetricCurrentStatusList) + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]CustomMetricCurrentStatus, len(*in)) @@ -127,8 +128,6 @@ func DeepCopy_extensions_CustomMetricCurrentStatusList(in interface{}, out inter return err } } - } else { - out.Items = nil } return nil } @@ -138,7 +137,7 @@ func DeepCopy_extensions_CustomMetricTarget(in interface{}, out interface{}, c * { in := in.(*CustomMetricTarget) out := out.(*CustomMetricTarget) - out.Name = in.Name + *out = *in out.TargetValue = in.TargetValue.DeepCopy() return nil } @@ -148,6 +147,7 @@ func DeepCopy_extensions_CustomMetricTargetList(in interface{}, out interface{}, { in := in.(*CustomMetricTargetList) out := out.(*CustomMetricTargetList) + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]CustomMetricTarget, len(*in)) @@ -156,8 +156,6 @@ func DeepCopy_extensions_CustomMetricTargetList(in interface{}, out interface{}, return err } } - } else { - out.Items = nil } return nil } @@ -167,14 +165,13 @@ func DeepCopy_extensions_DaemonSet(in interface{}, out interface{}, c *conversio { in := in.(*DaemonSet) out := out.(*DaemonSet) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } if err := DeepCopy_extensions_DaemonSetSpec(&in.Spec, &out.Spec, c); err != nil { return err } - out.Status = in.Status return nil } } @@ -183,8 +180,7 @@ func DeepCopy_extensions_DaemonSetList(in interface{}, out interface{}, c *conve { in := in.(*DaemonSetList) out := out.(*DaemonSetList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]DaemonSet, len(*in)) @@ -193,8 +189,6 @@ func DeepCopy_extensions_DaemonSetList(in interface{}, out interface{}, c *conve return err } } - } else { - out.Items = nil } return nil } @@ -204,14 +198,14 @@ func DeepCopy_extensions_DaemonSetSpec(in interface{}, out interface{}, c *conve { in := in.(*DaemonSetSpec) out := out.(*DaemonSetSpec) + *out = *in if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(v1.LabelSelector) - if err := v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*v1.LabelSelector) } - } else { - out.Selector = nil } if err := api.DeepCopy_api_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err @@ -224,10 +218,7 @@ func DeepCopy_extensions_DaemonSetStatus(in interface{}, out interface{}, c *con { in := in.(*DaemonSetStatus) out := out.(*DaemonSetStatus) - out.CurrentNumberScheduled = in.CurrentNumberScheduled - out.NumberMisscheduled = in.NumberMisscheduled - out.DesiredNumberScheduled = in.DesiredNumberScheduled - out.NumberReady = in.NumberReady + *out = *in return nil } } @@ -236,7 +227,7 @@ func DeepCopy_extensions_Deployment(in interface{}, out interface{}, c *conversi { in := in.(*Deployment) out := out.(*Deployment) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -254,12 +245,9 @@ func DeepCopy_extensions_DeploymentCondition(in interface{}, out interface{}, c { in := in.(*DeploymentCondition) out := out.(*DeploymentCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastUpdateTime = in.LastUpdateTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -268,8 +256,7 @@ func DeepCopy_extensions_DeploymentList(in interface{}, out interface{}, c *conv { in := in.(*DeploymentList) out := out.(*DeploymentList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Deployment, len(*in)) @@ -278,8 +265,6 @@ func DeepCopy_extensions_DeploymentList(in interface{}, out interface{}, c *conv return err } } - } else { - out.Items = nil } return nil } @@ -289,18 +274,14 @@ func DeepCopy_extensions_DeploymentRollback(in interface{}, out interface{}, c * { in := in.(*DeploymentRollback) out := out.(*DeploymentRollback) - out.TypeMeta = in.TypeMeta - out.Name = in.Name + *out = *in if in.UpdatedAnnotations != nil { in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } - } else { - out.UpdatedAnnotations = nil } - out.RollbackTo = in.RollbackTo return nil } } @@ -309,15 +290,14 @@ func DeepCopy_extensions_DeploymentSpec(in interface{}, out interface{}, c *conv { in := in.(*DeploymentSpec) out := out.(*DeploymentSpec) - out.Replicas = in.Replicas + *out = *in if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(v1.LabelSelector) - if err := v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*v1.LabelSelector) } - } else { - out.Selector = nil } if err := api.DeepCopy_api_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err @@ -325,28 +305,20 @@ func DeepCopy_extensions_DeploymentSpec(in interface{}, out interface{}, c *conv if err := DeepCopy_extensions_DeploymentStrategy(&in.Strategy, &out.Strategy, c); err != nil { return err } - out.MinReadySeconds = in.MinReadySeconds if in.RevisionHistoryLimit != nil { in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit *out = new(int32) **out = **in - } else { - out.RevisionHistoryLimit = nil } - out.Paused = in.Paused if in.RollbackTo != nil { in, out := &in.RollbackTo, &out.RollbackTo *out = new(RollbackConfig) **out = **in - } else { - out.RollbackTo = nil } if in.ProgressDeadlineSeconds != nil { in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds *out = new(int32) **out = **in - } else { - out.ProgressDeadlineSeconds = nil } return nil } @@ -356,11 +328,7 @@ func DeepCopy_extensions_DeploymentStatus(in interface{}, out interface{}, c *co { in := in.(*DeploymentStatus) out := out.(*DeploymentStatus) - out.ObservedGeneration = in.ObservedGeneration - out.Replicas = in.Replicas - out.UpdatedReplicas = in.UpdatedReplicas - out.AvailableReplicas = in.AvailableReplicas - out.UnavailableReplicas = in.UnavailableReplicas + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]DeploymentCondition, len(*in)) @@ -369,8 +337,6 @@ func DeepCopy_extensions_DeploymentStatus(in interface{}, out interface{}, c *co return err } } - } else { - out.Conditions = nil } return nil } @@ -380,13 +346,11 @@ func DeepCopy_extensions_DeploymentStrategy(in interface{}, out interface{}, c * { in := in.(*DeploymentStrategy) out := out.(*DeploymentStrategy) - out.Type = in.Type + *out = *in if in.RollingUpdate != nil { in, out := &in.RollingUpdate, &out.RollingUpdate *out = new(RollingUpdateDeployment) **out = **in - } else { - out.RollingUpdate = nil } return nil } @@ -396,15 +360,13 @@ func DeepCopy_extensions_FSGroupStrategyOptions(in interface{}, out interface{}, { in := in.(*FSGroupStrategyOptions) out := out.(*FSGroupStrategyOptions) - out.Rule = in.Rule + *out = *in if in.Ranges != nil { in, out := &in.Ranges, &out.Ranges *out = make([]IDRange, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Ranges = nil } return nil } @@ -414,8 +376,7 @@ func DeepCopy_extensions_HTTPIngressPath(in interface{}, out interface{}, c *con { in := in.(*HTTPIngressPath) out := out.(*HTTPIngressPath) - out.Path = in.Path - out.Backend = in.Backend + *out = *in return nil } } @@ -424,14 +385,13 @@ func DeepCopy_extensions_HTTPIngressRuleValue(in interface{}, out interface{}, c { in := in.(*HTTPIngressRuleValue) out := out.(*HTTPIngressRuleValue) + *out = *in if in.Paths != nil { in, out := &in.Paths, &out.Paths *out = make([]HTTPIngressPath, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Paths = nil } return nil } @@ -441,8 +401,7 @@ func DeepCopy_extensions_HostPortRange(in interface{}, out interface{}, c *conve { in := in.(*HostPortRange) out := out.(*HostPortRange) - out.Min = in.Min - out.Max = in.Max + *out = *in return nil } } @@ -451,8 +410,7 @@ func DeepCopy_extensions_IDRange(in interface{}, out interface{}, c *conversion. { in := in.(*IDRange) out := out.(*IDRange) - out.Min = in.Min - out.Max = in.Max + *out = *in return nil } } @@ -461,7 +419,7 @@ func DeepCopy_extensions_Ingress(in interface{}, out interface{}, c *conversion. { in := in.(*Ingress) out := out.(*Ingress) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -479,8 +437,7 @@ func DeepCopy_extensions_IngressBackend(in interface{}, out interface{}, c *conv { in := in.(*IngressBackend) out := out.(*IngressBackend) - out.ServiceName = in.ServiceName - out.ServicePort = in.ServicePort + *out = *in return nil } } @@ -489,8 +446,7 @@ func DeepCopy_extensions_IngressList(in interface{}, out interface{}, c *convers { in := in.(*IngressList) out := out.(*IngressList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Ingress, len(*in)) @@ -499,8 +455,6 @@ func DeepCopy_extensions_IngressList(in interface{}, out interface{}, c *convers return err } } - } else { - out.Items = nil } return nil } @@ -510,7 +464,7 @@ func DeepCopy_extensions_IngressRule(in interface{}, out interface{}, c *convers { in := in.(*IngressRule) out := out.(*IngressRule) - out.Host = in.Host + *out = *in if err := DeepCopy_extensions_IngressRuleValue(&in.IngressRuleValue, &out.IngressRuleValue, c); err != nil { return err } @@ -522,14 +476,13 @@ func DeepCopy_extensions_IngressRuleValue(in interface{}, out interface{}, c *co { in := in.(*IngressRuleValue) out := out.(*IngressRuleValue) + *out = *in if in.HTTP != nil { in, out := &in.HTTP, &out.HTTP *out = new(HTTPIngressRuleValue) if err := DeepCopy_extensions_HTTPIngressRuleValue(*in, *out, c); err != nil { return err } - } else { - out.HTTP = nil } return nil } @@ -539,12 +492,11 @@ func DeepCopy_extensions_IngressSpec(in interface{}, out interface{}, c *convers { in := in.(*IngressSpec) out := out.(*IngressSpec) + *out = *in if in.Backend != nil { in, out := &in.Backend, &out.Backend *out = new(IngressBackend) **out = **in - } else { - out.Backend = nil } if in.TLS != nil { in, out := &in.TLS, &out.TLS @@ -554,8 +506,6 @@ func DeepCopy_extensions_IngressSpec(in interface{}, out interface{}, c *convers return err } } - } else { - out.TLS = nil } if in.Rules != nil { in, out := &in.Rules, &out.Rules @@ -565,8 +515,6 @@ func DeepCopy_extensions_IngressSpec(in interface{}, out interface{}, c *convers return err } } - } else { - out.Rules = nil } return nil } @@ -576,6 +524,7 @@ func DeepCopy_extensions_IngressStatus(in interface{}, out interface{}, c *conve { in := in.(*IngressStatus) out := out.(*IngressStatus) + *out = *in if err := api.DeepCopy_api_LoadBalancerStatus(&in.LoadBalancer, &out.LoadBalancer, c); err != nil { return err } @@ -587,14 +536,12 @@ func DeepCopy_extensions_IngressTLS(in interface{}, out interface{}, c *conversi { in := in.(*IngressTLS) out := out.(*IngressTLS) + *out = *in if in.Hosts != nil { in, out := &in.Hosts, &out.Hosts *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Hosts = nil } - out.SecretName = in.SecretName return nil } } @@ -603,7 +550,7 @@ func DeepCopy_extensions_NetworkPolicy(in interface{}, out interface{}, c *conve { in := in.(*NetworkPolicy) out := out.(*NetworkPolicy) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -618,6 +565,7 @@ func DeepCopy_extensions_NetworkPolicyIngressRule(in interface{}, out interface{ { in := in.(*NetworkPolicyIngressRule) out := out.(*NetworkPolicyIngressRule) + *out = *in if in.Ports != nil { in, out := &in.Ports, &out.Ports *out = make([]NetworkPolicyPort, len(*in)) @@ -626,8 +574,6 @@ func DeepCopy_extensions_NetworkPolicyIngressRule(in interface{}, out interface{ return err } } - } else { - out.Ports = nil } if in.From != nil { in, out := &in.From, &out.From @@ -637,8 +583,6 @@ func DeepCopy_extensions_NetworkPolicyIngressRule(in interface{}, out interface{ return err } } - } else { - out.From = nil } return nil } @@ -648,8 +592,7 @@ func DeepCopy_extensions_NetworkPolicyList(in interface{}, out interface{}, c *c { in := in.(*NetworkPolicyList) out := out.(*NetworkPolicyList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]NetworkPolicy, len(*in)) @@ -658,8 +601,6 @@ func DeepCopy_extensions_NetworkPolicyList(in interface{}, out interface{}, c *c return err } } - } else { - out.Items = nil } return nil } @@ -669,23 +610,22 @@ func DeepCopy_extensions_NetworkPolicyPeer(in interface{}, out interface{}, c *c { in := in.(*NetworkPolicyPeer) out := out.(*NetworkPolicyPeer) + *out = *in if in.PodSelector != nil { in, out := &in.PodSelector, &out.PodSelector - *out = new(v1.LabelSelector) - if err := v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*v1.LabelSelector) } - } else { - out.PodSelector = nil } if in.NamespaceSelector != nil { in, out := &in.NamespaceSelector, &out.NamespaceSelector - *out = new(v1.LabelSelector) - if err := v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*v1.LabelSelector) } - } else { - out.NamespaceSelector = nil } return nil } @@ -695,19 +635,16 @@ func DeepCopy_extensions_NetworkPolicyPort(in interface{}, out interface{}, c *c { in := in.(*NetworkPolicyPort) out := out.(*NetworkPolicyPort) + *out = *in if in.Protocol != nil { in, out := &in.Protocol, &out.Protocol *out = new(api.Protocol) **out = **in - } else { - out.Protocol = nil } if in.Port != nil { in, out := &in.Port, &out.Port *out = new(intstr.IntOrString) **out = **in - } else { - out.Port = nil } return nil } @@ -717,8 +654,11 @@ func DeepCopy_extensions_NetworkPolicySpec(in interface{}, out interface{}, c *c { in := in.(*NetworkPolicySpec) out := out.(*NetworkPolicySpec) - if err := v1.DeepCopy_v1_LabelSelector(&in.PodSelector, &out.PodSelector, c); err != nil { + *out = *in + if newVal, err := c.DeepCopy(&in.PodSelector); err != nil { return err + } else { + out.PodSelector = *newVal.(*v1.LabelSelector) } if in.Ingress != nil { in, out := &in.Ingress, &out.Ingress @@ -728,8 +668,6 @@ func DeepCopy_extensions_NetworkPolicySpec(in interface{}, out interface{}, c *c return err } } - } else { - out.Ingress = nil } return nil } @@ -739,7 +677,7 @@ func DeepCopy_extensions_PodSecurityPolicy(in interface{}, out interface{}, c *c { in := in.(*PodSecurityPolicy) out := out.(*PodSecurityPolicy) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -754,8 +692,7 @@ func DeepCopy_extensions_PodSecurityPolicyList(in interface{}, out interface{}, { in := in.(*PodSecurityPolicyList) out := out.(*PodSecurityPolicyList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PodSecurityPolicy, len(*in)) @@ -764,8 +701,6 @@ func DeepCopy_extensions_PodSecurityPolicyList(in interface{}, out interface{}, return err } } - } else { - out.Items = nil } return nil } @@ -775,15 +710,13 @@ func DeepCopy_extensions_PodSecurityPolicySpec(in interface{}, out interface{}, { in := in.(*PodSecurityPolicySpec) out := out.(*PodSecurityPolicySpec) - out.Privileged = in.Privileged + *out = *in if in.DefaultAddCapabilities != nil { in, out := &in.DefaultAddCapabilities, &out.DefaultAddCapabilities *out = make([]api.Capability, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.DefaultAddCapabilities = nil } if in.RequiredDropCapabilities != nil { in, out := &in.RequiredDropCapabilities, &out.RequiredDropCapabilities @@ -791,8 +724,6 @@ func DeepCopy_extensions_PodSecurityPolicySpec(in interface{}, out interface{}, for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.RequiredDropCapabilities = nil } if in.AllowedCapabilities != nil { in, out := &in.AllowedCapabilities, &out.AllowedCapabilities @@ -800,8 +731,6 @@ func DeepCopy_extensions_PodSecurityPolicySpec(in interface{}, out interface{}, for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.AllowedCapabilities = nil } if in.Volumes != nil { in, out := &in.Volumes, &out.Volumes @@ -809,21 +738,14 @@ func DeepCopy_extensions_PodSecurityPolicySpec(in interface{}, out interface{}, for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Volumes = nil } - out.HostNetwork = in.HostNetwork if in.HostPorts != nil { in, out := &in.HostPorts, &out.HostPorts *out = make([]HostPortRange, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.HostPorts = nil } - out.HostPID = in.HostPID - out.HostIPC = in.HostIPC if err := DeepCopy_extensions_SELinuxStrategyOptions(&in.SELinux, &out.SELinux, c); err != nil { return err } @@ -836,7 +758,6 @@ func DeepCopy_extensions_PodSecurityPolicySpec(in interface{}, out interface{}, if err := DeepCopy_extensions_FSGroupStrategyOptions(&in.FSGroup, &out.FSGroup, c); err != nil { return err } - out.ReadOnlyRootFilesystem = in.ReadOnlyRootFilesystem return nil } } @@ -845,7 +766,7 @@ func DeepCopy_extensions_ReplicaSet(in interface{}, out interface{}, c *conversi { in := in.(*ReplicaSet) out := out.(*ReplicaSet) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -863,11 +784,8 @@ func DeepCopy_extensions_ReplicaSetCondition(in interface{}, out interface{}, c { in := in.(*ReplicaSetCondition) out := out.(*ReplicaSetCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -876,8 +794,7 @@ func DeepCopy_extensions_ReplicaSetList(in interface{}, out interface{}, c *conv { in := in.(*ReplicaSetList) out := out.(*ReplicaSetList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ReplicaSet, len(*in)) @@ -886,8 +803,6 @@ func DeepCopy_extensions_ReplicaSetList(in interface{}, out interface{}, c *conv return err } } - } else { - out.Items = nil } return nil } @@ -897,16 +812,14 @@ func DeepCopy_extensions_ReplicaSetSpec(in interface{}, out interface{}, c *conv { in := in.(*ReplicaSetSpec) out := out.(*ReplicaSetSpec) - out.Replicas = in.Replicas - out.MinReadySeconds = in.MinReadySeconds + *out = *in if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(v1.LabelSelector) - if err := v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*v1.LabelSelector) } - } else { - out.Selector = nil } if err := api.DeepCopy_api_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err @@ -919,11 +832,7 @@ func DeepCopy_extensions_ReplicaSetStatus(in interface{}, out interface{}, c *co { in := in.(*ReplicaSetStatus) out := out.(*ReplicaSetStatus) - out.Replicas = in.Replicas - out.FullyLabeledReplicas = in.FullyLabeledReplicas - out.ReadyReplicas = in.ReadyReplicas - out.AvailableReplicas = in.AvailableReplicas - out.ObservedGeneration = in.ObservedGeneration + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]ReplicaSetCondition, len(*in)) @@ -932,8 +841,6 @@ func DeepCopy_extensions_ReplicaSetStatus(in interface{}, out interface{}, c *co return err } } - } else { - out.Conditions = nil } return nil } @@ -943,7 +850,7 @@ func DeepCopy_extensions_ReplicationControllerDummy(in interface{}, out interfac { in := in.(*ReplicationControllerDummy) out := out.(*ReplicationControllerDummy) - out.TypeMeta = in.TypeMeta + *out = *in return nil } } @@ -952,7 +859,7 @@ func DeepCopy_extensions_RollbackConfig(in interface{}, out interface{}, c *conv { in := in.(*RollbackConfig) out := out.(*RollbackConfig) - out.Revision = in.Revision + *out = *in return nil } } @@ -961,8 +868,7 @@ func DeepCopy_extensions_RollingUpdateDeployment(in interface{}, out interface{} { in := in.(*RollingUpdateDeployment) out := out.(*RollingUpdateDeployment) - out.MaxUnavailable = in.MaxUnavailable - out.MaxSurge = in.MaxSurge + *out = *in return nil } } @@ -971,15 +877,13 @@ func DeepCopy_extensions_RunAsUserStrategyOptions(in interface{}, out interface{ { in := in.(*RunAsUserStrategyOptions) out := out.(*RunAsUserStrategyOptions) - out.Rule = in.Rule + *out = *in if in.Ranges != nil { in, out := &in.Ranges, &out.Ranges *out = make([]IDRange, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Ranges = nil } return nil } @@ -989,13 +893,11 @@ func DeepCopy_extensions_SELinuxStrategyOptions(in interface{}, out interface{}, { in := in.(*SELinuxStrategyOptions) out := out.(*SELinuxStrategyOptions) - out.Rule = in.Rule + *out = *in if in.SELinuxOptions != nil { in, out := &in.SELinuxOptions, &out.SELinuxOptions *out = new(api.SELinuxOptions) **out = **in - } else { - out.SELinuxOptions = nil } return nil } @@ -1005,11 +907,10 @@ func DeepCopy_extensions_Scale(in interface{}, out interface{}, c *conversion.Cl { in := in.(*Scale) out := out.(*Scale) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Spec = in.Spec if err := DeepCopy_extensions_ScaleStatus(&in.Status, &out.Status, c); err != nil { return err } @@ -1021,7 +922,7 @@ func DeepCopy_extensions_ScaleSpec(in interface{}, out interface{}, c *conversio { in := in.(*ScaleSpec) out := out.(*ScaleSpec) - out.Replicas = in.Replicas + *out = *in return nil } } @@ -1030,15 +931,14 @@ func DeepCopy_extensions_ScaleStatus(in interface{}, out interface{}, c *convers { in := in.(*ScaleStatus) out := out.(*ScaleStatus) - out.Replicas = in.Replicas + *out = *in if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(v1.LabelSelector) - if err := v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*v1.LabelSelector) } - } else { - out.Selector = nil } return nil } @@ -1048,15 +948,13 @@ func DeepCopy_extensions_SupplementalGroupsStrategyOptions(in interface{}, out i { in := in.(*SupplementalGroupsStrategyOptions) out := out.(*SupplementalGroupsStrategyOptions) - out.Rule = in.Rule + *out = *in if in.Ranges != nil { in, out := &in.Ranges, &out.Ranges *out = make([]IDRange, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Ranges = nil } return nil } @@ -1066,19 +964,16 @@ func DeepCopy_extensions_ThirdPartyResource(in interface{}, out interface{}, c * { in := in.(*ThirdPartyResource) out := out.(*ThirdPartyResource) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Description = in.Description if in.Versions != nil { in, out := &in.Versions, &out.Versions *out = make([]APIVersion, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Versions = nil } return nil } @@ -1088,7 +983,7 @@ func DeepCopy_extensions_ThirdPartyResourceData(in interface{}, out interface{}, { in := in.(*ThirdPartyResourceData) out := out.(*ThirdPartyResourceData) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -1096,8 +991,6 @@ func DeepCopy_extensions_ThirdPartyResourceData(in interface{}, out interface{}, in, out := &in.Data, &out.Data *out = make([]byte, len(*in)) copy(*out, *in) - } else { - out.Data = nil } return nil } @@ -1107,8 +1000,7 @@ func DeepCopy_extensions_ThirdPartyResourceDataList(in interface{}, out interfac { in := in.(*ThirdPartyResourceDataList) out := out.(*ThirdPartyResourceDataList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ThirdPartyResourceData, len(*in)) @@ -1117,8 +1009,6 @@ func DeepCopy_extensions_ThirdPartyResourceDataList(in interface{}, out interfac return err } } - } else { - out.Items = nil } return nil } @@ -1128,8 +1018,7 @@ func DeepCopy_extensions_ThirdPartyResourceList(in interface{}, out interface{}, { in := in.(*ThirdPartyResourceList) out := out.(*ThirdPartyResourceList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ThirdPartyResource, len(*in)) @@ -1138,8 +1027,6 @@ func DeepCopy_extensions_ThirdPartyResourceList(in interface{}, out interface{}, return err } } - } else { - out.Items = nil } return nil } diff --git a/pkg/apis/imagepolicy/install/install.go b/pkg/apis/imagepolicy/install/install.go index 113b24af..c1232e0c 100644 --- a/pkg/apis/imagepolicy/install/install.go +++ b/pkg/apis/imagepolicy/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/apimachinery/announced" "k8s.io/client-go/pkg/apis/imagepolicy" "k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1" - "k8s.io/client-go/pkg/util/sets" ) func init() { diff --git a/pkg/apis/imagepolicy/register.go b/pkg/apis/imagepolicy/register.go index 28eed175..0978171b 100644 --- a/pkg/apis/imagepolicy/register.go +++ b/pkg/apis/imagepolicy/register.go @@ -17,10 +17,10 @@ limitations under the License. package imagepolicy import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) // GroupName is the group name use in this package @@ -53,6 +53,6 @@ func addKnownTypes(scheme *runtime.Scheme) error { &ImageReview{}, ) - // versioned.AddToGroupVersion(scheme, SchemeGroupVersion) + // metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/apis/imagepolicy/types.go b/pkg/apis/imagepolicy/types.go index d5decfe0..4f99a865 100644 --- a/pkg/apis/imagepolicy/types.go +++ b/pkg/apis/imagepolicy/types.go @@ -17,8 +17,8 @@ limitations under the License. package imagepolicy import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // +genclient=true diff --git a/pkg/apis/imagepolicy/v1alpha1/generated.pb.go b/pkg/apis/imagepolicy/v1alpha1/generated.pb.go index f93321ac..f35a4929 100644 --- a/pkg/apis/imagepolicy/v1alpha1/generated.pb.go +++ b/pkg/apis/imagepolicy/v1alpha1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -114,6 +114,14 @@ func (m *ImageReview) MarshalTo(data []byte) (int, error) { return 0, err } i += n3 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n4, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n4 return i, nil } @@ -256,6 +264,8 @@ func (m *ImageReview) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -319,6 +329,7 @@ func (this *ImageReview) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ImageReviewSpec", "ImageReviewSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ImageReviewStatus", "ImageReviewStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -493,6 +504,36 @@ func (m *ImageReview) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1019,42 +1060,44 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 579 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x92, 0x4f, 0x6f, 0xd3, 0x3e, - 0x18, 0xc7, 0x9b, 0x76, 0xff, 0xea, 0xfe, 0x7e, 0x6c, 0x33, 0x1c, 0xa2, 0x1e, 0xb2, 0xa9, 0x48, - 0x68, 0x20, 0x66, 0xab, 0x13, 0x87, 0x89, 0x03, 0x63, 0x41, 0x1c, 0x76, 0x00, 0x84, 0xb9, 0x20, - 0x6e, 0x6e, 0xf6, 0x2c, 0xcb, 0x9a, 0xd8, 0x51, 0xec, 0x74, 0xda, 0x01, 0x89, 0x23, 0x07, 0x0e, - 0xbc, 0x1b, 0xde, 0x42, 0x8f, 0x3b, 0x72, 0x9a, 0x68, 0x79, 0x23, 0x28, 0x4e, 0xba, 0x84, 0xfe, - 0x99, 0x84, 0x7a, 0xf3, 0xe3, 0xc7, 0xdf, 0xcf, 0xf7, 0x6b, 0x3f, 0x46, 0x47, 0xfd, 0x43, 0x45, - 0x02, 0x49, 0xfb, 0x69, 0x0f, 0x12, 0x01, 0x1a, 0x14, 0x8d, 0xfb, 0x3e, 0xe5, 0x71, 0xa0, 0x68, - 0x10, 0x71, 0x1f, 0x62, 0x19, 0x06, 0xde, 0x15, 0x1d, 0x74, 0x79, 0x18, 0x9f, 0xf3, 0x2e, 0xf5, - 0x41, 0x40, 0xc2, 0x35, 0x9c, 0x92, 0x38, 0x91, 0x5a, 0x62, 0x9a, 0x03, 0x48, 0x09, 0x20, 0x71, - 0xdf, 0x27, 0x19, 0x80, 0x54, 0x00, 0x64, 0x02, 0x68, 0xef, 0xfb, 0x81, 0x3e, 0x4f, 0x7b, 0xc4, - 0x93, 0x11, 0xf5, 0xa5, 0x2f, 0xa9, 0xe1, 0xf4, 0xd2, 0x33, 0x53, 0x99, 0xc2, 0xac, 0x72, 0x7e, - 0xfb, 0x60, 0x61, 0x40, 0x9a, 0x80, 0x92, 0x69, 0xe2, 0xc1, 0x74, 0xa6, 0xf6, 0xd3, 0xc5, 0x9a, - 0xc1, 0xcc, 0x0d, 0xee, 0x70, 0x50, 0x34, 0x02, 0xcd, 0xe7, 0x69, 0xf6, 0xe7, 0x6b, 0x92, 0x54, - 0xe8, 0x20, 0x9a, 0x0d, 0xf4, 0xec, 0xee, 0xe3, 0xca, 0x3b, 0x87, 0x88, 0xcf, 0xa8, 0xba, 0xf3, - 0x55, 0xa9, 0x0e, 0x42, 0x1a, 0x08, 0xad, 0x74, 0x32, 0x2d, 0xe9, 0xfc, 0xa8, 0xa3, 0xd6, 0x49, - 0xf6, 0xea, 0x0c, 0x06, 0x01, 0x5c, 0xe2, 0x8f, 0x68, 0x23, 0xbb, 0xc2, 0x29, 0xd7, 0xdc, 0xb6, - 0x76, 0xad, 0xbd, 0xd6, 0xc1, 0x1e, 0x59, 0x38, 0x30, 0x32, 0xe8, 0x92, 0x77, 0xbd, 0x0b, 0xf0, - 0xf4, 0x1b, 0xd0, 0xdc, 0xc5, 0xc3, 0x9b, 0x9d, 0xda, 0xf8, 0x66, 0x07, 0x95, 0x7b, 0xec, 0x96, - 0x86, 0x7b, 0x68, 0x45, 0xc5, 0xe0, 0xd9, 0x75, 0x43, 0x7d, 0x49, 0xfe, 0xf1, 0x1b, 0x90, 0x4a, - 0xca, 0x0f, 0x31, 0x78, 0xee, 0x7f, 0x85, 0xdb, 0x4a, 0x56, 0x31, 0xc3, 0xc6, 0x17, 0x68, 0x4d, - 0x69, 0xae, 0x53, 0x65, 0x37, 0x8c, 0x8b, 0xbb, 0x94, 0x8b, 0x21, 0xb9, 0xf7, 0x0a, 0x9f, 0xb5, - 0xbc, 0x66, 0x85, 0x43, 0xe7, 0x08, 0xd9, 0x95, 0xc3, 0xaf, 0xa4, 0xd0, 0x3c, 0x10, 0x90, 0x64, - 0x69, 0xf0, 0x43, 0xb4, 0x6a, 0xe8, 0xe6, 0x09, 0x9b, 0xee, 0xff, 0x05, 0x62, 0x35, 0x17, 0xe4, - 0xbd, 0xce, 0xb7, 0x06, 0xda, 0x9c, 0xba, 0x14, 0xfe, 0x8c, 0x90, 0x37, 0x21, 0x29, 0xdb, 0xda, - 0x6d, 0xec, 0xb5, 0x0e, 0x4e, 0x96, 0xb9, 0xc4, 0x5f, 0xb9, 0xca, 0x09, 0xdd, 0x6e, 0x2b, 0x56, - 0x31, 0xc4, 0x5f, 0x2d, 0xd4, 0xe2, 0x42, 0x48, 0xcd, 0x75, 0x20, 0x85, 0xb2, 0xeb, 0x26, 0xc0, - 0xfb, 0x65, 0x67, 0x45, 0x8e, 0x4b, 0xe6, 0x6b, 0xa1, 0x93, 0x2b, 0xf7, 0x7e, 0x11, 0xa4, 0x55, - 0xe9, 0xb0, 0xaa, 0x35, 0xa6, 0xa8, 0x29, 0x78, 0x04, 0x2a, 0xe6, 0x1e, 0x98, 0x69, 0x36, 0xdd, - 0xed, 0x42, 0xd4, 0x7c, 0x3b, 0x69, 0xb0, 0xf2, 0x4c, 0xfb, 0x05, 0xda, 0x9a, 0xb6, 0xc1, 0x5b, - 0xa8, 0xd1, 0x87, 0xab, 0x7c, 0x0a, 0x2c, 0x5b, 0xe2, 0x07, 0x68, 0x75, 0xc0, 0xc3, 0x14, 0xcc, - 0x37, 0x6c, 0xb2, 0xbc, 0x78, 0x5e, 0x3f, 0xb4, 0x3a, 0x67, 0x68, 0x7b, 0x66, 0xf8, 0xf8, 0x31, - 0x5a, 0xe7, 0x61, 0x28, 0x2f, 0xe1, 0xd4, 0x40, 0x36, 0xdc, 0xcd, 0x22, 0xc3, 0xfa, 0x71, 0xbe, - 0xcd, 0x26, 0x7d, 0xfc, 0x08, 0xad, 0x25, 0xc0, 0x95, 0x14, 0x39, 0xba, 0xfc, 0x37, 0xcc, 0xec, - 0xb2, 0xa2, 0xeb, 0x3e, 0x19, 0x8e, 0x9c, 0xda, 0xf5, 0xc8, 0xa9, 0xfd, 0x1c, 0x39, 0xb5, 0x2f, - 0x63, 0xc7, 0x1a, 0x8e, 0x1d, 0xeb, 0x7a, 0xec, 0x58, 0xbf, 0xc6, 0x8e, 0xf5, 0xfd, 0xb7, 0x53, - 0xfb, 0xb4, 0x31, 0x79, 0xc7, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x06, 0xba, 0x95, 0xb5, 0x6d, - 0x05, 0x00, 0x00, + // 622 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x92, 0xbf, 0x6f, 0xd3, 0x40, + 0x14, 0xc7, 0xe3, 0xa6, 0x3f, 0x92, 0x0b, 0xd0, 0xf6, 0x60, 0xb0, 0x32, 0xb8, 0x55, 0x90, 0x50, + 0x41, 0x70, 0xa7, 0x54, 0x08, 0x55, 0x0c, 0x94, 0x1a, 0x31, 0x74, 0x00, 0xc4, 0xc1, 0x80, 0x10, + 0xcb, 0xc5, 0x7d, 0x75, 0xdc, 0xd8, 0x77, 0x96, 0xef, 0x9c, 0x2a, 0x03, 0x12, 0x23, 0x03, 0x03, + 0x0b, 0xff, 0x53, 0xc7, 0x8e, 0x4c, 0x15, 0x0d, 0xff, 0x08, 0xf2, 0xd9, 0xae, 0x4d, 0xd3, 0x08, + 0xa1, 0x6e, 0xbe, 0xf7, 0xfc, 0xfd, 0x7c, 0xbf, 0xf7, 0xee, 0xa1, 0xdd, 0xd1, 0x8e, 0x22, 0x81, + 0xa4, 0xa3, 0x74, 0x00, 0x89, 0x00, 0x0d, 0x8a, 0xc6, 0x23, 0x9f, 0xf2, 0x38, 0x50, 0x34, 0x88, + 0xb8, 0x0f, 0xb1, 0x0c, 0x03, 0x6f, 0x42, 0xc7, 0x7d, 0x1e, 0xc6, 0x43, 0xde, 0xa7, 0x3e, 0x08, + 0x48, 0xb8, 0x86, 0x03, 0x12, 0x27, 0x52, 0x4b, 0x4c, 0x73, 0x00, 0xa9, 0x00, 0x24, 0x1e, 0xf9, + 0x24, 0x03, 0x90, 0x1a, 0x80, 0x94, 0x80, 0xee, 0x23, 0x3f, 0xd0, 0xc3, 0x74, 0x40, 0x3c, 0x19, + 0x51, 0x5f, 0xfa, 0x92, 0x1a, 0xce, 0x20, 0x3d, 0x34, 0x27, 0x73, 0x30, 0x5f, 0x39, 0xbf, 0xfb, + 0xb8, 0x08, 0xc8, 0xe3, 0x20, 0xe2, 0xde, 0x30, 0x10, 0x90, 0x4c, 0xaa, 0x88, 0x11, 0x68, 0x4e, + 0xc7, 0x33, 0xa9, 0xba, 0x74, 0x9e, 0x2a, 0x49, 0x85, 0x0e, 0x22, 0x98, 0x11, 0x3c, 0xf9, 0x97, + 0x40, 0x79, 0x43, 0x88, 0xf8, 0x8c, 0x6e, 0x7b, 0xee, 0xfc, 0x68, 0x02, 0x4a, 0xa6, 0x89, 0x37, + 0xeb, 0xf5, 0x70, 0xbe, 0xe6, 0x8a, 0xab, 0xf4, 0xaf, 0xfe, 0x3b, 0xd5, 0x41, 0x48, 0x03, 0xa1, + 0x95, 0x4e, 0x2e, 0x4b, 0x7a, 0x3f, 0x9a, 0xa8, 0xb3, 0x9f, 0xcd, 0x9e, 0xc1, 0x38, 0x80, 0x63, + 0xfc, 0x01, 0xb5, 0xb2, 0x41, 0x1d, 0x70, 0xcd, 0x6d, 0x6b, 0xd3, 0xda, 0xea, 0x6c, 0x6f, 0x91, + 0xb9, 0xcf, 0x46, 0xc6, 0x7d, 0xf2, 0x66, 0x70, 0x04, 0x9e, 0x7e, 0x05, 0x9a, 0xbb, 0xf8, 0xe4, + 0x6c, 0xa3, 0x31, 0x3d, 0xdb, 0x40, 0x55, 0x8d, 0x5d, 0xd0, 0xf0, 0x00, 0x2d, 0xaa, 0x18, 0x3c, + 0x7b, 0xc1, 0x50, 0x9f, 0x93, 0xff, 0x5c, 0x06, 0x52, 0x4b, 0xf9, 0x2e, 0x06, 0xcf, 0xbd, 0x51, + 0xb8, 0x2d, 0x66, 0x27, 0x66, 0xd8, 0xf8, 0x08, 0x2d, 0x2b, 0xcd, 0x75, 0xaa, 0xec, 0xa6, 0x71, + 0x71, 0xaf, 0xe5, 0x62, 0x48, 0xee, 0xad, 0xc2, 0x67, 0x39, 0x3f, 0xb3, 0xc2, 0x01, 0x7f, 0x42, + 0x2d, 0x3d, 0x89, 0x21, 0xbb, 0xa5, 0xbd, 0x68, 0xdc, 0x48, 0xe9, 0x56, 0xdf, 0x8c, 0xca, 0x2f, + 0x9b, 0x44, 0x36, 0xb1, 0xf7, 0x85, 0xca, 0x5d, 0x2b, 0xc8, 0xad, 0xb2, 0xc2, 0x2e, 0x88, 0xbd, + 0x5d, 0x64, 0xd7, 0xa2, 0xbc, 0x90, 0x42, 0xf3, 0x0c, 0x97, 0xdd, 0x15, 0xdf, 0x45, 0x4b, 0x26, + 0xbb, 0x79, 0xa0, 0xb6, 0x7b, 0xb3, 0xc0, 0x2c, 0xe5, 0x82, 0xbc, 0xd7, 0xfb, 0xd6, 0x44, 0xab, + 0x97, 0x46, 0x86, 0x3f, 0x23, 0xe4, 0x95, 0x24, 0x65, 0x5b, 0x9b, 0xcd, 0xad, 0xce, 0xf6, 0xfe, + 0x75, 0x46, 0xf4, 0x57, 0xae, 0xea, 0xfd, 0x2f, 0xca, 0x8a, 0xd5, 0x0c, 0xf1, 0x57, 0x0b, 0x75, + 0xb8, 0x10, 0x52, 0x73, 0x1d, 0x48, 0xa1, 0xec, 0x05, 0x13, 0xe0, 0xed, 0x75, 0x37, 0x81, 0xec, + 0x55, 0xcc, 0x97, 0x42, 0x27, 0x13, 0xf7, 0x76, 0x11, 0xa4, 0x53, 0xeb, 0xb0, 0xba, 0x35, 0xa6, + 0xa8, 0x2d, 0x78, 0x04, 0x2a, 0xe6, 0x1e, 0x98, 0x5d, 0x69, 0xbb, 0xeb, 0x85, 0xa8, 0xfd, 0xba, + 0x6c, 0xb0, 0xea, 0x9f, 0xee, 0x33, 0xb4, 0x76, 0xd9, 0x06, 0xaf, 0xa1, 0xe6, 0x08, 0x26, 0xf9, + 0x2b, 0xb0, 0xec, 0x13, 0xdf, 0x41, 0x4b, 0x63, 0x1e, 0xa6, 0x60, 0x96, 0xbc, 0xcd, 0xf2, 0xc3, + 0xd3, 0x85, 0x1d, 0xab, 0x77, 0x88, 0xd6, 0x67, 0x56, 0x0b, 0xdf, 0x47, 0x2b, 0x3c, 0x0c, 0xe5, + 0x31, 0x1c, 0x18, 0x48, 0xcb, 0x5d, 0x2d, 0x32, 0xac, 0xec, 0xe5, 0x65, 0x56, 0xf6, 0xf1, 0x3d, + 0xb4, 0x9c, 0x00, 0x57, 0x52, 0xe4, 0xe8, 0x6a, 0x2b, 0x99, 0xa9, 0xb2, 0xa2, 0xeb, 0x3e, 0x38, + 0x39, 0x77, 0x1a, 0xa7, 0xe7, 0x4e, 0xe3, 0xe7, 0xb9, 0xd3, 0xf8, 0x32, 0x75, 0xac, 0x93, 0xa9, + 0x63, 0x9d, 0x4e, 0x1d, 0xeb, 0xd7, 0xd4, 0xb1, 0xbe, 0xff, 0x76, 0x1a, 0x1f, 0x5b, 0xe5, 0x1c, + 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x46, 0xf3, 0x4f, 0x24, 0xd1, 0x05, 0x00, 0x00, } diff --git a/pkg/apis/imagepolicy/v1alpha1/generated.proto b/pkg/apis/imagepolicy/v1alpha1/generated.proto index 963c5ab2..e3c32199 100644 --- a/pkg/apis/imagepolicy/v1alpha1/generated.proto +++ b/pkg/apis/imagepolicy/v1alpha1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.imagepolicy.v1alpha1; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". @@ -33,6 +33,8 @@ option go_package = "v1alpha1"; // ImageReview checks if the set of images in a pod are allowed. message ImageReview { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; diff --git a/pkg/apis/imagepolicy/v1alpha1/register.go b/pkg/apis/imagepolicy/v1alpha1/register.go index 638e5afd..be5112f5 100644 --- a/pkg/apis/imagepolicy/v1alpha1/register.go +++ b/pkg/apis/imagepolicy/v1alpha1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1alpha1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) // GroupName is the group name for this API. diff --git a/pkg/apis/imagepolicy/v1alpha1/types.generated.go b/pkg/apis/imagepolicy/v1alpha1/types.generated.go index eec7e9a5..ced3ba37 100644 --- a/pkg/apis/imagepolicy/v1alpha1/types.generated.go +++ b/pkg/apis/imagepolicy/v1alpha1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" + pkg1_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + pkg3_types "k8s.io/apimachinery/pkg/types" pkg2_v1 "k8s.io/client-go/pkg/api/v1" - pkg1_v1 "k8s.io/client-go/pkg/apis/meta/v1" - pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" @@ -63,9 +63,9 @@ func init() { panic(err) } if false { // reference the types, but skip this branch at build/run time - var v0 pkg2_v1.ObjectMeta - var v1 pkg1_v1.TypeMeta - var v2 pkg3_types.UID + var v0 pkg1_v1.TypeMeta + var v1 pkg3_types.UID + var v2 pkg2_v1.ObjectMeta var v3 time.Time _, _, _, _ = v0, v1, v2, v3 } @@ -168,26 +168,26 @@ func (x *ImageReview) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.ObjectMeta - yy11.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy13 := &x.Spec - yy13.CodecEncodeSelf(e) + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.Spec - yy14.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[4] { - yy16 := &x.Status - yy16.CodecEncodeSelf(e) + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -196,8 +196,8 @@ func (x *ImageReview) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.Status - yy17.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { @@ -213,25 +213,25 @@ func (x *ImageReview) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym18 := z.DecBinary() - _ = yym18 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct19 := r.ContainerType() - if yyct19 == codecSelferValueTypeMap1234 { - yyl19 := r.ReadMapStart() - if yyl19 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl19, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct19 == codecSelferValueTypeArray1234 { - yyl19 := r.ReadArrayStart() - if yyl19 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl19, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -243,12 +243,12 @@ func (x *ImageReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys20Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys20Slc - var yyhl20 bool = l >= 0 - for yyj20 := 0; ; yyj20++ { - if yyhl20 { - if yyj20 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -257,47 +257,59 @@ func (x *ImageReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys20Slc = r.DecodeBytes(yys20Slc, true, true) - yys20 := string(yys20Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys20 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv23 := &x.ObjectMeta - yyv23.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ImageReviewSpec{} } else { - yyv24 := &x.Spec - yyv24.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ImageReviewStatus{} } else { - yyv25 := &x.Status - yyv25.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys20) - } // end switch yys20 - } // end for yyj20 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -305,16 +317,16 @@ func (x *ImageReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj26 int - var yyb26 bool - var yyhl26 bool = l >= 0 - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -322,15 +334,21 @@ func (x *ImageReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -338,15 +356,21 @@ func (x *ImageReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -354,16 +378,16 @@ func (x *ImageReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv29 := &x.ObjectMeta - yyv29.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -371,16 +395,16 @@ func (x *ImageReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ImageReviewSpec{} } else { - yyv30 := &x.Spec - yyv30.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -388,21 +412,21 @@ func (x *ImageReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ImageReviewStatus{} } else { - yyv31 := &x.Status - yyv31.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj26++ - if yyhl26 { - yyb26 = yyj26 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb26 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb26 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj26-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -414,40 +438,40 @@ func (x *ImageReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym32 := z.EncBinary() - _ = yym32 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep33 := !z.EncBinary() - yy2arr33 := z.EncBasicHandle().StructToArray - var yyq33 [3]bool - _, _, _ = yysep33, yyq33, yy2arr33 - const yyr33 bool = false - yyq33[0] = len(x.Containers) != 0 - yyq33[1] = len(x.Annotations) != 0 - yyq33[2] = x.Namespace != "" - var yynn33 int - if yyr33 || yy2arr33 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Containers) != 0 + yyq2[1] = len(x.Annotations) != 0 + yyq2[2] = x.Namespace != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn33 = 0 - for _, b := range yyq33 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn33++ + yynn2++ } } - r.EncodeMapStart(yynn33) - yynn33 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[0] { + if yyq2[0] { if x.Containers == nil { r.EncodeNil() } else { - yym35 := z.EncBinary() - _ = yym35 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceImageReviewContainerSpec(([]ImageReviewContainerSpec)(x.Containers), e) @@ -457,15 +481,15 @@ func (x *ImageReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq33[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containers")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Containers == nil { r.EncodeNil() } else { - yym36 := z.EncBinary() - _ = yym36 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceImageReviewContainerSpec(([]ImageReviewContainerSpec)(x.Containers), e) @@ -473,14 +497,14 @@ func (x *ImageReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[1] { + if yyq2[1] { if x.Annotations == nil { r.EncodeNil() } else { - yym38 := z.EncBinary() - _ = yym38 + yym7 := z.EncBinary() + _ = yym7 if false { } else { z.F.EncMapStringStringV(x.Annotations, false, e) @@ -490,15 +514,15 @@ func (x *ImageReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq33[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("annotations")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Annotations == nil { r.EncodeNil() } else { - yym39 := z.EncBinary() - _ = yym39 + yym8 := z.EncBinary() + _ = yym8 if false { } else { z.F.EncMapStringStringV(x.Annotations, false, e) @@ -506,11 +530,11 @@ func (x *ImageReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq33[2] { - yym41 := z.EncBinary() - _ = yym41 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -519,19 +543,19 @@ func (x *ImageReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq33[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym42 := z.EncBinary() - _ = yym42 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr33 || yy2arr33 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -544,25 +568,25 @@ func (x *ImageReviewSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym43 := z.DecBinary() - _ = yym43 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct44 := r.ContainerType() - if yyct44 == codecSelferValueTypeMap1234 { - yyl44 := r.ReadMapStart() - if yyl44 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl44, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct44 == codecSelferValueTypeArray1234 { - yyl44 := r.ReadArrayStart() - if yyl44 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl44, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -574,12 +598,12 @@ func (x *ImageReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys45Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys45Slc - var yyhl45 bool = l >= 0 - for yyj45 := 0; ; yyj45++ { - if yyhl45 { - if yyj45 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -588,44 +612,50 @@ func (x *ImageReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys45Slc = r.DecodeBytes(yys45Slc, true, true) - yys45 := string(yys45Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys45 { + switch yys3 { case "containers": if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv46 := &x.Containers - yym47 := z.DecBinary() - _ = yym47 + yyv4 := &x.Containers + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceImageReviewContainerSpec((*[]ImageReviewContainerSpec)(yyv46), d) + h.decSliceImageReviewContainerSpec((*[]ImageReviewContainerSpec)(yyv4), d) } } case "annotations": if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv48 := &x.Annotations - yym49 := z.DecBinary() - _ = yym49 + yyv6 := &x.Annotations + yym7 := z.DecBinary() + _ = yym7 if false { } else { - z.F.DecMapStringStringX(yyv48, false, d) + z.F.DecMapStringStringX(yyv6, false, d) } } case "namespace": if r.TryDecodeAsNil() { x.Namespace = "" } else { - x.Namespace = string(r.DecodeString()) + yyv8 := &x.Namespace + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys45) - } // end switch yys45 - } // end for yyj45 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -633,16 +663,16 @@ func (x *ImageReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj51 int - var yyb51 bool - var yyhl51 bool = l >= 0 - yyj51++ - if yyhl51 { - yyb51 = yyj51 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb51 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb51 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -650,21 +680,21 @@ func (x *ImageReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv52 := &x.Containers - yym53 := z.DecBinary() - _ = yym53 + yyv11 := &x.Containers + yym12 := z.DecBinary() + _ = yym12 if false { } else { - h.decSliceImageReviewContainerSpec((*[]ImageReviewContainerSpec)(yyv52), d) + h.decSliceImageReviewContainerSpec((*[]ImageReviewContainerSpec)(yyv11), d) } } - yyj51++ - if yyhl51 { - yyb51 = yyj51 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb51 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb51 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -672,21 +702,21 @@ func (x *ImageReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv54 := &x.Annotations - yym55 := z.DecBinary() - _ = yym55 + yyv13 := &x.Annotations + yym14 := z.DecBinary() + _ = yym14 if false { } else { - z.F.DecMapStringStringX(yyv54, false, d) + z.F.DecMapStringStringX(yyv13, false, d) } } - yyj51++ - if yyhl51 { - yyb51 = yyj51 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb51 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb51 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -694,20 +724,26 @@ func (x *ImageReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Namespace = "" } else { - x.Namespace = string(r.DecodeString()) + yyv15 := &x.Namespace + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } for { - yyj51++ - if yyhl51 { - yyb51 = yyj51 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb51 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb51 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj51-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -719,35 +755,35 @@ func (x *ImageReviewContainerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym57 := z.EncBinary() - _ = yym57 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep58 := !z.EncBinary() - yy2arr58 := z.EncBasicHandle().StructToArray - var yyq58 [1]bool - _, _, _ = yysep58, yyq58, yy2arr58 - const yyr58 bool = false - yyq58[0] = x.Image != "" - var yynn58 int - if yyr58 || yy2arr58 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [1]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Image != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(1) } else { - yynn58 = 0 - for _, b := range yyq58 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn58++ + yynn2++ } } - r.EncodeMapStart(yynn58) - yynn58 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr58 || yy2arr58 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq58[0] { - yym60 := z.EncBinary() - _ = yym60 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -756,19 +792,19 @@ func (x *ImageReviewContainerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq58[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym61 := z.EncBinary() - _ = yym61 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } } - if yyr58 || yy2arr58 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -781,25 +817,25 @@ func (x *ImageReviewContainerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym62 := z.DecBinary() - _ = yym62 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct63 := r.ContainerType() - if yyct63 == codecSelferValueTypeMap1234 { - yyl63 := r.ReadMapStart() - if yyl63 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl63, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct63 == codecSelferValueTypeArray1234 { - yyl63 := r.ReadArrayStart() - if yyl63 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl63, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -811,12 +847,12 @@ func (x *ImageReviewContainerSpec) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys64Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys64Slc - var yyhl64 bool = l >= 0 - for yyj64 := 0; ; yyj64++ { - if yyhl64 { - if yyj64 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -825,20 +861,26 @@ func (x *ImageReviewContainerSpec) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys64Slc = r.DecodeBytes(yys64Slc, true, true) - yys64 := string(yys64Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys64 { + switch yys3 { case "image": if r.TryDecodeAsNil() { x.Image = "" } else { - x.Image = string(r.DecodeString()) + yyv4 := &x.Image + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys64) - } // end switch yys64 - } // end for yyj64 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -846,16 +888,16 @@ func (x *ImageReviewContainerSpec) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj66 int - var yyb66 bool - var yyhl66 bool = l >= 0 - yyj66++ - if yyhl66 { - yyb66 = yyj66 > l + var yyj6 int + var yyb6 bool + var yyhl6 bool = l >= 0 + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb66 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb66 { + if yyb6 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -863,20 +905,26 @@ func (x *ImageReviewContainerSpec) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Image = "" } else { - x.Image = string(r.DecodeString()) + yyv7 := &x.Image + yym8 := z.DecBinary() + _ = yym8 + if false { + } else { + *((*string)(yyv7)) = r.DecodeString() + } } for { - yyj66++ - if yyhl66 { - yyb66 = yyj66 > l + yyj6++ + if yyhl6 { + yyb6 = yyj6 > l } else { - yyb66 = r.CheckBreak() + yyb6 = r.CheckBreak() } - if yyb66 { + if yyb6 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj66-1, "") + z.DecStructFieldNotFound(yyj6-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -888,34 +936,34 @@ func (x *ImageReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym68 := z.EncBinary() - _ = yym68 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep69 := !z.EncBinary() - yy2arr69 := z.EncBasicHandle().StructToArray - var yyq69 [2]bool - _, _, _ = yysep69, yyq69, yy2arr69 - const yyr69 bool = false - yyq69[1] = x.Reason != "" - var yynn69 int - if yyr69 || yy2arr69 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.Reason != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(2) } else { - yynn69 = 1 - for _, b := range yyq69 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn69++ + yynn2++ } } - r.EncodeMapStart(yynn69) - yynn69 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr69 || yy2arr69 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym71 := z.EncBinary() - _ = yym71 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeBool(bool(x.Allowed)) @@ -924,18 +972,18 @@ func (x *ImageReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym72 := z.EncBinary() - _ = yym72 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeBool(bool(x.Allowed)) } } - if yyr69 || yy2arr69 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq69[1] { - yym74 := z.EncBinary() - _ = yym74 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -944,19 +992,19 @@ func (x *ImageReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq69[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym75 := z.EncBinary() - _ = yym75 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr69 || yy2arr69 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -969,25 +1017,25 @@ func (x *ImageReviewStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym76 := z.DecBinary() - _ = yym76 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct77 := r.ContainerType() - if yyct77 == codecSelferValueTypeMap1234 { - yyl77 := r.ReadMapStart() - if yyl77 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl77, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct77 == codecSelferValueTypeArray1234 { - yyl77 := r.ReadArrayStart() - if yyl77 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl77, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -999,12 +1047,12 @@ func (x *ImageReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys78Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys78Slc - var yyhl78 bool = l >= 0 - for yyj78 := 0; ; yyj78++ { - if yyhl78 { - if yyj78 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1013,26 +1061,38 @@ func (x *ImageReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys78Slc = r.DecodeBytes(yys78Slc, true, true) - yys78 := string(yys78Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys78 { + switch yys3 { case "allowed": if r.TryDecodeAsNil() { x.Allowed = false } else { - x.Allowed = bool(r.DecodeBool()) + yyv4 := &x.Allowed + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*bool)(yyv4)) = r.DecodeBool() + } } case "reason": if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv6 := &x.Reason + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys78) - } // end switch yys78 - } // end for yyj78 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1040,16 +1100,16 @@ func (x *ImageReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj81 int - var yyb81 bool - var yyhl81 bool = l >= 0 - yyj81++ - if yyhl81 { - yyb81 = yyj81 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb81 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb81 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1057,15 +1117,21 @@ func (x *ImageReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Allowed = false } else { - x.Allowed = bool(r.DecodeBool()) + yyv9 := &x.Allowed + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*bool)(yyv9)) = r.DecodeBool() + } } - yyj81++ - if yyhl81 { - yyb81 = yyj81 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb81 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb81 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1073,20 +1139,26 @@ func (x *ImageReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Reason = "" } else { - x.Reason = string(r.DecodeString()) + yyv11 := &x.Reason + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } for { - yyj81++ - if yyhl81 { - yyb81 = yyj81 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb81 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb81 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj81-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1096,10 +1168,10 @@ func (x codecSelfer1234) encSliceImageReviewContainerSpec(v []ImageReviewContain z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv84 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy85 := &yyv84 - yy85.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1109,83 +1181,86 @@ func (x codecSelfer1234) decSliceImageReviewContainerSpec(v *[]ImageReviewContai z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv86 := *v - yyh86, yyl86 := z.DecSliceHelperStart() - var yyc86 bool - if yyl86 == 0 { - if yyv86 == nil { - yyv86 = []ImageReviewContainerSpec{} - yyc86 = true - } else if len(yyv86) != 0 { - yyv86 = yyv86[:0] - yyc86 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ImageReviewContainerSpec{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl86 > 0 { - var yyrr86, yyrl86 int - var yyrt86 bool - if yyl86 > cap(yyv86) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg86 := len(yyv86) > 0 - yyv286 := yyv86 - yyrl86, yyrt86 = z.DecInferLen(yyl86, z.DecBasicHandle().MaxInitLen, 16) - if yyrt86 { - if yyrl86 <= cap(yyv86) { - yyv86 = yyv86[:yyrl86] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv86 = make([]ImageReviewContainerSpec, yyrl86) + yyv1 = make([]ImageReviewContainerSpec, yyrl1) } } else { - yyv86 = make([]ImageReviewContainerSpec, yyrl86) + yyv1 = make([]ImageReviewContainerSpec, yyrl1) } - yyc86 = true - yyrr86 = len(yyv86) - if yyrg86 { - copy(yyv86, yyv286) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl86 != len(yyv86) { - yyv86 = yyv86[:yyl86] - yyc86 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj86 := 0 - for ; yyj86 < yyrr86; yyj86++ { - yyh86.ElemContainerState(yyj86) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv86[yyj86] = ImageReviewContainerSpec{} + yyv1[yyj1] = ImageReviewContainerSpec{} } else { - yyv87 := &yyv86[yyj86] - yyv87.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt86 { - for ; yyj86 < yyl86; yyj86++ { - yyv86 = append(yyv86, ImageReviewContainerSpec{}) - yyh86.ElemContainerState(yyj86) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ImageReviewContainerSpec{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv86[yyj86] = ImageReviewContainerSpec{} + yyv1[yyj1] = ImageReviewContainerSpec{} } else { - yyv88 := &yyv86[yyj86] - yyv88.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj86 := 0 - for ; !r.CheckBreak(); yyj86++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj86 >= len(yyv86) { - yyv86 = append(yyv86, ImageReviewContainerSpec{}) // var yyz86 ImageReviewContainerSpec - yyc86 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ImageReviewContainerSpec{}) // var yyz1 ImageReviewContainerSpec + yyc1 = true } - yyh86.ElemContainerState(yyj86) - if yyj86 < len(yyv86) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv86[yyj86] = ImageReviewContainerSpec{} + yyv1[yyj1] = ImageReviewContainerSpec{} } else { - yyv89 := &yyv86[yyj86] - yyv89.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -1193,16 +1268,16 @@ func (x codecSelfer1234) decSliceImageReviewContainerSpec(v *[]ImageReviewContai } } - if yyj86 < len(yyv86) { - yyv86 = yyv86[:yyj86] - yyc86 = true - } else if yyj86 == 0 && yyv86 == nil { - yyv86 = []ImageReviewContainerSpec{} - yyc86 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ImageReviewContainerSpec{} + yyc1 = true } } - yyh86.End() - if yyc86 { - *v = yyv86 + yyh1.End() + if yyc1 { + *v = yyv1 } } diff --git a/pkg/apis/imagepolicy/v1alpha1/types.go b/pkg/apis/imagepolicy/v1alpha1/types.go index f6fc4623..40e7face 100644 --- a/pkg/apis/imagepolicy/v1alpha1/types.go +++ b/pkg/apis/imagepolicy/v1alpha1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1alpha1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // +genclient=true diff --git a/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go b/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go index d4d09036..0a35376c 100644 --- a/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package v1alpha1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" imagepolicy "k8s.io/client-go/pkg/apis/imagepolicy" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" unsafe "unsafe" ) diff --git a/pkg/apis/imagepolicy/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/imagepolicy/v1alpha1/zz_generated.deepcopy.go index ba5c19d2..9780190b 100644 --- a/pkg/apis/imagepolicy/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/imagepolicy/v1alpha1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package v1alpha1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -46,14 +46,13 @@ func DeepCopy_v1alpha1_ImageReview(in interface{}, out interface{}, c *conversio { in := in.(*ImageReview) out := out.(*ImageReview) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } if err := DeepCopy_v1alpha1_ImageReviewSpec(&in.Spec, &out.Spec, c); err != nil { return err } - out.Status = in.Status return nil } } @@ -62,7 +61,7 @@ func DeepCopy_v1alpha1_ImageReviewContainerSpec(in interface{}, out interface{}, { in := in.(*ImageReviewContainerSpec) out := out.(*ImageReviewContainerSpec) - out.Image = in.Image + *out = *in return nil } } @@ -71,14 +70,13 @@ func DeepCopy_v1alpha1_ImageReviewSpec(in interface{}, out interface{}, c *conve { in := in.(*ImageReviewSpec) out := out.(*ImageReviewSpec) + *out = *in if in.Containers != nil { in, out := &in.Containers, &out.Containers *out = make([]ImageReviewContainerSpec, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Containers = nil } if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -86,10 +84,7 @@ func DeepCopy_v1alpha1_ImageReviewSpec(in interface{}, out interface{}, c *conve for key, val := range *in { (*out)[key] = val } - } else { - out.Annotations = nil } - out.Namespace = in.Namespace return nil } } @@ -98,8 +93,7 @@ func DeepCopy_v1alpha1_ImageReviewStatus(in interface{}, out interface{}, c *con { in := in.(*ImageReviewStatus) out := out.(*ImageReviewStatus) - out.Allowed = in.Allowed - out.Reason = in.Reason + *out = *in return nil } } diff --git a/pkg/apis/imagepolicy/v1alpha1/zz_generated.defaults.go b/pkg/apis/imagepolicy/v1alpha1/zz_generated.defaults.go new file mode 100644 index 00000000..7e6df29d --- /dev/null +++ b/pkg/apis/imagepolicy/v1alpha1/zz_generated.defaults.go @@ -0,0 +1,32 @@ +// +build !ignore_autogenerated + +/* +Copyright 2017 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file was autogenerated by defaulter-gen. Do not edit it manually! + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// RegisterDefaults adds defaulters functions to the given scheme. +// Public to allow building arbitrary schemes. +// All generated defaulters are covering - they call all nested defaulters. +func RegisterDefaults(scheme *runtime.Scheme) error { + return nil +} diff --git a/pkg/apis/imagepolicy/zz_generated.deepcopy.go b/pkg/apis/imagepolicy/zz_generated.deepcopy.go index abe64ed7..8b514ebb 100644 --- a/pkg/apis/imagepolicy/zz_generated.deepcopy.go +++ b/pkg/apis/imagepolicy/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package imagepolicy import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -46,14 +46,13 @@ func DeepCopy_imagepolicy_ImageReview(in interface{}, out interface{}, c *conver { in := in.(*ImageReview) out := out.(*ImageReview) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } if err := DeepCopy_imagepolicy_ImageReviewSpec(&in.Spec, &out.Spec, c); err != nil { return err } - out.Status = in.Status return nil } } @@ -62,7 +61,7 @@ func DeepCopy_imagepolicy_ImageReviewContainerSpec(in interface{}, out interface { in := in.(*ImageReviewContainerSpec) out := out.(*ImageReviewContainerSpec) - out.Image = in.Image + *out = *in return nil } } @@ -71,14 +70,13 @@ func DeepCopy_imagepolicy_ImageReviewSpec(in interface{}, out interface{}, c *co { in := in.(*ImageReviewSpec) out := out.(*ImageReviewSpec) + *out = *in if in.Containers != nil { in, out := &in.Containers, &out.Containers *out = make([]ImageReviewContainerSpec, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Containers = nil } if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -86,10 +84,7 @@ func DeepCopy_imagepolicy_ImageReviewSpec(in interface{}, out interface{}, c *co for key, val := range *in { (*out)[key] = val } - } else { - out.Annotations = nil } - out.Namespace = in.Namespace return nil } } @@ -98,8 +93,7 @@ func DeepCopy_imagepolicy_ImageReviewStatus(in interface{}, out interface{}, c * { in := in.(*ImageReviewStatus) out := out.(*ImageReviewStatus) - out.Allowed = in.Allowed - out.Reason = in.Reason + *out = *in return nil } } diff --git a/pkg/apis/kubeadm/register.go b/pkg/apis/kubeadm/register.go index 7be954dc..22fdc0c4 100644 --- a/pkg/apis/kubeadm/register.go +++ b/pkg/apis/kubeadm/register.go @@ -17,10 +17,10 @@ limitations under the License. package kubeadm import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) // GroupName is the group name use in this package diff --git a/pkg/apis/kubeadm/types.go b/pkg/apis/kubeadm/types.go index 21adc505..f922bf0e 100644 --- a/pkg/apis/kubeadm/types.go +++ b/pkg/apis/kubeadm/types.go @@ -17,7 +17,7 @@ limitations under the License. package kubeadm import ( - metav1 "k8s.io/client-go/pkg/apis/meta/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) type EnvParams struct { diff --git a/pkg/apis/kubeadm/v1alpha1/defaults.go b/pkg/apis/kubeadm/v1alpha1/defaults.go index e5ad805c..f676020e 100644 --- a/pkg/apis/kubeadm/v1alpha1/defaults.go +++ b/pkg/apis/kubeadm/v1alpha1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" ) const ( @@ -52,4 +52,8 @@ func SetDefaults_MasterConfiguration(obj *MasterConfiguration) { if obj.Networking.DNSDomain == "" { obj.Networking.DNSDomain = DefaultServiceDNSDomain } + + if obj.Discovery.Token == nil && obj.Discovery.File == nil && obj.Discovery.HTTPS == nil { + obj.Discovery.Token = &TokenDiscovery{} + } } diff --git a/pkg/apis/kubeadm/v1alpha1/register.go b/pkg/apis/kubeadm/v1alpha1/register.go index 6a7df449..3d8d63a2 100644 --- a/pkg/apis/kubeadm/v1alpha1/register.go +++ b/pkg/apis/kubeadm/v1alpha1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1alpha1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) // GroupName is the group name use in this package diff --git a/pkg/apis/kubeadm/v1alpha1/types.go b/pkg/apis/kubeadm/v1alpha1/types.go index f8313ea1..cc26c3de 100644 --- a/pkg/apis/kubeadm/v1alpha1/types.go +++ b/pkg/apis/kubeadm/v1alpha1/types.go @@ -17,7 +17,7 @@ limitations under the License. package v1alpha1 import ( - metav1 "k8s.io/client-go/pkg/apis/meta/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) type MasterConfiguration struct { @@ -70,13 +70,6 @@ type Etcd struct { KeyFile string `json:"keyFile"` } -type Secrets struct { - GivenToken string `json:"givenToken"` // dot-separated `.` set by the user - TokenID string `json:"tokenID"` // optional on master side, will be generated if not specified - Token []byte `json:"token"` // optional on master side, will be generated if not specified - BearerToken string `json:"bearerToken"` // set based on Token -} - type NodeConfiguration struct { metav1.TypeMeta `json:",inline"` diff --git a/pkg/apis/kubeadm/v1alpha1/zz_generated.defaults.go b/pkg/apis/kubeadm/v1alpha1/zz_generated.defaults.go index 4bbc2077..808521b9 100644 --- a/pkg/apis/kubeadm/v1alpha1/zz_generated.defaults.go +++ b/pkg/apis/kubeadm/v1alpha1/zz_generated.defaults.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ limitations under the License. package v1alpha1 import ( - runtime "k8s.io/client-go/pkg/runtime" + runtime "k8s.io/apimachinery/pkg/runtime" ) // RegisterDefaults adds defaulters functions to the given scheme. diff --git a/pkg/apis/policy/register.go b/pkg/apis/policy/register.go index 27cb3140..9e867a80 100644 --- a/pkg/apis/policy/register.go +++ b/pkg/apis/policy/register.go @@ -17,9 +17,10 @@ limitations under the License. package policy import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) // GroupName is the group name use in this package @@ -47,9 +48,13 @@ var ( func addKnownTypes(scheme *runtime.Scheme) error { // TODO this gets cleaned up when the types are fixed scheme.AddKnownTypes(SchemeGroupVersion, + &api.ListOptions{}, + &api.DeleteOptions{}, + &metav1.ExportOptions{}, + &metav1.GetOptions{}, + &PodDisruptionBudget{}, &PodDisruptionBudgetList{}, - &api.ListOptions{}, &Eviction{}, ) return nil diff --git a/pkg/apis/policy/types.go b/pkg/apis/policy/types.go index 93e00a88..b8e74c5e 100644 --- a/pkg/apis/policy/types.go +++ b/pkg/apis/policy/types.go @@ -17,8 +17,8 @@ limitations under the License. package policy import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" "k8s.io/client-go/pkg/util/intstr" ) diff --git a/pkg/apis/policy/v1alpha1/register.go b/pkg/apis/policy/v1alpha1/register.go index aae5550e..ac924635 100644 --- a/pkg/apis/policy/v1alpha1/register.go +++ b/pkg/apis/policy/v1alpha1/register.go @@ -17,11 +17,10 @@ limitations under the License. package v1alpha1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package @@ -52,6 +51,6 @@ func addKnownTypes(scheme *runtime.Scheme) error { &metav1.GetOptions{}, ) // Add the watch version that applies - versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/apis/policy/v1alpha1/types.go b/pkg/apis/policy/v1alpha1/types.go index 5c3bcaec..5d38d5cf 100644 --- a/pkg/apis/policy/v1alpha1/types.go +++ b/pkg/apis/policy/v1alpha1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1alpha1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" "k8s.io/client-go/pkg/util/intstr" ) diff --git a/pkg/apis/policy/v1beta1/generated.pb.go b/pkg/apis/policy/v1beta1/generated.pb.go index 38ffeeba..decb44c2 100644 --- a/pkg/apis/policy/v1beta1/generated.pb.go +++ b/pkg/apis/policy/v1beta1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -37,8 +37,9 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" +import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1" -import k8s_io_kubernetes_pkg_apis_meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" import strings "strings" import reflect "reflect" @@ -117,6 +118,14 @@ func (m *Eviction) MarshalTo(data []byte) (int, error) { } i += n2 } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n3, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n3 return i, nil } @@ -138,27 +147,35 @@ func (m *PodDisruptionBudget) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n3, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n3 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n4, err := m.Spec.MarshalTo(data[i:]) + n4, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n4 - data[i] = 0x1a + data[i] = 0x12 i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n5, err := m.Status.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n5, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } i += n5 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n6, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n6 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n7, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n7 return i, nil } @@ -180,11 +197,11 @@ func (m *PodDisruptionBudgetList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n6, err := m.ListMeta.MarshalTo(data[i:]) + n8, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n6 + i += n8 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -197,6 +214,14 @@ func (m *PodDisruptionBudgetList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n9, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n9 return i, nil } @@ -218,20 +243,20 @@ func (m *PodDisruptionBudgetSpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.MinAvailable.Size())) - n7, err := m.MinAvailable.MarshalTo(data[i:]) + n10, err := m.MinAvailable.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n7 + i += n10 if m.Selector != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n8, err := m.Selector.MarshalTo(data[i:]) + n11, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n8 + i += n11 } return i, nil } @@ -269,11 +294,11 @@ func (m *PodDisruptionBudgetStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n9, err := (&v).MarshalTo(data[i:]) + n12, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n9 + i += n12 } } data[i] = 0x18 @@ -327,6 +352,8 @@ func (m *Eviction) Size() (n int) { l = m.DeleteOptions.Size() n += 1 + l + sovGenerated(uint64(l)) } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -339,6 +366,8 @@ func (m *PodDisruptionBudget) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -353,6 +382,8 @@ func (m *PodDisruptionBudgetList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -408,6 +439,7 @@ func (this *Eviction) String() string { s := strings.Join([]string{`&Eviction{`, `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `DeleteOptions:` + strings.Replace(fmt.Sprintf("%v", this.DeleteOptions), "DeleteOptions", "k8s_io_kubernetes_pkg_api_v1.DeleteOptions", 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -420,6 +452,7 @@ func (this *PodDisruptionBudget) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodDisruptionBudgetSpec", "PodDisruptionBudgetSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PodDisruptionBudgetStatus", "PodDisruptionBudgetStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -429,8 +462,9 @@ func (this *PodDisruptionBudgetList) String() string { return "nil" } s := strings.Join([]string{`&PodDisruptionBudgetList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodDisruptionBudget", "PodDisruptionBudget", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -441,7 +475,7 @@ func (this *PodDisruptionBudgetSpec) String() string { } s := strings.Join([]string{`&PodDisruptionBudgetSpec{`, `MinAvailable:` + strings.Replace(strings.Replace(this.MinAvailable.String(), "IntOrString", "k8s_io_kubernetes_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`, - `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector", 1) + `,`, + `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, `}`, }, "") return s @@ -455,7 +489,7 @@ func (this *PodDisruptionBudgetStatus) String() string { keysForDisruptedPods = append(keysForDisruptedPods, k) } github_com_gogo_protobuf_sortkeys.Strings(keysForDisruptedPods) - mapStringForDisruptedPods := "map[string]k8s_io_kubernetes_pkg_apis_meta_v1.Time{" + mapStringForDisruptedPods := "map[string]k8s_io_apimachinery_pkg_apis_meta_v1.Time{" for _, k := range keysForDisruptedPods { mapStringForDisruptedPods += fmt.Sprintf("%v: %v,", k, this.DisruptedPods[k]) } @@ -571,6 +605,36 @@ func (m *Eviction) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -711,6 +775,36 @@ func (m *PodDisruptionBudget) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -822,6 +916,36 @@ func (m *PodDisruptionBudgetList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -929,7 +1053,7 @@ func (m *PodDisruptionBudgetSpec) Unmarshal(data []byte) error { return io.ErrUnexpectedEOF } if m.Selector == nil { - m.Selector = &k8s_io_kubernetes_pkg_apis_meta_v1.LabelSelector{} + m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} } if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil { return err @@ -1110,13 +1234,13 @@ func (m *PodDisruptionBudgetStatus) Unmarshal(data []byte) error { if postmsgIndex > l { return io.ErrUnexpectedEOF } - mapvalue := &k8s_io_kubernetes_pkg_apis_meta_v1.Time{} + mapvalue := &k8s_io_apimachinery_pkg_apis_meta_v1.Time{} if err := mapvalue.Unmarshal(data[iNdEx:postmsgIndex]); err != nil { return err } iNdEx = postmsgIndex if m.DisruptedPods == nil { - m.DisruptedPods = make(map[string]k8s_io_kubernetes_pkg_apis_meta_v1.Time) + m.DisruptedPods = make(map[string]k8s_io_apimachinery_pkg_apis_meta_v1.Time) } m.DisruptedPods[mapkey] = *mapvalue iNdEx = postIndex @@ -1323,53 +1447,56 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 762 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x94, 0xcf, 0x6e, 0xdb, 0x46, - 0x10, 0xc6, 0x45, 0x4b, 0x72, 0xd5, 0xb5, 0x64, 0xb8, 0xdb, 0xba, 0x55, 0x05, 0x94, 0x2e, 0x74, - 0x92, 0x51, 0x7b, 0x09, 0x19, 0x3d, 0xb8, 0x3d, 0x18, 0x30, 0x2b, 0xa3, 0x75, 0x51, 0x43, 0x06, - 0x5d, 0xa0, 0x85, 0x7b, 0xe2, 0x9f, 0x29, 0xb5, 0x16, 0x45, 0x12, 0xbb, 0x4b, 0x25, 0xba, 0xe5, - 0x11, 0x72, 0xc8, 0x1b, 0xe5, 0x62, 0xe4, 0xe4, 0x63, 0x90, 0x83, 0x61, 0x2b, 0x8f, 0x90, 0x17, - 0x08, 0x48, 0xae, 0x64, 0x51, 0xa2, 0x04, 0x03, 0x4e, 0x6e, 0xdc, 0xdd, 0xf9, 0x7d, 0xdf, 0xcc, - 0xec, 0x2c, 0xd1, 0x2f, 0xfd, 0x43, 0x4e, 0x68, 0xa0, 0xf5, 0x23, 0x0b, 0x98, 0x0f, 0x02, 0xb8, - 0x16, 0xf6, 0x5d, 0xcd, 0x0c, 0x29, 0xd7, 0xc2, 0xc0, 0xa3, 0xf6, 0x48, 0x1b, 0xb6, 0x2d, 0x10, - 0x66, 0x5b, 0x73, 0xc1, 0x07, 0x66, 0x0a, 0x70, 0x48, 0xc8, 0x02, 0x11, 0xe0, 0xdd, 0x14, 0x25, - 0x0f, 0x28, 0x09, 0xfb, 0x2e, 0x89, 0x51, 0x92, 0xa2, 0x44, 0xa2, 0x8d, 0x7d, 0x97, 0x8a, 0x5e, - 0x64, 0x11, 0x3b, 0x18, 0x68, 0x6e, 0xe0, 0x06, 0x5a, 0xa2, 0x60, 0x45, 0xff, 0x27, 0xab, 0x64, - 0x91, 0x7c, 0xa5, 0xca, 0x8d, 0x83, 0xa5, 0x49, 0x69, 0x0c, 0x78, 0x10, 0x31, 0x1b, 0xe6, 0xb3, - 0x69, 0xec, 0x2d, 0x67, 0x86, 0x0b, 0xb9, 0xaf, 0x70, 0xe0, 0xda, 0x00, 0x84, 0x99, 0xc7, 0xec, - 0xe7, 0x33, 0x2c, 0xf2, 0x05, 0x1d, 0x2c, 0x26, 0xf4, 0xf3, 0xea, 0x70, 0x6e, 0xf7, 0x60, 0x60, - 0x2e, 0x50, 0xed, 0x7c, 0x2a, 0x12, 0xd4, 0xd3, 0xa8, 0x2f, 0xb8, 0x60, 0xf3, 0x48, 0xf3, 0x8d, - 0x82, 0x2a, 0x27, 0x43, 0x6a, 0x0b, 0x1a, 0xf8, 0xf8, 0x5f, 0x54, 0x89, 0xf3, 0x77, 0x4c, 0x61, - 0xd6, 0x95, 0x1f, 0x95, 0xd6, 0xc6, 0x41, 0x8b, 0x2c, 0xbd, 0x27, 0x32, 0x6c, 0x93, 0xae, 0x75, - 0x05, 0xb6, 0x38, 0x03, 0x61, 0xea, 0xf8, 0xfa, 0x76, 0xa7, 0x30, 0xbe, 0xdd, 0x41, 0x0f, 0x7b, - 0xc6, 0x54, 0x0d, 0x3b, 0xa8, 0xe6, 0x80, 0x07, 0x02, 0xba, 0x61, 0xec, 0xc4, 0xeb, 0x6b, 0x89, - 0xfc, 0x4f, 0xab, 0xe5, 0x3b, 0xb3, 0x88, 0xfe, 0xd5, 0xf8, 0x76, 0xa7, 0x96, 0xd9, 0x32, 0xb2, - 0xa2, 0xcd, 0xd7, 0x6b, 0xe8, 0xeb, 0xf3, 0xc0, 0xe9, 0x50, 0xce, 0xa2, 0x64, 0x4b, 0x8f, 0x1c, - 0x17, 0xc4, 0x67, 0xad, 0xab, 0xc4, 0x43, 0xb0, 0x65, 0x39, 0x3a, 0x79, 0xf4, 0x54, 0x93, 0x9c, - 0x3c, 0x2f, 0x42, 0xb0, 0xf5, 0xaa, 0xf4, 0x2b, 0xc5, 0x2b, 0x23, 0x51, 0xc7, 0x1e, 0x5a, 0xe7, - 0xc2, 0x14, 0x11, 0xaf, 0x17, 0x13, 0x9f, 0xce, 0x13, 0x7d, 0x12, 0x2d, 0x7d, 0x53, 0x3a, 0xad, - 0xa7, 0x6b, 0x43, 0x7a, 0x34, 0xdf, 0x29, 0xe8, 0xbb, 0x1c, 0xea, 0x2f, 0xca, 0x05, 0xbe, 0x5c, - 0xe8, 0xe4, 0xde, 0xaa, 0x5c, 0xe2, 0xd8, 0xb8, 0x9f, 0x31, 0x9b, 0x74, 0x73, 0x4b, 0x7a, 0x56, - 0x26, 0x3b, 0x33, 0xbd, 0xb4, 0x51, 0x99, 0x0a, 0x18, 0xc4, 0xb3, 0x51, 0x6c, 0x6d, 0x1c, 0x1c, - 0x3d, 0xad, 0x48, 0xbd, 0x26, 0xad, 0xca, 0xa7, 0xb1, 0xa8, 0x91, 0x6a, 0x37, 0xef, 0xf2, 0x8b, - 0x8b, 0x9b, 0x8d, 0x7b, 0xa8, 0x3a, 0xa0, 0xfe, 0xf1, 0xd0, 0xa4, 0x9e, 0x69, 0x79, 0x20, 0x0b, - 0x24, 0x4b, 0xf2, 0x88, 0x5f, 0x15, 0x49, 0x5f, 0x15, 0x39, 0xf5, 0x45, 0x97, 0x5d, 0x08, 0x46, - 0x7d, 0x57, 0xff, 0x46, 0xfa, 0x56, 0xcf, 0x66, 0xb4, 0x8c, 0x8c, 0x32, 0xfe, 0x0f, 0x55, 0x38, - 0x78, 0x60, 0x8b, 0x80, 0xc9, 0xd1, 0x69, 0x3f, 0xaa, 0x8d, 0xa6, 0x05, 0xde, 0x85, 0x04, 0xf5, - 0x6a, 0xdc, 0xc7, 0xc9, 0xca, 0x98, 0x0a, 0x36, 0x3f, 0x94, 0xd0, 0xf7, 0x4b, 0x6f, 0x1d, 0xff, - 0x89, 0x70, 0x60, 0x71, 0x60, 0x43, 0x70, 0x7e, 0x4f, 0xff, 0x05, 0x34, 0xf0, 0x93, 0x52, 0x8b, - 0x7a, 0x43, 0xa6, 0x8e, 0xbb, 0x0b, 0x11, 0x46, 0x0e, 0x85, 0x5f, 0x29, 0xa8, 0xe6, 0xa4, 0x36, - 0xe0, 0x9c, 0x07, 0xce, 0xe4, 0xea, 0xfe, 0xf9, 0x14, 0xf3, 0x49, 0x3a, 0xb3, 0xca, 0x27, 0xbe, - 0x60, 0x23, 0x7d, 0x5b, 0x26, 0x58, 0xcb, 0x9c, 0x19, 0xd9, 0x24, 0xf0, 0x19, 0xc2, 0xce, 0x54, - 0x92, 0x1f, 0x7b, 0x5e, 0xf0, 0x0c, 0x9c, 0xe4, 0xe9, 0x94, 0xf5, 0x1f, 0xa4, 0xc2, 0x76, 0xc6, - 0x77, 0x12, 0x64, 0xe4, 0x80, 0xf8, 0x08, 0x6d, 0xda, 0x11, 0x63, 0xe0, 0x8b, 0x3f, 0xc0, 0xf4, - 0x44, 0x6f, 0x54, 0x2f, 0x25, 0x52, 0xdf, 0x4a, 0xa9, 0xcd, 0xdf, 0x32, 0xa7, 0xc6, 0x5c, 0x74, - 0xcc, 0x3b, 0xc0, 0x29, 0x03, 0x67, 0xc2, 0x97, 0xb3, 0x7c, 0x27, 0x73, 0x6a, 0xcc, 0x45, 0xe3, - 0x43, 0x54, 0x85, 0xe7, 0x21, 0xd8, 0x93, 0x1e, 0xaf, 0x27, 0xf4, 0x74, 0xcc, 0x4e, 0x66, 0xce, - 0x8c, 0x4c, 0x64, 0xe3, 0x0a, 0xe1, 0xc5, 0x26, 0xe2, 0x2d, 0x54, 0xec, 0xc3, 0x28, 0xb9, 0xf2, - 0x2f, 0x8d, 0xf8, 0x13, 0x1f, 0xa1, 0xf2, 0xd0, 0xf4, 0x22, 0x90, 0xb3, 0xd8, 0x7a, 0xcc, 0x2c, - 0xfe, 0x4d, 0x07, 0x60, 0xa4, 0xd8, 0xaf, 0x6b, 0x87, 0x8a, 0xbe, 0x7b, 0x7d, 0xaf, 0x16, 0x6e, - 0xee, 0xd5, 0xc2, 0xdb, 0x7b, 0xb5, 0xf0, 0x62, 0xac, 0x2a, 0xd7, 0x63, 0x55, 0xb9, 0x19, 0xab, - 0xca, 0xdd, 0x58, 0x55, 0x5e, 0xbe, 0x57, 0x0b, 0x97, 0x5f, 0xc8, 0x2b, 0xff, 0x18, 0x00, 0x00, - 0xff, 0xff, 0xfa, 0x95, 0xd6, 0xdd, 0x37, 0x08, 0x00, 0x00, + // 808 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x94, 0xcd, 0x6e, 0x23, 0x45, + 0x10, 0xc7, 0x3d, 0x71, 0x1c, 0x4c, 0xaf, 0x1d, 0x2d, 0x0d, 0x0b, 0xc1, 0x12, 0x13, 0x94, 0x53, + 0x96, 0x8f, 0x1e, 0x39, 0x20, 0x14, 0x38, 0xac, 0xd8, 0xc1, 0x11, 0x2c, 0x22, 0xf2, 0xaa, 0x83, + 0x04, 0x42, 0x70, 0xe8, 0x99, 0x29, 0xc6, 0x8d, 0xe7, 0x4b, 0xdd, 0x3d, 0x06, 0xdf, 0x78, 0x04, + 0x0e, 0xbc, 0x00, 0x37, 0x9e, 0x81, 0x27, 0xc8, 0x71, 0x8f, 0x9c, 0x22, 0x62, 0x9e, 0x81, 0x3b, + 0xea, 0x99, 0x1e, 0xdb, 0xe3, 0x0f, 0xb0, 0xb4, 0xbb, 0xb7, 0xe9, 0xee, 0xfa, 0xfd, 0xff, 0xd5, + 0x55, 0xd5, 0x83, 0x3e, 0x1c, 0x9f, 0x4b, 0xc2, 0x53, 0x67, 0x9c, 0x7b, 0x20, 0x12, 0x50, 0x20, + 0x9d, 0x6c, 0x1c, 0x3a, 0x2c, 0xe3, 0xd2, 0xc9, 0xd2, 0x88, 0xfb, 0x53, 0x67, 0xd2, 0xf7, 0x40, + 0xb1, 0xbe, 0x13, 0x42, 0x02, 0x82, 0x29, 0x08, 0x48, 0x26, 0x52, 0x95, 0xe2, 0xfb, 0x25, 0x4a, + 0x16, 0x28, 0xc9, 0xc6, 0x21, 0xd1, 0x28, 0x29, 0x51, 0x62, 0xd0, 0xde, 0xbb, 0x21, 0x57, 0xa3, + 0xdc, 0x23, 0x7e, 0x1a, 0x3b, 0x61, 0x1a, 0xa6, 0x4e, 0xa1, 0xe0, 0xe5, 0xdf, 0x17, 0xab, 0x62, + 0x51, 0x7c, 0x95, 0xca, 0xbd, 0xf7, 0x4d, 0x52, 0x2c, 0xe3, 0x31, 0xf3, 0x47, 0x3c, 0x01, 0x31, + 0x5d, 0xa4, 0x15, 0x83, 0x62, 0xce, 0x64, 0x2d, 0x9f, 0x9e, 0xb3, 0x8d, 0x12, 0x79, 0xa2, 0x78, + 0x0c, 0x6b, 0xc0, 0x07, 0xff, 0x07, 0x48, 0x7f, 0x04, 0x31, 0x5b, 0xe3, 0xce, 0xb6, 0xd6, 0xcc, + 0x11, 0x20, 0xd3, 0x5c, 0xf8, 0xeb, 0x5e, 0xef, 0x6c, 0x67, 0x36, 0x5c, 0xa5, 0xbf, 0x39, 0x3a, + 0x57, 0x3c, 0x72, 0x78, 0xa2, 0xa4, 0x12, 0xab, 0xc8, 0xc9, 0xef, 0x7b, 0xa8, 0x7d, 0x31, 0xe1, + 0xbe, 0xe2, 0x69, 0x82, 0xbf, 0x46, 0x6d, 0x5d, 0xa5, 0x80, 0x29, 0x76, 0x64, 0xbd, 0x69, 0x9d, + 0xde, 0x39, 0x3b, 0x25, 0x5b, 0xbb, 0x45, 0x26, 0x7d, 0x32, 0xf4, 0x7e, 0x00, 0x5f, 0x5d, 0x82, + 0x62, 0x2e, 0xbe, 0xbe, 0x39, 0x6e, 0xcc, 0x6e, 0x8e, 0xd1, 0x62, 0x8f, 0xce, 0xd5, 0x70, 0x80, + 0xba, 0x01, 0x44, 0xa0, 0x60, 0x98, 0x69, 0x27, 0x79, 0xb4, 0x57, 0xc8, 0xbf, 0xfd, 0xdf, 0xf2, + 0x83, 0x65, 0xc4, 0x7d, 0x69, 0x76, 0x73, 0xdc, 0xad, 0x6d, 0xd1, 0xba, 0x28, 0xfe, 0x16, 0xb5, + 0xd5, 0x34, 0x03, 0xed, 0x7d, 0xd4, 0x2c, 0x0c, 0x48, 0x65, 0xb0, 0xdc, 0xac, 0xc5, 0xbc, 0xe9, + 0xfc, 0xb4, 0xd1, 0x97, 0x86, 0x72, 0xef, 0x9a, 0x5b, 0xb4, 0xab, 0x1d, 0x3a, 0x57, 0x3c, 0xf9, + 0xad, 0x89, 0x5e, 0x7e, 0x9c, 0x06, 0x03, 0x2e, 0x45, 0x5e, 0x18, 0xba, 0x79, 0x10, 0x82, 0x7a, + 0xae, 0x55, 0xdb, 0x97, 0x19, 0xf8, 0xa6, 0x58, 0x2e, 0xd9, 0xf9, 0xe5, 0x90, 0x0d, 0x79, 0x5e, + 0x65, 0xe0, 0xbb, 0x1d, 0xe3, 0xb7, 0xaf, 0x57, 0xb4, 0x50, 0xc7, 0x11, 0x3a, 0x90, 0x8a, 0xa9, + 0x5c, 0x9a, 0x9a, 0x0d, 0x9e, 0xd2, 0xa7, 0xd0, 0x72, 0x0f, 0x8d, 0xd3, 0x41, 0xb9, 0xa6, 0xc6, + 0xa3, 0xd6, 0xa3, 0xfd, 0x67, 0xde, 0xa3, 0x3f, 0xf6, 0xd0, 0x6b, 0x1b, 0x72, 0xfa, 0x82, 0x4b, + 0xa5, 0x9d, 0x57, 0xfa, 0xb4, 0xa3, 0xb3, 0xa6, 0xeb, 0xce, 0xd5, 0xce, 0x52, 0xaf, 0x7c, 0xd4, + 0xe2, 0x0a, 0x62, 0x3d, 0xd9, 0xcd, 0xd3, 0x3b, 0x67, 0x0f, 0x9e, 0xae, 0x88, 0x6e, 0xd7, 0x58, + 0xb5, 0x1e, 0x69, 0x51, 0x5a, 0x6a, 0x3f, 0xe7, 0x01, 0x9f, 0x59, 0x1b, 0x8b, 0xa7, 0x47, 0x05, + 0x8f, 0x50, 0x27, 0xe6, 0xc9, 0xc3, 0x09, 0xe3, 0x11, 0xf3, 0x22, 0x58, 0x2d, 0xe0, 0xca, 0x2d, + 0xf5, 0x1f, 0x87, 0x94, 0x7f, 0x1c, 0xf2, 0x28, 0x51, 0x43, 0x71, 0xa5, 0x04, 0x4f, 0x42, 0xf7, + 0x15, 0xe3, 0xde, 0xb9, 0x5c, 0xd2, 0xa2, 0x35, 0x65, 0xfc, 0x1d, 0x6a, 0x4b, 0x88, 0xc0, 0x57, + 0xa9, 0x30, 0x83, 0xff, 0xde, 0x8e, 0x6d, 0x62, 0x1e, 0x44, 0x57, 0x06, 0x75, 0x3b, 0xfa, 0x92, + 0xd5, 0x8a, 0xce, 0x25, 0x4f, 0xfe, 0xd9, 0x47, 0xaf, 0x6f, 0x9d, 0x5a, 0xfc, 0x39, 0xc2, 0xa9, + 0x27, 0x41, 0x4c, 0x20, 0xf8, 0xb4, 0xfc, 0x53, 0xf2, 0x34, 0x29, 0x2e, 0xdb, 0x74, 0x7b, 0x26, + 0x79, 0x3c, 0x5c, 0x8b, 0xa0, 0x1b, 0x28, 0xfc, 0xab, 0x85, 0xba, 0x41, 0x69, 0x03, 0xc1, 0xe3, + 0x34, 0xa8, 0x46, 0xe3, 0xab, 0x67, 0xf1, 0xbe, 0xc8, 0x60, 0x59, 0xf9, 0x22, 0x51, 0x62, 0xea, + 0xde, 0x33, 0x09, 0x76, 0x6b, 0x67, 0xb4, 0x9e, 0x04, 0xbe, 0x44, 0x38, 0x98, 0x4b, 0xca, 0x87, + 0x51, 0x94, 0xfe, 0x08, 0x41, 0x31, 0x4d, 0x2d, 0xf7, 0x0d, 0xa3, 0x70, 0xaf, 0xe6, 0x5b, 0x05, + 0xd1, 0x0d, 0x20, 0x7e, 0x80, 0x0e, 0xfd, 0x5c, 0x08, 0x48, 0xd4, 0x67, 0xc0, 0x22, 0x35, 0x9a, + 0x16, 0xaf, 0xba, 0xe5, 0xbe, 0x6a, 0xa4, 0x0e, 0x3f, 0xa9, 0x9d, 0xd2, 0x95, 0x68, 0xcd, 0x07, + 0x20, 0xb9, 0x80, 0xa0, 0xe2, 0x5b, 0x75, 0x7e, 0x50, 0x3b, 0xa5, 0x2b, 0xd1, 0xf8, 0x1c, 0x75, + 0xe0, 0xa7, 0x0c, 0xfc, 0xaa, 0xc6, 0x07, 0x05, 0x3d, 0x1f, 0xb4, 0x8b, 0xa5, 0x33, 0x5a, 0x8b, + 0xec, 0x45, 0x08, 0xaf, 0x17, 0x11, 0xdf, 0x45, 0xcd, 0x31, 0x4c, 0x8b, 0x96, 0xbf, 0x48, 0xf5, + 0x27, 0xfe, 0x18, 0xb5, 0x26, 0x2c, 0xca, 0xc1, 0x4c, 0xe3, 0x5b, 0x3b, 0xbe, 0x38, 0x1e, 0x03, + 0x2d, 0xc1, 0x8f, 0xf6, 0xce, 0x2d, 0xf7, 0xfe, 0xf5, 0xad, 0xdd, 0x78, 0x72, 0x6b, 0x37, 0xfe, + 0xbc, 0xb5, 0x1b, 0x3f, 0xcf, 0x6c, 0xeb, 0x7a, 0x66, 0x5b, 0x4f, 0x66, 0xb6, 0xf5, 0xd7, 0xcc, + 0xb6, 0x7e, 0xf9, 0xdb, 0x6e, 0x7c, 0xf3, 0x82, 0x69, 0xfa, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, + 0x82, 0xa3, 0x73, 0x1c, 0x5d, 0x09, 0x00, 0x00, } diff --git a/pkg/apis/policy/v1beta1/generated.proto b/pkg/apis/policy/v1beta1/generated.proto index c274ee4f..a6c08b5e 100644 --- a/pkg/apis/policy/v1beta1/generated.proto +++ b/pkg/apis/policy/v1beta1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.policy.v1beta1; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". @@ -35,6 +35,8 @@ option go_package = "v1beta1"; // This is a subresource of Pod. A request to cause such an eviction is // created by POSTing to .../pods//evictions. message Eviction { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // ObjectMeta describes the pod that is being evicted. optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -44,6 +46,8 @@ message Eviction { // PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods message PodDisruptionBudget { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; // Specification of the desired behavior of the PodDisruptionBudget. @@ -55,7 +59,9 @@ message PodDisruptionBudget { // PodDisruptionBudgetList is a collection of PodDisruptionBudgets. message PodDisruptionBudgetList { - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; repeated PodDisruptionBudget items = 2; } @@ -70,7 +76,7 @@ message PodDisruptionBudgetSpec { // Label query over pods whose evictions are managed by the disruption // budget. - optional k8s.io.kubernetes.pkg.apis.meta.v1.LabelSelector selector = 2; + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2; } // PodDisruptionBudgetStatus represents information about the status of a @@ -92,7 +98,7 @@ message PodDisruptionBudgetStatus { // the list automatically by PodDisruptionBudget controller after some time. // If everything goes smooth this map should be empty for the most of the time. // Large number of entries in the map may indicate problems with pod deletions. - map disruptedPods = 2; + map disruptedPods = 2; // Number of pod disruptions that are currently allowed. optional int32 disruptionsAllowed = 3; diff --git a/pkg/apis/policy/v1beta1/register.go b/pkg/apis/policy/v1beta1/register.go index 05c23659..eeef893a 100644 --- a/pkg/apis/policy/v1beta1/register.go +++ b/pkg/apis/policy/v1beta1/register.go @@ -17,11 +17,10 @@ limitations under the License. package v1beta1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package @@ -52,6 +51,6 @@ func addKnownTypes(scheme *runtime.Scheme) error { &metav1.GetOptions{}, ) // Add the watch version that applies - versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/apis/policy/v1beta1/types.generated.go b/pkg/apis/policy/v1beta1/types.generated.go index 864668fb..8cb0c12f 100644 --- a/pkg/apis/policy/v1beta1/types.generated.go +++ b/pkg/apis/policy/v1beta1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" + pkg2_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + pkg4_types "k8s.io/apimachinery/pkg/types" pkg3_v1 "k8s.io/client-go/pkg/api/v1" - pkg2_v1 "k8s.io/client-go/pkg/apis/meta/v1" - pkg4_types "k8s.io/client-go/pkg/types" pkg1_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" @@ -64,9 +64,9 @@ func init() { panic(err) } if false { // reference the types, but skip this branch at build/run time - var v0 pkg3_v1.ObjectMeta - var v1 pkg2_v1.LabelSelector - var v2 pkg4_types.UID + var v0 pkg2_v1.LabelSelector + var v1 pkg4_types.UID + var v2 pkg3_v1.ObjectMeta var v3 pkg1_intstr.IntOrString var v4 time.Time _, _, _, _, _ = v0, v1, v2, v3, v4 @@ -186,25 +186,25 @@ func (x *PodDisruptionBudgetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym11 := z.DecBinary() - _ = yym11 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct12 := r.ContainerType() - if yyct12 == codecSelferValueTypeMap1234 { - yyl12 := r.ReadMapStart() - if yyl12 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl12, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct12 == codecSelferValueTypeArray1234 { - yyl12 := r.ReadArrayStart() - if yyl12 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl12, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -216,12 +216,12 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys13Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys13Slc - var yyhl13 bool = l >= 0 - for yyj13 := 0; ; yyj13++ { - if yyhl13 { - if yyj13 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -230,23 +230,23 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys13Slc = r.DecodeBytes(yys13Slc, true, true) - yys13 := string(yys13Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys13 { + switch yys3 { case "minAvailable": if r.TryDecodeAsNil() { x.MinAvailable = pkg1_intstr.IntOrString{} } else { - yyv14 := &x.MinAvailable - yym15 := z.DecBinary() - _ = yym15 + yyv4 := &x.MinAvailable + yym5 := z.DecBinary() + _ = yym5 if false { - } else if z.HasExtensions() && z.DecExt(yyv14) { - } else if !yym15 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv14) + } else if z.HasExtensions() && z.DecExt(yyv4) { + } else if !yym5 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4) } else { - z.DecFallback(yyv14, false) + z.DecFallback(yyv4, false) } } case "selector": @@ -258,8 +258,8 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.Selector == nil { x.Selector = new(pkg2_v1.LabelSelector) } - yym17 := z.DecBinary() - _ = yym17 + yym7 := z.DecBinary() + _ = yym7 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -267,9 +267,9 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } default: - z.DecStructFieldNotFound(-1, yys13) - } // end switch yys13 - } // end for yyj13 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -277,16 +277,16 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj18 int - var yyb18 bool - var yyhl18 bool = l >= 0 - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb18 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb18 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -294,24 +294,24 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.MinAvailable = pkg1_intstr.IntOrString{} } else { - yyv19 := &x.MinAvailable - yym20 := z.DecBinary() - _ = yym20 + yyv9 := &x.MinAvailable + yym10 := z.DecBinary() + _ = yym10 if false { - } else if z.HasExtensions() && z.DecExt(yyv19) { - } else if !yym20 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv19) + } else if z.HasExtensions() && z.DecExt(yyv9) { + } else if !yym10 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv9) } else { - z.DecFallback(yyv19, false) + z.DecFallback(yyv9, false) } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb18 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb18 { + if yyb8 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -324,8 +324,8 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromArray(l int, d *codec1978.D if x.Selector == nil { x.Selector = new(pkg2_v1.LabelSelector) } - yym22 := z.DecBinary() - _ = yym22 + yym12 := z.DecBinary() + _ = yym12 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -333,17 +333,17 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromArray(l int, d *codec1978.D } } for { - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l } else { - yyb18 = r.CheckBreak() + yyb8 = r.CheckBreak() } - if yyb18 { + if yyb8 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj18-1, "") + z.DecStructFieldNotFound(yyj8-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -355,35 +355,35 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym23 := z.EncBinary() - _ = yym23 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep24 := !z.EncBinary() - yy2arr24 := z.EncBasicHandle().StructToArray - var yyq24 [6]bool - _, _, _ = yysep24, yyq24, yy2arr24 - const yyr24 bool = false - yyq24[0] = x.ObservedGeneration != 0 - var yynn24 int - if yyr24 || yy2arr24 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.ObservedGeneration != 0 + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(6) } else { - yynn24 = 5 - for _, b := range yyq24 { + yynn2 = 5 + for _, b := range yyq2 { if b { - yynn24++ + yynn2++ } } - r.EncodeMapStart(yynn24) - yynn24 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr24 || yy2arr24 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq24[0] { - yym26 := z.EncBinary() - _ = yym26 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -392,25 +392,25 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq24[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym27 := z.EncBinary() - _ = yym27 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr24 || yy2arr24 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.DisruptedPods == nil { r.EncodeNil() } else { - yym29 := z.EncBinary() - _ = yym29 + yym7 := z.EncBinary() + _ = yym7 if false { } else { h.encMapstringv1_Time((map[string]pkg2_v1.Time)(x.DisruptedPods), e) @@ -423,18 +423,18 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x.DisruptedPods == nil { r.EncodeNil() } else { - yym30 := z.EncBinary() - _ = yym30 + yym8 := z.EncBinary() + _ = yym8 if false { } else { h.encMapstringv1_Time((map[string]pkg2_v1.Time)(x.DisruptedPods), e) } } } - if yyr24 || yy2arr24 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym32 := z.EncBinary() - _ = yym32 + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeInt(int64(x.PodDisruptionsAllowed)) @@ -443,17 +443,17 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("disruptionsAllowed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym33 := z.EncBinary() - _ = yym33 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeInt(int64(x.PodDisruptionsAllowed)) } } - if yyr24 || yy2arr24 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym35 := z.EncBinary() - _ = yym35 + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeInt(int64(x.CurrentHealthy)) @@ -462,17 +462,17 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentHealthy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym36 := z.EncBinary() - _ = yym36 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeInt(int64(x.CurrentHealthy)) } } - if yyr24 || yy2arr24 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym38 := z.EncBinary() - _ = yym38 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeInt(int64(x.DesiredHealthy)) @@ -481,17 +481,17 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredHealthy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym39 := z.EncBinary() - _ = yym39 + yym17 := z.EncBinary() + _ = yym17 if false { } else { r.EncodeInt(int64(x.DesiredHealthy)) } } - if yyr24 || yy2arr24 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym41 := z.EncBinary() - _ = yym41 + yym19 := z.EncBinary() + _ = yym19 if false { } else { r.EncodeInt(int64(x.ExpectedPods)) @@ -500,14 +500,14 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("expectedPods")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym42 := z.EncBinary() - _ = yym42 + yym20 := z.EncBinary() + _ = yym20 if false { } else { r.EncodeInt(int64(x.ExpectedPods)) } } - if yyr24 || yy2arr24 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -520,25 +520,25 @@ func (x *PodDisruptionBudgetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym43 := z.DecBinary() - _ = yym43 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct44 := r.ContainerType() - if yyct44 == codecSelferValueTypeMap1234 { - yyl44 := r.ReadMapStart() - if yyl44 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl44, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct44 == codecSelferValueTypeArray1234 { - yyl44 := r.ReadArrayStart() - if yyl44 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl44, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -550,12 +550,12 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys45Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys45Slc - var yyhl45 bool = l >= 0 - for yyj45 := 0; ; yyj45++ { - if yyhl45 { - if yyj45 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -564,56 +564,86 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys45Slc = r.DecodeBytes(yys45Slc, true, true) - yys45 := string(yys45Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys45 { + switch yys3 { case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 } else { - x.ObservedGeneration = int64(r.DecodeInt(64)) + yyv4 := &x.ObservedGeneration + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*int64)(yyv4)) = int64(r.DecodeInt(64)) + } } case "disruptedPods": if r.TryDecodeAsNil() { x.DisruptedPods = nil } else { - yyv47 := &x.DisruptedPods - yym48 := z.DecBinary() - _ = yym48 + yyv6 := &x.DisruptedPods + yym7 := z.DecBinary() + _ = yym7 if false { } else { - h.decMapstringv1_Time((*map[string]pkg2_v1.Time)(yyv47), d) + h.decMapstringv1_Time((*map[string]pkg2_v1.Time)(yyv6), d) } } case "disruptionsAllowed": if r.TryDecodeAsNil() { x.PodDisruptionsAllowed = 0 } else { - x.PodDisruptionsAllowed = int32(r.DecodeInt(32)) + yyv8 := &x.PodDisruptionsAllowed + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*int32)(yyv8)) = int32(r.DecodeInt(32)) + } } case "currentHealthy": if r.TryDecodeAsNil() { x.CurrentHealthy = 0 } else { - x.CurrentHealthy = int32(r.DecodeInt(32)) + yyv10 := &x.CurrentHealthy + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*int32)(yyv10)) = int32(r.DecodeInt(32)) + } } case "desiredHealthy": if r.TryDecodeAsNil() { x.DesiredHealthy = 0 } else { - x.DesiredHealthy = int32(r.DecodeInt(32)) + yyv12 := &x.DesiredHealthy + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*int32)(yyv12)) = int32(r.DecodeInt(32)) + } } case "expectedPods": if r.TryDecodeAsNil() { x.ExpectedPods = 0 } else { - x.ExpectedPods = int32(r.DecodeInt(32)) + yyv14 := &x.ExpectedPods + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*int32)(yyv14)) = int32(r.DecodeInt(32)) + } } default: - z.DecStructFieldNotFound(-1, yys45) - } // end switch yys45 - } // end for yyj45 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -621,16 +651,16 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj53 int - var yyb53 bool - var yyhl53 bool = l >= 0 - yyj53++ - if yyhl53 { - yyb53 = yyj53 > l + var yyj16 int + var yyb16 bool + var yyhl16 bool = l >= 0 + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb53 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb53 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -638,15 +668,21 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ObservedGeneration = 0 } else { - x.ObservedGeneration = int64(r.DecodeInt(64)) + yyv17 := &x.ObservedGeneration + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*int64)(yyv17)) = int64(r.DecodeInt(64)) + } } - yyj53++ - if yyhl53 { - yyb53 = yyj53 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb53 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb53 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -654,21 +690,21 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.DisruptedPods = nil } else { - yyv55 := &x.DisruptedPods - yym56 := z.DecBinary() - _ = yym56 + yyv19 := &x.DisruptedPods + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decMapstringv1_Time((*map[string]pkg2_v1.Time)(yyv55), d) + h.decMapstringv1_Time((*map[string]pkg2_v1.Time)(yyv19), d) } } - yyj53++ - if yyhl53 { - yyb53 = yyj53 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb53 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb53 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -676,15 +712,21 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.PodDisruptionsAllowed = 0 } else { - x.PodDisruptionsAllowed = int32(r.DecodeInt(32)) + yyv21 := &x.PodDisruptionsAllowed + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*int32)(yyv21)) = int32(r.DecodeInt(32)) + } } - yyj53++ - if yyhl53 { - yyb53 = yyj53 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb53 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb53 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -692,15 +734,21 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.CurrentHealthy = 0 } else { - x.CurrentHealthy = int32(r.DecodeInt(32)) + yyv23 := &x.CurrentHealthy + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*int32)(yyv23)) = int32(r.DecodeInt(32)) + } } - yyj53++ - if yyhl53 { - yyb53 = yyj53 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb53 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb53 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -708,15 +756,21 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.DesiredHealthy = 0 } else { - x.DesiredHealthy = int32(r.DecodeInt(32)) + yyv25 := &x.DesiredHealthy + yym26 := z.DecBinary() + _ = yym26 + if false { + } else { + *((*int32)(yyv25)) = int32(r.DecodeInt(32)) + } } - yyj53++ - if yyhl53 { - yyb53 = yyj53 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb53 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb53 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -724,20 +778,26 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ExpectedPods = 0 } else { - x.ExpectedPods = int32(r.DecodeInt(32)) + yyv27 := &x.ExpectedPods + yym28 := z.DecBinary() + _ = yym28 + if false { + } else { + *((*int32)(yyv27)) = int32(r.DecodeInt(32)) + } } for { - yyj53++ - if yyhl53 { - yyb53 = yyj53 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb53 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb53 { + if yyb16 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj53-1, "") + z.DecStructFieldNotFound(yyj16-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -749,39 +809,39 @@ func (x *PodDisruptionBudget) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym61 := z.EncBinary() - _ = yym61 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep62 := !z.EncBinary() - yy2arr62 := z.EncBasicHandle().StructToArray - var yyq62 [5]bool - _, _, _ = yysep62, yyq62, yy2arr62 - const yyr62 bool = false - yyq62[0] = x.Kind != "" - yyq62[1] = x.APIVersion != "" - yyq62[2] = true - yyq62[3] = true - yyq62[4] = true - var yynn62 int - if yyr62 || yy2arr62 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn62 = 0 - for _, b := range yyq62 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn62++ + yynn2++ } } - r.EncodeMapStart(yynn62) - yynn62 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr62 || yy2arr62 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq62[0] { - yym64 := z.EncBinary() - _ = yym64 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -790,23 +850,23 @@ func (x *PodDisruptionBudget) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq62[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym65 := z.EncBinary() - _ = yym65 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr62 || yy2arr62 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq62[1] { - yym67 := z.EncBinary() - _ = yym67 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -815,70 +875,70 @@ func (x *PodDisruptionBudget) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq62[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym68 := z.EncBinary() - _ = yym68 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr62 || yy2arr62 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq62[2] { - yy70 := &x.ObjectMeta - yy70.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq62[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy71 := &x.ObjectMeta - yy71.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr62 || yy2arr62 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq62[3] { - yy73 := &x.Spec - yy73.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq62[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy74 := &x.Spec - yy74.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr62 || yy2arr62 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq62[4] { - yy76 := &x.Status - yy76.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq62[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy77 := &x.Status - yy77.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr62 || yy2arr62 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -891,25 +951,25 @@ func (x *PodDisruptionBudget) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym78 := z.DecBinary() - _ = yym78 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct79 := r.ContainerType() - if yyct79 == codecSelferValueTypeMap1234 { - yyl79 := r.ReadMapStart() - if yyl79 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl79, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct79 == codecSelferValueTypeArray1234 { - yyl79 := r.ReadArrayStart() - if yyl79 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl79, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -921,12 +981,12 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys80Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys80Slc - var yyhl80 bool = l >= 0 - for yyj80 := 0; ; yyj80++ { - if yyhl80 { - if yyj80 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -935,47 +995,59 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys80Slc = r.DecodeBytes(yys80Slc, true, true) - yys80 := string(yys80Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys80 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg3_v1.ObjectMeta{} } else { - yyv83 := &x.ObjectMeta - yyv83.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodDisruptionBudgetSpec{} } else { - yyv84 := &x.Spec - yyv84.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PodDisruptionBudgetStatus{} } else { - yyv85 := &x.Status - yyv85.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys80) - } // end switch yys80 - } // end for yyj80 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -983,16 +1055,16 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj86 int - var yyb86 bool - var yyhl86 bool = l >= 0 - yyj86++ - if yyhl86 { - yyb86 = yyj86 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb86 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb86 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1000,15 +1072,21 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj86++ - if yyhl86 { - yyb86 = yyj86 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb86 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb86 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1016,15 +1094,21 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj86++ - if yyhl86 { - yyb86 = yyj86 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb86 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb86 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1032,16 +1116,16 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ObjectMeta = pkg3_v1.ObjectMeta{} } else { - yyv89 := &x.ObjectMeta - yyv89.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj86++ - if yyhl86 { - yyb86 = yyj86 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb86 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb86 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1049,16 +1133,16 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Spec = PodDisruptionBudgetSpec{} } else { - yyv90 := &x.Spec - yyv90.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj86++ - if yyhl86 { - yyb86 = yyj86 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb86 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb86 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1066,21 +1150,21 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Status = PodDisruptionBudgetStatus{} } else { - yyv91 := &x.Status - yyv91.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj86++ - if yyhl86 { - yyb86 = yyj86 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb86 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb86 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj86-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1092,37 +1176,37 @@ func (x *PodDisruptionBudgetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym92 := z.EncBinary() - _ = yym92 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep93 := !z.EncBinary() - yy2arr93 := z.EncBasicHandle().StructToArray - var yyq93 [4]bool - _, _, _ = yysep93, yyq93, yy2arr93 - const yyr93 bool = false - yyq93[0] = x.Kind != "" - yyq93[1] = x.APIVersion != "" - yyq93[2] = true - var yynn93 int - if yyr93 || yy2arr93 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn93 = 1 - for _, b := range yyq93 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn93++ + yynn2++ } } - r.EncodeMapStart(yynn93) - yynn93 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr93 || yy2arr93 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq93[0] { - yym95 := z.EncBinary() - _ = yym95 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1131,23 +1215,23 @@ func (x *PodDisruptionBudgetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq93[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym96 := z.EncBinary() - _ = yym96 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr93 || yy2arr93 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq93[1] { - yym98 := z.EncBinary() - _ = yym98 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1156,54 +1240,54 @@ func (x *PodDisruptionBudgetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq93[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym99 := z.EncBinary() - _ = yym99 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr93 || yy2arr93 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq93[2] { - yy101 := &x.ListMeta - yym102 := z.EncBinary() - _ = yym102 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy101) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy101) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq93[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy103 := &x.ListMeta - yym104 := z.EncBinary() - _ = yym104 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy103) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy103) + z.EncFallback(yy12) } } } - if yyr93 || yy2arr93 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym106 := z.EncBinary() - _ = yym106 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSlicePodDisruptionBudget(([]PodDisruptionBudget)(x.Items), e) @@ -1216,15 +1300,15 @@ func (x *PodDisruptionBudgetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym107 := z.EncBinary() - _ = yym107 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSlicePodDisruptionBudget(([]PodDisruptionBudget)(x.Items), e) } } } - if yyr93 || yy2arr93 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1237,25 +1321,25 @@ func (x *PodDisruptionBudgetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym108 := z.DecBinary() - _ = yym108 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct109 := r.ContainerType() - if yyct109 == codecSelferValueTypeMap1234 { - yyl109 := r.ReadMapStart() - if yyl109 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl109, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct109 == codecSelferValueTypeArray1234 { - yyl109 := r.ReadArrayStart() - if yyl109 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl109, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1267,12 +1351,12 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys110Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys110Slc - var yyhl110 bool = l >= 0 - for yyj110 := 0; ; yyj110++ { - if yyhl110 { - if yyj110 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1281,51 +1365,63 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys110Slc = r.DecodeBytes(yys110Slc, true, true) - yys110 := string(yys110Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys110 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv113 := &x.ListMeta - yym114 := z.DecBinary() - _ = yym114 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv113) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv113, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv115 := &x.Items - yym116 := z.DecBinary() - _ = yym116 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSlicePodDisruptionBudget((*[]PodDisruptionBudget)(yyv115), d) + h.decSlicePodDisruptionBudget((*[]PodDisruptionBudget)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys110) - } // end switch yys110 - } // end for yyj110 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1333,16 +1429,16 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj117 int - var yyb117 bool - var yyhl117 bool = l >= 0 - yyj117++ - if yyhl117 { - yyb117 = yyj117 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb117 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb117 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1350,15 +1446,21 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj117++ - if yyhl117 { - yyb117 = yyj117 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb117 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb117 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1366,15 +1468,21 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj117++ - if yyhl117 { - yyb117 = yyj117 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb117 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb117 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1382,22 +1490,22 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv120 := &x.ListMeta - yym121 := z.DecBinary() - _ = yym121 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv120) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv120, false) + z.DecFallback(yyv17, false) } } - yyj117++ - if yyhl117 { - yyb117 = yyj117 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb117 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb117 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1405,26 +1513,26 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Items = nil } else { - yyv122 := &x.Items - yym123 := z.DecBinary() - _ = yym123 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSlicePodDisruptionBudget((*[]PodDisruptionBudget)(yyv122), d) + h.decSlicePodDisruptionBudget((*[]PodDisruptionBudget)(yyv19), d) } } for { - yyj117++ - if yyhl117 { - yyb117 = yyj117 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb117 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb117 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj117-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1436,38 +1544,38 @@ func (x *Eviction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym124 := z.EncBinary() - _ = yym124 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep125 := !z.EncBinary() - yy2arr125 := z.EncBasicHandle().StructToArray - var yyq125 [4]bool - _, _, _ = yysep125, yyq125, yy2arr125 - const yyr125 bool = false - yyq125[0] = x.Kind != "" - yyq125[1] = x.APIVersion != "" - yyq125[2] = true - yyq125[3] = x.DeleteOptions != nil - var yynn125 int - if yyr125 || yy2arr125 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = x.DeleteOptions != nil + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn125 = 0 - for _, b := range yyq125 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn125++ + yynn2++ } } - r.EncodeMapStart(yynn125) - yynn125 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr125 || yy2arr125 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq125[0] { - yym127 := z.EncBinary() - _ = yym127 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1476,23 +1584,23 @@ func (x *Eviction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq125[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym128 := z.EncBinary() - _ = yym128 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr125 || yy2arr125 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq125[1] { - yym130 := z.EncBinary() - _ = yym130 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1501,38 +1609,38 @@ func (x *Eviction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq125[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym131 := z.EncBinary() - _ = yym131 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr125 || yy2arr125 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq125[2] { - yy133 := &x.ObjectMeta - yy133.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq125[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy134 := &x.ObjectMeta - yy134.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr125 || yy2arr125 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq125[3] { + if yyq2[3] { if x.DeleteOptions == nil { r.EncodeNil() } else { @@ -1542,7 +1650,7 @@ func (x *Eviction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq125[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deleteOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -1553,7 +1661,7 @@ func (x *Eviction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr125 || yy2arr125 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1566,25 +1674,25 @@ func (x *Eviction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym136 := z.DecBinary() - _ = yym136 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct137 := r.ContainerType() - if yyct137 == codecSelferValueTypeMap1234 { - yyl137 := r.ReadMapStart() - if yyl137 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl137, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct137 == codecSelferValueTypeArray1234 { - yyl137 := r.ReadArrayStart() - if yyl137 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl137, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1596,12 +1704,12 @@ func (x *Eviction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys138Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys138Slc - var yyhl138 bool = l >= 0 - for yyj138 := 0; ; yyj138++ { - if yyhl138 { - if yyj138 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1610,28 +1718,40 @@ func (x *Eviction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys138Slc = r.DecodeBytes(yys138Slc, true, true) - yys138 := string(yys138Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys138 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg3_v1.ObjectMeta{} } else { - yyv141 := &x.ObjectMeta - yyv141.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "deleteOptions": if r.TryDecodeAsNil() { @@ -1645,9 +1765,9 @@ func (x *Eviction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.DeleteOptions.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys138) - } // end switch yys138 - } // end for yyj138 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1655,16 +1775,16 @@ func (x *Eviction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj143 int - var yyb143 bool - var yyhl143 bool = l >= 0 - yyj143++ - if yyhl143 { - yyb143 = yyj143 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb143 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb143 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1672,15 +1792,21 @@ func (x *Eviction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv11 := &x.Kind + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj143++ - if yyhl143 { - yyb143 = yyj143 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb143 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb143 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1688,15 +1814,21 @@ func (x *Eviction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv13 := &x.APIVersion + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj143++ - if yyhl143 { - yyb143 = yyj143 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb143 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb143 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1704,16 +1836,16 @@ func (x *Eviction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg3_v1.ObjectMeta{} } else { - yyv146 := &x.ObjectMeta - yyv146.CodecDecodeSelf(d) + yyv15 := &x.ObjectMeta + yyv15.CodecDecodeSelf(d) } - yyj143++ - if yyhl143 { - yyb143 = yyj143 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb143 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb143 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1729,17 +1861,17 @@ func (x *Eviction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.DeleteOptions.CodecDecodeSelf(d) } for { - yyj143++ - if yyhl143 { - yyb143 = yyj143 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb143 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb143 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj143-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1749,26 +1881,26 @@ func (x codecSelfer1234) encMapstringv1_Time(v map[string]pkg2_v1.Time, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk148, yyv148 := range v { + for yyk1, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym149 := z.EncBinary() - _ = yym149 + yym2 := z.EncBinary() + _ = yym2 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk148)) + r.EncodeString(codecSelferC_UTF81234, string(yyk1)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy150 := &yyv148 - yym151 := z.EncBinary() - _ = yym151 + yy3 := &yyv1 + yym4 := z.EncBinary() + _ = yym4 if false { - } else if z.HasExtensions() && z.EncExt(yy150) { - } else if yym151 { - z.EncBinaryMarshal(yy150) - } else if !yym151 && z.IsJSONHandle() { - z.EncJSONMarshal(yy150) + } else if z.HasExtensions() && z.EncExt(yy3) { + } else if yym4 { + z.EncBinaryMarshal(yy3) + } else if !yym4 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3) } else { - z.EncFallback(yy150) + z.EncFallback(yy3) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1779,90 +1911,102 @@ func (x codecSelfer1234) decMapstringv1_Time(v *map[string]pkg2_v1.Time, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv152 := *v - yyl152 := r.ReadMapStart() - yybh152 := z.DecBasicHandle() - if yyv152 == nil { - yyrl152, _ := z.DecInferLen(yyl152, yybh152.MaxInitLen, 40) - yyv152 = make(map[string]pkg2_v1.Time, yyrl152) - *v = yyv152 + yyv1 := *v + yyl1 := r.ReadMapStart() + yybh1 := z.DecBasicHandle() + if yyv1 == nil { + yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 40) + yyv1 = make(map[string]pkg2_v1.Time, yyrl1) + *v = yyv1 } - var yymk152 string - var yymv152 pkg2_v1.Time - var yymg152 bool - if yybh152.MapValueReset { - yymg152 = true + var yymk1 string + var yymv1 pkg2_v1.Time + var yymg1 bool + if yybh1.MapValueReset { + yymg1 = true } - if yyl152 > 0 { - for yyj152 := 0; yyj152 < yyl152; yyj152++ { + if yyl1 > 0 { + for yyj1 := 0; yyj1 < yyl1; yyj1++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk152 = "" + yymk1 = "" } else { - yymk152 = string(r.DecodeString()) - } - - if yymg152 { - yymv152 = yyv152[yymk152] - } else { - yymv152 = pkg2_v1.Time{} - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv152 = pkg2_v1.Time{} - } else { - yyv154 := &yymv152 - yym155 := z.DecBinary() - _ = yym155 + yyv2 := &yymk1 + yym3 := z.DecBinary() + _ = yym3 if false { - } else if z.HasExtensions() && z.DecExt(yyv154) { - } else if yym155 { - z.DecBinaryUnmarshal(yyv154) - } else if !yym155 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv154) } else { - z.DecFallback(yyv154, false) + *((*string)(yyv2)) = r.DecodeString() } } - if yyv152 != nil { - yyv152[yymk152] = yymv152 + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = pkg2_v1.Time{} + } + z.DecSendContainerState(codecSelfer_containerMapValue1234) + if r.TryDecodeAsNil() { + yymv1 = pkg2_v1.Time{} + } else { + yyv4 := &yymv1 + yym5 := z.DecBinary() + _ = yym5 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4) { + } else if yym5 { + z.DecBinaryUnmarshal(yyv4) + } else if !yym5 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4) + } else { + z.DecFallback(yyv4, false) + } + } + + if yyv1 != nil { + yyv1[yymk1] = yymv1 } } - } else if yyl152 < 0 { - for yyj152 := 0; !r.CheckBreak(); yyj152++ { + } else if yyl1 < 0 { + for yyj1 := 0; !r.CheckBreak(); yyj1++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk152 = "" + yymk1 = "" } else { - yymk152 = string(r.DecodeString()) - } - - if yymg152 { - yymv152 = yyv152[yymk152] - } else { - yymv152 = pkg2_v1.Time{} - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv152 = pkg2_v1.Time{} - } else { - yyv157 := &yymv152 - yym158 := z.DecBinary() - _ = yym158 + yyv6 := &yymk1 + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv157) { - } else if yym158 { - z.DecBinaryUnmarshal(yyv157) - } else if !yym158 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv157) } else { - z.DecFallback(yyv157, false) + *((*string)(yyv6)) = r.DecodeString() } } - if yyv152 != nil { - yyv152[yymk152] = yymv152 + if yymg1 { + yymv1 = yyv1[yymk1] + } else { + yymv1 = pkg2_v1.Time{} + } + z.DecSendContainerState(codecSelfer_containerMapValue1234) + if r.TryDecodeAsNil() { + yymv1 = pkg2_v1.Time{} + } else { + yyv8 := &yymv1 + yym9 := z.DecBinary() + _ = yym9 + if false { + } else if z.HasExtensions() && z.DecExt(yyv8) { + } else if yym9 { + z.DecBinaryUnmarshal(yyv8) + } else if !yym9 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv8) + } else { + z.DecFallback(yyv8, false) + } + } + + if yyv1 != nil { + yyv1[yymk1] = yymv1 } } } // else len==0: TODO: Should we clear map entries? @@ -1874,10 +2018,10 @@ func (x codecSelfer1234) encSlicePodDisruptionBudget(v []PodDisruptionBudget, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv159 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy160 := &yyv159 - yy160.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1887,83 +2031,86 @@ func (x codecSelfer1234) decSlicePodDisruptionBudget(v *[]PodDisruptionBudget, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv161 := *v - yyh161, yyl161 := z.DecSliceHelperStart() - var yyc161 bool - if yyl161 == 0 { - if yyv161 == nil { - yyv161 = []PodDisruptionBudget{} - yyc161 = true - } else if len(yyv161) != 0 { - yyv161 = yyv161[:0] - yyc161 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []PodDisruptionBudget{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl161 > 0 { - var yyrr161, yyrl161 int - var yyrt161 bool - if yyl161 > cap(yyv161) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg161 := len(yyv161) > 0 - yyv2161 := yyv161 - yyrl161, yyrt161 = z.DecInferLen(yyl161, z.DecBasicHandle().MaxInitLen, 328) - if yyrt161 { - if yyrl161 <= cap(yyv161) { - yyv161 = yyv161[:yyrl161] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 328) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv161 = make([]PodDisruptionBudget, yyrl161) + yyv1 = make([]PodDisruptionBudget, yyrl1) } } else { - yyv161 = make([]PodDisruptionBudget, yyrl161) + yyv1 = make([]PodDisruptionBudget, yyrl1) } - yyc161 = true - yyrr161 = len(yyv161) - if yyrg161 { - copy(yyv161, yyv2161) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl161 != len(yyv161) { - yyv161 = yyv161[:yyl161] - yyc161 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj161 := 0 - for ; yyj161 < yyrr161; yyj161++ { - yyh161.ElemContainerState(yyj161) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv161[yyj161] = PodDisruptionBudget{} + yyv1[yyj1] = PodDisruptionBudget{} } else { - yyv162 := &yyv161[yyj161] - yyv162.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt161 { - for ; yyj161 < yyl161; yyj161++ { - yyv161 = append(yyv161, PodDisruptionBudget{}) - yyh161.ElemContainerState(yyj161) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, PodDisruptionBudget{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv161[yyj161] = PodDisruptionBudget{} + yyv1[yyj1] = PodDisruptionBudget{} } else { - yyv163 := &yyv161[yyj161] - yyv163.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj161 := 0 - for ; !r.CheckBreak(); yyj161++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj161 >= len(yyv161) { - yyv161 = append(yyv161, PodDisruptionBudget{}) // var yyz161 PodDisruptionBudget - yyc161 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, PodDisruptionBudget{}) // var yyz1 PodDisruptionBudget + yyc1 = true } - yyh161.ElemContainerState(yyj161) - if yyj161 < len(yyv161) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv161[yyj161] = PodDisruptionBudget{} + yyv1[yyj1] = PodDisruptionBudget{} } else { - yyv164 := &yyv161[yyj161] - yyv164.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -1971,16 +2118,16 @@ func (x codecSelfer1234) decSlicePodDisruptionBudget(v *[]PodDisruptionBudget, d } } - if yyj161 < len(yyv161) { - yyv161 = yyv161[:yyj161] - yyc161 = true - } else if yyj161 == 0 && yyv161 == nil { - yyv161 = []PodDisruptionBudget{} - yyc161 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []PodDisruptionBudget{} + yyc1 = true } } - yyh161.End() - if yyc161 { - *v = yyv161 + yyh1.End() + if yyc1 { + *v = yyv1 } } diff --git a/pkg/apis/policy/v1beta1/types.go b/pkg/apis/policy/v1beta1/types.go index d43f25d6..9aefac7d 100644 --- a/pkg/apis/policy/v1beta1/types.go +++ b/pkg/apis/policy/v1beta1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1beta1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" "k8s.io/client-go/pkg/util/intstr" ) diff --git a/pkg/apis/policy/v1beta1/zz_generated.conversion.go b/pkg/apis/policy/v1beta1/zz_generated.conversion.go index 15a3b4a7..04efa307 100644 --- a/pkg/apis/policy/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/policy/v1beta1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,12 +21,12 @@ limitations under the License. package v1beta1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" policy "k8s.io/client-go/pkg/apis/policy" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" unsafe "unsafe" ) diff --git a/pkg/apis/policy/v1beta1/zz_generated.deepcopy.go b/pkg/apis/policy/v1beta1/zz_generated.deepcopy.go index 34fbc043..92376f53 100644 --- a/pkg/apis/policy/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/policy/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ limitations under the License. package v1beta1 import ( + meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - meta_v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -48,7 +48,7 @@ func DeepCopy_v1beta1_Eviction(in interface{}, out interface{}, c *conversion.Cl { in := in.(*Eviction) out := out.(*Eviction) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -58,8 +58,6 @@ func DeepCopy_v1beta1_Eviction(in interface{}, out interface{}, c *conversion.Cl if err := v1.DeepCopy_v1_DeleteOptions(*in, *out, c); err != nil { return err } - } else { - out.DeleteOptions = nil } return nil } @@ -69,7 +67,7 @@ func DeepCopy_v1beta1_PodDisruptionBudget(in interface{}, out interface{}, c *co { in := in.(*PodDisruptionBudget) out := out.(*PodDisruptionBudget) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -87,8 +85,7 @@ func DeepCopy_v1beta1_PodDisruptionBudgetList(in interface{}, out interface{}, c { in := in.(*PodDisruptionBudgetList) out := out.(*PodDisruptionBudgetList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PodDisruptionBudget, len(*in)) @@ -97,8 +94,6 @@ func DeepCopy_v1beta1_PodDisruptionBudgetList(in interface{}, out interface{}, c return err } } - } else { - out.Items = nil } return nil } @@ -108,15 +103,14 @@ func DeepCopy_v1beta1_PodDisruptionBudgetSpec(in interface{}, out interface{}, c { in := in.(*PodDisruptionBudgetSpec) out := out.(*PodDisruptionBudgetSpec) - out.MinAvailable = in.MinAvailable + *out = *in if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(meta_v1.LabelSelector) - if err := meta_v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*meta_v1.LabelSelector) } - } else { - out.Selector = nil } return nil } @@ -126,20 +120,14 @@ func DeepCopy_v1beta1_PodDisruptionBudgetStatus(in interface{}, out interface{}, { in := in.(*PodDisruptionBudgetStatus) out := out.(*PodDisruptionBudgetStatus) - out.ObservedGeneration = in.ObservedGeneration + *out = *in if in.DisruptedPods != nil { in, out := &in.DisruptedPods, &out.DisruptedPods *out = make(map[string]meta_v1.Time) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.DisruptedPods = nil } - out.PodDisruptionsAllowed = in.PodDisruptionsAllowed - out.CurrentHealthy = in.CurrentHealthy - out.DesiredHealthy = in.DesiredHealthy - out.ExpectedPods = in.ExpectedPods return nil } } diff --git a/pkg/apis/policy/zz_generated.deepcopy.go b/pkg/apis/policy/zz_generated.deepcopy.go index 309c544d..0eac5e60 100644 --- a/pkg/apis/policy/zz_generated.deepcopy.go +++ b/pkg/apis/policy/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,10 +21,10 @@ limitations under the License. package policy import ( + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" - v1 "k8s.io/client-go/pkg/apis/meta/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -48,7 +48,7 @@ func DeepCopy_policy_Eviction(in interface{}, out interface{}, c *conversion.Clo { in := in.(*Eviction) out := out.(*Eviction) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -58,8 +58,6 @@ func DeepCopy_policy_Eviction(in interface{}, out interface{}, c *conversion.Clo if err := api.DeepCopy_api_DeleteOptions(*in, *out, c); err != nil { return err } - } else { - out.DeleteOptions = nil } return nil } @@ -69,7 +67,7 @@ func DeepCopy_policy_PodDisruptionBudget(in interface{}, out interface{}, c *con { in := in.(*PodDisruptionBudget) out := out.(*PodDisruptionBudget) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -87,8 +85,7 @@ func DeepCopy_policy_PodDisruptionBudgetList(in interface{}, out interface{}, c { in := in.(*PodDisruptionBudgetList) out := out.(*PodDisruptionBudgetList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PodDisruptionBudget, len(*in)) @@ -97,8 +94,6 @@ func DeepCopy_policy_PodDisruptionBudgetList(in interface{}, out interface{}, c return err } } - } else { - out.Items = nil } return nil } @@ -108,15 +103,14 @@ func DeepCopy_policy_PodDisruptionBudgetSpec(in interface{}, out interface{}, c { in := in.(*PodDisruptionBudgetSpec) out := out.(*PodDisruptionBudgetSpec) - out.MinAvailable = in.MinAvailable + *out = *in if in.Selector != nil { in, out := &in.Selector, &out.Selector - *out = new(v1.LabelSelector) - if err := v1.DeepCopy_v1_LabelSelector(*in, *out, c); err != nil { + if newVal, err := c.DeepCopy(*in); err != nil { return err + } else { + *out = newVal.(*v1.LabelSelector) } - } else { - out.Selector = nil } return nil } @@ -126,20 +120,14 @@ func DeepCopy_policy_PodDisruptionBudgetStatus(in interface{}, out interface{}, { in := in.(*PodDisruptionBudgetStatus) out := out.(*PodDisruptionBudgetStatus) - out.ObservedGeneration = in.ObservedGeneration + *out = *in if in.DisruptedPods != nil { in, out := &in.DisruptedPods, &out.DisruptedPods *out = make(map[string]v1.Time) for key, val := range *in { (*out)[key] = val.DeepCopy() } - } else { - out.DisruptedPods = nil } - out.PodDisruptionsAllowed = in.PodDisruptionsAllowed - out.CurrentHealthy = in.CurrentHealthy - out.DesiredHealthy = in.DesiredHealthy - out.ExpectedPods = in.ExpectedPods return nil } } diff --git a/pkg/apis/rbac/helpers.go b/pkg/apis/rbac/helpers.go index d075f50f..44d8a66c 100644 --- a/pkg/apis/rbac/helpers.go +++ b/pkg/apis/rbac/helpers.go @@ -20,9 +20,9 @@ import ( "fmt" "strings" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/util/sets" ) func RoleRefGroupKind(roleRef RoleRef) schema.GroupKind { diff --git a/pkg/apis/rbac/install/install.go b/pkg/apis/rbac/install/install.go index 37e5b91a..808c90c1 100644 --- a/pkg/apis/rbac/install/install.go +++ b/pkg/apis/rbac/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/apimachinery/announced" "k8s.io/client-go/pkg/apis/rbac" "k8s.io/client-go/pkg/apis/rbac/v1alpha1" - "k8s.io/client-go/pkg/util/sets" ) func init() { diff --git a/pkg/apis/rbac/register.go b/pkg/apis/rbac/register.go index 680723bd..c9b69072 100644 --- a/pkg/apis/rbac/register.go +++ b/pkg/apis/rbac/register.go @@ -17,11 +17,10 @@ limitations under the License. package rbac import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/watch/versioned" ) const GroupName = "rbac.authorization.k8s.io" @@ -62,6 +61,6 @@ func addKnownTypes(scheme *runtime.Scheme) error { &metav1.ExportOptions{}, &metav1.GetOptions{}, ) - versioned.AddToGroupVersion(scheme, SchemeGroupVersion) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/apis/rbac/types.go b/pkg/apis/rbac/types.go index 5043b33f..702f660c 100644 --- a/pkg/apis/rbac/types.go +++ b/pkg/apis/rbac/types.go @@ -17,9 +17,9 @@ limitations under the License. package rbac import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" ) // Authorization is calculated against @@ -36,8 +36,6 @@ const ( GroupKind = "Group" ServiceAccountKind = "ServiceAccount" UserKind = "User" - - UserAll = "*" ) // PolicyRule holds information that describes a policy rule, but does not contain information diff --git a/pkg/apis/rbac/v1alpha1/conversion.go b/pkg/apis/rbac/v1alpha1/conversion.go new file mode 100644 index 00000000..2e5b63ce --- /dev/null +++ b/pkg/apis/rbac/v1alpha1/conversion.go @@ -0,0 +1,42 @@ +/* +Copyright 2017 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/conversion" + api "k8s.io/client-go/pkg/apis/rbac" +) + +// allAuthenticated matches k8s.io/apiserver/pkg/authentication/user.AllAuthenticated, +// but we don't want an client library (which must include types), depending on a server library +const allAuthenticated = "system:authenticated" + +func Convert_v1alpha1_Subject_To_rbac_Subject(in *Subject, out *api.Subject, s conversion.Scope) error { + if err := autoConvert_v1alpha1_Subject_To_rbac_Subject(in, out, s); err != nil { + return err + } + + // User * in v1alpha1 will only match all authenticated users + // This is only for compatibility with old RBAC bindings + // Special treatment for * should not be included in v1beta1 + if out.Kind == UserKind && out.Name == "*" { + out.Kind = GroupKind + out.Name = allAuthenticated + } + + return nil +} diff --git a/pkg/apis/rbac/v1alpha1/defaults.go b/pkg/apis/rbac/v1alpha1/defaults.go index 51f51e5a..c347ff01 100644 --- a/pkg/apis/rbac/v1alpha1/defaults.go +++ b/pkg/apis/rbac/v1alpha1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/apis/rbac/v1alpha1/generated.pb.go b/pkg/apis/rbac/v1alpha1/generated.pb.go index 9dfe7503..e4d05b97 100644 --- a/pkg/apis/rbac/v1alpha1/generated.pb.go +++ b/pkg/apis/rbac/v1alpha1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -163,6 +163,14 @@ func (m *ClusterRole) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n2, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n2 return i, nil } @@ -184,11 +192,11 @@ func (m *ClusterRoleBinding) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n2, err := m.ObjectMeta.MarshalTo(data[i:]) + n3, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n2 + i += n3 if len(m.Subjects) > 0 { for _, msg := range m.Subjects { data[i] = 0x12 @@ -204,11 +212,19 @@ func (m *ClusterRoleBinding) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.RoleRef.Size())) - n3, err := m.RoleRef.MarshalTo(data[i:]) + n4, err := m.RoleRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n3 + i += n4 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n5, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n5 return i, nil } @@ -230,11 +246,11 @@ func (m *ClusterRoleBindingBuilder) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ClusterRoleBinding.Size())) - n4, err := m.ClusterRoleBinding.MarshalTo(data[i:]) + n6, err := m.ClusterRoleBinding.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n4 + i += n6 return i, nil } @@ -256,11 +272,11 @@ func (m *ClusterRoleBindingList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n5, err := m.ListMeta.MarshalTo(data[i:]) + n7, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n5 + i += n7 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -273,6 +289,14 @@ func (m *ClusterRoleBindingList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n8, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n8 return i, nil } @@ -294,11 +318,11 @@ func (m *ClusterRoleList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n6, err := m.ListMeta.MarshalTo(data[i:]) + n9, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n6 + i += n9 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -311,6 +335,14 @@ func (m *ClusterRoleList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n10, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n10 return i, nil } @@ -347,11 +379,11 @@ func (m *PolicyRule) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.AttributeRestrictions.Size())) - n7, err := m.AttributeRestrictions.MarshalTo(data[i:]) + n11, err := m.AttributeRestrictions.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n7 + i += n11 if len(m.APIGroups) > 0 { for _, s := range m.APIGroups { data[i] = 0x1a @@ -433,11 +465,11 @@ func (m *PolicyRuleBuilder) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.PolicyRule.Size())) - n8, err := m.PolicyRule.MarshalTo(data[i:]) + n12, err := m.PolicyRule.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n8 + i += n12 return i, nil } @@ -459,11 +491,11 @@ func (m *Role) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n9, err := m.ObjectMeta.MarshalTo(data[i:]) + n13, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n9 + i += n13 if len(m.Rules) > 0 { for _, msg := range m.Rules { data[i] = 0x12 @@ -476,6 +508,14 @@ func (m *Role) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n14, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n14 return i, nil } @@ -497,11 +537,11 @@ func (m *RoleBinding) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n10, err := m.ObjectMeta.MarshalTo(data[i:]) + n15, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n10 + i += n15 if len(m.Subjects) > 0 { for _, msg := range m.Subjects { data[i] = 0x12 @@ -517,11 +557,19 @@ func (m *RoleBinding) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.RoleRef.Size())) - n11, err := m.RoleRef.MarshalTo(data[i:]) + n16, err := m.RoleRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n11 + i += n16 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n17, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n17 return i, nil } @@ -543,11 +591,11 @@ func (m *RoleBindingList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n12, err := m.ListMeta.MarshalTo(data[i:]) + n18, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n12 + i += n18 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -560,6 +608,14 @@ func (m *RoleBindingList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n19, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n19 return i, nil } @@ -581,11 +637,11 @@ func (m *RoleList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n13, err := m.ListMeta.MarshalTo(data[i:]) + n20, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n13 + i += n20 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -598,6 +654,14 @@ func (m *RoleList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n21, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n21 return i, nil } @@ -703,6 +767,8 @@ func (m *ClusterRole) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -719,6 +785,8 @@ func (m *ClusterRoleBinding) Size() (n int) { } l = m.RoleRef.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -741,6 +809,8 @@ func (m *ClusterRoleBindingList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -755,6 +825,8 @@ func (m *ClusterRoleList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -815,6 +887,8 @@ func (m *Role) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -831,6 +905,8 @@ func (m *RoleBinding) Size() (n int) { } l = m.RoleRef.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -845,6 +921,8 @@ func (m *RoleBindingList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -859,6 +937,8 @@ func (m *RoleList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -908,6 +988,7 @@ func (this *ClusterRole) String() string { s := strings.Join([]string{`&ClusterRole{`, `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Rules:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Rules), "PolicyRule", "PolicyRule", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -920,6 +1001,7 @@ func (this *ClusterRoleBinding) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Subjects:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Subjects), "Subject", "Subject", 1), `&`, ``, 1) + `,`, `RoleRef:` + strings.Replace(strings.Replace(this.RoleRef.String(), "RoleRef", "RoleRef", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -939,8 +1021,9 @@ func (this *ClusterRoleBindingList) String() string { return "nil" } s := strings.Join([]string{`&ClusterRoleBindingList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ClusterRoleBinding", "ClusterRoleBinding", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -950,8 +1033,9 @@ func (this *ClusterRoleList) String() string { return "nil" } s := strings.Join([]string{`&ClusterRoleList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ClusterRole", "ClusterRole", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -962,7 +1046,7 @@ func (this *PolicyRule) String() string { } s := strings.Join([]string{`&PolicyRule{`, `Verbs:` + fmt.Sprintf("%v", this.Verbs) + `,`, - `AttributeRestrictions:` + strings.Replace(strings.Replace(this.AttributeRestrictions.String(), "RawExtension", "k8s_io_kubernetes_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`, + `AttributeRestrictions:` + strings.Replace(strings.Replace(this.AttributeRestrictions.String(), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`, `APIGroups:` + fmt.Sprintf("%v", this.APIGroups) + `,`, `Resources:` + fmt.Sprintf("%v", this.Resources) + `,`, `ResourceNames:` + fmt.Sprintf("%v", this.ResourceNames) + `,`, @@ -988,6 +1072,7 @@ func (this *Role) String() string { s := strings.Join([]string{`&Role{`, `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Rules:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Rules), "PolicyRule", "PolicyRule", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -1000,6 +1085,7 @@ func (this *RoleBinding) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Subjects:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Subjects), "Subject", "Subject", 1), `&`, ``, 1) + `,`, `RoleRef:` + strings.Replace(strings.Replace(this.RoleRef.String(), "RoleRef", "RoleRef", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -1009,8 +1095,9 @@ func (this *RoleBindingList) String() string { return "nil" } s := strings.Join([]string{`&RoleBindingList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "RoleBinding", "RoleBinding", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -1020,8 +1107,9 @@ func (this *RoleList) String() string { return "nil" } s := strings.Join([]string{`&RoleList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Role", "Role", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -1149,6 +1237,36 @@ func (m *ClusterRole) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1290,6 +1408,36 @@ func (m *ClusterRoleBinding) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1481,6 +1629,36 @@ func (m *ClusterRoleBindingList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1592,6 +1770,36 @@ func (m *ClusterRoleList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -2008,6 +2216,36 @@ func (m *Role) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -2149,6 +2387,36 @@ func (m *RoleBinding) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -2260,6 +2528,36 @@ func (m *RoleBindingList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -2371,6 +2669,36 @@ func (m *RoleList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -2801,60 +3129,63 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 879 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x55, 0x41, 0x6f, 0x23, 0x35, - 0x14, 0x8e, 0x9b, 0x84, 0x26, 0xaf, 0x54, 0xa5, 0x46, 0x8b, 0x86, 0x4a, 0x24, 0x55, 0x4e, 0x11, - 0xdb, 0x9d, 0x51, 0xaa, 0x45, 0xec, 0x01, 0x0e, 0x1d, 0x84, 0x50, 0xc5, 0x52, 0x2a, 0xaf, 0x58, - 0x41, 0x85, 0x84, 0x9c, 0x89, 0x37, 0x35, 0x99, 0xcc, 0x8c, 0x6c, 0x4f, 0x01, 0x21, 0xa4, 0x15, - 0x27, 0x8e, 0xfc, 0x8a, 0xbd, 0x71, 0xe1, 0xba, 0x37, 0x4e, 0xe5, 0xb6, 0x37, 0x38, 0x45, 0x34, - 0xfc, 0x11, 0x64, 0xc7, 0x33, 0x93, 0x36, 0x93, 0x6e, 0xb7, 0x68, 0x2b, 0x21, 0x71, 0x4a, 0xfc, - 0xde, 0xf7, 0x3d, 0x7f, 0xcf, 0xcf, 0xf3, 0x19, 0xee, 0x8d, 0xee, 0x49, 0x97, 0xc7, 0xde, 0x28, - 0xed, 0x33, 0x11, 0x31, 0xc5, 0xa4, 0x97, 0x8c, 0x86, 0x1e, 0x4d, 0xb8, 0xf4, 0x44, 0x9f, 0x06, - 0xde, 0x49, 0x8f, 0x86, 0xc9, 0x31, 0xed, 0x79, 0x43, 0x16, 0x31, 0x41, 0x15, 0x1b, 0xb8, 0x89, - 0x88, 0x55, 0x8c, 0xbb, 0x33, 0xa6, 0x5b, 0x30, 0xdd, 0x64, 0x34, 0x74, 0x35, 0xd3, 0xd5, 0x4c, - 0x37, 0x63, 0x6e, 0xdd, 0x19, 0x72, 0x75, 0x9c, 0xf6, 0xdd, 0x20, 0x1e, 0x7b, 0xc3, 0x78, 0x18, - 0x7b, 0xa6, 0x40, 0x3f, 0x7d, 0x64, 0x56, 0x66, 0x61, 0xfe, 0xcd, 0x0a, 0x6f, 0xed, 0x2e, 0x95, - 0xe4, 0x09, 0x26, 0xe3, 0x54, 0x04, 0xec, 0xa2, 0x98, 0xad, 0x9d, 0xe5, 0x9c, 0x93, 0x05, 0xe9, - 0x97, 0xec, 0x20, 0xbd, 0x31, 0x53, 0xb4, 0x8c, 0x73, 0xa7, 0x9c, 0x23, 0xd2, 0x48, 0xf1, 0xf1, - 0xa2, 0xa0, 0xbb, 0x97, 0xc3, 0x65, 0x70, 0xcc, 0xc6, 0x74, 0x81, 0xd5, 0x2b, 0x67, 0xa5, 0x8a, - 0x87, 0x1e, 0x8f, 0x94, 0x54, 0xe2, 0x22, 0xa5, 0xf3, 0x1b, 0x82, 0xb5, 0x0f, 0xc2, 0x54, 0x2a, - 0x26, 0x48, 0x1c, 0x32, 0xfc, 0x39, 0x34, 0x74, 0x0b, 0x03, 0xaa, 0xa8, 0x83, 0xb6, 0x51, 0x77, - 0x6d, 0xb7, 0xeb, 0x2e, 0x9d, 0x94, 0x7b, 0xd2, 0x73, 0x3f, 0xed, 0x7f, 0xcd, 0x02, 0xf5, 0x09, - 0x53, 0xd4, 0xc7, 0xa7, 0x93, 0x76, 0x65, 0x3a, 0x69, 0x43, 0x11, 0x23, 0x79, 0x35, 0xfc, 0x05, - 0xd4, 0x45, 0x1a, 0x32, 0xe9, 0xac, 0x6c, 0x57, 0xbb, 0x6b, 0xbb, 0x77, 0xdd, 0xab, 0x5e, 0x00, - 0xf7, 0x30, 0x0e, 0x79, 0xf0, 0x1d, 0x49, 0x43, 0xe6, 0xaf, 0xdb, 0x2d, 0xea, 0x7a, 0x25, 0xc9, - 0xac, 0x62, 0xe7, 0x97, 0x15, 0xc0, 0x73, 0x4d, 0xf8, 0x3c, 0x1a, 0xf0, 0x68, 0xf8, 0x12, 0x7b, - 0xf9, 0x0a, 0x1a, 0x32, 0x35, 0x89, 0xac, 0x9d, 0xde, 0xd5, 0xdb, 0x79, 0x30, 0x63, 0xfa, 0xaf, - 0xd9, 0x2d, 0x1a, 0x36, 0x20, 0x49, 0x5e, 0x14, 0x7f, 0x09, 0xab, 0x22, 0x0e, 0x19, 0x61, 0x8f, - 0x9c, 0xaa, 0x51, 0xfe, 0x02, 0xf5, 0xc9, 0x8c, 0xe8, 0x6f, 0xd8, 0xfa, 0xab, 0x36, 0x40, 0xb2, - 0x92, 0x9d, 0x27, 0x08, 0xde, 0x5c, 0x3c, 0x2f, 0x3f, 0xe5, 0xe1, 0x80, 0x09, 0xfc, 0x13, 0x02, - 0x1c, 0x2c, 0x64, 0xed, 0x09, 0xbe, 0x77, 0x75, 0x1d, 0x25, 0x3b, 0x6c, 0x59, 0x49, 0x25, 0xd3, - 0x22, 0x25, 0x7b, 0x76, 0xfe, 0x40, 0xf0, 0xc6, 0x22, 0xf4, 0x3e, 0x97, 0x0a, 0x1f, 0x2d, 0x0c, - 0x77, 0xe7, 0x32, 0x69, 0x1a, 0xab, 0x47, 0xac, 0xb9, 0x66, 0xc0, 0xf9, 0xe9, 0x67, 0x91, 0xb9, - 0xf1, 0x52, 0xa8, 0x73, 0xc5, 0xc6, 0xd9, 0x6c, 0xff, 0x5d, 0xcf, 0xf9, 0x95, 0xdd, 0xd7, 0x25, - 0xc9, 0xac, 0x72, 0xe7, 0x77, 0x04, 0x1b, 0x73, 0xe0, 0x97, 0xde, 0xd2, 0xd1, 0xf9, 0x96, 0xde, - 0xb9, 0x5e, 0x4b, 0xe5, 0xbd, 0xfc, 0x58, 0x05, 0x28, 0xbe, 0x51, 0xdc, 0x86, 0xfa, 0x09, 0x13, - 0x7d, 0xe9, 0xa0, 0xed, 0x6a, 0xb7, 0xe9, 0x37, 0x35, 0xfe, 0xa1, 0x0e, 0x90, 0x59, 0x1c, 0x3f, - 0x46, 0x70, 0x8b, 0x2a, 0x25, 0x78, 0x3f, 0x55, 0x8c, 0x30, 0xa9, 0x04, 0x0f, 0x14, 0x8f, 0x23, - 0x2d, 0x4e, 0x77, 0x7d, 0x7b, 0x89, 0x38, 0xeb, 0x7e, 0x2e, 0xa1, 0xdf, 0x7c, 0xf8, 0xad, 0x62, - 0x91, 0xe4, 0x71, 0xe4, 0xbf, 0x65, 0x25, 0xdd, 0xda, 0x2b, 0xab, 0x48, 0xca, 0x37, 0xc2, 0xb7, - 0xa1, 0x49, 0x13, 0xfe, 0x91, 0x88, 0xd3, 0x44, 0x3a, 0x55, 0xa3, 0x73, 0x7d, 0x3a, 0x69, 0x37, - 0xf7, 0x0e, 0xf7, 0x67, 0x41, 0x52, 0xe4, 0x35, 0x38, 0x7b, 0x39, 0xa4, 0x53, 0x2b, 0xc0, 0x24, - 0x0b, 0x92, 0x22, 0x8f, 0xdf, 0x85, 0xf5, 0x6c, 0x71, 0x40, 0xc7, 0x4c, 0x3a, 0x75, 0x43, 0xd8, - 0x9c, 0x4e, 0xda, 0xeb, 0x64, 0x3e, 0x41, 0xce, 0xe3, 0xf0, 0xfb, 0xb0, 0x11, 0xc5, 0x51, 0x06, - 0xf9, 0x8c, 0xdc, 0x97, 0xce, 0x2b, 0x86, 0xfa, 0xfa, 0x74, 0xd2, 0xde, 0x38, 0x38, 0x9f, 0x22, - 0x17, 0xb1, 0x9d, 0x1f, 0x60, 0x73, 0xce, 0x27, 0xed, 0xa7, 0x7c, 0x0c, 0x90, 0xe4, 0x41, 0x7b, - 0xa7, 0xae, 0x67, 0xbc, 0xb9, 0x1f, 0x16, 0x31, 0x32, 0x57, 0xbb, 0xf3, 0x14, 0x41, 0xed, 0xbf, - 0xfb, 0x80, 0x3c, 0x59, 0x81, 0xb5, 0xff, 0x5f, 0x8e, 0x2b, 0xbc, 0x1c, 0xda, 0xb6, 0x6e, 0xd2, - 0x89, 0xaf, 0x6f, 0x5b, 0xcf, 0xb7, 0xe0, 0xa7, 0x08, 0x1a, 0x37, 0xe2, 0xbd, 0x0f, 0xce, 0x37, - 0xe1, 0xbe, 0x60, 0x13, 0xe5, 0xea, 0xbf, 0x87, 0x6c, 0x3a, 0x78, 0x07, 0x1a, 0x99, 0x59, 0x19, - 0xed, 0xcd, 0x42, 0x4d, 0xe6, 0x67, 0x24, 0x47, 0xe0, 0x6d, 0xa8, 0x8d, 0x78, 0x34, 0x30, 0x5e, - 0xdb, 0xf4, 0x5f, 0xb5, 0xc8, 0xda, 0xc7, 0x3c, 0x1a, 0x10, 0x93, 0xd1, 0x88, 0x88, 0x8e, 0x99, - 0xb9, 0x3f, 0x73, 0x08, 0x6d, 0x53, 0xc4, 0x64, 0x3a, 0xbf, 0x22, 0x58, 0xb5, 0x77, 0x2f, 0xaf, - 0x87, 0x96, 0xd6, 0xdb, 0x05, 0xa0, 0x09, 0x7f, 0xc8, 0x84, 0x36, 0x6c, 0xbb, 0x6f, 0xfe, 0x95, - 0xec, 0x1d, 0xee, 0xdb, 0x0c, 0x99, 0x43, 0x3d, 0x5f, 0x03, 0xf6, 0xa0, 0xa9, 0x7f, 0x65, 0x42, - 0x03, 0xe6, 0xd4, 0x0c, 0x6c, 0xd3, 0xc2, 0x9a, 0x07, 0x59, 0x82, 0x14, 0x18, 0xff, 0xed, 0xd3, - 0xb3, 0x56, 0xe5, 0xd9, 0x59, 0xab, 0xf2, 0xe7, 0x59, 0xab, 0xf2, 0x78, 0xda, 0x42, 0xa7, 0xd3, - 0x16, 0x7a, 0x36, 0x6d, 0xa1, 0xbf, 0xa6, 0x2d, 0xf4, 0xf3, 0xdf, 0xad, 0xca, 0x51, 0x23, 0x3b, - 0xf8, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x24, 0x96, 0xf9, 0x34, 0xd8, 0x0c, 0x00, 0x00, + // 928 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x55, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xf6, 0xfa, 0x07, 0xf1, 0xbe, 0x10, 0x85, 0x0c, 0x2a, 0x32, 0x91, 0xb0, 0x23, 0x9f, 0x2c, + 0x68, 0x77, 0xe5, 0xa8, 0x40, 0x0f, 0x70, 0xc8, 0x22, 0x84, 0x22, 0x4a, 0x88, 0xa6, 0x50, 0x41, + 0x55, 0x09, 0x8d, 0xd7, 0x53, 0x7b, 0xf0, 0x7a, 0x77, 0x35, 0x33, 0x1b, 0x88, 0x10, 0x12, 0x42, + 0x1c, 0x90, 0xb8, 0x70, 0x45, 0x5c, 0x38, 0x21, 0x71, 0xe5, 0xc2, 0xbf, 0x90, 0x63, 0x8f, 0x9c, + 0x2c, 0x62, 0xfe, 0x11, 0x34, 0xeb, 0x99, 0xdd, 0x75, 0x6c, 0xab, 0x69, 0x68, 0x93, 0x4b, 0x4e, + 0xf6, 0xbe, 0xf7, 0xbe, 0x6f, 0xde, 0x7c, 0xf3, 0x66, 0x3e, 0xb8, 0x33, 0xba, 0x23, 0x1c, 0x16, + 0xb9, 0xa3, 0xa4, 0x47, 0x79, 0x48, 0x25, 0x15, 0x6e, 0x3c, 0x1a, 0xb8, 0x24, 0x66, 0xc2, 0xe5, + 0x3d, 0xe2, 0xbb, 0x47, 0x5d, 0x12, 0xc4, 0x43, 0xd2, 0x75, 0x07, 0x34, 0xa4, 0x9c, 0x48, 0xda, + 0x77, 0x62, 0x1e, 0xc9, 0x08, 0x75, 0x66, 0x48, 0x27, 0x47, 0x3a, 0xf1, 0x68, 0xe0, 0x28, 0xa4, + 0xa3, 0x90, 0x8e, 0x41, 0x6e, 0xdf, 0x1a, 0x30, 0x39, 0x4c, 0x7a, 0x8e, 0x1f, 0x8d, 0xdd, 0x41, + 0x34, 0x88, 0xdc, 0x94, 0xa0, 0x97, 0x3c, 0x4a, 0xbf, 0xd2, 0x8f, 0xf4, 0xdf, 0x8c, 0x78, 0xfb, + 0xb6, 0x6e, 0x89, 0xc4, 0x6c, 0x4c, 0xfc, 0x21, 0x0b, 0x29, 0x3f, 0xce, 0x9b, 0x1a, 0x53, 0x49, + 0xdc, 0xa3, 0x85, 0x76, 0xb6, 0xdd, 0x55, 0x28, 0x9e, 0x84, 0x92, 0x8d, 0xe9, 0x02, 0xe0, 0xad, + 0x27, 0x01, 0x84, 0x3f, 0xa4, 0x63, 0xb2, 0x80, 0xdb, 0x5d, 0xa9, 0x98, 0xcb, 0xa9, 0x88, 0x12, + 0xee, 0x2f, 0xae, 0x75, 0x73, 0x35, 0x66, 0xc9, 0x56, 0xba, 0xcb, 0xab, 0x13, 0xc9, 0x02, 0x97, + 0x85, 0x52, 0x48, 0x7e, 0x16, 0xd2, 0xfe, 0xad, 0x0c, 0xeb, 0xef, 0x05, 0x89, 0x90, 0x94, 0xe3, + 0x28, 0xa0, 0xe8, 0x33, 0xa8, 0x2b, 0xa1, 0xfa, 0x44, 0x92, 0x86, 0xb5, 0x63, 0x75, 0xd6, 0x77, + 0x3b, 0xce, 0xca, 0xf3, 0x72, 0x8e, 0xba, 0xce, 0xc7, 0xbd, 0x2f, 0xa9, 0x2f, 0x3f, 0xa2, 0x92, + 0x78, 0xe8, 0x64, 0xd2, 0x2a, 0x4d, 0x27, 0x2d, 0xc8, 0x63, 0x38, 0x63, 0x43, 0x9f, 0x43, 0x8d, + 0x27, 0x01, 0x15, 0x8d, 0xf2, 0x4e, 0xa5, 0xb3, 0xbe, 0x7b, 0xdb, 0x39, 0xef, 0x18, 0x38, 0x87, + 0x51, 0xc0, 0xfc, 0x63, 0x9c, 0x04, 0xd4, 0xdb, 0xd0, 0x4b, 0xd4, 0xd4, 0x97, 0xc0, 0x33, 0x46, + 0xf4, 0x10, 0xea, 0xf2, 0x38, 0xa6, 0x6a, 0xc1, 0x46, 0x25, 0x6d, 0xda, 0x31, 0xec, 0xc5, 0x43, + 0xca, 0xf9, 0x55, 0x53, 0xaa, 0xf9, 0x4f, 0x34, 0xca, 0x7b, 0x49, 0xf3, 0xd6, 0x4d, 0x04, 0x67, + 0x8c, 0xed, 0x9f, 0x2a, 0x80, 0x0a, 0x12, 0x79, 0x2c, 0xec, 0xb3, 0x70, 0xf0, 0x1c, 0x95, 0xfa, + 0x02, 0xea, 0x22, 0x49, 0x13, 0x46, 0xac, 0xee, 0xf9, 0xc5, 0xba, 0x37, 0x43, 0xe6, 0x3b, 0xd2, + 0x01, 0x81, 0x33, 0x52, 0xf4, 0x10, 0xd6, 0x78, 0x14, 0x50, 0x4c, 0x1f, 0x69, 0xb9, 0x9e, 0x82, + 0x1f, 0xcf, 0x80, 0xde, 0xa6, 0xe6, 0x5f, 0xd3, 0x01, 0x6c, 0x28, 0xe7, 0x4e, 0xa3, 0xfa, 0xcc, + 0x4f, 0xe3, 0x77, 0x0b, 0x5e, 0x5d, 0x3c, 0x0d, 0x2f, 0x61, 0x41, 0x9f, 0x72, 0xf4, 0xa3, 0x05, + 0xc8, 0x5f, 0xc8, 0xea, 0xf3, 0x79, 0xe7, 0xfc, 0xbb, 0x5c, 0xb2, 0xc2, 0xb6, 0x6e, 0x6a, 0xc9, + 0x2c, 0xe0, 0x25, 0x6b, 0xb6, 0xff, 0x2a, 0xc3, 0x2b, 0x8b, 0xa5, 0x77, 0x99, 0x90, 0x4a, 0xa1, + 0x33, 0xa3, 0x73, 0x4e, 0x85, 0x14, 0x7a, 0x5e, 0x21, 0x13, 0x29, 0x8c, 0x0f, 0x81, 0x1a, 0x93, + 0x74, 0x6c, 0x66, 0xe7, 0xff, 0xed, 0x3a, 0xbb, 0x70, 0xfb, 0x8a, 0x12, 0xcf, 0x98, 0x9f, 0xf3, + 0x85, 0xfb, 0xa3, 0x0c, 0x9b, 0x85, 0x56, 0x2e, 0x41, 0xb2, 0x07, 0xf3, 0x92, 0xbd, 0x79, 0x31, + 0xc9, 0xae, 0x42, 0xab, 0x1f, 0x2a, 0x00, 0xf9, 0xfb, 0x88, 0x5a, 0x50, 0x3b, 0xa2, 0xbc, 0x27, + 0x1a, 0xd6, 0x4e, 0xa5, 0x63, 0x7b, 0xb6, 0xea, 0xe6, 0xbe, 0x0a, 0xe0, 0x59, 0x1c, 0x7d, 0x6f, + 0xc1, 0x0d, 0x22, 0x25, 0x67, 0xbd, 0x44, 0x52, 0x4c, 0x85, 0xe4, 0xcc, 0x97, 0x2c, 0x0a, 0xd5, + 0xd6, 0x55, 0x6f, 0xb7, 0x56, 0xf6, 0xa6, 0xdd, 0xcd, 0xc1, 0xe4, 0xab, 0xf7, 0xbf, 0x96, 0x34, + 0x14, 0x2c, 0x0a, 0xbd, 0xd7, 0x74, 0x6b, 0x37, 0xf6, 0x96, 0x71, 0xe2, 0xe5, 0x4b, 0xa1, 0x37, + 0xc0, 0x26, 0x31, 0xfb, 0x80, 0x47, 0x49, 0x2c, 0x1a, 0x95, 0xb4, 0xd3, 0x8d, 0xe9, 0xa4, 0x65, + 0xef, 0x1d, 0xee, 0xcf, 0x82, 0x38, 0xcf, 0xab, 0x62, 0x63, 0x8f, 0xa2, 0x51, 0xcd, 0x8b, 0xb1, + 0x09, 0xe2, 0x3c, 0x8f, 0xde, 0x86, 0x0d, 0xf3, 0x71, 0x40, 0xc6, 0x54, 0x34, 0x6a, 0x29, 0x60, + 0x6b, 0x3a, 0x69, 0x6d, 0xe0, 0x62, 0x02, 0xcf, 0xd7, 0xa1, 0x77, 0x61, 0x33, 0x8c, 0x42, 0x53, + 0xf2, 0x29, 0xbe, 0x2b, 0x1a, 0x2f, 0xa4, 0xd0, 0x97, 0xa7, 0x93, 0xd6, 0xe6, 0xc1, 0x7c, 0x0a, + 0x9f, 0xad, 0x6d, 0x7f, 0x0b, 0x5b, 0x05, 0x97, 0xd2, 0x8f, 0xd1, 0x10, 0x20, 0xce, 0x82, 0x7a, + 0x6a, 0x2f, 0x66, 0x7b, 0x99, 0x5f, 0xe4, 0x31, 0x5c, 0xe0, 0x6e, 0xff, 0x52, 0x86, 0xea, 0xb5, + 0x7d, 0xaf, 0xbc, 0x21, 0xeb, 0xd7, 0xbe, 0x7d, 0xe5, 0xbe, 0xad, 0x1e, 0xf5, 0xcb, 0xf5, 0xc1, + 0x8b, 0x3f, 0xea, 0x57, 0x6d, 0x80, 0xbf, 0x96, 0xa1, 0x7e, 0x49, 0xce, 0x77, 0x6f, 0x5e, 0x24, + 0xe7, 0x29, 0x45, 0xba, 0x0a, 0x75, 0xbe, 0x01, 0x33, 0xbb, 0xe8, 0x26, 0xd4, 0x8d, 0x51, 0xa4, + 0xda, 0xd8, 0x39, 0xd0, 0x78, 0x09, 0xce, 0x2a, 0xd0, 0x0e, 0x54, 0x47, 0x2c, 0xec, 0xa7, 0x4e, + 0x67, 0x7b, 0x2f, 0xea, 0xca, 0xea, 0x87, 0x2c, 0xec, 0xe3, 0x34, 0xa3, 0x2a, 0x42, 0x32, 0xa6, + 0x69, 0xd3, 0x85, 0x0a, 0x65, 0x11, 0x38, 0xcd, 0xb4, 0xff, 0xb4, 0x60, 0x4d, 0xdf, 0xcc, 0x8c, + 0xcf, 0x5a, 0xc9, 0xb7, 0x0b, 0x40, 0x62, 0x76, 0x9f, 0x72, 0x65, 0x96, 0x7a, 0xdd, 0xec, 0x0d, + 0xd9, 0x3b, 0xdc, 0xd7, 0x19, 0x5c, 0xa8, 0x7a, 0x72, 0x0f, 0xc8, 0x05, 0x5b, 0xfd, 0x8a, 0x98, + 0xf8, 0x34, 0xbd, 0xa9, 0xb6, 0xb7, 0xa5, 0xcb, 0xec, 0x03, 0x93, 0xc0, 0x79, 0x8d, 0xf7, 0xfa, + 0xc9, 0x69, 0xb3, 0xf4, 0xf8, 0xb4, 0x59, 0xfa, 0xfb, 0xb4, 0x59, 0xfa, 0x6e, 0xda, 0xb4, 0x4e, + 0xa6, 0x4d, 0xeb, 0xf1, 0xb4, 0x69, 0xfd, 0x33, 0x6d, 0x5a, 0x3f, 0xff, 0xdb, 0x2c, 0x3d, 0xa8, + 0x9b, 0x63, 0xfd, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x42, 0x1b, 0xd1, 0x1c, 0xd8, 0x0f, 0x00, 0x00, } diff --git a/pkg/apis/rbac/v1alpha1/generated.proto b/pkg/apis/rbac/v1alpha1/generated.proto index 63ec41b9..4386cd52 100644 --- a/pkg/apis/rbac/v1alpha1/generated.proto +++ b/pkg/apis/rbac/v1alpha1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.rbac.v1alpha1; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". @@ -33,6 +33,8 @@ option go_package = "v1alpha1"; // ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. message ClusterRole { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -44,6 +46,8 @@ message ClusterRole { // ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, // and adds who information via Subject. message ClusterRoleBinding { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -66,9 +70,11 @@ message ClusterRoleBindingBuilder { // ClusterRoleBindingList is a collection of ClusterRoleBindings message ClusterRoleBindingList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is a list of ClusterRoleBindings repeated ClusterRoleBinding items = 2; @@ -76,9 +82,11 @@ message ClusterRoleBindingList { // ClusterRoleList is a collection of ClusterRoles message ClusterRoleList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is a list of ClusterRoles repeated ClusterRole items = 2; @@ -93,7 +101,7 @@ message PolicyRule { // AttributeRestrictions will vary depending on what the Authorizer/AuthorizationAttributeBuilder pair supports. // If the Authorizer does not recognize how to handle the AttributeRestrictions, the Authorizer should report an error. // +optional - optional k8s.io.kubernetes.pkg.runtime.RawExtension attributeRestrictions = 2; + optional k8s.io.apimachinery.pkg.runtime.RawExtension attributeRestrictions = 2; // APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of // the enumerated resources in any API group will be allowed. @@ -126,6 +134,8 @@ message PolicyRuleBuilder { // Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. message Role { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -138,6 +148,8 @@ message Role { // It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given // namespace only have effect in that namespace. message RoleBinding { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // +optional optional k8s.io.kubernetes.pkg.api.v1.ObjectMeta metadata = 1; @@ -152,9 +164,11 @@ message RoleBinding { // RoleBindingList is a collection of RoleBindings message RoleBindingList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is a list of RoleBindings repeated RoleBinding items = 2; @@ -162,9 +176,11 @@ message RoleBindingList { // RoleList is a collection of Roles message RoleList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard object's metadata. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is a list of Roles repeated Role items = 2; diff --git a/pkg/apis/rbac/v1alpha1/register.go b/pkg/apis/rbac/v1alpha1/register.go index ab921133..98c084dc 100644 --- a/pkg/apis/rbac/v1alpha1/register.go +++ b/pkg/apis/rbac/v1alpha1/register.go @@ -17,11 +17,10 @@ limitations under the License. package v1alpha1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/watch/versioned" ) const GroupName = "rbac.authorization.k8s.io" @@ -57,6 +56,6 @@ func addKnownTypes(scheme *runtime.Scheme) error { &metav1.ExportOptions{}, &metav1.GetOptions{}, ) - versioned.AddToGroupVersion(scheme, SchemeGroupVersion) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/apis/rbac/v1alpha1/types.generated.go b/pkg/apis/rbac/v1alpha1/types.generated.go index 0af4bfc1..23a7f573 100644 --- a/pkg/apis/rbac/v1alpha1/types.generated.go +++ b/pkg/apis/rbac/v1alpha1/types.generated.go @@ -25,10 +25,10 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" + pkg2_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + pkg1_runtime "k8s.io/apimachinery/pkg/runtime" + pkg4_types "k8s.io/apimachinery/pkg/types" pkg3_v1 "k8s.io/client-go/pkg/api/v1" - pkg2_v1 "k8s.io/client-go/pkg/apis/meta/v1" - pkg1_runtime "k8s.io/client-go/pkg/runtime" - pkg4_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" @@ -64,10 +64,10 @@ func init() { panic(err) } if false { // reference the types, but skip this branch at build/run time - var v0 pkg3_v1.ObjectMeta - var v1 pkg2_v1.TypeMeta - var v2 pkg1_runtime.RawExtension - var v3 pkg4_types.UID + var v0 pkg2_v1.TypeMeta + var v1 pkg1_runtime.RawExtension + var v2 pkg4_types.UID + var v3 pkg3_v1.ObjectMeta var v4 time.Time _, _, _, _, _ = v0, v1, v2, v3, v4 } @@ -313,25 +313,25 @@ func (x *PolicyRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym23 := z.DecBinary() - _ = yym23 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct24 := r.ContainerType() - if yyct24 == codecSelferValueTypeMap1234 { - yyl24 := r.ReadMapStart() - if yyl24 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl24, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct24 == codecSelferValueTypeArray1234 { - yyl24 := r.ReadArrayStart() - if yyl24 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl24, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -343,12 +343,12 @@ func (x *PolicyRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys25Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys25Slc - var yyhl25 bool = l >= 0 - for yyj25 := 0; ; yyj25++ { - if yyhl25 { - if yyj25 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -357,89 +357,89 @@ func (x *PolicyRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys25Slc = r.DecodeBytes(yys25Slc, true, true) - yys25 := string(yys25Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys25 { + switch yys3 { case "verbs": if r.TryDecodeAsNil() { x.Verbs = nil } else { - yyv26 := &x.Verbs - yym27 := z.DecBinary() - _ = yym27 + yyv4 := &x.Verbs + yym5 := z.DecBinary() + _ = yym5 if false { } else { - z.F.DecSliceStringX(yyv26, false, d) + z.F.DecSliceStringX(yyv4, false, d) } } case "attributeRestrictions": if r.TryDecodeAsNil() { x.AttributeRestrictions = pkg1_runtime.RawExtension{} } else { - yyv28 := &x.AttributeRestrictions - yym29 := z.DecBinary() - _ = yym29 + yyv6 := &x.AttributeRestrictions + yym7 := z.DecBinary() + _ = yym7 if false { - } else if z.HasExtensions() && z.DecExt(yyv28) { - } else if !yym29 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv28) + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) } else { - z.DecFallback(yyv28, false) + z.DecFallback(yyv6, false) } } case "apiGroups": if r.TryDecodeAsNil() { x.APIGroups = nil } else { - yyv30 := &x.APIGroups - yym31 := z.DecBinary() - _ = yym31 + yyv8 := &x.APIGroups + yym9 := z.DecBinary() + _ = yym9 if false { } else { - z.F.DecSliceStringX(yyv30, false, d) + z.F.DecSliceStringX(yyv8, false, d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = nil } else { - yyv32 := &x.Resources - yym33 := z.DecBinary() - _ = yym33 + yyv10 := &x.Resources + yym11 := z.DecBinary() + _ = yym11 if false { } else { - z.F.DecSliceStringX(yyv32, false, d) + z.F.DecSliceStringX(yyv10, false, d) } } case "resourceNames": if r.TryDecodeAsNil() { x.ResourceNames = nil } else { - yyv34 := &x.ResourceNames - yym35 := z.DecBinary() - _ = yym35 + yyv12 := &x.ResourceNames + yym13 := z.DecBinary() + _ = yym13 if false { } else { - z.F.DecSliceStringX(yyv34, false, d) + z.F.DecSliceStringX(yyv12, false, d) } } case "nonResourceURLs": if r.TryDecodeAsNil() { x.NonResourceURLs = nil } else { - yyv36 := &x.NonResourceURLs - yym37 := z.DecBinary() - _ = yym37 + yyv14 := &x.NonResourceURLs + yym15 := z.DecBinary() + _ = yym15 if false { } else { - z.F.DecSliceStringX(yyv36, false, d) + z.F.DecSliceStringX(yyv14, false, d) } } default: - z.DecStructFieldNotFound(-1, yys25) - } // end switch yys25 - } // end for yyj25 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -447,16 +447,16 @@ func (x *PolicyRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj38 int - var yyb38 bool - var yyhl38 bool = l >= 0 - yyj38++ - if yyhl38 { - yyb38 = yyj38 > l + var yyj16 int + var yyb16 bool + var yyhl16 bool = l >= 0 + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb38 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb38 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -464,21 +464,21 @@ func (x *PolicyRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Verbs = nil } else { - yyv39 := &x.Verbs - yym40 := z.DecBinary() - _ = yym40 + yyv17 := &x.Verbs + yym18 := z.DecBinary() + _ = yym18 if false { } else { - z.F.DecSliceStringX(yyv39, false, d) + z.F.DecSliceStringX(yyv17, false, d) } } - yyj38++ - if yyhl38 { - yyb38 = yyj38 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb38 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb38 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -486,24 +486,24 @@ func (x *PolicyRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.AttributeRestrictions = pkg1_runtime.RawExtension{} } else { - yyv41 := &x.AttributeRestrictions - yym42 := z.DecBinary() - _ = yym42 + yyv19 := &x.AttributeRestrictions + yym20 := z.DecBinary() + _ = yym20 if false { - } else if z.HasExtensions() && z.DecExt(yyv41) { - } else if !yym42 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv41) + } else if z.HasExtensions() && z.DecExt(yyv19) { + } else if !yym20 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv19) } else { - z.DecFallback(yyv41, false) + z.DecFallback(yyv19, false) } } - yyj38++ - if yyhl38 { - yyb38 = yyj38 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb38 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb38 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -511,21 +511,21 @@ func (x *PolicyRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIGroups = nil } else { - yyv43 := &x.APIGroups - yym44 := z.DecBinary() - _ = yym44 + yyv21 := &x.APIGroups + yym22 := z.DecBinary() + _ = yym22 if false { } else { - z.F.DecSliceStringX(yyv43, false, d) + z.F.DecSliceStringX(yyv21, false, d) } } - yyj38++ - if yyhl38 { - yyb38 = yyj38 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb38 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb38 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -533,21 +533,21 @@ func (x *PolicyRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Resources = nil } else { - yyv45 := &x.Resources - yym46 := z.DecBinary() - _ = yym46 + yyv23 := &x.Resources + yym24 := z.DecBinary() + _ = yym24 if false { } else { - z.F.DecSliceStringX(yyv45, false, d) + z.F.DecSliceStringX(yyv23, false, d) } } - yyj38++ - if yyhl38 { - yyb38 = yyj38 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb38 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb38 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -555,21 +555,21 @@ func (x *PolicyRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ResourceNames = nil } else { - yyv47 := &x.ResourceNames - yym48 := z.DecBinary() - _ = yym48 + yyv25 := &x.ResourceNames + yym26 := z.DecBinary() + _ = yym26 if false { } else { - z.F.DecSliceStringX(yyv47, false, d) + z.F.DecSliceStringX(yyv25, false, d) } } - yyj38++ - if yyhl38 { - yyb38 = yyj38 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb38 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb38 { + if yyb16 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -577,26 +577,26 @@ func (x *PolicyRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NonResourceURLs = nil } else { - yyv49 := &x.NonResourceURLs - yym50 := z.DecBinary() - _ = yym50 + yyv27 := &x.NonResourceURLs + yym28 := z.DecBinary() + _ = yym28 if false { } else { - z.F.DecSliceStringX(yyv49, false, d) + z.F.DecSliceStringX(yyv27, false, d) } } for { - yyj38++ - if yyhl38 { - yyb38 = yyj38 > l + yyj16++ + if yyhl16 { + yyb16 = yyj16 > l } else { - yyb38 = r.CheckBreak() + yyb16 = r.CheckBreak() } - if yyb38 { + if yyb16 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj38-1, "") + z.DecStructFieldNotFound(yyj16-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -608,35 +608,35 @@ func (x *Subject) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym51 := z.EncBinary() - _ = yym51 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep52 := !z.EncBinary() - yy2arr52 := z.EncBasicHandle().StructToArray - var yyq52 [4]bool - _, _, _ = yysep52, yyq52, yy2arr52 - const yyr52 bool = false - yyq52[1] = x.APIVersion != "" - yyq52[3] = x.Namespace != "" - var yynn52 int - if yyr52 || yy2arr52 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.APIVersion != "" + yyq2[3] = x.Namespace != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn52 = 2 - for _, b := range yyq52 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn52++ + yynn2++ } } - r.EncodeMapStart(yynn52) - yynn52 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr52 || yy2arr52 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym54 := z.EncBinary() - _ = yym54 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -645,18 +645,18 @@ func (x *Subject) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym55 := z.EncBinary() - _ = yym55 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } - if yyr52 || yy2arr52 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq52[1] { - yym57 := z.EncBinary() - _ = yym57 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -665,22 +665,22 @@ func (x *Subject) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq52[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym58 := z.EncBinary() - _ = yym58 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr52 || yy2arr52 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym60 := z.EncBinary() - _ = yym60 + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -689,18 +689,18 @@ func (x *Subject) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym61 := z.EncBinary() - _ = yym61 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr52 || yy2arr52 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq52[3] { - yym63 := z.EncBinary() - _ = yym63 + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -709,19 +709,19 @@ func (x *Subject) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq52[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym64 := z.EncBinary() - _ = yym64 + yym14 := z.EncBinary() + _ = yym14 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr52 || yy2arr52 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -734,25 +734,25 @@ func (x *Subject) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym65 := z.DecBinary() - _ = yym65 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct66 := r.ContainerType() - if yyct66 == codecSelferValueTypeMap1234 { - yyl66 := r.ReadMapStart() - if yyl66 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl66, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct66 == codecSelferValueTypeArray1234 { - yyl66 := r.ReadArrayStart() - if yyl66 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl66, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -764,12 +764,12 @@ func (x *Subject) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys67Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys67Slc - var yyhl67 bool = l >= 0 - for yyj67 := 0; ; yyj67++ { - if yyhl67 { - if yyj67 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -778,38 +778,62 @@ func (x *Subject) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys67Slc = r.DecodeBytes(yys67Slc, true, true) - yys67 := string(yys67Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys67 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv8 := &x.Name + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } case "namespace": if r.TryDecodeAsNil() { x.Namespace = "" } else { - x.Namespace = string(r.DecodeString()) + yyv10 := &x.Namespace + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys67) - } // end switch yys67 - } // end for yyj67 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -817,16 +841,16 @@ func (x *Subject) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj72 int - var yyb72 bool - var yyhl72 bool = l >= 0 - yyj72++ - if yyhl72 { - yyb72 = yyj72 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb72 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb72 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -834,15 +858,21 @@ func (x *Subject) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj72++ - if yyhl72 { - yyb72 = yyj72 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb72 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb72 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -850,15 +880,21 @@ func (x *Subject) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj72++ - if yyhl72 { - yyb72 = yyj72 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb72 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb72 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -866,15 +902,21 @@ func (x *Subject) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv17 := &x.Name + yym18 := z.DecBinary() + _ = yym18 + if false { + } else { + *((*string)(yyv17)) = r.DecodeString() + } } - yyj72++ - if yyhl72 { - yyb72 = yyj72 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb72 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb72 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -882,20 +924,26 @@ func (x *Subject) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Namespace = "" } else { - x.Namespace = string(r.DecodeString()) + yyv19 := &x.Namespace + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } for { - yyj72++ - if yyhl72 { - yyb72 = yyj72 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb72 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb72 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj72-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -907,33 +955,33 @@ func (x *RoleRef) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym77 := z.EncBinary() - _ = yym77 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep78 := !z.EncBinary() - yy2arr78 := z.EncBasicHandle().StructToArray - var yyq78 [3]bool - _, _, _ = yysep78, yyq78, yy2arr78 - const yyr78 bool = false - var yynn78 int - if yyr78 || yy2arr78 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn78 = 3 - for _, b := range yyq78 { + yynn2 = 3 + for _, b := range yyq2 { if b { - yynn78++ + yynn2++ } } - r.EncodeMapStart(yynn78) - yynn78 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr78 || yy2arr78 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym80 := z.EncBinary() - _ = yym80 + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIGroup)) @@ -942,17 +990,17 @@ func (x *RoleRef) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym81 := z.EncBinary() - _ = yym81 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIGroup)) } } - if yyr78 || yy2arr78 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym83 := z.EncBinary() - _ = yym83 + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -961,17 +1009,17 @@ func (x *RoleRef) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym84 := z.EncBinary() - _ = yym84 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } - if yyr78 || yy2arr78 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym86 := z.EncBinary() - _ = yym86 + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -980,14 +1028,14 @@ func (x *RoleRef) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym87 := z.EncBinary() - _ = yym87 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr78 || yy2arr78 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1000,25 +1048,25 @@ func (x *RoleRef) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym88 := z.DecBinary() - _ = yym88 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct89 := r.ContainerType() - if yyct89 == codecSelferValueTypeMap1234 { - yyl89 := r.ReadMapStart() - if yyl89 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl89, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct89 == codecSelferValueTypeArray1234 { - yyl89 := r.ReadArrayStart() - if yyl89 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl89, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1030,12 +1078,12 @@ func (x *RoleRef) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys90Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys90Slc - var yyhl90 bool = l >= 0 - for yyj90 := 0; ; yyj90++ { - if yyhl90 { - if yyj90 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1044,32 +1092,50 @@ func (x *RoleRef) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys90Slc = r.DecodeBytes(yys90Slc, true, true) - yys90 := string(yys90Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys90 { + switch yys3 { case "apiGroup": if r.TryDecodeAsNil() { x.APIGroup = "" } else { - x.APIGroup = string(r.DecodeString()) + yyv4 := &x.APIGroup + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv6 := &x.Kind + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "name": if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv8 := &x.Name + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys90) - } // end switch yys90 - } // end for yyj90 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1077,16 +1143,16 @@ func (x *RoleRef) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj94 int - var yyb94 bool - var yyhl94 bool = l >= 0 - yyj94++ - if yyhl94 { - yyb94 = yyj94 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb94 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb94 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1094,15 +1160,21 @@ func (x *RoleRef) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIGroup = "" } else { - x.APIGroup = string(r.DecodeString()) + yyv11 := &x.APIGroup + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } } - yyj94++ - if yyhl94 { - yyb94 = yyj94 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb94 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb94 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1110,15 +1182,21 @@ func (x *RoleRef) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj94++ - if yyhl94 { - yyb94 = yyj94 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb94 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb94 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1126,20 +1204,26 @@ func (x *RoleRef) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Name = "" } else { - x.Name = string(r.DecodeString()) + yyv15 := &x.Name + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } for { - yyj94++ - if yyhl94 { - yyb94 = yyj94 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb94 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb94 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj94-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1151,37 +1235,37 @@ func (x *Role) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym98 := z.EncBinary() - _ = yym98 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep99 := !z.EncBinary() - yy2arr99 := z.EncBasicHandle().StructToArray - var yyq99 [4]bool - _, _, _ = yysep99, yyq99, yy2arr99 - const yyr99 bool = false - yyq99[0] = x.Kind != "" - yyq99[1] = x.APIVersion != "" - yyq99[2] = true - var yynn99 int - if yyr99 || yy2arr99 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn99 = 1 - for _, b := range yyq99 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn99++ + yynn2++ } } - r.EncodeMapStart(yynn99) - yynn99 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr99 || yy2arr99 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq99[0] { - yym101 := z.EncBinary() - _ = yym101 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1190,23 +1274,23 @@ func (x *Role) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq99[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym102 := z.EncBinary() - _ = yym102 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr99 || yy2arr99 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq99[1] { - yym104 := z.EncBinary() - _ = yym104 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1215,42 +1299,42 @@ func (x *Role) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq99[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym105 := z.EncBinary() - _ = yym105 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr99 || yy2arr99 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq99[2] { - yy107 := &x.ObjectMeta - yy107.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq99[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy108 := &x.ObjectMeta - yy108.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr99 || yy2arr99 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Rules == nil { r.EncodeNil() } else { - yym110 := z.EncBinary() - _ = yym110 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSlicePolicyRule(([]PolicyRule)(x.Rules), e) @@ -1263,15 +1347,15 @@ func (x *Role) CodecEncodeSelf(e *codec1978.Encoder) { if x.Rules == nil { r.EncodeNil() } else { - yym111 := z.EncBinary() - _ = yym111 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSlicePolicyRule(([]PolicyRule)(x.Rules), e) } } } - if yyr99 || yy2arr99 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1284,25 +1368,25 @@ func (x *Role) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym112 := z.DecBinary() - _ = yym112 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct113 := r.ContainerType() - if yyct113 == codecSelferValueTypeMap1234 { - yyl113 := r.ReadMapStart() - if yyl113 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl113, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct113 == codecSelferValueTypeArray1234 { - yyl113 := r.ReadArrayStart() - if yyl113 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl113, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1314,12 +1398,12 @@ func (x *Role) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys114Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys114Slc - var yyhl114 bool = l >= 0 - for yyj114 := 0; ; yyj114++ { - if yyhl114 { - if yyj114 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1328,45 +1412,57 @@ func (x *Role) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys114Slc = r.DecodeBytes(yys114Slc, true, true) - yys114 := string(yys114Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys114 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg3_v1.ObjectMeta{} } else { - yyv117 := &x.ObjectMeta - yyv117.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "rules": if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv118 := &x.Rules - yym119 := z.DecBinary() - _ = yym119 + yyv9 := &x.Rules + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSlicePolicyRule((*[]PolicyRule)(yyv118), d) + h.decSlicePolicyRule((*[]PolicyRule)(yyv9), d) } } default: - z.DecStructFieldNotFound(-1, yys114) - } // end switch yys114 - } // end for yyj114 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1374,16 +1470,16 @@ func (x *Role) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj120 int - var yyb120 bool - var yyhl120 bool = l >= 0 - yyj120++ - if yyhl120 { - yyb120 = yyj120 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb120 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb120 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1391,15 +1487,21 @@ func (x *Role) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj120++ - if yyhl120 { - yyb120 = yyj120 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb120 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb120 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1407,15 +1509,21 @@ func (x *Role) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj120++ - if yyhl120 { - yyb120 = yyj120 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb120 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb120 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1423,16 +1531,16 @@ func (x *Role) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg3_v1.ObjectMeta{} } else { - yyv123 := &x.ObjectMeta - yyv123.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj120++ - if yyhl120 { - yyb120 = yyj120 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb120 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb120 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1440,26 +1548,26 @@ func (x *Role) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv124 := &x.Rules - yym125 := z.DecBinary() - _ = yym125 + yyv17 := &x.Rules + yym18 := z.DecBinary() + _ = yym18 if false { } else { - h.decSlicePolicyRule((*[]PolicyRule)(yyv124), d) + h.decSlicePolicyRule((*[]PolicyRule)(yyv17), d) } } for { - yyj120++ - if yyhl120 { - yyb120 = yyj120 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb120 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb120 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj120-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1471,37 +1579,37 @@ func (x *RoleBinding) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym126 := z.EncBinary() - _ = yym126 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep127 := !z.EncBinary() - yy2arr127 := z.EncBasicHandle().StructToArray - var yyq127 [5]bool - _, _, _ = yysep127, yyq127, yy2arr127 - const yyr127 bool = false - yyq127[0] = x.Kind != "" - yyq127[1] = x.APIVersion != "" - yyq127[2] = true - var yynn127 int - if yyr127 || yy2arr127 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn127 = 2 - for _, b := range yyq127 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn127++ + yynn2++ } } - r.EncodeMapStart(yynn127) - yynn127 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr127 || yy2arr127 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq127[0] { - yym129 := z.EncBinary() - _ = yym129 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1510,23 +1618,23 @@ func (x *RoleBinding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq127[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym130 := z.EncBinary() - _ = yym130 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr127 || yy2arr127 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq127[1] { - yym132 := z.EncBinary() - _ = yym132 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1535,42 +1643,42 @@ func (x *RoleBinding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq127[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym133 := z.EncBinary() - _ = yym133 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr127 || yy2arr127 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq127[2] { - yy135 := &x.ObjectMeta - yy135.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq127[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy136 := &x.ObjectMeta - yy136.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr127 || yy2arr127 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Subjects == nil { r.EncodeNil() } else { - yym138 := z.EncBinary() - _ = yym138 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceSubject(([]Subject)(x.Subjects), e) @@ -1583,26 +1691,26 @@ func (x *RoleBinding) CodecEncodeSelf(e *codec1978.Encoder) { if x.Subjects == nil { r.EncodeNil() } else { - yym139 := z.EncBinary() - _ = yym139 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceSubject(([]Subject)(x.Subjects), e) } } } - if yyr127 || yy2arr127 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy141 := &x.RoleRef - yy141.CodecEncodeSelf(e) + yy18 := &x.RoleRef + yy18.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("roleRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy142 := &x.RoleRef - yy142.CodecEncodeSelf(e) + yy20 := &x.RoleRef + yy20.CodecEncodeSelf(e) } - if yyr127 || yy2arr127 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1615,25 +1723,25 @@ func (x *RoleBinding) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym143 := z.DecBinary() - _ = yym143 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct144 := r.ContainerType() - if yyct144 == codecSelferValueTypeMap1234 { - yyl144 := r.ReadMapStart() - if yyl144 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl144, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct144 == codecSelferValueTypeArray1234 { - yyl144 := r.ReadArrayStart() - if yyl144 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl144, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1645,12 +1753,12 @@ func (x *RoleBinding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys145Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys145Slc - var yyhl145 bool = l >= 0 - for yyj145 := 0; ; yyj145++ { - if yyhl145 { - if yyj145 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1659,52 +1767,64 @@ func (x *RoleBinding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys145Slc = r.DecodeBytes(yys145Slc, true, true) - yys145 := string(yys145Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys145 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg3_v1.ObjectMeta{} } else { - yyv148 := &x.ObjectMeta - yyv148.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "subjects": if r.TryDecodeAsNil() { x.Subjects = nil } else { - yyv149 := &x.Subjects - yym150 := z.DecBinary() - _ = yym150 + yyv9 := &x.Subjects + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSliceSubject((*[]Subject)(yyv149), d) + h.decSliceSubject((*[]Subject)(yyv9), d) } } case "roleRef": if r.TryDecodeAsNil() { x.RoleRef = RoleRef{} } else { - yyv151 := &x.RoleRef - yyv151.CodecDecodeSelf(d) + yyv11 := &x.RoleRef + yyv11.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys145) - } // end switch yys145 - } // end for yyj145 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1712,16 +1832,16 @@ func (x *RoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj152 int - var yyb152 bool - var yyhl152 bool = l >= 0 - yyj152++ - if yyhl152 { - yyb152 = yyj152 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb152 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb152 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1729,15 +1849,21 @@ func (x *RoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj152++ - if yyhl152 { - yyb152 = yyj152 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb152 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb152 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1745,15 +1871,21 @@ func (x *RoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj152++ - if yyhl152 { - yyb152 = yyj152 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb152 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb152 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1761,16 +1893,16 @@ func (x *RoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg3_v1.ObjectMeta{} } else { - yyv155 := &x.ObjectMeta - yyv155.CodecDecodeSelf(d) + yyv17 := &x.ObjectMeta + yyv17.CodecDecodeSelf(d) } - yyj152++ - if yyhl152 { - yyb152 = yyj152 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb152 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb152 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1778,21 +1910,21 @@ func (x *RoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Subjects = nil } else { - yyv156 := &x.Subjects - yym157 := z.DecBinary() - _ = yym157 + yyv18 := &x.Subjects + yym19 := z.DecBinary() + _ = yym19 if false { } else { - h.decSliceSubject((*[]Subject)(yyv156), d) + h.decSliceSubject((*[]Subject)(yyv18), d) } } - yyj152++ - if yyhl152 { - yyb152 = yyj152 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb152 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb152 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1800,21 +1932,21 @@ func (x *RoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.RoleRef = RoleRef{} } else { - yyv158 := &x.RoleRef - yyv158.CodecDecodeSelf(d) + yyv20 := &x.RoleRef + yyv20.CodecDecodeSelf(d) } for { - yyj152++ - if yyhl152 { - yyb152 = yyj152 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb152 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb152 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj152-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1826,37 +1958,37 @@ func (x *RoleBindingList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym159 := z.EncBinary() - _ = yym159 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep160 := !z.EncBinary() - yy2arr160 := z.EncBasicHandle().StructToArray - var yyq160 [4]bool - _, _, _ = yysep160, yyq160, yy2arr160 - const yyr160 bool = false - yyq160[0] = x.Kind != "" - yyq160[1] = x.APIVersion != "" - yyq160[2] = true - var yynn160 int - if yyr160 || yy2arr160 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn160 = 1 - for _, b := range yyq160 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn160++ + yynn2++ } } - r.EncodeMapStart(yynn160) - yynn160 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr160 || yy2arr160 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq160[0] { - yym162 := z.EncBinary() - _ = yym162 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1865,23 +1997,23 @@ func (x *RoleBindingList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq160[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym163 := z.EncBinary() - _ = yym163 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr160 || yy2arr160 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq160[1] { - yym165 := z.EncBinary() - _ = yym165 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1890,54 +2022,54 @@ func (x *RoleBindingList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq160[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym166 := z.EncBinary() - _ = yym166 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr160 || yy2arr160 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq160[2] { - yy168 := &x.ListMeta - yym169 := z.EncBinary() - _ = yym169 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy168) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy168) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq160[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy170 := &x.ListMeta - yym171 := z.EncBinary() - _ = yym171 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy170) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy170) + z.EncFallback(yy12) } } } - if yyr160 || yy2arr160 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym173 := z.EncBinary() - _ = yym173 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceRoleBinding(([]RoleBinding)(x.Items), e) @@ -1950,15 +2082,15 @@ func (x *RoleBindingList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym174 := z.EncBinary() - _ = yym174 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceRoleBinding(([]RoleBinding)(x.Items), e) } } } - if yyr160 || yy2arr160 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1971,25 +2103,25 @@ func (x *RoleBindingList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym175 := z.DecBinary() - _ = yym175 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct176 := r.ContainerType() - if yyct176 == codecSelferValueTypeMap1234 { - yyl176 := r.ReadMapStart() - if yyl176 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl176, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct176 == codecSelferValueTypeArray1234 { - yyl176 := r.ReadArrayStart() - if yyl176 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl176, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2001,12 +2133,12 @@ func (x *RoleBindingList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys177Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys177Slc - var yyhl177 bool = l >= 0 - for yyj177 := 0; ; yyj177++ { - if yyhl177 { - if yyj177 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2015,51 +2147,63 @@ func (x *RoleBindingList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys177Slc = r.DecodeBytes(yys177Slc, true, true) - yys177 := string(yys177Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys177 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv180 := &x.ListMeta - yym181 := z.DecBinary() - _ = yym181 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv180) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv180, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv182 := &x.Items - yym183 := z.DecBinary() - _ = yym183 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceRoleBinding((*[]RoleBinding)(yyv182), d) + h.decSliceRoleBinding((*[]RoleBinding)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys177) - } // end switch yys177 - } // end for yyj177 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2067,16 +2211,16 @@ func (x *RoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj184 int - var yyb184 bool - var yyhl184 bool = l >= 0 - yyj184++ - if yyhl184 { - yyb184 = yyj184 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb184 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb184 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2084,15 +2228,21 @@ func (x *RoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj184++ - if yyhl184 { - yyb184 = yyj184 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb184 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb184 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2100,15 +2250,21 @@ func (x *RoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj184++ - if yyhl184 { - yyb184 = yyj184 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb184 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb184 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2116,22 +2272,22 @@ func (x *RoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv187 := &x.ListMeta - yym188 := z.DecBinary() - _ = yym188 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv187) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv187, false) + z.DecFallback(yyv17, false) } } - yyj184++ - if yyhl184 { - yyb184 = yyj184 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb184 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb184 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2139,26 +2295,26 @@ func (x *RoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv189 := &x.Items - yym190 := z.DecBinary() - _ = yym190 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceRoleBinding((*[]RoleBinding)(yyv189), d) + h.decSliceRoleBinding((*[]RoleBinding)(yyv19), d) } } for { - yyj184++ - if yyhl184 { - yyb184 = yyj184 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb184 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb184 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj184-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2170,37 +2326,37 @@ func (x *RoleList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym191 := z.EncBinary() - _ = yym191 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep192 := !z.EncBinary() - yy2arr192 := z.EncBasicHandle().StructToArray - var yyq192 [4]bool - _, _, _ = yysep192, yyq192, yy2arr192 - const yyr192 bool = false - yyq192[0] = x.Kind != "" - yyq192[1] = x.APIVersion != "" - yyq192[2] = true - var yynn192 int - if yyr192 || yy2arr192 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn192 = 1 - for _, b := range yyq192 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn192++ + yynn2++ } } - r.EncodeMapStart(yynn192) - yynn192 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr192 || yy2arr192 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq192[0] { - yym194 := z.EncBinary() - _ = yym194 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -2209,23 +2365,23 @@ func (x *RoleList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq192[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym195 := z.EncBinary() - _ = yym195 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr192 || yy2arr192 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq192[1] { - yym197 := z.EncBinary() - _ = yym197 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -2234,54 +2390,54 @@ func (x *RoleList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq192[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym198 := z.EncBinary() - _ = yym198 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr192 || yy2arr192 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq192[2] { - yy200 := &x.ListMeta - yym201 := z.EncBinary() - _ = yym201 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy200) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy200) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq192[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy202 := &x.ListMeta - yym203 := z.EncBinary() - _ = yym203 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy202) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy202) + z.EncFallback(yy12) } } } - if yyr192 || yy2arr192 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym205 := z.EncBinary() - _ = yym205 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceRole(([]Role)(x.Items), e) @@ -2294,15 +2450,15 @@ func (x *RoleList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym206 := z.EncBinary() - _ = yym206 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceRole(([]Role)(x.Items), e) } } } - if yyr192 || yy2arr192 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2315,25 +2471,25 @@ func (x *RoleList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym207 := z.DecBinary() - _ = yym207 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct208 := r.ContainerType() - if yyct208 == codecSelferValueTypeMap1234 { - yyl208 := r.ReadMapStart() - if yyl208 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl208, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct208 == codecSelferValueTypeArray1234 { - yyl208 := r.ReadArrayStart() - if yyl208 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl208, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2345,12 +2501,12 @@ func (x *RoleList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys209Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys209Slc - var yyhl209 bool = l >= 0 - for yyj209 := 0; ; yyj209++ { - if yyhl209 { - if yyj209 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2359,51 +2515,63 @@ func (x *RoleList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys209Slc = r.DecodeBytes(yys209Slc, true, true) - yys209 := string(yys209Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys209 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv212 := &x.ListMeta - yym213 := z.DecBinary() - _ = yym213 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv212) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv212, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv214 := &x.Items - yym215 := z.DecBinary() - _ = yym215 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceRole((*[]Role)(yyv214), d) + h.decSliceRole((*[]Role)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys209) - } // end switch yys209 - } // end for yyj209 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2411,16 +2579,16 @@ func (x *RoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj216 int - var yyb216 bool - var yyhl216 bool = l >= 0 - yyj216++ - if yyhl216 { - yyb216 = yyj216 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb216 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb216 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2428,15 +2596,21 @@ func (x *RoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj216++ - if yyhl216 { - yyb216 = yyj216 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb216 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb216 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2444,15 +2618,21 @@ func (x *RoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj216++ - if yyhl216 { - yyb216 = yyj216 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb216 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb216 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2460,22 +2640,22 @@ func (x *RoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv219 := &x.ListMeta - yym220 := z.DecBinary() - _ = yym220 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv219) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv219, false) + z.DecFallback(yyv17, false) } } - yyj216++ - if yyhl216 { - yyb216 = yyj216 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb216 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb216 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2483,26 +2663,26 @@ func (x *RoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv221 := &x.Items - yym222 := z.DecBinary() - _ = yym222 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceRole((*[]Role)(yyv221), d) + h.decSliceRole((*[]Role)(yyv19), d) } } for { - yyj216++ - if yyhl216 { - yyb216 = yyj216 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb216 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb216 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj216-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2514,37 +2694,37 @@ func (x *ClusterRole) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym223 := z.EncBinary() - _ = yym223 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep224 := !z.EncBinary() - yy2arr224 := z.EncBasicHandle().StructToArray - var yyq224 [4]bool - _, _, _ = yysep224, yyq224, yy2arr224 - const yyr224 bool = false - yyq224[0] = x.Kind != "" - yyq224[1] = x.APIVersion != "" - yyq224[2] = true - var yynn224 int - if yyr224 || yy2arr224 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn224 = 1 - for _, b := range yyq224 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn224++ + yynn2++ } } - r.EncodeMapStart(yynn224) - yynn224 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr224 || yy2arr224 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq224[0] { - yym226 := z.EncBinary() - _ = yym226 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -2553,23 +2733,23 @@ func (x *ClusterRole) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq224[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym227 := z.EncBinary() - _ = yym227 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr224 || yy2arr224 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq224[1] { - yym229 := z.EncBinary() - _ = yym229 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -2578,42 +2758,42 @@ func (x *ClusterRole) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq224[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym230 := z.EncBinary() - _ = yym230 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr224 || yy2arr224 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq224[2] { - yy232 := &x.ObjectMeta - yy232.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq224[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy233 := &x.ObjectMeta - yy233.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr224 || yy2arr224 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Rules == nil { r.EncodeNil() } else { - yym235 := z.EncBinary() - _ = yym235 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSlicePolicyRule(([]PolicyRule)(x.Rules), e) @@ -2626,15 +2806,15 @@ func (x *ClusterRole) CodecEncodeSelf(e *codec1978.Encoder) { if x.Rules == nil { r.EncodeNil() } else { - yym236 := z.EncBinary() - _ = yym236 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSlicePolicyRule(([]PolicyRule)(x.Rules), e) } } } - if yyr224 || yy2arr224 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2647,25 +2827,25 @@ func (x *ClusterRole) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym237 := z.DecBinary() - _ = yym237 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct238 := r.ContainerType() - if yyct238 == codecSelferValueTypeMap1234 { - yyl238 := r.ReadMapStart() - if yyl238 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl238, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct238 == codecSelferValueTypeArray1234 { - yyl238 := r.ReadArrayStart() - if yyl238 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl238, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2677,12 +2857,12 @@ func (x *ClusterRole) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys239Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys239Slc - var yyhl239 bool = l >= 0 - for yyj239 := 0; ; yyj239++ { - if yyhl239 { - if yyj239 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -2691,45 +2871,57 @@ func (x *ClusterRole) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys239Slc = r.DecodeBytes(yys239Slc, true, true) - yys239 := string(yys239Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys239 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg3_v1.ObjectMeta{} } else { - yyv242 := &x.ObjectMeta - yyv242.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "rules": if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv243 := &x.Rules - yym244 := z.DecBinary() - _ = yym244 + yyv9 := &x.Rules + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSlicePolicyRule((*[]PolicyRule)(yyv243), d) + h.decSlicePolicyRule((*[]PolicyRule)(yyv9), d) } } default: - z.DecStructFieldNotFound(-1, yys239) - } // end switch yys239 - } // end for yyj239 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2737,16 +2929,16 @@ func (x *ClusterRole) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj245 int - var yyb245 bool - var yyhl245 bool = l >= 0 - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb245 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb245 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2754,15 +2946,21 @@ func (x *ClusterRole) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb245 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb245 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2770,15 +2968,21 @@ func (x *ClusterRole) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb245 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb245 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2786,16 +2990,16 @@ func (x *ClusterRole) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg3_v1.ObjectMeta{} } else { - yyv248 := &x.ObjectMeta - yyv248.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb245 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb245 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2803,26 +3007,26 @@ func (x *ClusterRole) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv249 := &x.Rules - yym250 := z.DecBinary() - _ = yym250 + yyv17 := &x.Rules + yym18 := z.DecBinary() + _ = yym18 if false { } else { - h.decSlicePolicyRule((*[]PolicyRule)(yyv249), d) + h.decSlicePolicyRule((*[]PolicyRule)(yyv17), d) } } for { - yyj245++ - if yyhl245 { - yyb245 = yyj245 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb245 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb245 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj245-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2834,37 +3038,37 @@ func (x *ClusterRoleBinding) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym251 := z.EncBinary() - _ = yym251 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep252 := !z.EncBinary() - yy2arr252 := z.EncBasicHandle().StructToArray - var yyq252 [5]bool - _, _, _ = yysep252, yyq252, yy2arr252 - const yyr252 bool = false - yyq252[0] = x.Kind != "" - yyq252[1] = x.APIVersion != "" - yyq252[2] = true - var yynn252 int - if yyr252 || yy2arr252 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn252 = 2 - for _, b := range yyq252 { + yynn2 = 2 + for _, b := range yyq2 { if b { - yynn252++ + yynn2++ } } - r.EncodeMapStart(yynn252) - yynn252 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr252 || yy2arr252 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq252[0] { - yym254 := z.EncBinary() - _ = yym254 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -2873,23 +3077,23 @@ func (x *ClusterRoleBinding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq252[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym255 := z.EncBinary() - _ = yym255 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr252 || yy2arr252 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq252[1] { - yym257 := z.EncBinary() - _ = yym257 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -2898,42 +3102,42 @@ func (x *ClusterRoleBinding) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq252[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym258 := z.EncBinary() - _ = yym258 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr252 || yy2arr252 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq252[2] { - yy260 := &x.ObjectMeta - yy260.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq252[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy261 := &x.ObjectMeta - yy261.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr252 || yy2arr252 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Subjects == nil { r.EncodeNil() } else { - yym263 := z.EncBinary() - _ = yym263 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceSubject(([]Subject)(x.Subjects), e) @@ -2946,26 +3150,26 @@ func (x *ClusterRoleBinding) CodecEncodeSelf(e *codec1978.Encoder) { if x.Subjects == nil { r.EncodeNil() } else { - yym264 := z.EncBinary() - _ = yym264 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceSubject(([]Subject)(x.Subjects), e) } } } - if yyr252 || yy2arr252 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy266 := &x.RoleRef - yy266.CodecEncodeSelf(e) + yy18 := &x.RoleRef + yy18.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("roleRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy267 := &x.RoleRef - yy267.CodecEncodeSelf(e) + yy20 := &x.RoleRef + yy20.CodecEncodeSelf(e) } - if yyr252 || yy2arr252 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2978,25 +3182,25 @@ func (x *ClusterRoleBinding) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym268 := z.DecBinary() - _ = yym268 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct269 := r.ContainerType() - if yyct269 == codecSelferValueTypeMap1234 { - yyl269 := r.ReadMapStart() - if yyl269 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl269, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct269 == codecSelferValueTypeArray1234 { - yyl269 := r.ReadArrayStart() - if yyl269 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl269, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3008,12 +3212,12 @@ func (x *ClusterRoleBinding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys270Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys270Slc - var yyhl270 bool = l >= 0 - for yyj270 := 0; ; yyj270++ { - if yyhl270 { - if yyj270 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -3022,52 +3226,64 @@ func (x *ClusterRoleBinding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys270Slc = r.DecodeBytes(yys270Slc, true, true) - yys270 := string(yys270Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys270 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg3_v1.ObjectMeta{} } else { - yyv273 := &x.ObjectMeta - yyv273.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "subjects": if r.TryDecodeAsNil() { x.Subjects = nil } else { - yyv274 := &x.Subjects - yym275 := z.DecBinary() - _ = yym275 + yyv9 := &x.Subjects + yym10 := z.DecBinary() + _ = yym10 if false { } else { - h.decSliceSubject((*[]Subject)(yyv274), d) + h.decSliceSubject((*[]Subject)(yyv9), d) } } case "roleRef": if r.TryDecodeAsNil() { x.RoleRef = RoleRef{} } else { - yyv276 := &x.RoleRef - yyv276.CodecDecodeSelf(d) + yyv11 := &x.RoleRef + yyv11.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys270) - } // end switch yys270 - } // end for yyj270 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3075,16 +3291,16 @@ func (x *ClusterRoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj277 int - var yyb277 bool - var yyhl277 bool = l >= 0 - yyj277++ - if yyhl277 { - yyb277 = yyj277 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb277 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb277 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3092,15 +3308,21 @@ func (x *ClusterRoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj277++ - if yyhl277 { - yyb277 = yyj277 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb277 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb277 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3108,15 +3330,21 @@ func (x *ClusterRoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj277++ - if yyhl277 { - yyb277 = yyj277 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb277 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb277 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3124,16 +3352,16 @@ func (x *ClusterRoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.ObjectMeta = pkg3_v1.ObjectMeta{} } else { - yyv280 := &x.ObjectMeta - yyv280.CodecDecodeSelf(d) + yyv17 := &x.ObjectMeta + yyv17.CodecDecodeSelf(d) } - yyj277++ - if yyhl277 { - yyb277 = yyj277 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb277 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb277 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3141,21 +3369,21 @@ func (x *ClusterRoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Subjects = nil } else { - yyv281 := &x.Subjects - yym282 := z.DecBinary() - _ = yym282 + yyv18 := &x.Subjects + yym19 := z.DecBinary() + _ = yym19 if false { } else { - h.decSliceSubject((*[]Subject)(yyv281), d) + h.decSliceSubject((*[]Subject)(yyv18), d) } } - yyj277++ - if yyhl277 { - yyb277 = yyj277 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb277 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb277 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3163,21 +3391,21 @@ func (x *ClusterRoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.RoleRef = RoleRef{} } else { - yyv283 := &x.RoleRef - yyv283.CodecDecodeSelf(d) + yyv20 := &x.RoleRef + yyv20.CodecDecodeSelf(d) } for { - yyj277++ - if yyhl277 { - yyb277 = yyj277 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb277 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb277 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj277-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3189,37 +3417,37 @@ func (x *ClusterRoleBindingList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym284 := z.EncBinary() - _ = yym284 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep285 := !z.EncBinary() - yy2arr285 := z.EncBasicHandle().StructToArray - var yyq285 [4]bool - _, _, _ = yysep285, yyq285, yy2arr285 - const yyr285 bool = false - yyq285[0] = x.Kind != "" - yyq285[1] = x.APIVersion != "" - yyq285[2] = true - var yynn285 int - if yyr285 || yy2arr285 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn285 = 1 - for _, b := range yyq285 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn285++ + yynn2++ } } - r.EncodeMapStart(yynn285) - yynn285 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr285 || yy2arr285 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq285[0] { - yym287 := z.EncBinary() - _ = yym287 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -3228,23 +3456,23 @@ func (x *ClusterRoleBindingList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq285[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym288 := z.EncBinary() - _ = yym288 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr285 || yy2arr285 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq285[1] { - yym290 := z.EncBinary() - _ = yym290 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -3253,54 +3481,54 @@ func (x *ClusterRoleBindingList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq285[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym291 := z.EncBinary() - _ = yym291 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr285 || yy2arr285 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq285[2] { - yy293 := &x.ListMeta - yym294 := z.EncBinary() - _ = yym294 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy293) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy293) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq285[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy295 := &x.ListMeta - yym296 := z.EncBinary() - _ = yym296 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy295) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy295) + z.EncFallback(yy12) } } } - if yyr285 || yy2arr285 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym298 := z.EncBinary() - _ = yym298 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceClusterRoleBinding(([]ClusterRoleBinding)(x.Items), e) @@ -3313,15 +3541,15 @@ func (x *ClusterRoleBindingList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym299 := z.EncBinary() - _ = yym299 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceClusterRoleBinding(([]ClusterRoleBinding)(x.Items), e) } } } - if yyr285 || yy2arr285 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3334,25 +3562,25 @@ func (x *ClusterRoleBindingList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym300 := z.DecBinary() - _ = yym300 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct301 := r.ContainerType() - if yyct301 == codecSelferValueTypeMap1234 { - yyl301 := r.ReadMapStart() - if yyl301 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl301, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct301 == codecSelferValueTypeArray1234 { - yyl301 := r.ReadArrayStart() - if yyl301 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl301, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3364,12 +3592,12 @@ func (x *ClusterRoleBindingList) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys302Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys302Slc - var yyhl302 bool = l >= 0 - for yyj302 := 0; ; yyj302++ { - if yyhl302 { - if yyj302 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -3378,51 +3606,63 @@ func (x *ClusterRoleBindingList) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys302Slc = r.DecodeBytes(yys302Slc, true, true) - yys302 := string(yys302Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys302 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv305 := &x.ListMeta - yym306 := z.DecBinary() - _ = yym306 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv305) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv305, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv307 := &x.Items - yym308 := z.DecBinary() - _ = yym308 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceClusterRoleBinding((*[]ClusterRoleBinding)(yyv307), d) + h.decSliceClusterRoleBinding((*[]ClusterRoleBinding)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys302) - } // end switch yys302 - } // end for yyj302 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3430,16 +3670,16 @@ func (x *ClusterRoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj309 int - var yyb309 bool - var yyhl309 bool = l >= 0 - yyj309++ - if yyhl309 { - yyb309 = yyj309 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb309 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb309 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3447,15 +3687,21 @@ func (x *ClusterRoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj309++ - if yyhl309 { - yyb309 = yyj309 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb309 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb309 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3463,15 +3709,21 @@ func (x *ClusterRoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj309++ - if yyhl309 { - yyb309 = yyj309 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb309 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb309 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3479,22 +3731,22 @@ func (x *ClusterRoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv312 := &x.ListMeta - yym313 := z.DecBinary() - _ = yym313 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv312) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv312, false) + z.DecFallback(yyv17, false) } } - yyj309++ - if yyhl309 { - yyb309 = yyj309 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb309 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb309 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3502,26 +3754,26 @@ func (x *ClusterRoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Items = nil } else { - yyv314 := &x.Items - yym315 := z.DecBinary() - _ = yym315 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceClusterRoleBinding((*[]ClusterRoleBinding)(yyv314), d) + h.decSliceClusterRoleBinding((*[]ClusterRoleBinding)(yyv19), d) } } for { - yyj309++ - if yyhl309 { - yyb309 = yyj309 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb309 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb309 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj309-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3533,37 +3785,37 @@ func (x *ClusterRoleList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym316 := z.EncBinary() - _ = yym316 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep317 := !z.EncBinary() - yy2arr317 := z.EncBasicHandle().StructToArray - var yyq317 [4]bool - _, _, _ = yysep317, yyq317, yy2arr317 - const yyr317 bool = false - yyq317[0] = x.Kind != "" - yyq317[1] = x.APIVersion != "" - yyq317[2] = true - var yynn317 int - if yyr317 || yy2arr317 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn317 = 1 - for _, b := range yyq317 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn317++ + yynn2++ } } - r.EncodeMapStart(yynn317) - yynn317 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr317 || yy2arr317 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq317[0] { - yym319 := z.EncBinary() - _ = yym319 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -3572,23 +3824,23 @@ func (x *ClusterRoleList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq317[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym320 := z.EncBinary() - _ = yym320 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr317 || yy2arr317 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq317[1] { - yym322 := z.EncBinary() - _ = yym322 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -3597,54 +3849,54 @@ func (x *ClusterRoleList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq317[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym323 := z.EncBinary() - _ = yym323 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr317 || yy2arr317 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq317[2] { - yy325 := &x.ListMeta - yym326 := z.EncBinary() - _ = yym326 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy325) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy325) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq317[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy327 := &x.ListMeta - yym328 := z.EncBinary() - _ = yym328 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy327) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy327) + z.EncFallback(yy12) } } } - if yyr317 || yy2arr317 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym330 := z.EncBinary() - _ = yym330 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceClusterRole(([]ClusterRole)(x.Items), e) @@ -3657,15 +3909,15 @@ func (x *ClusterRoleList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym331 := z.EncBinary() - _ = yym331 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceClusterRole(([]ClusterRole)(x.Items), e) } } } - if yyr317 || yy2arr317 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3678,25 +3930,25 @@ func (x *ClusterRoleList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym332 := z.DecBinary() - _ = yym332 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct333 := r.ContainerType() - if yyct333 == codecSelferValueTypeMap1234 { - yyl333 := r.ReadMapStart() - if yyl333 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl333, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct333 == codecSelferValueTypeArray1234 { - yyl333 := r.ReadArrayStart() - if yyl333 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl333, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3708,12 +3960,12 @@ func (x *ClusterRoleList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys334Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys334Slc - var yyhl334 bool = l >= 0 - for yyj334 := 0; ; yyj334++ { - if yyhl334 { - if yyj334 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -3722,51 +3974,63 @@ func (x *ClusterRoleList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys334Slc = r.DecodeBytes(yys334Slc, true, true) - yys334 := string(yys334Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys334 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv337 := &x.ListMeta - yym338 := z.DecBinary() - _ = yym338 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv337) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv337, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv339 := &x.Items - yym340 := z.DecBinary() - _ = yym340 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceClusterRole((*[]ClusterRole)(yyv339), d) + h.decSliceClusterRole((*[]ClusterRole)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys334) - } // end switch yys334 - } // end for yyj334 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3774,16 +4038,16 @@ func (x *ClusterRoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj341 int - var yyb341 bool - var yyhl341 bool = l >= 0 - yyj341++ - if yyhl341 { - yyb341 = yyj341 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb341 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb341 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3791,15 +4055,21 @@ func (x *ClusterRoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj341++ - if yyhl341 { - yyb341 = yyj341 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb341 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb341 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3807,15 +4077,21 @@ func (x *ClusterRoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj341++ - if yyhl341 { - yyb341 = yyj341 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb341 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb341 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3823,22 +4099,22 @@ func (x *ClusterRoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv344 := &x.ListMeta - yym345 := z.DecBinary() - _ = yym345 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv344) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv344, false) + z.DecFallback(yyv17, false) } } - yyj341++ - if yyhl341 { - yyb341 = yyj341 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb341 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb341 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3846,26 +4122,26 @@ func (x *ClusterRoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv346 := &x.Items - yym347 := z.DecBinary() - _ = yym347 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceClusterRole((*[]ClusterRole)(yyv346), d) + h.decSliceClusterRole((*[]ClusterRole)(yyv19), d) } } for { - yyj341++ - if yyhl341 { - yyb341 = yyj341 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb341 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb341 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj341-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3875,10 +4151,10 @@ func (x codecSelfer1234) encSlicePolicyRule(v []PolicyRule, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv348 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy349 := &yyv348 - yy349.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3888,83 +4164,86 @@ func (x codecSelfer1234) decSlicePolicyRule(v *[]PolicyRule, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv350 := *v - yyh350, yyl350 := z.DecSliceHelperStart() - var yyc350 bool - if yyl350 == 0 { - if yyv350 == nil { - yyv350 = []PolicyRule{} - yyc350 = true - } else if len(yyv350) != 0 { - yyv350 = yyv350[:0] - yyc350 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []PolicyRule{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl350 > 0 { - var yyrr350, yyrl350 int - var yyrt350 bool - if yyl350 > cap(yyv350) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg350 := len(yyv350) > 0 - yyv2350 := yyv350 - yyrl350, yyrt350 = z.DecInferLen(yyl350, z.DecBasicHandle().MaxInitLen, 160) - if yyrt350 { - if yyrl350 <= cap(yyv350) { - yyv350 = yyv350[:yyrl350] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 160) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv350 = make([]PolicyRule, yyrl350) + yyv1 = make([]PolicyRule, yyrl1) } } else { - yyv350 = make([]PolicyRule, yyrl350) + yyv1 = make([]PolicyRule, yyrl1) } - yyc350 = true - yyrr350 = len(yyv350) - if yyrg350 { - copy(yyv350, yyv2350) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl350 != len(yyv350) { - yyv350 = yyv350[:yyl350] - yyc350 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj350 := 0 - for ; yyj350 < yyrr350; yyj350++ { - yyh350.ElemContainerState(yyj350) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv350[yyj350] = PolicyRule{} + yyv1[yyj1] = PolicyRule{} } else { - yyv351 := &yyv350[yyj350] - yyv351.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt350 { - for ; yyj350 < yyl350; yyj350++ { - yyv350 = append(yyv350, PolicyRule{}) - yyh350.ElemContainerState(yyj350) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, PolicyRule{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv350[yyj350] = PolicyRule{} + yyv1[yyj1] = PolicyRule{} } else { - yyv352 := &yyv350[yyj350] - yyv352.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj350 := 0 - for ; !r.CheckBreak(); yyj350++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj350 >= len(yyv350) { - yyv350 = append(yyv350, PolicyRule{}) // var yyz350 PolicyRule - yyc350 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, PolicyRule{}) // var yyz1 PolicyRule + yyc1 = true } - yyh350.ElemContainerState(yyj350) - if yyj350 < len(yyv350) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv350[yyj350] = PolicyRule{} + yyv1[yyj1] = PolicyRule{} } else { - yyv353 := &yyv350[yyj350] - yyv353.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -3972,17 +4251,17 @@ func (x codecSelfer1234) decSlicePolicyRule(v *[]PolicyRule, d *codec1978.Decode } } - if yyj350 < len(yyv350) { - yyv350 = yyv350[:yyj350] - yyc350 = true - } else if yyj350 == 0 && yyv350 == nil { - yyv350 = []PolicyRule{} - yyc350 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []PolicyRule{} + yyc1 = true } } - yyh350.End() - if yyc350 { - *v = yyv350 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -3991,10 +4270,10 @@ func (x codecSelfer1234) encSliceSubject(v []Subject, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv354 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy355 := &yyv354 - yy355.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4004,83 +4283,86 @@ func (x codecSelfer1234) decSliceSubject(v *[]Subject, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv356 := *v - yyh356, yyl356 := z.DecSliceHelperStart() - var yyc356 bool - if yyl356 == 0 { - if yyv356 == nil { - yyv356 = []Subject{} - yyc356 = true - } else if len(yyv356) != 0 { - yyv356 = yyv356[:0] - yyc356 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Subject{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl356 > 0 { - var yyrr356, yyrl356 int - var yyrt356 bool - if yyl356 > cap(yyv356) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg356 := len(yyv356) > 0 - yyv2356 := yyv356 - yyrl356, yyrt356 = z.DecInferLen(yyl356, z.DecBasicHandle().MaxInitLen, 64) - if yyrt356 { - if yyrl356 <= cap(yyv356) { - yyv356 = yyv356[:yyrl356] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv356 = make([]Subject, yyrl356) + yyv1 = make([]Subject, yyrl1) } } else { - yyv356 = make([]Subject, yyrl356) + yyv1 = make([]Subject, yyrl1) } - yyc356 = true - yyrr356 = len(yyv356) - if yyrg356 { - copy(yyv356, yyv2356) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl356 != len(yyv356) { - yyv356 = yyv356[:yyl356] - yyc356 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj356 := 0 - for ; yyj356 < yyrr356; yyj356++ { - yyh356.ElemContainerState(yyj356) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv356[yyj356] = Subject{} + yyv1[yyj1] = Subject{} } else { - yyv357 := &yyv356[yyj356] - yyv357.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt356 { - for ; yyj356 < yyl356; yyj356++ { - yyv356 = append(yyv356, Subject{}) - yyh356.ElemContainerState(yyj356) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Subject{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv356[yyj356] = Subject{} + yyv1[yyj1] = Subject{} } else { - yyv358 := &yyv356[yyj356] - yyv358.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj356 := 0 - for ; !r.CheckBreak(); yyj356++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj356 >= len(yyv356) { - yyv356 = append(yyv356, Subject{}) // var yyz356 Subject - yyc356 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Subject{}) // var yyz1 Subject + yyc1 = true } - yyh356.ElemContainerState(yyj356) - if yyj356 < len(yyv356) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv356[yyj356] = Subject{} + yyv1[yyj1] = Subject{} } else { - yyv359 := &yyv356[yyj356] - yyv359.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -4088,17 +4370,17 @@ func (x codecSelfer1234) decSliceSubject(v *[]Subject, d *codec1978.Decoder) { } } - if yyj356 < len(yyv356) { - yyv356 = yyv356[:yyj356] - yyc356 = true - } else if yyj356 == 0 && yyv356 == nil { - yyv356 = []Subject{} - yyc356 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Subject{} + yyc1 = true } } - yyh356.End() - if yyc356 { - *v = yyv356 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -4107,10 +4389,10 @@ func (x codecSelfer1234) encSliceRoleBinding(v []RoleBinding, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv360 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy361 := &yyv360 - yy361.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4120,83 +4402,86 @@ func (x codecSelfer1234) decSliceRoleBinding(v *[]RoleBinding, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv362 := *v - yyh362, yyl362 := z.DecSliceHelperStart() - var yyc362 bool - if yyl362 == 0 { - if yyv362 == nil { - yyv362 = []RoleBinding{} - yyc362 = true - } else if len(yyv362) != 0 { - yyv362 = yyv362[:0] - yyc362 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []RoleBinding{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl362 > 0 { - var yyrr362, yyrl362 int - var yyrt362 bool - if yyl362 > cap(yyv362) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg362 := len(yyv362) > 0 - yyv2362 := yyv362 - yyrl362, yyrt362 = z.DecInferLen(yyl362, z.DecBasicHandle().MaxInitLen, 328) - if yyrt362 { - if yyrl362 <= cap(yyv362) { - yyv362 = yyv362[:yyrl362] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 328) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv362 = make([]RoleBinding, yyrl362) + yyv1 = make([]RoleBinding, yyrl1) } } else { - yyv362 = make([]RoleBinding, yyrl362) + yyv1 = make([]RoleBinding, yyrl1) } - yyc362 = true - yyrr362 = len(yyv362) - if yyrg362 { - copy(yyv362, yyv2362) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl362 != len(yyv362) { - yyv362 = yyv362[:yyl362] - yyc362 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj362 := 0 - for ; yyj362 < yyrr362; yyj362++ { - yyh362.ElemContainerState(yyj362) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv362[yyj362] = RoleBinding{} + yyv1[yyj1] = RoleBinding{} } else { - yyv363 := &yyv362[yyj362] - yyv363.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt362 { - for ; yyj362 < yyl362; yyj362++ { - yyv362 = append(yyv362, RoleBinding{}) - yyh362.ElemContainerState(yyj362) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, RoleBinding{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv362[yyj362] = RoleBinding{} + yyv1[yyj1] = RoleBinding{} } else { - yyv364 := &yyv362[yyj362] - yyv364.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj362 := 0 - for ; !r.CheckBreak(); yyj362++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj362 >= len(yyv362) { - yyv362 = append(yyv362, RoleBinding{}) // var yyz362 RoleBinding - yyc362 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, RoleBinding{}) // var yyz1 RoleBinding + yyc1 = true } - yyh362.ElemContainerState(yyj362) - if yyj362 < len(yyv362) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv362[yyj362] = RoleBinding{} + yyv1[yyj1] = RoleBinding{} } else { - yyv365 := &yyv362[yyj362] - yyv365.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -4204,17 +4489,17 @@ func (x codecSelfer1234) decSliceRoleBinding(v *[]RoleBinding, d *codec1978.Deco } } - if yyj362 < len(yyv362) { - yyv362 = yyv362[:yyj362] - yyc362 = true - } else if yyj362 == 0 && yyv362 == nil { - yyv362 = []RoleBinding{} - yyc362 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []RoleBinding{} + yyc1 = true } } - yyh362.End() - if yyc362 { - *v = yyv362 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -4223,10 +4508,10 @@ func (x codecSelfer1234) encSliceRole(v []Role, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv366 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy367 := &yyv366 - yy367.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4236,83 +4521,86 @@ func (x codecSelfer1234) decSliceRole(v *[]Role, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv368 := *v - yyh368, yyl368 := z.DecSliceHelperStart() - var yyc368 bool - if yyl368 == 0 { - if yyv368 == nil { - yyv368 = []Role{} - yyc368 = true - } else if len(yyv368) != 0 { - yyv368 = yyv368[:0] - yyc368 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Role{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl368 > 0 { - var yyrr368, yyrl368 int - var yyrt368 bool - if yyl368 > cap(yyv368) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg368 := len(yyv368) > 0 - yyv2368 := yyv368 - yyrl368, yyrt368 = z.DecInferLen(yyl368, z.DecBasicHandle().MaxInitLen, 280) - if yyrt368 { - if yyrl368 <= cap(yyv368) { - yyv368 = yyv368[:yyrl368] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv368 = make([]Role, yyrl368) + yyv1 = make([]Role, yyrl1) } } else { - yyv368 = make([]Role, yyrl368) + yyv1 = make([]Role, yyrl1) } - yyc368 = true - yyrr368 = len(yyv368) - if yyrg368 { - copy(yyv368, yyv2368) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl368 != len(yyv368) { - yyv368 = yyv368[:yyl368] - yyc368 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj368 := 0 - for ; yyj368 < yyrr368; yyj368++ { - yyh368.ElemContainerState(yyj368) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv368[yyj368] = Role{} + yyv1[yyj1] = Role{} } else { - yyv369 := &yyv368[yyj368] - yyv369.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt368 { - for ; yyj368 < yyl368; yyj368++ { - yyv368 = append(yyv368, Role{}) - yyh368.ElemContainerState(yyj368) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Role{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv368[yyj368] = Role{} + yyv1[yyj1] = Role{} } else { - yyv370 := &yyv368[yyj368] - yyv370.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj368 := 0 - for ; !r.CheckBreak(); yyj368++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj368 >= len(yyv368) { - yyv368 = append(yyv368, Role{}) // var yyz368 Role - yyc368 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Role{}) // var yyz1 Role + yyc1 = true } - yyh368.ElemContainerState(yyj368) - if yyj368 < len(yyv368) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv368[yyj368] = Role{} + yyv1[yyj1] = Role{} } else { - yyv371 := &yyv368[yyj368] - yyv371.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -4320,17 +4608,17 @@ func (x codecSelfer1234) decSliceRole(v *[]Role, d *codec1978.Decoder) { } } - if yyj368 < len(yyv368) { - yyv368 = yyv368[:yyj368] - yyc368 = true - } else if yyj368 == 0 && yyv368 == nil { - yyv368 = []Role{} - yyc368 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Role{} + yyc1 = true } } - yyh368.End() - if yyc368 { - *v = yyv368 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -4339,10 +4627,10 @@ func (x codecSelfer1234) encSliceClusterRoleBinding(v []ClusterRoleBinding, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv372 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy373 := &yyv372 - yy373.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4352,83 +4640,86 @@ func (x codecSelfer1234) decSliceClusterRoleBinding(v *[]ClusterRoleBinding, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv374 := *v - yyh374, yyl374 := z.DecSliceHelperStart() - var yyc374 bool - if yyl374 == 0 { - if yyv374 == nil { - yyv374 = []ClusterRoleBinding{} - yyc374 = true - } else if len(yyv374) != 0 { - yyv374 = yyv374[:0] - yyc374 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ClusterRoleBinding{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl374 > 0 { - var yyrr374, yyrl374 int - var yyrt374 bool - if yyl374 > cap(yyv374) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg374 := len(yyv374) > 0 - yyv2374 := yyv374 - yyrl374, yyrt374 = z.DecInferLen(yyl374, z.DecBasicHandle().MaxInitLen, 328) - if yyrt374 { - if yyrl374 <= cap(yyv374) { - yyv374 = yyv374[:yyrl374] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 328) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv374 = make([]ClusterRoleBinding, yyrl374) + yyv1 = make([]ClusterRoleBinding, yyrl1) } } else { - yyv374 = make([]ClusterRoleBinding, yyrl374) + yyv1 = make([]ClusterRoleBinding, yyrl1) } - yyc374 = true - yyrr374 = len(yyv374) - if yyrg374 { - copy(yyv374, yyv2374) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl374 != len(yyv374) { - yyv374 = yyv374[:yyl374] - yyc374 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj374 := 0 - for ; yyj374 < yyrr374; yyj374++ { - yyh374.ElemContainerState(yyj374) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv374[yyj374] = ClusterRoleBinding{} + yyv1[yyj1] = ClusterRoleBinding{} } else { - yyv375 := &yyv374[yyj374] - yyv375.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt374 { - for ; yyj374 < yyl374; yyj374++ { - yyv374 = append(yyv374, ClusterRoleBinding{}) - yyh374.ElemContainerState(yyj374) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ClusterRoleBinding{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv374[yyj374] = ClusterRoleBinding{} + yyv1[yyj1] = ClusterRoleBinding{} } else { - yyv376 := &yyv374[yyj374] - yyv376.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj374 := 0 - for ; !r.CheckBreak(); yyj374++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj374 >= len(yyv374) { - yyv374 = append(yyv374, ClusterRoleBinding{}) // var yyz374 ClusterRoleBinding - yyc374 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ClusterRoleBinding{}) // var yyz1 ClusterRoleBinding + yyc1 = true } - yyh374.ElemContainerState(yyj374) - if yyj374 < len(yyv374) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv374[yyj374] = ClusterRoleBinding{} + yyv1[yyj1] = ClusterRoleBinding{} } else { - yyv377 := &yyv374[yyj374] - yyv377.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -4436,17 +4727,17 @@ func (x codecSelfer1234) decSliceClusterRoleBinding(v *[]ClusterRoleBinding, d * } } - if yyj374 < len(yyv374) { - yyv374 = yyv374[:yyj374] - yyc374 = true - } else if yyj374 == 0 && yyv374 == nil { - yyv374 = []ClusterRoleBinding{} - yyc374 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ClusterRoleBinding{} + yyc1 = true } } - yyh374.End() - if yyc374 { - *v = yyv374 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -4455,10 +4746,10 @@ func (x codecSelfer1234) encSliceClusterRole(v []ClusterRole, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv378 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy379 := &yyv378 - yy379.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4468,83 +4759,86 @@ func (x codecSelfer1234) decSliceClusterRole(v *[]ClusterRole, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv380 := *v - yyh380, yyl380 := z.DecSliceHelperStart() - var yyc380 bool - if yyl380 == 0 { - if yyv380 == nil { - yyv380 = []ClusterRole{} - yyc380 = true - } else if len(yyv380) != 0 { - yyv380 = yyv380[:0] - yyc380 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ClusterRole{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl380 > 0 { - var yyrr380, yyrl380 int - var yyrt380 bool - if yyl380 > cap(yyv380) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg380 := len(yyv380) > 0 - yyv2380 := yyv380 - yyrl380, yyrt380 = z.DecInferLen(yyl380, z.DecBasicHandle().MaxInitLen, 280) - if yyrt380 { - if yyrl380 <= cap(yyv380) { - yyv380 = yyv380[:yyrl380] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv380 = make([]ClusterRole, yyrl380) + yyv1 = make([]ClusterRole, yyrl1) } } else { - yyv380 = make([]ClusterRole, yyrl380) + yyv1 = make([]ClusterRole, yyrl1) } - yyc380 = true - yyrr380 = len(yyv380) - if yyrg380 { - copy(yyv380, yyv2380) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl380 != len(yyv380) { - yyv380 = yyv380[:yyl380] - yyc380 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj380 := 0 - for ; yyj380 < yyrr380; yyj380++ { - yyh380.ElemContainerState(yyj380) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv380[yyj380] = ClusterRole{} + yyv1[yyj1] = ClusterRole{} } else { - yyv381 := &yyv380[yyj380] - yyv381.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt380 { - for ; yyj380 < yyl380; yyj380++ { - yyv380 = append(yyv380, ClusterRole{}) - yyh380.ElemContainerState(yyj380) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ClusterRole{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv380[yyj380] = ClusterRole{} + yyv1[yyj1] = ClusterRole{} } else { - yyv382 := &yyv380[yyj380] - yyv382.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj380 := 0 - for ; !r.CheckBreak(); yyj380++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj380 >= len(yyv380) { - yyv380 = append(yyv380, ClusterRole{}) // var yyz380 ClusterRole - yyc380 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ClusterRole{}) // var yyz1 ClusterRole + yyc1 = true } - yyh380.ElemContainerState(yyj380) - if yyj380 < len(yyv380) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv380[yyj380] = ClusterRole{} + yyv1[yyj1] = ClusterRole{} } else { - yyv383 := &yyv380[yyj380] - yyv383.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -4552,16 +4846,16 @@ func (x codecSelfer1234) decSliceClusterRole(v *[]ClusterRole, d *codec1978.Deco } } - if yyj380 < len(yyv380) { - yyv380 = yyv380[:yyj380] - yyc380 = true - } else if yyj380 == 0 && yyv380 == nil { - yyv380 = []ClusterRole{} - yyc380 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ClusterRole{} + yyc1 = true } } - yyh380.End() - if yyc380 { - *v = yyv380 + yyh1.End() + if yyc1 { + *v = yyv1 } } diff --git a/pkg/apis/rbac/v1alpha1/types.go b/pkg/apis/rbac/v1alpha1/types.go index 3fc9a416..9b00a073 100644 --- a/pkg/apis/rbac/v1alpha1/types.go +++ b/pkg/apis/rbac/v1alpha1/types.go @@ -17,9 +17,9 @@ limitations under the License. package v1alpha1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" ) // Authorization is calculated against @@ -36,8 +36,6 @@ const ( GroupKind = "Group" ServiceAccountKind = "ServiceAccount" UserKind = "User" - - UserAll = "*" ) // Authorization is calculated against diff --git a/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go b/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go index 14398504..00db2647 100644 --- a/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package v1alpha1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" rbac "k8s.io/client-go/pkg/apis/rbac" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" unsafe "unsafe" ) @@ -115,7 +115,17 @@ func autoConvert_v1alpha1_ClusterRoleBinding_To_rbac_ClusterRoleBinding(in *Clus if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err } - out.Subjects = *(*[]rbac.Subject)(unsafe.Pointer(&in.Subjects)) + if in.Subjects != nil { + in, out := &in.Subjects, &out.Subjects + *out = make([]rbac.Subject, len(*in)) + for i := range *in { + if err := Convert_v1alpha1_Subject_To_rbac_Subject(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Subjects = nil + } if err := Convert_v1alpha1_RoleRef_To_rbac_RoleRef(&in.RoleRef, &out.RoleRef, s); err != nil { return err } @@ -131,7 +141,17 @@ func autoConvert_rbac_ClusterRoleBinding_To_v1alpha1_ClusterRoleBinding(in *rbac if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err } - out.Subjects = *(*[]Subject)(unsafe.Pointer(&in.Subjects)) + if in.Subjects != nil { + in, out := &in.Subjects, &out.Subjects + *out = make([]Subject, len(*in)) + for i := range *in { + if err := Convert_rbac_Subject_To_v1alpha1_Subject(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Subjects = nil + } if err := Convert_rbac_RoleRef_To_v1alpha1_RoleRef(&in.RoleRef, &out.RoleRef, s); err != nil { return err } @@ -166,7 +186,17 @@ func Convert_rbac_ClusterRoleBindingBuilder_To_v1alpha1_ClusterRoleBindingBuilde func autoConvert_v1alpha1_ClusterRoleBindingList_To_rbac_ClusterRoleBindingList(in *ClusterRoleBindingList, out *rbac.ClusterRoleBindingList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]rbac.ClusterRoleBinding)(unsafe.Pointer(&in.Items)) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]rbac.ClusterRoleBinding, len(*in)) + for i := range *in { + if err := Convert_v1alpha1_ClusterRoleBinding_To_rbac_ClusterRoleBinding(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Items = nil + } return nil } @@ -176,7 +206,17 @@ func Convert_v1alpha1_ClusterRoleBindingList_To_rbac_ClusterRoleBindingList(in * func autoConvert_rbac_ClusterRoleBindingList_To_v1alpha1_ClusterRoleBindingList(in *rbac.ClusterRoleBindingList, out *ClusterRoleBindingList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]ClusterRoleBinding)(unsafe.Pointer(&in.Items)) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ClusterRoleBinding, len(*in)) + for i := range *in { + if err := Convert_rbac_ClusterRoleBinding_To_v1alpha1_ClusterRoleBinding(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Items = nil + } return nil } @@ -329,7 +369,17 @@ func autoConvert_v1alpha1_RoleBinding_To_rbac_RoleBinding(in *RoleBinding, out * if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err } - out.Subjects = *(*[]rbac.Subject)(unsafe.Pointer(&in.Subjects)) + if in.Subjects != nil { + in, out := &in.Subjects, &out.Subjects + *out = make([]rbac.Subject, len(*in)) + for i := range *in { + if err := Convert_v1alpha1_Subject_To_rbac_Subject(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Subjects = nil + } if err := Convert_v1alpha1_RoleRef_To_rbac_RoleRef(&in.RoleRef, &out.RoleRef, s); err != nil { return err } @@ -345,7 +395,17 @@ func autoConvert_rbac_RoleBinding_To_v1alpha1_RoleBinding(in *rbac.RoleBinding, if err := s.Convert(&in.ObjectMeta, &out.ObjectMeta, 0); err != nil { return err } - out.Subjects = *(*[]Subject)(unsafe.Pointer(&in.Subjects)) + if in.Subjects != nil { + in, out := &in.Subjects, &out.Subjects + *out = make([]Subject, len(*in)) + for i := range *in { + if err := Convert_rbac_Subject_To_v1alpha1_Subject(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Subjects = nil + } if err := Convert_rbac_RoleRef_To_v1alpha1_RoleRef(&in.RoleRef, &out.RoleRef, s); err != nil { return err } @@ -358,7 +418,17 @@ func Convert_rbac_RoleBinding_To_v1alpha1_RoleBinding(in *rbac.RoleBinding, out func autoConvert_v1alpha1_RoleBindingList_To_rbac_RoleBindingList(in *RoleBindingList, out *rbac.RoleBindingList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]rbac.RoleBinding)(unsafe.Pointer(&in.Items)) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]rbac.RoleBinding, len(*in)) + for i := range *in { + if err := Convert_v1alpha1_RoleBinding_To_rbac_RoleBinding(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Items = nil + } return nil } @@ -368,7 +438,17 @@ func Convert_v1alpha1_RoleBindingList_To_rbac_RoleBindingList(in *RoleBindingLis func autoConvert_rbac_RoleBindingList_To_v1alpha1_RoleBindingList(in *rbac.RoleBindingList, out *RoleBindingList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]RoleBinding)(unsafe.Pointer(&in.Items)) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RoleBinding, len(*in)) + for i := range *in { + if err := Convert_rbac_RoleBinding_To_v1alpha1_RoleBinding(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Items = nil + } return nil } @@ -446,10 +526,6 @@ func autoConvert_v1alpha1_Subject_To_rbac_Subject(in *Subject, out *rbac.Subject return nil } -func Convert_v1alpha1_Subject_To_rbac_Subject(in *Subject, out *rbac.Subject, s conversion.Scope) error { - return autoConvert_v1alpha1_Subject_To_rbac_Subject(in, out, s) -} - func autoConvert_rbac_Subject_To_v1alpha1_Subject(in *rbac.Subject, out *Subject, s conversion.Scope) error { out.Kind = in.Kind out.APIVersion = in.APIVersion diff --git a/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go index 0631bb7c..b34e2ae7 100644 --- a/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package v1alpha1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -53,7 +53,7 @@ func DeepCopy_v1alpha1_ClusterRole(in interface{}, out interface{}, c *conversio { in := in.(*ClusterRole) out := out.(*ClusterRole) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -65,8 +65,6 @@ func DeepCopy_v1alpha1_ClusterRole(in interface{}, out interface{}, c *conversio return err } } - } else { - out.Rules = nil } return nil } @@ -76,7 +74,7 @@ func DeepCopy_v1alpha1_ClusterRoleBinding(in interface{}, out interface{}, c *co { in := in.(*ClusterRoleBinding) out := out.(*ClusterRoleBinding) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -86,10 +84,7 @@ func DeepCopy_v1alpha1_ClusterRoleBinding(in interface{}, out interface{}, c *co for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Subjects = nil } - out.RoleRef = in.RoleRef return nil } } @@ -98,8 +93,7 @@ func DeepCopy_v1alpha1_ClusterRoleBindingList(in interface{}, out interface{}, c { in := in.(*ClusterRoleBindingList) out := out.(*ClusterRoleBindingList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ClusterRoleBinding, len(*in)) @@ -108,8 +102,6 @@ func DeepCopy_v1alpha1_ClusterRoleBindingList(in interface{}, out interface{}, c return err } } - } else { - out.Items = nil } return nil } @@ -119,8 +111,7 @@ func DeepCopy_v1alpha1_ClusterRoleList(in interface{}, out interface{}, c *conve { in := in.(*ClusterRoleList) out := out.(*ClusterRoleList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ClusterRole, len(*in)) @@ -129,8 +120,6 @@ func DeepCopy_v1alpha1_ClusterRoleList(in interface{}, out interface{}, c *conve return err } } - } else { - out.Items = nil } return nil } @@ -140,43 +129,36 @@ func DeepCopy_v1alpha1_PolicyRule(in interface{}, out interface{}, c *conversion { in := in.(*PolicyRule) out := out.(*PolicyRule) + *out = *in if in.Verbs != nil { in, out := &in.Verbs, &out.Verbs *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Verbs = nil } - if err := runtime.DeepCopy_runtime_RawExtension(&in.AttributeRestrictions, &out.AttributeRestrictions, c); err != nil { + if newVal, err := c.DeepCopy(&in.AttributeRestrictions); err != nil { return err + } else { + out.AttributeRestrictions = *newVal.(*runtime.RawExtension) } if in.APIGroups != nil { in, out := &in.APIGroups, &out.APIGroups *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.APIGroups = nil } if in.Resources != nil { in, out := &in.Resources, &out.Resources *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Resources = nil } if in.ResourceNames != nil { in, out := &in.ResourceNames, &out.ResourceNames *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.ResourceNames = nil } if in.NonResourceURLs != nil { in, out := &in.NonResourceURLs, &out.NonResourceURLs *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.NonResourceURLs = nil } return nil } @@ -186,7 +168,7 @@ func DeepCopy_v1alpha1_Role(in interface{}, out interface{}, c *conversion.Clone { in := in.(*Role) out := out.(*Role) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -198,8 +180,6 @@ func DeepCopy_v1alpha1_Role(in interface{}, out interface{}, c *conversion.Clone return err } } - } else { - out.Rules = nil } return nil } @@ -209,7 +189,7 @@ func DeepCopy_v1alpha1_RoleBinding(in interface{}, out interface{}, c *conversio { in := in.(*RoleBinding) out := out.(*RoleBinding) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -219,10 +199,7 @@ func DeepCopy_v1alpha1_RoleBinding(in interface{}, out interface{}, c *conversio for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Subjects = nil } - out.RoleRef = in.RoleRef return nil } } @@ -231,8 +208,7 @@ func DeepCopy_v1alpha1_RoleBindingList(in interface{}, out interface{}, c *conve { in := in.(*RoleBindingList) out := out.(*RoleBindingList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]RoleBinding, len(*in)) @@ -241,8 +217,6 @@ func DeepCopy_v1alpha1_RoleBindingList(in interface{}, out interface{}, c *conve return err } } - } else { - out.Items = nil } return nil } @@ -252,8 +226,7 @@ func DeepCopy_v1alpha1_RoleList(in interface{}, out interface{}, c *conversion.C { in := in.(*RoleList) out := out.(*RoleList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Role, len(*in)) @@ -262,8 +235,6 @@ func DeepCopy_v1alpha1_RoleList(in interface{}, out interface{}, c *conversion.C return err } } - } else { - out.Items = nil } return nil } @@ -273,9 +244,7 @@ func DeepCopy_v1alpha1_RoleRef(in interface{}, out interface{}, c *conversion.Cl { in := in.(*RoleRef) out := out.(*RoleRef) - out.APIGroup = in.APIGroup - out.Kind = in.Kind - out.Name = in.Name + *out = *in return nil } } @@ -284,10 +253,7 @@ func DeepCopy_v1alpha1_Subject(in interface{}, out interface{}, c *conversion.Cl { in := in.(*Subject) out := out.(*Subject) - out.Kind = in.Kind - out.APIVersion = in.APIVersion - out.Name = in.Name - out.Namespace = in.Namespace + *out = *in return nil } } diff --git a/pkg/apis/rbac/v1alpha1/zz_generated.defaults.go b/pkg/apis/rbac/v1alpha1/zz_generated.defaults.go index c41b12d2..ef6a6061 100644 --- a/pkg/apis/rbac/v1alpha1/zz_generated.defaults.go +++ b/pkg/apis/rbac/v1alpha1/zz_generated.defaults.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ limitations under the License. package v1alpha1 import ( - runtime "k8s.io/client-go/pkg/runtime" + runtime "k8s.io/apimachinery/pkg/runtime" ) // RegisterDefaults adds defaulters functions to the given scheme. diff --git a/pkg/apis/rbac/zz_generated.deepcopy.go b/pkg/apis/rbac/zz_generated.deepcopy.go index 253c1517..36400c6f 100644 --- a/pkg/apis/rbac/zz_generated.deepcopy.go +++ b/pkg/apis/rbac/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package rbac import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -53,7 +53,7 @@ func DeepCopy_rbac_ClusterRole(in interface{}, out interface{}, c *conversion.Cl { in := in.(*ClusterRole) out := out.(*ClusterRole) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -65,8 +65,6 @@ func DeepCopy_rbac_ClusterRole(in interface{}, out interface{}, c *conversion.Cl return err } } - } else { - out.Rules = nil } return nil } @@ -76,7 +74,7 @@ func DeepCopy_rbac_ClusterRoleBinding(in interface{}, out interface{}, c *conver { in := in.(*ClusterRoleBinding) out := out.(*ClusterRoleBinding) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -86,10 +84,7 @@ func DeepCopy_rbac_ClusterRoleBinding(in interface{}, out interface{}, c *conver for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Subjects = nil } - out.RoleRef = in.RoleRef return nil } } @@ -98,8 +93,7 @@ func DeepCopy_rbac_ClusterRoleBindingList(in interface{}, out interface{}, c *co { in := in.(*ClusterRoleBindingList) out := out.(*ClusterRoleBindingList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ClusterRoleBinding, len(*in)) @@ -108,8 +102,6 @@ func DeepCopy_rbac_ClusterRoleBindingList(in interface{}, out interface{}, c *co return err } } - } else { - out.Items = nil } return nil } @@ -119,8 +111,7 @@ func DeepCopy_rbac_ClusterRoleList(in interface{}, out interface{}, c *conversio { in := in.(*ClusterRoleList) out := out.(*ClusterRoleList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ClusterRole, len(*in)) @@ -129,8 +120,6 @@ func DeepCopy_rbac_ClusterRoleList(in interface{}, out interface{}, c *conversio return err } } - } else { - out.Items = nil } return nil } @@ -140,47 +129,39 @@ func DeepCopy_rbac_PolicyRule(in interface{}, out interface{}, c *conversion.Clo { in := in.(*PolicyRule) out := out.(*PolicyRule) + *out = *in if in.Verbs != nil { in, out := &in.Verbs, &out.Verbs *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Verbs = nil } - if in.AttributeRestrictions == nil { - out.AttributeRestrictions = nil - } else if newVal, err := c.DeepCopy(&in.AttributeRestrictions); err != nil { - return err - } else { - out.AttributeRestrictions = *newVal.(*runtime.Object) + // in.AttributeRestrictions is kind 'Interface' + if in.AttributeRestrictions != nil { + if newVal, err := c.DeepCopy(&in.AttributeRestrictions); err != nil { + return err + } else { + out.AttributeRestrictions = *newVal.(*runtime.Object) + } } if in.APIGroups != nil { in, out := &in.APIGroups, &out.APIGroups *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.APIGroups = nil } if in.Resources != nil { in, out := &in.Resources, &out.Resources *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Resources = nil } if in.ResourceNames != nil { in, out := &in.ResourceNames, &out.ResourceNames *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.ResourceNames = nil } if in.NonResourceURLs != nil { in, out := &in.NonResourceURLs, &out.NonResourceURLs *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.NonResourceURLs = nil } return nil } @@ -190,7 +171,7 @@ func DeepCopy_rbac_Role(in interface{}, out interface{}, c *conversion.Cloner) e { in := in.(*Role) out := out.(*Role) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -202,8 +183,6 @@ func DeepCopy_rbac_Role(in interface{}, out interface{}, c *conversion.Cloner) e return err } } - } else { - out.Rules = nil } return nil } @@ -213,7 +192,7 @@ func DeepCopy_rbac_RoleBinding(in interface{}, out interface{}, c *conversion.Cl { in := in.(*RoleBinding) out := out.(*RoleBinding) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -223,10 +202,7 @@ func DeepCopy_rbac_RoleBinding(in interface{}, out interface{}, c *conversion.Cl for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Subjects = nil } - out.RoleRef = in.RoleRef return nil } } @@ -235,8 +211,7 @@ func DeepCopy_rbac_RoleBindingList(in interface{}, out interface{}, c *conversio { in := in.(*RoleBindingList) out := out.(*RoleBindingList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]RoleBinding, len(*in)) @@ -245,8 +220,6 @@ func DeepCopy_rbac_RoleBindingList(in interface{}, out interface{}, c *conversio return err } } - } else { - out.Items = nil } return nil } @@ -256,8 +229,7 @@ func DeepCopy_rbac_RoleList(in interface{}, out interface{}, c *conversion.Clone { in := in.(*RoleList) out := out.(*RoleList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Role, len(*in)) @@ -266,8 +238,6 @@ func DeepCopy_rbac_RoleList(in interface{}, out interface{}, c *conversion.Clone return err } } - } else { - out.Items = nil } return nil } @@ -277,9 +247,7 @@ func DeepCopy_rbac_RoleRef(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*RoleRef) out := out.(*RoleRef) - out.APIGroup = in.APIGroup - out.Kind = in.Kind - out.Name = in.Name + *out = *in return nil } } @@ -288,10 +256,7 @@ func DeepCopy_rbac_Subject(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*Subject) out := out.(*Subject) - out.Kind = in.Kind - out.APIVersion = in.APIVersion - out.Name = in.Name - out.Namespace = in.Namespace + *out = *in return nil } } diff --git a/pkg/apis/storage/install/install.go b/pkg/apis/storage/install/install.go index 4fc5ac7e..ef28f6ed 100644 --- a/pkg/apis/storage/install/install.go +++ b/pkg/apis/storage/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/apimachinery/announced" "k8s.io/client-go/pkg/apis/storage" "k8s.io/client-go/pkg/apis/storage/v1beta1" - "k8s.io/client-go/pkg/util/sets" ) func init() { diff --git a/pkg/apis/storage/register.go b/pkg/apis/storage/register.go index 1bef643e..003f3f8c 100644 --- a/pkg/apis/storage/register.go +++ b/pkg/apis/storage/register.go @@ -17,10 +17,10 @@ limitations under the License. package storage import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) // GroupName is the group name use in this package diff --git a/pkg/apis/storage/types.go b/pkg/apis/storage/types.go index 0333e7df..0efa0abc 100644 --- a/pkg/apis/storage/types.go +++ b/pkg/apis/storage/types.go @@ -17,8 +17,8 @@ limitations under the License. package storage import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // +genclient=true diff --git a/pkg/apis/storage/v1beta1/generated.pb.go b/pkg/apis/storage/v1beta1/generated.pb.go index 595c0191..ae2e2b93 100644 --- a/pkg/apis/storage/v1beta1/generated.pb.go +++ b/pkg/apis/storage/v1beta1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -105,6 +105,14 @@ func (m *StorageClass) MarshalTo(data []byte) (int, error) { i += copy(data[i:], v) } } + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n2, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n2 return i, nil } @@ -126,11 +134,11 @@ func (m *StorageClassList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n2, err := m.ListMeta.MarshalTo(data[i:]) + n3, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n2 + i += n3 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -143,6 +151,14 @@ func (m *StorageClassList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n4, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n4 return i, nil } @@ -188,6 +204,8 @@ func (m *StorageClass) Size() (n int) { n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -202,6 +220,8 @@ func (m *StorageClassList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -236,6 +256,7 @@ func (this *StorageClass) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Provisioner:` + fmt.Sprintf("%v", this.Provisioner) + `,`, `Parameters:` + mapStringForParameters + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -245,8 +266,9 @@ func (this *StorageClassList) String() string { return "nil" } s := strings.Join([]string{`&StorageClassList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "StorageClass", "StorageClass", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -458,6 +480,36 @@ func (m *StorageClass) Unmarshal(data []byte) error { } m.Parameters[mapkey] = mapvalue iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -569,6 +621,36 @@ func (m *StorageClassList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -696,35 +778,38 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 471 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x92, 0x4f, 0x8b, 0xd3, 0x4e, - 0x18, 0xc7, 0x33, 0x2d, 0xe5, 0xb7, 0x3b, 0xfd, 0x89, 0x25, 0x7a, 0x28, 0x3d, 0x64, 0xcb, 0x9e, - 0xaa, 0xec, 0xce, 0xd0, 0xa2, 0x50, 0x16, 0xbc, 0x54, 0x04, 0x05, 0xc5, 0x25, 0x5e, 0x64, 0xc1, - 0xc3, 0xa4, 0xfb, 0x98, 0x1d, 0xd3, 0x64, 0xc2, 0xcc, 0x93, 0xc0, 0x82, 0x07, 0x5f, 0x82, 0x2f, - 0xab, 0x17, 0x61, 0x8f, 0x1e, 0x64, 0xb1, 0xf1, 0x8d, 0x48, 0xfe, 0xb8, 0x09, 0xfd, 0x87, 0x78, - 0x9b, 0x67, 0xe6, 0xf9, 0x7c, 0x9f, 0xef, 0xf3, 0x4d, 0xe8, 0x59, 0x30, 0x35, 0x4c, 0x2a, 0x1e, - 0x24, 0x1e, 0xe8, 0x08, 0x10, 0x0c, 0x8f, 0x03, 0x9f, 0x8b, 0x58, 0x1a, 0x6e, 0x50, 0x69, 0xe1, - 0x03, 0x4f, 0xc7, 0x1e, 0xa0, 0x18, 0x73, 0x1f, 0x22, 0xd0, 0x02, 0xe1, 0x92, 0xc5, 0x5a, 0xa1, - 0xb2, 0x1f, 0x97, 0x2c, 0xab, 0x59, 0x16, 0x07, 0x3e, 0xcb, 0x59, 0x56, 0xb1, 0xac, 0x62, 0x07, - 0xa7, 0xbe, 0xc4, 0xab, 0xc4, 0x63, 0x73, 0x15, 0x72, 0x5f, 0xf9, 0x8a, 0x17, 0x12, 0x5e, 0xf2, - 0xb1, 0xa8, 0x8a, 0xa2, 0x38, 0x95, 0xd2, 0x83, 0xc9, 0x4e, 0x5b, 0x5c, 0x83, 0x51, 0x89, 0x9e, - 0xc3, 0xba, 0x9d, 0xc1, 0xc9, 0x6e, 0x26, 0xdd, 0x30, 0xbf, 0x67, 0x82, 0xe1, 0x21, 0xa0, 0xd8, - 0xc6, 0x9c, 0x6e, 0x67, 0x74, 0x12, 0xa1, 0x0c, 0x37, 0x0d, 0x3d, 0xd9, 0xdf, 0x6e, 0xe6, 0x57, - 0x10, 0x8a, 0x0d, 0x6a, 0xbc, 0x9d, 0x4a, 0x50, 0x2e, 0xb8, 0x8c, 0xd0, 0xa0, 0x5e, 0x47, 0x8e, - 0x7f, 0xb4, 0xe8, 0xff, 0xef, 0xca, 0xc0, 0x9f, 0x2f, 0x84, 0x31, 0xf6, 0x7b, 0x7a, 0x90, 0xef, - 0x70, 0x29, 0x50, 0xf4, 0xc9, 0x90, 0x8c, 0xba, 0x93, 0x11, 0xdb, 0xf9, 0xb1, 0x58, 0x3a, 0x66, - 0x6f, 0xbd, 0x4f, 0x30, 0xc7, 0x37, 0x80, 0x62, 0x66, 0x2f, 0x6f, 0x8f, 0xac, 0xec, 0xf6, 0x88, - 0xd6, 0x77, 0xee, 0x9d, 0x9a, 0xfd, 0x94, 0x76, 0x63, 0xad, 0x52, 0x69, 0xa4, 0x8a, 0x40, 0xf7, - 0x5b, 0x43, 0x32, 0x3a, 0x9c, 0x3d, 0xa8, 0x90, 0xee, 0x79, 0xfd, 0xe4, 0x36, 0xfb, 0xec, 0xcf, - 0x94, 0xc6, 0x42, 0x8b, 0x10, 0x10, 0xb4, 0xe9, 0xb7, 0x87, 0xed, 0x51, 0x77, 0xf2, 0x92, 0xfd, - 0xfd, 0xff, 0xc3, 0x9a, 0xeb, 0xb1, 0xf3, 0x3b, 0xa9, 0x17, 0x11, 0xea, 0xeb, 0xda, 0x72, 0xfd, - 0xe0, 0x36, 0xe6, 0x0d, 0x9e, 0xd1, 0xfb, 0x6b, 0x88, 0xdd, 0xa3, 0xed, 0x00, 0xae, 0x8b, 0x70, - 0x0e, 0xdd, 0xfc, 0x68, 0x3f, 0xa4, 0x9d, 0x54, 0x2c, 0x12, 0x28, 0x77, 0x72, 0xcb, 0xe2, 0xac, - 0x35, 0x25, 0xc7, 0xdf, 0x08, 0xed, 0x35, 0xe7, 0xbf, 0x96, 0x06, 0xed, 0x8b, 0x8d, 0x88, 0x4f, - 0xf6, 0xed, 0x93, 0xf7, 0xe6, 0x41, 0xe7, 0x6c, 0x11, 0x73, 0xaf, 0xf2, 0x7c, 0xf0, 0xe7, 0xa6, - 0x11, 0xf2, 0x07, 0xda, 0x91, 0x08, 0xa1, 0xe9, 0xb7, 0x8a, 0xa0, 0xa6, 0xff, 0x1a, 0xd4, 0xec, - 0x5e, 0x35, 0xa4, 0xf3, 0x2a, 0x97, 0x73, 0x4b, 0xd5, 0xd9, 0xa3, 0xe5, 0xca, 0xb1, 0x6e, 0x56, - 0x8e, 0xf5, 0x7d, 0xe5, 0x58, 0x5f, 0x32, 0x87, 0x2c, 0x33, 0x87, 0xdc, 0x64, 0x0e, 0xf9, 0x99, - 0x39, 0xe4, 0xeb, 0x2f, 0xc7, 0xba, 0xf8, 0xaf, 0x52, 0xfb, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xc5, - 0xf0, 0x27, 0x65, 0x1f, 0x04, 0x00, 0x00, + // 518 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x92, 0x4f, 0x8b, 0xd3, 0x40, + 0x18, 0xc6, 0x9b, 0xc6, 0x62, 0x77, 0xaa, 0x58, 0xa2, 0x87, 0xd0, 0x43, 0xb6, 0xec, 0xa9, 0x8a, + 0xce, 0xd0, 0xa2, 0x52, 0x16, 0xbc, 0x44, 0x04, 0x05, 0xc5, 0x25, 0x7a, 0x10, 0xd1, 0xc3, 0x24, + 0xfb, 0x9a, 0x8e, 0x69, 0x32, 0x61, 0x66, 0x12, 0x28, 0x78, 0xf0, 0x23, 0xf8, 0x45, 0xfc, 0x02, + 0x7e, 0x82, 0x1e, 0xf7, 0xe8, 0x69, 0xb1, 0xf1, 0x8b, 0x48, 0xfe, 0xb4, 0xc9, 0xb6, 0x5b, 0x5c, + 0xc4, 0x5b, 0xe6, 0x9d, 0xf9, 0x3d, 0xef, 0xf3, 0x3e, 0x6f, 0xd0, 0x71, 0x30, 0x95, 0x98, 0x71, + 0x12, 0x24, 0x2e, 0x88, 0x08, 0x14, 0x48, 0x12, 0x07, 0x3e, 0xa1, 0x31, 0x93, 0x44, 0x2a, 0x2e, + 0xa8, 0x0f, 0x24, 0x1d, 0xbb, 0xa0, 0xe8, 0x98, 0xf8, 0x10, 0x81, 0xa0, 0x0a, 0x4e, 0x71, 0x2c, + 0xb8, 0xe2, 0xc6, 0xbd, 0x92, 0xc5, 0x35, 0x8b, 0xe3, 0xc0, 0xc7, 0x39, 0x8b, 0x2b, 0x16, 0x57, + 0xec, 0xe0, 0x81, 0xcf, 0xd4, 0x2c, 0x71, 0xb1, 0xc7, 0x43, 0xe2, 0x73, 0x9f, 0x93, 0x42, 0xc2, + 0x4d, 0x3e, 0x15, 0xa7, 0xe2, 0x50, 0x7c, 0x95, 0xd2, 0x83, 0x87, 0x95, 0x2d, 0x1a, 0xb3, 0x90, + 0x7a, 0x33, 0x16, 0x81, 0x58, 0xd4, 0xc6, 0x42, 0x50, 0x94, 0xa4, 0x3b, 0x86, 0x06, 0x64, 0x1f, + 0x25, 0x92, 0x48, 0xb1, 0x10, 0x76, 0x80, 0xc7, 0x7f, 0x03, 0xa4, 0x37, 0x83, 0x90, 0xee, 0x70, + 0x93, 0xbd, 0xa9, 0x11, 0x01, 0x92, 0x27, 0xc2, 0xdb, 0xed, 0x75, 0x7f, 0x3f, 0x73, 0xc9, 0x28, + 0xe3, 0xcb, 0x5f, 0x27, 0x8a, 0xcd, 0x09, 0x8b, 0x94, 0x54, 0x62, 0x1b, 0x39, 0xfa, 0xa1, 0xa3, + 0x1b, 0x6f, 0xca, 0xd8, 0x9f, 0xce, 0xa9, 0x94, 0xc6, 0x3b, 0xd4, 0xcd, 0x93, 0x3a, 0xa5, 0x8a, + 0x9a, 0xda, 0x50, 0x1b, 0xf5, 0x26, 0x23, 0xbc, 0x77, 0x65, 0x38, 0x1d, 0xe3, 0xd7, 0xee, 0x67, + 0xf0, 0xd4, 0x2b, 0x50, 0xd4, 0x36, 0x96, 0xe7, 0x87, 0xad, 0xec, 0xfc, 0x10, 0xd5, 0x35, 0x67, + 0xa3, 0x66, 0x3c, 0x42, 0xbd, 0x58, 0xf0, 0x94, 0x49, 0xc6, 0x23, 0x10, 0x66, 0x7b, 0xa8, 0x8d, + 0x0e, 0xec, 0xdb, 0x15, 0xd2, 0x3b, 0xa9, 0xaf, 0x9c, 0xe6, 0x3b, 0xe3, 0x0b, 0x42, 0x31, 0x15, + 0x34, 0x04, 0x05, 0x42, 0x9a, 0xfa, 0x50, 0x1f, 0xf5, 0x26, 0xcf, 0xf1, 0xd5, 0xff, 0x22, 0xdc, + 0x1c, 0x0f, 0x9f, 0x6c, 0xa4, 0x9e, 0x45, 0x4a, 0x2c, 0x6a, 0xcb, 0xf5, 0x85, 0xd3, 0xe8, 0x67, + 0x7c, 0x40, 0x5d, 0xb5, 0x88, 0x21, 0x1f, 0xc5, 0xbc, 0x56, 0xc4, 0x81, 0xd7, 0xbd, 0x9b, 0xfb, + 0xaf, 0xbb, 0xe7, 0xe3, 0xe6, 0xb1, 0xbc, 0xad, 0x28, 0xbb, 0x5f, 0x75, 0xe8, 0xae, 0x2b, 0xce, + 0x46, 0x71, 0xf0, 0x04, 0xdd, 0xda, 0x32, 0x64, 0xf4, 0x91, 0x1e, 0xc0, 0xa2, 0x88, 0xfe, 0xc0, + 0xc9, 0x3f, 0x8d, 0x3b, 0xa8, 0x93, 0xd2, 0x79, 0x02, 0x65, 0x62, 0x4e, 0x79, 0x38, 0x6e, 0x4f, + 0xb5, 0xa3, 0xef, 0x6d, 0xd4, 0x6f, 0x4e, 0xf7, 0x92, 0x49, 0x95, 0x3b, 0xde, 0x5a, 0xe0, 0x15, + 0x1d, 0xe7, 0xf4, 0x45, 0xc7, 0xeb, 0x4a, 0x63, 0x89, 0x1f, 0x51, 0x87, 0x29, 0x08, 0xa5, 0xd9, + 0x2e, 0x16, 0x31, 0xfd, 0xd7, 0x45, 0xd8, 0x37, 0xab, 0x26, 0x9d, 0x17, 0xb9, 0x9c, 0x53, 0xaa, + 0x5e, 0x88, 0x5b, 0xff, 0xdf, 0x71, 0xdb, 0x77, 0x97, 0x2b, 0xab, 0x75, 0xb6, 0xb2, 0x5a, 0x3f, + 0x57, 0x56, 0xeb, 0x6b, 0x66, 0x69, 0xcb, 0xcc, 0xd2, 0xce, 0x32, 0x4b, 0xfb, 0x95, 0x59, 0xda, + 0xb7, 0xdf, 0x56, 0xeb, 0xfd, 0xf5, 0xca, 0xeb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x27, 0xd0, + 0x2e, 0x38, 0xe3, 0x04, 0x00, 0x00, } diff --git a/pkg/apis/storage/v1beta1/generated.proto b/pkg/apis/storage/v1beta1/generated.proto index 497ea999..43f04e79 100644 --- a/pkg/apis/storage/v1beta1/generated.proto +++ b/pkg/apis/storage/v1beta1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.storage.v1beta1; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". @@ -37,6 +37,8 @@ option go_package = "v1beta1"; // StorageClasses are non-namespaced; the name of the storage class // according to etcd is in ObjectMeta.Name. message StorageClass { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -53,10 +55,12 @@ message StorageClass { // StorageClassList is a collection of storage classes. message StorageClassList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // Items is the list of StorageClasses repeated StorageClass items = 2; diff --git a/pkg/apis/storage/v1beta1/register.go b/pkg/apis/storage/v1beta1/register.go index 828c186e..122fc92a 100644 --- a/pkg/apis/storage/v1beta1/register.go +++ b/pkg/apis/storage/v1beta1/register.go @@ -17,11 +17,10 @@ limitations under the License. package v1beta1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package @@ -52,6 +51,6 @@ func addKnownTypes(scheme *runtime.Scheme) error { &StorageClassList{}, ) - versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/apis/storage/v1beta1/types.generated.go b/pkg/apis/storage/v1beta1/types.generated.go index cbbb7ee8..59533ac8 100644 --- a/pkg/apis/storage/v1beta1/types.generated.go +++ b/pkg/apis/storage/v1beta1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" + pkg1_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + pkg3_types "k8s.io/apimachinery/pkg/types" pkg2_v1 "k8s.io/client-go/pkg/api/v1" - pkg1_v1 "k8s.io/client-go/pkg/apis/meta/v1" - pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" @@ -63,9 +63,9 @@ func init() { panic(err) } if false { // reference the types, but skip this branch at build/run time - var v0 pkg2_v1.ObjectMeta - var v1 pkg1_v1.TypeMeta - var v2 pkg3_types.UID + var v0 pkg1_v1.TypeMeta + var v1 pkg3_types.UID + var v2 pkg2_v1.ObjectMeta var v3 time.Time _, _, _, _ = v0, v1, v2, v3 } @@ -168,14 +168,14 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.ObjectMeta - yy11.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner)) @@ -184,8 +184,8 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("provisioner")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner)) @@ -197,8 +197,8 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { if x.Parameters == nil { r.EncodeNil() } else { - yym16 := z.EncBinary() - _ = yym16 + yym18 := z.EncBinary() + _ = yym18 if false { } else { z.F.EncMapStringStringV(x.Parameters, false, e) @@ -215,8 +215,8 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { if x.Parameters == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym19 := z.EncBinary() + _ = yym19 if false { } else { z.F.EncMapStringStringV(x.Parameters, false, e) @@ -237,25 +237,25 @@ func (x *StorageClass) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym18 := z.DecBinary() - _ = yym18 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct19 := r.ContainerType() - if yyct19 == codecSelferValueTypeMap1234 { - yyl19 := r.ReadMapStart() - if yyl19 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl19, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct19 == codecSelferValueTypeArray1234 { - yyl19 := r.ReadArrayStart() - if yyl19 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl19, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -267,12 +267,12 @@ func (x *StorageClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys20Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys20Slc - var yyhl20 bool = l >= 0 - for yyj20 := 0; ; yyj20++ { - if yyhl20 { - if yyj20 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -281,51 +281,69 @@ func (x *StorageClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys20Slc = r.DecodeBytes(yys20Slc, true, true) - yys20 := string(yys20Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys20 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv23 := &x.ObjectMeta - yyv23.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "provisioner": if r.TryDecodeAsNil() { x.Provisioner = "" } else { - x.Provisioner = string(r.DecodeString()) + yyv9 := &x.Provisioner + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } } case "parameters": if r.TryDecodeAsNil() { x.Parameters = nil } else { - yyv25 := &x.Parameters - yym26 := z.DecBinary() - _ = yym26 + yyv11 := &x.Parameters + yym12 := z.DecBinary() + _ = yym12 if false { } else { - z.F.DecMapStringStringX(yyv25, false, d) + z.F.DecMapStringStringX(yyv11, false, d) } } default: - z.DecStructFieldNotFound(-1, yys20) - } // end switch yys20 - } // end for yyj20 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -333,16 +351,16 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj27 int - var yyb27 bool - var yyhl27 bool = l >= 0 - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + var yyj13 int + var yyb13 bool + var yyhl13 bool = l >= 0 + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb27 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb27 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -350,15 +368,21 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv14 := &x.Kind + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb27 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb27 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -366,15 +390,21 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv16 := &x.APIVersion + yym17 := z.DecBinary() + _ = yym17 + if false { + } else { + *((*string)(yyv16)) = r.DecodeString() + } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb27 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb27 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -382,16 +412,16 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv30 := &x.ObjectMeta - yyv30.CodecDecodeSelf(d) + yyv18 := &x.ObjectMeta + yyv18.CodecDecodeSelf(d) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb27 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb27 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -399,15 +429,21 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Provisioner = "" } else { - x.Provisioner = string(r.DecodeString()) + yyv19 := &x.Provisioner + yym20 := z.DecBinary() + _ = yym20 + if false { + } else { + *((*string)(yyv19)) = r.DecodeString() + } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb27 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb27 { + if yyb13 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -415,26 +451,26 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Parameters = nil } else { - yyv32 := &x.Parameters - yym33 := z.DecBinary() - _ = yym33 + yyv21 := &x.Parameters + yym22 := z.DecBinary() + _ = yym22 if false { } else { - z.F.DecMapStringStringX(yyv32, false, d) + z.F.DecMapStringStringX(yyv21, false, d) } } for { - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj13++ + if yyhl13 { + yyb13 = yyj13 > l } else { - yyb27 = r.CheckBreak() + yyb13 = r.CheckBreak() } - if yyb27 { + if yyb13 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj27-1, "") + z.DecStructFieldNotFound(yyj13-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -446,37 +482,37 @@ func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym34 := z.EncBinary() - _ = yym34 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep35 := !z.EncBinary() - yy2arr35 := z.EncBasicHandle().StructToArray - var yyq35 [4]bool - _, _, _ = yysep35, yyq35, yy2arr35 - const yyr35 bool = false - yyq35[0] = x.Kind != "" - yyq35[1] = x.APIVersion != "" - yyq35[2] = true - var yynn35 int - if yyr35 || yy2arr35 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn35 = 1 - for _, b := range yyq35 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn35++ + yynn2++ } } - r.EncodeMapStart(yynn35) - yynn35 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr35 || yy2arr35 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq35[0] { - yym37 := z.EncBinary() - _ = yym37 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -485,23 +521,23 @@ func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq35[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym38 := z.EncBinary() - _ = yym38 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr35 || yy2arr35 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq35[1] { - yym40 := z.EncBinary() - _ = yym40 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -510,54 +546,54 @@ func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq35[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym41 := z.EncBinary() - _ = yym41 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr35 || yy2arr35 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq35[2] { - yy43 := &x.ListMeta - yym44 := z.EncBinary() - _ = yym44 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy43) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy43) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq35[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy45 := &x.ListMeta - yym46 := z.EncBinary() - _ = yym46 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy45) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy45) + z.EncFallback(yy12) } } } - if yyr35 || yy2arr35 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym48 := z.EncBinary() - _ = yym48 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceStorageClass(([]StorageClass)(x.Items), e) @@ -570,15 +606,15 @@ func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym49 := z.EncBinary() - _ = yym49 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceStorageClass(([]StorageClass)(x.Items), e) } } } - if yyr35 || yy2arr35 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -591,25 +627,25 @@ func (x *StorageClassList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym50 := z.DecBinary() - _ = yym50 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct51 := r.ContainerType() - if yyct51 == codecSelferValueTypeMap1234 { - yyl51 := r.ReadMapStart() - if yyl51 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl51, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct51 == codecSelferValueTypeArray1234 { - yyl51 := r.ReadArrayStart() - if yyl51 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl51, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -621,12 +657,12 @@ func (x *StorageClassList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys52Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys52Slc - var yyhl52 bool = l >= 0 - for yyj52 := 0; ; yyj52++ { - if yyhl52 { - if yyj52 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -635,51 +671,63 @@ func (x *StorageClassList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys52Slc = r.DecodeBytes(yys52Slc, true, true) - yys52 := string(yys52Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys52 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv55 := &x.ListMeta - yym56 := z.DecBinary() - _ = yym56 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv55) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv55, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv57 := &x.Items - yym58 := z.DecBinary() - _ = yym58 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceStorageClass((*[]StorageClass)(yyv57), d) + h.decSliceStorageClass((*[]StorageClass)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys52) - } // end switch yys52 - } // end for yyj52 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -687,16 +735,16 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj59 int - var yyb59 bool - var yyhl59 bool = l >= 0 - yyj59++ - if yyhl59 { - yyb59 = yyj59 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb59 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb59 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -704,15 +752,21 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj59++ - if yyhl59 { - yyb59 = yyj59 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb59 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb59 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -720,15 +774,21 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj59++ - if yyhl59 { - yyb59 = yyj59 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb59 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb59 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -736,22 +796,22 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg1_v1.ListMeta{} } else { - yyv62 := &x.ListMeta - yym63 := z.DecBinary() - _ = yym63 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv62) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv62, false) + z.DecFallback(yyv17, false) } } - yyj59++ - if yyhl59 { - yyb59 = yyj59 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb59 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb59 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -759,26 +819,26 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv64 := &x.Items - yym65 := z.DecBinary() - _ = yym65 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceStorageClass((*[]StorageClass)(yyv64), d) + h.decSliceStorageClass((*[]StorageClass)(yyv19), d) } } for { - yyj59++ - if yyhl59 { - yyb59 = yyj59 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb59 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb59 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj59-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -788,10 +848,10 @@ func (x codecSelfer1234) encSliceStorageClass(v []StorageClass, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv66 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy67 := &yyv66 - yy67.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -801,83 +861,86 @@ func (x codecSelfer1234) decSliceStorageClass(v *[]StorageClass, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv68 := *v - yyh68, yyl68 := z.DecSliceHelperStart() - var yyc68 bool - if yyl68 == 0 { - if yyv68 == nil { - yyv68 = []StorageClass{} - yyc68 = true - } else if len(yyv68) != 0 { - yyv68 = yyv68[:0] - yyc68 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []StorageClass{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl68 > 0 { - var yyrr68, yyrl68 int - var yyrt68 bool - if yyl68 > cap(yyv68) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg68 := len(yyv68) > 0 - yyv268 := yyv68 - yyrl68, yyrt68 = z.DecInferLen(yyl68, z.DecBasicHandle().MaxInitLen, 280) - if yyrt68 { - if yyrl68 <= cap(yyv68) { - yyv68 = yyv68[:yyrl68] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv68 = make([]StorageClass, yyrl68) + yyv1 = make([]StorageClass, yyrl1) } } else { - yyv68 = make([]StorageClass, yyrl68) + yyv1 = make([]StorageClass, yyrl1) } - yyc68 = true - yyrr68 = len(yyv68) - if yyrg68 { - copy(yyv68, yyv268) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl68 != len(yyv68) { - yyv68 = yyv68[:yyl68] - yyc68 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj68 := 0 - for ; yyj68 < yyrr68; yyj68++ { - yyh68.ElemContainerState(yyj68) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv68[yyj68] = StorageClass{} + yyv1[yyj1] = StorageClass{} } else { - yyv69 := &yyv68[yyj68] - yyv69.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt68 { - for ; yyj68 < yyl68; yyj68++ { - yyv68 = append(yyv68, StorageClass{}) - yyh68.ElemContainerState(yyj68) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, StorageClass{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv68[yyj68] = StorageClass{} + yyv1[yyj1] = StorageClass{} } else { - yyv70 := &yyv68[yyj68] - yyv70.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj68 := 0 - for ; !r.CheckBreak(); yyj68++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj68 >= len(yyv68) { - yyv68 = append(yyv68, StorageClass{}) // var yyz68 StorageClass - yyc68 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, StorageClass{}) // var yyz1 StorageClass + yyc1 = true } - yyh68.ElemContainerState(yyj68) - if yyj68 < len(yyv68) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv68[yyj68] = StorageClass{} + yyv1[yyj1] = StorageClass{} } else { - yyv71 := &yyv68[yyj68] - yyv71.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -885,16 +948,16 @@ func (x codecSelfer1234) decSliceStorageClass(v *[]StorageClass, d *codec1978.De } } - if yyj68 < len(yyv68) { - yyv68 = yyv68[:yyj68] - yyc68 = true - } else if yyj68 == 0 && yyv68 == nil { - yyv68 = []StorageClass{} - yyc68 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []StorageClass{} + yyc1 = true } } - yyh68.End() - if yyc68 { - *v = yyv68 + yyh1.End() + if yyc1 { + *v = yyv1 } } diff --git a/pkg/apis/storage/v1beta1/types.go b/pkg/apis/storage/v1beta1/types.go index 59a2753e..1d66db09 100644 --- a/pkg/apis/storage/v1beta1/types.go +++ b/pkg/apis/storage/v1beta1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1beta1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // +genclient=true diff --git a/pkg/apis/storage/v1beta1/zz_generated.conversion.go b/pkg/apis/storage/v1beta1/zz_generated.conversion.go index e72c7977..42056baf 100644 --- a/pkg/apis/storage/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/storage/v1beta1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package v1beta1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" storage "k8s.io/client-go/pkg/apis/storage" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" unsafe "unsafe" ) diff --git a/pkg/apis/storage/v1beta1/zz_generated.deepcopy.go b/pkg/apis/storage/v1beta1/zz_generated.deepcopy.go index 05b9feca..55726243 100644 --- a/pkg/apis/storage/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/storage/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package v1beta1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -44,19 +44,16 @@ func DeepCopy_v1beta1_StorageClass(in interface{}, out interface{}, c *conversio { in := in.(*StorageClass) out := out.(*StorageClass) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Provisioner = in.Provisioner if in.Parameters != nil { in, out := &in.Parameters, &out.Parameters *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } - } else { - out.Parameters = nil } return nil } @@ -66,8 +63,7 @@ func DeepCopy_v1beta1_StorageClassList(in interface{}, out interface{}, c *conve { in := in.(*StorageClassList) out := out.(*StorageClassList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]StorageClass, len(*in)) @@ -76,8 +72,6 @@ func DeepCopy_v1beta1_StorageClassList(in interface{}, out interface{}, c *conve return err } } - } else { - out.Items = nil } return nil } diff --git a/pkg/apis/storage/v1beta1/zz_generated.defaults.go b/pkg/apis/storage/v1beta1/zz_generated.defaults.go new file mode 100644 index 00000000..e24e70be --- /dev/null +++ b/pkg/apis/storage/v1beta1/zz_generated.defaults.go @@ -0,0 +1,32 @@ +// +build !ignore_autogenerated + +/* +Copyright 2017 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file was autogenerated by defaulter-gen. Do not edit it manually! + +package v1beta1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// RegisterDefaults adds defaulters functions to the given scheme. +// Public to allow building arbitrary schemes. +// All generated defaulters are covering - they call all nested defaulters. +func RegisterDefaults(scheme *runtime.Scheme) error { + return nil +} diff --git a/pkg/apis/storage/zz_generated.deepcopy.go b/pkg/apis/storage/zz_generated.deepcopy.go index a1c18175..b4e5ec3d 100644 --- a/pkg/apis/storage/zz_generated.deepcopy.go +++ b/pkg/apis/storage/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package storage import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -44,19 +44,16 @@ func DeepCopy_storage_StorageClass(in interface{}, out interface{}, c *conversio { in := in.(*StorageClass) out := out.(*StorageClass) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } - out.Provisioner = in.Provisioner if in.Parameters != nil { in, out := &in.Parameters, &out.Parameters *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } - } else { - out.Parameters = nil } return nil } @@ -66,8 +63,7 @@ func DeepCopy_storage_StorageClassList(in interface{}, out interface{}, c *conve { in := in.(*StorageClassList) out := out.(*StorageClassList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]StorageClass, len(*in)) @@ -76,8 +72,6 @@ func DeepCopy_storage_StorageClassList(in interface{}, out interface{}, c *conve return err } } - } else { - out.Items = nil } return nil } diff --git a/pkg/auth/user/doc.go b/pkg/auth/user/doc.go deleted file mode 100644 index 570c51ae..00000000 --- a/pkg/auth/user/doc.go +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2014 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package user contains utilities for dealing with simple user exchange in the auth -// packages. The user.Info interface defines an interface for exchanging that info. -package user diff --git a/pkg/auth/user/user.go b/pkg/auth/user/user.go deleted file mode 100644 index f82a4776..00000000 --- a/pkg/auth/user/user.go +++ /dev/null @@ -1,82 +0,0 @@ -/* -Copyright 2014 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package user - -// Info describes a user that has been authenticated to the system. -type Info interface { - // GetName returns the name that uniquely identifies this user among all - // other active users. - GetName() string - // GetUID returns a unique value for a particular user that will change - // if the user is removed from the system and another user is added with - // the same name. - GetUID() string - // GetGroups returns the names of the groups the user is a member of - GetGroups() []string - - // GetExtra can contain any additional information that the authenticator - // thought was interesting. One example would be scopes on a token. - // Keys in this map should be namespaced to the authenticator or - // authenticator/authorizer pair making use of them. - // For instance: "example.org/foo" instead of "foo" - // This is a map[string][]string because it needs to be serializeable into - // a SubjectAccessReviewSpec.authorization.k8s.io for proper authorization - // delegation flows - // In order to faithfully round-trip through an impersonation flow, these keys - // MUST be lowercase. - GetExtra() map[string][]string -} - -// DefaultInfo provides a simple user information exchange object -// for components that implement the UserInfo interface. -type DefaultInfo struct { - Name string - UID string - Groups []string - Extra map[string][]string -} - -func (i *DefaultInfo) GetName() string { - return i.Name -} - -func (i *DefaultInfo) GetUID() string { - return i.UID -} - -func (i *DefaultInfo) GetGroups() []string { - return i.Groups -} - -func (i *DefaultInfo) GetExtra() map[string][]string { - return i.Extra -} - -// well-known user and group names -const ( - SystemPrivilegedGroup = "system:masters" - NodesGroup = "system:nodes" - AllUnauthenticated = "system:unauthenticated" - AllAuthenticated = "system:authenticated" - - Anonymous = "system:anonymous" - APIServerUser = "system:apiserver" - - // core kubernetes process identities - KubeProxy = "system:kube-proxy" - KubeControllerManager = "system:kube-controller-manager" -) diff --git a/pkg/federation/apis/federation/install/install.go b/pkg/federation/apis/federation/install/install.go index 5b1976ad..bffc2a62 100644 --- a/pkg/federation/apis/federation/install/install.go +++ b/pkg/federation/apis/federation/install/install.go @@ -21,15 +21,14 @@ import ( "github.com/golang/glog" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/apimachinery" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/api/meta" - "k8s.io/client-go/pkg/apimachinery" - "k8s.io/client-go/pkg/apimachinery/registered" "k8s.io/client-go/pkg/federation/apis/federation" "k8s.io/client-go/pkg/federation/apis/federation/v1beta1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/util/sets" ) const importPrefix = "k8s.io/client-go/pkg/federation/apis/federation" @@ -40,10 +39,10 @@ var accessor = meta.NewAccessor() var availableVersions = []schema.GroupVersion{v1beta1.SchemeGroupVersion} func init() { - registered.RegisterVersions(availableVersions) + api.Registry.RegisterVersions(availableVersions) externalVersions := []schema.GroupVersion{} for _, v := range availableVersions { - if registered.IsAllowedVersion(v) { + if api.Registry.IsAllowedVersion(v) { externalVersions = append(externalVersions, v) } } @@ -52,7 +51,7 @@ func init() { return } - if err := registered.EnableVersions(externalVersions...); err != nil { + if err := api.Registry.EnableVersions(externalVersions...); err != nil { glog.V(4).Infof("%v", err) return } @@ -64,8 +63,8 @@ func init() { // TODO: enableVersions should be centralized rather than spread in each API // group. -// We can combine registered.RegisterVersions, registered.EnableVersions and -// registered.RegisterGroup once we have moved enableVersions there. +// We can combine api.Registry.RegisterVersions, api.Registry.EnableVersions and +// api.Registry.RegisterGroup once we have moved enableVersions there. func enableVersions(externalVersions []schema.GroupVersion) error { addVersionsToScheme(externalVersions...) preferredExternalVersion := externalVersions[0] @@ -78,7 +77,7 @@ func enableVersions(externalVersions []schema.GroupVersion) error { InterfacesFor: interfacesFor, } - if err := registered.RegisterGroup(groupMeta); err != nil { + if err := api.Registry.RegisterGroup(groupMeta); err != nil { return err } return nil @@ -106,7 +105,7 @@ func interfacesFor(version schema.GroupVersion) (*meta.VersionInterfaces, error) MetadataAccessor: accessor, }, nil default: - g, _ := registered.Group(federation.GroupName) + g, _ := api.Registry.Group(federation.GroupName) return nil, fmt.Errorf("unsupported storage version: %s (valid: %v)", version, g.GroupVersions) } } @@ -119,7 +118,7 @@ func addVersionsToScheme(externalVersions ...schema.GroupVersion) { } // add the enabled external versions to Scheme for _, v := range externalVersions { - if !registered.IsEnabledVersion(v) { + if !api.Registry.IsEnabledVersion(v) { glog.Errorf("Version %s is not enabled, so it will not be added to the Scheme.", v) continue } diff --git a/pkg/federation/apis/federation/register.go b/pkg/federation/apis/federation/register.go index 3eff8582..34e24bd5 100644 --- a/pkg/federation/apis/federation/register.go +++ b/pkg/federation/apis/federation/register.go @@ -17,9 +17,9 @@ limitations under the License. package federation import ( + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) // GroupName is the group name use in this package diff --git a/pkg/federation/apis/federation/types.go b/pkg/federation/apis/federation/types.go index b74a3926..51f7bbbd 100644 --- a/pkg/federation/apis/federation/types.go +++ b/pkg/federation/apis/federation/types.go @@ -17,8 +17,8 @@ limitations under the License. package federation import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match. @@ -76,7 +76,7 @@ type ClusterCondition struct { Message string } -// ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally. +// ClusterStatus is information about the current status of a cluster updated by cluster controller periodically. type ClusterStatus struct { // Conditions is an array of current cluster conditions. // +optional @@ -124,8 +124,8 @@ type ClusterList struct { // Temporary/alpha structures to support custom replica assignments within FederatedReplicaSet. // A set of preferences that can be added to federated version of ReplicaSet as a json-serialized annotation. -// The preferences allow the user to express in which culsters he wants to put his replicas within the -// mentiond FederatedReplicaSet. +// The preferences allow the user to express in which clusters he wants to put his replicas within the +// mentioned FederatedReplicaSet. type FederatedReplicaSetPreferences struct { // If set to true then already scheduled and running replicas may be moved to other clusters to // in order to bring cluster replicasets towards a desired state. Otherwise, if set to false, diff --git a/pkg/federation/apis/federation/v1beta1/conversion.go b/pkg/federation/apis/federation/v1beta1/conversion.go index 0591422c..a6a8a867 100644 --- a/pkg/federation/apis/federation/v1beta1/conversion.go +++ b/pkg/federation/apis/federation/v1beta1/conversion.go @@ -19,7 +19,7 @@ package v1beta1 import ( "fmt" - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/federation/apis/federation/v1beta1/defaults.go b/pkg/federation/apis/federation/v1beta1/defaults.go index 644ae49b..61533aed 100644 --- a/pkg/federation/apis/federation/v1beta1/defaults.go +++ b/pkg/federation/apis/federation/v1beta1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/pkg/federation/apis/federation/v1beta1/generated.pb.go b/pkg/federation/apis/federation/v1beta1/generated.pb.go index 790c92e0..0bce10d4 100644 --- a/pkg/federation/apis/federation/v1beta1/generated.pb.go +++ b/pkg/federation/apis/federation/v1beta1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -127,6 +127,14 @@ func (m *Cluster) MarshalTo(data []byte) (int, error) { return 0, err } i += n3 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n4, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n4 return i, nil } @@ -156,19 +164,19 @@ func (m *ClusterCondition) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.LastProbeTime.Size())) - n4, err := m.LastProbeTime.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n4 - data[i] = 0x22 - i++ - i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) - n5, err := m.LastTransitionTime.MarshalTo(data[i:]) + n5, err := m.LastProbeTime.MarshalTo(data[i:]) if err != nil { return 0, err } i += n5 + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) + n6, err := m.LastTransitionTime.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n6 data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) @@ -198,11 +206,11 @@ func (m *ClusterList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n6, err := m.ListMeta.MarshalTo(data[i:]) + n7, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n6 + i += n7 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -215,6 +223,14 @@ func (m *ClusterList) MarshalTo(data []byte) (int, error) { i += n } } + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.TypeMeta.Size())) + n8, err := m.TypeMeta.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n8 return i, nil } @@ -249,11 +265,11 @@ func (m *ClusterSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.SecretRef.Size())) - n7, err := m.SecretRef.MarshalTo(data[i:]) + n9, err := m.SecretRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n7 + i += n9 } return i, nil } @@ -369,6 +385,8 @@ func (m *Cluster) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = m.Status.Size() n += 1 + l + sovGenerated(uint64(l)) + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -401,6 +419,8 @@ func (m *ClusterList) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) } } + l = m.TypeMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -471,6 +491,7 @@ func (this *Cluster) String() string { `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_kubernetes_pkg_api_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ClusterSpec", "ClusterSpec", 1), `&`, ``, 1) + `,`, `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ClusterStatus", "ClusterStatus", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -482,8 +503,8 @@ func (this *ClusterCondition) String() string { s := strings.Join([]string{`&ClusterCondition{`, `Type:` + fmt.Sprintf("%v", this.Type) + `,`, `Status:` + fmt.Sprintf("%v", this.Status) + `,`, - `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, - `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastProbeTime:` + strings.Replace(strings.Replace(this.LastProbeTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, + `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, `}`, @@ -495,8 +516,9 @@ func (this *ClusterList) String() string { return "nil" } s := strings.Join([]string{`&ClusterList{`, - `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_kubernetes_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, + `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Cluster", "Cluster", 1), `&`, ``, 1) + `,`, + `TypeMeta:` + strings.Replace(strings.Replace(this.TypeMeta.String(), "TypeMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.TypeMeta", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -662,6 +684,36 @@ func (m *Cluster) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -999,6 +1051,36 @@ func (m *ClusterList) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TypeMeta.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -1487,55 +1569,58 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 787 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x54, 0xcb, 0x6a, 0xf3, 0x46, - 0x14, 0xb6, 0x7c, 0x8d, 0x27, 0x75, 0x1b, 0x86, 0x16, 0x5c, 0x2f, 0xe4, 0x60, 0x4a, 0x71, 0x20, - 0x91, 0xb0, 0xc9, 0x22, 0x50, 0x5a, 0x88, 0x1c, 0x0a, 0x01, 0x87, 0x94, 0x49, 0x28, 0x25, 0x9b, - 0x22, 0xcb, 0xc7, 0x8a, 0x6a, 0x5b, 0x12, 0x33, 0x23, 0x43, 0xb2, 0xea, 0x03, 0x74, 0xd1, 0x87, - 0xe8, 0x1b, 0x94, 0xbe, 0x43, 0x36, 0x85, 0x2c, 0xb2, 0xe8, 0xca, 0x34, 0xee, 0x5b, 0x64, 0x55, - 0x66, 0x34, 0x96, 0xad, 0xf8, 0xc2, 0xff, 0x27, 0x3b, 0x9d, 0xa3, 0x73, 0xbe, 0xef, 0x9b, 0x73, - 0x43, 0x67, 0xc3, 0x13, 0x66, 0x78, 0x81, 0x39, 0x8c, 0x7a, 0x40, 0x7d, 0xe0, 0xc0, 0xcc, 0x01, - 0xf4, 0x81, 0xda, 0xdc, 0x0b, 0x7c, 0xd3, 0x0e, 0xbd, 0x94, 0x3d, 0x69, 0xf5, 0x80, 0xdb, 0x2d, - 0xd3, 0x05, 0x5f, 0xb8, 0xa0, 0x6f, 0x84, 0x34, 0xe0, 0x01, 0x3e, 0x8e, 0x51, 0x8c, 0x05, 0x8a, - 0xb1, 0xc8, 0x32, 0x04, 0xca, 0xb2, 0xad, 0x50, 0x6a, 0x47, 0xae, 0xc7, 0x6f, 0xa3, 0x9e, 0xe1, - 0x04, 0x63, 0xd3, 0x0d, 0xdc, 0xc0, 0x94, 0x60, 0xbd, 0x68, 0x20, 0x2d, 0x69, 0xc8, 0xaf, 0x98, - 0xa4, 0xd6, 0x5e, 0x95, 0x1a, 0x0e, 0x5d, 0xa1, 0xd1, 0xa4, 0xc0, 0x82, 0x88, 0x3a, 0xf0, 0x5a, - 0x58, 0xed, 0x70, 0x73, 0xce, 0x64, 0xe5, 0x19, 0x5b, 0x18, 0x98, 0x39, 0x06, 0x6e, 0xaf, 0xcb, - 0x39, 0x5a, 0x9f, 0x43, 0x23, 0x9f, 0x7b, 0xe3, 0x55, 0x41, 0xc7, 0xdb, 0xc3, 0x99, 0x73, 0x0b, - 0x63, 0x7b, 0x25, 0xab, 0xb5, 0x3e, 0x2b, 0xe2, 0xde, 0xc8, 0xf4, 0x7c, 0xce, 0x38, 0x7d, 0x9d, - 0xd2, 0xf8, 0x2b, 0x8b, 0x4a, 0x9d, 0x51, 0xc4, 0x38, 0x50, 0xfc, 0x13, 0xda, 0x11, 0xf2, 0xfb, - 0x36, 0xb7, 0xab, 0xda, 0xbe, 0xd6, 0xdc, 0x6d, 0x37, 0x8d, 0xd5, 0x8e, 0x85, 0x43, 0x57, 0xb4, - 0xca, 0x98, 0xb4, 0x8c, 0xcb, 0xde, 0x2f, 0xe0, 0xf0, 0x0b, 0xe0, 0xb6, 0x85, 0x1f, 0xa6, 0xf5, - 0xcc, 0x6c, 0x5a, 0x47, 0x0b, 0x1f, 0x49, 0xd0, 0xb0, 0x83, 0xf2, 0x2c, 0x04, 0xa7, 0x9a, 0x95, - 0xa8, 0xa7, 0xc6, 0x5b, 0xe6, 0xc0, 0x50, 0x32, 0xaf, 0x42, 0x70, 0xac, 0x4f, 0x14, 0x5d, 0x5e, - 0x58, 0x44, 0x82, 0xe3, 0x21, 0x2a, 0x32, 0x6e, 0xf3, 0x88, 0x55, 0x73, 0x92, 0xa6, 0xf3, 0x3e, - 0x1a, 0x09, 0x65, 0x7d, 0xaa, 0x88, 0x8a, 0xb1, 0x4d, 0x14, 0x45, 0xe3, 0x29, 0x87, 0xf6, 0x54, - 0x64, 0x27, 0xf0, 0xfb, 0x9e, 0x80, 0xc0, 0x27, 0x28, 0xcf, 0xef, 0x42, 0x90, 0xc5, 0x2b, 0x5b, - 0x5f, 0xcd, 0x35, 0x5e, 0xdf, 0x85, 0xf0, 0x32, 0xad, 0x7f, 0xfe, 0x3a, 0x5e, 0xf8, 0x89, 0xcc, - 0xc0, 0x3f, 0x26, 0xda, 0xb3, 0x32, 0xf7, 0xbb, 0x34, 0xed, 0xcb, 0xb4, 0xbe, 0x75, 0x44, 0x8d, - 0x04, 0x33, 0x2d, 0x13, 0x03, 0xaa, 0x8c, 0x6c, 0xc6, 0x7f, 0xa0, 0x41, 0x0f, 0xae, 0xbd, 0x31, - 0xa8, 0xd2, 0x6c, 0xe9, 0x2b, 0x33, 0x44, 0xd7, 0x44, 0x77, 0x45, 0xbc, 0xf5, 0x85, 0x12, 0x52, - 0xe9, 0x2e, 0xc3, 0x90, 0x34, 0x2a, 0xe6, 0x08, 0x0b, 0xc7, 0x35, 0xb5, 0x7d, 0x16, 0x3f, 0x4d, - 0x70, 0xe5, 0x3f, 0x92, 0xab, 0xa6, 0xb8, 0x70, 0x77, 0x05, 0x8b, 0xac, 0xc1, 0xc7, 0x5f, 0xa3, - 0x22, 0x05, 0x9b, 0x05, 0x7e, 0xb5, 0x20, 0x8b, 0x96, 0xf4, 0x8a, 0x48, 0x2f, 0x51, 0x7f, 0xf1, - 0x01, 0x2a, 0x8d, 0x81, 0x31, 0xdb, 0x85, 0x6a, 0x51, 0x06, 0x7e, 0xa6, 0x02, 0x4b, 0x17, 0xb1, - 0x9b, 0xcc, 0xff, 0x37, 0xfe, 0xd6, 0xd0, 0xae, 0x6a, 0x53, 0xd7, 0x63, 0x1c, 0xdf, 0xac, 0xac, - 0xc4, 0xe1, 0x87, 0x3c, 0x47, 0xe4, 0xca, 0xb5, 0xd8, 0x53, 0x4c, 0x3b, 0x73, 0xcf, 0xd2, 0x52, - 0xf4, 0x50, 0xc1, 0xe3, 0x30, 0x16, 0x2d, 0xcf, 0x35, 0x77, 0xdb, 0xdf, 0xbe, 0x6b, 0x5c, 0xad, - 0x8a, 0x62, 0x2a, 0x9c, 0x0b, 0x4c, 0x12, 0x43, 0x37, 0xfe, 0xc8, 0x26, 0xef, 0x11, 0x9b, 0x82, - 0xff, 0xd4, 0x50, 0x8d, 0x01, 0x9d, 0x00, 0x3d, 0xed, 0xf7, 0x29, 0x30, 0x66, 0xdd, 0x75, 0x46, - 0x1e, 0xf8, 0xbc, 0x73, 0x7e, 0x46, 0x58, 0x55, 0x93, 0x4a, 0x2e, 0xdf, 0xa6, 0xe4, 0x6a, 0x13, - 0xae, 0xd5, 0x50, 0xda, 0x6a, 0x1b, 0x43, 0x18, 0xd9, 0x22, 0x0b, 0xff, 0x8c, 0xca, 0x0c, 0x1c, - 0x0a, 0x9c, 0xc0, 0x40, 0xdd, 0x90, 0xf6, 0xf6, 0xcb, 0xd4, 0x0d, 0x1c, 0x7b, 0x14, 0x9f, 0x22, - 0x02, 0x03, 0xa0, 0xe0, 0x3b, 0x60, 0x55, 0x66, 0xd3, 0x7a, 0xf9, 0x6a, 0x0e, 0x44, 0x16, 0x98, - 0x8d, 0x27, 0x0d, 0x55, 0x52, 0x7b, 0x8f, 0xef, 0x11, 0x72, 0xe6, 0x3b, 0x35, 0xaf, 0xcb, 0xf7, - 0xef, 0xea, 0x50, 0xb2, 0xa2, 0x8b, 0x5b, 0x99, 0xb8, 0x18, 0x59, 0x62, 0xc3, 0x75, 0x54, 0xb8, - 0x0f, 0x7c, 0x60, 0xd5, 0xc2, 0x7e, 0xae, 0x59, 0xb6, 0xca, 0xa2, 0xab, 0x37, 0xc2, 0x41, 0x62, - 0x7f, 0x3c, 0xf8, 0xae, 0x17, 0xf8, 0x6a, 0x9e, 0x97, 0x06, 0x5f, 0x78, 0x89, 0xfa, 0xdb, 0xf8, - 0x4d, 0x43, 0x5f, 0x6e, 0x2c, 0x39, 0x6e, 0x23, 0xe4, 0x24, 0x96, 0xba, 0x59, 0x0b, 0x69, 0xc9, - 0x1f, 0xb2, 0x14, 0x85, 0xbf, 0x41, 0x95, 0x54, 0x9f, 0xd4, 0xb9, 0x4a, 0xae, 0x44, 0x8a, 0x8d, - 0xa4, 0x63, 0xad, 0x83, 0x87, 0x67, 0x3d, 0xf3, 0xf8, 0xac, 0x67, 0xfe, 0x79, 0xd6, 0x33, 0xbf, - 0xce, 0x74, 0xed, 0x61, 0xa6, 0x6b, 0x8f, 0x33, 0x5d, 0xfb, 0x77, 0xa6, 0x6b, 0xbf, 0xff, 0xa7, - 0x67, 0x6e, 0x4a, 0xaa, 0x66, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x63, 0x94, 0x8a, 0xdf, 0x70, - 0x08, 0x00, 0x00, + // 833 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x54, 0xcd, 0x6a, 0xeb, 0x46, + 0x14, 0xb6, 0xe2, 0xbf, 0x78, 0x52, 0xb7, 0x97, 0xa1, 0x05, 0xd5, 0x0b, 0xf9, 0x62, 0x4a, 0xf1, + 0x2d, 0xad, 0x84, 0x4d, 0x29, 0x81, 0xd2, 0x42, 0xe4, 0x50, 0x08, 0x38, 0xa4, 0x4c, 0x42, 0x29, + 0xa1, 0x50, 0x64, 0xf9, 0x58, 0x51, 0x6d, 0x49, 0x66, 0x66, 0x64, 0x48, 0x56, 0x7d, 0x80, 0x2e, + 0x0a, 0x7d, 0x85, 0x6e, 0xbb, 0xea, 0x4b, 0x64, 0x99, 0x45, 0x17, 0x59, 0x99, 0xc6, 0x7d, 0x8b, + 0xac, 0xca, 0x8c, 0x46, 0xb2, 0x65, 0xc7, 0x69, 0x9a, 0xdc, 0x9d, 0xce, 0xd1, 0x39, 0xdf, 0x77, + 0xe6, 0x3b, 0x3f, 0xe8, 0x70, 0xbc, 0xcf, 0x4c, 0x3f, 0xb2, 0xc6, 0xf1, 0x00, 0x68, 0x08, 0x1c, + 0x98, 0x35, 0x82, 0x21, 0x50, 0x87, 0xfb, 0x51, 0x68, 0x39, 0x53, 0x3f, 0x67, 0xcf, 0x3a, 0x03, + 0xe0, 0x4e, 0xc7, 0xf2, 0x20, 0x14, 0x2e, 0x18, 0x9a, 0x53, 0x1a, 0xf1, 0x08, 0x7f, 0x9e, 0xa0, + 0x98, 0x4b, 0x14, 0x73, 0x99, 0x65, 0x0a, 0x94, 0x55, 0x5b, 0xa1, 0x34, 0x3e, 0xf3, 0x7c, 0x7e, + 0x11, 0x0f, 0x4c, 0x37, 0x0a, 0x2c, 0x2f, 0xf2, 0x22, 0x4b, 0x82, 0x0d, 0xe2, 0x91, 0xb4, 0xa4, + 0x21, 0xbf, 0x12, 0x92, 0x86, 0x22, 0x11, 0x45, 0x05, 0x8e, 0x7b, 0xe1, 0x87, 0x40, 0x2f, 0xad, + 0xe9, 0xd8, 0x4b, 0xaa, 0x0c, 0x80, 0x3b, 0xd6, 0x6c, 0xa3, 0xb4, 0x86, 0xb5, 0x2d, 0x8b, 0xc6, + 0x21, 0xf7, 0x03, 0xd8, 0x48, 0xf8, 0xe2, 0xbf, 0x12, 0x98, 0x7b, 0x01, 0x81, 0xb3, 0x91, 0xd7, + 0xdd, 0x54, 0x52, 0x15, 0x67, 0x51, 0x60, 0x51, 0x4c, 0xdd, 0x4d, 0xae, 0x4f, 0xb7, 0xe7, 0x3c, + 0xf0, 0x94, 0xce, 0xc3, 0xd1, 0x31, 0xf7, 0x27, 0x96, 0x1f, 0x72, 0xc6, 0xe9, 0x7a, 0x4a, 0xeb, + 0xb7, 0x22, 0xaa, 0xf6, 0x26, 0x31, 0xe3, 0x40, 0xf1, 0xf7, 0x68, 0x57, 0x88, 0x34, 0x74, 0xb8, + 0xa3, 0x6b, 0xaf, 0xb5, 0xf6, 0x5e, 0xb7, 0x6d, 0x6e, 0xf6, 0x6d, 0x3a, 0xf6, 0x44, 0xc3, 0xcc, + 0x59, 0xc7, 0x3c, 0x19, 0xfc, 0x04, 0x2e, 0x3f, 0x06, 0xee, 0xd8, 0xf8, 0x7a, 0xde, 0x2c, 0x2c, + 0xe6, 0x4d, 0xb4, 0xf4, 0x91, 0x0c, 0x0d, 0xbb, 0xa8, 0xc4, 0xa6, 0xe0, 0xea, 0x3b, 0x12, 0xf5, + 0xc0, 0x7c, 0xce, 0x34, 0x98, 0xaa, 0xcc, 0xd3, 0x29, 0xb8, 0xf6, 0x3b, 0x8a, 0xae, 0x24, 0x2c, + 0x22, 0xc1, 0xf1, 0x18, 0x55, 0x18, 0x77, 0x78, 0xcc, 0xf4, 0xa2, 0xa4, 0xe9, 0xbd, 0x8c, 0x46, + 0x42, 0xd9, 0xef, 0x2a, 0xa2, 0x4a, 0x62, 0x13, 0x45, 0x81, 0x7f, 0x40, 0xbb, 0xfc, 0x72, 0x0a, + 0xe2, 0x9d, 0x7a, 0x49, 0xd2, 0x99, 0x29, 0xdd, 0xea, 0x5c, 0xa4, 0x6a, 0x31, 0x53, 0x68, 0x21, + 0x34, 0x3b, 0x53, 0x59, 0xf6, 0x2b, 0x85, 0xbc, 0x9b, 0x7a, 0x48, 0x86, 0xd8, 0xba, 0x2d, 0xa2, + 0x57, 0xaa, 0x8e, 0x5e, 0x14, 0x0e, 0x7d, 0x51, 0x20, 0xde, 0x47, 0x25, 0x11, 0x20, 0x5b, 0x53, + 0xb3, 0x3f, 0x4a, 0x15, 0x10, 0xe9, 0xf7, 0xf3, 0xe6, 0xfb, 0xeb, 0xf1, 0xc2, 0x4f, 0x64, 0x06, + 0xfe, 0x2e, 0x53, 0x66, 0x47, 0xe6, 0x7e, 0x9d, 0x7f, 0xd4, 0xfd, 0xbc, 0xf9, 0xe8, 0x9c, 0x99, + 0x19, 0xe6, 0x9a, 0x08, 0x1e, 0xaa, 0x4f, 0x1c, 0xc6, 0xbf, 0xa5, 0xd1, 0x00, 0xce, 0xfc, 0x00, + 0x94, 0xf0, 0x9f, 0x3c, 0x51, 0x09, 0x3f, 0x00, 0xfb, 0x03, 0x55, 0x4a, 0xbd, 0xbf, 0x0a, 0x44, + 0xf2, 0xb8, 0x78, 0x86, 0xb0, 0x70, 0x9c, 0x51, 0x27, 0x64, 0xc9, 0xe3, 0x04, 0x5b, 0xe9, 0x7f, + 0xb3, 0x35, 0x14, 0x1b, 0xee, 0x6f, 0xa0, 0x91, 0x07, 0x18, 0xf0, 0xc7, 0xa8, 0x42, 0xc1, 0x61, + 0x51, 0xa8, 0x97, 0xa5, 0x70, 0xd9, 0x34, 0x10, 0xe9, 0x25, 0xea, 0x2f, 0x7e, 0x83, 0xaa, 0x01, + 0x30, 0xe6, 0x78, 0xa0, 0x57, 0x64, 0xe0, 0x7b, 0x2a, 0xb0, 0x7a, 0x9c, 0xb8, 0x49, 0xfa, 0xbf, + 0xf5, 0xc7, 0x0e, 0xda, 0x53, 0xad, 0xea, 0xfb, 0x8c, 0x8b, 0x41, 0x5a, 0x5b, 0xba, 0x27, 0x0e, + 0x92, 0xc8, 0xce, 0x0f, 0x52, 0xea, 0x59, 0x59, 0xbc, 0x01, 0x2a, 0xfb, 0x1c, 0x02, 0xd1, 0xf8, + 0x62, 0x7b, 0xaf, 0xfb, 0xd5, 0x8b, 0x56, 0xc2, 0xae, 0x2b, 0xa6, 0xf2, 0x91, 0xc0, 0x24, 0x09, + 0x74, 0x6e, 0x15, 0x8a, 0x6f, 0x7d, 0x15, 0x7e, 0x5f, 0xea, 0x25, 0x76, 0x1d, 0xff, 0xa9, 0xa1, + 0x06, 0x03, 0x3a, 0x03, 0x7a, 0x30, 0x1c, 0x52, 0x60, 0xcc, 0xbe, 0xec, 0x4d, 0x7c, 0x08, 0x79, + 0xef, 0xe8, 0x90, 0x30, 0x5d, 0x93, 0xef, 0x3c, 0x79, 0xde, 0x3b, 0x4f, 0xb7, 0xe1, 0xda, 0x2d, + 0x55, 0x61, 0x63, 0x6b, 0x08, 0x23, 0x8f, 0x94, 0x85, 0x7f, 0x44, 0x35, 0x06, 0x2e, 0x05, 0x4e, + 0x60, 0xa4, 0xae, 0x60, 0xf7, 0xf1, 0xdb, 0xda, 0x8f, 0x5c, 0x67, 0x92, 0x1c, 0x53, 0x02, 0x23, + 0xa0, 0x10, 0xba, 0x60, 0xd7, 0x17, 0xf3, 0x66, 0xed, 0x34, 0x05, 0x22, 0x4b, 0xcc, 0xd6, 0x5f, + 0x1a, 0xaa, 0xe7, 0x2e, 0x17, 0xbe, 0x42, 0xc8, 0x4d, 0xf7, 0x36, 0xd5, 0xe5, 0x9b, 0x17, 0xf5, + 0x3f, 0x3b, 0x03, 0xcb, 0x6b, 0x9f, 0xb9, 0x18, 0x59, 0x61, 0xc3, 0x4d, 0x54, 0xbe, 0x8a, 0x42, + 0x60, 0x7a, 0xf9, 0x75, 0xb1, 0x5d, 0xb3, 0x6b, 0x62, 0x66, 0xce, 0x85, 0x83, 0x24, 0xfe, 0x64, + 0xb1, 0x3c, 0x3f, 0x0a, 0xd5, 0xbe, 0xac, 0x2c, 0x96, 0xf0, 0x12, 0xf5, 0xb7, 0xf5, 0x8b, 0x86, + 0x3e, 0xdc, 0x2a, 0x39, 0xee, 0x22, 0xe4, 0x66, 0x96, 0xba, 0x8b, 0xcb, 0xd2, 0xb2, 0x3f, 0x64, + 0x25, 0x0a, 0x7f, 0x89, 0xea, 0xb9, 0x3e, 0xa9, 0x93, 0x98, 0xdd, 0xa1, 0x1c, 0x1b, 0xc9, 0xc7, + 0xda, 0x6f, 0xae, 0xef, 0x8c, 0xc2, 0xcd, 0x9d, 0x51, 0xb8, 0xbd, 0x33, 0x0a, 0x3f, 0x2f, 0x0c, + 0xed, 0x7a, 0x61, 0x68, 0x37, 0x0b, 0x43, 0xfb, 0x7b, 0x61, 0x68, 0xbf, 0xfe, 0x63, 0x14, 0xce, + 0xab, 0x4a, 0xb3, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x25, 0xcc, 0x27, 0x38, 0x09, 0x00, + 0x00, } diff --git a/pkg/federation/apis/federation/v1beta1/generated.proto b/pkg/federation/apis/federation/v1beta1/generated.proto index 21738c5e..d06edb98 100644 --- a/pkg/federation/apis/federation/v1beta1/generated.proto +++ b/pkg/federation/apis/federation/v1beta1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.federation.apis.federation.v1beta1; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; import "k8s.io/kubernetes/pkg/api/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/runtime/schema/generated.proto"; import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". @@ -33,6 +33,8 @@ option go_package = "v1beta1"; // Information about a registered cluster in a federated kubernetes setup. Clusters are not namespaced and have unique names in the federation. message Cluster { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 4; + // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata // +optional @@ -57,11 +59,11 @@ message ClusterCondition { // Last time the condition was checked. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastProbeTime = 3; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3; // Last time the condition transit from one status to another. // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.Time lastTransitionTime = 4; + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; // (brief) reason for the condition's last transition. // +optional @@ -74,10 +76,12 @@ message ClusterCondition { // A list of all the kubernetes clusters registered to the federation message ClusterList { + optional k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta typeMeta = 3; + // Standard list metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds // +optional - optional k8s.io.kubernetes.pkg.apis.meta.v1.ListMeta metadata = 1; + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; // List of Cluster objects. repeated Cluster items = 2; @@ -100,7 +104,7 @@ message ClusterSpec { optional k8s.io.kubernetes.pkg.api.v1.LocalObjectReference secretRef = 2; } -// ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally. +// ClusterStatus is information about the current status of a cluster updated by cluster controller periodically. message ClusterStatus { // Conditions is an array of current cluster conditions. // +optional diff --git a/pkg/federation/apis/federation/v1beta1/register.go b/pkg/federation/apis/federation/v1beta1/register.go index e494d20d..c5f3fffc 100644 --- a/pkg/federation/apis/federation/v1beta1/register.go +++ b/pkg/federation/apis/federation/v1beta1/register.go @@ -17,11 +17,10 @@ limitations under the License. package v1beta1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package @@ -44,7 +43,7 @@ func addKnownTypes(scheme *runtime.Scheme) error { &metav1.ExportOptions{}, &metav1.GetOptions{}, ) - versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) return nil } diff --git a/pkg/federation/apis/federation/v1beta1/types.generated.go b/pkg/federation/apis/federation/v1beta1/types.generated.go index 9d0fd129..6c57c2b4 100644 --- a/pkg/federation/apis/federation/v1beta1/types.generated.go +++ b/pkg/federation/apis/federation/v1beta1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" + pkg2_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + pkg3_types "k8s.io/apimachinery/pkg/types" pkg1_v1 "k8s.io/client-go/pkg/api/v1" - pkg2_v1 "k8s.io/client-go/pkg/apis/meta/v1" - pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" @@ -63,9 +63,9 @@ func init() { panic(err) } if false { // reference the types, but skip this branch at build/run time - var v0 pkg1_v1.LocalObjectReference - var v1 pkg2_v1.Time - var v2 pkg3_types.UID + var v0 pkg2_v1.Time + var v1 pkg3_types.UID + var v2 pkg1_v1.LocalObjectReference var v3 time.Time _, _, _, _ = v0, v1, v2, v3 } @@ -152,25 +152,25 @@ func (x *ServerAddressByClientCIDR) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym9 := z.DecBinary() - _ = yym9 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct10 := r.ContainerType() - if yyct10 == codecSelferValueTypeMap1234 { - yyl10 := r.ReadMapStart() - if yyl10 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl10, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct10 == codecSelferValueTypeArray1234 { - yyl10 := r.ReadArrayStart() - if yyl10 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl10, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -182,12 +182,12 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys11Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys11Slc - var yyhl11 bool = l >= 0 - for yyj11 := 0; ; yyj11++ { - if yyhl11 { - if yyj11 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -196,30 +196,691 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys11Slc = r.DecodeBytes(yys11Slc, true, true) - yys11 := string(yys11Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys11 { + switch yys3 { case "clientCIDR": if r.TryDecodeAsNil() { x.ClientCIDR = "" } else { - x.ClientCIDR = string(r.DecodeString()) + yyv4 := &x.ClientCIDR + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "serverAddress": if r.TryDecodeAsNil() { x.ServerAddress = "" } else { - x.ServerAddress = string(r.DecodeString()) + yyv6 := &x.ServerAddress + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys11) - } // end switch yys11 - } // end for yyj11 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *ServerAddressByClientCIDR) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj8 int + var yyb8 bool + var yyhl8 bool = l >= 0 + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l + } else { + yyb8 = r.CheckBreak() + } + if yyb8 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ClientCIDR = "" + } else { + yyv9 := &x.ClientCIDR + yym10 := z.DecBinary() + _ = yym10 + if false { + } else { + *((*string)(yyv9)) = r.DecodeString() + } + } + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l + } else { + yyb8 = r.CheckBreak() + } + if yyb8 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ServerAddress = "" + } else { + yyv11 := &x.ServerAddress + yym12 := z.DecBinary() + _ = yym12 + if false { + } else { + *((*string)(yyv11)) = r.DecodeString() + } + } + for { + yyj8++ + if yyhl8 { + yyb8 = yyj8 > l + } else { + yyb8 = r.CheckBreak() + } + if yyb8 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj8-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ClusterSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1 := z.EncBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [2]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[1] = x.SecretRef != nil + var yynn2 int + if yyr2 || yy2arr2 { + r.EncodeArrayStart(2) + } else { + yynn2 = 1 + for _, b := range yyq2 { + if b { + yynn2++ + } + } + r.EncodeMapStart(yynn2) + yynn2 = 0 + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.ServerAddressByClientCIDRs == nil { + r.EncodeNil() + } else { + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + h.encSliceServerAddressByClientCIDR(([]ServerAddressByClientCIDR)(x.ServerAddressByClientCIDRs), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("serverAddressByClientCIDRs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.ServerAddressByClientCIDRs == nil { + r.EncodeNil() + } else { + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + h.encSliceServerAddressByClientCIDR(([]ServerAddressByClientCIDR)(x.ServerAddressByClientCIDRs), e) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[1] { + if x.SecretRef == nil { + r.EncodeNil() + } else { + x.SecretRef.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq2[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("secretRef")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.SecretRef == nil { + r.EncodeNil() + } else { + x.SecretRef.CodecEncodeSelf(e) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ClusterSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1 := z.DecBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2, d) + } + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ClusterSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3 { + case "serverAddressByClientCIDRs": + if r.TryDecodeAsNil() { + x.ServerAddressByClientCIDRs = nil + } else { + yyv4 := &x.ServerAddressByClientCIDRs + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + h.decSliceServerAddressByClientCIDR((*[]ServerAddressByClientCIDR)(yyv4), d) + } + } + case "secretRef": + if r.TryDecodeAsNil() { + if x.SecretRef != nil { + x.SecretRef = nil + } + } else { + if x.SecretRef == nil { + x.SecretRef = new(pkg1_v1.LocalObjectReference) + } + x.SecretRef.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ClusterSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj7 int + var yyb7 bool + var yyhl7 bool = l >= 0 + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l + } else { + yyb7 = r.CheckBreak() + } + if yyb7 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ServerAddressByClientCIDRs = nil + } else { + yyv8 := &x.ServerAddressByClientCIDRs + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + h.decSliceServerAddressByClientCIDR((*[]ServerAddressByClientCIDR)(yyv8), d) + } + } + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l + } else { + yyb7 = r.CheckBreak() + } + if yyb7 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.SecretRef != nil { + x.SecretRef = nil + } + } else { + if x.SecretRef == nil { + x.SecretRef = new(pkg1_v1.LocalObjectReference) + } + x.SecretRef.CodecDecodeSelf(d) + } + for { + yyj7++ + if yyhl7 { + yyb7 = yyj7 > l + } else { + yyb7 = r.CheckBreak() + } + if yyb7 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj7-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x ClusterConditionType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym1 := z.EncBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *ClusterConditionType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1 := z.DecBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *ClusterCondition) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1 := z.EncBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [6]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[2] = true + yyq2[3] = true + yyq2[4] = x.Reason != "" + yyq2[5] = x.Message != "" + var yynn2 int + if yyr2 || yy2arr2 { + r.EncodeArrayStart(6) + } else { + yynn2 = 2 + for _, b := range yyq2 { + if b { + yynn2++ + } + } + r.EncodeMapStart(yynn2) + yynn2 = 0 + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + x.Type.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("type")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Type.CodecEncodeSelf(e) + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yysf7 := &x.Status + yysf7.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yysf8 := &x.Status + yysf8.CodecEncodeSelf(e) + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yy10 := &x.LastProbeTime + yym11 := z.EncBinary() + _ = yym11 + if false { + } else if z.HasExtensions() && z.EncExt(yy10) { + } else if yym11 { + z.EncBinaryMarshal(yy10) + } else if !yym11 && z.IsJSONHandle() { + z.EncJSONMarshal(yy10) + } else { + z.EncFallback(yy10) + } + } else { + r.EncodeNil() + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy12 := &x.LastProbeTime + yym13 := z.EncBinary() + _ = yym13 + if false { + } else if z.HasExtensions() && z.EncExt(yy12) { + } else if yym13 { + z.EncBinaryMarshal(yy12) + } else if !yym13 && z.IsJSONHandle() { + z.EncJSONMarshal(yy12) + } else { + z.EncFallback(yy12) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[3] { + yy15 := &x.LastTransitionTime + yym16 := z.EncBinary() + _ = yym16 + if false { + } else if z.HasExtensions() && z.EncExt(yy15) { + } else if yym16 { + z.EncBinaryMarshal(yy15) + } else if !yym16 && z.IsJSONHandle() { + z.EncJSONMarshal(yy15) + } else { + z.EncFallback(yy15) + } + } else { + r.EncodeNil() + } + } else { + if yyq2[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy17 := &x.LastTransitionTime + yym18 := z.EncBinary() + _ = yym18 + if false { + } else if z.HasExtensions() && z.EncExt(yy17) { + } else if yym18 { + z.EncBinaryMarshal(yy17) + } else if !yym18 && z.IsJSONHandle() { + z.EncJSONMarshal(yy17) + } else { + z.EncFallback(yy17) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { + yym20 := z.EncBinary() + _ = yym20 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym21 := z.EncBinary() + _ = yym21 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[5] { + yym23 := z.EncBinary() + _ = yym23 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym24 := z.EncBinary() + _ = yym24 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ClusterCondition) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1 := z.DecBinary() + _ = yym1 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2, d) + } + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ClusterCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + yyv4 := &x.Type + yyv4.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = "" + } else { + yyv5 := &x.Status + yyv5.CodecDecodeSelf(d) + } + case "lastProbeTime": + if r.TryDecodeAsNil() { + x.LastProbeTime = pkg2_v1.Time{} + } else { + yyv6 := &x.LastProbeTime + yym7 := z.DecBinary() + _ = yym7 + if false { + } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if yym7 { + z.DecBinaryUnmarshal(yyv6) + } else if !yym7 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv6) + } else { + z.DecFallback(yyv6, false) + } + } + case "lastTransitionTime": + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg2_v1.Time{} + } else { + yyv8 := &x.LastTransitionTime + yym9 := z.DecBinary() + _ = yym9 + if false { + } else if z.HasExtensions() && z.DecExt(yyv8) { + } else if yym9 { + z.DecBinaryUnmarshal(yyv8) + } else if !yym9 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv8) + } else { + z.DecFallback(yyv8, false) + } + } + case "reason": + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + yyv10 := &x.Reason + yym11 := z.DecBinary() + _ = yym11 + if false { + } else { + *((*string)(yyv10)) = r.DecodeString() + } + } + case "message": + if r.TryDecodeAsNil() { + x.Message = "" + } else { + yyv12 := &x.Message + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } + } + default: + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -238,9 +899,10 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromArray(l int, d *codec1978 } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ClientCIDR = "" + x.Type = "" } else { - x.ClientCIDR = string(r.DecodeString()) + yyv15 := &x.Type + yyv15.CodecDecodeSelf(d) } yyj14++ if yyhl14 { @@ -254,9 +916,108 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromArray(l int, d *codec1978 } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ServerAddress = "" + x.Status = "" } else { - x.ServerAddress = string(r.DecodeString()) + yyv16 := &x.Status + yyv16.CodecDecodeSelf(d) + } + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l + } else { + yyb14 = r.CheckBreak() + } + if yyb14 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastProbeTime = pkg2_v1.Time{} + } else { + yyv17 := &x.LastProbeTime + yym18 := z.DecBinary() + _ = yym18 + if false { + } else if z.HasExtensions() && z.DecExt(yyv17) { + } else if yym18 { + z.DecBinaryUnmarshal(yyv17) + } else if !yym18 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv17) + } else { + z.DecFallback(yyv17, false) + } + } + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l + } else { + yyb14 = r.CheckBreak() + } + if yyb14 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg2_v1.Time{} + } else { + yyv19 := &x.LastTransitionTime + yym20 := z.DecBinary() + _ = yym20 + if false { + } else if z.HasExtensions() && z.DecExt(yyv19) { + } else if yym20 { + z.DecBinaryUnmarshal(yyv19) + } else if !yym20 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv19) + } else { + z.DecFallback(yyv19, false) + } + } + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l + } else { + yyb14 = r.CheckBreak() + } + if yyb14 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + yyv21 := &x.Reason + yym22 := z.DecBinary() + _ = yym22 + if false { + } else { + *((*string)(yyv21)) = r.DecodeString() + } + } + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l + } else { + yyb14 = r.CheckBreak() + } + if yyb14 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + yyv23 := &x.Message + yym24 := z.DecBinary() + _ = yym24 + if false { + } else { + *((*string)(yyv23)) = r.DecodeString() + } } for { yyj14++ @@ -274,725 +1035,6 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromArray(l int, d *codec1978 z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ClusterSpec) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym17 := z.EncBinary() - _ = yym17 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep18 := !z.EncBinary() - yy2arr18 := z.EncBasicHandle().StructToArray - var yyq18 [2]bool - _, _, _ = yysep18, yyq18, yy2arr18 - const yyr18 bool = false - yyq18[1] = x.SecretRef != nil - var yynn18 int - if yyr18 || yy2arr18 { - r.EncodeArrayStart(2) - } else { - yynn18 = 1 - for _, b := range yyq18 { - if b { - yynn18++ - } - } - r.EncodeMapStart(yynn18) - yynn18 = 0 - } - if yyr18 || yy2arr18 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.ServerAddressByClientCIDRs == nil { - r.EncodeNil() - } else { - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - h.encSliceServerAddressByClientCIDR(([]ServerAddressByClientCIDR)(x.ServerAddressByClientCIDRs), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("serverAddressByClientCIDRs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.ServerAddressByClientCIDRs == nil { - r.EncodeNil() - } else { - yym21 := z.EncBinary() - _ = yym21 - if false { - } else { - h.encSliceServerAddressByClientCIDR(([]ServerAddressByClientCIDR)(x.ServerAddressByClientCIDRs), e) - } - } - } - if yyr18 || yy2arr18 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq18[1] { - if x.SecretRef == nil { - r.EncodeNil() - } else { - x.SecretRef.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq18[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("secretRef")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.SecretRef == nil { - r.EncodeNil() - } else { - x.SecretRef.CodecEncodeSelf(e) - } - } - } - if yyr18 || yy2arr18 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ClusterSpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym23 := z.DecBinary() - _ = yym23 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct24 := r.ContainerType() - if yyct24 == codecSelferValueTypeMap1234 { - yyl24 := r.ReadMapStart() - if yyl24 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl24, d) - } - } else if yyct24 == codecSelferValueTypeArray1234 { - yyl24 := r.ReadArrayStart() - if yyl24 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl24, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ClusterSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys25Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys25Slc - var yyhl25 bool = l >= 0 - for yyj25 := 0; ; yyj25++ { - if yyhl25 { - if yyj25 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys25Slc = r.DecodeBytes(yys25Slc, true, true) - yys25 := string(yys25Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys25 { - case "serverAddressByClientCIDRs": - if r.TryDecodeAsNil() { - x.ServerAddressByClientCIDRs = nil - } else { - yyv26 := &x.ServerAddressByClientCIDRs - yym27 := z.DecBinary() - _ = yym27 - if false { - } else { - h.decSliceServerAddressByClientCIDR((*[]ServerAddressByClientCIDR)(yyv26), d) - } - } - case "secretRef": - if r.TryDecodeAsNil() { - if x.SecretRef != nil { - x.SecretRef = nil - } - } else { - if x.SecretRef == nil { - x.SecretRef = new(pkg1_v1.LocalObjectReference) - } - x.SecretRef.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys25) - } // end switch yys25 - } // end for yyj25 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ClusterSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj29 int - var yyb29 bool - var yyhl29 bool = l >= 0 - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l - } else { - yyb29 = r.CheckBreak() - } - if yyb29 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ServerAddressByClientCIDRs = nil - } else { - yyv30 := &x.ServerAddressByClientCIDRs - yym31 := z.DecBinary() - _ = yym31 - if false { - } else { - h.decSliceServerAddressByClientCIDR((*[]ServerAddressByClientCIDR)(yyv30), d) - } - } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l - } else { - yyb29 = r.CheckBreak() - } - if yyb29 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.SecretRef != nil { - x.SecretRef = nil - } - } else { - if x.SecretRef == nil { - x.SecretRef = new(pkg1_v1.LocalObjectReference) - } - x.SecretRef.CodecDecodeSelf(d) - } - for { - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l - } else { - yyb29 = r.CheckBreak() - } - if yyb29 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj29-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x ClusterConditionType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym33 := z.EncBinary() - _ = yym33 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *ClusterConditionType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym34 := z.DecBinary() - _ = yym34 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *ClusterCondition) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym35 := z.EncBinary() - _ = yym35 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep36 := !z.EncBinary() - yy2arr36 := z.EncBasicHandle().StructToArray - var yyq36 [6]bool - _, _, _ = yysep36, yyq36, yy2arr36 - const yyr36 bool = false - yyq36[2] = true - yyq36[3] = true - yyq36[4] = x.Reason != "" - yyq36[5] = x.Message != "" - var yynn36 int - if yyr36 || yy2arr36 { - r.EncodeArrayStart(6) - } else { - yynn36 = 2 - for _, b := range yyq36 { - if b { - yynn36++ - } - } - r.EncodeMapStart(yynn36) - yynn36 = 0 - } - if yyr36 || yy2arr36 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Type.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("type")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Type.CodecEncodeSelf(e) - } - if yyr36 || yy2arr36 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym39 := z.EncBinary() - _ = yym39 - if false { - } else if z.HasExtensions() && z.EncExt(x.Status) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Status)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym40 := z.EncBinary() - _ = yym40 - if false { - } else if z.HasExtensions() && z.EncExt(x.Status) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Status)) - } - } - if yyr36 || yy2arr36 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq36[2] { - yy42 := &x.LastProbeTime - yym43 := z.EncBinary() - _ = yym43 - if false { - } else if z.HasExtensions() && z.EncExt(yy42) { - } else if yym43 { - z.EncBinaryMarshal(yy42) - } else if !yym43 && z.IsJSONHandle() { - z.EncJSONMarshal(yy42) - } else { - z.EncFallback(yy42) - } - } else { - r.EncodeNil() - } - } else { - if yyq36[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy44 := &x.LastProbeTime - yym45 := z.EncBinary() - _ = yym45 - if false { - } else if z.HasExtensions() && z.EncExt(yy44) { - } else if yym45 { - z.EncBinaryMarshal(yy44) - } else if !yym45 && z.IsJSONHandle() { - z.EncJSONMarshal(yy44) - } else { - z.EncFallback(yy44) - } - } - } - if yyr36 || yy2arr36 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq36[3] { - yy47 := &x.LastTransitionTime - yym48 := z.EncBinary() - _ = yym48 - if false { - } else if z.HasExtensions() && z.EncExt(yy47) { - } else if yym48 { - z.EncBinaryMarshal(yy47) - } else if !yym48 && z.IsJSONHandle() { - z.EncJSONMarshal(yy47) - } else { - z.EncFallback(yy47) - } - } else { - r.EncodeNil() - } - } else { - if yyq36[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy49 := &x.LastTransitionTime - yym50 := z.EncBinary() - _ = yym50 - if false { - } else if z.HasExtensions() && z.EncExt(yy49) { - } else if yym50 { - z.EncBinaryMarshal(yy49) - } else if !yym50 && z.IsJSONHandle() { - z.EncJSONMarshal(yy49) - } else { - z.EncFallback(yy49) - } - } - } - if yyr36 || yy2arr36 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq36[4] { - yym52 := z.EncBinary() - _ = yym52 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq36[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym53 := z.EncBinary() - _ = yym53 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } - } - if yyr36 || yy2arr36 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq36[5] { - yym55 := z.EncBinary() - _ = yym55 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq36[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("message")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym56 := z.EncBinary() - _ = yym56 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } - } - if yyr36 || yy2arr36 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ClusterCondition) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym57 := z.DecBinary() - _ = yym57 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct58 := r.ContainerType() - if yyct58 == codecSelferValueTypeMap1234 { - yyl58 := r.ReadMapStart() - if yyl58 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl58, d) - } - } else if yyct58 == codecSelferValueTypeArray1234 { - yyl58 := r.ReadArrayStart() - if yyl58 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl58, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ClusterCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys59Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys59Slc - var yyhl59 bool = l >= 0 - for yyj59 := 0; ; yyj59++ { - if yyhl59 { - if yyj59 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys59Slc = r.DecodeBytes(yys59Slc, true, true) - yys59 := string(yys59Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys59 { - case "type": - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = ClusterConditionType(r.DecodeString()) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = "" - } else { - x.Status = pkg1_v1.ConditionStatus(r.DecodeString()) - } - case "lastProbeTime": - if r.TryDecodeAsNil() { - x.LastProbeTime = pkg2_v1.Time{} - } else { - yyv62 := &x.LastProbeTime - yym63 := z.DecBinary() - _ = yym63 - if false { - } else if z.HasExtensions() && z.DecExt(yyv62) { - } else if yym63 { - z.DecBinaryUnmarshal(yyv62) - } else if !yym63 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv62) - } else { - z.DecFallback(yyv62, false) - } - } - case "lastTransitionTime": - if r.TryDecodeAsNil() { - x.LastTransitionTime = pkg2_v1.Time{} - } else { - yyv64 := &x.LastTransitionTime - yym65 := z.DecBinary() - _ = yym65 - if false { - } else if z.HasExtensions() && z.DecExt(yyv64) { - } else if yym65 { - z.DecBinaryUnmarshal(yyv64) - } else if !yym65 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv64) - } else { - z.DecFallback(yyv64, false) - } - } - case "reason": - if r.TryDecodeAsNil() { - x.Reason = "" - } else { - x.Reason = string(r.DecodeString()) - } - case "message": - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys59) - } // end switch yys59 - } // end for yyj59 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj68 int - var yyb68 bool - var yyhl68 bool = l >= 0 - yyj68++ - if yyhl68 { - yyb68 = yyj68 > l - } else { - yyb68 = r.CheckBreak() - } - if yyb68 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = ClusterConditionType(r.DecodeString()) - } - yyj68++ - if yyhl68 { - yyb68 = yyj68 > l - } else { - yyb68 = r.CheckBreak() - } - if yyb68 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = "" - } else { - x.Status = pkg1_v1.ConditionStatus(r.DecodeString()) - } - yyj68++ - if yyhl68 { - yyb68 = yyj68 > l - } else { - yyb68 = r.CheckBreak() - } - if yyb68 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LastProbeTime = pkg2_v1.Time{} - } else { - yyv71 := &x.LastProbeTime - yym72 := z.DecBinary() - _ = yym72 - if false { - } else if z.HasExtensions() && z.DecExt(yyv71) { - } else if yym72 { - z.DecBinaryUnmarshal(yyv71) - } else if !yym72 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv71) - } else { - z.DecFallback(yyv71, false) - } - } - yyj68++ - if yyhl68 { - yyb68 = yyj68 > l - } else { - yyb68 = r.CheckBreak() - } - if yyb68 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LastTransitionTime = pkg2_v1.Time{} - } else { - yyv73 := &x.LastTransitionTime - yym74 := z.DecBinary() - _ = yym74 - if false { - } else if z.HasExtensions() && z.DecExt(yyv73) { - } else if yym74 { - z.DecBinaryUnmarshal(yyv73) - } else if !yym74 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv73) - } else { - z.DecFallback(yyv73, false) - } - } - yyj68++ - if yyhl68 { - yyb68 = yyj68 > l - } else { - yyb68 = r.CheckBreak() - } - if yyb68 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Reason = "" - } else { - x.Reason = string(r.DecodeString()) - } - yyj68++ - if yyhl68 { - yyb68 = yyj68 > l - } else { - yyb68 = r.CheckBreak() - } - if yyb68 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - for { - yyj68++ - if yyhl68 { - yyb68 = yyj68 > l - } else { - yyb68 = r.CheckBreak() - } - if yyb68 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj68-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -1000,40 +1042,40 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym77 := z.EncBinary() - _ = yym77 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep78 := !z.EncBinary() - yy2arr78 := z.EncBasicHandle().StructToArray - var yyq78 [3]bool - _, _, _ = yysep78, yyq78, yy2arr78 - const yyr78 bool = false - yyq78[0] = len(x.Conditions) != 0 - yyq78[1] = len(x.Zones) != 0 - yyq78[2] = x.Region != "" - var yynn78 int - if yyr78 || yy2arr78 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [3]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = len(x.Conditions) != 0 + yyq2[1] = len(x.Zones) != 0 + yyq2[2] = x.Region != "" + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(3) } else { - yynn78 = 0 - for _, b := range yyq78 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn78++ + yynn2++ } } - r.EncodeMapStart(yynn78) - yynn78 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr78 || yy2arr78 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq78[0] { + if yyq2[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym80 := z.EncBinary() - _ = yym80 + yym4 := z.EncBinary() + _ = yym4 if false { } else { h.encSliceClusterCondition(([]ClusterCondition)(x.Conditions), e) @@ -1043,15 +1085,15 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq78[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym81 := z.EncBinary() - _ = yym81 + yym5 := z.EncBinary() + _ = yym5 if false { } else { h.encSliceClusterCondition(([]ClusterCondition)(x.Conditions), e) @@ -1059,14 +1101,14 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr78 || yy2arr78 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq78[1] { + if yyq2[1] { if x.Zones == nil { r.EncodeNil() } else { - yym83 := z.EncBinary() - _ = yym83 + yym7 := z.EncBinary() + _ = yym7 if false { } else { z.F.EncSliceStringV(x.Zones, false, e) @@ -1076,15 +1118,15 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq78[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("zones")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Zones == nil { r.EncodeNil() } else { - yym84 := z.EncBinary() - _ = yym84 + yym8 := z.EncBinary() + _ = yym8 if false { } else { z.F.EncSliceStringV(x.Zones, false, e) @@ -1092,11 +1134,11 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr78 || yy2arr78 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq78[2] { - yym86 := z.EncBinary() - _ = yym86 + if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Region)) @@ -1105,19 +1147,19 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq78[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("region")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym87 := z.EncBinary() - _ = yym87 + yym11 := z.EncBinary() + _ = yym11 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Region)) } } } - if yyr78 || yy2arr78 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1130,25 +1172,25 @@ func (x *ClusterStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym88 := z.DecBinary() - _ = yym88 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct89 := r.ContainerType() - if yyct89 == codecSelferValueTypeMap1234 { - yyl89 := r.ReadMapStart() - if yyl89 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl89, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct89 == codecSelferValueTypeArray1234 { - yyl89 := r.ReadArrayStart() - if yyl89 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl89, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1160,12 +1202,12 @@ func (x *ClusterStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys90Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys90Slc - var yyhl90 bool = l >= 0 - for yyj90 := 0; ; yyj90++ { - if yyhl90 { - if yyj90 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1174,44 +1216,50 @@ func (x *ClusterStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys90Slc = r.DecodeBytes(yys90Slc, true, true) - yys90 := string(yys90Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys90 { + switch yys3 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv91 := &x.Conditions - yym92 := z.DecBinary() - _ = yym92 + yyv4 := &x.Conditions + yym5 := z.DecBinary() + _ = yym5 if false { } else { - h.decSliceClusterCondition((*[]ClusterCondition)(yyv91), d) + h.decSliceClusterCondition((*[]ClusterCondition)(yyv4), d) } } case "zones": if r.TryDecodeAsNil() { x.Zones = nil } else { - yyv93 := &x.Zones - yym94 := z.DecBinary() - _ = yym94 + yyv6 := &x.Zones + yym7 := z.DecBinary() + _ = yym7 if false { } else { - z.F.DecSliceStringX(yyv93, false, d) + z.F.DecSliceStringX(yyv6, false, d) } } case "region": if r.TryDecodeAsNil() { x.Region = "" } else { - x.Region = string(r.DecodeString()) + yyv8 := &x.Region + yym9 := z.DecBinary() + _ = yym9 + if false { + } else { + *((*string)(yyv8)) = r.DecodeString() + } } default: - z.DecStructFieldNotFound(-1, yys90) - } // end switch yys90 - } // end for yyj90 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1219,16 +1267,16 @@ func (x *ClusterStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj96 int - var yyb96 bool - var yyhl96 bool = l >= 0 - yyj96++ - if yyhl96 { - yyb96 = yyj96 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb96 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb96 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1236,21 +1284,21 @@ func (x *ClusterStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv97 := &x.Conditions - yym98 := z.DecBinary() - _ = yym98 + yyv11 := &x.Conditions + yym12 := z.DecBinary() + _ = yym12 if false { } else { - h.decSliceClusterCondition((*[]ClusterCondition)(yyv97), d) + h.decSliceClusterCondition((*[]ClusterCondition)(yyv11), d) } } - yyj96++ - if yyhl96 { - yyb96 = yyj96 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb96 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb96 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1258,21 +1306,21 @@ func (x *ClusterStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Zones = nil } else { - yyv99 := &x.Zones - yym100 := z.DecBinary() - _ = yym100 + yyv13 := &x.Zones + yym14 := z.DecBinary() + _ = yym14 if false { } else { - z.F.DecSliceStringX(yyv99, false, d) + z.F.DecSliceStringX(yyv13, false, d) } } - yyj96++ - if yyhl96 { - yyb96 = yyj96 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb96 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb96 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1280,20 +1328,26 @@ func (x *ClusterStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Region = "" } else { - x.Region = string(r.DecodeString()) + yyv15 := &x.Region + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } for { - yyj96++ - if yyhl96 { - yyb96 = yyj96 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb96 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb96 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj96-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1305,39 +1359,39 @@ func (x *Cluster) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym102 := z.EncBinary() - _ = yym102 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep103 := !z.EncBinary() - yy2arr103 := z.EncBasicHandle().StructToArray - var yyq103 [5]bool - _, _, _ = yysep103, yyq103, yy2arr103 - const yyr103 bool = false - yyq103[0] = x.Kind != "" - yyq103[1] = x.APIVersion != "" - yyq103[2] = true - yyq103[3] = true - yyq103[4] = true - var yynn103 int - if yyr103 || yy2arr103 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [5]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + yyq2[3] = true + yyq2[4] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(5) } else { - yynn103 = 0 - for _, b := range yyq103 { + yynn2 = 0 + for _, b := range yyq2 { if b { - yynn103++ + yynn2++ } } - r.EncodeMapStart(yynn103) - yynn103 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr103 || yy2arr103 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq103[0] { - yym105 := z.EncBinary() - _ = yym105 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1346,23 +1400,23 @@ func (x *Cluster) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq103[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym106 := z.EncBinary() - _ = yym106 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr103 || yy2arr103 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq103[1] { - yym108 := z.EncBinary() - _ = yym108 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1371,70 +1425,70 @@ func (x *Cluster) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq103[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym109 := z.EncBinary() - _ = yym109 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr103 || yy2arr103 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq103[2] { - yy111 := &x.ObjectMeta - yy111.CodecEncodeSelf(e) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq103[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy112 := &x.ObjectMeta - yy112.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yy12.CodecEncodeSelf(e) } } - if yyr103 || yy2arr103 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq103[3] { - yy114 := &x.Spec - yy114.CodecEncodeSelf(e) + if yyq2[3] { + yy15 := &x.Spec + yy15.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq103[3] { + if yyq2[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy115 := &x.Spec - yy115.CodecEncodeSelf(e) + yy17 := &x.Spec + yy17.CodecEncodeSelf(e) } } - if yyr103 || yy2arr103 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq103[4] { - yy117 := &x.Status - yy117.CodecEncodeSelf(e) + if yyq2[4] { + yy20 := &x.Status + yy20.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq103[4] { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy118 := &x.Status - yy118.CodecEncodeSelf(e) + yy22 := &x.Status + yy22.CodecEncodeSelf(e) } } - if yyr103 || yy2arr103 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1447,25 +1501,25 @@ func (x *Cluster) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym119 := z.DecBinary() - _ = yym119 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct120 := r.ContainerType() - if yyct120 == codecSelferValueTypeMap1234 { - yyl120 := r.ReadMapStart() - if yyl120 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl120, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct120 == codecSelferValueTypeArray1234 { - yyl120 := r.ReadArrayStart() - if yyl120 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl120, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1477,12 +1531,12 @@ func (x *Cluster) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys121Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys121Slc - var yyhl121 bool = l >= 0 - for yyj121 := 0; ; yyj121++ { - if yyhl121 { - if yyj121 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1491,47 +1545,59 @@ func (x *Cluster) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys121Slc = r.DecodeBytes(yys121Slc, true, true) - yys121 := string(yys121Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys121 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg1_v1.ObjectMeta{} } else { - yyv124 := &x.ObjectMeta - yyv124.CodecDecodeSelf(d) + yyv8 := &x.ObjectMeta + yyv8.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ClusterSpec{} } else { - yyv125 := &x.Spec - yyv125.CodecDecodeSelf(d) + yyv9 := &x.Spec + yyv9.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ClusterStatus{} } else { - yyv126 := &x.Status - yyv126.CodecDecodeSelf(d) + yyv10 := &x.Status + yyv10.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys121) - } // end switch yys121 - } // end for yyj121 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1539,16 +1605,16 @@ func (x *Cluster) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj127 int - var yyb127 bool - var yyhl127 bool = l >= 0 - yyj127++ - if yyhl127 { - yyb127 = yyj127 > l + var yyj11 int + var yyb11 bool + var yyhl11 bool = l >= 0 + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb127 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb127 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1556,15 +1622,21 @@ func (x *Cluster) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv12 := &x.Kind + yym13 := z.DecBinary() + _ = yym13 + if false { + } else { + *((*string)(yyv12)) = r.DecodeString() + } } - yyj127++ - if yyhl127 { - yyb127 = yyj127 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb127 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb127 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1572,15 +1644,21 @@ func (x *Cluster) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv14 := &x.APIVersion + yym15 := z.DecBinary() + _ = yym15 + if false { + } else { + *((*string)(yyv14)) = r.DecodeString() + } } - yyj127++ - if yyhl127 { - yyb127 = yyj127 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb127 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb127 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1588,16 +1666,16 @@ func (x *Cluster) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg1_v1.ObjectMeta{} } else { - yyv130 := &x.ObjectMeta - yyv130.CodecDecodeSelf(d) + yyv16 := &x.ObjectMeta + yyv16.CodecDecodeSelf(d) } - yyj127++ - if yyhl127 { - yyb127 = yyj127 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb127 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb127 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1605,16 +1683,16 @@ func (x *Cluster) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ClusterSpec{} } else { - yyv131 := &x.Spec - yyv131.CodecDecodeSelf(d) + yyv17 := &x.Spec + yyv17.CodecDecodeSelf(d) } - yyj127++ - if yyhl127 { - yyb127 = yyj127 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb127 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb127 { + if yyb11 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1622,21 +1700,21 @@ func (x *Cluster) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ClusterStatus{} } else { - yyv132 := &x.Status - yyv132.CodecDecodeSelf(d) + yyv18 := &x.Status + yyv18.CodecDecodeSelf(d) } for { - yyj127++ - if yyhl127 { - yyb127 = yyj127 > l + yyj11++ + if yyhl11 { + yyb11 = yyj11 > l } else { - yyb127 = r.CheckBreak() + yyb11 = r.CheckBreak() } - if yyb127 { + if yyb11 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj127-1, "") + z.DecStructFieldNotFound(yyj11-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1648,37 +1726,37 @@ func (x *ClusterList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym133 := z.EncBinary() - _ = yym133 + yym1 := z.EncBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep134 := !z.EncBinary() - yy2arr134 := z.EncBasicHandle().StructToArray - var yyq134 [4]bool - _, _, _ = yysep134, yyq134, yy2arr134 - const yyr134 bool = false - yyq134[0] = x.Kind != "" - yyq134[1] = x.APIVersion != "" - yyq134[2] = true - var yynn134 int - if yyr134 || yy2arr134 { + yysep2 := !z.EncBinary() + yy2arr2 := z.EncBasicHandle().StructToArray + var yyq2 [4]bool + _, _, _ = yysep2, yyq2, yy2arr2 + const yyr2 bool = false + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = true + var yynn2 int + if yyr2 || yy2arr2 { r.EncodeArrayStart(4) } else { - yynn134 = 1 - for _, b := range yyq134 { + yynn2 = 1 + for _, b := range yyq2 { if b { - yynn134++ + yynn2++ } } - r.EncodeMapStart(yynn134) - yynn134 = 0 + r.EncodeMapStart(yynn2) + yynn2 = 0 } - if yyr134 || yy2arr134 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq134[0] { - yym136 := z.EncBinary() - _ = yym136 + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1687,23 +1765,23 @@ func (x *ClusterList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq134[0] { + if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym137 := z.EncBinary() - _ = yym137 + yym5 := z.EncBinary() + _ = yym5 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr134 || yy2arr134 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq134[1] { - yym139 := z.EncBinary() - _ = yym139 + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1712,54 +1790,54 @@ func (x *ClusterList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq134[1] { + if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym140 := z.EncBinary() - _ = yym140 + yym8 := z.EncBinary() + _ = yym8 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr134 || yy2arr134 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq134[2] { - yy142 := &x.ListMeta - yym143 := z.EncBinary() - _ = yym143 + if yyq2[2] { + yy10 := &x.ListMeta + yym11 := z.EncBinary() + _ = yym11 if false { - } else if z.HasExtensions() && z.EncExt(yy142) { + } else if z.HasExtensions() && z.EncExt(yy10) { } else { - z.EncFallback(yy142) + z.EncFallback(yy10) } } else { r.EncodeNil() } } else { - if yyq134[2] { + if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy144 := &x.ListMeta - yym145 := z.EncBinary() - _ = yym145 + yy12 := &x.ListMeta + yym13 := z.EncBinary() + _ = yym13 if false { - } else if z.HasExtensions() && z.EncExt(yy144) { + } else if z.HasExtensions() && z.EncExt(yy12) { } else { - z.EncFallback(yy144) + z.EncFallback(yy12) } } } - if yyr134 || yy2arr134 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym147 := z.EncBinary() - _ = yym147 + yym15 := z.EncBinary() + _ = yym15 if false { } else { h.encSliceCluster(([]Cluster)(x.Items), e) @@ -1772,15 +1850,15 @@ func (x *ClusterList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym148 := z.EncBinary() - _ = yym148 + yym16 := z.EncBinary() + _ = yym16 if false { } else { h.encSliceCluster(([]Cluster)(x.Items), e) } } } - if yyr134 || yy2arr134 { + if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1793,25 +1871,25 @@ func (x *ClusterList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym149 := z.DecBinary() - _ = yym149 + yym1 := z.DecBinary() + _ = yym1 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct150 := r.ContainerType() - if yyct150 == codecSelferValueTypeMap1234 { - yyl150 := r.ReadMapStart() - if yyl150 == 0 { + yyct2 := r.ContainerType() + if yyct2 == codecSelferValueTypeMap1234 { + yyl2 := r.ReadMapStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl150, d) + x.codecDecodeSelfFromMap(yyl2, d) } - } else if yyct150 == codecSelferValueTypeArray1234 { - yyl150 := r.ReadArrayStart() - if yyl150 == 0 { + } else if yyct2 == codecSelferValueTypeArray1234 { + yyl2 := r.ReadArrayStart() + if yyl2 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl150, d) + x.codecDecodeSelfFromArray(yyl2, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1823,12 +1901,12 @@ func (x *ClusterList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys151Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys151Slc - var yyhl151 bool = l >= 0 - for yyj151 := 0; ; yyj151++ { - if yyhl151 { - if yyj151 >= l { + var yys3Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3Slc + var yyhl3 bool = l >= 0 + for yyj3 := 0; ; yyj3++ { + if yyhl3 { + if yyj3 >= l { break } } else { @@ -1837,51 +1915,63 @@ func (x *ClusterList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys151Slc = r.DecodeBytes(yys151Slc, true, true) - yys151 := string(yys151Slc) + yys3Slc = r.DecodeBytes(yys3Slc, true, true) + yys3 := string(yys3Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys151 { + switch yys3 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv4 := &x.Kind + yym5 := z.DecBinary() + _ = yym5 + if false { + } else { + *((*string)(yyv4)) = r.DecodeString() + } } case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv6 := &x.APIVersion + yym7 := z.DecBinary() + _ = yym7 + if false { + } else { + *((*string)(yyv6)) = r.DecodeString() + } } case "metadata": if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv154 := &x.ListMeta - yym155 := z.DecBinary() - _ = yym155 + yyv8 := &x.ListMeta + yym9 := z.DecBinary() + _ = yym9 if false { - } else if z.HasExtensions() && z.DecExt(yyv154) { + } else if z.HasExtensions() && z.DecExt(yyv8) { } else { - z.DecFallback(yyv154, false) + z.DecFallback(yyv8, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv156 := &x.Items - yym157 := z.DecBinary() - _ = yym157 + yyv10 := &x.Items + yym11 := z.DecBinary() + _ = yym11 if false { } else { - h.decSliceCluster((*[]Cluster)(yyv156), d) + h.decSliceCluster((*[]Cluster)(yyv10), d) } } default: - z.DecStructFieldNotFound(-1, yys151) - } // end switch yys151 - } // end for yyj151 + z.DecStructFieldNotFound(-1, yys3) + } // end switch yys3 + } // end for yyj3 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1889,16 +1979,16 @@ func (x *ClusterList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj158 int - var yyb158 bool - var yyhl158 bool = l >= 0 - yyj158++ - if yyhl158 { - yyb158 = yyj158 > l + var yyj12 int + var yyb12 bool + var yyhl12 bool = l >= 0 + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb158 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb158 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1906,15 +1996,21 @@ func (x *ClusterList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Kind = "" } else { - x.Kind = string(r.DecodeString()) + yyv13 := &x.Kind + yym14 := z.DecBinary() + _ = yym14 + if false { + } else { + *((*string)(yyv13)) = r.DecodeString() + } } - yyj158++ - if yyhl158 { - yyb158 = yyj158 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb158 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb158 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1922,15 +2018,21 @@ func (x *ClusterList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIVersion = "" } else { - x.APIVersion = string(r.DecodeString()) + yyv15 := &x.APIVersion + yym16 := z.DecBinary() + _ = yym16 + if false { + } else { + *((*string)(yyv15)) = r.DecodeString() + } } - yyj158++ - if yyhl158 { - yyb158 = yyj158 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb158 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb158 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1938,22 +2040,22 @@ func (x *ClusterList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_v1.ListMeta{} } else { - yyv161 := &x.ListMeta - yym162 := z.DecBinary() - _ = yym162 + yyv17 := &x.ListMeta + yym18 := z.DecBinary() + _ = yym18 if false { - } else if z.HasExtensions() && z.DecExt(yyv161) { + } else if z.HasExtensions() && z.DecExt(yyv17) { } else { - z.DecFallback(yyv161, false) + z.DecFallback(yyv17, false) } } - yyj158++ - if yyhl158 { - yyb158 = yyj158 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb158 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb158 { + if yyb12 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1961,26 +2063,26 @@ func (x *ClusterList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv163 := &x.Items - yym164 := z.DecBinary() - _ = yym164 + yyv19 := &x.Items + yym20 := z.DecBinary() + _ = yym20 if false { } else { - h.decSliceCluster((*[]Cluster)(yyv163), d) + h.decSliceCluster((*[]Cluster)(yyv19), d) } } for { - yyj158++ - if yyhl158 { - yyb158 = yyj158 > l + yyj12++ + if yyhl12 { + yyb12 = yyj12 > l } else { - yyb158 = r.CheckBreak() + yyb12 = r.CheckBreak() } - if yyb158 { + if yyb12 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj158-1, "") + z.DecStructFieldNotFound(yyj12-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1990,10 +2092,10 @@ func (x codecSelfer1234) encSliceServerAddressByClientCIDR(v []ServerAddressByCl z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv165 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy166 := &yyv165 - yy166.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2003,83 +2105,86 @@ func (x codecSelfer1234) decSliceServerAddressByClientCIDR(v *[]ServerAddressByC z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv167 := *v - yyh167, yyl167 := z.DecSliceHelperStart() - var yyc167 bool - if yyl167 == 0 { - if yyv167 == nil { - yyv167 = []ServerAddressByClientCIDR{} - yyc167 = true - } else if len(yyv167) != 0 { - yyv167 = yyv167[:0] - yyc167 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ServerAddressByClientCIDR{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl167 > 0 { - var yyrr167, yyrl167 int - var yyrt167 bool - if yyl167 > cap(yyv167) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg167 := len(yyv167) > 0 - yyv2167 := yyv167 - yyrl167, yyrt167 = z.DecInferLen(yyl167, z.DecBasicHandle().MaxInitLen, 32) - if yyrt167 { - if yyrl167 <= cap(yyv167) { - yyv167 = yyv167[:yyrl167] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv167 = make([]ServerAddressByClientCIDR, yyrl167) + yyv1 = make([]ServerAddressByClientCIDR, yyrl1) } } else { - yyv167 = make([]ServerAddressByClientCIDR, yyrl167) + yyv1 = make([]ServerAddressByClientCIDR, yyrl1) } - yyc167 = true - yyrr167 = len(yyv167) - if yyrg167 { - copy(yyv167, yyv2167) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl167 != len(yyv167) { - yyv167 = yyv167[:yyl167] - yyc167 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj167 := 0 - for ; yyj167 < yyrr167; yyj167++ { - yyh167.ElemContainerState(yyj167) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv167[yyj167] = ServerAddressByClientCIDR{} + yyv1[yyj1] = ServerAddressByClientCIDR{} } else { - yyv168 := &yyv167[yyj167] - yyv168.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt167 { - for ; yyj167 < yyl167; yyj167++ { - yyv167 = append(yyv167, ServerAddressByClientCIDR{}) - yyh167.ElemContainerState(yyj167) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ServerAddressByClientCIDR{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv167[yyj167] = ServerAddressByClientCIDR{} + yyv1[yyj1] = ServerAddressByClientCIDR{} } else { - yyv169 := &yyv167[yyj167] - yyv169.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj167 := 0 - for ; !r.CheckBreak(); yyj167++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj167 >= len(yyv167) { - yyv167 = append(yyv167, ServerAddressByClientCIDR{}) // var yyz167 ServerAddressByClientCIDR - yyc167 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ServerAddressByClientCIDR{}) // var yyz1 ServerAddressByClientCIDR + yyc1 = true } - yyh167.ElemContainerState(yyj167) - if yyj167 < len(yyv167) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv167[yyj167] = ServerAddressByClientCIDR{} + yyv1[yyj1] = ServerAddressByClientCIDR{} } else { - yyv170 := &yyv167[yyj167] - yyv170.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -2087,17 +2192,17 @@ func (x codecSelfer1234) decSliceServerAddressByClientCIDR(v *[]ServerAddressByC } } - if yyj167 < len(yyv167) { - yyv167 = yyv167[:yyj167] - yyc167 = true - } else if yyj167 == 0 && yyv167 == nil { - yyv167 = []ServerAddressByClientCIDR{} - yyc167 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ServerAddressByClientCIDR{} + yyc1 = true } } - yyh167.End() - if yyc167 { - *v = yyv167 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -2106,10 +2211,10 @@ func (x codecSelfer1234) encSliceClusterCondition(v []ClusterCondition, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv171 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy172 := &yyv171 - yy172.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2119,83 +2224,86 @@ func (x codecSelfer1234) decSliceClusterCondition(v *[]ClusterCondition, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv173 := *v - yyh173, yyl173 := z.DecSliceHelperStart() - var yyc173 bool - if yyl173 == 0 { - if yyv173 == nil { - yyv173 = []ClusterCondition{} - yyc173 = true - } else if len(yyv173) != 0 { - yyv173 = yyv173[:0] - yyc173 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []ClusterCondition{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl173 > 0 { - var yyrr173, yyrl173 int - var yyrt173 bool - if yyl173 > cap(yyv173) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg173 := len(yyv173) > 0 - yyv2173 := yyv173 - yyrl173, yyrt173 = z.DecInferLen(yyl173, z.DecBasicHandle().MaxInitLen, 112) - if yyrt173 { - if yyrl173 <= cap(yyv173) { - yyv173 = yyv173[:yyrl173] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv173 = make([]ClusterCondition, yyrl173) + yyv1 = make([]ClusterCondition, yyrl1) } } else { - yyv173 = make([]ClusterCondition, yyrl173) + yyv1 = make([]ClusterCondition, yyrl1) } - yyc173 = true - yyrr173 = len(yyv173) - if yyrg173 { - copy(yyv173, yyv2173) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl173 != len(yyv173) { - yyv173 = yyv173[:yyl173] - yyc173 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj173 := 0 - for ; yyj173 < yyrr173; yyj173++ { - yyh173.ElemContainerState(yyj173) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv173[yyj173] = ClusterCondition{} + yyv1[yyj1] = ClusterCondition{} } else { - yyv174 := &yyv173[yyj173] - yyv174.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt173 { - for ; yyj173 < yyl173; yyj173++ { - yyv173 = append(yyv173, ClusterCondition{}) - yyh173.ElemContainerState(yyj173) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, ClusterCondition{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv173[yyj173] = ClusterCondition{} + yyv1[yyj1] = ClusterCondition{} } else { - yyv175 := &yyv173[yyj173] - yyv175.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj173 := 0 - for ; !r.CheckBreak(); yyj173++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj173 >= len(yyv173) { - yyv173 = append(yyv173, ClusterCondition{}) // var yyz173 ClusterCondition - yyc173 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, ClusterCondition{}) // var yyz1 ClusterCondition + yyc1 = true } - yyh173.ElemContainerState(yyj173) - if yyj173 < len(yyv173) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv173[yyj173] = ClusterCondition{} + yyv1[yyj1] = ClusterCondition{} } else { - yyv176 := &yyv173[yyj173] - yyv176.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -2203,17 +2311,17 @@ func (x codecSelfer1234) decSliceClusterCondition(v *[]ClusterCondition, d *code } } - if yyj173 < len(yyv173) { - yyv173 = yyv173[:yyj173] - yyc173 = true - } else if yyj173 == 0 && yyv173 == nil { - yyv173 = []ClusterCondition{} - yyc173 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []ClusterCondition{} + yyc1 = true } } - yyh173.End() - if yyc173 { - *v = yyv173 + yyh1.End() + if yyc1 { + *v = yyv1 } } @@ -2222,10 +2330,10 @@ func (x codecSelfer1234) encSliceCluster(v []Cluster, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv177 := range v { + for _, yyv1 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy178 := &yyv177 - yy178.CodecEncodeSelf(e) + yy2 := &yyv1 + yy2.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2235,83 +2343,86 @@ func (x codecSelfer1234) decSliceCluster(v *[]Cluster, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv179 := *v - yyh179, yyl179 := z.DecSliceHelperStart() - var yyc179 bool - if yyl179 == 0 { - if yyv179 == nil { - yyv179 = []Cluster{} - yyc179 = true - } else if len(yyv179) != 0 { - yyv179 = yyv179[:0] - yyc179 = true + yyv1 := *v + yyh1, yyl1 := z.DecSliceHelperStart() + var yyc1 bool + _ = yyc1 + if yyl1 == 0 { + if yyv1 == nil { + yyv1 = []Cluster{} + yyc1 = true + } else if len(yyv1) != 0 { + yyv1 = yyv1[:0] + yyc1 = true } - } else if yyl179 > 0 { - var yyrr179, yyrl179 int - var yyrt179 bool - if yyl179 > cap(yyv179) { + } else if yyl1 > 0 { + var yyrr1, yyrl1 int + var yyrt1 bool + _, _ = yyrl1, yyrt1 + yyrr1 = yyl1 // len(yyv1) + if yyl1 > cap(yyv1) { - yyrg179 := len(yyv179) > 0 - yyv2179 := yyv179 - yyrl179, yyrt179 = z.DecInferLen(yyl179, z.DecBasicHandle().MaxInitLen, 352) - if yyrt179 { - if yyrl179 <= cap(yyv179) { - yyv179 = yyv179[:yyrl179] + yyrg1 := len(yyv1) > 0 + yyv21 := yyv1 + yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 352) + if yyrt1 { + if yyrl1 <= cap(yyv1) { + yyv1 = yyv1[:yyrl1] } else { - yyv179 = make([]Cluster, yyrl179) + yyv1 = make([]Cluster, yyrl1) } } else { - yyv179 = make([]Cluster, yyrl179) + yyv1 = make([]Cluster, yyrl1) } - yyc179 = true - yyrr179 = len(yyv179) - if yyrg179 { - copy(yyv179, yyv2179) + yyc1 = true + yyrr1 = len(yyv1) + if yyrg1 { + copy(yyv1, yyv21) } - } else if yyl179 != len(yyv179) { - yyv179 = yyv179[:yyl179] - yyc179 = true + } else if yyl1 != len(yyv1) { + yyv1 = yyv1[:yyl1] + yyc1 = true } - yyj179 := 0 - for ; yyj179 < yyrr179; yyj179++ { - yyh179.ElemContainerState(yyj179) + yyj1 := 0 + for ; yyj1 < yyrr1; yyj1++ { + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv179[yyj179] = Cluster{} + yyv1[yyj1] = Cluster{} } else { - yyv180 := &yyv179[yyj179] - yyv180.CodecDecodeSelf(d) + yyv2 := &yyv1[yyj1] + yyv2.CodecDecodeSelf(d) } } - if yyrt179 { - for ; yyj179 < yyl179; yyj179++ { - yyv179 = append(yyv179, Cluster{}) - yyh179.ElemContainerState(yyj179) + if yyrt1 { + for ; yyj1 < yyl1; yyj1++ { + yyv1 = append(yyv1, Cluster{}) + yyh1.ElemContainerState(yyj1) if r.TryDecodeAsNil() { - yyv179[yyj179] = Cluster{} + yyv1[yyj1] = Cluster{} } else { - yyv181 := &yyv179[yyj179] - yyv181.CodecDecodeSelf(d) + yyv3 := &yyv1[yyj1] + yyv3.CodecDecodeSelf(d) } } } } else { - yyj179 := 0 - for ; !r.CheckBreak(); yyj179++ { + yyj1 := 0 + for ; !r.CheckBreak(); yyj1++ { - if yyj179 >= len(yyv179) { - yyv179 = append(yyv179, Cluster{}) // var yyz179 Cluster - yyc179 = true + if yyj1 >= len(yyv1) { + yyv1 = append(yyv1, Cluster{}) // var yyz1 Cluster + yyc1 = true } - yyh179.ElemContainerState(yyj179) - if yyj179 < len(yyv179) { + yyh1.ElemContainerState(yyj1) + if yyj1 < len(yyv1) { if r.TryDecodeAsNil() { - yyv179[yyj179] = Cluster{} + yyv1[yyj1] = Cluster{} } else { - yyv182 := &yyv179[yyj179] - yyv182.CodecDecodeSelf(d) + yyv4 := &yyv1[yyj1] + yyv4.CodecDecodeSelf(d) } } else { @@ -2319,16 +2430,16 @@ func (x codecSelfer1234) decSliceCluster(v *[]Cluster, d *codec1978.Decoder) { } } - if yyj179 < len(yyv179) { - yyv179 = yyv179[:yyj179] - yyc179 = true - } else if yyj179 == 0 && yyv179 == nil { - yyv179 = []Cluster{} - yyc179 = true + if yyj1 < len(yyv1) { + yyv1 = yyv1[:yyj1] + yyc1 = true + } else if yyj1 == 0 && yyv1 == nil { + yyv1 = []Cluster{} + yyc1 = true } } - yyh179.End() - if yyc179 { - *v = yyv179 + yyh1.End() + if yyc1 { + *v = yyv1 } } diff --git a/pkg/federation/apis/federation/v1beta1/types.go b/pkg/federation/apis/federation/v1beta1/types.go index 59a73ad0..b59ce232 100644 --- a/pkg/federation/apis/federation/v1beta1/types.go +++ b/pkg/federation/apis/federation/v1beta1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1beta1 import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" ) // ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match. @@ -76,7 +76,7 @@ type ClusterCondition struct { Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` } -// ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally. +// ClusterStatus is information about the current status of a cluster updated by cluster controller periodically. type ClusterStatus struct { // Conditions is an array of current cluster conditions. // +optional diff --git a/pkg/federation/apis/federation/v1beta1/types_swagger_doc_generated.go b/pkg/federation/apis/federation/v1beta1/types_swagger_doc_generated.go index 55985fcb..f4082265 100644 --- a/pkg/federation/apis/federation/v1beta1/types_swagger_doc_generated.go +++ b/pkg/federation/apis/federation/v1beta1/types_swagger_doc_generated.go @@ -73,7 +73,7 @@ func (ClusterSpec) SwaggerDoc() map[string]string { } var map_ClusterStatus = map[string]string{ - "": "ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally.", + "": "ClusterStatus is information about the current status of a cluster updated by cluster controller periodically.", "conditions": "Conditions is an array of current cluster conditions.", "zones": "Zones is the list of availability zones in which the nodes of the cluster exist, e.g. 'us-east1-a'. These will always be in the same region.", "region": "Region is the name of the region in which all of the nodes in the cluster exist. e.g. 'us-east1'.", diff --git a/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go b/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go index e6f32616..8774ac10 100644 --- a/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go +++ b/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ limitations under the License. package v1beta1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" v1 "k8s.io/client-go/pkg/api/v1" - conversion "k8s.io/client-go/pkg/conversion" federation "k8s.io/client-go/pkg/federation/apis/federation" - runtime "k8s.io/client-go/pkg/runtime" unsafe "unsafe" ) diff --git a/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go b/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go index 16b06a16..3cbe8032 100644 --- a/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go +++ b/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package v1beta1 import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" v1 "k8s.io/client-go/pkg/api/v1" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -48,7 +48,7 @@ func DeepCopy_v1beta1_Cluster(in interface{}, out interface{}, c *conversion.Clo { in := in.(*Cluster) out := out.(*Cluster) - out.TypeMeta = in.TypeMeta + *out = *in if err := v1.DeepCopy_v1_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -66,12 +66,9 @@ func DeepCopy_v1beta1_ClusterCondition(in interface{}, out interface{}, c *conve { in := in.(*ClusterCondition) out := out.(*ClusterCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastProbeTime = in.LastProbeTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -80,8 +77,7 @@ func DeepCopy_v1beta1_ClusterList(in interface{}, out interface{}, c *conversion { in := in.(*ClusterList) out := out.(*ClusterList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Cluster, len(*in)) @@ -90,8 +86,6 @@ func DeepCopy_v1beta1_ClusterList(in interface{}, out interface{}, c *conversion return err } } - } else { - out.Items = nil } return nil } @@ -101,21 +95,18 @@ func DeepCopy_v1beta1_ClusterSpec(in interface{}, out interface{}, c *conversion { in := in.(*ClusterSpec) out := out.(*ClusterSpec) + *out = *in if in.ServerAddressByClientCIDRs != nil { in, out := &in.ServerAddressByClientCIDRs, &out.ServerAddressByClientCIDRs *out = make([]ServerAddressByClientCIDR, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.ServerAddressByClientCIDRs = nil } if in.SecretRef != nil { in, out := &in.SecretRef, &out.SecretRef *out = new(v1.LocalObjectReference) **out = **in - } else { - out.SecretRef = nil } return nil } @@ -125,6 +116,7 @@ func DeepCopy_v1beta1_ClusterStatus(in interface{}, out interface{}, c *conversi { in := in.(*ClusterStatus) out := out.(*ClusterStatus) + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]ClusterCondition, len(*in)) @@ -133,17 +125,12 @@ func DeepCopy_v1beta1_ClusterStatus(in interface{}, out interface{}, c *conversi return err } } - } else { - out.Conditions = nil } if in.Zones != nil { in, out := &in.Zones, &out.Zones *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Zones = nil } - out.Region = in.Region return nil } } @@ -152,8 +139,7 @@ func DeepCopy_v1beta1_ServerAddressByClientCIDR(in interface{}, out interface{}, { in := in.(*ServerAddressByClientCIDR) out := out.(*ServerAddressByClientCIDR) - out.ClientCIDR = in.ClientCIDR - out.ServerAddress = in.ServerAddress + *out = *in return nil } } diff --git a/pkg/federation/apis/federation/v1beta1/zz_generated.defaults.go b/pkg/federation/apis/federation/v1beta1/zz_generated.defaults.go new file mode 100644 index 00000000..e24e70be --- /dev/null +++ b/pkg/federation/apis/federation/v1beta1/zz_generated.defaults.go @@ -0,0 +1,32 @@ +// +build !ignore_autogenerated + +/* +Copyright 2017 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This file was autogenerated by defaulter-gen. Do not edit it manually! + +package v1beta1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// RegisterDefaults adds defaulters functions to the given scheme. +// Public to allow building arbitrary schemes. +// All generated defaulters are covering - they call all nested defaulters. +func RegisterDefaults(scheme *runtime.Scheme) error { + return nil +} diff --git a/pkg/federation/apis/federation/zz_generated.deepcopy.go b/pkg/federation/apis/federation/zz_generated.deepcopy.go index 32e8bc36..7809ff7a 100644 --- a/pkg/federation/apis/federation/zz_generated.deepcopy.go +++ b/pkg/federation/apis/federation/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,9 +21,9 @@ limitations under the License. package federation import ( + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" api "k8s.io/client-go/pkg/api" - conversion "k8s.io/client-go/pkg/conversion" - runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -50,7 +50,7 @@ func DeepCopy_federation_Cluster(in interface{}, out interface{}, c *conversion. { in := in.(*Cluster) out := out.(*Cluster) - out.TypeMeta = in.TypeMeta + *out = *in if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil { return err } @@ -68,12 +68,9 @@ func DeepCopy_federation_ClusterCondition(in interface{}, out interface{}, c *co { in := in.(*ClusterCondition) out := out.(*ClusterCondition) - out.Type = in.Type - out.Status = in.Status + *out = *in out.LastProbeTime = in.LastProbeTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() - out.Reason = in.Reason - out.Message = in.Message return nil } } @@ -82,8 +79,7 @@ func DeepCopy_federation_ClusterList(in interface{}, out interface{}, c *convers { in := in.(*ClusterList) out := out.(*ClusterList) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Cluster, len(*in)) @@ -92,8 +88,6 @@ func DeepCopy_federation_ClusterList(in interface{}, out interface{}, c *convers return err } } - } else { - out.Items = nil } return nil } @@ -103,15 +97,12 @@ func DeepCopy_federation_ClusterReplicaSetPreferences(in interface{}, out interf { in := in.(*ClusterReplicaSetPreferences) out := out.(*ClusterReplicaSetPreferences) - out.MinReplicas = in.MinReplicas + *out = *in if in.MaxReplicas != nil { in, out := &in.MaxReplicas, &out.MaxReplicas *out = new(int64) **out = **in - } else { - out.MaxReplicas = nil } - out.Weight = in.Weight return nil } } @@ -120,21 +111,18 @@ func DeepCopy_federation_ClusterSpec(in interface{}, out interface{}, c *convers { in := in.(*ClusterSpec) out := out.(*ClusterSpec) + *out = *in if in.ServerAddressByClientCIDRs != nil { in, out := &in.ServerAddressByClientCIDRs, &out.ServerAddressByClientCIDRs *out = make([]ServerAddressByClientCIDR, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.ServerAddressByClientCIDRs = nil } if in.SecretRef != nil { in, out := &in.SecretRef, &out.SecretRef *out = new(api.LocalObjectReference) **out = **in - } else { - out.SecretRef = nil } return nil } @@ -144,6 +132,7 @@ func DeepCopy_federation_ClusterStatus(in interface{}, out interface{}, c *conve { in := in.(*ClusterStatus) out := out.(*ClusterStatus) + *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]ClusterCondition, len(*in)) @@ -152,17 +141,12 @@ func DeepCopy_federation_ClusterStatus(in interface{}, out interface{}, c *conve return err } } - } else { - out.Conditions = nil } if in.Zones != nil { in, out := &in.Zones, &out.Zones *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Zones = nil } - out.Region = in.Region return nil } } @@ -171,7 +155,7 @@ func DeepCopy_federation_FederatedReplicaSetPreferences(in interface{}, out inte { in := in.(*FederatedReplicaSetPreferences) out := out.(*FederatedReplicaSetPreferences) - out.Rebalance = in.Rebalance + *out = *in if in.Clusters != nil { in, out := &in.Clusters, &out.Clusters *out = make(map[string]ClusterReplicaSetPreferences) @@ -182,8 +166,6 @@ func DeepCopy_federation_FederatedReplicaSetPreferences(in interface{}, out inte } (*out)[key] = *newVal } - } else { - out.Clusters = nil } return nil } @@ -193,8 +175,7 @@ func DeepCopy_federation_ServerAddressByClientCIDR(in interface{}, out interface { in := in.(*ServerAddressByClientCIDR) out := out.(*ServerAddressByClientCIDR) - out.ClientCIDR = in.ClientCIDR - out.ServerAddress = in.ServerAddress + *out = *in return nil } } diff --git a/pkg/fields/requirements.go b/pkg/fields/requirements.go index fdf81c12..70d94ded 100644 --- a/pkg/fields/requirements.go +++ b/pkg/fields/requirements.go @@ -16,7 +16,7 @@ limitations under the License. package fields -import "k8s.io/client-go/pkg/selection" +import "k8s.io/apimachinery/pkg/selection" // Requirements is AND of all requirements. type Requirements []Requirement diff --git a/pkg/fields/selector.go b/pkg/fields/selector.go index 836e8ba7..3959c032 100644 --- a/pkg/fields/selector.go +++ b/pkg/fields/selector.go @@ -21,7 +21,7 @@ import ( "sort" "strings" - "k8s.io/client-go/pkg/selection" + "k8s.io/apimachinery/pkg/selection" ) // Selector represents a field selector. diff --git a/pkg/kubelet/qos/policy.go b/pkg/kubelet/qos/policy.go index 8f953edf..db355e96 100644 --- a/pkg/kubelet/qos/policy.go +++ b/pkg/kubelet/qos/policy.go @@ -16,14 +16,20 @@ limitations under the License. package qos -import "k8s.io/client-go/pkg/api/v1" +import ( + "k8s.io/client-go/pkg/api/v1" + kubetypes "k8s.io/client-go/pkg/kubelet/types" +) const ( // PodInfraOOMAdj is very docker specific. For arbitrary runtime, it may not make // sense to set sandbox level oom score, e.g. a sandbox could only be a namespace // without a process. // TODO: Handle infra container oom score adj in a runtime agnostic way. + // TODO: Should handle critical pod oom score adj with a proper preemption priority. + // This is the workaround for https://github.com/kubernetes/kubernetes/issues/38322. PodInfraOOMAdj int = -998 + CriticalPodOOMAdj int = -998 KubeletOOMScoreAdj int = -999 DockerOOMScoreAdj int = -999 KubeProxyOOMScoreAdj int = -999 @@ -38,11 +44,15 @@ const ( // and 1000. Containers with higher OOM scores are killed if the system runs out of memory. // See https://lwn.net/Articles/391222/ for more information. func GetContainerOOMScoreAdjust(pod *v1.Pod, container *v1.Container, memoryCapacity int64) int { + if kubetypes.IsCriticalPod(pod) { + return CriticalPodOOMAdj + } + switch GetPodQOS(pod) { - case Guaranteed: + case v1.PodQOSGuaranteed: // Guaranteed containers should be the last to get killed. return guaranteedOOMScoreAdj - case BestEffort: + case v1.PodQOSBestEffort: return besteffortOOMScoreAdj } diff --git a/pkg/kubelet/qos/qos.go b/pkg/kubelet/qos/qos.go index 1829fc47..aa77b333 100644 --- a/pkg/kubelet/qos/qos.go +++ b/pkg/kubelet/qos/qos.go @@ -17,10 +17,10 @@ limitations under the License. package qos import ( + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/resource" "k8s.io/client-go/pkg/api/v1" - "k8s.io/client-go/pkg/util/sets" ) // isResourceGuaranteed returns true if the container's resource requirements are Guaranteed. @@ -47,7 +47,7 @@ func isResourceBestEffort(container *v1.Container, resource v1.ResourceName) boo // A pod is besteffort if none of its containers have specified any requests or limits. // A pod is guaranteed only when requests and limits are specified for all the containers and they are equal. // A pod is burstable if limits and requests do not match across all containers. -func GetPodQOS(pod *v1.Pod) QOSClass { +func GetPodQOS(pod *v1.Pod) v1.PodQOSClass { requests := v1.ResourceList{} limits := v1.ResourceList{} zeroQuantity := resource.MustParse("0") @@ -91,7 +91,7 @@ func GetPodQOS(pod *v1.Pod) QOSClass { } } if len(requests) == 0 && len(limits) == 0 { - return BestEffort + return v1.PodQOSBestEffort } // Check is requests match limits for all resources. if isGuaranteed { @@ -104,21 +104,20 @@ func GetPodQOS(pod *v1.Pod) QOSClass { } if isGuaranteed && len(requests) == len(limits) { - return Guaranteed + return v1.PodQOSGuaranteed } - return Burstable + return v1.PodQOSBurstable } // InternalGetPodQOS returns the QoS class of a pod. // A pod is besteffort if none of its containers have specified any requests or limits. // A pod is guaranteed only when requests and limits are specified for all the containers and they are equal. // A pod is burstable if limits and requests do not match across all containers. -func InternalGetPodQOS(pod *api.Pod) QOSClass { +func InternalGetPodQOS(pod *api.Pod) api.PodQOSClass { requests := api.ResourceList{} limits := api.ResourceList{} zeroQuantity := resource.MustParse("0") isGuaranteed := true - var supportedQoSComputeResources = sets.NewString(string(api.ResourceCPU), string(api.ResourceMemory)) for _, container := range pod.Spec.Containers { // process requests for name, quantity := range container.Resources.Requests { @@ -158,7 +157,7 @@ func InternalGetPodQOS(pod *api.Pod) QOSClass { } } if len(requests) == 0 && len(limits) == 0 { - return BestEffort + return api.PodQOSBestEffort } // Check is requests match limits for all resources. if isGuaranteed { @@ -171,13 +170,13 @@ func InternalGetPodQOS(pod *api.Pod) QOSClass { } if isGuaranteed && len(requests) == len(limits) { - return Guaranteed + return api.PodQOSGuaranteed } - return Burstable + return api.PodQOSBurstable } // QOSList is a set of (resource name, QoS class) pairs. -type QOSList map[v1.ResourceName]QOSClass +type QOSList map[v1.ResourceName]v1.PodQOSClass // GetQOS returns a mapping of resource name to QoS class of a container func GetQOS(container *v1.Container) QOSList { @@ -185,11 +184,11 @@ func GetQOS(container *v1.Container) QOSList { for resource := range allResources(container) { switch { case isResourceGuaranteed(container, resource): - resourceToQOS[resource] = Guaranteed + resourceToQOS[resource] = v1.PodQOSGuaranteed case isResourceBestEffort(container, resource): - resourceToQOS[resource] = BestEffort + resourceToQOS[resource] = v1.PodQOSBestEffort default: - resourceToQOS[resource] = Burstable + resourceToQOS[resource] = v1.PodQOSBurstable } } return resourceToQOS diff --git a/pkg/kubelet/server/portforward/portforward.go b/pkg/kubelet/server/portforward/portforward.go index 0e66fd46..50c1f3ea 100644 --- a/pkg/kubelet/server/portforward/portforward.go +++ b/pkg/kubelet/server/portforward/portforward.go @@ -27,11 +27,11 @@ import ( "github.com/golang/glog" + "k8s.io/apimachinery/pkg/types" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/types" "k8s.io/client-go/pkg/util/httpstream" "k8s.io/client-go/pkg/util/httpstream/spdy" - utilruntime "k8s.io/client-go/pkg/util/runtime" ) // PortForwarder knows how to forward content from a data stream to/from a port diff --git a/pkg/kubelet/types/pod_update.go b/pkg/kubelet/types/pod_update.go index 55c11baf..6228b715 100644 --- a/pkg/kubelet/types/pod_update.go +++ b/pkg/kubelet/types/pod_update.go @@ -140,3 +140,11 @@ func (sp SyncPodType) String() string { return "unknown" } } + +// IsCriticalPod returns true if the pod bears the critical pod annotation +// key. Both the rescheduler and the kubelet use this key to make admission +// and scheduling decisions. +func IsCriticalPod(pod *v1.Pod) bool { + _, ok := pod.Annotations[CriticalPodAnnotationKey] + return ok +} diff --git a/pkg/master/ports/ports.go b/pkg/master/ports/ports.go index 6aa97963..4f3eed88 100644 --- a/pkg/master/ports/ports.go +++ b/pkg/master/ports/ports.go @@ -29,6 +29,9 @@ const ( // ControllerManagerPort is the default port for the controller manager status server. // May be overridden by a flag at startup. ControllerManagerPort = 10252 + // CloudControllerManagerPort is the default port for the cloud controller manager server. + // This value may be overriden by a flag at startup. + CloudControllerManagerPort = 10253 // KubeletReadOnlyPort exposes basic read-only services from the kubelet. // May be overridden by a flag at startup. // This is necessary for heapster to collect monitoring stats from the kubelet diff --git a/pkg/util/cert/io.go b/pkg/util/cert/io.go index 2b6201fc..c2bde8ef 100644 --- a/pkg/util/cert/io.go +++ b/pkg/util/cert/io.go @@ -18,7 +18,6 @@ package cert import ( "crypto/x509" - "errors" "fmt" "io/ioutil" "os" @@ -104,9 +103,6 @@ func NewPool(filename string) (*x509.CertPool, error) { // CertsFromFile returns the x509.Certificates contained in the given PEM-encoded file. // Returns an error if the file could not be read, a certificate could not be parsed, or if the file does not contain any certificates func CertsFromFile(file string) ([]*x509.Certificate, error) { - if len(file) == 0 { - return nil, errors.New("error reading certificates from an empty filename") - } pemBlock, err := ioutil.ReadFile(file) if err != nil { return nil, err @@ -117,3 +113,17 @@ func CertsFromFile(file string) ([]*x509.Certificate, error) { } return certs, nil } + +// PrivateKeyFromFile returns the private key in rsa.PrivateKey or ecdsa.PrivateKey format from a given PEM-encoded file. +// Returns an error if the file could not be read or if the private key could not be parsed. +func PrivateKeyFromFile(file string) (interface{}, error) { + pemBlock, err := ioutil.ReadFile(file) + if err != nil { + return nil, err + } + key, err := ParsePrivateKeyPEM(pemBlock) + if err != nil { + return nil, fmt.Errorf("error reading %s: %v", file, err) + } + return key, nil +} diff --git a/pkg/util/config/config.go b/pkg/util/config/config.go index d8effbb6..c789daa2 100644 --- a/pkg/util/config/config.go +++ b/pkg/util/config/config.go @@ -19,7 +19,7 @@ package config import ( "sync" - "k8s.io/client-go/pkg/util/wait" + "k8s.io/apimachinery/pkg/util/wait" ) type Merger interface { diff --git a/pkg/util/httpstream/spdy/roundtripper.go b/pkg/util/httpstream/spdy/roundtripper.go index d7fceb3d..a02506a4 100644 --- a/pkg/util/httpstream/spdy/roundtripper.go +++ b/pkg/util/httpstream/spdy/roundtripper.go @@ -28,9 +28,9 @@ import ( "net/url" "strings" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/pkg/api" apierrors "k8s.io/client-go/pkg/api/errors" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" "k8s.io/client-go/pkg/third_party/forked/golang/netutil" "k8s.io/client-go/pkg/util/httpstream" ) diff --git a/pkg/util/httpstream/spdy/upgrade.go b/pkg/util/httpstream/spdy/upgrade.go index f7a9e5b7..a49a7cf3 100644 --- a/pkg/util/httpstream/spdy/upgrade.go +++ b/pkg/util/httpstream/spdy/upgrade.go @@ -21,8 +21,8 @@ import ( "net/http" "strings" + "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/client-go/pkg/util/httpstream" - "k8s.io/client-go/pkg/util/runtime" ) const HeaderSpdy31 = "SPDY/3.1" diff --git a/pkg/util/intstr/generated.pb.go b/pkg/util/intstr/generated.pb.go index 5165b24d..e2c0e70a 100644 --- a/pkg/util/intstr/generated.pb.go +++ b/pkg/util/intstr/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/util/intstr/generated.proto b/pkg/util/intstr/generated.proto index 4dc4e994..6ac2cfb0 100644 --- a/pkg/util/intstr/generated.proto +++ b/pkg/util/intstr/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/util/intstr/intstr.go b/pkg/util/intstr/intstr.go index c3cfb347..cd463e0a 100644 --- a/pkg/util/intstr/intstr.go +++ b/pkg/util/intstr/intstr.go @@ -24,7 +24,7 @@ import ( "strconv" "strings" - "k8s.io/client-go/pkg/genericapiserver/openapi/common" + "k8s.io/apimachinery/pkg/genericapiserver/openapi/common" "github.com/go-openapi/spec" "github.com/golang/glog" diff --git a/pkg/util/labels/labels.go b/pkg/util/labels/labels.go index 2b16fbd2..786ac979 100644 --- a/pkg/util/labels/labels.go +++ b/pkg/util/labels/labels.go @@ -19,7 +19,7 @@ package labels import ( "fmt" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) // Clones the given map and returns a new map with the given key and value added. diff --git a/pkg/util/strategicpatch/patch.go b/pkg/util/strategicpatch/patch.go index 56affaa9..df57df2b 100644 --- a/pkg/util/strategicpatch/patch.go +++ b/pkg/util/strategicpatch/patch.go @@ -21,8 +21,8 @@ import ( "reflect" "sort" + "k8s.io/apimachinery/pkg/util/json" forkedjson "k8s.io/client-go/pkg/third_party/forked/golang/json" - "k8s.io/client-go/pkg/util/json" "github.com/davecgh/go-spew/spew" "github.com/ghodss/yaml" @@ -656,12 +656,16 @@ func mergeSlice(original, patch []interface{}, elemType reflect.Type, mergeKey s if patchType == deleteDirective { mergeValue, ok := typedV[mergeKey] if ok { - _, originalKey, found, err := findMapInSliceBasedOnKeyValue(original, mergeKey, mergeValue) - if err != nil { - return nil, err - } + // delete all matching entries (based on merge key) from a merging list + for { + _, originalKey, found, err := findMapInSliceBasedOnKeyValue(original, mergeKey, mergeValue) + if err != nil { + return nil, err + } - if found { + if !found { + break + } // Delete the element at originalKey. original = append(original[:originalKey], original[originalKey+1:]...) } diff --git a/pkg/util/umask_windows.go b/pkg/util/umask_windows.go index 8c1b2cbc..7a1ba153 100644 --- a/pkg/util/umask_windows.go +++ b/pkg/util/umask_windows.go @@ -22,6 +22,6 @@ import ( "errors" ) -func Umask(mask int) (old int, err error) { +func Umask(mask int) (int, error) { return 0, errors.New("platform and architecture is not supported") } diff --git a/pkg/util/uuid/uuid.go b/pkg/util/uuid/uuid.go deleted file mode 100644 index ad0e8a6a..00000000 --- a/pkg/util/uuid/uuid.go +++ /dev/null @@ -1,42 +0,0 @@ -/* -Copyright 2014 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package uuid - -import ( - "sync" - - "github.com/pborman/uuid" - "k8s.io/client-go/pkg/types" -) - -var uuidLock sync.Mutex -var lastUUID uuid.UUID - -func NewUUID() types.UID { - uuidLock.Lock() - defer uuidLock.Unlock() - result := uuid.NewUUID() - // The UUID package is naive and can generate identical UUIDs if the - // time interval is quick enough. - // The UUID uses 100 ns increments so it's short enough to actively - // wait for a new value. - for uuid.Equal(lastUUID, result) == true { - result = uuid.NewUUID() - } - lastUUID = result - return types.UID(result.String()) -} diff --git a/pkg/util/workqueue/delaying_queue.go b/pkg/util/workqueue/delaying_queue.go index 9ad7960e..9203a8f3 100644 --- a/pkg/util/workqueue/delaying_queue.go +++ b/pkg/util/workqueue/delaying_queue.go @@ -20,8 +20,8 @@ import ( "sort" "time" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/client-go/pkg/util/clock" - utilruntime "k8s.io/client-go/pkg/util/runtime" ) // DelayingInterface is an Interface that can Add an item at a later time. This makes it easier to diff --git a/pkg/util/workqueue/delaying_queue_test.go b/pkg/util/workqueue/delaying_queue_test.go index b98486da..727949c1 100644 --- a/pkg/util/workqueue/delaying_queue_test.go +++ b/pkg/util/workqueue/delaying_queue_test.go @@ -22,8 +22,8 @@ import ( "testing" "time" + "k8s.io/apimachinery/pkg/util/wait" "k8s.io/client-go/pkg/util/clock" - "k8s.io/client-go/pkg/util/wait" ) func TestSimpleQueue(t *testing.T) { diff --git a/pkg/util/workqueue/parallelizer.go b/pkg/util/workqueue/parallelizer.go index b103e865..be668c42 100644 --- a/pkg/util/workqueue/parallelizer.go +++ b/pkg/util/workqueue/parallelizer.go @@ -19,7 +19,7 @@ package workqueue import ( "sync" - utilruntime "k8s.io/client-go/pkg/util/runtime" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" ) type DoWorkPieceFunc func(piece int) diff --git a/pkg/watch/versioned/generated.pb.go b/pkg/watch/versioned/generated.pb.go deleted file mode 100644 index b26080e7..00000000 --- a/pkg/watch/versioned/generated.pb.go +++ /dev/null @@ -1,390 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by protoc-gen-gogo. -// source: k8s.io/kubernetes/pkg/watch/versioned/generated.proto -// DO NOT EDIT! - -/* - Package versioned is a generated protocol buffer package. - - It is generated from these files: - k8s.io/kubernetes/pkg/watch/versioned/generated.proto - - It has these top-level messages: - Event -*/ -package versioned - -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" - -import strings "strings" -import reflect "reflect" - -import io "io" - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -const _ = proto.GoGoProtoPackageIsVersion1 - -func (m *Event) Reset() { *m = Event{} } -func (*Event) ProtoMessage() {} -func (*Event) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } - -func init() { - proto.RegisterType((*Event)(nil), "k8s.io.client-go.pkg.watch.versioned.Event") -} -func (m *Event) Marshal() (data []byte, err error) { - size := m.Size() - data = make([]byte, size) - n, err := m.MarshalTo(data) - if err != nil { - return nil, err - } - return data[:n], nil -} - -func (m *Event) MarshalTo(data []byte) (int, error) { - var i int - _ = i - var l int - _ = l - data[i] = 0xa - i++ - i = encodeVarintGenerated(data, i, uint64(len(m.Type))) - i += copy(data[i:], m.Type) - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Object.Size())) - n1, err := m.Object.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n1 - return i, nil -} - -func encodeFixed64Generated(data []byte, offset int, v uint64) int { - data[offset] = uint8(v) - data[offset+1] = uint8(v >> 8) - data[offset+2] = uint8(v >> 16) - data[offset+3] = uint8(v >> 24) - data[offset+4] = uint8(v >> 32) - data[offset+5] = uint8(v >> 40) - data[offset+6] = uint8(v >> 48) - data[offset+7] = uint8(v >> 56) - return offset + 8 -} -func encodeFixed32Generated(data []byte, offset int, v uint32) int { - data[offset] = uint8(v) - data[offset+1] = uint8(v >> 8) - data[offset+2] = uint8(v >> 16) - data[offset+3] = uint8(v >> 24) - return offset + 4 -} -func encodeVarintGenerated(data []byte, offset int, v uint64) int { - for v >= 1<<7 { - data[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - data[offset] = uint8(v) - return offset + 1 -} -func (m *Event) Size() (n int) { - var l int - _ = l - l = len(m.Type) - n += 1 + l + sovGenerated(uint64(l)) - l = m.Object.Size() - n += 1 + l + sovGenerated(uint64(l)) - return n -} - -func sovGenerated(x uint64) (n int) { - for { - n++ - x >>= 7 - if x == 0 { - break - } - } - return n -} -func sozGenerated(x uint64) (n int) { - return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *Event) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Event{`, - `Type:` + fmt.Sprintf("%v", this.Type) + `,`, - `Object:` + strings.Replace(strings.Replace(this.Object.String(), "RawExtension", "k8s_io_kubernetes_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`, - `}`, - }, "") - return s -} -func valueToStringGenerated(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *Event) Unmarshal(data []byte) error { - l := len(data) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Event: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + intStringLen - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(data[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - msglen |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Object.Unmarshal(data[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenerated(data[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthGenerated - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipGenerated(data []byte) (n int, err error) { - l := len(data) - iNdEx := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenerated - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenerated - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if data[iNdEx-1] < 0x80 { - break - } - } - return iNdEx, nil - case 1: - iNdEx += 8 - return iNdEx, nil - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenerated - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - iNdEx += length - if length < 0 { - return 0, ErrInvalidLengthGenerated - } - return iNdEx, nil - case 3: - for { - var innerWire uint64 - var start int = iNdEx - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowGenerated - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - innerWire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - innerWireType := int(innerWire & 0x7) - if innerWireType == 4 { - break - } - next, err := skipGenerated(data[start:]) - if err != nil { - return 0, err - } - iNdEx = start + next - } - return iNdEx, nil - case 4: - return iNdEx, nil - case 5: - iNdEx += 4 - return iNdEx, nil - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - } - panic("unreachable") -} - -var ( - ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") -) - -var fileDescriptorGenerated = []byte{ - // 280 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x90, 0x41, 0x4b, 0xc3, 0x30, - 0x18, 0x86, 0x1b, 0x99, 0x83, 0x55, 0xf1, 0xd0, 0xd3, 0xe8, 0x21, 0x2b, 0x82, 0x30, 0x18, 0x4b, - 0x50, 0x10, 0x3c, 0x17, 0x76, 0x16, 0xaa, 0x27, 0x6f, 0x6d, 0xf7, 0x99, 0xc5, 0xba, 0xa4, 0xa4, - 0x5f, 0x37, 0x77, 0x11, 0x7f, 0x82, 0x3f, 0xab, 0xc7, 0x1d, 0x3d, 0x0d, 0x5b, 0xff, 0x88, 0x98, - 0x95, 0x09, 0xa3, 0xb7, 0xbc, 0x24, 0xcf, 0xc3, 0xfb, 0xc6, 0xbd, 0xcd, 0xee, 0x0a, 0x26, 0x35, - 0xcf, 0xca, 0x04, 0x8c, 0x02, 0x84, 0x82, 0xe7, 0x99, 0xe0, 0xeb, 0x18, 0xd3, 0x05, 0x5f, 0x81, - 0x29, 0xa4, 0x56, 0x30, 0xe7, 0x02, 0x14, 0x98, 0x18, 0x61, 0xce, 0x72, 0xa3, 0x51, 0x7b, 0x57, - 0x7b, 0x8c, 0xfd, 0x63, 0x2c, 0xcf, 0x04, 0xb3, 0x18, 0x3b, 0x60, 0xfe, 0x54, 0x48, 0x5c, 0x94, - 0x09, 0x4b, 0xf5, 0x92, 0x0b, 0x2d, 0x34, 0xb7, 0x74, 0x52, 0x3e, 0xdb, 0x64, 0x83, 0x3d, 0xed, - 0xad, 0xfe, 0xb4, 0xbb, 0x8c, 0x29, 0x15, 0xca, 0x25, 0x1c, 0x97, 0xf0, 0xaf, 0xbb, 0x9f, 0x97, - 0x28, 0x5f, 0xb9, 0x54, 0x58, 0xa0, 0x39, 0x46, 0x2e, 0xdf, 0xdd, 0xd3, 0xd9, 0x0a, 0x14, 0x7a, - 0x81, 0xdb, 0xc3, 0x4d, 0x0e, 0x43, 0x12, 0x90, 0xf1, 0x20, 0x3c, 0xaf, 0x76, 0x23, 0xa7, 0xd9, - 0x8d, 0x7a, 0x8f, 0x9b, 0x1c, 0x22, 0x7b, 0xe3, 0x3d, 0xb8, 0x7d, 0x9d, 0xbc, 0x40, 0x8a, 0xc3, - 0x93, 0x80, 0x8c, 0xcf, 0x6e, 0x26, 0xac, 0x7b, 0x73, 0xdb, 0x8e, 0x45, 0xf1, 0x7a, 0xf6, 0x86, - 0xa0, 0xfe, 0xa6, 0x87, 0x17, 0xad, 0xb0, 0x7f, 0x6f, 0x15, 0x51, 0xab, 0x0a, 0x27, 0x55, 0x4d, - 0x9d, 0x6d, 0x4d, 0x9d, 0xaf, 0x9a, 0x3a, 0x1f, 0x0d, 0x25, 0x55, 0x43, 0xc9, 0xb6, 0xa1, 0xe4, - 0xbb, 0xa1, 0xe4, 0xf3, 0x87, 0x3a, 0x4f, 0x83, 0xc3, 0xef, 0xfd, 0x06, 0x00, 0x00, 0xff, 0xff, - 0x23, 0x3d, 0x7b, 0x7e, 0x9c, 0x01, 0x00, 0x00, -} diff --git a/pkg/watch/versioned/generated.proto b/pkg/watch/versioned/generated.proto deleted file mode 100644 index 340e18da..00000000 --- a/pkg/watch/versioned/generated.proto +++ /dev/null @@ -1,44 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - - -// This file was autogenerated by go-to-protobuf. Do not edit it manually! - -syntax = 'proto2'; - -package k8s.io.kubernetes.pkg.watch.versioned; - -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; - -// Package-wide variables from generator "generated". -option go_package = "versioned"; - -// Event represents a single event to a watched resource. -// -// +protobuf=true -// +k8s:openapi-gen=true -message Event { - optional string type = 1; - - // Object is: - // * If Type is Added or Modified: the new state of the object. - // * If Type is Deleted: the state of the object immediately before deletion. - // * If Type is Error: *api.Status is recommended; other types may make sense - // depending on context. - optional k8s.io.kubernetes.pkg.runtime.RawExtension object = 2; -} - diff --git a/pkg/watch/versioned/types.go b/pkg/watch/versioned/types.go deleted file mode 100644 index 16b8b02e..00000000 --- a/pkg/watch/versioned/types.go +++ /dev/null @@ -1,38 +0,0 @@ -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Package versioned contains the versioned types for watch. This is the first -// serialization version unless otherwise noted. -package versioned - -import ( - "k8s.io/client-go/pkg/runtime" -) - -// Event represents a single event to a watched resource. -// -// +protobuf=true -// +k8s:openapi-gen=true -type Event struct { - Type string `json:"type" protobuf:"bytes,1,opt,name=type"` - - // Object is: - // * If Type is Added or Modified: the new state of the object. - // * If Type is Deleted: the state of the object immediately before deletion. - // * If Type is Error: *api.Status is recommended; other types may make sense - // depending on context. - Object runtime.RawExtension `json:"object" protobuf:"bytes,2,opt,name=object"` -} diff --git a/plugin/pkg/client/auth/gcp/gcp.go b/plugin/pkg/client/auth/gcp/gcp.go index c187bdd0..84a95767 100644 --- a/plugin/pkg/client/auth/gcp/gcp.go +++ b/plugin/pkg/client/auth/gcp/gcp.go @@ -30,8 +30,8 @@ import ( "golang.org/x/net/context" "golang.org/x/oauth2" "golang.org/x/oauth2/google" + "k8s.io/apimachinery/pkg/util/yaml" "k8s.io/client-go/pkg/util/jsonpath" - "k8s.io/client-go/pkg/util/yaml" "k8s.io/client-go/rest" ) diff --git a/plugin/pkg/client/auth/oidc/oidc.go b/plugin/pkg/client/auth/oidc/oidc.go index f5da4390..606be453 100644 --- a/plugin/pkg/client/auth/oidc/oidc.go +++ b/plugin/pkg/client/auth/oidc/oidc.go @@ -22,6 +22,7 @@ import ( "fmt" "net/http" "strings" + "sync" "time" "github.com/coreos/go-oidc/jose" @@ -29,7 +30,6 @@ import ( "github.com/coreos/go-oidc/oidc" "github.com/golang/glog" - "k8s.io/client-go/pkg/util/wait" "k8s.io/client-go/rest" ) @@ -44,21 +44,68 @@ const ( cfgRefreshToken = "refresh-token" ) -var ( - backoff = wait.Backoff{ - Duration: 1 * time.Second, - Factor: 2, - Jitter: .1, - Steps: 5, - } -) - func init() { if err := rest.RegisterAuthProviderPlugin("oidc", newOIDCAuthProvider); err != nil { glog.Fatalf("Failed to register oidc auth plugin: %v", err) } } +// expiryDelta determines how earlier a token should be considered +// expired than its actual expiration time. It is used to avoid late +// expirations due to client-server time mismatches. +// +// NOTE(ericchiang): this is take from golang.org/x/oauth2 +const expiryDelta = 10 * time.Second + +var cache = newClientCache() + +// Like TLS transports, keep a cache of OIDC clients indexed by issuer URL. +type clientCache struct { + mu sync.RWMutex + cache map[cacheKey]*oidcAuthProvider +} + +func newClientCache() *clientCache { + return &clientCache{cache: make(map[cacheKey]*oidcAuthProvider)} +} + +type cacheKey struct { + // Canonical issuer URL string of the provider. + issuerURL string + + clientID string + clientSecret string + + // Don't use CA as cache key because we only add a cache entry if we can connect + // to the issuer in the first place. A valid CA is a prerequisite. +} + +func (c *clientCache) getClient(issuer, clientID, clientSecret string) (*oidcAuthProvider, bool) { + c.mu.RLock() + defer c.mu.RUnlock() + client, ok := c.cache[cacheKey{issuer, clientID, clientSecret}] + return client, ok +} + +// setClient attempts to put the client in the cache but may return any clients +// with the same keys set before. This is so there's only ever one client for a provider. +func (c *clientCache) setClient(issuer, clientID, clientSecret string, client *oidcAuthProvider) *oidcAuthProvider { + c.mu.Lock() + defer c.mu.Unlock() + key := cacheKey{issuer, clientID, clientSecret} + + // If another client has already initialized a client for the given provider we want + // to use that client instead of the one we're trying to set. This is so all transports + // share a client and can coordinate around the same mutex when refreshing and writing + // to the kubeconfig. + if oldClient, ok := c.cache[key]; ok { + return oldClient + } + + c.cache[key] = client + return client +} + func newOIDCAuthProvider(_ string, cfg map[string]string, persister rest.AuthProviderConfigPersister) (rest.AuthProvider, error) { issuer := cfg[cfgIssuerUrl] if issuer == "" { @@ -75,6 +122,11 @@ func newOIDCAuthProvider(_ string, cfg map[string]string, persister rest.AuthPro return nil, fmt.Errorf("Must provide %s", cfgClientSecret) } + // Check cache for existing provider. + if provider, ok := cache.getClient(issuer, clientID, clientSecret); ok { + return provider, nil + } + var certAuthData []byte var err error if cfg[cfgCertificateAuthorityData] != "" { @@ -112,146 +164,134 @@ func newOIDCAuthProvider(_ string, cfg map[string]string, persister rest.AuthPro ProviderConfig: providerCfg, Scope: append(scopes, oidc.DefaultScope...), } - client, err := oidc.NewClient(oidcCfg) if err != nil { return nil, fmt.Errorf("error creating OIDC Client: %v", err) } - oClient := &oidcClient{client} - - var initialIDToken jose.JWT - if cfg[cfgIDToken] != "" { - initialIDToken, err = jose.ParseJWT(cfg[cfgIDToken]) - if err != nil { - return nil, err - } + provider := &oidcAuthProvider{ + client: &oidcClient{client}, + cfg: cfg, + persister: persister, + now: time.Now, } - return &oidcAuthProvider{ - initialIDToken: initialIDToken, - refresher: &idTokenRefresher{ - client: oClient, - cfg: cfg, - persister: persister, - }, - }, nil + return cache.setClient(issuer, clientID, clientSecret, provider), nil } type oidcAuthProvider struct { - refresher *idTokenRefresher - initialIDToken jose.JWT + // Interface rather than a raw *oidc.Client for testing. + client OIDCClient + + // Stubbed out for testing. + now func() time.Time + + // Mutex guards persisting to the kubeconfig file and allows synchronized + // updates to the in-memory config. It also ensures concurrent calls to + // the RoundTripper only trigger a single refresh request. + mu sync.Mutex + cfg map[string]string + persister rest.AuthProviderConfigPersister } -func (g *oidcAuthProvider) WrapTransport(rt http.RoundTripper) http.RoundTripper { - at := &oidc.AuthenticatedTransport{ - TokenRefresher: g.refresher, - RoundTripper: rt, - } - at.SetJWT(g.initialIDToken) +func (p *oidcAuthProvider) WrapTransport(rt http.RoundTripper) http.RoundTripper { return &roundTripper{ - wrapped: at, - refresher: g.refresher, + wrapped: rt, + provider: p, } } -func (g *oidcAuthProvider) Login() error { +func (p *oidcAuthProvider) Login() error { return errors.New("not yet implemented") } type OIDCClient interface { refreshToken(rt string) (oauth2.TokenResponse, error) - verifyJWT(jwt jose.JWT) error + verifyJWT(jwt *jose.JWT) error } type roundTripper struct { - refresher *idTokenRefresher - wrapped *oidc.AuthenticatedTransport + provider *oidcAuthProvider + wrapped http.RoundTripper } func (r *roundTripper) RoundTrip(req *http.Request) (*http.Response, error) { - var res *http.Response - var err error - firstTime := true - wait.ExponentialBackoff(backoff, func() (bool, error) { - if !firstTime { - var jwt jose.JWT - jwt, err = r.refresher.Refresh() - if err != nil { - return true, nil - } - r.wrapped.SetJWT(jwt) - } else { - firstTime = false - } + token, err := r.provider.idToken() + if err != nil { + return nil, err + } - res, err = r.wrapped.RoundTrip(req) + // shallow copy of the struct + r2 := new(http.Request) + *r2 = *req + // deep copy of the Header so we don't modify the original + // request's Header (as per RoundTripper contract). + r2.Header = make(http.Header) + for k, s := range req.Header { + r2.Header[k] = s + } + r2.Header.Set("Authorization", fmt.Sprintf("Bearer %s", token)) + + return r.wrapped.RoundTrip(r2) +} + +func (p *oidcAuthProvider) idToken() (string, error) { + p.mu.Lock() + defer p.mu.Unlock() + + if idToken, ok := p.cfg[cfgIDToken]; ok && len(idToken) > 0 { + valid, err := verifyJWTExpiry(p.now(), idToken) if err != nil { - return true, nil + return "", err } - if res.StatusCode == http.StatusUnauthorized { - return false, nil + if valid { + // If the cached id token is still valid use it. + return idToken, nil } - return true, nil - }) - return res, err -} + } -type idTokenRefresher struct { - cfg map[string]string - client OIDCClient - persister rest.AuthProviderConfigPersister - intialIDToken jose.JWT -} + // Try to request a new token using the refresh token. + rt, ok := p.cfg[cfgRefreshToken] + if !ok || len(rt) == 0 { + return "", errors.New("No valid id-token, and cannot refresh without refresh-token") + } -func (r *idTokenRefresher) Verify(jwt jose.JWT) error { - claims, err := jwt.Claims() + tokens, err := p.client.refreshToken(rt) if err != nil { - return err - } - - now := time.Now() - exp, ok, err := claims.TimeClaim("exp") - switch { - case err != nil: - return fmt.Errorf("failed to parse 'exp' claim: %v", err) - case !ok: - return errors.New("missing required 'exp' claim") - case exp.Before(now): - return fmt.Errorf("token already expired at: %v", exp) - } - - return nil -} - -func (r *idTokenRefresher) Refresh() (jose.JWT, error) { - rt, ok := r.cfg[cfgRefreshToken] - if !ok { - return jose.JWT{}, errors.New("No valid id-token, and cannot refresh without refresh-token") - } - - tokens, err := r.client.refreshToken(rt) - if err != nil { - return jose.JWT{}, fmt.Errorf("could not refresh token: %v", err) + return "", fmt.Errorf("could not refresh token: %v", err) } jwt, err := jose.ParseJWT(tokens.IDToken) if err != nil { - return jose.JWT{}, err + return "", err + } + + if err := p.client.verifyJWT(&jwt); err != nil { + return "", err + } + + // Create a new config to persist. + newCfg := make(map[string]string) + for key, val := range p.cfg { + newCfg[key] = val } if tokens.RefreshToken != "" && tokens.RefreshToken != rt { - r.cfg[cfgRefreshToken] = tokens.RefreshToken - } - r.cfg[cfgIDToken] = jwt.Encode() - - err = r.persister.Persist(r.cfg) - if err != nil { - return jose.JWT{}, fmt.Errorf("could not perist new tokens: %v", err) + newCfg[cfgRefreshToken] = tokens.RefreshToken } - return jwt, r.client.verifyJWT(jwt) + newCfg[cfgIDToken] = tokens.IDToken + if err = p.persister.Persist(newCfg); err != nil { + return "", fmt.Errorf("could not perist new tokens: %v", err) + } + + // Update the in memory config to reflect the on disk one. + p.cfg = newCfg + + return tokens.IDToken, nil } +// oidcClient is the real implementation of the OIDCClient interface, which is +// used for testing. type oidcClient struct { client *oidc.Client } @@ -265,6 +305,29 @@ func (o *oidcClient) refreshToken(rt string) (oauth2.TokenResponse, error) { return oac.RequestToken(oauth2.GrantTypeRefreshToken, rt) } -func (o *oidcClient) verifyJWT(jwt jose.JWT) error { - return o.client.VerifyJWT(jwt) +func (o *oidcClient) verifyJWT(jwt *jose.JWT) error { + return o.client.VerifyJWT(*jwt) +} + +func verifyJWTExpiry(now time.Time, s string) (valid bool, err error) { + jwt, err := jose.ParseJWT(s) + if err != nil { + return false, fmt.Errorf("invalid %q", cfgIDToken) + } + claims, err := jwt.Claims() + if err != nil { + return false, err + } + + exp, ok, err := claims.TimeClaim("exp") + switch { + case err != nil: + return false, fmt.Errorf("failed to parse 'exp' claim: %v", err) + case !ok: + return false, errors.New("missing required 'exp' claim") + case exp.After(now.Add(expiryDelta)): + return true, nil + } + + return false, nil } diff --git a/plugin/pkg/client/auth/oidc/oidc_test.go b/plugin/pkg/client/auth/oidc/oidc_test.go index ee8367e5..7ef319b2 100644 --- a/plugin/pkg/client/auth/oidc/oidc_test.go +++ b/plugin/pkg/client/auth/oidc/oidc_test.go @@ -19,13 +19,10 @@ package oidc import ( "encoding/base64" "errors" - "fmt" "io/ioutil" - "net/http" "os" "path" "reflect" - "strings" "testing" "time" @@ -33,11 +30,41 @@ import ( "github.com/coreos/go-oidc/key" "github.com/coreos/go-oidc/oauth2" - "k8s.io/client-go/pkg/util/diff" - "k8s.io/client-go/pkg/util/wait" oidctesting "k8s.io/client-go/plugin/pkg/auth/authenticator/token/oidc/testing" ) +func clearCache() { + cache = newClientCache() +} + +type persister struct{} + +// we don't need to actually persist anything because there's no way for us to +// read from a persister. +func (p *persister) Persist(map[string]string) error { return nil } + +type noRefreshOIDCClient struct{} + +func (c *noRefreshOIDCClient) refreshToken(rt string) (oauth2.TokenResponse, error) { + return oauth2.TokenResponse{}, errors.New("alwaysErrOIDCClient: cannot refresh token") +} + +func (c *noRefreshOIDCClient) verifyJWT(jwt *jose.JWT) error { + return nil +} + +type mockOIDCClient struct { + tokenResponse oauth2.TokenResponse +} + +func (c *mockOIDCClient) refreshToken(rt string) (oauth2.TokenResponse, error) { + return c.tokenResponse, nil +} + +func (c *mockOIDCClient) verifyJWT(jwt *jose.JWT) error { + return nil +} + func TestNewOIDCAuthProvider(t *testing.T) { tempDir, err := ioutil.TempDir(os.TempDir(), "oidc_test") if err != nil { @@ -60,127 +87,211 @@ func TestNewOIDCAuthProvider(t *testing.T) { t.Fatalf("Could not read cert bytes %v", err) } - jwt, err := jose.NewSignedJWT(jose.Claims(map[string]interface{}{ - "test": "jwt", - }), op.PrivKey.Signer()) - if err != nil { - t.Fatalf("Could not create signed JWT %v", err) + makeToken := func(exp time.Time) *jose.JWT { + jwt, err := jose.NewSignedJWT(jose.Claims(map[string]interface{}{ + "exp": exp.UTC().Unix(), + }), op.PrivKey.Signer()) + if err != nil { + t.Fatalf("Could not create signed JWT %v", err) + } + return jwt } - tests := []struct { - cfg map[string]string + t0 := time.Now() - wantErr bool - wantInitialIDToken jose.JWT + goodToken := makeToken(t0.Add(time.Hour)).Encode() + expiredToken := makeToken(t0.Add(-time.Hour)).Encode() + + tests := []struct { + name string + + cfg map[string]string + wantInitErr bool + + client OIDCClient + wantCfg map[string]string + wantTokenErr bool }{ { // A Valid configuration + name: "no id token and no refresh token", cfg: map[string]string{ cfgIssuerUrl: srv.URL, cfgCertificateAuthority: cert, cfgClientID: "client-id", cfgClientSecret: "client-secret", }, + wantTokenErr: true, }, { - // A Valid configuration with an Initial JWT + name: "valid config with an initial token", cfg: map[string]string{ cfgIssuerUrl: srv.URL, cfgCertificateAuthority: cert, cfgClientID: "client-id", cfgClientSecret: "client-secret", - cfgIDToken: jwt.Encode(), + cfgIDToken: goodToken, + }, + client: new(noRefreshOIDCClient), + wantCfg: map[string]string{ + cfgIssuerUrl: srv.URL, + cfgCertificateAuthority: cert, + cfgClientID: "client-id", + cfgClientSecret: "client-secret", + cfgIDToken: goodToken, }, - wantInitialIDToken: *jwt, }, { - // Valid config, but using cfgCertificateAuthorityData + name: "invalid ID token with a refresh token", + cfg: map[string]string{ + cfgIssuerUrl: srv.URL, + cfgCertificateAuthority: cert, + cfgClientID: "client-id", + cfgClientSecret: "client-secret", + cfgRefreshToken: "foo", + cfgIDToken: expiredToken, + }, + client: &mockOIDCClient{ + tokenResponse: oauth2.TokenResponse{ + IDToken: goodToken, + }, + }, + wantCfg: map[string]string{ + cfgIssuerUrl: srv.URL, + cfgCertificateAuthority: cert, + cfgClientID: "client-id", + cfgClientSecret: "client-secret", + cfgRefreshToken: "foo", + cfgIDToken: goodToken, + }, + }, + { + name: "invalid ID token with a refresh token, server returns new refresh token", + cfg: map[string]string{ + cfgIssuerUrl: srv.URL, + cfgCertificateAuthority: cert, + cfgClientID: "client-id", + cfgClientSecret: "client-secret", + cfgRefreshToken: "foo", + cfgIDToken: expiredToken, + }, + client: &mockOIDCClient{ + tokenResponse: oauth2.TokenResponse{ + IDToken: goodToken, + RefreshToken: "bar", + }, + }, + wantCfg: map[string]string{ + cfgIssuerUrl: srv.URL, + cfgCertificateAuthority: cert, + cfgClientID: "client-id", + cfgClientSecret: "client-secret", + cfgRefreshToken: "bar", + cfgIDToken: goodToken, + }, + }, + { + name: "expired token and no refresh otken", + cfg: map[string]string{ + cfgIssuerUrl: srv.URL, + cfgCertificateAuthority: cert, + cfgClientID: "client-id", + cfgClientSecret: "client-secret", + cfgIDToken: expiredToken, + }, + wantTokenErr: true, + }, + { + name: "valid base64d ca", cfg: map[string]string{ cfgIssuerUrl: srv.URL, cfgCertificateAuthorityData: base64.StdEncoding.EncodeToString(certData), cfgClientID: "client-id", cfgClientSecret: "client-secret", }, + client: new(noRefreshOIDCClient), + wantTokenErr: true, }, { - // Missing client id + name: "missing client ID", cfg: map[string]string{ cfgIssuerUrl: srv.URL, cfgCertificateAuthority: cert, cfgClientSecret: "client-secret", }, - wantErr: true, + wantInitErr: true, }, { - // Missing client secret + name: "missing client secret", cfg: map[string]string{ cfgIssuerUrl: srv.URL, cfgCertificateAuthority: cert, cfgClientID: "client-id", }, - wantErr: true, + wantInitErr: true, }, { - // Missing issuer url. + name: "missing issuer URL", cfg: map[string]string{ cfgCertificateAuthority: cert, cfgClientID: "client-id", cfgClientSecret: "secret", }, - wantErr: true, + wantInitErr: true, }, { - // No TLS config + name: "missing TLS config", cfg: map[string]string{ cfgIssuerUrl: srv.URL, cfgClientID: "client-id", cfgClientSecret: "secret", }, - wantErr: true, + wantInitErr: true, }, } - for i, tt := range tests { - ap, err := newOIDCAuthProvider("cluster.example.com", tt.cfg, nil) - if tt.wantErr { + for _, tt := range tests { + clearCache() + + p, err := newOIDCAuthProvider("cluster.example.com", tt.cfg, new(persister)) + if tt.wantInitErr { if err == nil { - t.Errorf("case %d: want non-nil err", i) + t.Errorf("%s: want non-nil err", tt.name) } continue } if err != nil { - t.Errorf("case %d: unexpected error on newOIDCAuthProvider: %v", i, err) + t.Errorf("%s: unexpected error on newOIDCAuthProvider: %v", tt.name, err) continue } - oidcAP, ok := ap.(*oidcAuthProvider) - if !ok { - t.Errorf("case %d: expected ap to be an oidcAuthProvider", i) + provider := p.(*oidcAuthProvider) + provider.client = tt.client + provider.now = func() time.Time { return t0 } + + if _, err := provider.idToken(); err != nil { + if !tt.wantTokenErr { + t.Errorf("%s: failed to get id token: %v", tt.name, err) + } + continue + } + if tt.wantTokenErr { + t.Errorf("%s: expected to not get id token: %v", tt.name, err) continue } - if diff := compareJWTs(tt.wantInitialIDToken, oidcAP.initialIDToken); diff != "" { - t.Errorf("case %d: compareJWTs(tt.wantInitialIDToken, oidcAP.initialIDToken)=%v", i, diff) + if !reflect.DeepEqual(tt.wantCfg, provider.cfg) { + t.Errorf("%s: expected config %#v got %#v", tt.name, tt.wantCfg, provider.cfg) } } } -func TestWrapTranport(t *testing.T) { - oldBackoff := backoff - defer func() { - backoff = oldBackoff - }() - backoff = wait.Backoff{ - Duration: 1 * time.Nanosecond, - Steps: 3, - } - +func TestVerifyJWTExpiry(t *testing.T) { privKey, err := key.GeneratePrivateKey() if err != nil { t.Fatalf("can't generate private key: %v", err) } - makeToken := func(s string, exp time.Time, count int) *jose.JWT { jwt, err := jose.NewSignedJWT(jose.Claims(map[string]interface{}{ "test": s, @@ -193,451 +304,81 @@ func TestWrapTranport(t *testing.T) { return jwt } - goodToken := makeToken("good", time.Now().Add(time.Hour), 0) - goodToken2 := makeToken("good", time.Now().Add(time.Hour), 1) - expiredToken := makeToken("good", time.Now().Add(-time.Hour), 0) + t0 := time.Now() - str := func(s string) *string { - return &s - } tests := []struct { - cfgIDToken *jose.JWT - cfgRefreshToken *string - - expectRequests []testRoundTrip - - expectRefreshes []testRefresh - - expectPersists []testPersist - - wantStatus int - wantErr bool + name string + jwt *jose.JWT + now time.Time + wantErr bool + wantExpired bool }{ { - // Initial JWT is set, it is good, it is set as bearer. - cfgIDToken: goodToken, - - expectRequests: []testRoundTrip{ - { - expectBearerToken: goodToken.Encode(), - returnHTTPStatus: 200, - }, - }, - - wantStatus: 200, + name: "valid jwt", + jwt: makeToken("foo", t0.Add(time.Hour), 1), + now: t0, }, { - // Initial JWT is set, but it's expired, so it gets refreshed. - cfgIDToken: expiredToken, - cfgRefreshToken: str("rt1"), - - expectRefreshes: []testRefresh{ - { - expectRefreshToken: "rt1", - returnTokens: oauth2.TokenResponse{ - IDToken: goodToken.Encode(), - }, - }, - }, - - expectRequests: []testRoundTrip{ - { - expectBearerToken: goodToken.Encode(), - returnHTTPStatus: 200, - }, - }, - - expectPersists: []testPersist{ - { - cfg: map[string]string{ - cfgIDToken: goodToken.Encode(), - cfgRefreshToken: "rt1", - }, - }, - }, - - wantStatus: 200, - }, - { - // Initial JWT is set, but it's expired, so it gets refreshed - this - // time the refresh token itself is also refreshed - cfgIDToken: expiredToken, - cfgRefreshToken: str("rt1"), - - expectRefreshes: []testRefresh{ - { - expectRefreshToken: "rt1", - returnTokens: oauth2.TokenResponse{ - IDToken: goodToken.Encode(), - RefreshToken: "rt2", - }, - }, - }, - - expectRequests: []testRoundTrip{ - { - expectBearerToken: goodToken.Encode(), - returnHTTPStatus: 200, - }, - }, - - expectPersists: []testPersist{ - { - cfg: map[string]string{ - cfgIDToken: goodToken.Encode(), - cfgRefreshToken: "rt2", - }, - }, - }, - - wantStatus: 200, - }, - { - // Initial JWT is not set, so it gets refreshed. - cfgRefreshToken: str("rt1"), - - expectRefreshes: []testRefresh{ - { - expectRefreshToken: "rt1", - returnTokens: oauth2.TokenResponse{ - IDToken: goodToken.Encode(), - }, - }, - }, - - expectRequests: []testRoundTrip{ - { - expectBearerToken: goodToken.Encode(), - returnHTTPStatus: 200, - }, - }, - - expectPersists: []testPersist{ - { - cfg: map[string]string{ - cfgIDToken: goodToken.Encode(), - cfgRefreshToken: "rt1", - }, - }, - }, - - wantStatus: 200, - }, - { - // Expired token, but no refresh token. - cfgIDToken: expiredToken, - + name: "invalid jwt", + jwt: &jose.JWT{}, + now: t0, wantErr: true, }, { - // Initial JWT is not set, so it gets refreshed, but the server - // rejects it when it is used, so it refreshes again, which - // succeeds. - cfgRefreshToken: str("rt1"), - - expectRefreshes: []testRefresh{ - { - expectRefreshToken: "rt1", - returnTokens: oauth2.TokenResponse{ - IDToken: goodToken.Encode(), - }, - }, - { - expectRefreshToken: "rt1", - returnTokens: oauth2.TokenResponse{ - IDToken: goodToken2.Encode(), - }, - }, - }, - - expectRequests: []testRoundTrip{ - { - expectBearerToken: goodToken.Encode(), - returnHTTPStatus: http.StatusUnauthorized, - }, - { - expectBearerToken: goodToken2.Encode(), - returnHTTPStatus: http.StatusOK, - }, - }, - - expectPersists: []testPersist{ - { - cfg: map[string]string{ - cfgIDToken: goodToken.Encode(), - cfgRefreshToken: "rt1", - }, - }, - { - cfg: map[string]string{ - cfgIDToken: goodToken2.Encode(), - cfgRefreshToken: "rt1", - }, - }, - }, - - wantStatus: 200, + name: "expired jwt", + jwt: makeToken("foo", t0.Add(-time.Hour), 1), + now: t0, + wantExpired: true, }, { - // Initial JWT is but the server rejects it when it is used, so it - // refreshes again, which succeeds. - cfgRefreshToken: str("rt1"), - cfgIDToken: goodToken, - - expectRefreshes: []testRefresh{ - { - expectRefreshToken: "rt1", - returnTokens: oauth2.TokenResponse{ - IDToken: goodToken2.Encode(), - }, - }, - }, - - expectRequests: []testRoundTrip{ - { - expectBearerToken: goodToken.Encode(), - returnHTTPStatus: http.StatusUnauthorized, - }, - { - expectBearerToken: goodToken2.Encode(), - returnHTTPStatus: http.StatusOK, - }, - }, - - expectPersists: []testPersist{ - { - cfg: map[string]string{ - cfgIDToken: goodToken2.Encode(), - cfgRefreshToken: "rt1", - }, - }, - }, - wantStatus: 200, + name: "jwt expires soon enough to be marked expired", + jwt: makeToken("foo", t0, 1), + now: t0, + wantExpired: true, }, } - for i, tt := range tests { - client := &testOIDCClient{ - refreshes: tt.expectRefreshes, - } - - persister := &testPersister{ - tt.expectPersists, - } - - cfg := map[string]string{} - if tt.cfgIDToken != nil { - cfg[cfgIDToken] = tt.cfgIDToken.Encode() - } - - if tt.cfgRefreshToken != nil { - cfg[cfgRefreshToken] = *tt.cfgRefreshToken - } - - ap := &oidcAuthProvider{ - refresher: &idTokenRefresher{ - client: client, - cfg: cfg, - persister: persister, - }, - } - - if tt.cfgIDToken != nil { - ap.initialIDToken = *tt.cfgIDToken - } - - tstRT := &testRoundTripper{ - tt.expectRequests, - } - - rt := ap.WrapTransport(tstRT) - - req, err := http.NewRequest("GET", "http://cluster.example.com", nil) - if err != nil { - t.Errorf("case %d: unexpected error making request: %v", i, err) - } - - res, err := rt.RoundTrip(req) - if tt.wantErr { - if err == nil { - t.Errorf("case %d: Expected non-nil error", i) + for _, tc := range tests { + func() { + valid, err := verifyJWTExpiry(tc.now, tc.jwt.Encode()) + if err != nil { + if !tc.wantErr { + t.Errorf("%s: %v", tc.name, err) + } + return } - } else if err != nil { - t.Errorf("case %d: unexpected error making round trip: %v", i, err) - - } else { - if res.StatusCode != tt.wantStatus { - t.Errorf("case %d: want=%d, got=%d", i, tt.wantStatus, res.StatusCode) + if tc.wantErr { + t.Errorf("%s: expected error", tc.name) + return } - } - - if err = client.verify(); err != nil { - t.Errorf("case %d: %v", i, err) - } - - if err = persister.verify(); err != nil { - t.Errorf("case %d: %v", i, err) - } - - if err = tstRT.verify(); err != nil { - t.Errorf("case %d: %v", i, err) - continue - } + if valid && tc.wantExpired { + t.Errorf("%s: expected token to be expired", tc.name) + } + if !valid && !tc.wantExpired { + t.Errorf("%s: expected token to be valid", tc.name) + } + }() } } -type testRoundTrip struct { - expectBearerToken string - returnHTTPStatus int -} - -type testRoundTripper struct { - trips []testRoundTrip -} - -func (t *testRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) { - if len(t.trips) == 0 { - return nil, errors.New("unexpected RoundTrip call") - } - - var trip testRoundTrip - trip, t.trips = t.trips[0], t.trips[1:] - - var bt string - var parts []string - auth := strings.TrimSpace(req.Header.Get("Authorization")) - if auth == "" { - goto Compare - } - - parts = strings.Split(auth, " ") - if len(parts) < 2 || strings.ToLower(parts[0]) != "bearer" { - goto Compare - } - - bt = parts[1] - -Compare: - if trip.expectBearerToken != bt { - return nil, fmt.Errorf("want bearerToken=%v, got=%v", trip.expectBearerToken, bt) - } - return &http.Response{ - StatusCode: trip.returnHTTPStatus, - }, nil -} - -func (t *testRoundTripper) verify() error { - if l := len(t.trips); l > 0 { - return fmt.Errorf("%d uncalled round trips", l) - } - return nil -} - -type testPersist struct { - cfg map[string]string - returnErr error -} - -type testPersister struct { - persists []testPersist -} - -func (t *testPersister) Persist(cfg map[string]string) error { - if len(t.persists) == 0 { - return errors.New("unexpected persist call") - } - - var persist testPersist - persist, t.persists = t.persists[0], t.persists[1:] - - if !reflect.DeepEqual(persist.cfg, cfg) { - return fmt.Errorf("Unexpected cfg: %v", diff.ObjectDiff(persist.cfg, cfg)) - } - - return persist.returnErr -} - -func (t *testPersister) verify() error { - if l := len(t.persists); l > 0 { - return fmt.Errorf("%d uncalled persists", l) - } - return nil -} - -type testRefresh struct { - expectRefreshToken string - - returnErr error - returnTokens oauth2.TokenResponse -} - -type testOIDCClient struct { - refreshes []testRefresh -} - -func (o *testOIDCClient) refreshToken(rt string) (oauth2.TokenResponse, error) { - if len(o.refreshes) == 0 { - return oauth2.TokenResponse{}, errors.New("unexpected refresh request") - } - - var refresh testRefresh - refresh, o.refreshes = o.refreshes[0], o.refreshes[1:] - - if rt != refresh.expectRefreshToken { - return oauth2.TokenResponse{}, fmt.Errorf("want rt=%v, got=%v", - refresh.expectRefreshToken, - rt) - } - - if refresh.returnErr != nil { - return oauth2.TokenResponse{}, refresh.returnErr - } - - return refresh.returnTokens, nil -} - -func (o *testOIDCClient) verifyJWT(jwt jose.JWT) error { - claims, err := jwt.Claims() - if err != nil { - return err - } - claim, _, _ := claims.StringClaim("test") - if claim != "good" { - return errors.New("bad token") - } - return nil -} - -func (t *testOIDCClient) verify() error { - if l := len(t.refreshes); l > 0 { - return fmt.Errorf("%d uncalled refreshes", l) - } - return nil -} - -func compareJWTs(a, b jose.JWT) string { - if a.Encode() == b.Encode() { - return "" - } - - var aClaims, bClaims jose.Claims - for _, j := range []struct { - claims *jose.Claims - jwt jose.JWT - }{ - {&aClaims, a}, - {&bClaims, b}, - } { - var err error - *j.claims, err = j.jwt.Claims() - if err != nil { - *j.claims = jose.Claims(map[string]interface{}{ - "msg": "bad claims", - "err": err, - }) - } - } - - return diff.ObjectDiff(aClaims, bClaims) +func TestClientCache(t *testing.T) { + cache := newClientCache() + + if _, ok := cache.getClient("issuer1", "id1", "secret1"); ok { + t.Fatalf("got client before putting one in the cache") + } + + cli1 := new(oidcAuthProvider) + cli2 := new(oidcAuthProvider) + + gotcli := cache.setClient("issuer1", "id1", "secret1", cli1) + if cli1 != gotcli { + t.Fatalf("set first client and got a different one") + } + + gotcli = cache.setClient("issuer1", "id1", "secret1", cli2) + if cli1 != gotcli { + t.Fatalf("set a second client and didn't get the first") + } } diff --git a/rest/OWNERS b/rest/OWNERS new file mode 100755 index 00000000..8d97da00 --- /dev/null +++ b/rest/OWNERS @@ -0,0 +1,24 @@ +reviewers: +- thockin +- smarterclayton +- caesarxuchao +- wojtek-t +- deads2k +- brendandburns +- liggitt +- nikhiljindal +- gmarek +- erictune +- sttts +- luxas +- dims +- errordeveloper +- hongchaodeng +- krousey +- resouer +- cjcullen +- rmmh +- lixiaobing10051267 +- asalkeld +- juanvallejo +- lojies diff --git a/rest/client.go b/rest/client.go index c397a262..b5325bf5 100644 --- a/rest/client.go +++ b/rest/client.go @@ -26,9 +26,9 @@ import ( "strings" "time" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" "k8s.io/client-go/pkg/util/flowcontrol" ) diff --git a/rest/client_test.go b/rest/client_test.go index cdc01bd6..b095b34e 100644 --- a/rest/client_test.go +++ b/rest/client_test.go @@ -27,14 +27,13 @@ import ( "fmt" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/util/diff" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/errors" "k8s.io/client-go/pkg/api/testapi" - "k8s.io/client-go/pkg/apimachinery/registered" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/util/diff" utiltesting "k8s.io/client-go/pkg/util/testing" ) @@ -243,7 +242,7 @@ func validate(testParam TestParam, t *testing.T, body []byte, fakeHandler *utilt t.Errorf("Unexpected mis-match. Expected %#v. Saw %#v", testParam.expStatus, statusOut) } } - fakeHandler.ValidateRequest(t, "/"+registered.GroupOrDie(api.GroupName).GroupVersion.String()+"/test", "GET", nil) + fakeHandler.ValidateRequest(t, "/"+api.Registry.GroupOrDie(api.GroupName).GroupVersion.String()+"/test", "GET", nil) } @@ -330,7 +329,7 @@ func restClient(testServer *httptest.Server) (*RESTClient, error) { c, err := RESTClientFor(&Config{ Host: testServer.URL, ContentConfig: ContentConfig{ - GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion, + GroupVersion: &api.Registry.GroupOrDie(api.GroupName).GroupVersion, NegotiatedSerializer: testapi.Default.NegotiatedSerializer(), }, Username: "user", diff --git a/rest/config.go b/rest/config.go index 6feccb2b..53a2385c 100644 --- a/rest/config.go +++ b/rest/config.go @@ -29,10 +29,10 @@ import ( "github.com/golang/glog" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" certutil "k8s.io/client-go/pkg/util/cert" "k8s.io/client-go/pkg/util/flowcontrol" "k8s.io/client-go/pkg/version" diff --git a/rest/config_test.go b/rest/config_test.go index 36a45216..1447ab67 100644 --- a/rest/config_test.go +++ b/rest/config_test.go @@ -25,12 +25,11 @@ import ( fuzz "github.com/google/gofuzz" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/util/diff" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/testapi" - "k8s.io/client-go/pkg/apimachinery/registered" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/util/diff" "k8s.io/client-go/pkg/util/flowcontrol" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) @@ -102,10 +101,10 @@ func TestRESTClientRequires(t *testing.T) { if _, err := RESTClientFor(&Config{Host: "127.0.0.1", ContentConfig: ContentConfig{NegotiatedSerializer: testapi.Default.NegotiatedSerializer()}}); err == nil { t.Errorf("unexpected non-error") } - if _, err := RESTClientFor(&Config{Host: "127.0.0.1", ContentConfig: ContentConfig{GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion}}); err == nil { + if _, err := RESTClientFor(&Config{Host: "127.0.0.1", ContentConfig: ContentConfig{GroupVersion: &api.Registry.GroupOrDie(api.GroupName).GroupVersion}}); err == nil { t.Errorf("unexpected non-error") } - if _, err := RESTClientFor(&Config{Host: "127.0.0.1", ContentConfig: ContentConfig{GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion, NegotiatedSerializer: testapi.Default.NegotiatedSerializer()}}); err != nil { + if _, err := RESTClientFor(&Config{Host: "127.0.0.1", ContentConfig: ContentConfig{GroupVersion: &api.Registry.GroupOrDie(api.GroupName).GroupVersion, NegotiatedSerializer: testapi.Default.NegotiatedSerializer()}}); err != nil { t.Errorf("unexpected error: %v", err) } } diff --git a/rest/fake/fake.go b/rest/fake/fake.go index 4ecdd4c3..84f04783 100644 --- a/rest/fake/fake.go +++ b/rest/fake/fake.go @@ -22,11 +22,10 @@ import ( "net/http" "net/url" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/testapi" - "k8s.io/client-go/pkg/apimachinery/registered" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" "k8s.io/client-go/pkg/util/flowcontrol" "k8s.io/client-go/rest" ) @@ -89,7 +88,7 @@ func (c *RESTClient) GetRateLimiter() flowcontrol.RateLimiter { func (c *RESTClient) request(verb string) *rest.Request { config := rest.ContentConfig{ ContentType: runtime.ContentTypeJSON, - GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion, + GroupVersion: &api.Registry.GroupOrDie(api.GroupName).GroupVersion, NegotiatedSerializer: c.NegotiatedSerializer, } @@ -100,12 +99,12 @@ func (c *RESTClient) request(verb string) *rest.Request { ns := c.NegotiatedSerializer info, _ := runtime.SerializerInfoForMediaType(ns.SupportedMediaTypes(), runtime.ContentTypeJSON) internalVersion := schema.GroupVersion{ - Group: registered.GroupOrDie(groupName).GroupVersion.Group, + Group: api.Registry.GroupOrDie(groupName).GroupVersion.Group, Version: runtime.APIVersionInternal, } internalVersion.Version = runtime.APIVersionInternal serializers := rest.Serializers{ - Encoder: ns.EncoderForVersion(info.Serializer, registered.GroupOrDie(api.GroupName).GroupVersion), + Encoder: ns.EncoderForVersion(info.Serializer, api.Registry.GroupOrDie(api.GroupName).GroupVersion), Decoder: ns.DecoderToVersion(info.Serializer, internalVersion), } if info.StreamSerializer != nil { diff --git a/rest/request.go b/rest/request.go index 6621e8ef..28464950 100644 --- a/rest/request.go +++ b/rest/request.go @@ -32,20 +32,20 @@ import ( "time" "github.com/golang/glog" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/serializer/streaming" + "k8s.io/apimachinery/pkg/util/net" + "k8s.io/apimachinery/pkg/util/sets" + "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/pkg/api/errors" "k8s.io/client-go/pkg/api/v1" pathvalidation "k8s.io/client-go/pkg/api/validation/path" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" "k8s.io/client-go/pkg/fields" - "k8s.io/client-go/pkg/labels" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/runtime/serializer/streaming" "k8s.io/client-go/pkg/util/flowcontrol" - "k8s.io/client-go/pkg/util/net" - "k8s.io/client-go/pkg/util/sets" - "k8s.io/client-go/pkg/watch" - "k8s.io/client-go/pkg/watch/versioned" + restclientwatch "k8s.io/client-go/rest/watch" "k8s.io/client-go/tools/metrics" ) @@ -683,7 +683,7 @@ func (r *Request) Watch() (watch.Interface, error) { } framer := r.serializers.Framer.NewFrameReader(resp.Body) decoder := streaming.NewDecoder(framer, r.serializers.StreamingSerializer) - return watch.NewStreamWatcher(versioned.NewDecoder(decoder, r.serializers.Decoder)), nil + return watch.NewStreamWatcher(restclientwatch.NewDecoder(decoder, r.serializers.Decoder)), nil } // updateURLMetrics is a convenience function for pushing metrics. @@ -811,7 +811,20 @@ func (r *Request) request(fn func(*http.Request, *http.Response)) error { r.backoffMgr.UpdateBackoff(r.URL(), err, resp.StatusCode) } if err != nil { - return err + // "Connection reset by peer" is usually a transient error. + // Thus in case of "GET" operations, we simply retry it. + // We are not automatically retrying "write" operations, as + // they are not idempotent. + if !net.IsConnectionReset(err) || r.verb != "GET" { + return err + } + // For the purpose of retry, we set the artificial "retry-after" response. + // TODO: Should we clean the original response if it exists? + resp = &http.Response{ + StatusCode: http.StatusInternalServerError, + Header: http.Header{"Retry-After": []string{"1"}}, + Body: ioutil.NopCloser(bytes.NewReader([]byte{})), + } } done := func() bool { diff --git a/rest/request_test.go b/rest/request_test.go index a864b782..7ab9e9cd 100755 --- a/rest/request_test.go +++ b/rest/request_test.go @@ -22,33 +22,34 @@ import ( "fmt" "io" "io/ioutil" + "net" "net/http" "net/http/httptest" "net/url" "os" "reflect" "strings" + "syscall" "testing" "time" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/serializer/streaming" + "k8s.io/apimachinery/pkg/util/diff" + "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/pkg/api" apierrors "k8s.io/client-go/pkg/api/errors" "k8s.io/client-go/pkg/api/testapi" "k8s.io/client-go/pkg/api/v1" - "k8s.io/client-go/pkg/apimachinery/registered" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/labels" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/runtime/serializer/streaming" "k8s.io/client-go/pkg/util/clock" - "k8s.io/client-go/pkg/util/diff" "k8s.io/client-go/pkg/util/flowcontrol" "k8s.io/client-go/pkg/util/httpstream" "k8s.io/client-go/pkg/util/intstr" utiltesting "k8s.io/client-go/pkg/util/testing" - "k8s.io/client-go/pkg/watch" - "k8s.io/client-go/pkg/watch/versioned" + restclientwatch "k8s.io/client-go/rest/watch" ) func TestNewRequestSetsAccept(t *testing.T) { @@ -92,7 +93,7 @@ func TestRequestSetsHeaders(t *testing.T) { func TestRequestWithErrorWontChange(t *testing.T) { original := Request{ err: errors.New("test"), - content: ContentConfig{GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion}, + content: ContentConfig{GroupVersion: &api.Registry.GroupOrDie(api.GroupName).GroupVersion}, } r := original changed := r.Param("foo", "bar"). @@ -276,7 +277,7 @@ func (obj NotAnAPIObject) SetGroupVersionKind(gvk *schema.GroupVersionKind) {} func defaultContentConfig() ContentConfig { return ContentConfig{ - GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion, + GroupVersion: &api.Registry.GroupOrDie(api.GroupName).GroupVersion, NegotiatedSerializer: testapi.Default.NegotiatedSerializer(), } } @@ -1120,6 +1121,35 @@ func TestCheckRetryClosesBody(t *testing.T) { } } +func TestConnectionResetByPeerIsRetried(t *testing.T) { + count := 0 + backoff := &testBackoffManager{} + req := &Request{ + verb: "GET", + client: clientFunc(func(req *http.Request) (*http.Response, error) { + count++ + if count >= 3 { + return &http.Response{ + StatusCode: 200, + Body: ioutil.NopCloser(bytes.NewReader([]byte{})), + }, nil + } + return nil, &net.OpError{Err: syscall.ECONNRESET} + }), + backoffMgr: backoff, + } + // We expect two retries of "connection reset by peer" and the success. + _, err := req.Do().Raw() + if err != nil { + t.Errorf("Unexpected error: %v", err) + } + // We have a sleep before each retry (including the initial one) and for + // every "retry-after" call - thus 5 together. + if len(backoff.sleeps) != 5 { + t.Errorf("Expected 5 retries, got: %d", len(backoff.sleeps)) + } +} + func TestCheckRetryHandles429And5xx(t *testing.T) { count := 0 ch := make(chan struct{}) @@ -1222,7 +1252,7 @@ func TestDoRequestNewWayReader(t *testing.T) { } tmpStr := string(reqBodyExpected) requestURL := testapi.Default.ResourcePathWithPrefix("foo", "bar", "", "baz") - requestURL += "?" + metav1.LabelSelectorQueryParam(registered.GroupOrDie(api.GroupName).GroupVersion.String()) + "=name%3Dfoo&timeout=1s" + requestURL += "?" + metav1.LabelSelectorQueryParam(api.Registry.GroupOrDie(api.GroupName).GroupVersion.String()) + "=name%3Dfoo&timeout=1s" fakeHandler.ValidateRequest(t, requestURL, "POST", &tmpStr) } @@ -1262,7 +1292,7 @@ func TestDoRequestNewWayObj(t *testing.T) { } tmpStr := string(reqBodyExpected) requestURL := testapi.Default.ResourcePath("foo", "", "bar/baz") - requestURL += "?" + metav1.LabelSelectorQueryParam(registered.GroupOrDie(api.GroupName).GroupVersion.String()) + "=name%3Dfoo&timeout=1s" + requestURL += "?" + metav1.LabelSelectorQueryParam(api.Registry.GroupOrDie(api.GroupName).GroupVersion.String()) + "=name%3Dfoo&timeout=1s" fakeHandler.ValidateRequest(t, requestURL, "POST", &tmpStr) } @@ -1540,7 +1570,7 @@ func TestWatch(t *testing.T) { w.WriteHeader(http.StatusOK) flusher.Flush() - encoder := versioned.NewEncoder(streaming.NewEncoder(w, testapi.Default.Codec()), testapi.Default.Codec()) + encoder := restclientwatch.NewEncoder(streaming.NewEncoder(w, testapi.Default.Codec()), testapi.Default.Codec()) for _, item := range table { if err := encoder.Encode(&watch.Event{Type: item.t, Object: item.obj}); err != nil { panic(err) diff --git a/rest/url_utils.go b/rest/url_utils.go index 21ab898c..14f94650 100644 --- a/rest/url_utils.go +++ b/rest/url_utils.go @@ -21,7 +21,7 @@ import ( "net/url" "path" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/schema" ) // DefaultServerURL converts a host, host:port, or URL string to the default base server API path diff --git a/rest/url_utils_test.go b/rest/url_utils_test.go index ebac17de..52b951f3 100644 --- a/rest/url_utils_test.go +++ b/rest/url_utils_test.go @@ -21,7 +21,6 @@ import ( "testing" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/apimachinery/registered" ) func TestValidatesHostParameter(t *testing.T) { @@ -32,17 +31,17 @@ func TestValidatesHostParameter(t *testing.T) { URL string Err bool }{ - {"127.0.0.1", "", "http://127.0.0.1/" + registered.GroupOrDie(api.GroupName).GroupVersion.Version, false}, - {"127.0.0.1:8080", "", "http://127.0.0.1:8080/" + registered.GroupOrDie(api.GroupName).GroupVersion.Version, false}, - {"foo.bar.com", "", "http://foo.bar.com/" + registered.GroupOrDie(api.GroupName).GroupVersion.Version, false}, - {"http://host/prefix", "", "http://host/prefix/" + registered.GroupOrDie(api.GroupName).GroupVersion.Version, false}, - {"http://host", "", "http://host/" + registered.GroupOrDie(api.GroupName).GroupVersion.Version, false}, - {"http://host", "/", "http://host/" + registered.GroupOrDie(api.GroupName).GroupVersion.Version, false}, - {"http://host", "/other", "http://host/other/" + registered.GroupOrDie(api.GroupName).GroupVersion.Version, false}, + {"127.0.0.1", "", "http://127.0.0.1/" + api.Registry.GroupOrDie(api.GroupName).GroupVersion.Version, false}, + {"127.0.0.1:8080", "", "http://127.0.0.1:8080/" + api.Registry.GroupOrDie(api.GroupName).GroupVersion.Version, false}, + {"foo.bar.com", "", "http://foo.bar.com/" + api.Registry.GroupOrDie(api.GroupName).GroupVersion.Version, false}, + {"http://host/prefix", "", "http://host/prefix/" + api.Registry.GroupOrDie(api.GroupName).GroupVersion.Version, false}, + {"http://host", "", "http://host/" + api.Registry.GroupOrDie(api.GroupName).GroupVersion.Version, false}, + {"http://host", "/", "http://host/" + api.Registry.GroupOrDie(api.GroupName).GroupVersion.Version, false}, + {"http://host", "/other", "http://host/other/" + api.Registry.GroupOrDie(api.GroupName).GroupVersion.Version, false}, {"host/server", "", "", true}, } for i, testCase := range testCases { - u, versionedAPIPath, err := DefaultServerURL(testCase.Host, testCase.APIPath, registered.GroupOrDie(api.GroupName).GroupVersion, false) + u, versionedAPIPath, err := DefaultServerURL(testCase.Host, testCase.APIPath, api.Registry.GroupOrDie(api.GroupName).GroupVersion, false) switch { case err == nil && testCase.Err: t.Errorf("expected error but was nil") diff --git a/rest/urlbackoff.go b/rest/urlbackoff.go index 1bfb61a6..3ccb2140 100644 --- a/rest/urlbackoff.go +++ b/rest/urlbackoff.go @@ -21,8 +21,8 @@ import ( "time" "github.com/golang/glog" + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/util/flowcontrol" - "k8s.io/client-go/pkg/util/sets" ) // Set of resp. Codes that we backoff for. diff --git a/rest/versions.go b/rest/versions.go index 203fc88b..9d41812f 100644 --- a/rest/versions.go +++ b/rest/versions.go @@ -22,7 +22,7 @@ import ( "net/http" "path" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) const ( diff --git a/pkg/watch/versioned/decoder.go b/rest/watch/decoder.go similarity index 88% rename from pkg/watch/versioned/decoder.go rename to rest/watch/decoder.go index 25390c5e..73bb63ad 100644 --- a/pkg/watch/versioned/decoder.go +++ b/rest/watch/decoder.go @@ -19,9 +19,10 @@ package versioned import ( "fmt" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/serializer/streaming" - "k8s.io/client-go/pkg/watch" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/serializer/streaming" + "k8s.io/apimachinery/pkg/watch" ) // Decoder implements the watch.Decoder interface for io.ReadClosers that @@ -44,13 +45,13 @@ func NewDecoder(decoder streaming.Decoder, embeddedDecoder runtime.Decoder) *Dec // Decode blocks until it can return the next object in the reader. Returns an error // if the reader is closed or an object can't be decoded. func (d *Decoder) Decode() (watch.EventType, runtime.Object, error) { - var got Event + var got metav1.WatchEvent res, _, err := d.decoder.Decode(nil, &got) if err != nil { return "", nil, err } if res != &got { - return "", nil, fmt.Errorf("unable to decode to versioned.Event") + return "", nil, fmt.Errorf("unable to decode to metav1.Event") } switch got.Type { case string(watch.Added), string(watch.Modified), string(watch.Deleted), string(watch.Error): diff --git a/rest/watch/decoder_test.go b/rest/watch/decoder_test.go new file mode 100644 index 00000000..e84d51c0 --- /dev/null +++ b/rest/watch/decoder_test.go @@ -0,0 +1,114 @@ +/* +Copyright 2014 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package versioned_test + +import ( + "encoding/json" + "io" + "testing" + "time" + + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/serializer/streaming" + "k8s.io/apimachinery/pkg/util/wait" + "k8s.io/apimachinery/pkg/watch" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/testapi" + restclientwatch "k8s.io/client-go/rest/watch" +) + +func TestDecoder(t *testing.T) { + table := []watch.EventType{watch.Added, watch.Deleted, watch.Modified, watch.Error} + + for _, eventType := range table { + out, in := io.Pipe() + codec := testapi.Default.Codec() + decoder := restclientwatch.NewDecoder(streaming.NewDecoder(out, codec), codec) + + expect := &api.Pod{ObjectMeta: api.ObjectMeta{Name: "foo"}} + encoder := json.NewEncoder(in) + go func() { + data, err := runtime.Encode(testapi.Default.Codec(), expect) + if err != nil { + t.Fatalf("Unexpected error %v", err) + } + event := metav1.WatchEvent{ + Type: string(eventType), + Object: runtime.RawExtension{Raw: json.RawMessage(data)}, + } + if err := encoder.Encode(&event); err != nil { + t.Errorf("Unexpected error %v", err) + } + in.Close() + }() + + done := make(chan struct{}) + go func() { + action, got, err := decoder.Decode() + if err != nil { + t.Fatalf("Unexpected error %v", err) + } + if e, a := eventType, action; e != a { + t.Errorf("Expected %v, got %v", e, a) + } + if e, a := expect, got; !api.Semantic.DeepDerivative(e, a) { + t.Errorf("Expected %v, got %v", e, a) + } + t.Logf("Exited read") + close(done) + }() + <-done + + done = make(chan struct{}) + go func() { + _, _, err := decoder.Decode() + if err == nil { + t.Errorf("Unexpected nil error") + } + close(done) + }() + <-done + + decoder.Close() + } +} + +func TestDecoder_SourceClose(t *testing.T) { + out, in := io.Pipe() + codec := testapi.Default.Codec() + decoder := restclientwatch.NewDecoder(streaming.NewDecoder(out, codec), codec) + + done := make(chan struct{}) + + go func() { + _, _, err := decoder.Decode() + if err == nil { + t.Errorf("Unexpected nil error") + } + close(done) + }() + + in.Close() + + select { + case <-done: + break + case <-time.After(wait.ForeverTestTimeout): + t.Error("Timeout") + } +} diff --git a/pkg/watch/versioned/encoder.go b/rest/watch/encoder.go similarity index 79% rename from pkg/watch/versioned/encoder.go rename to rest/watch/encoder.go index 3d7f436f..e55aa12d 100644 --- a/pkg/watch/versioned/encoder.go +++ b/rest/watch/encoder.go @@ -19,14 +19,16 @@ package versioned import ( "encoding/json" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/serializer/streaming" - "k8s.io/client-go/pkg/watch" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/serializer/streaming" + "k8s.io/apimachinery/pkg/watch" ) // Encoder serializes watch.Events into io.Writer. The internal objects // are encoded using embedded encoder, and the outer Event is serialized // using encoder. +// TODO: this type is only used by tests type Encoder struct { encoder streaming.Encoder embeddedEncoder runtime.Encoder @@ -47,5 +49,8 @@ func (e *Encoder) Encode(event *watch.Event) error { return err } // FIXME: get rid of json.RawMessage. - return e.encoder.Encode(&Event{string(event.Type), runtime.RawExtension{Raw: json.RawMessage(data)}}) + return e.encoder.Encode(&metav1.WatchEvent{ + Type: string(event.Type), + Object: runtime.RawExtension{Raw: json.RawMessage(data)}, + }) } diff --git a/rest/watch/encoder_test.go b/rest/watch/encoder_test.go new file mode 100644 index 00000000..d0341ce4 --- /dev/null +++ b/rest/watch/encoder_test.go @@ -0,0 +1,78 @@ +/* +Copyright 2014 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package versioned_test + +import ( + "bytes" + "io/ioutil" + "testing" + + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/serializer/streaming" + "k8s.io/apimachinery/pkg/watch" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/testapi" + restclientwatch "k8s.io/client-go/rest/watch" +) + +func TestEncodeDecodeRoundTrip(t *testing.T) { + testCases := []struct { + Type watch.EventType + Object runtime.Object + Codec runtime.Codec + }{ + { + watch.Added, + &api.Pod{ObjectMeta: api.ObjectMeta{Name: "foo"}}, + testapi.Default.Codec(), + }, + { + watch.Modified, + &api.Pod{ObjectMeta: api.ObjectMeta{Name: "foo"}}, + testapi.Default.Codec(), + }, + { + watch.Deleted, + &api.Pod{ObjectMeta: api.ObjectMeta{Name: "foo"}}, + testapi.Default.Codec(), + }, + } + for i, testCase := range testCases { + buf := &bytes.Buffer{} + + codec := testCase.Codec + encoder := restclientwatch.NewEncoder(streaming.NewEncoder(buf, codec), codec) + if err := encoder.Encode(&watch.Event{Type: testCase.Type, Object: testCase.Object}); err != nil { + t.Errorf("%d: unexpected error: %v", i, err) + continue + } + + rc := ioutil.NopCloser(buf) + decoder := restclientwatch.NewDecoder(streaming.NewDecoder(rc, codec), codec) + event, obj, err := decoder.Decode() + if err != nil { + t.Errorf("%d: unexpected error: %v", i, err) + continue + } + if !api.Semantic.DeepDerivative(testCase.Object, obj) { + t.Errorf("%d: expected %#v, got %#v", i, testCase.Object, obj) + } + if event != testCase.Type { + t.Errorf("%d: unexpected type: %#v", i, event) + } + } +} diff --git a/testing/actions.go b/testing/actions.go index 4708c225..3af5f74d 100644 --- a/testing/actions.go +++ b/testing/actions.go @@ -21,12 +21,12 @@ import ( "path" "strings" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/v1" "k8s.io/client-go/pkg/fields" - "k8s.io/client-go/pkg/labels" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) func NewRootGetAction(resource schema.GroupVersionResource, name string) GetActionImpl { diff --git a/testing/fake.go b/testing/fake.go index 80f91142..e18814b3 100644 --- a/testing/fake.go +++ b/testing/fake.go @@ -20,11 +20,11 @@ import ( "fmt" "sync" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/pkg/version" - "k8s.io/client-go/pkg/watch" "k8s.io/client-go/rest" ) diff --git a/testing/fixture.go b/testing/fixture.go index c3a5ab86..555ec478 100644 --- a/testing/fixture.go +++ b/testing/fixture.go @@ -20,13 +20,13 @@ import ( "fmt" "sync" + "k8s.io/apimachinery/pkg/api/meta" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/watch" + "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/errors" - "k8s.io/client-go/pkg/api/meta" - "k8s.io/client-go/pkg/apimachinery/registered" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/watch" "k8s.io/client-go/rest" ) @@ -414,7 +414,7 @@ func filterByNamespaceAndName(objs []runtime.Object, ns, name string) ([]runtime // returns an error if namespace is empty but gvk is a namespaced // kind, or if ns is non-empty and gvk is a namespaced kind. func checkNamespace(gvk schema.GroupVersionKind, ns string) error { - group, err := registered.Group(gvk.Group) + group, err := api.Registry.Group(gvk.Group) if err != nil { return err } diff --git a/tools/cache/OWNERS b/tools/cache/OWNERS new file mode 100755 index 00000000..e923c770 --- /dev/null +++ b/tools/cache/OWNERS @@ -0,0 +1,41 @@ +reviewers: +- thockin +- lavalamp +- smarterclayton +- wojtek-t +- deads2k +- brendandburns +- derekwaynecarr +- caesarxuchao +- mikedanese +- liggitt +- nikhiljindal +- bprashanth +- erictune +- davidopp +- pmorie +- kargakis +- janetkuo +- justinsb +- eparis +- soltysh +- jsafrane +- dims +- madhusudancs +- hongchaodeng +- krousey +- markturansky +- fgrzadkowski +- xiang90 +- mml +- ingvagabund +- resouer +- jessfraz +- david-mcmahon +- mfojtik +- '249043822' +- lixiaobing10051267 +- ddysher +- mqliang +- feihujiang +- sdminonne diff --git a/tools/cache/controller.go b/tools/cache/controller.go index ff4ec012..07394a14 100644 --- a/tools/cache/controller.go +++ b/tools/cache/controller.go @@ -20,9 +20,9 @@ import ( "sync" "time" - "k8s.io/client-go/pkg/runtime" - utilruntime "k8s.io/client-go/pkg/util/runtime" - "k8s.io/client-go/pkg/util/wait" + "k8s.io/apimachinery/pkg/runtime" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" + "k8s.io/apimachinery/pkg/util/wait" ) // Config contains all the settings for a Controller. @@ -61,21 +61,20 @@ type Config struct { type ProcessFunc func(obj interface{}) error // Controller is a generic controller framework. -type Controller struct { +type controller struct { config Config reflector *Reflector reflectorMutex sync.RWMutex } -// TODO make the "Controller" private, and convert all references to use ControllerInterface instead -type ControllerInterface interface { +type Controller interface { Run(stopCh <-chan struct{}) HasSynced() bool } // New makes a new Controller from the given Config. -func New(c *Config) *Controller { - ctlr := &Controller{ +func New(c *Config) Controller { + ctlr := &controller{ config: *c, } return ctlr @@ -84,7 +83,7 @@ func New(c *Config) *Controller { // Run begins processing items, and will continue until a value is sent down stopCh. // It's an error to call Run more than once. // Run blocks; call via go. -func (c *Controller) Run(stopCh <-chan struct{}) { +func (c *controller) Run(stopCh <-chan struct{}) { defer utilruntime.HandleCrash() r := NewReflector( c.config.ListerWatcher, @@ -103,18 +102,15 @@ func (c *Controller) Run(stopCh <-chan struct{}) { } // Returns true once this controller has completed an initial resource listing -func (c *Controller) HasSynced() bool { +func (c *controller) HasSynced() bool { return c.config.Queue.HasSynced() } -// Requeue adds the provided object back into the queue if it does not already exist. -func (c *Controller) Requeue(obj interface{}) error { - return c.config.Queue.AddIfNotPresent(Deltas{ - Delta{ - Type: Sync, - Object: obj, - }, - }) +func (c *controller) LastSyncResourceVersion() string { + if c.reflector == nil { + return "" + } + return c.reflector.LastSyncResourceVersion() } // processLoop drains the work queue. @@ -126,7 +122,7 @@ func (c *Controller) Requeue(obj interface{}) error { // actually exit when the controller is stopped. Or just give up on this stuff // ever being stoppable. Converting this whole package to use Context would // also be helpful. -func (c *Controller) processLoop() { +func (c *controller) processLoop() { for { obj, err := c.config.Queue.Pop(PopProcessFunc(c.config.Process)) if err != nil { @@ -218,7 +214,7 @@ func NewInformer( objType runtime.Object, resyncPeriod time.Duration, h ResourceEventHandler, -) (Store, *Controller) { +) (Store, Controller) { // This will hold the client state, as we know it. clientState := NewStore(DeletionHandlingMetaNamespaceKeyFunc) @@ -284,7 +280,7 @@ func NewIndexerInformer( resyncPeriod time.Duration, h ResourceEventHandler, indexers Indexers, -) (Indexer, *Controller) { +) (Indexer, Controller) { // This will hold the client state, as we know it. clientState := NewIndexer(DeletionHandlingMetaNamespaceKeyFunc, indexers) diff --git a/tools/cache/controller_test.go b/tools/cache/controller_test.go index 022e21f0..4f36aac8 100644 --- a/tools/cache/controller_test.go +++ b/tools/cache/controller_test.go @@ -23,11 +23,11 @@ import ( "testing" "time" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/util/sets" + "k8s.io/apimachinery/pkg/util/wait" + "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/pkg/api/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/util/sets" - "k8s.io/client-go/pkg/util/wait" - "k8s.io/client-go/pkg/watch" fcache "k8s.io/client-go/tools/cache/testing" "github.com/google/gofuzz" diff --git a/tools/cache/delta_fifo.go b/tools/cache/delta_fifo.go index af7de8a9..b972f7cc 100644 --- a/tools/cache/delta_fifo.go +++ b/tools/cache/delta_fifo.go @@ -21,7 +21,7 @@ import ( "fmt" "sync" - "k8s.io/client-go/pkg/util/sets" + "k8s.io/apimachinery/pkg/util/sets" "github.com/golang/glog" ) diff --git a/tools/cache/expiration_cache_fakes.go b/tools/cache/expiration_cache_fakes.go index 13f4e4c0..e4d4063c 100644 --- a/tools/cache/expiration_cache_fakes.go +++ b/tools/cache/expiration_cache_fakes.go @@ -17,8 +17,8 @@ limitations under the License. package cache import ( + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/util/clock" - "k8s.io/client-go/pkg/util/sets" ) type fakeThreadSafeMap struct { diff --git a/tools/cache/expiration_cache_test.go b/tools/cache/expiration_cache_test.go index 8d424a90..0938e9fc 100644 --- a/tools/cache/expiration_cache_test.go +++ b/tools/cache/expiration_cache_test.go @@ -21,9 +21,9 @@ import ( "testing" "time" + "k8s.io/apimachinery/pkg/util/sets" + "k8s.io/apimachinery/pkg/util/wait" "k8s.io/client-go/pkg/util/clock" - "k8s.io/client-go/pkg/util/sets" - "k8s.io/client-go/pkg/util/wait" ) func TestTTLExpirationBasic(t *testing.T) { diff --git a/tools/cache/fifo.go b/tools/cache/fifo.go index 0e1c9a8b..672facbc 100644 --- a/tools/cache/fifo.go +++ b/tools/cache/fifo.go @@ -19,7 +19,7 @@ package cache import ( "sync" - "k8s.io/client-go/pkg/util/sets" + "k8s.io/apimachinery/pkg/util/sets" ) // PopProcessFunc is passed to Pop() method of Queue interface. diff --git a/tools/cache/index.go b/tools/cache/index.go index 25ad6780..42fc6c7a 100644 --- a/tools/cache/index.go +++ b/tools/cache/index.go @@ -19,8 +19,8 @@ package cache import ( "fmt" - "k8s.io/client-go/pkg/api/meta" - "k8s.io/client-go/pkg/util/sets" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/util/sets" ) // Indexer is a storage interface that lets you list objects using multiple indexing functions diff --git a/tools/cache/listers.go b/tools/cache/listers.go index 1fe3a6d3..751f1365 100644 --- a/tools/cache/listers.go +++ b/tools/cache/listers.go @@ -20,19 +20,19 @@ import ( "fmt" "github.com/golang/glog" + "k8s.io/apimachinery/pkg/api/meta" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/pkg/api/errors" - "k8s.io/client-go/pkg/api/meta" "k8s.io/client-go/pkg/api/v1" apps "k8s.io/client-go/pkg/apis/apps/v1beta1" certificates "k8s.io/client-go/pkg/apis/certificates/v1alpha1" extensions "k8s.io/client-go/pkg/apis/extensions/v1beta1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" policy "k8s.io/client-go/pkg/apis/policy/v1beta1" storageinternal "k8s.io/client-go/pkg/apis/storage" storage "k8s.io/client-go/pkg/apis/storage/v1beta1" - "k8s.io/client-go/pkg/labels" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" ) // AppendFunc is used to add a matching item to whatever list the caller is using diff --git a/tools/cache/listers_core.go b/tools/cache/listers_core.go index 19d613c3..e6257819 100644 --- a/tools/cache/listers_core.go +++ b/tools/cache/listers_core.go @@ -19,10 +19,10 @@ package cache import ( "fmt" + "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/errors" "k8s.io/client-go/pkg/api/v1" - "k8s.io/client-go/pkg/labels" ) // TODO: generate these classes and methods for all resources of interest using diff --git a/tools/cache/listers_extensions.go b/tools/cache/listers_extensions.go index 0950e76e..c3d739ef 100644 --- a/tools/cache/listers_extensions.go +++ b/tools/cache/listers_extensions.go @@ -19,12 +19,12 @@ package cache import ( "fmt" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/pkg/api/errors" "k8s.io/client-go/pkg/api/v1" extensionsinternal "k8s.io/client-go/pkg/apis/extensions" extensions "k8s.io/client-go/pkg/apis/extensions/v1beta1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/labels" ) // TODO: generate these classes and methods for all resources of interest using diff --git a/tools/cache/listers_rbac.go b/tools/cache/listers_rbac.go index a8463667..d9bddc1b 100644 --- a/tools/cache/listers_rbac.go +++ b/tools/cache/listers_rbac.go @@ -17,9 +17,9 @@ limitations under the License. package cache import ( + "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/pkg/api/errors" rbac "k8s.io/client-go/pkg/apis/rbac" - "k8s.io/client-go/pkg/labels" ) // TODO: generate these classes and methods for all resources of interest using diff --git a/tools/cache/listers_test.go b/tools/cache/listers_test.go index da4b4a5e..1eda854f 100644 --- a/tools/cache/listers_test.go +++ b/tools/cache/listers_test.go @@ -19,12 +19,12 @@ package cache import ( "testing" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/util/sets" apierrors "k8s.io/client-go/pkg/api/errors" "k8s.io/client-go/pkg/api/v1" extensions "k8s.io/client-go/pkg/apis/extensions/v1beta1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/labels" - "k8s.io/client-go/pkg/util/sets" ) func TestStoreToNodeLister(t *testing.T) { diff --git a/tools/cache/listwatch.go b/tools/cache/listwatch.go index 05559faf..c3b6177a 100644 --- a/tools/cache/listwatch.go +++ b/tools/cache/listwatch.go @@ -19,12 +19,12 @@ package cache import ( "time" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/api/meta" "k8s.io/client-go/pkg/api/v1" "k8s.io/client-go/pkg/fields" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/watch" "k8s.io/client-go/rest" ) diff --git a/tools/cache/mutation_detector.go b/tools/cache/mutation_detector.go index e27e339e..cc739911 100644 --- a/tools/cache/mutation_detector.go +++ b/tools/cache/mutation_detector.go @@ -24,9 +24,9 @@ import ( "sync" "time" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/util/diff" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/util/diff" ) var mutationDetectionEnabled = false diff --git a/tools/cache/mutation_detector_test.go b/tools/cache/mutation_detector_test.go index 557c8c83..708826e4 100644 --- a/tools/cache/mutation_detector_test.go +++ b/tools/cache/mutation_detector_test.go @@ -22,9 +22,9 @@ import ( "testing" "time" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/pkg/api/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/watch" ) func TestMutationDetector(t *testing.T) { diff --git a/tools/cache/processor_listener_test.go b/tools/cache/processor_listener_test.go index b68b678c..c26ab023 100644 --- a/tools/cache/processor_listener_test.go +++ b/tools/cache/processor_listener_test.go @@ -20,7 +20,7 @@ import ( "testing" "time" - "k8s.io/client-go/pkg/util/wait" + "k8s.io/apimachinery/pkg/util/wait" ) // TestPopReleaseLock tests that when processor listener blocks on chan, diff --git a/tools/cache/reflector.go b/tools/cache/reflector.go index 2196de7f..ba7b688f 100644 --- a/tools/cache/reflector.go +++ b/tools/cache/reflector.go @@ -34,13 +34,13 @@ import ( "time" "github.com/golang/glog" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/runtime" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" + "k8s.io/apimachinery/pkg/util/wait" + "k8s.io/apimachinery/pkg/watch" apierrs "k8s.io/client-go/pkg/api/errors" - "k8s.io/client-go/pkg/api/meta" "k8s.io/client-go/pkg/api/v1" - "k8s.io/client-go/pkg/runtime" - utilruntime "k8s.io/client-go/pkg/util/runtime" - "k8s.io/client-go/pkg/util/wait" - "k8s.io/client-go/pkg/watch" ) // Reflector watches a specified resource and causes all changes to be reflected in the given store. diff --git a/tools/cache/reflector_test.go b/tools/cache/reflector_test.go index eb02dd13..2eae0c33 100644 --- a/tools/cache/reflector_test.go +++ b/tools/cache/reflector_test.go @@ -24,11 +24,11 @@ import ( "testing" "time" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/util/wait" + "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/util/wait" - "k8s.io/client-go/pkg/watch" ) var nevererrc chan error diff --git a/tools/cache/shared_informer.go b/tools/cache/shared_informer.go index 7687bca4..678f2e7a 100644 --- a/tools/cache/shared_informer.go +++ b/tools/cache/shared_informer.go @@ -21,9 +21,9 @@ import ( "sync" "time" - "k8s.io/client-go/pkg/runtime" - utilruntime "k8s.io/client-go/pkg/util/runtime" - "k8s.io/client-go/pkg/util/wait" + "k8s.io/apimachinery/pkg/runtime" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" + "k8s.io/apimachinery/pkg/util/wait" "github.com/golang/glog" ) @@ -43,7 +43,7 @@ type SharedInformer interface { AddEventHandler(handler ResourceEventHandler) error GetStore() Store // GetController gives back a synthetic interface that "votes" to start the informer - GetController() ControllerInterface + GetController() Controller Run(stopCh <-chan struct{}) HasSynced() bool LastSyncResourceVersion() string @@ -108,7 +108,7 @@ func WaitForCacheSync(stopCh <-chan struct{}, cacheSyncs ...InformerSynced) bool type sharedIndexInformer struct { indexer Indexer - controller *Controller + controller Controller processor *sharedProcessor cacheMutationDetector CacheMutationDetector @@ -145,6 +145,10 @@ func (v *dummyController) HasSynced() bool { return v.informer.HasSynced() } +func (c *dummyController) LastSyncResourceVersion() string { + return "" +} + type updateNotification struct { oldObj interface{} newObj interface{} @@ -232,7 +236,7 @@ func (s *sharedIndexInformer) AddIndexers(indexers Indexers) error { return s.indexer.AddIndexers(indexers) } -func (s *sharedIndexInformer) GetController() ControllerInterface { +func (s *sharedIndexInformer) GetController() Controller { return &dummyController{informer: s} } diff --git a/tools/cache/store.go b/tools/cache/store.go index d8e65e49..ee6b3bd4 100755 --- a/tools/cache/store.go +++ b/tools/cache/store.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "k8s.io/client-go/pkg/api/meta" + "k8s.io/apimachinery/pkg/api/meta" ) // Store is a generic object storage interface. Reflector knows how to watch a server diff --git a/tools/cache/store_test.go b/tools/cache/store_test.go index 9c9655fd..52c9585a 100644 --- a/tools/cache/store_test.go +++ b/tools/cache/store_test.go @@ -19,7 +19,7 @@ package cache import ( "testing" - "k8s.io/client-go/pkg/util/sets" + "k8s.io/apimachinery/pkg/util/sets" ) // Test public interface diff --git a/tools/cache/testing/fake_controller_source.go b/tools/cache/testing/fake_controller_source.go index d51b086d..c0b04ad3 100644 --- a/tools/cache/testing/fake_controller_source.go +++ b/tools/cache/testing/fake_controller_source.go @@ -22,12 +22,12 @@ import ( "strconv" "sync" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/types" + "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/pkg/api" - "k8s.io/client-go/pkg/api/meta" "k8s.io/client-go/pkg/api/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/types" - "k8s.io/client-go/pkg/watch" ) func NewFakeControllerSource() *FakeControllerSource { diff --git a/tools/cache/testing/fake_controller_source_test.go b/tools/cache/testing/fake_controller_source_test.go index c558cda4..55af8c53 100644 --- a/tools/cache/testing/fake_controller_source_test.go +++ b/tools/cache/testing/fake_controller_source_test.go @@ -20,9 +20,9 @@ import ( "sync" "testing" + "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/api/v1" - "k8s.io/client-go/pkg/watch" ) // ensure the watch delivers the requested and only the requested items. diff --git a/tools/cache/thread_safe_store.go b/tools/cache/thread_safe_store.go index 1f5fb354..4d6a0129 100644 --- a/tools/cache/thread_safe_store.go +++ b/tools/cache/thread_safe_store.go @@ -20,7 +20,7 @@ import ( "fmt" "sync" - "k8s.io/client-go/pkg/util/sets" + "k8s.io/apimachinery/pkg/util/sets" ) // ThreadSafeStore is an interface that allows concurrent access to a storage backend. diff --git a/tools/clientcmd/api/latest/latest.go b/tools/clientcmd/api/latest/latest.go index b8792373..5fbbe3f1 100644 --- a/tools/clientcmd/api/latest/latest.go +++ b/tools/clientcmd/api/latest/latest.go @@ -17,10 +17,10 @@ limitations under the License. package latest import ( - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/runtime/serializer/json" - "k8s.io/client-go/pkg/runtime/serializer/versioning" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/serializer/json" + "k8s.io/apimachinery/pkg/runtime/serializer/versioning" "k8s.io/client-go/tools/clientcmd/api" "k8s.io/client-go/tools/clientcmd/api/v1" ) diff --git a/tools/clientcmd/api/register.go b/tools/clientcmd/api/register.go index 08e55976..2eec3881 100644 --- a/tools/clientcmd/api/register.go +++ b/tools/clientcmd/api/register.go @@ -17,8 +17,8 @@ limitations under the License. package api import ( - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) // SchemeGroupVersion is group version used to register these objects diff --git a/tools/clientcmd/api/types.go b/tools/clientcmd/api/types.go index af4d9fef..fa9d40a9 100644 --- a/tools/clientcmd/api/types.go +++ b/tools/clientcmd/api/types.go @@ -17,7 +17,7 @@ limitations under the License. package api import ( - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" ) // Where possible, json tags match the cli argument names. diff --git a/tools/clientcmd/api/v1/conversion.go b/tools/clientcmd/api/v1/conversion.go index 61bc4793..b47bfbca 100644 --- a/tools/clientcmd/api/v1/conversion.go +++ b/tools/clientcmd/api/v1/conversion.go @@ -19,8 +19,8 @@ package v1 import ( "sort" - "k8s.io/client-go/pkg/conversion" - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/tools/clientcmd/api" ) diff --git a/tools/clientcmd/api/v1/register.go b/tools/clientcmd/api/v1/register.go index 213a5fc4..bc87706d 100644 --- a/tools/clientcmd/api/v1/register.go +++ b/tools/clientcmd/api/v1/register.go @@ -17,8 +17,8 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) // SchemeGroupVersion is group version used to register these objects diff --git a/tools/clientcmd/api/v1/types.go b/tools/clientcmd/api/v1/types.go index a61b6cb8..a0777ba5 100644 --- a/tools/clientcmd/api/v1/types.go +++ b/tools/clientcmd/api/v1/types.go @@ -17,7 +17,7 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" ) // Where possible, json tags match the cli argument names. diff --git a/tools/clientcmd/client_config.go b/tools/clientcmd/client_config.go index 385ade58..66206879 100644 --- a/tools/clientcmd/client_config.go +++ b/tools/clientcmd/client_config.go @@ -439,19 +439,46 @@ func (config *DirectClientConfig) getCluster() (clientcmdapi.Cluster, error) { } // inClusterClientConfig makes a config that will work from within a kubernetes cluster container environment. -type inClusterClientConfig struct{} +// Can take options overrides for flags explicitly provided to the command inside the cluster container. +type inClusterClientConfig struct { + overrides *ConfigOverrides + inClusterConfigProvider func() (*rest.Config, error) +} -var _ ClientConfig = inClusterClientConfig{} +var _ ClientConfig = &inClusterClientConfig{} -func (inClusterClientConfig) RawConfig() (clientcmdapi.Config, error) { +func (config *inClusterClientConfig) RawConfig() (clientcmdapi.Config, error) { return clientcmdapi.Config{}, fmt.Errorf("inCluster environment config doesn't support multiple clusters") } -func (inClusterClientConfig) ClientConfig() (*rest.Config, error) { - return rest.InClusterConfig() +func (config *inClusterClientConfig) ClientConfig() (*rest.Config, error) { + if config.inClusterConfigProvider == nil { + config.inClusterConfigProvider = rest.InClusterConfig + } + + icc, err := config.inClusterConfigProvider() + if err != nil { + return nil, err + } + + // in-cluster configs only takes a host, token, or CA file + // if any of them were individually provided, ovewrite anything else + if config.overrides != nil { + if server := config.overrides.ClusterInfo.Server; len(server) > 0 { + icc.Host = server + } + if token := config.overrides.AuthInfo.Token; len(token) > 0 { + icc.BearerToken = token + } + if certificateAuthorityFile := config.overrides.ClusterInfo.CertificateAuthority; len(certificateAuthorityFile) > 0 { + icc.TLSClientConfig.CAFile = certificateAuthorityFile + } + } + + return icc, err } -func (inClusterClientConfig) Namespace() (string, bool, error) { +func (config *inClusterClientConfig) Namespace() (string, bool, error) { // This way assumes you've set the POD_NAMESPACE environment variable using the downward API. // This check has to be done first for backwards compatibility with the way InClusterConfig was originally set up if ns := os.Getenv("POD_NAMESPACE"); ns != "" { @@ -468,12 +495,12 @@ func (inClusterClientConfig) Namespace() (string, bool, error) { return "default", false, nil } -func (inClusterClientConfig) ConfigAccess() ConfigAccess { +func (config *inClusterClientConfig) ConfigAccess() ConfigAccess { return NewDefaultClientConfigLoadingRules() } // Possible returns true if loading an inside-kubernetes-cluster is possible. -func (inClusterClientConfig) Possible() bool { +func (config *inClusterClientConfig) Possible() bool { fi, err := os.Stat("/var/run/secrets/kubernetes.io/serviceaccount/token") return os.Getenv("KUBERNETES_SERVICE_HOST") != "" && os.Getenv("KUBERNETES_SERVICE_PORT") != "" && diff --git a/tools/clientcmd/client_config_test.go b/tools/clientcmd/client_config_test.go index 3b9d43e0..c78cca27 100644 --- a/tools/clientcmd/client_config_test.go +++ b/tools/clientcmd/client_config_test.go @@ -24,6 +24,7 @@ import ( "testing" "github.com/imdario/mergo" + "k8s.io/client-go/rest" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) @@ -372,6 +373,120 @@ func TestCreateMissingContext(t *testing.T) { } } +func TestInClusterClientConfigPrecedence(t *testing.T) { + tt := []struct { + overrides *ConfigOverrides + }{ + { + overrides: &ConfigOverrides{ + ClusterInfo: clientcmdapi.Cluster{ + Server: "https://host-from-overrides.com", + }, + }, + }, + { + overrides: &ConfigOverrides{ + AuthInfo: clientcmdapi.AuthInfo{ + Token: "https://host-from-overrides.com", + }, + }, + }, + { + overrides: &ConfigOverrides{ + ClusterInfo: clientcmdapi.Cluster{ + CertificateAuthority: "/path/to/ca-from-overrides.crt", + }, + }, + }, + { + overrides: &ConfigOverrides{ + ClusterInfo: clientcmdapi.Cluster{ + Server: "https://host-from-overrides.com", + }, + AuthInfo: clientcmdapi.AuthInfo{ + Token: "https://host-from-overrides.com", + }, + }, + }, + { + overrides: &ConfigOverrides{ + ClusterInfo: clientcmdapi.Cluster{ + Server: "https://host-from-overrides.com", + CertificateAuthority: "/path/to/ca-from-overrides.crt", + }, + }, + }, + { + overrides: &ConfigOverrides{ + ClusterInfo: clientcmdapi.Cluster{ + CertificateAuthority: "/path/to/ca-from-overrides.crt", + }, + AuthInfo: clientcmdapi.AuthInfo{ + Token: "https://host-from-overrides.com", + }, + }, + }, + { + overrides: &ConfigOverrides{ + ClusterInfo: clientcmdapi.Cluster{ + Server: "https://host-from-overrides.com", + CertificateAuthority: "/path/to/ca-from-overrides.crt", + }, + AuthInfo: clientcmdapi.AuthInfo{ + Token: "https://host-from-overrides.com", + }, + }, + }, + { + overrides: &ConfigOverrides{}, + }, + } + + for _, tc := range tt { + expectedServer := "https://host-from-cluster.com" + expectedToken := "token-from-cluster" + expectedCAFile := "/path/to/ca-from-cluster.crt" + + icc := &inClusterClientConfig{ + inClusterConfigProvider: func() (*rest.Config, error) { + return &rest.Config{ + Host: expectedServer, + BearerToken: expectedToken, + TLSClientConfig: rest.TLSClientConfig{ + CAFile: expectedCAFile, + }, + }, nil + }, + overrides: tc.overrides, + } + + clientConfig, err := icc.ClientConfig() + if err != nil { + t.Fatalf("Unxpected error: %v", err) + } + + if overridenServer := tc.overrides.ClusterInfo.Server; len(overridenServer) > 0 { + expectedServer = overridenServer + } + if overridenToken := tc.overrides.AuthInfo.Token; len(overridenToken) > 0 { + expectedToken = overridenToken + } + if overridenCAFile := tc.overrides.ClusterInfo.CertificateAuthority; len(overridenCAFile) > 0 { + expectedCAFile = overridenCAFile + } + + if clientConfig.Host != expectedServer { + t.Errorf("Expected server %v, got %v", expectedServer, clientConfig.Host) + } + if clientConfig.BearerToken != expectedToken { + t.Errorf("Expected token %v, got %v", expectedToken, clientConfig.BearerToken) + } + if clientConfig.TLSClientConfig.CAFile != expectedCAFile { + t.Errorf("Expected Certificate Authority %v, got %v", expectedCAFile, clientConfig.TLSClientConfig.CAFile) + } + } +} + func matchBoolArg(expected, got bool, t *testing.T) { if expected != got { t.Errorf("Expected %v, got %v", expected, got) diff --git a/tools/clientcmd/loader.go b/tools/clientcmd/loader.go index 7b251b11..5fcc0ad5 100644 --- a/tools/clientcmd/loader.go +++ b/tools/clientcmd/loader.go @@ -30,9 +30,9 @@ import ( "github.com/golang/glog" "github.com/imdario/mergo" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - utilerrors "k8s.io/client-go/pkg/util/errors" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + utilerrors "k8s.io/apimachinery/pkg/util/errors" "k8s.io/client-go/pkg/util/homedir" "k8s.io/client-go/rest" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" diff --git a/tools/clientcmd/loader_test.go b/tools/clientcmd/loader_test.go index ca824b3f..2558243d 100644 --- a/tools/clientcmd/loader_test.go +++ b/tools/clientcmd/loader_test.go @@ -28,7 +28,7 @@ import ( "github.com/ghodss/yaml" - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" clientcmdlatest "k8s.io/client-go/tools/clientcmd/api/latest" ) diff --git a/tools/clientcmd/merged_client_builder.go b/tools/clientcmd/merged_client_builder.go index 5343509c..ef15deed 100644 --- a/tools/clientcmd/merged_client_builder.go +++ b/tools/clientcmd/merged_client_builder.go @@ -51,12 +51,12 @@ type InClusterConfig interface { // NewNonInteractiveDeferredLoadingClientConfig creates a ConfigClientClientConfig using the passed context name func NewNonInteractiveDeferredLoadingClientConfig(loader ClientConfigLoader, overrides *ConfigOverrides) ClientConfig { - return &DeferredLoadingClientConfig{loader: loader, overrides: overrides, icc: inClusterClientConfig{}} + return &DeferredLoadingClientConfig{loader: loader, overrides: overrides, icc: &inClusterClientConfig{overrides: overrides}} } // NewInteractiveDeferredLoadingClientConfig creates a ConfigClientClientConfig using the passed context name and the fallback auth reader func NewInteractiveDeferredLoadingClientConfig(loader ClientConfigLoader, overrides *ConfigOverrides, fallbackReader io.Reader) ClientConfig { - return &DeferredLoadingClientConfig{loader: loader, overrides: overrides, icc: inClusterClientConfig{}, fallbackReader: fallbackReader} + return &DeferredLoadingClientConfig{loader: loader, overrides: overrides, icc: &inClusterClientConfig{overrides: overrides}, fallbackReader: fallbackReader} } func (config *DeferredLoadingClientConfig) createClientConfig() (ClientConfig, error) { diff --git a/tools/clientcmd/overrides.go b/tools/clientcmd/overrides.go index 965eca64..8622981a 100644 --- a/tools/clientcmd/overrides.go +++ b/tools/clientcmd/overrides.go @@ -126,6 +126,18 @@ const ( FlagTimeout = "request-timeout" ) +// RecommendedConfigOverrideFlags is a convenience method to return recommended flag names prefixed with a string of your choosing +func RecommendedConfigOverrideFlags(prefix string) ConfigOverrideFlags { + return ConfigOverrideFlags{ + AuthOverrideFlags: RecommendedAuthOverrideFlags(prefix), + ClusterOverrideFlags: RecommendedClusterOverrideFlags(prefix), + ContextOverrideFlags: RecommendedContextOverrideFlags(prefix), + + CurrentContext: FlagInfo{prefix + FlagContext, "", "", "The name of the kubeconfig context to use"}, + Timeout: FlagInfo{prefix + FlagTimeout, "", "0", "The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests."}, + } +} + // RecommendedAuthOverrideFlags is a convenience method to return recommended flag names prefixed with a string of your choosing func RecommendedAuthOverrideFlags(prefix string) AuthOverrideFlags { return AuthOverrideFlags{ @@ -148,18 +160,6 @@ func RecommendedClusterOverrideFlags(prefix string) ClusterOverrideFlags { } } -// RecommendedConfigOverrideFlags is a convenience method to return recommended flag names prefixed with a string of your choosing -func RecommendedConfigOverrideFlags(prefix string) ConfigOverrideFlags { - return ConfigOverrideFlags{ - AuthOverrideFlags: RecommendedAuthOverrideFlags(prefix), - ClusterOverrideFlags: RecommendedClusterOverrideFlags(prefix), - ContextOverrideFlags: RecommendedContextOverrideFlags(prefix), - - CurrentContext: FlagInfo{prefix + FlagContext, "", "", "The name of the kubeconfig context to use"}, - Timeout: FlagInfo{prefix + FlagTimeout, "", "0", "The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests."}, - } -} - // RecommendedContextOverrideFlags is a convenience method to return recommended flag names prefixed with a string of your choosing func RecommendedContextOverrideFlags(prefix string) ContextOverrideFlags { return ContextOverrideFlags{ @@ -169,6 +169,15 @@ func RecommendedContextOverrideFlags(prefix string) ContextOverrideFlags { } } +// BindOverrideFlags is a convenience method to bind the specified flags to their associated variables +func BindOverrideFlags(overrides *ConfigOverrides, flags *pflag.FlagSet, flagNames ConfigOverrideFlags) { + BindAuthInfoFlags(&overrides.AuthInfo, flags, flagNames.AuthOverrideFlags) + BindClusterFlags(&overrides.ClusterInfo, flags, flagNames.ClusterOverrideFlags) + BindContextFlags(&overrides.Context, flags, flagNames.ContextOverrideFlags) + flagNames.CurrentContext.BindStringFlag(flags, &overrides.CurrentContext) + flagNames.Timeout.BindStringFlag(flags, &overrides.Timeout) +} + // BindAuthInfoFlags is a convenience method to bind the specified flags to their associated variables func BindAuthInfoFlags(authInfo *clientcmdapi.AuthInfo, flags *pflag.FlagSet, flagNames AuthOverrideFlags) { flagNames.ClientCertificate.BindStringFlag(flags, &authInfo.ClientCertificate) @@ -189,15 +198,6 @@ func BindClusterFlags(clusterInfo *clientcmdapi.Cluster, flags *pflag.FlagSet, f flagNames.InsecureSkipTLSVerify.BindBoolFlag(flags, &clusterInfo.InsecureSkipTLSVerify) } -// BindOverrideFlags is a convenience method to bind the specified flags to their associated variables -func BindOverrideFlags(overrides *ConfigOverrides, flags *pflag.FlagSet, flagNames ConfigOverrideFlags) { - BindAuthInfoFlags(&overrides.AuthInfo, flags, flagNames.AuthOverrideFlags) - BindClusterFlags(&overrides.ClusterInfo, flags, flagNames.ClusterOverrideFlags) - BindContextFlags(&overrides.Context, flags, flagNames.ContextOverrideFlags) - flagNames.CurrentContext.BindStringFlag(flags, &overrides.CurrentContext) - flagNames.Timeout.BindStringFlag(flags, &overrides.Timeout) -} - // BindFlags is a convenience method to bind the specified flags to their associated variables func BindContextFlags(contextInfo *clientcmdapi.Context, flags *pflag.FlagSet, flagNames ContextOverrideFlags) { flagNames.ClusterName.BindStringFlag(flags, &contextInfo.Cluster) diff --git a/tools/clientcmd/validation.go b/tools/clientcmd/validation.go index 284245e9..ceeeb042 100644 --- a/tools/clientcmd/validation.go +++ b/tools/clientcmd/validation.go @@ -23,8 +23,8 @@ import ( "reflect" "strings" - utilerrors "k8s.io/client-go/pkg/util/errors" - "k8s.io/client-go/pkg/util/validation" + utilerrors "k8s.io/apimachinery/pkg/util/errors" + "k8s.io/apimachinery/pkg/util/validation" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) diff --git a/tools/clientcmd/validation_test.go b/tools/clientcmd/validation_test.go index 87ca4b03..ab7dc268 100644 --- a/tools/clientcmd/validation_test.go +++ b/tools/clientcmd/validation_test.go @@ -22,7 +22,7 @@ import ( "strings" "testing" - utilerrors "k8s.io/client-go/pkg/util/errors" + utilerrors "k8s.io/apimachinery/pkg/util/errors" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) diff --git a/tools/metrics/OWNERS b/tools/metrics/OWNERS new file mode 100755 index 00000000..ff517980 --- /dev/null +++ b/tools/metrics/OWNERS @@ -0,0 +1,7 @@ +reviewers: +- wojtek-t +- eparis +- krousey +- jayunit100 +- fgrzadkowski +- tmrts diff --git a/tools/portforward/portforward.go b/tools/portforward/portforward.go index 2004c0bd..5b112906 100644 --- a/tools/portforward/portforward.go +++ b/tools/portforward/portforward.go @@ -27,10 +27,10 @@ import ( "strings" "sync" + "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/client-go/pkg/api" "k8s.io/client-go/pkg/kubelet/server/portforward" "k8s.io/client-go/pkg/util/httpstream" - "k8s.io/client-go/pkg/util/runtime" ) // PortForwarder knows how to listen for local connections and forward them to diff --git a/tools/record/OWNERS b/tools/record/OWNERS new file mode 100755 index 00000000..4dd54bbc --- /dev/null +++ b/tools/record/OWNERS @@ -0,0 +1,27 @@ +reviewers: +- lavalamp +- smarterclayton +- wojtek-t +- deads2k +- derekwaynecarr +- caesarxuchao +- vishh +- mikedanese +- liggitt +- nikhiljindal +- erictune +- pmorie +- dchen1107 +- saad-ali +- luxas +- yifan-gu +- eparis +- mwielgus +- timothysc +- jsafrane +- dims +- krousey +- a-robinson +- aveshagarwal +- resouer +- cjcullen diff --git a/tools/record/event.go b/tools/record/event.go index 61b6ff07..200c33df 100644 --- a/tools/record/event.go +++ b/tools/record/event.go @@ -21,13 +21,13 @@ import ( "math/rand" "time" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" + "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/pkg/api/errors" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" "k8s.io/client-go/pkg/util/clock" - utilruntime "k8s.io/client-go/pkg/util/runtime" - "k8s.io/client-go/pkg/watch" "k8s.io/client-go/rest" "net/http" diff --git a/tools/record/event_test.go b/tools/record/event_test.go index d499f89d..b9835e34 100644 --- a/tools/record/event_test.go +++ b/tools/record/event_test.go @@ -25,11 +25,11 @@ import ( "testing" "time" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + k8sruntime "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/pkg/api/errors" _ "k8s.io/client-go/pkg/api/install" // To register api.Pod used in tests below "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - k8sruntime "k8s.io/client-go/pkg/runtime" "k8s.io/client-go/pkg/util/clock" "k8s.io/client-go/pkg/util/strategicpatch" "k8s.io/client-go/rest" diff --git a/tools/record/events_cache.go b/tools/record/events_cache.go index 1b6c8964..0565f89b 100644 --- a/tools/record/events_cache.go +++ b/tools/record/events_cache.go @@ -25,10 +25,10 @@ import ( "github.com/golang/groupcache/lru" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" "k8s.io/client-go/pkg/util/clock" - "k8s.io/client-go/pkg/util/sets" "k8s.io/client-go/pkg/util/strategicpatch" ) diff --git a/tools/record/events_cache_test.go b/tools/record/events_cache_test.go index e1e55500..1b60cb66 100644 --- a/tools/record/events_cache_test.go +++ b/tools/record/events_cache_test.go @@ -22,10 +22,10 @@ import ( "testing" "time" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/util/diff" "k8s.io/client-go/pkg/api/v1" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" "k8s.io/client-go/pkg/util/clock" - "k8s.io/client-go/pkg/util/diff" ) func makeObjectReference(kind, name, namespace string) v1.ObjectReference { diff --git a/tools/record/fake.go b/tools/record/fake.go index 95cc83bc..c0e8eedb 100644 --- a/tools/record/fake.go +++ b/tools/record/fake.go @@ -19,8 +19,8 @@ package record import ( "fmt" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" ) // FakeRecorder is used as a fake during tests. It is thread safe. It is usable diff --git a/transport/OWNERS b/transport/OWNERS new file mode 100755 index 00000000..bf0ba5b9 --- /dev/null +++ b/transport/OWNERS @@ -0,0 +1,7 @@ +reviewers: +- smarterclayton +- wojtek-t +- deads2k +- liggitt +- krousey +- caesarxuchao diff --git a/transport/cache.go b/transport/cache.go index 6e52d771..8d76def3 100644 --- a/transport/cache.go +++ b/transport/cache.go @@ -23,7 +23,7 @@ import ( "sync" "time" - utilnet "k8s.io/client-go/pkg/util/net" + utilnet "k8s.io/apimachinery/pkg/util/net" ) // TlsTransportCache caches TLS http.RoundTrippers different configurations. The diff --git a/vendor/github.com/pborman/uuid/CONTRIBUTORS b/vendor/github.com/pborman/uuid/CONTRIBUTORS deleted file mode 100644 index b382a04e..00000000 --- a/vendor/github.com/pborman/uuid/CONTRIBUTORS +++ /dev/null @@ -1 +0,0 @@ -Paul Borman diff --git a/vendor/github.com/pborman/uuid/LICENSE b/vendor/github.com/pborman/uuid/LICENSE deleted file mode 100644 index 5dc68268..00000000 --- a/vendor/github.com/pborman/uuid/LICENSE +++ /dev/null @@ -1,27 +0,0 @@ -Copyright (c) 2009,2014 Google Inc. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/github.com/pborman/uuid/dce.go b/vendor/github.com/pborman/uuid/dce.go deleted file mode 100755 index 50a0f2d0..00000000 --- a/vendor/github.com/pborman/uuid/dce.go +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2011 Google Inc. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package uuid - -import ( - "encoding/binary" - "fmt" - "os" -) - -// A Domain represents a Version 2 domain -type Domain byte - -// Domain constants for DCE Security (Version 2) UUIDs. -const ( - Person = Domain(0) - Group = Domain(1) - Org = Domain(2) -) - -// NewDCESecurity returns a DCE Security (Version 2) UUID. -// -// The domain should be one of Person, Group or Org. -// On a POSIX system the id should be the users UID for the Person -// domain and the users GID for the Group. The meaning of id for -// the domain Org or on non-POSIX systems is site defined. -// -// For a given domain/id pair the same token may be returned for up to -// 7 minutes and 10 seconds. -func NewDCESecurity(domain Domain, id uint32) UUID { - uuid := NewUUID() - if uuid != nil { - uuid[6] = (uuid[6] & 0x0f) | 0x20 // Version 2 - uuid[9] = byte(domain) - binary.BigEndian.PutUint32(uuid[0:], id) - } - return uuid -} - -// NewDCEPerson returns a DCE Security (Version 2) UUID in the person -// domain with the id returned by os.Getuid. -// -// NewDCEPerson(Person, uint32(os.Getuid())) -func NewDCEPerson() UUID { - return NewDCESecurity(Person, uint32(os.Getuid())) -} - -// NewDCEGroup returns a DCE Security (Version 2) UUID in the group -// domain with the id returned by os.Getgid. -// -// NewDCEGroup(Group, uint32(os.Getgid())) -func NewDCEGroup() UUID { - return NewDCESecurity(Group, uint32(os.Getgid())) -} - -// Domain returns the domain for a Version 2 UUID or false. -func (uuid UUID) Domain() (Domain, bool) { - if v, _ := uuid.Version(); v != 2 { - return 0, false - } - return Domain(uuid[9]), true -} - -// Id returns the id for a Version 2 UUID or false. -func (uuid UUID) Id() (uint32, bool) { - if v, _ := uuid.Version(); v != 2 { - return 0, false - } - return binary.BigEndian.Uint32(uuid[0:4]), true -} - -func (d Domain) String() string { - switch d { - case Person: - return "Person" - case Group: - return "Group" - case Org: - return "Org" - } - return fmt.Sprintf("Domain%d", int(d)) -} diff --git a/vendor/github.com/pborman/uuid/doc.go b/vendor/github.com/pborman/uuid/doc.go deleted file mode 100755 index d8bd013e..00000000 --- a/vendor/github.com/pborman/uuid/doc.go +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright 2011 Google Inc. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// The uuid package generates and inspects UUIDs. -// -// UUIDs are based on RFC 4122 and DCE 1.1: Authentication and Security Services. -package uuid diff --git a/vendor/github.com/pborman/uuid/hash.go b/vendor/github.com/pborman/uuid/hash.go deleted file mode 100644 index cdd4192f..00000000 --- a/vendor/github.com/pborman/uuid/hash.go +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2011 Google Inc. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package uuid - -import ( - "crypto/md5" - "crypto/sha1" - "hash" -) - -// Well known Name Space IDs and UUIDs -var ( - NameSpace_DNS = Parse("6ba7b810-9dad-11d1-80b4-00c04fd430c8") - NameSpace_URL = Parse("6ba7b811-9dad-11d1-80b4-00c04fd430c8") - NameSpace_OID = Parse("6ba7b812-9dad-11d1-80b4-00c04fd430c8") - NameSpace_X500 = Parse("6ba7b814-9dad-11d1-80b4-00c04fd430c8") - NIL = Parse("00000000-0000-0000-0000-000000000000") -) - -// NewHash returns a new UUID dervied from the hash of space concatenated with -// data generated by h. The hash should be at least 16 byte in length. The -// first 16 bytes of the hash are used to form the UUID. The version of the -// UUID will be the lower 4 bits of version. NewHash is used to implement -// NewMD5 and NewSHA1. -func NewHash(h hash.Hash, space UUID, data []byte, version int) UUID { - h.Reset() - h.Write(space) - h.Write([]byte(data)) - s := h.Sum(nil) - uuid := make([]byte, 16) - copy(uuid, s) - uuid[6] = (uuid[6] & 0x0f) | uint8((version&0xf)<<4) - uuid[8] = (uuid[8] & 0x3f) | 0x80 // RFC 4122 variant - return uuid -} - -// NewMD5 returns a new MD5 (Version 3) UUID based on the -// supplied name space and data. -// -// NewHash(md5.New(), space, data, 3) -func NewMD5(space UUID, data []byte) UUID { - return NewHash(md5.New(), space, data, 3) -} - -// NewSHA1 returns a new SHA1 (Version 5) UUID based on the -// supplied name space and data. -// -// NewHash(sha1.New(), space, data, 5) -func NewSHA1(space UUID, data []byte) UUID { - return NewHash(sha1.New(), space, data, 5) -} diff --git a/vendor/github.com/pborman/uuid/json.go b/vendor/github.com/pborman/uuid/json.go deleted file mode 100644 index 760580a5..00000000 --- a/vendor/github.com/pborman/uuid/json.go +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2014 Google Inc. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package uuid - -import "errors" - -func (u UUID) MarshalJSON() ([]byte, error) { - if len(u) == 0 { - return []byte(`""`), nil - } - return []byte(`"` + u.String() + `"`), nil -} - -func (u *UUID) UnmarshalJSON(data []byte) error { - if len(data) == 0 || string(data) == `""` { - return nil - } - if len(data) < 2 || data[0] != '"' || data[len(data)-1] != '"' { - return errors.New("invalid UUID format") - } - data = data[1 : len(data)-1] - uu := Parse(string(data)) - if uu == nil { - return errors.New("invalid UUID format") - } - *u = uu - return nil -} diff --git a/vendor/github.com/pborman/uuid/node.go b/vendor/github.com/pborman/uuid/node.go deleted file mode 100755 index dd0a8ac1..00000000 --- a/vendor/github.com/pborman/uuid/node.go +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2011 Google Inc. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package uuid - -import "net" - -var ( - interfaces []net.Interface // cached list of interfaces - ifname string // name of interface being used - nodeID []byte // hardware for version 1 UUIDs -) - -// NodeInterface returns the name of the interface from which the NodeID was -// derived. The interface "user" is returned if the NodeID was set by -// SetNodeID. -func NodeInterface() string { - return ifname -} - -// SetNodeInterface selects the hardware address to be used for Version 1 UUIDs. -// If name is "" then the first usable interface found will be used or a random -// Node ID will be generated. If a named interface cannot be found then false -// is returned. -// -// SetNodeInterface never fails when name is "". -func SetNodeInterface(name string) bool { - if interfaces == nil { - var err error - interfaces, err = net.Interfaces() - if err != nil && name != "" { - return false - } - } - - for _, ifs := range interfaces { - if len(ifs.HardwareAddr) >= 6 && (name == "" || name == ifs.Name) { - if setNodeID(ifs.HardwareAddr) { - ifname = ifs.Name - return true - } - } - } - - // We found no interfaces with a valid hardware address. If name - // does not specify a specific interface generate a random Node ID - // (section 4.1.6) - if name == "" { - if nodeID == nil { - nodeID = make([]byte, 6) - } - randomBits(nodeID) - return true - } - return false -} - -// NodeID returns a slice of a copy of the current Node ID, setting the Node ID -// if not already set. -func NodeID() []byte { - if nodeID == nil { - SetNodeInterface("") - } - nid := make([]byte, 6) - copy(nid, nodeID) - return nid -} - -// SetNodeID sets the Node ID to be used for Version 1 UUIDs. The first 6 bytes -// of id are used. If id is less than 6 bytes then false is returned and the -// Node ID is not set. -func SetNodeID(id []byte) bool { - if setNodeID(id) { - ifname = "user" - return true - } - return false -} - -func setNodeID(id []byte) bool { - if len(id) < 6 { - return false - } - if nodeID == nil { - nodeID = make([]byte, 6) - } - copy(nodeID, id) - return true -} - -// NodeID returns the 6 byte node id encoded in uuid. It returns nil if uuid is -// not valid. The NodeID is only well defined for version 1 and 2 UUIDs. -func (uuid UUID) NodeID() []byte { - if len(uuid) != 16 { - return nil - } - node := make([]byte, 6) - copy(node, uuid[10:]) - return node -} diff --git a/vendor/github.com/pborman/uuid/time.go b/vendor/github.com/pborman/uuid/time.go deleted file mode 100755 index 7ebc9bef..00000000 --- a/vendor/github.com/pborman/uuid/time.go +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright 2014 Google Inc. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package uuid - -import ( - "encoding/binary" - "sync" - "time" -) - -// A Time represents a time as the number of 100's of nanoseconds since 15 Oct -// 1582. -type Time int64 - -const ( - lillian = 2299160 // Julian day of 15 Oct 1582 - unix = 2440587 // Julian day of 1 Jan 1970 - epoch = unix - lillian // Days between epochs - g1582 = epoch * 86400 // seconds between epochs - g1582ns100 = g1582 * 10000000 // 100s of a nanoseconds between epochs -) - -var ( - mu sync.Mutex - lasttime uint64 // last time we returned - clock_seq uint16 // clock sequence for this run - - timeNow = time.Now // for testing -) - -// UnixTime converts t the number of seconds and nanoseconds using the Unix -// epoch of 1 Jan 1970. -func (t Time) UnixTime() (sec, nsec int64) { - sec = int64(t - g1582ns100) - nsec = (sec % 10000000) * 100 - sec /= 10000000 - return sec, nsec -} - -// GetTime returns the current Time (100s of nanoseconds since 15 Oct 1582) and -// clock sequence as well as adjusting the clock sequence as needed. An error -// is returned if the current time cannot be determined. -func GetTime() (Time, uint16, error) { - defer mu.Unlock() - mu.Lock() - return getTime() -} - -func getTime() (Time, uint16, error) { - t := timeNow() - - // If we don't have a clock sequence already, set one. - if clock_seq == 0 { - setClockSequence(-1) - } - now := uint64(t.UnixNano()/100) + g1582ns100 - - // If time has gone backwards with this clock sequence then we - // increment the clock sequence - if now <= lasttime { - clock_seq = ((clock_seq + 1) & 0x3fff) | 0x8000 - } - lasttime = now - return Time(now), clock_seq, nil -} - -// ClockSequence returns the current clock sequence, generating one if not -// already set. The clock sequence is only used for Version 1 UUIDs. -// -// The uuid package does not use global static storage for the clock sequence or -// the last time a UUID was generated. Unless SetClockSequence a new random -// clock sequence is generated the first time a clock sequence is requested by -// ClockSequence, GetTime, or NewUUID. (section 4.2.1.1) sequence is generated -// for -func ClockSequence() int { - defer mu.Unlock() - mu.Lock() - return clockSequence() -} - -func clockSequence() int { - if clock_seq == 0 { - setClockSequence(-1) - } - return int(clock_seq & 0x3fff) -} - -// SetClockSeq sets the clock sequence to the lower 14 bits of seq. Setting to -// -1 causes a new sequence to be generated. -func SetClockSequence(seq int) { - defer mu.Unlock() - mu.Lock() - setClockSequence(seq) -} - -func setClockSequence(seq int) { - if seq == -1 { - var b [2]byte - randomBits(b[:]) // clock sequence - seq = int(b[0])<<8 | int(b[1]) - } - old_seq := clock_seq - clock_seq = uint16(seq&0x3fff) | 0x8000 // Set our variant - if old_seq != clock_seq { - lasttime = 0 - } -} - -// Time returns the time in 100s of nanoseconds since 15 Oct 1582 encoded in -// uuid. It returns false if uuid is not valid. The time is only well defined -// for version 1 and 2 UUIDs. -func (uuid UUID) Time() (Time, bool) { - if len(uuid) != 16 { - return 0, false - } - time := int64(binary.BigEndian.Uint32(uuid[0:4])) - time |= int64(binary.BigEndian.Uint16(uuid[4:6])) << 32 - time |= int64(binary.BigEndian.Uint16(uuid[6:8])&0xfff) << 48 - return Time(time), true -} - -// ClockSequence returns the clock sequence encoded in uuid. It returns false -// if uuid is not valid. The clock sequence is only well defined for version 1 -// and 2 UUIDs. -func (uuid UUID) ClockSequence() (int, bool) { - if len(uuid) != 16 { - return 0, false - } - return int(binary.BigEndian.Uint16(uuid[8:10])) & 0x3fff, true -} diff --git a/vendor/github.com/pborman/uuid/util.go b/vendor/github.com/pborman/uuid/util.go deleted file mode 100644 index de40b102..00000000 --- a/vendor/github.com/pborman/uuid/util.go +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2011 Google Inc. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package uuid - -import ( - "io" -) - -// randomBits completely fills slice b with random data. -func randomBits(b []byte) { - if _, err := io.ReadFull(rander, b); err != nil { - panic(err.Error()) // rand should never fail - } -} - -// xvalues returns the value of a byte as a hexadecimal digit or 255. -var xvalues = []byte{ - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 255, 255, 255, 255, 255, 255, - 255, 10, 11, 12, 13, 14, 15, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 10, 11, 12, 13, 14, 15, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, -} - -// xtob converts the the first two hex bytes of x into a byte. -func xtob(x string) (byte, bool) { - b1 := xvalues[x[0]] - b2 := xvalues[x[1]] - return (b1 << 4) | b2, b1 != 255 && b2 != 255 -} diff --git a/vendor/github.com/pborman/uuid/uuid.go b/vendor/github.com/pborman/uuid/uuid.go deleted file mode 100755 index 2920fae6..00000000 --- a/vendor/github.com/pborman/uuid/uuid.go +++ /dev/null @@ -1,163 +0,0 @@ -// Copyright 2011 Google Inc. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package uuid - -import ( - "bytes" - "crypto/rand" - "fmt" - "io" - "strings" -) - -// A UUID is a 128 bit (16 byte) Universal Unique IDentifier as defined in RFC -// 4122. -type UUID []byte - -// A Version represents a UUIDs version. -type Version byte - -// A Variant represents a UUIDs variant. -type Variant byte - -// Constants returned by Variant. -const ( - Invalid = Variant(iota) // Invalid UUID - RFC4122 // The variant specified in RFC4122 - Reserved // Reserved, NCS backward compatibility. - Microsoft // Reserved, Microsoft Corporation backward compatibility. - Future // Reserved for future definition. -) - -var rander = rand.Reader // random function - -// New returns a new random (version 4) UUID as a string. It is a convenience -// function for NewRandom().String(). -func New() string { - return NewRandom().String() -} - -// Parse decodes s into a UUID or returns nil. Both the UUID form of -// xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx and -// urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx are decoded. -func Parse(s string) UUID { - if len(s) == 36+9 { - if strings.ToLower(s[:9]) != "urn:uuid:" { - return nil - } - s = s[9:] - } else if len(s) != 36 { - return nil - } - if s[8] != '-' || s[13] != '-' || s[18] != '-' || s[23] != '-' { - return nil - } - uuid := make([]byte, 16) - for i, x := range []int{ - 0, 2, 4, 6, - 9, 11, - 14, 16, - 19, 21, - 24, 26, 28, 30, 32, 34} { - if v, ok := xtob(s[x:]); !ok { - return nil - } else { - uuid[i] = v - } - } - return uuid -} - -// Equal returns true if uuid1 and uuid2 are equal. -func Equal(uuid1, uuid2 UUID) bool { - return bytes.Equal(uuid1, uuid2) -} - -// String returns the string form of uuid, xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -// , or "" if uuid is invalid. -func (uuid UUID) String() string { - if uuid == nil || len(uuid) != 16 { - return "" - } - b := []byte(uuid) - return fmt.Sprintf("%08x-%04x-%04x-%04x-%012x", - b[:4], b[4:6], b[6:8], b[8:10], b[10:]) -} - -// URN returns the RFC 2141 URN form of uuid, -// urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, or "" if uuid is invalid. -func (uuid UUID) URN() string { - if uuid == nil || len(uuid) != 16 { - return "" - } - b := []byte(uuid) - return fmt.Sprintf("urn:uuid:%08x-%04x-%04x-%04x-%012x", - b[:4], b[4:6], b[6:8], b[8:10], b[10:]) -} - -// Variant returns the variant encoded in uuid. It returns Invalid if -// uuid is invalid. -func (uuid UUID) Variant() Variant { - if len(uuid) != 16 { - return Invalid - } - switch { - case (uuid[8] & 0xc0) == 0x80: - return RFC4122 - case (uuid[8] & 0xe0) == 0xc0: - return Microsoft - case (uuid[8] & 0xe0) == 0xe0: - return Future - default: - return Reserved - } - panic("unreachable") -} - -// Version returns the verison of uuid. It returns false if uuid is not -// valid. -func (uuid UUID) Version() (Version, bool) { - if len(uuid) != 16 { - return 0, false - } - return Version(uuid[6] >> 4), true -} - -func (v Version) String() string { - if v > 15 { - return fmt.Sprintf("BAD_VERSION_%d", v) - } - return fmt.Sprintf("VERSION_%d", v) -} - -func (v Variant) String() string { - switch v { - case RFC4122: - return "RFC4122" - case Reserved: - return "Reserved" - case Microsoft: - return "Microsoft" - case Future: - return "Future" - case Invalid: - return "Invalid" - } - return fmt.Sprintf("BadVariant%d", int(v)) -} - -// SetRand sets the random number generator to r, which implents io.Reader. -// If r.Read returns an error when the package requests random data then -// a panic will be issued. -// -// Calling SetRand with nil sets the random number generator to the default -// generator. -func SetRand(r io.Reader) { - if r == nil { - rander = rand.Reader - return - } - rander = r -} diff --git a/vendor/github.com/pborman/uuid/version1.go b/vendor/github.com/pborman/uuid/version1.go deleted file mode 100644 index 0127eacf..00000000 --- a/vendor/github.com/pborman/uuid/version1.go +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2011 Google Inc. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package uuid - -import ( - "encoding/binary" -) - -// NewUUID returns a Version 1 UUID based on the current NodeID and clock -// sequence, and the current time. If the NodeID has not been set by SetNodeID -// or SetNodeInterface then it will be set automatically. If the NodeID cannot -// be set NewUUID returns nil. If clock sequence has not been set by -// SetClockSequence then it will be set automatically. If GetTime fails to -// return the current NewUUID returns nil. -func NewUUID() UUID { - if nodeID == nil { - SetNodeInterface("") - } - - now, seq, err := GetTime() - if err != nil { - return nil - } - - uuid := make([]byte, 16) - - time_low := uint32(now & 0xffffffff) - time_mid := uint16((now >> 32) & 0xffff) - time_hi := uint16((now >> 48) & 0x0fff) - time_hi |= 0x1000 // Version 1 - - binary.BigEndian.PutUint32(uuid[0:], time_low) - binary.BigEndian.PutUint16(uuid[4:], time_mid) - binary.BigEndian.PutUint16(uuid[6:], time_hi) - binary.BigEndian.PutUint16(uuid[8:], seq) - copy(uuid[10:], nodeID) - - return uuid -} diff --git a/vendor/github.com/pborman/uuid/version4.go b/vendor/github.com/pborman/uuid/version4.go deleted file mode 100644 index b3d4a368..00000000 --- a/vendor/github.com/pborman/uuid/version4.go +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2011 Google Inc. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package uuid - -// Random returns a Random (Version 4) UUID or panics. -// -// The strength of the UUIDs is based on the strength of the crypto/rand -// package. -// -// A note about uniqueness derived from from the UUID Wikipedia entry: -// -// Randomly generated UUIDs have 122 random bits. One's annual risk of being -// hit by a meteorite is estimated to be one chance in 17 billion, that -// means the probability is about 0.00000000006 (6 × 10−11), -// equivalent to the odds of creating a few tens of trillions of UUIDs in a -// year and having one duplicate. -func NewRandom() UUID { - uuid := make([]byte, 16) - randomBits([]byte(uuid)) - uuid[6] = (uuid[6] & 0x0f) | 0x40 // Version 4 - uuid[8] = (uuid[8] & 0x3f) | 0x80 // Variant is 10 - return uuid -} diff --git a/vendor/github.com/ugorji/go/codec/0doc.go b/vendor/github.com/ugorji/go/codec/0doc.go index fd1385b4..b366c5de 100644 --- a/vendor/github.com/ugorji/go/codec/0doc.go +++ b/vendor/github.com/ugorji/go/codec/0doc.go @@ -64,10 +64,11 @@ Rich Feature Set includes: - Never silently skip data when decoding. User decides whether to return an error or silently skip data when keys or indexes in the data stream do not map to fields in the struct. + - Detect and error when encoding a cyclic reference (instead of stack overflow shutdown) - Encode/Decode from/to chan types (for iterative streaming support) - Drop-in replacement for encoding/json. `json:` key in struct tag supported. - Provides a RPC Server and Client Codec for net/rpc communication protocol. - - Handle unique idiosynchracies of codecs e.g. + - Handle unique idiosyncrasies of codecs e.g. - For messagepack, configure how ambiguities in handling raw bytes are resolved - For messagepack, provide rpc server/client codec to support msgpack-rpc protocol defined at: @@ -171,6 +172,8 @@ package codec // TODO: // +// - optimization for codecgen: +// if len of entity is <= 3 words, then support a value receiver for encode. // - (En|De)coder should store an error when it occurs. // Until reset, subsequent calls return that error that was stored. // This means that free panics must go away. @@ -178,16 +181,19 @@ package codec // - Decoding using a chan is good, but incurs concurrency costs. // This is because there's no fast way to use a channel without it // having to switch goroutines constantly. -// Callback pattern is still the best. Maybe cnsider supporting something like: +// Callback pattern is still the best. Maybe consider supporting something like: // type X struct { // Name string // Ys []Y // Ys chan <- Y -// Ys func(interface{}) -> call this interface for each entry in there. +// Ys func(Y) -> call this function for each entry // } // - Consider adding a isZeroer interface { isZero() bool } // It is used within isEmpty, for omitEmpty support. // - Consider making Handle used AS-IS within the encoding/decoding session. // This means that we don't cache Handle information within the (En|De)coder, // except we really need it at Reset(...) -// - Handle recursive types during encoding/decoding? +// - Consider adding math/big support +// - Consider reducing the size of the generated functions: +// Maybe use one loop, and put the conditionals in the loop. +// for ... { if cLen > 0 { if j == cLen { break } } else if dd.CheckBreak() { break } } diff --git a/vendor/github.com/ugorji/go/codec/README.md b/vendor/github.com/ugorji/go/codec/README.md index a790a52b..91cb3a27 100644 --- a/vendor/github.com/ugorji/go/codec/README.md +++ b/vendor/github.com/ugorji/go/codec/README.md @@ -68,7 +68,7 @@ Rich Feature Set includes: - Encode/Decode from/to chan types (for iterative streaming support) - Drop-in replacement for encoding/json. `json:` key in struct tag supported. - Provides a RPC Server and Client Codec for net/rpc communication protocol. - - Handle unique idiosynchracies of codecs e.g. + - Handle unique idiosyncrasies of codecs e.g. - For messagepack, configure how ambiguities in handling raw bytes are resolved - For messagepack, provide rpc server/client codec to support msgpack-rpc protocol defined at: diff --git a/vendor/github.com/ugorji/go/codec/binc.go b/vendor/github.com/ugorji/go/codec/binc.go index c884d14d..33120dcb 100644 --- a/vendor/github.com/ugorji/go/codec/binc.go +++ b/vendor/github.com/ugorji/go/codec/binc.go @@ -348,6 +348,13 @@ func (d *bincDecDriver) readNextBd() { d.bdRead = true } +func (d *bincDecDriver) uncacheRead() { + if d.bdRead { + d.r.unreadn1() + d.bdRead = false + } +} + func (d *bincDecDriver) ContainerType() (vt valueType) { if d.vd == bincVdSpecial && d.vs == bincSpNil { return valueTypeNil @@ -705,7 +712,7 @@ func (d *bincDecDriver) decStringAndBytes(bs []byte, withString, zerocopy bool) } func (d *bincDecDriver) DecodeString() (s string) { - // DecodeBytes does not accomodate symbols, whose impl stores string version in map. + // DecodeBytes does not accommodate symbols, whose impl stores string version in map. // Use decStringAndBytes directly. // return string(d.DecodeBytes(d.b[:], true, true)) _, s = d.decStringAndBytes(d.b[:], true, true) @@ -908,10 +915,14 @@ func (h *BincHandle) newDecDriver(d *Decoder) decDriver { func (e *bincEncDriver) reset() { e.w = e.e.w + e.s = 0 + e.m = nil } func (d *bincDecDriver) reset() { d.r = d.d.r + d.s = nil + d.bd, d.bdRead, d.vd, d.vs = 0, false, 0, 0 } var _ decDriver = (*bincDecDriver)(nil) diff --git a/vendor/github.com/ugorji/go/codec/cbor.go b/vendor/github.com/ugorji/go/codec/cbor.go index 0e5d32b2..4fa349ac 100644 --- a/vendor/github.com/ugorji/go/codec/cbor.go +++ b/vendor/github.com/ugorji/go/codec/cbor.go @@ -188,6 +188,13 @@ func (d *cborDecDriver) readNextBd() { d.bdRead = true } +func (d *cborDecDriver) uncacheRead() { + if d.bdRead { + d.r.unreadn1() + d.bdRead = false + } +} + func (d *cborDecDriver) ContainerType() (vt valueType) { if d.bd == cborBdNil { return valueTypeNil @@ -508,7 +515,7 @@ func (d *cborDecDriver) DecodeNaked() { n.v = valueTypeExt n.u = d.decUint() n.l = nil - d.bdRead = false + // d.bdRead = false // d.d.decode(&re.Value) // handled by decode itself. // decodeFurther = true default: @@ -578,6 +585,7 @@ func (e *cborEncDriver) reset() { func (d *cborDecDriver) reset() { d.r = d.d.r + d.bd, d.bdRead = 0, false } var _ decDriver = (*cborDecDriver)(nil) diff --git a/vendor/github.com/ugorji/go/codec/decode.go b/vendor/github.com/ugorji/go/codec/decode.go index b3b99f03..52c1dfe8 100644 --- a/vendor/github.com/ugorji/go/codec/decode.go +++ b/vendor/github.com/ugorji/go/codec/decode.go @@ -91,10 +91,12 @@ type decDriver interface { uncacheRead() } -type decNoSeparator struct{} +type decNoSeparator struct { +} -func (_ decNoSeparator) ReadEnd() {} -func (_ decNoSeparator) uncacheRead() {} +func (_ decNoSeparator) ReadEnd() {} + +// func (_ decNoSeparator) uncacheRead() {} type DecodeOptions struct { // MapType specifies type to use during schema-less decoding of a map in the stream. @@ -161,6 +163,15 @@ type DecodeOptions struct { // Note: Handles will be smart when using the intern functionality. // So everything will not be interned. InternString bool + + // PreferArrayOverSlice controls whether to decode to an array or a slice. + // + // This only impacts decoding into a nil interface{}. + // Consequently, it has no effect on codecgen. + // + // *Note*: This only applies if using go1.5 and above, + // as it requires reflect.ArrayOf support which was absent before go1.5. + PreferArrayOverSlice bool } // ------------------------------------ @@ -433,6 +444,10 @@ func (f *decFnInfo) rawExt(rv reflect.Value) { f.d.d.DecodeExt(rv.Addr().Interface(), 0, nil) } +func (f *decFnInfo) raw(rv reflect.Value) { + rv.SetBytes(f.d.raw()) +} + func (f *decFnInfo) ext(rv reflect.Value) { f.d.d.DecodeExt(rv.Addr().Interface(), f.xfTag, f.xfFn) } @@ -583,14 +598,16 @@ func (f *decFnInfo) kInterfaceNaked() (rvn reflect.Value) { if d.mtid == 0 || d.mtid == mapIntfIntfTypId { l := len(n.ms) n.ms = append(n.ms, nil) - d.decode(&n.ms[l]) - rvn = reflect.ValueOf(&n.ms[l]).Elem() + var v2 interface{} = &n.ms[l] + d.decode(v2) + rvn = reflect.ValueOf(v2).Elem() n.ms = n.ms[:l] } else if d.mtid == mapStrIntfTypId { // for json performance l := len(n.ns) n.ns = append(n.ns, nil) - d.decode(&n.ns[l]) - rvn = reflect.ValueOf(&n.ns[l]).Elem() + var v2 interface{} = &n.ns[l] + d.decode(v2) + rvn = reflect.ValueOf(v2).Elem() n.ns = n.ns[:l] } else { rvn = reflect.New(d.h.MapType).Elem() @@ -601,9 +618,13 @@ func (f *decFnInfo) kInterfaceNaked() (rvn reflect.Value) { if d.stid == 0 || d.stid == intfSliceTypId { l := len(n.ss) n.ss = append(n.ss, nil) - d.decode(&n.ss[l]) - rvn = reflect.ValueOf(&n.ss[l]).Elem() + var v2 interface{} = &n.ss[l] + d.decode(v2) n.ss = n.ss[:l] + rvn = reflect.ValueOf(v2).Elem() + if reflectArrayOfSupported && d.stid == 0 && d.h.PreferArrayOverSlice { + rvn = reflectArrayOf(rvn) + } } else { rvn = reflect.New(d.h.SliceType).Elem() d.decodeValue(rvn, nil) @@ -615,9 +636,9 @@ func (f *decFnInfo) kInterfaceNaked() (rvn reflect.Value) { l := len(n.is) n.is = append(n.is, nil) v2 := &n.is[l] - n.is = n.is[:l] d.decode(v2) v = *v2 + n.is = n.is[:l] } bfn := d.h.getExtForTag(tag) if bfn == nil { @@ -1166,7 +1187,7 @@ type decRtidFn struct { // primitives are being decoded. // // maps and arrays are not handled by this mechanism. -// However, RawExt is, and we accomodate for extensions that decode +// However, RawExt is, and we accommodate for extensions that decode // RawExt from DecodeNaked, but need to decode the value subsequently. // kInterfaceNaked and swallow, which call DecodeNaked, handle this caveat. // @@ -1453,8 +1474,8 @@ func (d *Decoder) swallow() { l := len(n.is) n.is = append(n.is, nil) v2 := &n.is[l] - n.is = n.is[:l] d.decode(v2) + n.is = n.is[:l] } } } @@ -1504,6 +1525,8 @@ func (d *Decoder) decode(iv interface{}) { *v = 0 case *[]uint8: *v = nil + case *Raw: + *v = nil case reflect.Value: if v.Kind() != reflect.Ptr || v.IsNil() { d.errNotValidPtrValue(v) @@ -1543,7 +1566,6 @@ func (d *Decoder) decode(iv interface{}) { d.decodeValueNotNil(v.Elem(), nil) case *string: - *v = d.d.DecodeString() case *bool: *v = d.d.DecodeBool() @@ -1574,6 +1596,9 @@ func (d *Decoder) decode(iv interface{}) { case *[]uint8: *v = d.d.DecodeBytes(*v, false, false) + case *Raw: + *v = d.raw() + case *interface{}: d.decodeValueNotNil(reflect.ValueOf(iv).Elem(), nil) @@ -1695,6 +1720,8 @@ func (d *Decoder) getDecFn(rt reflect.Type, checkFastpath, checkCodecSelfer bool fn.f = (*decFnInfo).selferUnmarshal } else if rtid == rawExtTypId { fn.f = (*decFnInfo).rawExt + } else if rtid == rawTypId { + fn.f = (*decFnInfo).raw } else if d.d.IsBuiltinType(rtid) { fn.f = (*decFnInfo).builtin } else if xfFn := d.h.getExt(rtid); xfFn != nil { @@ -1793,12 +1820,13 @@ func (d *Decoder) getDecFn(rt reflect.Type, checkFastpath, checkCodecSelfer bool } func (d *Decoder) structFieldNotFound(index int, rvkencname string) { + // NOTE: rvkencname may be a stringView, so don't pass it to another function. if d.h.ErrorIfNoField { if index >= 0 { d.errorf("no matching struct field found when decoding stream array at index %v", index) return } else if rvkencname != "" { - d.errorf("no matching struct field found when decoding stream map with key %s", rvkencname) + d.errorf("no matching struct field found when decoding stream map with key " + rvkencname) return } } @@ -1862,6 +1890,7 @@ func (d *Decoder) intern(s string) { } } +// nextValueBytes returns the next value in the stream as a set of bytes. func (d *Decoder) nextValueBytes() []byte { d.d.uncacheRead() d.r.track() @@ -1869,6 +1898,15 @@ func (d *Decoder) nextValueBytes() []byte { return d.r.stopTrack() } +func (d *Decoder) raw() []byte { + // ensure that this is not a view into the bytes + // i.e. make new copy always. + bs := d.nextValueBytes() + bs2 := make([]byte, len(bs)) + copy(bs2, bs) + return bs2 +} + // -------------------------------------------------- // decSliceHelper assists when decoding into a slice, from a map or an array in the stream. diff --git a/vendor/github.com/ugorji/go/codec/decode_go.go b/vendor/github.com/ugorji/go/codec/decode_go.go new file mode 100644 index 00000000..ba289cef --- /dev/null +++ b/vendor/github.com/ugorji/go/codec/decode_go.go @@ -0,0 +1,16 @@ +// Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. +// Use of this source code is governed by a MIT license found in the LICENSE file. + +// +build go1.5 + +package codec + +import "reflect" + +const reflectArrayOfSupported = true + +func reflectArrayOf(rvn reflect.Value) (rvn2 reflect.Value) { + rvn2 = reflect.New(reflect.ArrayOf(rvn.Len(), intfTyp)).Elem() + reflect.Copy(rvn2, rvn) + return +} diff --git a/vendor/github.com/ugorji/go/codec/decode_go14.go b/vendor/github.com/ugorji/go/codec/decode_go14.go new file mode 100644 index 00000000..50063bc8 --- /dev/null +++ b/vendor/github.com/ugorji/go/codec/decode_go14.go @@ -0,0 +1,14 @@ +// Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. +// Use of this source code is governed by a MIT license found in the LICENSE file. + +// +build !go1.5 + +package codec + +import "reflect" + +const reflectArrayOfSupported = false + +func reflectArrayOf(rvn reflect.Value) (rvn2 reflect.Value) { + panic("reflect.ArrayOf unsupported") +} diff --git a/vendor/github.com/ugorji/go/codec/encode.go b/vendor/github.com/ugorji/go/codec/encode.go index 99af6fa5..c2cef812 100644 --- a/vendor/github.com/ugorji/go/codec/encode.go +++ b/vendor/github.com/ugorji/go/codec/encode.go @@ -110,6 +110,28 @@ type EncodeOptions struct { // Canonical bool + // CheckCircularRef controls whether we check for circular references + // and error fast during an encode. + // + // If enabled, an error is received if a pointer to a struct + // references itself either directly or through one of its fields (iteratively). + // + // This is opt-in, as there may be a performance hit to checking circular references. + CheckCircularRef bool + + // RecursiveEmptyCheck controls whether we descend into interfaces, structs and pointers + // when checking if a value is empty. + // + // Note that this may make OmitEmpty more expensive, as it incurs a lot more reflect calls. + RecursiveEmptyCheck bool + + // Raw controls whether we encode Raw values. + // This is a "dangerous" option and must be explicitly set. + // If set, we blindly encode Raw values as-is, without checking + // if they are a correct representation of a value in that format. + // If unset, we error out. + Raw bool + // AsSymbols defines what should be encoded as symbols. // // Encoding as symbols can reduce the encoded size significantly. @@ -132,13 +154,16 @@ type simpleIoEncWriterWriter struct { w io.Writer bw io.ByteWriter sw ioEncStringWriter + bs [1]byte } func (o *simpleIoEncWriterWriter) WriteByte(c byte) (err error) { if o.bw != nil { return o.bw.WriteByte(c) } - _, err = o.w.Write([]byte{c}) + // _, err = o.w.Write([]byte{c}) + o.bs[0] = c + _, err = o.w.Write(o.bs[:]) return } @@ -210,45 +235,57 @@ type bytesEncWriter struct { } func (z *bytesEncWriter) writeb(s []byte) { - if len(s) > 0 { - c := z.grow(len(s)) - copy(z.b[c:], s) + if len(s) == 0 { + return } + oc, a := z.growNoAlloc(len(s)) + if a { + z.growAlloc(len(s), oc) + } + copy(z.b[oc:], s) } func (z *bytesEncWriter) writestr(s string) { - if len(s) > 0 { - c := z.grow(len(s)) - copy(z.b[c:], s) + if len(s) == 0 { + return } + oc, a := z.growNoAlloc(len(s)) + if a { + z.growAlloc(len(s), oc) + } + copy(z.b[oc:], s) } func (z *bytesEncWriter) writen1(b1 byte) { - c := z.grow(1) - z.b[c] = b1 + oc, a := z.growNoAlloc(1) + if a { + z.growAlloc(1, oc) + } + z.b[oc] = b1 } func (z *bytesEncWriter) writen2(b1 byte, b2 byte) { - c := z.grow(2) - z.b[c] = b1 - z.b[c+1] = b2 + oc, a := z.growNoAlloc(2) + if a { + z.growAlloc(2, oc) + } + z.b[oc+1] = b2 + z.b[oc] = b1 } func (z *bytesEncWriter) atEndOfEncode() { *(z.out) = z.b[:z.c] } -func (z *bytesEncWriter) grow(n int) (oldcursor int) { +// have a growNoalloc(n int), which can be inlined. +// if allocation is needed, then call growAlloc(n int) + +func (z *bytesEncWriter) growNoAlloc(n int) (oldcursor int, allocNeeded bool) { oldcursor = z.c - z.c = oldcursor + n + z.c = z.c + n if z.c > len(z.b) { if z.c > cap(z.b) { - // appendslice logic (if cap < 1024, *2, else *1.25): more expensive. many copy calls. - // bytes.Buffer model (2*cap + n): much better - // bs := make([]byte, 2*cap(z.b)+n) - bs := make([]byte, growCap(cap(z.b), 1, n)) - copy(bs, z.b[:oldcursor]) - z.b = bs + allocNeeded = true } else { z.b = z.b[:cap(z.b)] } @@ -256,6 +293,15 @@ func (z *bytesEncWriter) grow(n int) (oldcursor int) { return } +func (z *bytesEncWriter) growAlloc(n int, oldcursor int) { + // appendslice logic (if cap < 1024, *2, else *1.25): more expensive. many copy calls. + // bytes.Buffer model (2*cap + n): much better + // bs := make([]byte, 2*cap(z.b)+n) + bs := make([]byte, growCap(cap(z.b), 1, n)) + copy(bs, z.b[:oldcursor]) + z.b = bs +} + // --------------------------------------------- type encFnInfo struct { @@ -270,6 +316,10 @@ func (f *encFnInfo) builtin(rv reflect.Value) { f.e.e.EncodeBuiltin(f.ti.rtid, rv.Interface()) } +func (f *encFnInfo) raw(rv reflect.Value) { + f.e.raw(rv.Interface().(Raw)) +} + func (f *encFnInfo) rawExt(rv reflect.Value) { // rev := rv.Interface().(RawExt) // f.e.e.EncodeRawExt(&rev, f.e) @@ -296,7 +346,7 @@ func (f *encFnInfo) getValueForMarshalInterface(rv reflect.Value, indir int8) (v v = rv.Interface() } else if indir == -1 { // If a non-pointer was passed to Encode(), then that value is not addressable. - // Take addr if addresable, else copy value to an addressable value. + // Take addr if addressable, else copy value to an addressable value. if rv.CanAddr() { v = rv.Addr().Interface() } else { @@ -464,7 +514,7 @@ func (f *encFnInfo) kSlice(rv reflect.Value) { for j := 0; j < l; j++ { if cr != nil { if ti.mbs { - if l%2 == 0 { + if j%2 == 0 { cr.sendContainerState(containerMapKey) } else { cr.sendContainerState(containerMapValue) @@ -503,7 +553,7 @@ func (f *encFnInfo) kStruct(rv reflect.Value) { newlen := len(fti.sfi) // Use sync.Pool to reduce allocating slices unnecessarily. - // The cost of the occasional locking is less than the cost of new allocation. + // The cost of sync.Pool is less than the cost of new allocation. pool, poolv, fkvs := encStructPoolGet(newlen) // if toMap, use the sorted array. If toArray, use unsorted array (to match sequence in struct) @@ -512,25 +562,20 @@ func (f *encFnInfo) kStruct(rv reflect.Value) { } newlen = 0 var kv stringRv + recur := e.h.RecursiveEmptyCheck for _, si := range tisfi { kv.r = si.field(rv, false) - // if si.i != -1 { - // rvals[newlen] = rv.Field(int(si.i)) - // } else { - // rvals[newlen] = rv.FieldByIndex(si.is) - // } if toMap { - if si.omitEmpty && isEmptyValue(kv.r) { + if si.omitEmpty && isEmptyValue(kv.r, recur, recur) { continue } kv.v = si.encName } else { // use the zero value. // if a reference or struct, set to nil (so you do not output too much) - if si.omitEmpty && isEmptyValue(kv.r) { + if si.omitEmpty && isEmptyValue(kv.r, recur, recur) { switch kv.r.Kind() { - case reflect.Struct, reflect.Interface, reflect.Ptr, reflect.Array, - reflect.Map, reflect.Slice: + case reflect.Struct, reflect.Interface, reflect.Ptr, reflect.Array, reflect.Map, reflect.Slice: kv.r = reflect.Value{} //encode as nil } } @@ -541,7 +586,7 @@ func (f *encFnInfo) kStruct(rv reflect.Value) { // debugf(">>>> kStruct: newlen: %v", newlen) // sep := !e.be - ee := e.e //don't dereference everytime + ee := e.e //don't dereference every time if toMap { ee.EncodeMapStart(newlen) @@ -596,13 +641,15 @@ func (f *encFnInfo) kStruct(rv reflect.Value) { // f.e.encodeValue(rv.Elem()) // } -func (f *encFnInfo) kInterface(rv reflect.Value) { - if rv.IsNil() { - f.e.e.EncodeNil() - return - } - f.e.encodeValue(rv.Elem(), nil) -} +// func (f *encFnInfo) kInterface(rv reflect.Value) { +// println("kInterface called") +// debug.PrintStack() +// if rv.IsNil() { +// f.e.e.EncodeNil() +// return +// } +// f.e.encodeValue(rv.Elem(), nil) +// } func (f *encFnInfo) kMap(rv reflect.Value) { ee := f.e.e @@ -877,6 +924,7 @@ type Encoder struct { // as the handler MAY need to do some coordination. w encWriter s []encRtidFn + ci set be bool // is binary encoding js bool // is json handle @@ -925,7 +973,7 @@ func newEncoder(h Handle) *Encoder { // Reset the Encoder with a new output stream. // -// This accomodates using the state of the Encoder, +// This accommodates using the state of the Encoder, // where it has "cached" information about sub-engines. func (e *Encoder) Reset(w io.Writer) { ww, ok := w.(ioEncWriterWriter) @@ -1032,20 +1080,6 @@ func (e *Encoder) MustEncode(v interface{}) { e.w.atEndOfEncode() } -// comment out these (Must)Write methods. They were only put there to support cbor. -// However, users already have access to the streams, and can write directly. -// -// // Write allows users write to the Encoder stream directly. -// func (e *Encoder) Write(bs []byte) (err error) { -// defer panicToErr(&err) -// e.w.writeb(bs) -// return -// } -// // MustWrite is like write, but panics if unable to Write. -// func (e *Encoder) MustWrite(bs []byte) { -// e.w.writeb(bs) -// } - func (e *Encoder) encode(iv interface{}) { // if ics, ok := iv.(Selfer); ok { // ics.CodecEncodeSelf(e) @@ -1057,7 +1091,8 @@ func (e *Encoder) encode(iv interface{}) { e.e.EncodeNil() case Selfer: v.CodecEncodeSelf(e) - + case Raw: + e.raw(v) case reflect.Value: e.encodeValue(v, nil) @@ -1133,20 +1168,23 @@ func (e *Encoder) encode(iv interface{}) { } } -func (e *Encoder) encodeI(iv interface{}, checkFastpath, checkCodecSelfer bool) { - if rv, proceed := e.preEncodeValue(reflect.ValueOf(iv)); proceed { - rt := rv.Type() - rtid := reflect.ValueOf(rt).Pointer() - fn := e.getEncFn(rtid, rt, checkFastpath, checkCodecSelfer) - fn.f(&fn.i, rv) - } -} - -func (e *Encoder) preEncodeValue(rv reflect.Value) (rv2 reflect.Value, proceed bool) { +func (e *Encoder) preEncodeValue(rv reflect.Value) (rv2 reflect.Value, sptr uintptr, proceed bool) { // use a goto statement instead of a recursive function for ptr/interface. TOP: switch rv.Kind() { - case reflect.Ptr, reflect.Interface: + case reflect.Ptr: + if rv.IsNil() { + e.e.EncodeNil() + return + } + rv = rv.Elem() + if e.h.CheckCircularRef && rv.Kind() == reflect.Struct { + // TODO: Movable pointers will be an issue here. Future problem. + sptr = rv.UnsafeAddr() + break TOP + } + goto TOP + case reflect.Interface: if rv.IsNil() { e.e.EncodeNil() return @@ -1163,18 +1201,40 @@ TOP: return } - return rv, true + proceed = true + rv2 = rv + return +} + +func (e *Encoder) doEncodeValue(rv reflect.Value, fn *encFn, sptr uintptr, + checkFastpath, checkCodecSelfer bool) { + if sptr != 0 { + if (&e.ci).add(sptr) { + e.errorf("circular reference found: # %d", sptr) + } + } + if fn == nil { + rt := rv.Type() + rtid := reflect.ValueOf(rt).Pointer() + // fn = e.getEncFn(rtid, rt, true, true) + fn = e.getEncFn(rtid, rt, checkFastpath, checkCodecSelfer) + } + fn.f(&fn.i, rv) + if sptr != 0 { + (&e.ci).remove(sptr) + } +} + +func (e *Encoder) encodeI(iv interface{}, checkFastpath, checkCodecSelfer bool) { + if rv, sptr, proceed := e.preEncodeValue(reflect.ValueOf(iv)); proceed { + e.doEncodeValue(rv, nil, sptr, checkFastpath, checkCodecSelfer) + } } func (e *Encoder) encodeValue(rv reflect.Value, fn *encFn) { // if a valid fn is passed, it MUST BE for the dereferenced type of rv - if rv, proceed := e.preEncodeValue(rv); proceed { - if fn == nil { - rt := rv.Type() - rtid := reflect.ValueOf(rt).Pointer() - fn = e.getEncFn(rtid, rt, true, true) - } - fn.f(&fn.i, rv) + if rv, sptr, proceed := e.preEncodeValue(rv); proceed { + e.doEncodeValue(rv, fn, sptr, true, true) } } @@ -1217,6 +1277,8 @@ func (e *Encoder) getEncFn(rtid uintptr, rt reflect.Type, checkFastpath, checkCo if checkCodecSelfer && ti.cs { fn.f = (*encFnInfo).selferMarshal + } else if rtid == rawTypId { + fn.f = (*encFnInfo).raw } else if rtid == rawExtTypId { fn.f = (*encFnInfo).rawExt } else if e.e.IsBuiltinType(rtid) { @@ -1234,7 +1296,7 @@ func (e *Encoder) getEncFn(rtid uintptr, rt reflect.Type, checkFastpath, checkCo } else { rk := rt.Kind() if fastpathEnabled && checkFastpath && (rk == reflect.Map || rk == reflect.Slice) { - if rt.PkgPath() == "" { + if rt.PkgPath() == "" { // un-named slice or map if idx := fastpathAV.index(rtid); idx != -1 { fn.f = fastpathAV[idx].encfn } @@ -1284,10 +1346,11 @@ func (e *Encoder) getEncFn(rtid uintptr, rt reflect.Type, checkFastpath, checkCo fn.f = (*encFnInfo).kSlice case reflect.Struct: fn.f = (*encFnInfo).kStruct + // reflect.Ptr and reflect.Interface are handled already by preEncodeValue // case reflect.Ptr: // fn.f = (*encFnInfo).kPtr - case reflect.Interface: - fn.f = (*encFnInfo).kInterface + // case reflect.Interface: + // fn.f = (*encFnInfo).kInterface case reflect.Map: fn.f = (*encFnInfo).kMap default: @@ -1320,6 +1383,18 @@ func (e *Encoder) asis(v []byte) { } } +func (e *Encoder) raw(vv Raw) { + v := []byte(vv) + if !e.h.Raw { + e.errorf("Raw values cannot be encoded: %v", v) + } + if e.as == nil { + e.w.writeb(v) + } else { + e.as.EncodeAsis(v) + } +} + func (e *Encoder) errorf(format string, params ...interface{}) { err := fmt.Errorf(format, params...) panic(err) @@ -1353,25 +1428,6 @@ func encStructPoolGet(newlen int) (p *sync.Pool, v interface{}, s []stringRv) { // panic(errors.New("encStructPoolLen must be equal to 4")) // defensive, in case it is changed // } // idxpool := newlen / 8 - - // if pool == nil { - // fkvs = make([]stringRv, newlen) - // } else { - // poolv = pool.Get() - // switch vv := poolv.(type) { - // case *[8]stringRv: - // fkvs = vv[:newlen] - // case *[16]stringRv: - // fkvs = vv[:newlen] - // case *[32]stringRv: - // fkvs = vv[:newlen] - // case *[64]stringRv: - // fkvs = vv[:newlen] - // case *[128]stringRv: - // fkvs = vv[:newlen] - // } - // } - if newlen <= 8 { p = &encStructPool[0] v = p.Get() diff --git a/vendor/github.com/ugorji/go/codec/fast-path.generated.go b/vendor/github.com/ugorji/go/codec/fast-path.generated.go index d968a500..f2e5d2dc 100644 --- a/vendor/github.com/ugorji/go/codec/fast-path.generated.go +++ b/vendor/github.com/ugorji/go/codec/fast-path.generated.go @@ -23,7 +23,7 @@ package codec // Currently support // - slice of all builtin types, // - map of all builtin types to string or interface value -// - symetrical maps of all builtin types (e.g. str-str, uint8-uint8) +// - symmetrical maps of all builtin types (e.g. str-str, uint8-uint8) // This should provide adequate "typical" implementations. // // Note that fast track decode functions must handle values for which an address cannot be obtained. @@ -38,6 +38,8 @@ import ( "sort" ) +const fastpathEnabled = true + const fastpathCheckNilFalse = false // for reflect const fastpathCheckNilTrue = true // for type switch @@ -81,9 +83,6 @@ var fastpathAV fastpathA // due to possible initialization loop error, make fastpath in an init() func init() { - if !fastpathEnabled { - return - } i := 0 fn := func(v interface{}, fe func(*encFnInfo, reflect.Value), fd func(*decFnInfo, reflect.Value)) (f fastpathE) { xrt := reflect.TypeOf(v) @@ -373,9 +372,6 @@ func init() { // -- -- fast path type switch func fastpathEncodeTypeSwitch(iv interface{}, e *Encoder) bool { - if !fastpathEnabled { - return false - } switch v := iv.(type) { case []interface{}: @@ -1741,9 +1737,6 @@ func fastpathEncodeTypeSwitch(iv interface{}, e *Encoder) bool { } func fastpathEncodeTypeSwitchSlice(iv interface{}, e *Encoder) bool { - if !fastpathEnabled { - return false - } switch v := iv.(type) { case []interface{}: @@ -1829,9 +1822,6 @@ func fastpathEncodeTypeSwitchSlice(iv interface{}, e *Encoder) bool { } func fastpathEncodeTypeSwitchMap(iv interface{}, e *Encoder) bool { - if !fastpathEnabled { - return false - } switch v := iv.(type) { case map[interface{}]interface{}: @@ -3124,7 +3114,11 @@ func fastpathEncodeTypeSwitchMap(iv interface{}, e *Encoder) bool { // -- -- fast path functions func (f *encFnInfo) fastpathEncSliceIntfR(rv reflect.Value) { - fastpathTV.EncSliceIntfV(rv.Interface().([]interface{}), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceIntfV(rv.Interface().([]interface{}), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceIntfV(rv.Interface().([]interface{}), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceIntfV(v []interface{}, checkNil bool, e *Encoder) { ee := e.e @@ -3145,8 +3139,39 @@ func (_ fastpathT) EncSliceIntfV(v []interface{}, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceIntfV(v []interface{}, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + e.encode(v2) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncSliceStringR(rv reflect.Value) { - fastpathTV.EncSliceStringV(rv.Interface().([]string), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceStringV(rv.Interface().([]string), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceStringV(rv.Interface().([]string), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceStringV(v []string, checkNil bool, e *Encoder) { ee := e.e @@ -3167,8 +3192,39 @@ func (_ fastpathT) EncSliceStringV(v []string, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceStringV(v []string, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + ee.EncodeString(c_UTF8, v2) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncSliceFloat32R(rv reflect.Value) { - fastpathTV.EncSliceFloat32V(rv.Interface().([]float32), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceFloat32V(rv.Interface().([]float32), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceFloat32V(rv.Interface().([]float32), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceFloat32V(v []float32, checkNil bool, e *Encoder) { ee := e.e @@ -3189,8 +3245,39 @@ func (_ fastpathT) EncSliceFloat32V(v []float32, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceFloat32V(v []float32, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + ee.EncodeFloat32(v2) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncSliceFloat64R(rv reflect.Value) { - fastpathTV.EncSliceFloat64V(rv.Interface().([]float64), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceFloat64V(rv.Interface().([]float64), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceFloat64V(rv.Interface().([]float64), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceFloat64V(v []float64, checkNil bool, e *Encoder) { ee := e.e @@ -3211,8 +3298,39 @@ func (_ fastpathT) EncSliceFloat64V(v []float64, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceFloat64V(v []float64, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + ee.EncodeFloat64(v2) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncSliceUintR(rv reflect.Value) { - fastpathTV.EncSliceUintV(rv.Interface().([]uint), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceUintV(rv.Interface().([]uint), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceUintV(rv.Interface().([]uint), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceUintV(v []uint, checkNil bool, e *Encoder) { ee := e.e @@ -3233,8 +3351,39 @@ func (_ fastpathT) EncSliceUintV(v []uint, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceUintV(v []uint, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + ee.EncodeUint(uint64(v2)) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncSliceUint16R(rv reflect.Value) { - fastpathTV.EncSliceUint16V(rv.Interface().([]uint16), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceUint16V(rv.Interface().([]uint16), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceUint16V(rv.Interface().([]uint16), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceUint16V(v []uint16, checkNil bool, e *Encoder) { ee := e.e @@ -3255,8 +3404,39 @@ func (_ fastpathT) EncSliceUint16V(v []uint16, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceUint16V(v []uint16, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + ee.EncodeUint(uint64(v2)) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncSliceUint32R(rv reflect.Value) { - fastpathTV.EncSliceUint32V(rv.Interface().([]uint32), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceUint32V(rv.Interface().([]uint32), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceUint32V(rv.Interface().([]uint32), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceUint32V(v []uint32, checkNil bool, e *Encoder) { ee := e.e @@ -3277,8 +3457,39 @@ func (_ fastpathT) EncSliceUint32V(v []uint32, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceUint32V(v []uint32, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + ee.EncodeUint(uint64(v2)) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncSliceUint64R(rv reflect.Value) { - fastpathTV.EncSliceUint64V(rv.Interface().([]uint64), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceUint64V(rv.Interface().([]uint64), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceUint64V(rv.Interface().([]uint64), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceUint64V(v []uint64, checkNil bool, e *Encoder) { ee := e.e @@ -3299,8 +3510,39 @@ func (_ fastpathT) EncSliceUint64V(v []uint64, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceUint64V(v []uint64, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + ee.EncodeUint(uint64(v2)) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncSliceUintptrR(rv reflect.Value) { - fastpathTV.EncSliceUintptrV(rv.Interface().([]uintptr), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceUintptrV(rv.Interface().([]uintptr), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceUintptrV(rv.Interface().([]uintptr), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceUintptrV(v []uintptr, checkNil bool, e *Encoder) { ee := e.e @@ -3321,8 +3563,39 @@ func (_ fastpathT) EncSliceUintptrV(v []uintptr, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceUintptrV(v []uintptr, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + e.encode(v2) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncSliceIntR(rv reflect.Value) { - fastpathTV.EncSliceIntV(rv.Interface().([]int), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceIntV(rv.Interface().([]int), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceIntV(rv.Interface().([]int), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceIntV(v []int, checkNil bool, e *Encoder) { ee := e.e @@ -3343,8 +3616,39 @@ func (_ fastpathT) EncSliceIntV(v []int, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceIntV(v []int, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + ee.EncodeInt(int64(v2)) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncSliceInt8R(rv reflect.Value) { - fastpathTV.EncSliceInt8V(rv.Interface().([]int8), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceInt8V(rv.Interface().([]int8), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceInt8V(rv.Interface().([]int8), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceInt8V(v []int8, checkNil bool, e *Encoder) { ee := e.e @@ -3365,8 +3669,39 @@ func (_ fastpathT) EncSliceInt8V(v []int8, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceInt8V(v []int8, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + ee.EncodeInt(int64(v2)) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncSliceInt16R(rv reflect.Value) { - fastpathTV.EncSliceInt16V(rv.Interface().([]int16), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceInt16V(rv.Interface().([]int16), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceInt16V(rv.Interface().([]int16), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceInt16V(v []int16, checkNil bool, e *Encoder) { ee := e.e @@ -3387,8 +3722,39 @@ func (_ fastpathT) EncSliceInt16V(v []int16, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceInt16V(v []int16, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + ee.EncodeInt(int64(v2)) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncSliceInt32R(rv reflect.Value) { - fastpathTV.EncSliceInt32V(rv.Interface().([]int32), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceInt32V(rv.Interface().([]int32), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceInt32V(rv.Interface().([]int32), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceInt32V(v []int32, checkNil bool, e *Encoder) { ee := e.e @@ -3409,8 +3775,39 @@ func (_ fastpathT) EncSliceInt32V(v []int32, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceInt32V(v []int32, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + ee.EncodeInt(int64(v2)) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncSliceInt64R(rv reflect.Value) { - fastpathTV.EncSliceInt64V(rv.Interface().([]int64), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceInt64V(rv.Interface().([]int64), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceInt64V(rv.Interface().([]int64), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceInt64V(v []int64, checkNil bool, e *Encoder) { ee := e.e @@ -3431,8 +3828,39 @@ func (_ fastpathT) EncSliceInt64V(v []int64, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceInt64V(v []int64, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + ee.EncodeInt(int64(v2)) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncSliceBoolR(rv reflect.Value) { - fastpathTV.EncSliceBoolV(rv.Interface().([]bool), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.EncAsMapSliceBoolV(rv.Interface().([]bool), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.EncSliceBoolV(rv.Interface().([]bool), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) EncSliceBoolV(v []bool, checkNil bool, e *Encoder) { ee := e.e @@ -3453,6 +3881,33 @@ func (_ fastpathT) EncSliceBoolV(v []bool, checkNil bool, e *Encoder) { } } +func (_ fastpathT) EncAsMapSliceBoolV(v []bool, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + ee.EncodeBool(v2) + } + if cr != nil { + cr.sendContainerState(containerMapEnd) + } +} + func (f *encFnInfo) fastpathEncMapIntfIntfR(rv reflect.Value) { fastpathTV.EncMapIntfIntfV(rv.Interface().(map[interface{}]interface{}), fastpathCheckNilFalse, f.e) } @@ -15489,9 +15944,6 @@ func (_ fastpathT) EncMapBoolBoolV(v map[bool]bool, checkNil bool, e *Encoder) { // -- -- fast path type switch func fastpathDecodeTypeSwitch(iv interface{}, d *Decoder) bool { - if !fastpathEnabled { - return false - } switch v := iv.(type) { case []interface{}: @@ -17712,7 +18164,7 @@ func (_ fastpathT) DecSliceIntfV(v []interface{}, checkNil bool, canChange bool, changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -17771,7 +18223,7 @@ func (_ fastpathT) DecSliceIntfV(v []interface{}, checkNil bool, canChange bool, changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]interface{}, 1, 4) @@ -17846,7 +18298,7 @@ func (_ fastpathT) DecSliceStringV(v []string, checkNil bool, canChange bool, d changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -17905,7 +18357,7 @@ func (_ fastpathT) DecSliceStringV(v []string, checkNil bool, canChange bool, d changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]string, 1, 4) @@ -17979,7 +18431,7 @@ func (_ fastpathT) DecSliceFloat32V(v []float32, checkNil bool, canChange bool, changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -18038,7 +18490,7 @@ func (_ fastpathT) DecSliceFloat32V(v []float32, checkNil bool, canChange bool, changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]float32, 1, 4) @@ -18112,7 +18564,7 @@ func (_ fastpathT) DecSliceFloat64V(v []float64, checkNil bool, canChange bool, changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -18171,7 +18623,7 @@ func (_ fastpathT) DecSliceFloat64V(v []float64, checkNil bool, canChange bool, changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]float64, 1, 4) @@ -18245,7 +18697,7 @@ func (_ fastpathT) DecSliceUintV(v []uint, checkNil bool, canChange bool, d *Dec changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -18304,7 +18756,7 @@ func (_ fastpathT) DecSliceUintV(v []uint, checkNil bool, canChange bool, d *Dec changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]uint, 1, 4) @@ -18378,7 +18830,7 @@ func (_ fastpathT) DecSliceUint16V(v []uint16, checkNil bool, canChange bool, d changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -18437,7 +18889,7 @@ func (_ fastpathT) DecSliceUint16V(v []uint16, checkNil bool, canChange bool, d changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]uint16, 1, 4) @@ -18511,7 +18963,7 @@ func (_ fastpathT) DecSliceUint32V(v []uint32, checkNil bool, canChange bool, d changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -18570,7 +19022,7 @@ func (_ fastpathT) DecSliceUint32V(v []uint32, checkNil bool, canChange bool, d changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]uint32, 1, 4) @@ -18644,7 +19096,7 @@ func (_ fastpathT) DecSliceUint64V(v []uint64, checkNil bool, canChange bool, d changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -18703,7 +19155,7 @@ func (_ fastpathT) DecSliceUint64V(v []uint64, checkNil bool, canChange bool, d changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]uint64, 1, 4) @@ -18777,7 +19229,7 @@ func (_ fastpathT) DecSliceUintptrV(v []uintptr, checkNil bool, canChange bool, changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -18836,7 +19288,7 @@ func (_ fastpathT) DecSliceUintptrV(v []uintptr, checkNil bool, canChange bool, changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]uintptr, 1, 4) @@ -18910,7 +19362,7 @@ func (_ fastpathT) DecSliceIntV(v []int, checkNil bool, canChange bool, d *Decod changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -18969,7 +19421,7 @@ func (_ fastpathT) DecSliceIntV(v []int, checkNil bool, canChange bool, d *Decod changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]int, 1, 4) @@ -19043,7 +19495,7 @@ func (_ fastpathT) DecSliceInt8V(v []int8, checkNil bool, canChange bool, d *Dec changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -19102,7 +19554,7 @@ func (_ fastpathT) DecSliceInt8V(v []int8, checkNil bool, canChange bool, d *Dec changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]int8, 1, 4) @@ -19176,7 +19628,7 @@ func (_ fastpathT) DecSliceInt16V(v []int16, checkNil bool, canChange bool, d *D changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -19235,7 +19687,7 @@ func (_ fastpathT) DecSliceInt16V(v []int16, checkNil bool, canChange bool, d *D changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]int16, 1, 4) @@ -19309,7 +19761,7 @@ func (_ fastpathT) DecSliceInt32V(v []int32, checkNil bool, canChange bool, d *D changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -19368,7 +19820,7 @@ func (_ fastpathT) DecSliceInt32V(v []int32, checkNil bool, canChange bool, d *D changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]int32, 1, 4) @@ -19442,7 +19894,7 @@ func (_ fastpathT) DecSliceInt64V(v []int64, checkNil bool, canChange bool, d *D changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -19501,7 +19953,7 @@ func (_ fastpathT) DecSliceInt64V(v []int64, checkNil bool, canChange bool, d *D changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]int64, 1, 4) @@ -19575,7 +20027,7 @@ func (_ fastpathT) DecSliceBoolV(v []bool, checkNil bool, canChange bool, d *Dec changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -19634,7 +20086,7 @@ func (_ fastpathT) DecSliceBoolV(v []bool, checkNil bool, canChange bool, d *Dec changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]bool, 1, 4) diff --git a/vendor/github.com/ugorji/go/codec/fast-path.go.tmpl b/vendor/github.com/ugorji/go/codec/fast-path.go.tmpl index 58cc6df4..c3ffdf93 100644 --- a/vendor/github.com/ugorji/go/codec/fast-path.go.tmpl +++ b/vendor/github.com/ugorji/go/codec/fast-path.go.tmpl @@ -23,7 +23,7 @@ package codec // Currently support // - slice of all builtin types, // - map of all builtin types to string or interface value -// - symetrical maps of all builtin types (e.g. str-str, uint8-uint8) +// - symmetrical maps of all builtin types (e.g. str-str, uint8-uint8) // This should provide adequate "typical" implementations. // // Note that fast track decode functions must handle values for which an address cannot be obtained. @@ -38,6 +38,8 @@ import ( "sort" ) +const fastpathEnabled = true + const fastpathCheckNilFalse = false // for reflect const fastpathCheckNilTrue = true // for type switch @@ -81,9 +83,6 @@ var fastpathAV fastpathA // due to possible initialization loop error, make fastpath in an init() func init() { - if !fastpathEnabled { - return - } i := 0 fn := func(v interface{}, fe func(*encFnInfo, reflect.Value), fd func(*decFnInfo, reflect.Value)) (f fastpathE) { xrt := reflect.TypeOf(v) @@ -106,9 +105,6 @@ func init() { // -- -- fast path type switch func fastpathEncodeTypeSwitch(iv interface{}, e *Encoder) bool { - if !fastpathEnabled { - return false - } switch v := iv.(type) { {{range .Values}}{{if not .Primitive}}{{if not .MapKey }} case []{{ .Elem }}:{{else}} @@ -126,9 +122,6 @@ func fastpathEncodeTypeSwitch(iv interface{}, e *Encoder) bool { } func fastpathEncodeTypeSwitchSlice(iv interface{}, e *Encoder) bool { - if !fastpathEnabled { - return false - } switch v := iv.(type) { {{range .Values}}{{if not .Primitive}}{{if not .MapKey }} case []{{ .Elem }}: @@ -144,9 +137,6 @@ func fastpathEncodeTypeSwitchSlice(iv interface{}, e *Encoder) bool { } func fastpathEncodeTypeSwitchMap(iv interface{}, e *Encoder) bool { - if !fastpathEnabled { - return false - } switch v := iv.(type) { {{range .Values}}{{if not .Primitive}}{{if .MapKey }} case map[{{ .MapKey }}]{{ .Elem }}: @@ -165,7 +155,11 @@ func fastpathEncodeTypeSwitchMap(iv interface{}, e *Encoder) bool { {{range .Values}}{{if not .Primitive}}{{if not .MapKey }} func (f *encFnInfo) {{ .MethodNamePfx "fastpathEnc" false }}R(rv reflect.Value) { - fastpathTV.{{ .MethodNamePfx "Enc" false }}V(rv.Interface().([]{{ .Elem }}), fastpathCheckNilFalse, f.e) + if f.ti.mbs { + fastpathTV.{{ .MethodNamePfx "EncAsMap" false }}V(rv.Interface().([]{{ .Elem }}), fastpathCheckNilFalse, f.e) + } else { + fastpathTV.{{ .MethodNamePfx "Enc" false }}V(rv.Interface().([]{{ .Elem }}), fastpathCheckNilFalse, f.e) + } } func (_ fastpathT) {{ .MethodNamePfx "Enc" false }}V(v []{{ .Elem }}, checkNil bool, e *Encoder) { ee := e.e @@ -182,6 +176,31 @@ func (_ fastpathT) {{ .MethodNamePfx "Enc" false }}V(v []{{ .Elem }}, checkNil b if cr != nil { cr.sendContainerState(containerArrayEnd) }{{/* ee.EncodeEnd() */}} } +func (_ fastpathT) {{ .MethodNamePfx "EncAsMap" false }}V(v []{{ .Elem }}, checkNil bool, e *Encoder) { + ee := e.e + cr := e.cr + if checkNil && v == nil { + ee.EncodeNil() + return + } + if len(v)%2 == 1 { + e.errorf("mapBySlice requires even slice length, but got %v", len(v)) + return + } + ee.EncodeMapStart(len(v) / 2) + for j, v2 := range v { + if cr != nil { + if j%2 == 0 { + cr.sendContainerState(containerMapKey) + } else { + cr.sendContainerState(containerMapValue) + } + } + {{ encmd .Elem "v2"}} + } + if cr != nil { cr.sendContainerState(containerMapEnd) } +} + {{end}}{{end}}{{end}} {{range .Values}}{{if not .Primitive}}{{if .MapKey }} @@ -257,9 +276,6 @@ func (_ fastpathT) {{ .MethodNamePfx "Enc" false }}V(v map[{{ .MapKey }}]{{ .Ele // -- -- fast path type switch func fastpathDecodeTypeSwitch(iv interface{}, d *Decoder) bool { - if !fastpathEnabled { - return false - } switch v := iv.(type) { {{range .Values}}{{if not .Primitive}}{{if not .MapKey }} case []{{ .Elem }}:{{else}} @@ -328,7 +344,7 @@ func (_ fastpathT) {{ .MethodNamePfx "Dec" false }}V(v []{{ .Elem }}, checkNil b changed = true } slh.End() - return + return v, changed } if containerLenS > 0 { @@ -391,7 +407,7 @@ func (_ fastpathT) {{ .MethodNamePfx "Dec" false }}V(v []{{ .Elem }}, checkNil b changed = true } slh.End() - return + return v, changed } if cap(v) == 0 { v = make([]{{ .Elem }}, 1, 4) diff --git a/vendor/github.com/ugorji/go/codec/fast-path.not.go b/vendor/github.com/ugorji/go/codec/fast-path.not.go index d6f5f0c9..63e59114 100644 --- a/vendor/github.com/ugorji/go/codec/fast-path.not.go +++ b/vendor/github.com/ugorji/go/codec/fast-path.not.go @@ -4,6 +4,8 @@ package codec import "reflect" +const fastpathEnabled = false + // The generated fast-path code is very large, and adds a few seconds to the build time. // This causes test execution, execution of small tools which use codec, etc // to take a long time. diff --git a/vendor/github.com/ugorji/go/codec/gen-dec-array.go.tmpl b/vendor/github.com/ugorji/go/codec/gen-dec-array.go.tmpl index 2caae5bf..32df5414 100644 --- a/vendor/github.com/ugorji/go/codec/gen-dec-array.go.tmpl +++ b/vendor/github.com/ugorji/go/codec/gen-dec-array.go.tmpl @@ -1,6 +1,7 @@ {{var "v"}} := {{if not isArray}}*{{end}}{{ .Varname }} -{{var "h"}}, {{var "l"}} := z.DecSliceHelperStart() {{/* // helper, containerLenS */}} +{{var "h"}}, {{var "l"}} := z.DecSliceHelperStart() {{/* // helper, containerLenS */}}{{if not isArray}} var {{var "c"}} bool {{/* // changed */}} +_ = {{var "c"}}{{end}} if {{var "l"}} == 0 { {{if isSlice }}if {{var "v"}} == nil { {{var "v"}} = []{{ .Typ }}{} @@ -26,6 +27,8 @@ if {{var "l"}} == 0 { } {{ else }} var {{var "rr"}}, {{var "rl"}} int {{/* // num2read, length of slice/array/chan */}} var {{var "rt"}} bool {{/* truncated */}} + _, _ = {{var "rl"}}, {{var "rt"}} + {{var "rr"}} = {{var "l"}} // len({{var "v"}}) if {{var "l"}} > cap({{var "v"}}) { {{if isArray }}z.DecArrayCannotExpand(len({{var "v"}}), {{var "l"}}) {{ else }}{{if not .Immutable }} diff --git a/vendor/github.com/ugorji/go/codec/gen-helper.generated.go b/vendor/github.com/ugorji/go/codec/gen-helper.generated.go index 22bce776..eb0bdad3 100644 --- a/vendor/github.com/ugorji/go/codec/gen-helper.generated.go +++ b/vendor/github.com/ugorji/go/codec/gen-helper.generated.go @@ -1,4 +1,4 @@ -// //+build ignore +/* // +build ignore */ // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. @@ -17,7 +17,7 @@ import ( // This file is used to generate helper code for codecgen. // The values here i.e. genHelper(En|De)coder are not to be used directly by -// library users. They WILL change continously and without notice. +// library users. They WILL change continuously and without notice. // // To help enforce this, we create an unexported type with exported members. // The only way to get the type is via the one exported type that we control (somewhat). @@ -83,6 +83,11 @@ func (f genHelperEncoder) EncBinaryMarshal(iv encoding.BinaryMarshaler) { f.e.marshal(bs, fnerr, false, c_RAW) } +// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* +func (f genHelperEncoder) EncRaw(iv Raw) { + f.e.raw(iv) +} + // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperEncoder) TimeRtidIfBinc() uintptr { if _, ok := f.e.hh.(*BincHandle); ok { @@ -191,6 +196,11 @@ func (f genHelperDecoder) DecBinaryUnmarshal(bm encoding.BinaryUnmarshaler) { } } +// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* +func (f genHelperDecoder) DecRaw() []byte { + return f.d.raw() +} + // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperDecoder) TimeRtidIfBinc() uintptr { if _, ok := f.d.hh.(*BincHandle); ok { diff --git a/vendor/github.com/ugorji/go/codec/gen-helper.go.tmpl b/vendor/github.com/ugorji/go/codec/gen-helper.go.tmpl index 31958574..ad99f667 100644 --- a/vendor/github.com/ugorji/go/codec/gen-helper.go.tmpl +++ b/vendor/github.com/ugorji/go/codec/gen-helper.go.tmpl @@ -1,4 +1,4 @@ -// //+build ignore +/* // +build ignore */ // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. @@ -17,7 +17,7 @@ import ( // This file is used to generate helper code for codecgen. // The values here i.e. genHelper(En|De)coder are not to be used directly by -// library users. They WILL change continously and without notice. +// library users. They WILL change continuously and without notice. // // To help enforce this, we create an unexported type with exported members. // The only way to get the type is via the one exported type that we control (somewhat). @@ -79,6 +79,10 @@ func (f genHelperEncoder) EncBinaryMarshal(iv encoding.BinaryMarshaler) { f.e.marshal(bs, fnerr, false, c_RAW) } // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* +func (f genHelperEncoder) EncRaw(iv Raw) { + f.e.raw(iv) +} +// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperEncoder) TimeRtidIfBinc() uintptr { if _, ok := f.e.hh.(*BincHandle); ok { return timeTypId @@ -172,6 +176,10 @@ func (f genHelperDecoder) DecBinaryUnmarshal(bm encoding.BinaryUnmarshaler) { } } // FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* +func (f genHelperDecoder) DecRaw() []byte { + return f.d.raw() +} +// FOR USE BY CODECGEN ONLY. IT *WILL* CHANGE WITHOUT NOTICE. *DO NOT USE* func (f genHelperDecoder) TimeRtidIfBinc() uintptr { if _, ok := f.d.hh.(*BincHandle); ok { return timeTypId diff --git a/vendor/github.com/ugorji/go/codec/gen.generated.go b/vendor/github.com/ugorji/go/codec/gen.generated.go index f3c1b706..b130ed67 100644 --- a/vendor/github.com/ugorji/go/codec/gen.generated.go +++ b/vendor/github.com/ugorji/go/codec/gen.generated.go @@ -68,8 +68,9 @@ z.DecSendContainerState(codecSelfer_containerMapEnd{{ .Sfx }}) const genDecListTmpl = ` {{var "v"}} := {{if not isArray}}*{{end}}{{ .Varname }} -{{var "h"}}, {{var "l"}} := z.DecSliceHelperStart() {{/* // helper, containerLenS */}} +{{var "h"}}, {{var "l"}} := z.DecSliceHelperStart() {{/* // helper, containerLenS */}}{{if not isArray}} var {{var "c"}} bool {{/* // changed */}} +_ = {{var "c"}}{{end}} if {{var "l"}} == 0 { {{if isSlice }}if {{var "v"}} == nil { {{var "v"}} = []{{ .Typ }}{} @@ -95,6 +96,8 @@ if {{var "l"}} == 0 { } {{ else }} var {{var "rr"}}, {{var "rl"}} int {{/* // num2read, length of slice/array/chan */}} var {{var "rt"}} bool {{/* truncated */}} + _, _ = {{var "rl"}}, {{var "rt"}} + {{var "rr"}} = {{var "l"}} // len({{var "v"}}) if {{var "l"}} > cap({{var "v"}}) { {{if isArray }}z.DecArrayCannotExpand(len({{var "v"}}), {{var "l"}}) {{ else }}{{if not .Immutable }} diff --git a/vendor/github.com/ugorji/go/codec/gen.go b/vendor/github.com/ugorji/go/codec/gen.go index a075e7c0..c4944dbf 100644 --- a/vendor/github.com/ugorji/go/codec/gen.go +++ b/vendor/github.com/ugorji/go/codec/gen.go @@ -12,7 +12,6 @@ import ( "io" "io/ioutil" "math/rand" - "os" "reflect" "regexp" "sort" @@ -21,11 +20,14 @@ import ( "sync" "text/template" "time" + "unicode" + "unicode/utf8" ) // --------------------------------------------------- // codecgen supports the full cycle of reflection-based codec: // - RawExt +// - Raw // - Builtins // - Extensions // - (Binary|Text|JSON)(Unm|M)arshal @@ -76,7 +78,7 @@ import ( // codecgen will panic if the file was generated with an old version of the library in use. // // Note: -// It was a concious decision to have gen.go always explicitly call EncodeNil or TryDecodeAsNil. +// It was a conscious decision to have gen.go always explicitly call EncodeNil or TryDecodeAsNil. // This way, there isn't a function call overhead just to see that we should not enter a block of code. // GenVersion is the current version of codecgen. @@ -124,6 +126,7 @@ var ( genExpectArrayOrMapErr = errors.New("unexpected type. Expecting array/map/slice") genBase64enc = base64.NewEncoding("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__") genQNameRegex = regexp.MustCompile(`[A-Za-z_.]+`) + genCheckVendor bool ) // genRunner holds some state used during a Gen run. @@ -162,6 +165,10 @@ type genRunner struct { // // Library users: *DO NOT USE IT DIRECTLY. IT WILL CHANGE CONTINOUSLY WITHOUT NOTICE.* func Gen(w io.Writer, buildTags, pkgName, uid string, useUnsafe bool, ti *TypeInfos, typ ...reflect.Type) { + // All types passed to this method do not have a codec.Selfer method implemented directly. + // codecgen already checks the AST and skips any types that define the codec.Selfer methods. + // Consequently, there's no need to check and trim them if they implement codec.Selfer + if len(typ) == 0 { return } @@ -199,7 +206,7 @@ func Gen(w io.Writer, buildTags, pkgName, uid string, useUnsafe bool, ti *TypeIn x.genRefPkgs(t) } if buildTags != "" { - x.line("//+build " + buildTags) + x.line("// +build " + buildTags) x.line("") } x.line(` @@ -266,6 +273,7 @@ func Gen(w io.Writer, buildTags, pkgName, uid string, useUnsafe bool, ti *TypeIn x.line("type " + x.hn + " struct{}") x.line("") + x.varsfxreset() x.line("func init() {") x.linef("if %sGenVersion != %v {", x.cpfx, GenVersion) x.line("_, file, _, _ := runtime.Caller(0)") @@ -309,6 +317,7 @@ func Gen(w io.Writer, buildTags, pkgName, uid string, useUnsafe bool, ti *TypeIn for _, t := range x.ts { rtid := reflect.ValueOf(t).Pointer() // generate enc functions for all these slice/map types. + x.varsfxreset() x.linef("func (x %s) enc%s(v %s%s, e *%sEncoder) {", x.hn, x.genMethodNameT(t), x.arr2str(t, "*"), x.genTypeName(t), x.cpfx) x.genRequiredMethodVars(true) switch t.Kind() { @@ -323,6 +332,7 @@ func Gen(w io.Writer, buildTags, pkgName, uid string, useUnsafe bool, ti *TypeIn x.line("") // generate dec functions for all these slice/map types. + x.varsfxreset() x.linef("func (x %s) dec%s(v *%s, d *%sDecoder) {", x.hn, x.genMethodNameT(t), x.genTypeName(t), x.cpfx) x.genRequiredMethodVars(false) switch t.Kind() { @@ -377,7 +387,7 @@ func (x *genRunner) genRefPkgs(t reflect.Type) { x.imn[tpkg] = tpkg } else { x.imc++ - x.imn[tpkg] = "pkg" + strconv.FormatUint(x.imc, 10) + "_" + tpkg[idx+1:] + x.imn[tpkg] = "pkg" + strconv.FormatUint(x.imc, 10) + "_" + genGoIdentifier(tpkg[idx+1:], false) } } } @@ -408,6 +418,10 @@ func (x *genRunner) varsfx() string { return strconv.FormatUint(x.c, 10) } +func (x *genRunner) varsfxreset() { + x.c = 0 +} + func (x *genRunner) out(s string) { if _, err := io.WriteString(x.w, s); err != nil { panic(err) @@ -494,6 +508,7 @@ func (x *genRunner) selfer(encode bool) { // always make decode use a pointer receiver, // and structs always use a ptr receiver (encode|decode) isptr := !encode || t.Kind() == reflect.Struct + x.varsfxreset() fnSigPfx := "func (x " if isptr { fnSigPfx += "*" @@ -566,9 +581,28 @@ func (x *genRunner) xtraSM(varname string, encode bool, t reflect.Type) { } else { x.linef("h.dec%s((*%s)(%s), d)", x.genMethodNameT(t), x.genTypeName(t), varname) } - if _, ok := x.tm[t]; !ok { - x.tm[t] = struct{}{} - x.ts = append(x.ts, t) + x.registerXtraT(t) +} + +func (x *genRunner) registerXtraT(t reflect.Type) { + // recursively register the types + if _, ok := x.tm[t]; ok { + return + } + var tkey reflect.Type + switch t.Kind() { + case reflect.Chan, reflect.Slice, reflect.Array: + case reflect.Map: + tkey = t.Key() + default: + return + } + x.tm[t] = struct{}{} + x.ts = append(x.ts, t) + // check if this refers to any xtra types eg. a slice of array: add the array + x.registerXtraT(t.Elem()) + if tkey != nil { + x.registerXtraT(tkey) } } @@ -608,22 +642,33 @@ func (x *genRunner) encVar(varname string, t reflect.Type) { } -// enc will encode a variable (varname) of type T, -// except t is of kind reflect.Struct or reflect.Array, wherein varname is of type *T (to prevent copying) +// enc will encode a variable (varname) of type t, +// except t is of kind reflect.Struct or reflect.Array, wherein varname is of type ptrTo(T) (to prevent copying) func (x *genRunner) enc(varname string, t reflect.Type) { - // varName here must be to a pointer to a struct/array, or to a value directly. rtid := reflect.ValueOf(t).Pointer() // We call CodecEncodeSelf if one of the following are honored: // - the type already implements Selfer, call that // - the type has a Selfer implementation just created, use that // - the type is in the list of the ones we will generate for, but it is not currently being generated + mi := x.varsfx() tptr := reflect.PtrTo(t) tk := t.Kind() if x.checkForSelfer(t, varname) { - if t.Implements(selferTyp) || (tptr.Implements(selferTyp) && (tk == reflect.Array || tk == reflect.Struct)) { - x.line(varname + ".CodecEncodeSelf(e)") - return + if tk == reflect.Array || tk == reflect.Struct { // varname is of type *T + if tptr.Implements(selferTyp) || t.Implements(selferTyp) { + x.line(varname + ".CodecEncodeSelf(e)") + return + } + } else { // varname is of type T + if t.Implements(selferTyp) { + x.line(varname + ".CodecEncodeSelf(e)") + return + } else if tptr.Implements(selferTyp) { + x.linef("%ssf%s := &%s", genTempVarPfx, mi, varname) + x.linef("%ssf%s.CodecEncodeSelf(e)", genTempVarPfx, mi) + return + } } if _, ok := x.te[rtid]; ok { @@ -651,14 +696,17 @@ func (x *genRunner) enc(varname string, t reflect.Type) { } // check if - // - type is RawExt + // - type is RawExt, Raw // - the type implements (Text|JSON|Binary)(Unm|M)arshal - mi := x.varsfx() x.linef("%sm%s := z.EncBinary()", genTempVarPfx, mi) x.linef("_ = %sm%s", genTempVarPfx, mi) x.line("if false {") //start if block defer func() { x.line("}") }() //end if block + if t == rawTyp { + x.linef("} else { z.EncRaw(%v)", varname) + return + } if t == rawExtTyp { x.linef("} else { r.EncodeRawExt(%v, e)", varname) return @@ -676,15 +724,31 @@ func (x *genRunner) enc(varname string, t reflect.Type) { // first check if extensions are configued, before doing the interface conversion x.linef("} else if z.HasExtensions() && z.EncExt(%s) {", varname) } - if t.Implements(binaryMarshalerTyp) || tptr.Implements(binaryMarshalerTyp) { - x.linef("} else if %sm%s { z.EncBinaryMarshal(%v) ", genTempVarPfx, mi, varname) + if tk == reflect.Array || tk == reflect.Struct { // varname is of type *T + if t.Implements(binaryMarshalerTyp) || tptr.Implements(binaryMarshalerTyp) { + x.linef("} else if %sm%s { z.EncBinaryMarshal(%v) ", genTempVarPfx, mi, varname) + } + if t.Implements(jsonMarshalerTyp) || tptr.Implements(jsonMarshalerTyp) { + x.linef("} else if !%sm%s && z.IsJSONHandle() { z.EncJSONMarshal(%v) ", genTempVarPfx, mi, varname) + } else if t.Implements(textMarshalerTyp) || tptr.Implements(textMarshalerTyp) { + x.linef("} else if !%sm%s { z.EncTextMarshal(%v) ", genTempVarPfx, mi, varname) + } + } else { // varname is of type T + if t.Implements(binaryMarshalerTyp) { + x.linef("} else if %sm%s { z.EncBinaryMarshal(%v) ", genTempVarPfx, mi, varname) + } else if tptr.Implements(binaryMarshalerTyp) { + x.linef("} else if %sm%s { z.EncBinaryMarshal(&%v) ", genTempVarPfx, mi, varname) + } + if t.Implements(jsonMarshalerTyp) { + x.linef("} else if !%sm%s && z.IsJSONHandle() { z.EncJSONMarshal(%v) ", genTempVarPfx, mi, varname) + } else if tptr.Implements(jsonMarshalerTyp) { + x.linef("} else if !%sm%s && z.IsJSONHandle() { z.EncJSONMarshal(&%v) ", genTempVarPfx, mi, varname) + } else if t.Implements(textMarshalerTyp) { + x.linef("} else if !%sm%s { z.EncTextMarshal(%v) ", genTempVarPfx, mi, varname) + } else if tptr.Implements(textMarshalerTyp) { + x.linef("} else if !%sm%s { z.EncTextMarshal(&%v) ", genTempVarPfx, mi, varname) + } } - if t.Implements(jsonMarshalerTyp) || tptr.Implements(jsonMarshalerTyp) { - x.linef("} else if !%sm%s && z.IsJSONHandle() { z.EncJSONMarshal(%v) ", genTempVarPfx, mi, varname) - } else if t.Implements(textMarshalerTyp) || tptr.Implements(textMarshalerTyp) { - x.linef("} else if !%sm%s { z.EncTextMarshal(%v) ", genTempVarPfx, mi, varname) - } - x.line("} else {") switch t.Kind() { @@ -922,6 +986,14 @@ func (x *genRunner) encStruct(varname string, rtid uintptr, t reflect.Type) { } func (x *genRunner) encListFallback(varname string, t reflect.Type) { + if t.AssignableTo(uint8SliceTyp) { + x.linef("r.EncodeStringBytes(codecSelferC_RAW%s, []byte(%s))", x.xs, varname) + return + } + if t.Kind() == reflect.Array && t.Elem().Kind() == reflect.Uint8 { + x.linef("r.EncodeStringBytes(codecSelferC_RAW%s, ([%v]byte(%s))[:])", x.xs, t.Len(), varname) + return + } i := x.varsfx() g := genTempVarPfx x.line("r.EncodeArrayStart(len(" + varname + "))") @@ -1020,6 +1092,8 @@ func (x *genRunner) decVar(varname string, t reflect.Type, canBeNil bool) { } } +// dec will decode a variable (varname) of type ptrTo(t). +// t is always a basetype (i.e. not of kind reflect.Ptr). func (x *genRunner) dec(varname string, t reflect.Type) { // assumptions: // - the varname is to a pointer already. No need to take address of it @@ -1056,7 +1130,7 @@ func (x *genRunner) dec(varname string, t reflect.Type) { } // check if - // - type is RawExt + // - type is Raw, RawExt // - the type implements (Text|JSON|Binary)(Unm|M)arshal mi := x.varsfx() x.linef("%sm%s := z.DecBinary()", genTempVarPfx, mi) @@ -1064,6 +1138,10 @@ func (x *genRunner) dec(varname string, t reflect.Type) { x.line("if false {") //start if block defer func() { x.line("}") }() //end if block + if t == rawTyp { + x.linef("} else { *%v = z.DecRaw()", varname) + return + } if t == rawExtTyp { x.linef("} else { r.DecodeExt(%v, 0, nil)", varname) return @@ -1189,59 +1267,49 @@ func (x *genRunner) dec(varname string, t reflect.Type) { } func (x *genRunner) decTryAssignPrimitive(varname string, t reflect.Type) (tryAsPtr bool) { - // We have to use the actual type name when doing a direct assignment. - // We don't have the luxury of casting the pointer to the underlying type. - // - // Consequently, in the situation of a - // type Message int32 - // var x Message - // var i int32 = 32 - // x = i // this will bomb - // x = Message(i) // this will work - // *((*int32)(&x)) = i // this will work - // - // Consequently, we replace: - // case reflect.Uint32: x.line(varname + " = uint32(r.DecodeUint(32))") - // with: - // case reflect.Uint32: x.line(varname + " = " + genTypeNamePrim(t, x.tc) + "(r.DecodeUint(32))") + // This should only be used for exact primitives (ie un-named types). + // Named types may be implementations of Selfer, Unmarshaler, etc. + // They should be handled by dec(...) - xfn := func(t reflect.Type) string { - return x.genTypeNamePrim(t) + if t.Name() != "" { + tryAsPtr = true + return } + switch t.Kind() { case reflect.Int: - x.linef("%s = %s(r.DecodeInt(codecSelferBitsize%s))", varname, xfn(t), x.xs) + x.linef("%s = r.DecodeInt(codecSelferBitsize%s)", varname, x.xs) case reflect.Int8: - x.linef("%s = %s(r.DecodeInt(8))", varname, xfn(t)) + x.linef("%s = r.DecodeInt(8)", varname) case reflect.Int16: - x.linef("%s = %s(r.DecodeInt(16))", varname, xfn(t)) + x.linef("%s = r.DecodeInt(16)", varname) case reflect.Int32: - x.linef("%s = %s(r.DecodeInt(32))", varname, xfn(t)) + x.linef("%s = r.DecodeInt(32)", varname) case reflect.Int64: - x.linef("%s = %s(r.DecodeInt(64))", varname, xfn(t)) + x.linef("%s = r.DecodeInt(64)", varname) case reflect.Uint: - x.linef("%s = %s(r.DecodeUint(codecSelferBitsize%s))", varname, xfn(t), x.xs) + x.linef("%s = r.DecodeUint(codecSelferBitsize%s)", varname, x.xs) case reflect.Uint8: - x.linef("%s = %s(r.DecodeUint(8))", varname, xfn(t)) + x.linef("%s = r.DecodeUint(8)", varname) case reflect.Uint16: - x.linef("%s = %s(r.DecodeUint(16))", varname, xfn(t)) + x.linef("%s = r.DecodeUint(16)", varname) case reflect.Uint32: - x.linef("%s = %s(r.DecodeUint(32))", varname, xfn(t)) + x.linef("%s = r.DecodeUint(32)", varname) case reflect.Uint64: - x.linef("%s = %s(r.DecodeUint(64))", varname, xfn(t)) + x.linef("%s = r.DecodeUint(64)", varname) case reflect.Uintptr: - x.linef("%s = %s(r.DecodeUint(codecSelferBitsize%s))", varname, xfn(t), x.xs) + x.linef("%s = r.DecodeUint(codecSelferBitsize%s)", varname, x.xs) case reflect.Float32: - x.linef("%s = %s(r.DecodeFloat(true))", varname, xfn(t)) + x.linef("%s = r.DecodeFloat(true)", varname) case reflect.Float64: - x.linef("%s = %s(r.DecodeFloat(false))", varname, xfn(t)) + x.linef("%s = r.DecodeFloat(false)", varname) case reflect.Bool: - x.linef("%s = %s(r.DecodeBool())", varname, xfn(t)) + x.linef("%s = r.DecodeBool()", varname) case reflect.String: - x.linef("%s = %s(r.DecodeString())", varname, xfn(t)) + x.linef("%s = r.DecodeString()", varname) default: tryAsPtr = true } @@ -1249,6 +1317,14 @@ func (x *genRunner) decTryAssignPrimitive(varname string, t reflect.Type) (tryAs } func (x *genRunner) decListFallback(varname string, rtid uintptr, t reflect.Type) { + if t.AssignableTo(uint8SliceTyp) { + x.line("*" + varname + " = r.DecodeBytes(*((*[]byte)(" + varname + ")), false, false)") + return + } + if t.Kind() == reflect.Array && t.Elem().Kind() == reflect.Uint8 { + x.linef("r.DecodeBytes( ((*[%s]byte)(%s))[:], false, true)", t.Len(), varname) + return + } type tstruc struct { TempVar string Rand string @@ -1364,7 +1440,7 @@ func (x *genRunner) decStructMapSwitch(kName string, varname string, rtid uintpt if si.i != -1 { t2 = t.Field(int(si.i)) } else { - //we must accomodate anonymous fields, where the embedded field is a nil pointer in the value. + //we must accommodate anonymous fields, where the embedded field is a nil pointer in the value. // t2 = t.FieldByIndex(si.is) t2typ := t varname3 := varname @@ -1452,7 +1528,7 @@ func (x *genRunner) decStructArray(varname, lenvarname, breakString string, rtid if si.i != -1 { t2 = t.Field(int(si.i)) } else { - //we must accomodate anonymous fields, where the embedded field is a nil pointer in the value. + //we must accommodate anonymous fields, where the embedded field is a nil pointer in the value. // t2 = t.FieldByIndex(si.is) t2typ := t varname3 := varname @@ -1569,8 +1645,6 @@ func (x *genV) MethodNamePfx(prefix string, prim bool) string { } -var genCheckVendor = os.Getenv("GO15VENDOREXPERIMENT") == "1" - // genImportPath returns import path of a non-predeclared named typed, or an empty string otherwise. // // This handles the misbehaviour that occurs when 1.5-style vendoring is enabled, @@ -1592,6 +1666,26 @@ func genImportPath(t reflect.Type) (s string) { return } +// A go identifier is (letter|_)[letter|number|_]* +func genGoIdentifier(s string, checkFirstChar bool) string { + b := make([]byte, 0, len(s)) + t := make([]byte, 4) + var n int + for i, r := range s { + if checkFirstChar && i == 0 && !unicode.IsLetter(r) { + b = append(b, '_') + } + // r must be unicode_letter, unicode_digit or _ + if unicode.IsLetter(r) || unicode.IsDigit(r) { + n = utf8.EncodeRune(t, r) + b = append(b, t[:n]...) + } else { + b = append(b, '_') + } + } + return string(b) +} + func genNonPtr(t reflect.Type) reflect.Type { for t.Kind() == reflect.Ptr { t = t.Elem() @@ -1601,7 +1695,7 @@ func genNonPtr(t reflect.Type) reflect.Type { func genTitleCaseName(s string) string { switch s { - case "interface{}": + case "interface{}", "interface {}": return "Intf" default: return strings.ToUpper(s[0:1]) + s[1:] @@ -1704,7 +1798,7 @@ func (x genInternal) FastpathLen() (l int) { func genInternalZeroValue(s string) string { switch s { - case "interface{}": + case "interface{}", "interface {}": return "nil" case "bool": return "false" @@ -1856,7 +1950,7 @@ func genInternalInit() { } var gt genInternal - // For each slice or map type, there must be a (symetrical) Encode and Decode fast-path function + // For each slice or map type, there must be a (symmetrical) Encode and Decode fast-path function for _, s := range types { gt.Values = append(gt.Values, genV{Primitive: s, Size: mapvaltypes2[s]}) if s != "uint8" { // do not generate fast path for slice of bytes. Treat specially already. diff --git a/vendor/github.com/ugorji/go/codec/gen_15.go b/vendor/github.com/ugorji/go/codec/gen_15.go new file mode 100644 index 00000000..ab76c310 --- /dev/null +++ b/vendor/github.com/ugorji/go/codec/gen_15.go @@ -0,0 +1,12 @@ +// Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. +// Use of this source code is governed by a MIT license found in the LICENSE file. + +// +build go1.5,!go1.6 + +package codec + +import "os" + +func init() { + genCheckVendor = os.Getenv("GO15VENDOREXPERIMENT") == "1" +} diff --git a/vendor/github.com/ugorji/go/codec/gen_16.go b/vendor/github.com/ugorji/go/codec/gen_16.go new file mode 100644 index 00000000..87c04e2e --- /dev/null +++ b/vendor/github.com/ugorji/go/codec/gen_16.go @@ -0,0 +1,12 @@ +// Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. +// Use of this source code is governed by a MIT license found in the LICENSE file. + +// +build go1.6 + +package codec + +import "os" + +func init() { + genCheckVendor = os.Getenv("GO15VENDOREXPERIMENT") != "0" +} diff --git a/vendor/github.com/ugorji/go/codec/gen_17.go b/vendor/github.com/ugorji/go/codec/gen_17.go new file mode 100644 index 00000000..3881a43c --- /dev/null +++ b/vendor/github.com/ugorji/go/codec/gen_17.go @@ -0,0 +1,10 @@ +// Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. +// Use of this source code is governed by a MIT license found in the LICENSE file. + +// +build go1.7 + +package codec + +func init() { + genCheckVendor = true +} diff --git a/vendor/github.com/ugorji/go/codec/helper.go b/vendor/github.com/ugorji/go/codec/helper.go index 560014ae..8b94fc1e 100644 --- a/vendor/github.com/ugorji/go/codec/helper.go +++ b/vendor/github.com/ugorji/go/codec/helper.go @@ -38,10 +38,6 @@ package codec // a length prefix, or if it used explicit breaks. If length-prefixed, we assume that // it has to be binary, and we do not even try to read separators. // -// The only codec that may suffer (slightly) is cbor, and only when decoding indefinite-length. -// It may suffer because we treat it like a text-based codec, and read separators. -// However, this read is a no-op and the cost is insignificant. -// // Philosophy // ------------ // On decode, this codec will update containers appropriately: @@ -137,17 +133,6 @@ const ( // Note that this will always cause rpc tests to fail, since they need io.EOF sent via panic. recoverPanicToErr = true - // Fast path functions try to create a fast path encode or decode implementation - // for common maps and slices, by by-passing reflection altogether. - fastpathEnabled = true - - // if checkStructForEmptyValue, check structs fields to see if an empty value. - // This could be an expensive call, so possibly disable it. - checkStructForEmptyValue = false - - // if derefForIsEmptyValue, deref pointers and interfaces when checking isEmptyValue - derefForIsEmptyValue = false - // if resetSliceElemToZeroValue, then on decoding a slice, reset the element to a zero value first. // Only concern is that, if the slice already contained some garbage, we will decode into that garbage. // The chances of this are slim, so leave this "optimization". @@ -155,8 +140,10 @@ const ( resetSliceElemToZeroValue bool = false ) -var oneByteArr = [1]byte{0} -var zeroByteSlice = oneByteArr[:0:0] +var ( + oneByteArr = [1]byte{0} + zeroByteSlice = oneByteArr[:0:0] +) type charEncoding uint8 @@ -215,6 +202,41 @@ const ( containerArrayEnd ) +// sfiIdx used for tracking where a (field/enc)Name is seen in a []*structFieldInfo +type sfiIdx struct { + name string + index int +} + +// do not recurse if a containing type refers to an embedded type +// which refers back to its containing type (via a pointer). +// The second time this back-reference happens, break out, +// so as not to cause an infinite loop. +const rgetMaxRecursion = 2 + +// Anecdotally, we believe most types have <= 12 fields. +// Java's PMD rules set TooManyFields threshold to 15. +const rgetPoolTArrayLen = 12 + +type rgetT struct { + fNames []string + encNames []string + etypes []uintptr + sfis []*structFieldInfo +} + +type rgetPoolT struct { + fNames [rgetPoolTArrayLen]string + encNames [rgetPoolTArrayLen]string + etypes [rgetPoolTArrayLen]uintptr + sfis [rgetPoolTArrayLen]*structFieldInfo + sfiidx [rgetPoolTArrayLen]sfiIdx +} + +var rgetPool = sync.Pool{ + New: func() interface{} { return new(rgetPoolT) }, +} + type containerStateRecv interface { sendContainerState(containerState) } @@ -240,6 +262,7 @@ var ( stringTyp = reflect.TypeOf("") timeTyp = reflect.TypeOf(time.Time{}) rawExtTyp = reflect.TypeOf(RawExt{}) + rawTyp = reflect.TypeOf(Raw{}) uint8SliceTyp = reflect.TypeOf([]uint8(nil)) mapBySliceTyp = reflect.TypeOf((*MapBySlice)(nil)).Elem() @@ -257,6 +280,7 @@ var ( uint8SliceTypId = reflect.ValueOf(uint8SliceTyp).Pointer() rawExtTypId = reflect.ValueOf(rawExtTyp).Pointer() + rawTypId = reflect.ValueOf(rawTyp).Pointer() intfTypId = reflect.ValueOf(intfTyp).Pointer() timeTypId = reflect.ValueOf(timeTyp).Pointer() stringTypId = reflect.ValueOf(stringTyp).Pointer() @@ -337,6 +361,11 @@ type Handle interface { isBinary() bool } +// Raw represents raw formatted bytes. +// We "blindly" store it during encode and store the raw bytes during decode. +// Note: it is dangerous during encode, so we may gate the behaviour behind an Encode flag which must be explicitly set. +type Raw []byte + // RawExt represents raw unprocessed extension data. // Some codecs will decode extension data as a *RawExt if there is no registered extension for the tag. // @@ -347,7 +376,7 @@ type RawExt struct { // Data is used by codecs (e.g. binc, msgpack, simple) which do custom serialization of the types Data []byte // Value represents the extension, if Data is nil. - // Value is used by codecs (e.g. cbor) which use the format to do custom serialization of the types. + // Value is used by codecs (e.g. cbor, json) which use the format to do custom serialization of the types. Value interface{} } @@ -525,7 +554,7 @@ func (o *extHandle) AddExt( func (o *extHandle) SetExt(rt reflect.Type, tag uint64, ext Ext) (err error) { // o is a pointer, because we may need to initialize it if rt.PkgPath() == "" || rt.Kind() == reflect.Interface { - err = fmt.Errorf("codec.Handle.AddExt: Takes named type, especially not a pointer or interface: %T", + err = fmt.Errorf("codec.Handle.AddExt: Takes named type, not a pointer or interface: %T", reflect.Zero(rt).Interface()) return } @@ -568,7 +597,8 @@ func (o extHandle) getExtForTag(tag uint64) *extTypeTagFn { } type structFieldInfo struct { - encName string // encode name + encName string // encode name + fieldName string // field name // only one of 'i' or 'is' can be set. If 'i' is -1, then 'is' has been set. @@ -714,6 +744,7 @@ type typeInfo struct { } func (ti *typeInfo) indexForEncName(name string) int { + // NOTE: name may be a stringView, so don't pass it to another function. //tisfi := ti.sfi const binarySearchThreshold = 16 if sfilen := len(ti.sfi); sfilen < binarySearchThreshold { @@ -828,19 +859,19 @@ func (x *TypeInfos) get(rtid uintptr, rt reflect.Type) (pti *typeInfo) { } if rt.Kind() == reflect.Struct { - var siInfo *structFieldInfo + var omitEmpty bool if f, ok := rt.FieldByName(structInfoFieldName); ok { - siInfo = parseStructFieldInfo(structInfoFieldName, x.structTag(f.Tag)) + siInfo := parseStructFieldInfo(structInfoFieldName, x.structTag(f.Tag)) ti.toArray = siInfo.toArray + omitEmpty = siInfo.omitEmpty } - sfip := make([]*structFieldInfo, 0, rt.NumField()) - x.rget(rt, nil, make(map[string]bool, 16), &sfip, siInfo) - - ti.sfip = make([]*structFieldInfo, len(sfip)) - ti.sfi = make([]*structFieldInfo, len(sfip)) - copy(ti.sfip, sfip) - sort.Sort(sfiSortedByEncName(sfip)) - copy(ti.sfi, sfip) + pi := rgetPool.Get() + pv := pi.(*rgetPoolT) + pv.etypes[0] = ti.baseId + vv := rgetT{pv.fNames[:0], pv.encNames[:0], pv.etypes[:1], pv.sfis[:0]} + x.rget(rt, rtid, omitEmpty, nil, &vv) + ti.sfip, ti.sfi = rgetResolveSFI(vv.sfis, pv.sfiidx[:0]) + rgetPool.Put(pi) } // sfi = sfip @@ -853,17 +884,30 @@ func (x *TypeInfos) get(rtid uintptr, rt reflect.Type) (pti *typeInfo) { return } -func (x *TypeInfos) rget(rt reflect.Type, indexstack []int, fnameToHastag map[string]bool, - sfi *[]*structFieldInfo, siInfo *structFieldInfo, +func (x *TypeInfos) rget(rt reflect.Type, rtid uintptr, omitEmpty bool, + indexstack []int, pv *rgetT, ) { - for j := 0; j < rt.NumField(); j++ { + // Read up fields and store how to access the value. + // + // It uses go's rules for message selectors, + // which say that the field with the shallowest depth is selected. + // + // Note: we consciously use slices, not a map, to simulate a set. + // Typically, types have < 16 fields, + // and iteration using equals is faster than maps there + +LOOP: + for j, jlen := 0, rt.NumField(); j < jlen; j++ { f := rt.Field(j) fkind := f.Type.Kind() // skip if a func type, or is unexported, or structTag value == "-" - if fkind == reflect.Func { - continue + switch fkind { + case reflect.Func, reflect.Complex64, reflect.Complex128, reflect.UnsafePointer: + continue LOOP } - // if r1, _ := utf8.DecodeRuneInString(f.Name); r1 == utf8.RuneError || !unicode.IsUpper(r1) { + + // if r1, _ := utf8.DecodeRuneInString(f.Name); + // r1 == utf8.RuneError || !unicode.IsUpper(r1) { if f.PkgPath != "" && !f.Anonymous { // unexported, not embedded continue } @@ -872,7 +916,8 @@ func (x *TypeInfos) rget(rt reflect.Type, indexstack []int, fnameToHastag map[st continue } var si *structFieldInfo - // if anonymous and no struct tag (or it's blank), and a struct (or pointer to struct), inline it. + // if anonymous and no struct tag (or it's blank), + // and a struct (or pointer to struct), inline it. if f.Anonymous && fkind != reflect.Interface { doInline := stag == "" if !doInline { @@ -886,11 +931,31 @@ func (x *TypeInfos) rget(rt reflect.Type, indexstack []int, fnameToHastag map[st ft = ft.Elem() } if ft.Kind() == reflect.Struct { - indexstack2 := make([]int, len(indexstack)+1, len(indexstack)+4) - copy(indexstack2, indexstack) - indexstack2[len(indexstack)] = j - // indexstack2 := append(append(make([]int, 0, len(indexstack)+4), indexstack...), j) - x.rget(ft, indexstack2, fnameToHastag, sfi, siInfo) + // if etypes contains this, don't call rget again (as fields are already seen here) + ftid := reflect.ValueOf(ft).Pointer() + // We cannot recurse forever, but we need to track other field depths. + // So - we break if we see a type twice (not the first time). + // This should be sufficient to handle an embedded type that refers to its + // owning type, which then refers to its embedded type. + processIt := true + numk := 0 + for _, k := range pv.etypes { + if k == ftid { + numk++ + if numk == rgetMaxRecursion { + processIt = false + break + } + } + } + if processIt { + pv.etypes = append(pv.etypes, ftid) + indexstack2 := make([]int, len(indexstack)+1) + copy(indexstack2, indexstack) + indexstack2[len(indexstack)] = j + // indexstack2 := append(append(make([]int, 0, len(indexstack)+4), indexstack...), j) + x.rget(ft, ftid, omitEmpty, indexstack2, pv) + } continue } } @@ -901,36 +966,86 @@ func (x *TypeInfos) rget(rt reflect.Type, indexstack []int, fnameToHastag map[st continue } - // do not let fields with same name in embedded structs override field at higher level. - // this must be done after anonymous check, to allow anonymous field - // still include their child fields - if _, ok := fnameToHastag[f.Name]; ok { - continue - } if f.Name == "" { panic(noFieldNameToStructFieldInfoErr) } + + pv.fNames = append(pv.fNames, f.Name) + if si == nil { si = parseStructFieldInfo(f.Name, stag) } else if si.encName == "" { si.encName = f.Name } + si.fieldName = f.Name + + pv.encNames = append(pv.encNames, si.encName) + // si.ikind = int(f.Type.Kind()) if len(indexstack) == 0 { si.i = int16(j) } else { si.i = -1 - si.is = append(append(make([]int, 0, len(indexstack)+4), indexstack...), j) + si.is = make([]int, len(indexstack)+1) + copy(si.is, indexstack) + si.is[len(indexstack)] = j + // si.is = append(append(make([]int, 0, len(indexstack)+4), indexstack...), j) } - if siInfo != nil { - if siInfo.omitEmpty { - si.omitEmpty = true + if omitEmpty { + si.omitEmpty = true + } + pv.sfis = append(pv.sfis, si) + } +} + +// resolves the struct field info got from a call to rget. +// Returns a trimmed, unsorted and sorted []*structFieldInfo. +func rgetResolveSFI(x []*structFieldInfo, pv []sfiIdx) (y, z []*structFieldInfo) { + var n int + for i, v := range x { + xn := v.encName //TODO: fieldName or encName? use encName for now. + var found bool + for j, k := range pv { + if k.name == xn { + // one of them must be reset to nil, and the index updated appropriately to the other one + if len(v.is) == len(x[k.index].is) { + } else if len(v.is) < len(x[k.index].is) { + pv[j].index = i + if x[k.index] != nil { + x[k.index] = nil + n++ + } + } else { + if x[i] != nil { + x[i] = nil + n++ + } + } + found = true + break } } - *sfi = append(*sfi, si) - fnameToHastag[f.Name] = stag != "" + if !found { + pv = append(pv, sfiIdx{xn, i}) + } } + + // remove all the nils + y = make([]*structFieldInfo, len(x)-n) + n = 0 + for _, v := range x { + if v == nil { + continue + } + y[n] = v + n++ + } + + z = make([]*structFieldInfo, len(y)) + copy(z, y) + sort.Sort(sfiSortedByEncName(z)) + return } func panicToErr(err *error) { @@ -1127,3 +1242,73 @@ type bytesISlice []bytesI func (p bytesISlice) Len() int { return len(p) } func (p bytesISlice) Less(i, j int) bool { return bytes.Compare(p[i].v, p[j].v) == -1 } func (p bytesISlice) Swap(i, j int) { p[i], p[j] = p[j], p[i] } + +// ----------------- + +type set []uintptr + +func (s *set) add(v uintptr) (exists bool) { + // e.ci is always nil, or len >= 1 + // defer func() { fmt.Printf("$$$$$$$$$$$ cirRef Add: %v, exists: %v\n", v, exists) }() + x := *s + if x == nil { + x = make([]uintptr, 1, 8) + x[0] = v + *s = x + return + } + // typically, length will be 1. make this perform. + if len(x) == 1 { + if j := x[0]; j == 0 { + x[0] = v + } else if j == v { + exists = true + } else { + x = append(x, v) + *s = x + } + return + } + // check if it exists + for _, j := range x { + if j == v { + exists = true + return + } + } + // try to replace a "deleted" slot + for i, j := range x { + if j == 0 { + x[i] = v + return + } + } + // if unable to replace deleted slot, just append it. + x = append(x, v) + *s = x + return +} + +func (s *set) remove(v uintptr) (exists bool) { + // defer func() { fmt.Printf("$$$$$$$$$$$ cirRef Rm: %v, exists: %v\n", v, exists) }() + x := *s + if len(x) == 0 { + return + } + if len(x) == 1 { + if x[0] == v { + x[0] = 0 + } + return + } + for i, j := range x { + if j == v { + exists = true + x[i] = 0 // set it to 0, as way to delete it. + // copy(x[i:], x[i+1:]) + // x = x[:len(x)-1] + return + } + } + return +} diff --git a/vendor/github.com/ugorji/go/codec/helper_internal.go b/vendor/github.com/ugorji/go/codec/helper_internal.go index dea981fb..5d0727f7 100644 --- a/vendor/github.com/ugorji/go/codec/helper_internal.go +++ b/vendor/github.com/ugorji/go/codec/helper_internal.go @@ -70,8 +70,8 @@ func hIsEmptyValue(v reflect.Value, deref, checkStruct bool) bool { return false } -func isEmptyValue(v reflect.Value) bool { - return hIsEmptyValue(v, derefForIsEmptyValue, checkStructForEmptyValue) +func isEmptyValue(v reflect.Value, deref, checkStruct bool) bool { + return hIsEmptyValue(v, deref, checkStruct) } func pruneSignExt(v []byte, pos bool) (n int) { diff --git a/vendor/github.com/ugorji/go/codec/helper_not_unsafe.go b/vendor/github.com/ugorji/go/codec/helper_not_unsafe.go index 7c2ffc0f..8b06a004 100644 --- a/vendor/github.com/ugorji/go/codec/helper_not_unsafe.go +++ b/vendor/github.com/ugorji/go/codec/helper_not_unsafe.go @@ -1,4 +1,4 @@ -//+build !unsafe +// +build !unsafe // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. diff --git a/vendor/github.com/ugorji/go/codec/helper_unsafe.go b/vendor/github.com/ugorji/go/codec/helper_unsafe.go index 373b2b10..0f596c71 100644 --- a/vendor/github.com/ugorji/go/codec/helper_unsafe.go +++ b/vendor/github.com/ugorji/go/codec/helper_unsafe.go @@ -1,4 +1,4 @@ -//+build unsafe +// +build unsafe // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. // Use of this source code is governed by a MIT license found in the LICENSE file. @@ -16,7 +16,7 @@ type unsafeString struct { Len int } -type unsafeBytes struct { +type unsafeSlice struct { Data uintptr Len int Cap int @@ -29,8 +29,10 @@ func stringView(v []byte) string { if len(v) == 0 { return "" } - x := unsafeString{uintptr(unsafe.Pointer(&v[0])), len(v)} - return *(*string)(unsafe.Pointer(&x)) + + bx := (*unsafeSlice)(unsafe.Pointer(&v)) + sx := unsafeString{bx.Data, bx.Len} + return *(*string)(unsafe.Pointer(&sx)) } // bytesView returns a view of the string as a []byte. @@ -40,6 +42,8 @@ func bytesView(v string) []byte { if len(v) == 0 { return zeroByteSlice } - x := unsafeBytes{uintptr(unsafe.Pointer(&v)), len(v), len(v)} - return *(*[]byte)(unsafe.Pointer(&x)) + + sx := (*unsafeString)(unsafe.Pointer(&v)) + bx := unsafeSlice{sx.Data, sx.Len, sx.Len} + return *(*[]byte)(unsafe.Pointer(&bx)) } diff --git a/vendor/github.com/ugorji/go/codec/json.go b/vendor/github.com/ugorji/go/codec/json.go index a18a5f70..5bb38962 100644 --- a/vendor/github.com/ugorji/go/codec/json.go +++ b/vendor/github.com/ugorji/go/codec/json.go @@ -43,18 +43,23 @@ import ( //-------------------------------- -var jsonLiterals = [...]byte{'t', 'r', 'u', 'e', 'f', 'a', 'l', 's', 'e', 'n', 'u', 'l', 'l'} +var ( + jsonLiterals = [...]byte{'t', 'r', 'u', 'e', 'f', 'a', 'l', 's', 'e', 'n', 'u', 'l', 'l'} -var jsonFloat64Pow10 = [...]float64{ - 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, - 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19, - 1e20, 1e21, 1e22, -} + jsonFloat64Pow10 = [...]float64{ + 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, + 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19, + 1e20, 1e21, 1e22, + } -var jsonUint64Pow10 = [...]uint64{ - 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, - 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19, -} + jsonUint64Pow10 = [...]uint64{ + 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, + 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19, + } + + // jsonTabs and jsonSpaces are used as caches for indents + jsonTabs, jsonSpaces string +) const ( // jsonUnreadAfterDecNum controls whether we unread after decoding a number. @@ -85,8 +90,23 @@ const ( jsonNumUintMaxVal = 1< 1<<53 || v < -(1<<53)) { + e.w.writen1('"') + e.w.writeb(strconv.AppendInt(e.b[:0], v, 10)) + e.w.writen1('"') + return + } e.w.writeb(strconv.AppendInt(e.b[:0], v, 10)) } func (e *jsonEncDriver) EncodeUint(v uint64) { + if x := e.h.IntegerAsString; x == 'A' || x == 'L' && v > 1<<53 { + e.w.writen1('"') + e.w.writeb(strconv.AppendUint(e.b[:0], v, 10)) + e.w.writen1('"') + return + } e.w.writeb(strconv.AppendUint(e.b[:0], v, 10)) } @@ -165,11 +251,17 @@ func (e *jsonEncDriver) EncodeRawExt(re *RawExt, en *Encoder) { } func (e *jsonEncDriver) EncodeArrayStart(length int) { + if e.d { + e.dl++ + } e.w.writen1('[') e.c = containerArrayStart } func (e *jsonEncDriver) EncodeMapStart(length int) { + if e.d { + e.dl++ + } e.w.writen1('{') e.c = containerMapStart } @@ -564,6 +656,11 @@ func (d *jsonDecDriver) decNum(storeBytes bool) { d.tok = b } b := d.tok + var str bool + if b == '"' { + str = true + b = d.r.readn1() + } if !(b == '+' || b == '-' || b == '.' || (b >= '0' && b <= '9')) { d.d.errorf("json: decNum: got first char '%c'", b) return @@ -578,6 +675,10 @@ func (d *jsonDecDriver) decNum(storeBytes bool) { n.reset() d.bs = d.bs[:0] + if str && storeBytes { + d.bs = append(d.bs, '"') + } + // The format of a number is as below: // parsing: sign? digit* dot? digit* e? sign? digit* // states: 0 1* 2 3* 4 5* 6 7 @@ -668,6 +769,14 @@ LOOP: default: break LOOP } + case '"': + if str { + if storeBytes { + d.bs = append(d.bs, '"') + } + b, eof = r.readn1eof() + } + break LOOP default: break LOOP } @@ -822,6 +931,11 @@ func (d *jsonDecDriver) DecodeBytes(bs []byte, isstring, zerocopy bool) (bsOut [ if isstring { return d.bs } + // if appendStringAsBytes returned a zero-len slice, then treat as nil. + // This should only happen for null, and "". + if len(d.bs) == 0 { + return nil + } bs0 := d.bs slen := base64.StdEncoding.DecodedLen(len(bs0)) if slen <= cap(bs) { @@ -859,6 +973,14 @@ func (d *jsonDecDriver) appendStringAsBytes() { } d.tok = b } + + // handle null as a string + if d.tok == 'n' { + d.readStrIdx(10, 13) // ull + d.bs = d.bs[:0] + return + } + if d.tok != '"' { d.d.errorf("json: expect char '%c' but got char '%c'", '"', d.tok) } @@ -1033,6 +1155,24 @@ type JsonHandle struct { // RawBytesExt, if configured, is used to encode and decode raw bytes in a custom way. // If not configured, raw bytes are encoded to/from base64 text. RawBytesExt InterfaceExt + + // Indent indicates how a value is encoded. + // - If positive, indent by that number of spaces. + // - If negative, indent by that number of tabs. + Indent int8 + + // IntegerAsString controls how integers (signed and unsigned) are encoded. + // + // Per the JSON Spec, JSON numbers are 64-bit floating point numbers. + // Consequently, integers > 2^53 cannot be represented as a JSON number without losing precision. + // This can be mitigated by configuring how to encode integers. + // + // IntegerAsString interpretes the following values: + // - if 'L', then encode integers > 2^53 as a json string. + // - if 'A', then encode all integers as a json string + // containing the exact integer representation as a decimal. + // - else encode all integers as a json number (default) + IntegerAsString uint8 } func (h *JsonHandle) SetInterfaceExt(rt reflect.Type, tag uint64, ext InterfaceExt) (err error) { @@ -1040,26 +1180,48 @@ func (h *JsonHandle) SetInterfaceExt(rt reflect.Type, tag uint64, ext InterfaceE } func (h *JsonHandle) newEncDriver(e *Encoder) encDriver { - hd := jsonEncDriver{e: e, w: e.w, h: h} + hd := jsonEncDriver{e: e, h: h} hd.bs = hd.b[:0] - hd.se.i = h.RawBytesExt + + hd.reset() + return &hd } func (h *JsonHandle) newDecDriver(d *Decoder) decDriver { // d := jsonDecDriver{r: r.(*bytesDecReader), h: h} - hd := jsonDecDriver{d: d, r: d.r, h: h} + hd := jsonDecDriver{d: d, h: h} hd.bs = hd.b[:0] - hd.se.i = h.RawBytesExt + hd.reset() return &hd } func (e *jsonEncDriver) reset() { e.w = e.e.w + e.se.i = e.h.RawBytesExt + if e.bs != nil { + e.bs = e.bs[:0] + } + e.d, e.dt, e.dl, e.ds = false, false, 0, "" + e.c = 0 + if e.h.Indent > 0 { + e.d = true + e.ds = jsonSpaces[:e.h.Indent] + } else if e.h.Indent < 0 { + e.d = true + e.dt = true + e.ds = jsonTabs[:-(e.h.Indent)] + } } func (d *jsonDecDriver) reset() { d.r = d.d.r + d.se.i = d.h.RawBytesExt + if d.bs != nil { + d.bs = d.bs[:0] + } + d.c, d.tok = 0, 0 + d.n.reset() } var jsonEncodeTerminate = []byte{' '} diff --git a/vendor/github.com/ugorji/go/codec/msgpack.go b/vendor/github.com/ugorji/go/codec/msgpack.go index 5eb4c963..e79830b5 100644 --- a/vendor/github.com/ugorji/go/codec/msgpack.go +++ b/vendor/github.com/ugorji/go/codec/msgpack.go @@ -374,7 +374,7 @@ func (d *msgpackDecDriver) DecodeNaked() { } if n.v == valueTypeUint && d.h.SignedInteger { n.v = valueTypeInt - n.i = int64(n.v) + n.i = int64(n.u) } return } @@ -561,6 +561,13 @@ func (d *msgpackDecDriver) readNextBd() { d.bdRead = true } +func (d *msgpackDecDriver) uncacheRead() { + if d.bdRead { + d.r.unreadn1() + d.bdRead = false + } +} + func (d *msgpackDecDriver) ContainerType() (vt valueType) { bd := d.bd if bd == mpNil { @@ -729,6 +736,7 @@ func (e *msgpackEncDriver) reset() { func (d *msgpackDecDriver) reset() { d.r = d.d.r + d.bd, d.bdRead = 0, false } //-------------------------------------------------- diff --git a/vendor/github.com/ugorji/go/codec/rpc.go b/vendor/github.com/ugorji/go/codec/rpc.go index dad53d0c..8062bed3 100644 --- a/vendor/github.com/ugorji/go/codec/rpc.go +++ b/vendor/github.com/ugorji/go/codec/rpc.go @@ -25,7 +25,7 @@ type Rpc interface { } // RpcCodecBuffered allows access to the underlying bufio.Reader/Writer -// used by the rpc connection. It accomodates use-cases where the connection +// used by the rpc connection. It accommodates use-cases where the connection // should be used by rpc and non-rpc functions, e.g. streaming a file after // sending an rpc response. type RpcCodecBuffered interface { diff --git a/vendor/github.com/ugorji/go/codec/simple.go b/vendor/github.com/ugorji/go/codec/simple.go index c1504965..d07208c8 100644 --- a/vendor/github.com/ugorji/go/codec/simple.go +++ b/vendor/github.com/ugorji/go/codec/simple.go @@ -166,6 +166,13 @@ func (d *simpleDecDriver) readNextBd() { d.bdRead = true } +func (d *simpleDecDriver) uncacheRead() { + if d.bdRead { + d.r.unreadn1() + d.bdRead = false + } +} + func (d *simpleDecDriver) ContainerType() (vt valueType) { if d.bd == simpleVdNil { return valueTypeNil @@ -340,7 +347,7 @@ func (d *simpleDecDriver) decLen() int { } return int(ui) } - d.d.errorf("decLen: Cannot read length: bd%8 must be in range 0..4. Got: %d", d.bd%8) + d.d.errorf("decLen: Cannot read length: bd%%8 must be in range 0..4. Got: %d", d.bd%8) return -1 } @@ -474,7 +481,7 @@ func (d *simpleDecDriver) DecodeNaked() { // SimpleHandle is a Handle for a very simple encoding format. // // simple is a simplistic codec similar to binc, but not as compact. -// - Encoding of a value is always preceeded by the descriptor byte (bd) +// - Encoding of a value is always preceded by the descriptor byte (bd) // - True, false, nil are encoded fully in 1 byte (the descriptor) // - Integers (intXXX, uintXXX) are encoded in 1, 2, 4 or 8 bytes (plus a descriptor byte). // There are positive (uintXXX and intXXX >= 0) and negative (intXXX < 0) integers. @@ -512,6 +519,7 @@ func (e *simpleEncDriver) reset() { func (d *simpleDecDriver) reset() { d.r = d.d.r + d.bd, d.bdRead = 0, false } var _ decDriver = (*simpleDecDriver)(nil) diff --git a/vendor/github.com/ugorji/go/codec/test.py b/vendor/github.com/ugorji/go/codec/test.py index dfe3b0c9..c0ad20b3 100755 --- a/vendor/github.com/ugorji/go/codec/test.py +++ b/vendor/github.com/ugorji/go/codec/test.py @@ -9,6 +9,8 @@ # sudo apt-get install python-pip # pip install --user msgpack-python msgpack-rpc-python cbor +# Ensure all "string" keys are utf strings (else encoded as bytes) + import cbor, msgpack, msgpackrpc, sys, os, threading def get_test_data_list(): @@ -26,35 +28,39 @@ def get_test_data_list(): -3232.0, -6464646464.0, 3232.0, + 6464.0, 6464646464.0, False, True, + u"null", None, u"someday", - u"", - u"bytestring", 1328176922000002000, + u"", -2206187877999998000, + u"bytestring", 270, + u"none", -2013855847999995777, #-6795364578871345152, ] l1 = [ { "true": True, "false": False }, - { "true": "True", + { "true": u"True", "false": False, "uint16(1616)": 1616 }, { "list": [1616, 32323232, True, -3232.0, {"TRUE":True, "FALSE":False}, [True, False] ], "int32":32323232, "bool": True, - "LONG STRING": "123456789012345678901234567890123456789012345678901234567890", - "SHORT STRING": "1234567890" }, - { True: "true", 8: False, "false": 0 } + "LONG STRING": u"123456789012345678901234567890123456789012345678901234567890", + "SHORT STRING": u"1234567890" }, + { True: "true", 138: False, "false": 200 } ] l = [] l.extend(l0) l.append(l0) + l.append(1) l.extend(l1) return l diff --git a/vendor/github.com/ugorji/go/codec/time.go b/vendor/github.com/ugorji/go/codec/time.go index fc4c63e1..718b731e 100644 --- a/vendor/github.com/ugorji/go/codec/time.go +++ b/vendor/github.com/ugorji/go/codec/time.go @@ -5,11 +5,22 @@ package codec import ( "fmt" + "reflect" "time" ) var ( - timeDigits = [...]byte{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'} + timeDigits = [...]byte{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'} + timeExtEncFn = func(rv reflect.Value) (bs []byte, err error) { + defer panicToErr(&err) + bs = timeExt{}.WriteExt(rv.Interface()) + return + } + timeExtDecFn = func(rv reflect.Value, bs []byte) (err error) { + defer panicToErr(&err) + timeExt{}.ReadExt(rv.Interface(), bs) + return + } ) type timeExt struct{} diff --git a/vendor/golang.org/x/crypto/ssh/terminal/util.go b/vendor/golang.org/x/crypto/ssh/terminal/util.go index 0763c9a9..7e60b31a 100644 --- a/vendor/golang.org/x/crypto/ssh/terminal/util.go +++ b/vendor/golang.org/x/crypto/ssh/terminal/util.go @@ -44,8 +44,13 @@ func MakeRaw(fd int) (*State, error) { } newState := oldState.termios - newState.Iflag &^= syscall.ISTRIP | syscall.INLCR | syscall.ICRNL | syscall.IGNCR | syscall.IXON | syscall.IXOFF - newState.Lflag &^= syscall.ECHO | syscall.ICANON | syscall.ISIG + // This attempts to replicate the behaviour documented for cfmakeraw in + // the termios(3) manpage. + newState.Iflag &^= syscall.IGNBRK | syscall.BRKINT | syscall.PARMRK | syscall.ISTRIP | syscall.INLCR | syscall.IGNCR | syscall.ICRNL | syscall.IXON + newState.Oflag &^= syscall.OPOST + newState.Lflag &^= syscall.ECHO | syscall.ECHONL | syscall.ICANON | syscall.ISIG | syscall.IEXTEN + newState.Cflag &^= syscall.CSIZE | syscall.PARENB + newState.Cflag |= syscall.CS8 if _, _, err := syscall.Syscall6(syscall.SYS_IOCTL, uintptr(fd), ioctlWriteTermios, uintptr(unsafe.Pointer(&newState)), 0, 0, 0); err != 0 { return nil, err } diff --git a/vendor/golang.org/x/crypto/ssh/terminal/util_plan9.go b/vendor/golang.org/x/crypto/ssh/terminal/util_plan9.go new file mode 100644 index 00000000..799f049f --- /dev/null +++ b/vendor/golang.org/x/crypto/ssh/terminal/util_plan9.go @@ -0,0 +1,58 @@ +// Copyright 2016 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Package terminal provides support functions for dealing with terminals, as +// commonly found on UNIX systems. +// +// Putting a terminal into raw mode is the most common requirement: +// +// oldState, err := terminal.MakeRaw(0) +// if err != nil { +// panic(err) +// } +// defer terminal.Restore(0, oldState) +package terminal + +import ( + "fmt" + "runtime" +) + +type State struct{} + +// IsTerminal returns true if the given file descriptor is a terminal. +func IsTerminal(fd int) bool { + return false +} + +// MakeRaw put the terminal connected to the given file descriptor into raw +// mode and returns the previous state of the terminal so that it can be +// restored. +func MakeRaw(fd int) (*State, error) { + return nil, fmt.Errorf("terminal: MakeRaw not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) +} + +// GetState returns the current state of a terminal which may be useful to +// restore the terminal after a signal. +func GetState(fd int) (*State, error) { + return nil, fmt.Errorf("terminal: GetState not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) +} + +// Restore restores the terminal connected to the given file descriptor to a +// previous state. +func Restore(fd int, state *State) error { + return fmt.Errorf("terminal: Restore not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) +} + +// GetSize returns the dimensions of the given terminal. +func GetSize(fd int) (width, height int, err error) { + return 0, 0, fmt.Errorf("terminal: GetSize not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) +} + +// ReadPassword reads a line of input from a terminal without local echo. This +// is commonly used for inputting passwords and other sensitive data. The slice +// returned does not include the \n. +func ReadPassword(fd int) ([]byte, error) { + return nil, fmt.Errorf("terminal: ReadPassword not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) +} diff --git a/vendor/golang.org/x/crypto/ssh/terminal/util_solaris.go b/vendor/golang.org/x/crypto/ssh/terminal/util_solaris.go new file mode 100644 index 00000000..90d374ad --- /dev/null +++ b/vendor/golang.org/x/crypto/ssh/terminal/util_solaris.go @@ -0,0 +1,73 @@ +// Copyright 2015 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build solaris + +package terminal + +import ( + "golang.org/x/sys/unix" + "io" + "syscall" +) + +// State contains the state of a terminal. +type State struct { + termios syscall.Termios +} + +// IsTerminal returns true if the given file descriptor is a terminal. +func IsTerminal(fd int) bool { + // see: http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libbc/libc/gen/common/isatty.c + var termio unix.Termio + err := unix.IoctlSetTermio(fd, unix.TCGETA, &termio) + return err == nil +} + +// ReadPassword reads a line of input from a terminal without local echo. This +// is commonly used for inputting passwords and other sensitive data. The slice +// returned does not include the \n. +func ReadPassword(fd int) ([]byte, error) { + // see also: http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libast/common/uwin/getpass.c + val, err := unix.IoctlGetTermios(fd, unix.TCGETS) + if err != nil { + return nil, err + } + oldState := *val + + newState := oldState + newState.Lflag &^= syscall.ECHO + newState.Lflag |= syscall.ICANON | syscall.ISIG + newState.Iflag |= syscall.ICRNL + err = unix.IoctlSetTermios(fd, unix.TCSETS, &newState) + if err != nil { + return nil, err + } + + defer unix.IoctlSetTermios(fd, unix.TCSETS, &oldState) + + var buf [16]byte + var ret []byte + for { + n, err := syscall.Read(fd, buf[:]) + if err != nil { + return nil, err + } + if n == 0 { + if len(ret) == 0 { + return nil, io.EOF + } + break + } + if buf[n-1] == '\n' { + n-- + } + ret = append(ret, buf[:n]...) + if n < len(buf) { + break + } + } + + return ret, nil +} diff --git a/vendor/golang.org/x/crypto/ssh/terminal/util_windows.go b/vendor/golang.org/x/crypto/ssh/terminal/util_windows.go index 2dd6c3d9..ae9fa9ec 100644 --- a/vendor/golang.org/x/crypto/ssh/terminal/util_windows.go +++ b/vendor/golang.org/x/crypto/ssh/terminal/util_windows.go @@ -87,8 +87,8 @@ func MakeRaw(fd int) (*State, error) { if e != 0 { return nil, error(e) } - st &^= (enableEchoInput | enableProcessedInput | enableLineInput | enableProcessedOutput) - _, _, e = syscall.Syscall(procSetConsoleMode.Addr(), 2, uintptr(fd), uintptr(st), 0) + raw := st &^ (enableEchoInput | enableProcessedInput | enableLineInput | enableProcessedOutput) + _, _, e = syscall.Syscall(procSetConsoleMode.Addr(), 2, uintptr(fd), uintptr(raw), 0) if e != 0 { return nil, error(e) } diff --git a/vendor/k8s.io/apimachinery/LICENSE b/vendor/k8s.io/apimachinery/LICENSE new file mode 100644 index 00000000..d6456956 --- /dev/null +++ b/vendor/k8s.io/apimachinery/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/pkg/api/meta/OWNERS b/vendor/k8s.io/apimachinery/pkg/api/meta/OWNERS similarity index 100% rename from pkg/api/meta/OWNERS rename to vendor/k8s.io/apimachinery/pkg/api/meta/OWNERS diff --git a/pkg/api/meta/doc.go b/vendor/k8s.io/apimachinery/pkg/api/meta/doc.go similarity index 100% rename from pkg/api/meta/doc.go rename to vendor/k8s.io/apimachinery/pkg/api/meta/doc.go diff --git a/pkg/api/meta/errors.go b/vendor/k8s.io/apimachinery/pkg/api/meta/errors.go similarity index 98% rename from pkg/api/meta/errors.go rename to vendor/k8s.io/apimachinery/pkg/api/meta/errors.go index 942e5ef3..1503bd6d 100644 --- a/pkg/api/meta/errors.go +++ b/vendor/k8s.io/apimachinery/pkg/api/meta/errors.go @@ -19,7 +19,7 @@ package meta import ( "fmt" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/schema" ) // AmbiguousResourceError is returned if the RESTMapper finds multiple matches for a resource diff --git a/pkg/api/meta/firsthit_restmapper.go b/vendor/k8s.io/apimachinery/pkg/api/meta/firsthit_restmapper.go similarity index 96% rename from pkg/api/meta/firsthit_restmapper.go rename to vendor/k8s.io/apimachinery/pkg/api/meta/firsthit_restmapper.go index 8d465313..fd221002 100644 --- a/pkg/api/meta/firsthit_restmapper.go +++ b/vendor/k8s.io/apimachinery/pkg/api/meta/firsthit_restmapper.go @@ -19,8 +19,8 @@ package meta import ( "fmt" - "k8s.io/client-go/pkg/runtime/schema" - utilerrors "k8s.io/client-go/pkg/util/errors" + "k8s.io/apimachinery/pkg/runtime/schema" + utilerrors "k8s.io/apimachinery/pkg/util/errors" ) // FirstHitRESTMapper is a wrapper for multiple RESTMappers which returns the diff --git a/pkg/api/meta/help.go b/vendor/k8s.io/apimachinery/pkg/api/meta/help.go similarity index 98% rename from pkg/api/meta/help.go rename to vendor/k8s.io/apimachinery/pkg/api/meta/help.go index 0ec086e6..930441fa 100644 --- a/pkg/api/meta/help.go +++ b/vendor/k8s.io/apimachinery/pkg/api/meta/help.go @@ -20,8 +20,8 @@ import ( "fmt" "reflect" - "k8s.io/client-go/pkg/conversion" - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime" ) // IsListType returns true if the provided Object has a slice called Items diff --git a/pkg/api/meta/interfaces.go b/vendor/k8s.io/apimachinery/pkg/api/meta/interfaces.go similarity index 97% rename from pkg/api/meta/interfaces.go rename to vendor/k8s.io/apimachinery/pkg/api/meta/interfaces.go index 40c164d4..6f04ec32 100644 --- a/pkg/api/meta/interfaces.go +++ b/vendor/k8s.io/apimachinery/pkg/api/meta/interfaces.go @@ -17,11 +17,11 @@ limitations under the License. package meta import ( - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/apis/meta/v1/unstructured" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/types" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/types" ) // VersionInterfaces contains the interfaces one should use for dealing with types of a particular version. diff --git a/pkg/api/meta/meta.go b/vendor/k8s.io/apimachinery/pkg/api/meta/meta.go similarity index 98% rename from pkg/api/meta/meta.go rename to vendor/k8s.io/apimachinery/pkg/api/meta/meta.go index 600ff47a..149474dd 100644 --- a/pkg/api/meta/meta.go +++ b/vendor/k8s.io/apimachinery/pkg/api/meta/meta.go @@ -20,11 +20,11 @@ import ( "fmt" "reflect" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/conversion" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/types" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/types" "github.com/golang/glog" ) diff --git a/pkg/api/meta/multirestmapper.go b/vendor/k8s.io/apimachinery/pkg/api/meta/multirestmapper.go similarity index 97% rename from pkg/api/meta/multirestmapper.go rename to vendor/k8s.io/apimachinery/pkg/api/meta/multirestmapper.go index 5225cce6..d32b0dbf 100644 --- a/pkg/api/meta/multirestmapper.go +++ b/vendor/k8s.io/apimachinery/pkg/api/meta/multirestmapper.go @@ -20,9 +20,9 @@ import ( "fmt" "strings" - "k8s.io/client-go/pkg/runtime/schema" - utilerrors "k8s.io/client-go/pkg/util/errors" - "k8s.io/client-go/pkg/util/sets" + "k8s.io/apimachinery/pkg/runtime/schema" + utilerrors "k8s.io/apimachinery/pkg/util/errors" + "k8s.io/apimachinery/pkg/util/sets" ) // MultiRESTMapper is a wrapper for multiple RESTMappers. diff --git a/pkg/api/meta/priority.go b/vendor/k8s.io/apimachinery/pkg/api/meta/priority.go similarity index 99% rename from pkg/api/meta/priority.go rename to vendor/k8s.io/apimachinery/pkg/api/meta/priority.go index b2591137..91203d11 100644 --- a/pkg/api/meta/priority.go +++ b/vendor/k8s.io/apimachinery/pkg/api/meta/priority.go @@ -19,7 +19,7 @@ package meta import ( "fmt" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/schema" ) const ( diff --git a/pkg/api/meta/restmapper.go b/vendor/k8s.io/apimachinery/pkg/api/meta/restmapper.go similarity index 99% rename from pkg/api/meta/restmapper.go rename to vendor/k8s.io/apimachinery/pkg/api/meta/restmapper.go index afa5c6f8..bf4c77a8 100644 --- a/pkg/api/meta/restmapper.go +++ b/vendor/k8s.io/apimachinery/pkg/api/meta/restmapper.go @@ -22,8 +22,8 @@ import ( "sort" "strings" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) // Implements RESTScope interface diff --git a/pkg/api/meta/unstructured.go b/vendor/k8s.io/apimachinery/pkg/api/meta/unstructured.go similarity index 90% rename from pkg/api/meta/unstructured.go rename to vendor/k8s.io/apimachinery/pkg/api/meta/unstructured.go index 89e5545b..3ebf2481 100644 --- a/pkg/api/meta/unstructured.go +++ b/vendor/k8s.io/apimachinery/pkg/api/meta/unstructured.go @@ -17,8 +17,8 @@ limitations under the License. package meta import ( - "k8s.io/client-go/pkg/apis/meta/v1/unstructured" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" + "k8s.io/apimachinery/pkg/runtime/schema" ) // InterfacesForUnstructured returns VersionInterfaces suitable for diff --git a/pkg/apimachinery/doc.go b/vendor/k8s.io/apimachinery/pkg/apimachinery/doc.go similarity index 100% rename from pkg/apimachinery/doc.go rename to vendor/k8s.io/apimachinery/pkg/apimachinery/doc.go diff --git a/pkg/apimachinery/registered/registered.go b/vendor/k8s.io/apimachinery/pkg/apimachinery/registered/registered.go similarity index 99% rename from pkg/apimachinery/registered/registered.go rename to vendor/k8s.io/apimachinery/pkg/apimachinery/registered/registered.go index 46d6bec5..e56bfc0a 100644 --- a/pkg/apimachinery/registered/registered.go +++ b/vendor/k8s.io/apimachinery/pkg/apimachinery/registered/registered.go @@ -25,10 +25,10 @@ import ( "github.com/golang/glog" - "k8s.io/client-go/pkg/api/meta" - "k8s.io/client-go/pkg/apimachinery" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/util/sets" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/apimachinery" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/util/sets" ) var ( diff --git a/pkg/apimachinery/types.go b/vendor/k8s.io/apimachinery/pkg/apimachinery/types.go similarity index 96% rename from pkg/apimachinery/types.go rename to vendor/k8s.io/apimachinery/pkg/apimachinery/types.go index 2d7017c9..213e34bc 100644 --- a/pkg/apimachinery/types.go +++ b/vendor/k8s.io/apimachinery/pkg/apimachinery/types.go @@ -19,9 +19,9 @@ package apimachinery import ( "fmt" - "k8s.io/client-go/pkg/api/meta" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) // GroupMeta stores the metadata of a group. diff --git a/pkg/apis/meta/v1/OWNERS b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/OWNERS similarity index 100% rename from pkg/apis/meta/v1/OWNERS rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/OWNERS diff --git a/pkg/apis/meta/v1/doc.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/doc.go similarity index 100% rename from pkg/apis/meta/v1/doc.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/doc.go diff --git a/pkg/apis/meta/v1/duration.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/duration.go similarity index 100% rename from pkg/apis/meta/v1/duration.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/duration.go diff --git a/pkg/apis/meta/v1/generated.pb.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.pb.go similarity index 89% rename from pkg/apis/meta/v1/generated.pb.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.pb.go index 89088f25..c7c8bf27 100644 --- a/pkg/apis/meta/v1/generated.pb.go +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -15,14 +15,14 @@ limitations under the License. */ // Code generated by protoc-gen-gogo. -// source: k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto +// source: k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto // DO NOT EDIT! /* Package v1 is a generated protocol buffer package. It is generated from these files: - k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto + k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto It has these top-level messages: APIGroup @@ -52,6 +52,7 @@ limitations under the License. Timestamp TypeMeta Verbs + WatchEvent */ package v1 @@ -60,7 +61,7 @@ import fmt "fmt" import math "math" import time "time" -import k8s_io_kubernetes_pkg_types "k8s.io/client-go/pkg/types" +import k8s_io_kubernetes_pkg_types "k8s.io/apimachinery/pkg/types" import strings "strings" import reflect "reflect" @@ -191,6 +192,10 @@ func (m *Verbs) Reset() { *m = Verbs{} } func (*Verbs) ProtoMessage() {} func (*Verbs) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } +func (m *WatchEvent) Reset() { *m = WatchEvent{} } +func (*WatchEvent) ProtoMessage() {} +func (*WatchEvent) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} } + func init() { proto.RegisterType((*APIGroup)(nil), "k8s.io.client-go.pkg.apis.meta.v1.APIGroup") proto.RegisterType((*APIGroupList)(nil), "k8s.io.client-go.pkg.apis.meta.v1.APIGroupList") @@ -219,6 +224,7 @@ func init() { proto.RegisterType((*Timestamp)(nil), "k8s.io.client-go.pkg.apis.meta.v1.Timestamp") proto.RegisterType((*TypeMeta)(nil), "k8s.io.client-go.pkg.apis.meta.v1.TypeMeta") proto.RegisterType((*Verbs)(nil), "k8s.io.client-go.pkg.apis.meta.v1.Verbs") + proto.RegisterType((*WatchEvent)(nil), "k8s.io.client-go.pkg.apis.meta.v1.WatchEvent") } func (m *APIGroup) Marshal() (data []byte, err error) { size := m.Size() @@ -1094,6 +1100,36 @@ func (m Verbs) MarshalTo(data []byte) (int, error) { return i, nil } +func (m *WatchEvent) Marshal() (data []byte, err error) { + size := m.Size() + data = make([]byte, size) + n, err := m.MarshalTo(data) + if err != nil { + return nil, err + } + return data[:n], nil +} + +func (m *WatchEvent) MarshalTo(data []byte) (int, error) { + var i int + _ = i + var l int + _ = l + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Type))) + i += copy(data[i:], m.Type) + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Object.Size())) + n5, err := m.Object.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n5 + return i, nil +} + func encodeFixed64Generated(data []byte, offset int, v uint64) int { data[offset] = uint8(v) data[offset+1] = uint8(v >> 8) @@ -1454,6 +1490,16 @@ func (m Verbs) Size() (n int) { return n } +func (m *WatchEvent) Size() (n int) { + var l int + _ = l + l = len(m.Type) + n += 1 + l + sovGenerated(uint64(l)) + l = m.Object.Size() + n += 1 + l + sovGenerated(uint64(l)) + return n +} + func sovGenerated(x uint64) (n int) { for { n++ @@ -1698,6 +1744,17 @@ func (this *TypeMeta) String() string { }, "") return s } +func (this *WatchEvent) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&WatchEvent{`, + `Type:` + fmt.Sprintf("%v", this.Type) + `,`, + `Object:` + strings.Replace(strings.Replace(this.Object.String(), "RawExtension", "k8s_io_kubernetes_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} func valueToStringGenerated(v interface{}) string { rv := reflect.ValueOf(v) if rv.IsNil() { @@ -4912,6 +4969,115 @@ func (m *Verbs) Unmarshal(data []byte) error { } return nil } +func (m *WatchEvent) Unmarshal(data []byte) error { + l := len(data) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WatchEvent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WatchEvent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Type = string(data[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Object.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(data[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipGenerated(data []byte) (n int, err error) { l := len(data) iNdEx := 0 @@ -5018,102 +5184,105 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 1543 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xcc, 0x57, 0xcf, 0x6f, 0x1b, 0xc5, - 0x17, 0xf7, 0xda, 0xb1, 0x6b, 0x3f, 0xc7, 0x4d, 0xba, 0xdf, 0x54, 0x5f, 0x37, 0x12, 0x76, 0xd8, - 0x22, 0x94, 0x4a, 0xed, 0x5a, 0x89, 0x10, 0xaa, 0x0a, 0x45, 0x64, 0x93, 0xb4, 0x0a, 0x6d, 0x9a, - 0x68, 0xd2, 0x16, 0x54, 0x7a, 0x60, 0xe3, 0x9d, 0x38, 0x4b, 0xec, 0xdd, 0x65, 0x66, 0x6c, 0x6a, - 0x71, 0xa0, 0xe2, 0xc4, 0x01, 0xa1, 0x1e, 0x11, 0x07, 0xd4, 0x48, 0xfc, 0x01, 0xfc, 0x0b, 0xdc, - 0x7a, 0xa3, 0xdc, 0x38, 0x20, 0x8b, 0x06, 0x71, 0xe2, 0x3f, 0xc8, 0x09, 0xcd, 0xec, 0xcc, 0x7a, - 0xd7, 0x89, 0x9b, 0x8d, 0xca, 0x81, 0x93, 0x77, 0xde, 0x8f, 0xcf, 0x7b, 0xf3, 0xe6, 0x33, 0x6f, - 0x9e, 0x61, 0x71, 0xef, 0x2a, 0x35, 0x5d, 0xbf, 0xb1, 0xd7, 0xdd, 0xc6, 0xc4, 0xc3, 0x0c, 0xd3, - 0x46, 0xb0, 0xd7, 0x6a, 0xd8, 0x81, 0x4b, 0x1b, 0x1d, 0xcc, 0xec, 0x46, 0x6f, 0xa1, 0xd1, 0xc2, - 0x1e, 0x26, 0x36, 0xc3, 0x8e, 0x19, 0x10, 0x9f, 0xf9, 0xba, 0x11, 0xfa, 0x98, 0x43, 0x1f, 0x33, - 0xd8, 0x6b, 0x99, 0xdc, 0xc7, 0xe4, 0x3e, 0x66, 0x6f, 0x61, 0xf6, 0x4a, 0xcb, 0x65, 0xbb, 0xdd, - 0x6d, 0xb3, 0xe9, 0x77, 0x1a, 0x2d, 0xbf, 0xe5, 0x37, 0x84, 0xeb, 0x76, 0x77, 0x47, 0xac, 0xc4, - 0x42, 0x7c, 0x85, 0x90, 0xb3, 0x57, 0x8e, 0x4f, 0x83, 0x74, 0x3d, 0xe6, 0x76, 0xf0, 0x68, 0x06, - 0xb3, 0x6f, 0xbd, 0xdc, 0x9c, 0x36, 0x77, 0x71, 0xc7, 0x3e, 0xe2, 0xb5, 0x70, 0xbc, 0x57, 0x97, - 0xb9, 0xed, 0x86, 0xeb, 0x31, 0xca, 0xc8, 0xa8, 0x8b, 0xf1, 0x73, 0x0e, 0x8a, 0x4b, 0x9b, 0x6b, - 0x37, 0x89, 0xdf, 0x0d, 0xf4, 0x39, 0x98, 0xf0, 0xec, 0x0e, 0xae, 0x6a, 0x73, 0xda, 0x7c, 0xc9, - 0x9a, 0x7c, 0x36, 0xa8, 0x67, 0x0e, 0x06, 0xf5, 0x89, 0x3b, 0x76, 0x07, 0x23, 0xa1, 0xd1, 0x3f, - 0x85, 0x62, 0x0f, 0x13, 0xea, 0xfa, 0x1e, 0xad, 0x66, 0xe7, 0x72, 0xf3, 0xe5, 0xc5, 0x77, 0xcd, - 0x93, 0x8b, 0x65, 0x0a, 0xf8, 0xfb, 0xa1, 0xe3, 0x0d, 0x9f, 0xac, 0xb8, 0xb4, 0xe9, 0xf7, 0x30, - 0xe9, 0x5b, 0xd3, 0x32, 0x46, 0x51, 0x2a, 0x29, 0x8a, 0xf0, 0xf5, 0xaf, 0x34, 0x98, 0x0e, 0x08, - 0xde, 0xc1, 0x84, 0x60, 0x47, 0xea, 0xab, 0xb9, 0x39, 0xed, 0x95, 0x83, 0x56, 0x65, 0xd0, 0xe9, - 0xcd, 0x11, 0x74, 0x74, 0x24, 0x9e, 0xbe, 0xaf, 0xc1, 0x2c, 0xc5, 0xa4, 0x87, 0xc9, 0x92, 0xe3, - 0x10, 0x4c, 0xa9, 0xd5, 0x5f, 0x6e, 0xbb, 0xd8, 0x63, 0xcb, 0x6b, 0x2b, 0x88, 0x56, 0x27, 0x44, - 0x0d, 0xae, 0xa7, 0x49, 0x67, 0x6b, 0x1c, 0x8a, 0x65, 0xc8, 0x7c, 0x66, 0xc7, 0x9a, 0x50, 0xf4, - 0x92, 0x24, 0x0c, 0x07, 0x26, 0xd5, 0x11, 0xde, 0x76, 0x29, 0xd3, 0xef, 0x42, 0xa1, 0xc5, 0x17, - 0xb4, 0xaa, 0x89, 0xf4, 0x2e, 0xa7, 0x49, 0x4f, 0x21, 0x58, 0x67, 0x65, 0x36, 0x05, 0xb1, 0xa4, - 0x48, 0x62, 0x19, 0xbf, 0x6a, 0x50, 0x5e, 0xda, 0x5c, 0x43, 0x98, 0xfa, 0x5d, 0xd2, 0xc4, 0x29, - 0xc8, 0xb2, 0x08, 0xc0, 0x7f, 0x69, 0x60, 0x37, 0xb1, 0x53, 0xcd, 0xce, 0x69, 0xf3, 0x45, 0x4b, - 0x97, 0x76, 0x70, 0x27, 0xd2, 0xa0, 0x98, 0x15, 0x47, 0xdd, 0x73, 0x3d, 0x47, 0x9c, 0x73, 0x0c, - 0xf5, 0x96, 0xeb, 0x39, 0x48, 0x68, 0xf4, 0x0f, 0x20, 0xdf, 0xc3, 0x64, 0x9b, 0xd7, 0x9e, 0x53, - 0xe1, 0x52, 0x9a, 0xcd, 0xdd, 0xe7, 0x0e, 0x56, 0xe9, 0x60, 0x50, 0xcf, 0x8b, 0x4f, 0x14, 0x42, - 0x18, 0x3f, 0x69, 0x30, 0x15, 0xdb, 0x93, 0xa8, 0xde, 0x55, 0x98, 0x6c, 0xc5, 0x98, 0x23, 0xf7, - 0x37, 0x23, 0x33, 0x99, 0x8c, 0xb3, 0x0a, 0x25, 0x2c, 0xf5, 0x26, 0x94, 0x88, 0x44, 0x52, 0xb7, - 0xa3, 0x91, 0xb2, 0xf4, 0x2a, 0x83, 0x61, 0x9c, 0x98, 0x90, 0xa2, 0x21, 0xae, 0xf1, 0x57, 0x78, - 0x0c, 0xea, 0xbe, 0xe8, 0xf3, 0xb1, 0x1b, 0xc9, 0x8f, 0xbb, 0x64, 0x4d, 0x8e, 0xb9, 0x4f, 0x27, - 0x50, 0x39, 0xfb, 0x1f, 0xa0, 0xf2, 0xb5, 0xe2, 0x77, 0x4f, 0xeb, 0x99, 0xc7, 0xbf, 0xcf, 0x65, - 0x8c, 0x35, 0x28, 0xae, 0x74, 0x89, 0xcd, 0x78, 0x61, 0xaf, 0x43, 0xd1, 0x91, 0xdf, 0xe2, 0x38, - 0x72, 0xd6, 0xeb, 0xaa, 0x6f, 0x28, 0x9b, 0xc3, 0x41, 0xbd, 0xc2, 0x5b, 0xa3, 0xa9, 0x04, 0x28, - 0x72, 0x31, 0x1e, 0x42, 0x65, 0xf5, 0x51, 0xe0, 0x13, 0xb6, 0x11, 0x30, 0x51, 0x89, 0x37, 0xa1, - 0x80, 0x85, 0x40, 0xa0, 0x15, 0x87, 0x94, 0x0f, 0xcd, 0x90, 0xd4, 0xea, 0x17, 0x21, 0x8f, 0x1f, - 0xd9, 0x4d, 0x26, 0xb9, 0x5b, 0x91, 0x66, 0xf9, 0x55, 0x2e, 0x44, 0xa1, 0xce, 0xd8, 0x00, 0xb8, - 0x89, 0x23, 0xe8, 0x25, 0x98, 0x52, 0x67, 0x95, 0x24, 0xd0, 0xff, 0xa5, 0xf3, 0x14, 0x4a, 0xaa, - 0xd1, 0xa8, 0xbd, 0xf1, 0x10, 0x4a, 0x82, 0x64, 0x9c, 0xf3, 0x3c, 0x05, 0xc1, 0x31, 0x89, 0x12, - 0xa5, 0x20, 0x2c, 0x50, 0xa8, 0x8b, 0x2e, 0x4d, 0x76, 0xdc, 0xa5, 0x89, 0xd5, 0xb5, 0x0d, 0x95, - 0xd0, 0x57, 0xdd, 0xe3, 0x54, 0x11, 0x2e, 0x43, 0x51, 0xa5, 0x29, 0xa3, 0x44, 0x9d, 0x5b, 0x01, - 0xa1, 0xc8, 0x22, 0x16, 0x6d, 0x17, 0x12, 0x17, 0x26, 0x5d, 0xb0, 0x4b, 0x70, 0x46, 0x92, 0x56, - 0xc6, 0x9a, 0x92, 0x66, 0x67, 0x54, 0xcd, 0x94, 0x3e, 0x16, 0xe9, 0x4b, 0xa8, 0x8e, 0x6b, 0xf8, - 0xaf, 0x70, 0xa5, 0xd3, 0xa7, 0x62, 0x7c, 0xab, 0xc1, 0x74, 0x1c, 0x29, 0xfd, 0xf1, 0xa5, 0x0f, - 0x72, 0x72, 0x7b, 0x8c, 0x55, 0xe4, 0x07, 0x0d, 0x66, 0x12, 0x5b, 0x3b, 0xd5, 0x89, 0x9f, 0x22, - 0xa9, 0x38, 0x39, 0x72, 0xa7, 0x20, 0xc7, 0x2f, 0x59, 0xa8, 0xdc, 0xb6, 0xb7, 0x71, 0x7b, 0x0b, - 0xb7, 0x71, 0x93, 0xf9, 0x44, 0xef, 0x43, 0xb9, 0x63, 0xb3, 0xe6, 0xae, 0x90, 0xaa, 0xe7, 0xcb, - 0x4a, 0xd3, 0x92, 0x12, 0x38, 0xe6, 0xfa, 0x10, 0x64, 0xd5, 0x63, 0xa4, 0x6f, 0xfd, 0x4f, 0x26, - 0x54, 0x8e, 0x69, 0x50, 0x3c, 0x96, 0x98, 0x36, 0xc4, 0x7a, 0xf5, 0x51, 0xc0, 0xfb, 0xd2, 0x69, - 0x47, 0x9c, 0x44, 0x02, 0x08, 0x7f, 0xd6, 0x75, 0x09, 0xee, 0x60, 0x8f, 0x0d, 0xa7, 0x8d, 0xf5, - 0x11, 0x74, 0x74, 0x24, 0xde, 0xec, 0x7b, 0x30, 0x3d, 0x9a, 0xba, 0x3e, 0x0d, 0xb9, 0x3d, 0xdc, - 0x0f, 0xcf, 0x0a, 0xf1, 0x4f, 0x7d, 0x06, 0xf2, 0x3d, 0xbb, 0xdd, 0x95, 0x37, 0x11, 0x85, 0x8b, - 0x6b, 0xd9, 0xab, 0x9a, 0xf1, 0xa3, 0x06, 0xd5, 0x71, 0x89, 0xe8, 0xaf, 0xc5, 0x80, 0xac, 0xb2, - 0xcc, 0x2a, 0x77, 0x0b, 0xf7, 0x43, 0xd4, 0x55, 0x28, 0xfa, 0x01, 0x9f, 0x0d, 0x7d, 0x22, 0x4f, - 0xfc, 0x92, 0x3a, 0xc5, 0x0d, 0x29, 0x3f, 0x1c, 0xd4, 0xcf, 0x27, 0xe0, 0x95, 0x02, 0x45, 0xae, - 0xba, 0x01, 0x05, 0x91, 0x0f, 0xad, 0xe6, 0xc4, 0x6b, 0x04, 0xbc, 0xaf, 0xde, 0x17, 0x12, 0x24, - 0x35, 0xc6, 0x17, 0x50, 0xe4, 0x4f, 0xed, 0x3a, 0x66, 0x36, 0x27, 0x0f, 0xc5, 0xed, 0x9d, 0xdb, - 0xae, 0xb7, 0x27, 0x53, 0x8b, 0xc8, 0xb3, 0x25, 0xe5, 0x28, 0xb2, 0x38, 0xae, 0xbd, 0x66, 0x4f, - 0xd9, 0x5e, 0x0f, 0x35, 0x38, 0xbb, 0xf1, 0xb9, 0x87, 0x09, 0xe2, 0xa3, 0x1e, 0xf6, 0xc2, 0x51, - 0x46, 0xdc, 0x2a, 0x6d, 0xec, 0xd0, 0xa1, 0x86, 0x9d, 0xdc, 0xd8, 0x61, 0xe7, 0x7d, 0xc8, 0x75, - 0x5d, 0x47, 0x0c, 0x25, 0x25, 0xcb, 0x54, 0xd5, 0xbd, 0xb7, 0xb6, 0x72, 0x38, 0xa8, 0xd7, 0x8f, - 0x9f, 0xcb, 0x59, 0x3f, 0xc0, 0xd4, 0xbc, 0xb7, 0xb6, 0x82, 0xb8, 0x2b, 0x1f, 0x97, 0xec, 0xc0, - 0x55, 0xdb, 0xca, 0x0b, 0xa0, 0x68, 0x5c, 0x1a, 0x3e, 0xf9, 0x28, 0x66, 0xa5, 0x9b, 0x00, 0x4d, - 0xdf, 0x63, 0xc4, 0x6f, 0xb7, 0x31, 0xa9, 0x16, 0xc2, 0xd7, 0x8c, 0xdb, 0x2f, 0x47, 0x52, 0x14, - 0xb3, 0x30, 0x2e, 0x43, 0x09, 0xf9, 0x3e, 0xdb, 0xb4, 0xd9, 0x2e, 0xd5, 0xeb, 0x90, 0x0f, 0xf8, - 0x87, 0x9c, 0x1b, 0xc4, 0x78, 0x24, 0x34, 0x28, 0x94, 0x1b, 0xdf, 0x68, 0x70, 0x61, 0xec, 0x43, - 0xce, 0xf3, 0x6d, 0x46, 0x2b, 0x59, 0xbb, 0x28, 0xdf, 0xa1, 0x1d, 0x8a, 0x59, 0xe9, 0xef, 0x40, - 0x25, 0xf1, 0xfa, 0xcb, 0xd3, 0x3b, 0x2f, 0xdd, 0x2a, 0x89, 0x68, 0x28, 0x69, 0x6b, 0xfc, 0x9d, - 0x85, 0xc2, 0x16, 0xb3, 0x59, 0x97, 0xea, 0x0f, 0xa0, 0xc8, 0x2f, 0x9e, 0x63, 0x33, 0x5b, 0x44, - 0x4e, 0x39, 0xe4, 0x2a, 0xd6, 0x0d, 0x39, 0xa6, 0x24, 0x28, 0xc2, 0xe3, 0xd3, 0x01, 0x15, 0x51, - 0x64, 0x72, 0xd1, 0x74, 0x10, 0xc6, 0x46, 0x52, 0xcb, 0x3b, 0x64, 0x07, 0x53, 0x6a, 0xb7, 0x14, - 0x2d, 0xa2, 0x0e, 0xb9, 0x1e, 0x8a, 0x91, 0xd2, 0xeb, 0x6f, 0x43, 0x81, 0x60, 0x9b, 0xfa, 0x9e, - 0xe4, 0x47, 0x4d, 0x41, 0x22, 0x21, 0x3d, 0x1c, 0xd4, 0x27, 0x25, 0xb8, 0x58, 0x23, 0x69, 0xad, - 0x7f, 0x04, 0x67, 0x1c, 0xcc, 0x6c, 0xb7, 0x4d, 0x05, 0x1f, 0xca, 0x8b, 0x0b, 0xa9, 0xc6, 0x33, - 0x01, 0xb5, 0x12, 0x3a, 0x5a, 0x65, 0x9e, 0x91, 0x5c, 0x20, 0x05, 0xc7, 0x09, 0xdd, 0xf4, 0x1d, - 0x2c, 0x28, 0x93, 0x1f, 0x12, 0x7a, 0xd9, 0x77, 0x30, 0x12, 0x1a, 0xe3, 0x89, 0x06, 0xe5, 0x10, - 0x69, 0xd9, 0xee, 0x52, 0xac, 0x2f, 0x44, 0x7b, 0x08, 0x8f, 0xfa, 0x82, 0xf2, 0xb9, 0xdb, 0x0f, - 0xf0, 0xe1, 0xa0, 0x5e, 0x12, 0x66, 0x7c, 0x11, 0xa5, 0x1f, 0xab, 0x50, 0xf6, 0x84, 0x0a, 0x5d, - 0x84, 0xfc, 0x8e, 0x8b, 0xdb, 0xea, 0x65, 0x8b, 0xde, 0xa4, 0x1b, 0x5c, 0x88, 0x42, 0x9d, 0xf1, - 0x7d, 0x16, 0x2a, 0x89, 0xcd, 0xa5, 0xf8, 0x13, 0x12, 0x3d, 0x76, 0xd9, 0x14, 0x03, 0xd4, 0xf8, - 0x7f, 0x1d, 0x1f, 0x42, 0xa1, 0xc9, 0xf7, 0xa7, 0xfe, 0xf2, 0x35, 0xd2, 0x1f, 0x84, 0xa8, 0xcb, - 0x90, 0x45, 0x62, 0x49, 0x91, 0x84, 0xd3, 0x6f, 0xc2, 0x39, 0x82, 0x19, 0xe9, 0x2f, 0xed, 0x30, - 0x4c, 0xb6, 0x70, 0xd3, 0xf7, 0x9c, 0xf0, 0xb0, 0xf3, 0x51, 0x85, 0xcf, 0xa1, 0x51, 0x03, 0x74, - 0xd4, 0xc7, 0x68, 0xc3, 0xc4, 0x5d, 0xb7, 0x83, 0x79, 0xd1, 0xa9, 0x84, 0x09, 0x67, 0xe5, 0xa8, - 0xe8, 0xca, 0x59, 0xe9, 0x79, 0x6d, 0x3c, 0xdb, 0xf3, 0x43, 0xa2, 0xe7, 0x87, 0xb5, 0xb9, 0xc3, - 0x85, 0x28, 0xd4, 0x5d, 0x9b, 0xe1, 0xef, 0xf5, 0xd7, 0xfb, 0xf5, 0xcc, 0x93, 0xfd, 0x7a, 0xe6, - 0xe9, 0xbe, 0x7c, 0xbb, 0x3f, 0x86, 0x12, 0x8f, 0x46, 0x99, 0xdd, 0x09, 0xfe, 0xed, 0x90, 0xc6, - 0x27, 0x50, 0xe4, 0x3c, 0x12, 0xef, 0xc3, 0xc9, 0xbd, 0x39, 0xd9, 0x37, 0xb3, 0x69, 0xfa, 0xa6, - 0xb1, 0x08, 0xe1, 0x1f, 0x41, 0xde, 0x03, 0x5d, 0x86, 0x3b, 0x89, 0x1e, 0xb8, 0xc6, 0x05, 0x28, - 0x94, 0x0f, 0xc7, 0x15, 0xeb, 0x8d, 0x67, 0x2f, 0x6a, 0x99, 0xe7, 0x2f, 0x6a, 0x99, 0xdf, 0x5e, - 0xd4, 0x32, 0x8f, 0x0f, 0x6a, 0xda, 0xb3, 0x83, 0x9a, 0xf6, 0xfc, 0xa0, 0xa6, 0xfd, 0x71, 0x50, - 0xd3, 0x9e, 0xfc, 0x59, 0xcb, 0x3c, 0xc8, 0xf6, 0x16, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0x9c, - 0xf8, 0xe2, 0x2b, 0x70, 0x12, 0x00, 0x00, + // 1598 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xcc, 0x58, 0x4f, 0x6f, 0x1b, 0x45, + 0x14, 0xf7, 0xda, 0xb1, 0x6b, 0x3f, 0xc7, 0x4d, 0xba, 0xa4, 0xc2, 0x8d, 0x84, 0x1d, 0xb6, 0x08, + 0xa5, 0xa2, 0x5d, 0x2b, 0x11, 0x42, 0x55, 0xa1, 0x88, 0x6c, 0x92, 0x56, 0xa1, 0x4d, 0x13, 0x4d, + 0xfa, 0x07, 0x95, 0x1e, 0xd8, 0x78, 0x27, 0xce, 0x36, 0xf6, 0xee, 0x32, 0x33, 0x76, 0x63, 0x71, + 0xa0, 0x82, 0x0b, 0x07, 0x84, 0x7a, 0x44, 0x1c, 0x50, 0x23, 0xf1, 0x01, 0xf8, 0x0a, 0xdc, 0x7a, + 0xa3, 0xdc, 0x38, 0x20, 0x8b, 0x06, 0x71, 0xe2, 0x1b, 0xe4, 0x84, 0x66, 0x76, 0x66, 0xbd, 0x76, + 0xe2, 0x66, 0xa3, 0x72, 0xe0, 0x14, 0xcf, 0xfb, 0xf3, 0x7b, 0x6f, 0xde, 0xfc, 0xe6, 0xcd, 0xdb, + 0xc0, 0xfc, 0xce, 0x65, 0x6a, 0xba, 0x7e, 0x6d, 0xa7, 0xbd, 0x89, 0x89, 0x87, 0x19, 0xa6, 0xb5, + 0x60, 0xa7, 0x51, 0xb3, 0x03, 0x97, 0xd6, 0x5a, 0x98, 0xd9, 0xb5, 0xce, 0x5c, 0xad, 0x81, 0x3d, + 0x4c, 0x6c, 0x86, 0x1d, 0x33, 0x20, 0x3e, 0xf3, 0x75, 0x23, 0xf4, 0x31, 0xfb, 0x3e, 0x66, 0xb0, + 0xd3, 0x30, 0xb9, 0x8f, 0xc9, 0x7d, 0xcc, 0xce, 0xdc, 0xf4, 0xa5, 0x86, 0xcb, 0xb6, 0xdb, 0x9b, + 0x66, 0xdd, 0x6f, 0xd5, 0x1a, 0x7e, 0xc3, 0xaf, 0x09, 0xd7, 0xcd, 0xf6, 0x96, 0x58, 0x89, 0x85, + 0xf8, 0x15, 0x42, 0x4e, 0x5f, 0x3a, 0x3a, 0x0d, 0xd2, 0xf6, 0x98, 0xdb, 0xc2, 0xc3, 0x19, 0x4c, + 0xbf, 0xfb, 0x72, 0x73, 0x5a, 0xdf, 0xc6, 0x2d, 0xfb, 0x90, 0xd7, 0xdc, 0xd1, 0x5e, 0x6d, 0xe6, + 0x36, 0x6b, 0xae, 0xc7, 0x28, 0x23, 0xc3, 0x2e, 0xc6, 0x2f, 0x19, 0xc8, 0x2f, 0xac, 0xaf, 0x5c, + 0x27, 0x7e, 0x3b, 0xd0, 0x67, 0x60, 0xcc, 0xb3, 0x5b, 0xb8, 0xac, 0xcd, 0x68, 0xb3, 0x05, 0x6b, + 0xfc, 0x59, 0xaf, 0x9a, 0xda, 0xef, 0x55, 0xc7, 0x6e, 0xd9, 0x2d, 0x8c, 0x84, 0x46, 0x7f, 0x08, + 0xf9, 0x0e, 0x26, 0xd4, 0xf5, 0x3d, 0x5a, 0x4e, 0xcf, 0x64, 0x66, 0x8b, 0xf3, 0x1f, 0x98, 0xc7, + 0x17, 0xcb, 0x14, 0xf0, 0x77, 0x43, 0xc7, 0x6b, 0x3e, 0x59, 0x72, 0x69, 0xdd, 0xef, 0x60, 0xd2, + 0xb5, 0x26, 0x65, 0x8c, 0xbc, 0x54, 0x52, 0x14, 0xe1, 0xeb, 0x5f, 0x69, 0x30, 0x19, 0x10, 0xbc, + 0x85, 0x09, 0xc1, 0x8e, 0xd4, 0x97, 0x33, 0x33, 0xda, 0x2b, 0x07, 0x2d, 0xcb, 0xa0, 0x93, 0xeb, + 0x43, 0xe8, 0xe8, 0x50, 0x3c, 0x7d, 0x4f, 0x83, 0x69, 0x8a, 0x49, 0x07, 0x93, 0x05, 0xc7, 0x21, + 0x98, 0x52, 0xab, 0xbb, 0xd8, 0x74, 0xb1, 0xc7, 0x16, 0x57, 0x96, 0x10, 0x2d, 0x8f, 0x89, 0x1a, + 0x5c, 0x4d, 0x92, 0xce, 0xc6, 0x28, 0x14, 0xcb, 0x90, 0xf9, 0x4c, 0x8f, 0x34, 0xa1, 0xe8, 0x25, + 0x49, 0x18, 0x0e, 0x8c, 0xab, 0x23, 0xbc, 0xe9, 0x52, 0xa6, 0xdf, 0x86, 0x5c, 0x83, 0x2f, 0x68, + 0x59, 0x13, 0xe9, 0x5d, 0x4c, 0x92, 0x9e, 0x42, 0xb0, 0x4e, 0xcb, 0x6c, 0x72, 0x62, 0x49, 0x91, + 0xc4, 0x32, 0x7e, 0xd3, 0xa0, 0xb8, 0xb0, 0xbe, 0x82, 0x30, 0xf5, 0xdb, 0xa4, 0x8e, 0x13, 0x90, + 0x65, 0x1e, 0x80, 0xff, 0xa5, 0x81, 0x5d, 0xc7, 0x4e, 0x39, 0x3d, 0xa3, 0xcd, 0xe6, 0x2d, 0x5d, + 0xda, 0xc1, 0xad, 0x48, 0x83, 0x62, 0x56, 0x1c, 0x75, 0xc7, 0xf5, 0x1c, 0x71, 0xce, 0x31, 0xd4, + 0x1b, 0xae, 0xe7, 0x20, 0xa1, 0xd1, 0x3f, 0x86, 0x6c, 0x07, 0x93, 0x4d, 0x5e, 0x7b, 0x4e, 0x85, + 0x0b, 0x49, 0x36, 0x77, 0x97, 0x3b, 0x58, 0x85, 0xfd, 0x5e, 0x35, 0x2b, 0x7e, 0xa2, 0x10, 0xc2, + 0xf8, 0x59, 0x83, 0x89, 0xd8, 0x9e, 0x44, 0xf5, 0x2e, 0xc3, 0x78, 0x23, 0xc6, 0x1c, 0xb9, 0xbf, + 0x29, 0x99, 0xc9, 0x78, 0x9c, 0x55, 0x68, 0xc0, 0x52, 0xaf, 0x43, 0x81, 0x48, 0x24, 0x75, 0x3b, + 0x6a, 0x09, 0x4b, 0xaf, 0x32, 0xe8, 0xc7, 0x89, 0x09, 0x29, 0xea, 0xe3, 0x1a, 0x7f, 0x87, 0xc7, + 0xa0, 0xee, 0x8b, 0x3e, 0x1b, 0xbb, 0x91, 0xfc, 0xb8, 0x0b, 0xd6, 0xf8, 0x88, 0xfb, 0x74, 0x0c, + 0x95, 0xd3, 0xff, 0x03, 0x2a, 0x5f, 0xc9, 0x7f, 0xff, 0xb4, 0x9a, 0x7a, 0xfc, 0xc7, 0x4c, 0xca, + 0x58, 0x81, 0xfc, 0x52, 0x9b, 0xd8, 0x8c, 0x17, 0xf6, 0x2a, 0xe4, 0x1d, 0xf9, 0x5b, 0x1c, 0x47, + 0xc6, 0x7a, 0x53, 0xf5, 0x0d, 0x65, 0x73, 0xd0, 0xab, 0x96, 0x78, 0x6b, 0x34, 0x95, 0x00, 0x45, + 0x2e, 0xc6, 0x03, 0x28, 0x2d, 0xef, 0x06, 0x3e, 0x61, 0x6b, 0x01, 0x13, 0x95, 0x78, 0x1b, 0x72, + 0x58, 0x08, 0x04, 0x5a, 0xbe, 0x4f, 0xf9, 0xd0, 0x0c, 0x49, 0xad, 0x7e, 0x1e, 0xb2, 0x78, 0xd7, + 0xae, 0x33, 0xc9, 0xdd, 0x92, 0x34, 0xcb, 0x2e, 0x73, 0x21, 0x0a, 0x75, 0xc6, 0x1a, 0xc0, 0x75, + 0x1c, 0x41, 0x2f, 0xc0, 0x84, 0x3a, 0xab, 0x41, 0x02, 0xbd, 0x2e, 0x9d, 0x27, 0xd0, 0xa0, 0x1a, + 0x0d, 0xdb, 0x1b, 0x0f, 0xa0, 0x20, 0x48, 0xc6, 0x39, 0xcf, 0x53, 0x10, 0x1c, 0x93, 0x28, 0x51, + 0x0a, 0xc2, 0x02, 0x85, 0xba, 0xe8, 0xd2, 0xa4, 0x47, 0x5d, 0x9a, 0x58, 0x5d, 0x9b, 0x50, 0x0a, + 0x7d, 0xd5, 0x3d, 0x4e, 0x14, 0xe1, 0x22, 0xe4, 0x55, 0x9a, 0x32, 0x4a, 0xd4, 0xb9, 0x15, 0x10, + 0x8a, 0x2c, 0x62, 0xd1, 0xb6, 0x61, 0xe0, 0xc2, 0x24, 0x0b, 0x76, 0x01, 0x4e, 0x49, 0xd2, 0xca, + 0x58, 0x13, 0xd2, 0xec, 0x94, 0xaa, 0x99, 0xd2, 0xc7, 0x22, 0x7d, 0x09, 0xe5, 0x51, 0x0d, 0xff, + 0x15, 0xae, 0x74, 0xf2, 0x54, 0x8c, 0xef, 0x34, 0x98, 0x8c, 0x23, 0x25, 0x3f, 0xbe, 0xe4, 0x41, + 0x8e, 0x6f, 0x8f, 0xb1, 0x8a, 0xfc, 0xa8, 0xc1, 0xd4, 0xc0, 0xd6, 0x4e, 0x74, 0xe2, 0x27, 0x48, + 0x2a, 0x4e, 0x8e, 0xcc, 0x09, 0xc8, 0xf1, 0x6b, 0x1a, 0x4a, 0x37, 0xed, 0x4d, 0xdc, 0xdc, 0xc0, + 0x4d, 0x5c, 0x67, 0x3e, 0xd1, 0xbb, 0x50, 0x6c, 0xd9, 0xac, 0xbe, 0x2d, 0xa4, 0xea, 0xf9, 0xb2, + 0x92, 0xb4, 0xa4, 0x01, 0x1c, 0x73, 0xb5, 0x0f, 0xb2, 0xec, 0x31, 0xd2, 0xb5, 0x5e, 0x93, 0x09, + 0x15, 0x63, 0x1a, 0x14, 0x8f, 0x25, 0xa6, 0x0d, 0xb1, 0x5e, 0xde, 0x0d, 0x78, 0x5f, 0x3a, 0xe9, + 0x88, 0x33, 0x90, 0x00, 0xc2, 0x9f, 0xb7, 0x5d, 0x82, 0x5b, 0xd8, 0x63, 0xfd, 0x69, 0x63, 0x75, + 0x08, 0x1d, 0x1d, 0x8a, 0x37, 0xfd, 0x21, 0x4c, 0x0e, 0xa7, 0xae, 0x4f, 0x42, 0x66, 0x07, 0x77, + 0xc3, 0xb3, 0x42, 0xfc, 0xa7, 0x3e, 0x05, 0xd9, 0x8e, 0xdd, 0x6c, 0xcb, 0x9b, 0x88, 0xc2, 0xc5, + 0x95, 0xf4, 0x65, 0xcd, 0xf8, 0x49, 0x83, 0xf2, 0xa8, 0x44, 0xf4, 0x37, 0x62, 0x40, 0x56, 0x51, + 0x66, 0x95, 0xb9, 0x81, 0xbb, 0x21, 0xea, 0x32, 0xe4, 0xfd, 0x80, 0xcf, 0x86, 0x3e, 0x91, 0x27, + 0x7e, 0x41, 0x9d, 0xe2, 0x9a, 0x94, 0x1f, 0xf4, 0xaa, 0x67, 0x07, 0xe0, 0x95, 0x02, 0x45, 0xae, + 0xba, 0x01, 0x39, 0x91, 0x0f, 0x2d, 0x67, 0xc4, 0x6b, 0x04, 0xbc, 0xaf, 0xde, 0x15, 0x12, 0x24, + 0x35, 0xc6, 0x17, 0x90, 0xe7, 0x4f, 0xed, 0x2a, 0x66, 0x36, 0x27, 0x0f, 0xc5, 0xcd, 0xad, 0x9b, + 0xae, 0xb7, 0x23, 0x53, 0x8b, 0xc8, 0xb3, 0x21, 0xe5, 0x28, 0xb2, 0x38, 0xaa, 0xbd, 0xa6, 0x4f, + 0xd8, 0x5e, 0x0f, 0x34, 0x38, 0xbd, 0xf6, 0xc8, 0xc3, 0x04, 0xf1, 0x51, 0x0f, 0x7b, 0xe1, 0x28, + 0x23, 0x6e, 0x95, 0x36, 0x72, 0xe8, 0x50, 0xc3, 0x4e, 0x66, 0xe4, 0xb0, 0xf3, 0x11, 0x64, 0xda, + 0xae, 0x23, 0x86, 0x92, 0x82, 0x65, 0xaa, 0xea, 0xde, 0x59, 0x59, 0x3a, 0xe8, 0x55, 0xab, 0x47, + 0xcf, 0xe5, 0xac, 0x1b, 0x60, 0x6a, 0xde, 0x59, 0x59, 0x42, 0xdc, 0x95, 0x8f, 0x4b, 0x76, 0xe0, + 0xaa, 0x6d, 0x65, 0x05, 0x50, 0x34, 0x2e, 0xf5, 0x9f, 0x7c, 0x14, 0xb3, 0xd2, 0x4d, 0x80, 0xba, + 0xef, 0x31, 0xe2, 0x37, 0x9b, 0x98, 0x94, 0x73, 0xe1, 0x6b, 0xc6, 0xed, 0x17, 0x23, 0x29, 0x8a, + 0x59, 0x18, 0x17, 0xa1, 0x80, 0x7c, 0x9f, 0xad, 0xdb, 0x6c, 0x9b, 0xea, 0x55, 0xc8, 0x06, 0xfc, + 0x87, 0x9c, 0x1b, 0xc4, 0x78, 0x24, 0x34, 0x28, 0x94, 0x1b, 0xdf, 0x6a, 0x70, 0x6e, 0xe4, 0x43, + 0xce, 0xf3, 0xad, 0x47, 0x2b, 0x59, 0xbb, 0x28, 0xdf, 0xbe, 0x1d, 0x8a, 0x59, 0xe9, 0xef, 0x43, + 0x69, 0xe0, 0xf5, 0x97, 0xa7, 0x77, 0x56, 0xba, 0x95, 0x06, 0xa2, 0xa1, 0x41, 0x5b, 0xe3, 0x9f, + 0x34, 0xe4, 0x36, 0x98, 0xcd, 0xda, 0x54, 0xbf, 0x0f, 0x79, 0x7e, 0xf1, 0x1c, 0x9b, 0xd9, 0x22, + 0x72, 0xc2, 0x21, 0x57, 0xb1, 0xae, 0xcf, 0x31, 0x25, 0x41, 0x11, 0x1e, 0x9f, 0x0e, 0xa8, 0x88, + 0x22, 0x93, 0x8b, 0xa6, 0x83, 0x30, 0x36, 0x92, 0x5a, 0xde, 0x21, 0x5b, 0x98, 0x52, 0xbb, 0xa1, + 0x68, 0x11, 0x75, 0xc8, 0xd5, 0x50, 0x8c, 0x94, 0x5e, 0x7f, 0x0f, 0x72, 0x04, 0xdb, 0xd4, 0xf7, + 0x24, 0x3f, 0x2a, 0x0a, 0x12, 0x09, 0xe9, 0x41, 0xaf, 0x3a, 0x2e, 0xc1, 0xc5, 0x1a, 0x49, 0x6b, + 0xfd, 0x13, 0x38, 0xe5, 0x60, 0x66, 0xbb, 0x4d, 0x2a, 0xf8, 0x50, 0x9c, 0x9f, 0x4b, 0x34, 0x9e, + 0x09, 0xa8, 0xa5, 0xd0, 0xd1, 0x2a, 0xf2, 0x8c, 0xe4, 0x02, 0x29, 0x38, 0x4e, 0xe8, 0xba, 0xef, + 0x60, 0x41, 0x99, 0x6c, 0x9f, 0xd0, 0x8b, 0xbe, 0x83, 0x91, 0xd0, 0x18, 0x4f, 0x34, 0x28, 0x86, + 0x48, 0x8b, 0x76, 0x9b, 0x62, 0x7d, 0x2e, 0xda, 0x43, 0x78, 0xd4, 0xe7, 0x94, 0xcf, 0xed, 0x6e, + 0x80, 0x0f, 0x7a, 0xd5, 0x82, 0x30, 0xe3, 0x8b, 0x28, 0xfd, 0x58, 0x85, 0xd2, 0xc7, 0x54, 0xe8, + 0x3c, 0x64, 0xb7, 0x5c, 0xdc, 0x54, 0x2f, 0x5b, 0xf4, 0x26, 0x5d, 0xe3, 0x42, 0x14, 0xea, 0x8c, + 0x1f, 0xd2, 0x50, 0x1a, 0xd8, 0x5c, 0x82, 0x8f, 0x90, 0xe8, 0xb1, 0x4b, 0x27, 0x18, 0xa0, 0x46, + 0x7f, 0x75, 0xdc, 0x83, 0x5c, 0x9d, 0xef, 0x4f, 0x7d, 0xf2, 0xd5, 0x92, 0x1f, 0x84, 0xa8, 0x4b, + 0x9f, 0x45, 0x62, 0x49, 0x91, 0x84, 0xd3, 0xaf, 0xc3, 0x19, 0x82, 0x19, 0xe9, 0x2e, 0x6c, 0x31, + 0x4c, 0x36, 0x70, 0xdd, 0xf7, 0x9c, 0xf0, 0xb0, 0xb3, 0x51, 0x85, 0xcf, 0xa0, 0x61, 0x03, 0x74, + 0xd8, 0xc7, 0x68, 0xc2, 0xd8, 0x6d, 0xb7, 0x85, 0x79, 0xd1, 0xa9, 0x84, 0x09, 0x67, 0xe5, 0xa8, + 0xe8, 0xca, 0x59, 0xe9, 0x79, 0x6d, 0x3c, 0xdb, 0xf3, 0x43, 0xa2, 0x67, 0xfb, 0xb5, 0xb9, 0xc5, + 0x85, 0x28, 0xd4, 0x5d, 0x99, 0xe2, 0xef, 0xf5, 0x37, 0x7b, 0xd5, 0xd4, 0x93, 0xbd, 0x6a, 0xea, + 0xe9, 0x9e, 0x7c, 0xbb, 0x3f, 0x85, 0x02, 0x8f, 0x46, 0x99, 0xdd, 0x0a, 0xfe, 0xeb, 0x90, 0xc6, + 0x67, 0x90, 0xe7, 0x3c, 0x12, 0xef, 0xc3, 0xf1, 0xbd, 0x79, 0xb0, 0x6f, 0xa6, 0x93, 0xf4, 0x4d, + 0x63, 0x1e, 0xc2, 0x0f, 0x41, 0xde, 0x03, 0x5d, 0x86, 0x5b, 0x03, 0x3d, 0x70, 0x85, 0x0b, 0x50, + 0x28, 0x8f, 0x8d, 0x2b, 0x5f, 0x6b, 0x00, 0xf7, 0xc4, 0x8b, 0xdd, 0xe1, 0xcf, 0xe9, 0x0c, 0x8c, + 0xf1, 0x06, 0x3e, 0x9c, 0x98, 0xb8, 0x00, 0x42, 0xa3, 0x6f, 0x40, 0xce, 0xdf, 0x7c, 0x88, 0xe5, + 0xf7, 0x43, 0x71, 0xfe, 0x9d, 0x11, 0x9c, 0x91, 0xff, 0xd5, 0x31, 0x91, 0xfd, 0x68, 0x79, 0x97, + 0x61, 0x8f, 0x67, 0xd8, 0xe7, 0xcb, 0x9a, 0x80, 0x40, 0x12, 0xca, 0x7a, 0xeb, 0xd9, 0x8b, 0x4a, + 0xea, 0xf9, 0x8b, 0x4a, 0xea, 0xf7, 0x17, 0x95, 0xd4, 0xe3, 0xfd, 0x8a, 0xf6, 0x6c, 0xbf, 0xa2, + 0x3d, 0xdf, 0xaf, 0x68, 0x7f, 0xee, 0x57, 0xb4, 0x27, 0x7f, 0x55, 0x52, 0xf7, 0xd3, 0x9d, 0xb9, + 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x94, 0x53, 0x56, 0x06, 0xf6, 0x12, 0x00, 0x00, } diff --git a/pkg/apis/meta/v1/generated.proto b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto similarity index 97% rename from pkg/apis/meta/v1/generated.proto rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto index a76bcad6..cad0bf7e 100644 --- a/pkg/apis/meta/v1/generated.proto +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -446,3 +446,17 @@ message Verbs { repeated string items = 1; } +// Event represents a single event to a watched resource. +// +// +protobuf=true +message WatchEvent { + optional string type = 1; + + // Object is: + // * If Type is Added or Modified: the new state of the object. + // * If Type is Deleted: the state of the object immediately before deletion. + // * If Type is Error: *Status is recommended; other types may make sense + // depending on context. + optional k8s.io.kubernetes.pkg.runtime.RawExtension object = 2; +} + diff --git a/pkg/apis/meta/v1/group_version.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/group_version.go similarity index 99% rename from pkg/apis/meta/v1/group_version.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/group_version.go index 7342ede6..8b6fdef5 100644 --- a/pkg/apis/meta/v1/group_version.go +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/group_version.go @@ -21,7 +21,7 @@ import ( "fmt" "strings" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/schema" ) // GroupResource specifies a Group and a Resource, but does not force a version. This is useful for identifying diff --git a/pkg/apis/meta/v1/helpers.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/helpers.go similarity index 98% rename from pkg/apis/meta/v1/helpers.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/helpers.go index cf861aeb..10eb5f2f 100644 --- a/pkg/apis/meta/v1/helpers.go +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/helpers.go @@ -19,8 +19,8 @@ package v1 import ( "fmt" - "k8s.io/client-go/pkg/labels" - "k8s.io/client-go/pkg/selection" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/selection" ) // LabelSelectorAsSelector converts the LabelSelector api type into a struct that implements diff --git a/pkg/apis/meta/v1/meta.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/meta.go similarity index 98% rename from pkg/apis/meta/v1/meta.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/meta.go index c4aa7e5b..d7dcea1a 100644 --- a/pkg/apis/meta/v1/meta.go +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/meta.go @@ -17,7 +17,7 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/schema" ) // ListMetaAccessor retrieves the list interface from an object diff --git a/pkg/apis/meta/v1/register.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/register.go similarity index 55% rename from pkg/apis/meta/v1/register.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/register.go index 10c51822..c20c35b6 100644 --- a/pkg/apis/meta/v1/register.go +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/register.go @@ -17,7 +17,8 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) // GroupName is the group name for this API. @@ -26,7 +27,25 @@ const GroupName = "meta.k8s.io" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = schema.GroupVersion{Group: "", Version: ""} +// WatchEventKind is name reserved for serializing watch events. +const WatchEventKind = "WatchEvent" + // Kind takes an unqualified kind and returns a Group qualified GroupKind func Kind(kind string) schema.GroupKind { return SchemeGroupVersion.WithKind(kind).GroupKind() } + +// AddToGroupVersion registers common meta types into schemas. +func AddToGroupVersion(scheme *runtime.Scheme, groupVersion schema.GroupVersion) { + scheme.AddKnownTypeWithName(groupVersion.WithKind(WatchEventKind), &WatchEvent{}) + scheme.AddKnownTypeWithName( + schema.GroupVersion{Group: groupVersion.Group, Version: runtime.APIVersionInternal}.WithKind(WatchEventKind), + &InternalEvent{}, + ) + scheme.AddConversionFuncs( + Convert_versioned_Event_to_watch_Event, + Convert_versioned_InternalEvent_to_versioned_Event, + Convert_watch_Event_to_versioned_Event, + Convert_versioned_Event_to_versioned_InternalEvent, + ) +} diff --git a/pkg/apis/meta/v1/time.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time.go similarity index 98% rename from pkg/apis/meta/v1/time.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time.go index 2794cab9..e32e0867 100644 --- a/pkg/apis/meta/v1/time.go +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time.go @@ -20,7 +20,7 @@ import ( "encoding/json" "time" - "k8s.io/client-go/pkg/genericapiserver/openapi/common" + "k8s.io/apimachinery/pkg/genericapiserver/openapi/common" "github.com/go-openapi/spec" "github.com/google/gofuzz" diff --git a/pkg/apis/meta/v1/time_proto.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time_proto.go similarity index 100% rename from pkg/apis/meta/v1/time_proto.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time_proto.go diff --git a/pkg/apis/meta/v1/types.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types.go similarity index 99% rename from pkg/apis/meta/v1/types.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types.go index 7bc3ac7d..6df9ca25 100644 --- a/pkg/apis/meta/v1/types.go +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types.go @@ -31,7 +31,7 @@ import ( "github.com/ugorji/go/codec" - "k8s.io/client-go/pkg/types" + "k8s.io/apimachinery/pkg/types" ) // TypeMeta describes an individual object in an API response or request @@ -87,7 +87,7 @@ type OwnerReference struct { Name string `json:"name" protobuf:"bytes,3,opt,name=name"` // UID of the referent. // More info: http://kubernetes.io/docs/user-guide/identifiers#uids - UID types.UID `json:"uid" protobuf:"bytes,4,opt,name=uid,casttype=k8s.io/kubernetes/pkg/types.UID"` + UID types.UID `json:"uid" protobuf:"bytes,4,opt,name=uid,casttype=k8s.io/apimachinery/pkg/types.UID"` // If true, this reference points to the managing controller. // +optional Controller *bool `json:"controller,omitempty" protobuf:"varint,6,opt,name=controller"` diff --git a/pkg/apis/meta/v1/types_swagger_doc_generated.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types_swagger_doc_generated.go similarity index 100% rename from pkg/apis/meta/v1/types_swagger_doc_generated.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types_swagger_doc_generated.go diff --git a/pkg/apis/meta/v1/unstructured/unstructured.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go similarity index 98% rename from pkg/apis/meta/v1/unstructured/unstructured.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go index 8708987b..92530758 100644 --- a/pkg/apis/meta/v1/unstructured/unstructured.go +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go @@ -26,11 +26,11 @@ import ( "github.com/golang/glog" - metav1 "k8s.io/client-go/pkg/apis/meta/v1" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/types" - "k8s.io/client-go/pkg/util/json" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/types" + "k8s.io/apimachinery/pkg/util/json" ) // Unstructured allows objects that do not have Golang structs registered to be manipulated diff --git a/pkg/watch/versioned/register.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/watch.go similarity index 55% rename from pkg/watch/versioned/register.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/watch.go index 980214d2..a645501a 100644 --- a/pkg/watch/versioned/register.go +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/watch.go @@ -14,35 +14,30 @@ See the License for the specific language governing permissions and limitations under the License. */ -package versioned +package v1 import ( - "k8s.io/client-go/pkg/conversion" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/watch" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/watch" ) -// WatchEventKind is name reserved for serializing watch events. -const WatchEventKind = "WatchEvent" +// Event represents a single event to a watched resource. +// +// +protobuf=true +type WatchEvent struct { + Type string `json:"type" protobuf:"bytes,1,opt,name=type"` -// AddToGroupVersion registers the watch external and internal kinds with the scheme, and ensures the proper -// conversions are in place. -func AddToGroupVersion(scheme *runtime.Scheme, groupVersion schema.GroupVersion) { - scheme.AddKnownTypeWithName(groupVersion.WithKind(WatchEventKind), &Event{}) - scheme.AddKnownTypeWithName( - schema.GroupVersion{Group: groupVersion.Group, Version: runtime.APIVersionInternal}.WithKind(WatchEventKind), - &InternalEvent{}, - ) - scheme.AddConversionFuncs( - Convert_versioned_Event_to_watch_Event, - Convert_versioned_InternalEvent_to_versioned_Event, - Convert_watch_Event_to_versioned_Event, - Convert_versioned_Event_to_versioned_InternalEvent, - ) + // Object is: + // * If Type is Added or Modified: the new state of the object. + // * If Type is Deleted: the state of the object immediately before deletion. + // * If Type is Error: *Status is recommended; other types may make sense + // depending on context. + Object runtime.RawExtension `json:"object" protobuf:"bytes,2,opt,name=object"` } -func Convert_watch_Event_to_versioned_Event(in *watch.Event, out *Event, s conversion.Scope) error { +func Convert_watch_Event_to_versioned_Event(in *watch.Event, out *WatchEvent, s conversion.Scope) error { out.Type = string(in.Type) switch t := in.Object.(type) { case *runtime.Unknown: @@ -55,11 +50,11 @@ func Convert_watch_Event_to_versioned_Event(in *watch.Event, out *Event, s conve return nil } -func Convert_versioned_InternalEvent_to_versioned_Event(in *InternalEvent, out *Event, s conversion.Scope) error { +func Convert_versioned_InternalEvent_to_versioned_Event(in *InternalEvent, out *WatchEvent, s conversion.Scope) error { return Convert_watch_Event_to_versioned_Event((*watch.Event)(in), out, s) } -func Convert_versioned_Event_to_watch_Event(in *Event, out *watch.Event, s conversion.Scope) error { +func Convert_versioned_Event_to_watch_Event(in *WatchEvent, out *watch.Event, s conversion.Scope) error { out.Type = watch.EventType(in.Type) if in.Object.Object != nil { out.Object = in.Object.Object @@ -73,12 +68,13 @@ func Convert_versioned_Event_to_watch_Event(in *Event, out *watch.Event, s conve return nil } -func Convert_versioned_Event_to_versioned_InternalEvent(in *Event, out *InternalEvent, s conversion.Scope) error { +func Convert_versioned_Event_to_versioned_InternalEvent(in *WatchEvent, out *InternalEvent, s conversion.Scope) error { return Convert_versioned_Event_to_watch_Event(in, (*watch.Event)(out), s) } // InternalEvent makes watch.Event versioned +// +protobuf=false type InternalEvent watch.Event func (e *InternalEvent) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind } -func (e *Event) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind } +func (e *WatchEvent) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind } diff --git a/pkg/apis/meta/v1/well_known_labels.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/well_known_labels.go similarity index 100% rename from pkg/apis/meta/v1/well_known_labels.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/well_known_labels.go diff --git a/pkg/apis/meta/v1/zz_generated.deepcopy.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go similarity index 68% rename from pkg/apis/meta/v1/zz_generated.deepcopy.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go index e4ebe23b..82545002 100644 --- a/pkg/apis/meta/v1/zz_generated.deepcopy.go +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,34 +21,64 @@ limitations under the License. package v1 import ( - conversion "k8s.io/client-go/pkg/conversion" - time "time" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" + reflect "reflect" ) +// GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { + return []conversion.GeneratedDeepCopyFunc{ + {Fn: DeepCopy_v1_APIGroup, InType: reflect.TypeOf(&APIGroup{})}, + {Fn: DeepCopy_v1_APIGroupList, InType: reflect.TypeOf(&APIGroupList{})}, + {Fn: DeepCopy_v1_APIResource, InType: reflect.TypeOf(&APIResource{})}, + {Fn: DeepCopy_v1_APIResourceList, InType: reflect.TypeOf(&APIResourceList{})}, + {Fn: DeepCopy_v1_APIVersions, InType: reflect.TypeOf(&APIVersions{})}, + {Fn: DeepCopy_v1_Duration, InType: reflect.TypeOf(&Duration{})}, + {Fn: DeepCopy_v1_ExportOptions, InType: reflect.TypeOf(&ExportOptions{})}, + {Fn: DeepCopy_v1_GetOptions, InType: reflect.TypeOf(&GetOptions{})}, + {Fn: DeepCopy_v1_GroupKind, InType: reflect.TypeOf(&GroupKind{})}, + {Fn: DeepCopy_v1_GroupResource, InType: reflect.TypeOf(&GroupResource{})}, + {Fn: DeepCopy_v1_GroupVersion, InType: reflect.TypeOf(&GroupVersion{})}, + {Fn: DeepCopy_v1_GroupVersionForDiscovery, InType: reflect.TypeOf(&GroupVersionForDiscovery{})}, + {Fn: DeepCopy_v1_GroupVersionKind, InType: reflect.TypeOf(&GroupVersionKind{})}, + {Fn: DeepCopy_v1_GroupVersionResource, InType: reflect.TypeOf(&GroupVersionResource{})}, + {Fn: DeepCopy_v1_InternalEvent, InType: reflect.TypeOf(&InternalEvent{})}, + {Fn: DeepCopy_v1_LabelSelector, InType: reflect.TypeOf(&LabelSelector{})}, + {Fn: DeepCopy_v1_LabelSelectorRequirement, InType: reflect.TypeOf(&LabelSelectorRequirement{})}, + {Fn: DeepCopy_v1_ListMeta, InType: reflect.TypeOf(&ListMeta{})}, + {Fn: DeepCopy_v1_OwnerReference, InType: reflect.TypeOf(&OwnerReference{})}, + {Fn: DeepCopy_v1_Patch, InType: reflect.TypeOf(&Patch{})}, + {Fn: DeepCopy_v1_RootPaths, InType: reflect.TypeOf(&RootPaths{})}, + {Fn: DeepCopy_v1_ServerAddressByClientCIDR, InType: reflect.TypeOf(&ServerAddressByClientCIDR{})}, + {Fn: DeepCopy_v1_Status, InType: reflect.TypeOf(&Status{})}, + {Fn: DeepCopy_v1_StatusCause, InType: reflect.TypeOf(&StatusCause{})}, + {Fn: DeepCopy_v1_StatusDetails, InType: reflect.TypeOf(&StatusDetails{})}, + {Fn: DeepCopy_v1_Time, InType: reflect.TypeOf(&Time{})}, + {Fn: DeepCopy_v1_Timestamp, InType: reflect.TypeOf(&Timestamp{})}, + {Fn: DeepCopy_v1_TypeMeta, InType: reflect.TypeOf(&TypeMeta{})}, + {Fn: DeepCopy_v1_WatchEvent, InType: reflect.TypeOf(&WatchEvent{})}, + } +} + func DeepCopy_v1_APIGroup(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*APIGroup) out := out.(*APIGroup) - out.TypeMeta = in.TypeMeta - out.Name = in.Name + *out = *in if in.Versions != nil { in, out := &in.Versions, &out.Versions *out = make([]GroupVersionForDiscovery, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Versions = nil } - out.PreferredVersion = in.PreferredVersion if in.ServerAddressByClientCIDRs != nil { in, out := &in.ServerAddressByClientCIDRs, &out.ServerAddressByClientCIDRs *out = make([]ServerAddressByClientCIDR, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.ServerAddressByClientCIDRs = nil } return nil } @@ -58,7 +88,7 @@ func DeepCopy_v1_APIGroupList(in interface{}, out interface{}, c *conversion.Clo { in := in.(*APIGroupList) out := out.(*APIGroupList) - out.TypeMeta = in.TypeMeta + *out = *in if in.Groups != nil { in, out := &in.Groups, &out.Groups *out = make([]APIGroup, len(*in)) @@ -67,8 +97,6 @@ func DeepCopy_v1_APIGroupList(in interface{}, out interface{}, c *conversion.Clo return err } } - } else { - out.Groups = nil } return nil } @@ -78,15 +106,11 @@ func DeepCopy_v1_APIResource(in interface{}, out interface{}, c *conversion.Clon { in := in.(*APIResource) out := out.(*APIResource) - out.Name = in.Name - out.Namespaced = in.Namespaced - out.Kind = in.Kind + *out = *in if in.Verbs != nil { in, out := &in.Verbs, &out.Verbs *out = make(Verbs, len(*in)) copy(*out, *in) - } else { - out.Verbs = nil } return nil } @@ -96,8 +120,7 @@ func DeepCopy_v1_APIResourceList(in interface{}, out interface{}, c *conversion. { in := in.(*APIResourceList) out := out.(*APIResourceList) - out.TypeMeta = in.TypeMeta - out.GroupVersion = in.GroupVersion + *out = *in if in.APIResources != nil { in, out := &in.APIResources, &out.APIResources *out = make([]APIResource, len(*in)) @@ -106,8 +129,6 @@ func DeepCopy_v1_APIResourceList(in interface{}, out interface{}, c *conversion. return err } } - } else { - out.APIResources = nil } return nil } @@ -117,13 +138,11 @@ func DeepCopy_v1_APIVersions(in interface{}, out interface{}, c *conversion.Clon { in := in.(*APIVersions) out := out.(*APIVersions) - out.TypeMeta = in.TypeMeta + *out = *in if in.Versions != nil { in, out := &in.Versions, &out.Versions *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Versions = nil } if in.ServerAddressByClientCIDRs != nil { in, out := &in.ServerAddressByClientCIDRs, &out.ServerAddressByClientCIDRs @@ -131,8 +150,6 @@ func DeepCopy_v1_APIVersions(in interface{}, out interface{}, c *conversion.Clon for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.ServerAddressByClientCIDRs = nil } return nil } @@ -142,7 +159,7 @@ func DeepCopy_v1_Duration(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*Duration) out := out.(*Duration) - out.Duration = in.Duration + *out = *in return nil } } @@ -151,9 +168,7 @@ func DeepCopy_v1_ExportOptions(in interface{}, out interface{}, c *conversion.Cl { in := in.(*ExportOptions) out := out.(*ExportOptions) - out.TypeMeta = in.TypeMeta - out.Export = in.Export - out.Exact = in.Exact + *out = *in return nil } } @@ -162,8 +177,7 @@ func DeepCopy_v1_GetOptions(in interface{}, out interface{}, c *conversion.Clone { in := in.(*GetOptions) out := out.(*GetOptions) - out.TypeMeta = in.TypeMeta - out.ResourceVersion = in.ResourceVersion + *out = *in return nil } } @@ -172,8 +186,7 @@ func DeepCopy_v1_GroupKind(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*GroupKind) out := out.(*GroupKind) - out.Group = in.Group - out.Kind = in.Kind + *out = *in return nil } } @@ -182,8 +195,7 @@ func DeepCopy_v1_GroupResource(in interface{}, out interface{}, c *conversion.Cl { in := in.(*GroupResource) out := out.(*GroupResource) - out.Group = in.Group - out.Resource = in.Resource + *out = *in return nil } } @@ -192,8 +204,7 @@ func DeepCopy_v1_GroupVersion(in interface{}, out interface{}, c *conversion.Clo { in := in.(*GroupVersion) out := out.(*GroupVersion) - out.Group = in.Group - out.Version = in.Version + *out = *in return nil } } @@ -202,8 +213,7 @@ func DeepCopy_v1_GroupVersionForDiscovery(in interface{}, out interface{}, c *co { in := in.(*GroupVersionForDiscovery) out := out.(*GroupVersionForDiscovery) - out.GroupVersion = in.GroupVersion - out.Version = in.Version + *out = *in return nil } } @@ -212,9 +222,7 @@ func DeepCopy_v1_GroupVersionKind(in interface{}, out interface{}, c *conversion { in := in.(*GroupVersionKind) out := out.(*GroupVersionKind) - out.Group = in.Group - out.Version = in.Version - out.Kind = in.Kind + *out = *in return nil } } @@ -223,9 +231,24 @@ func DeepCopy_v1_GroupVersionResource(in interface{}, out interface{}, c *conver { in := in.(*GroupVersionResource) out := out.(*GroupVersionResource) - out.Group = in.Group - out.Version = in.Version - out.Resource = in.Resource + *out = *in + return nil + } +} + +func DeepCopy_v1_InternalEvent(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*InternalEvent) + out := out.(*InternalEvent) + *out = *in + // in.Object is kind 'Interface' + if in.Object != nil { + if newVal, err := c.DeepCopy(&in.Object); err != nil { + return err + } else { + out.Object = *newVal.(*runtime.Object) + } + } return nil } } @@ -234,14 +257,13 @@ func DeepCopy_v1_LabelSelector(in interface{}, out interface{}, c *conversion.Cl { in := in.(*LabelSelector) out := out.(*LabelSelector) + *out = *in if in.MatchLabels != nil { in, out := &in.MatchLabels, &out.MatchLabels *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } - } else { - out.MatchLabels = nil } if in.MatchExpressions != nil { in, out := &in.MatchExpressions, &out.MatchExpressions @@ -251,8 +273,6 @@ func DeepCopy_v1_LabelSelector(in interface{}, out interface{}, c *conversion.Cl return err } } - } else { - out.MatchExpressions = nil } return nil } @@ -262,14 +282,11 @@ func DeepCopy_v1_LabelSelectorRequirement(in interface{}, out interface{}, c *co { in := in.(*LabelSelectorRequirement) out := out.(*LabelSelectorRequirement) - out.Key = in.Key - out.Operator = in.Operator + *out = *in if in.Values != nil { in, out := &in.Values, &out.Values *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Values = nil } return nil } @@ -279,8 +296,7 @@ func DeepCopy_v1_ListMeta(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*ListMeta) out := out.(*ListMeta) - out.SelfLink = in.SelfLink - out.ResourceVersion = in.ResourceVersion + *out = *in return nil } } @@ -289,16 +305,11 @@ func DeepCopy_v1_OwnerReference(in interface{}, out interface{}, c *conversion.C { in := in.(*OwnerReference) out := out.(*OwnerReference) - out.APIVersion = in.APIVersion - out.Kind = in.Kind - out.Name = in.Name - out.UID = in.UID + *out = *in if in.Controller != nil { in, out := &in.Controller, &out.Controller *out = new(bool) **out = **in - } else { - out.Controller = nil } return nil } @@ -308,8 +319,7 @@ func DeepCopy_v1_Patch(in interface{}, out interface{}, c *conversion.Cloner) er { in := in.(*Patch) out := out.(*Patch) - _ = in - _ = out + *out = *in return nil } } @@ -318,12 +328,11 @@ func DeepCopy_v1_RootPaths(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*RootPaths) out := out.(*RootPaths) + *out = *in if in.Paths != nil { in, out := &in.Paths, &out.Paths *out = make([]string, len(*in)) copy(*out, *in) - } else { - out.Paths = nil } return nil } @@ -333,8 +342,7 @@ func DeepCopy_v1_ServerAddressByClientCIDR(in interface{}, out interface{}, c *c { in := in.(*ServerAddressByClientCIDR) out := out.(*ServerAddressByClientCIDR) - out.ClientCIDR = in.ClientCIDR - out.ServerAddress = in.ServerAddress + *out = *in return nil } } @@ -343,21 +351,14 @@ func DeepCopy_v1_Status(in interface{}, out interface{}, c *conversion.Cloner) e { in := in.(*Status) out := out.(*Status) - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta - out.Status = in.Status - out.Message = in.Message - out.Reason = in.Reason + *out = *in if in.Details != nil { in, out := &in.Details, &out.Details *out = new(StatusDetails) if err := DeepCopy_v1_StatusDetails(*in, *out, c); err != nil { return err } - } else { - out.Details = nil } - out.Code = in.Code return nil } } @@ -366,9 +367,7 @@ func DeepCopy_v1_StatusCause(in interface{}, out interface{}, c *conversion.Clon { in := in.(*StatusCause) out := out.(*StatusCause) - out.Type = in.Type - out.Message = in.Message - out.Field = in.Field + *out = *in return nil } } @@ -377,19 +376,14 @@ func DeepCopy_v1_StatusDetails(in interface{}, out interface{}, c *conversion.Cl { in := in.(*StatusDetails) out := out.(*StatusDetails) - out.Name = in.Name - out.Group = in.Group - out.Kind = in.Kind + *out = *in if in.Causes != nil { in, out := &in.Causes, &out.Causes *out = make([]StatusCause, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } - } else { - out.Causes = nil } - out.RetryAfterSeconds = in.RetryAfterSeconds return nil } } @@ -398,11 +392,7 @@ func DeepCopy_v1_Time(in interface{}, out interface{}, c *conversion.Cloner) err { in := in.(*Time) out := out.(*Time) - if newVal, err := c.DeepCopy(&in.Time); err != nil { - return err - } else { - out.Time = *newVal.(*time.Time) - } + *out = in.DeepCopy() return nil } } @@ -411,8 +401,7 @@ func DeepCopy_v1_Timestamp(in interface{}, out interface{}, c *conversion.Cloner { in := in.(*Timestamp) out := out.(*Timestamp) - out.Seconds = in.Seconds - out.Nanos = in.Nanos + *out = *in return nil } } @@ -421,8 +410,19 @@ func DeepCopy_v1_TypeMeta(in interface{}, out interface{}, c *conversion.Cloner) { in := in.(*TypeMeta) out := out.(*TypeMeta) - out.Kind = in.Kind - out.APIVersion = in.APIVersion + *out = *in + return nil + } +} + +func DeepCopy_v1_WatchEvent(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*WatchEvent) + out := out.(*WatchEvent) + *out = *in + if err := runtime.DeepCopy_runtime_RawExtension(&in.Object, &out.Object, c); err != nil { + return err + } return nil } } diff --git a/pkg/kubelet/qos/types.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.defaults.go similarity index 53% rename from pkg/kubelet/qos/types.go rename to vendor/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.defaults.go index e52dece4..6df448eb 100644 --- a/pkg/kubelet/qos/types.go +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.defaults.go @@ -1,5 +1,7 @@ +// +build !ignore_autogenerated + /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -14,16 +16,17 @@ See the License for the specific language governing permissions and limitations under the License. */ -package qos +// This file was autogenerated by defaulter-gen. Do not edit it manually! -// QOSClass defines the supported qos classes of Pods/Containers. -type QOSClass string +package v1 -const ( - // Guaranteed is the Guaranteed qos class. - Guaranteed QOSClass = "Guaranteed" - // Burstable is the Burstable qos class. - Burstable QOSClass = "Burstable" - // BestEffort is the BestEffort qos class. - BestEffort QOSClass = "BestEffort" +import ( + runtime "k8s.io/apimachinery/pkg/runtime" ) + +// RegisterDefaults adds defaulters functions to the given scheme. +// Public to allow building arbitrary schemes. +// All generated defaulters are covering - they call all nested defaulters. +func RegisterDefaults(scheme *runtime.Scheme) error { + return nil +} diff --git a/pkg/conversion/OWNERS b/vendor/k8s.io/apimachinery/pkg/conversion/OWNERS similarity index 100% rename from pkg/conversion/OWNERS rename to vendor/k8s.io/apimachinery/pkg/conversion/OWNERS diff --git a/pkg/conversion/cloner.go b/vendor/k8s.io/apimachinery/pkg/conversion/cloner.go similarity index 100% rename from pkg/conversion/cloner.go rename to vendor/k8s.io/apimachinery/pkg/conversion/cloner.go diff --git a/pkg/conversion/converter.go b/vendor/k8s.io/apimachinery/pkg/conversion/converter.go similarity index 100% rename from pkg/conversion/converter.go rename to vendor/k8s.io/apimachinery/pkg/conversion/converter.go diff --git a/pkg/conversion/deep_equal.go b/vendor/k8s.io/apimachinery/pkg/conversion/deep_equal.go similarity index 94% rename from pkg/conversion/deep_equal.go rename to vendor/k8s.io/apimachinery/pkg/conversion/deep_equal.go index d1cf931b..f21abe1e 100644 --- a/pkg/conversion/deep_equal.go +++ b/vendor/k8s.io/apimachinery/pkg/conversion/deep_equal.go @@ -17,7 +17,7 @@ limitations under the License. package conversion import ( - "k8s.io/client-go/pkg/third_party/forked/golang/reflect" + "k8s.io/apimachinery/third_party/forked/golang/reflect" ) // The code for this type must be located in third_party, since it forks from diff --git a/pkg/conversion/doc.go b/vendor/k8s.io/apimachinery/pkg/conversion/doc.go similarity index 100% rename from pkg/conversion/doc.go rename to vendor/k8s.io/apimachinery/pkg/conversion/doc.go diff --git a/pkg/conversion/helper.go b/vendor/k8s.io/apimachinery/pkg/conversion/helper.go similarity index 100% rename from pkg/conversion/helper.go rename to vendor/k8s.io/apimachinery/pkg/conversion/helper.go diff --git a/pkg/conversion/queryparams/convert.go b/vendor/k8s.io/apimachinery/pkg/conversion/queryparams/convert.go similarity index 100% rename from pkg/conversion/queryparams/convert.go rename to vendor/k8s.io/apimachinery/pkg/conversion/queryparams/convert.go diff --git a/pkg/conversion/queryparams/doc.go b/vendor/k8s.io/apimachinery/pkg/conversion/queryparams/doc.go similarity index 100% rename from pkg/conversion/queryparams/doc.go rename to vendor/k8s.io/apimachinery/pkg/conversion/queryparams/doc.go diff --git a/pkg/genericapiserver/openapi/common/common.go b/vendor/k8s.io/apimachinery/pkg/genericapiserver/openapi/common/common.go similarity index 100% rename from pkg/genericapiserver/openapi/common/common.go rename to vendor/k8s.io/apimachinery/pkg/genericapiserver/openapi/common/common.go diff --git a/pkg/genericapiserver/openapi/common/doc.go b/vendor/k8s.io/apimachinery/pkg/genericapiserver/openapi/common/doc.go similarity index 100% rename from pkg/genericapiserver/openapi/common/doc.go rename to vendor/k8s.io/apimachinery/pkg/genericapiserver/openapi/common/doc.go diff --git a/pkg/labels/doc.go b/vendor/k8s.io/apimachinery/pkg/labels/doc.go similarity index 100% rename from pkg/labels/doc.go rename to vendor/k8s.io/apimachinery/pkg/labels/doc.go diff --git a/pkg/labels/labels.go b/vendor/k8s.io/apimachinery/pkg/labels/labels.go similarity index 100% rename from pkg/labels/labels.go rename to vendor/k8s.io/apimachinery/pkg/labels/labels.go diff --git a/pkg/labels/selector.go b/vendor/k8s.io/apimachinery/pkg/labels/selector.go similarity index 97% rename from pkg/labels/selector.go rename to vendor/k8s.io/apimachinery/pkg/labels/selector.go index d14f6f90..501d0187 100644 --- a/pkg/labels/selector.go +++ b/vendor/k8s.io/apimachinery/pkg/labels/selector.go @@ -24,9 +24,9 @@ import ( "strings" "github.com/golang/glog" - "k8s.io/client-go/pkg/selection" - "k8s.io/client-go/pkg/util/sets" - "k8s.io/client-go/pkg/util/validation" + "k8s.io/apimachinery/pkg/selection" + "k8s.io/apimachinery/pkg/util/sets" + "k8s.io/apimachinery/pkg/util/validation" ) // Requirements is AND of all requirements. @@ -728,15 +728,16 @@ func (p *Parser) parseExactValue() (sets.String, error) { // as they parse different selectors with different syntaxes. // The input will cause an error if it does not follow this form: // -// ::= | "," ] -// ::= [!] KEY [ | ] -// ::= "" | -// ::= | -// ::= "notin" -// ::= "in" -// ::= "(" ")" -// ::= VALUE | VALUE "," -// ::= ["="|"=="|"!="] VALUE +// ::= | "," +// ::= [!] KEY [ | ] +// ::= "" | +// ::= | +// ::= "notin" +// ::= "in" +// ::= "(" ")" +// ::= VALUE | VALUE "," +// ::= ["="|"=="|"!="] VALUE +// // KEY is a sequence of one or more characters following [ DNS_SUBDOMAIN "/" ] DNS_LABEL. Max length is 63 characters. // VALUE is a sequence of zero or more characters "([A-Za-z0-9_-\.])". Max length is 63 characters. // Delimiter is white space: (' ', '\t') diff --git a/pkg/runtime/OWNERS b/vendor/k8s.io/apimachinery/pkg/runtime/OWNERS similarity index 100% rename from pkg/runtime/OWNERS rename to vendor/k8s.io/apimachinery/pkg/runtime/OWNERS diff --git a/pkg/runtime/codec.go b/vendor/k8s.io/apimachinery/pkg/runtime/codec.go similarity index 99% rename from pkg/runtime/codec.go rename to vendor/k8s.io/apimachinery/pkg/runtime/codec.go index 36df7332..21fd5019 100644 --- a/pkg/runtime/codec.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/codec.go @@ -24,8 +24,8 @@ import ( "net/url" "reflect" - "k8s.io/client-go/pkg/conversion/queryparams" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/conversion/queryparams" + "k8s.io/apimachinery/pkg/runtime/schema" ) // codec binds an encoder and decoder. diff --git a/pkg/runtime/codec_check.go b/vendor/k8s.io/apimachinery/pkg/runtime/codec_check.go similarity index 97% rename from pkg/runtime/codec_check.go rename to vendor/k8s.io/apimachinery/pkg/runtime/codec_check.go index 2920113f..1d34ec1a 100644 --- a/pkg/runtime/codec_check.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/codec_check.go @@ -20,7 +20,7 @@ import ( "fmt" "reflect" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/schema" ) // CheckCodec makes sure that the codec can encode objects like internalType, diff --git a/pkg/runtime/conversion.go b/vendor/k8s.io/apimachinery/pkg/runtime/conversion.go similarity index 98% rename from pkg/runtime/conversion.go rename to vendor/k8s.io/apimachinery/pkg/runtime/conversion.go index 034bef9f..8eedffc9 100644 --- a/pkg/runtime/conversion.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/conversion.go @@ -23,7 +23,7 @@ import ( "strconv" "strings" - "k8s.io/client-go/pkg/conversion" + "k8s.io/apimachinery/pkg/conversion" ) // JSONKeyMapper uses the struct tags on a conversion to determine the key value for diff --git a/pkg/runtime/doc.go b/vendor/k8s.io/apimachinery/pkg/runtime/doc.go similarity index 100% rename from pkg/runtime/doc.go rename to vendor/k8s.io/apimachinery/pkg/runtime/doc.go diff --git a/pkg/runtime/embedded.go b/vendor/k8s.io/apimachinery/pkg/runtime/embedded.go similarity index 97% rename from pkg/runtime/embedded.go rename to vendor/k8s.io/apimachinery/pkg/runtime/embedded.go index 2ad4afe6..e8825a78 100644 --- a/pkg/runtime/embedded.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/embedded.go @@ -19,8 +19,8 @@ package runtime import ( "errors" - "k8s.io/client-go/pkg/conversion" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime/schema" ) type encodable struct { diff --git a/pkg/runtime/error.go b/vendor/k8s.io/apimachinery/pkg/runtime/error.go similarity index 98% rename from pkg/runtime/error.go rename to vendor/k8s.io/apimachinery/pkg/runtime/error.go index f414466e..c9a0e169 100644 --- a/pkg/runtime/error.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/error.go @@ -20,7 +20,7 @@ import ( "fmt" "reflect" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/schema" ) type notRegisteredErr struct { diff --git a/pkg/runtime/extension.go b/vendor/k8s.io/apimachinery/pkg/runtime/extension.go similarity index 100% rename from pkg/runtime/extension.go rename to vendor/k8s.io/apimachinery/pkg/runtime/extension.go diff --git a/pkg/runtime/generated.pb.go b/vendor/k8s.io/apimachinery/pkg/runtime/generated.pb.go similarity index 99% rename from pkg/runtime/generated.pb.go rename to vendor/k8s.io/apimachinery/pkg/runtime/generated.pb.go index d18d688f..d59921c5 100644 --- a/pkg/runtime/generated.pb.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -15,14 +15,14 @@ limitations under the License. */ // Code generated by protoc-gen-gogo. -// source: k8s.io/kubernetes/pkg/runtime/generated.proto +// source: k8s.io/apimachinery/pkg/runtime/generated.proto // DO NOT EDIT! /* Package runtime is a generated protocol buffer package. It is generated from these files: - k8s.io/kubernetes/pkg/runtime/generated.proto + k8s.io/apimachinery/pkg/runtime/generated.proto It has these top-level messages: RawExtension diff --git a/pkg/runtime/generated.proto b/vendor/k8s.io/apimachinery/pkg/runtime/generated.proto similarity index 99% rename from pkg/runtime/generated.proto rename to vendor/k8s.io/apimachinery/pkg/runtime/generated.proto index bd0e893b..a2b0800b 100644 --- a/pkg/runtime/generated.proto +++ b/vendor/k8s.io/apimachinery/pkg/runtime/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/runtime/helper.go b/vendor/k8s.io/apimachinery/pkg/runtime/helper.go similarity index 98% rename from pkg/runtime/helper.go rename to vendor/k8s.io/apimachinery/pkg/runtime/helper.go index d0662b18..a6c1a8d3 100644 --- a/pkg/runtime/helper.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/helper.go @@ -21,9 +21,9 @@ import ( "io" "reflect" - "k8s.io/client-go/pkg/conversion" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/util/errors" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/util/errors" ) // unsafeObjectConvertor implements ObjectConvertor using the unsafe conversion path. diff --git a/pkg/runtime/interfaces.go b/vendor/k8s.io/apimachinery/pkg/runtime/interfaces.go similarity index 99% rename from pkg/runtime/interfaces.go rename to vendor/k8s.io/apimachinery/pkg/runtime/interfaces.go index a9e92c59..fcb18ba1 100644 --- a/pkg/runtime/interfaces.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/interfaces.go @@ -20,7 +20,7 @@ import ( "io" "net/url" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/schema" ) const ( diff --git a/pkg/runtime/register.go b/vendor/k8s.io/apimachinery/pkg/runtime/register.go similarity index 97% rename from pkg/runtime/register.go rename to vendor/k8s.io/apimachinery/pkg/runtime/register.go index 13fda1ed..2ec6db82 100644 --- a/pkg/runtime/register.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/register.go @@ -16,7 +16,7 @@ limitations under the License. package runtime -import "k8s.io/client-go/pkg/runtime/schema" +import "k8s.io/apimachinery/pkg/runtime/schema" // SetGroupVersionKind satisfies the ObjectKind interface for all objects that embed TypeMeta func (obj *TypeMeta) SetGroupVersionKind(gvk schema.GroupVersionKind) { diff --git a/pkg/runtime/schema/generated.pb.go b/vendor/k8s.io/apimachinery/pkg/runtime/schema/generated.pb.go similarity index 93% rename from pkg/runtime/schema/generated.pb.go rename to vendor/k8s.io/apimachinery/pkg/runtime/schema/generated.pb.go index 82c20997..f8826608 100644 --- a/pkg/runtime/schema/generated.pb.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/schema/generated.pb.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -15,14 +15,14 @@ limitations under the License. */ // Code generated by protoc-gen-gogo. -// source: k8s.io/kubernetes/pkg/runtime/schema/generated.proto +// source: k8s.io/apimachinery/pkg/runtime/schema/generated.proto // DO NOT EDIT! /* Package schema is a generated protocol buffer package. It is generated from these files: - k8s.io/kubernetes/pkg/runtime/schema/generated.proto + k8s.io/apimachinery/pkg/runtime/schema/generated.proto It has these top-level messages: */ diff --git a/pkg/runtime/schema/generated.proto b/vendor/k8s.io/apimachinery/pkg/runtime/schema/generated.proto similarity index 95% rename from pkg/runtime/schema/generated.proto rename to vendor/k8s.io/apimachinery/pkg/runtime/schema/generated.proto index 2630a82e..1563b39b 100644 --- a/pkg/runtime/schema/generated.proto +++ b/vendor/k8s.io/apimachinery/pkg/runtime/schema/generated.proto @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/runtime/schema/group_version.go b/vendor/k8s.io/apimachinery/pkg/runtime/schema/group_version.go similarity index 100% rename from pkg/runtime/schema/group_version.go rename to vendor/k8s.io/apimachinery/pkg/runtime/schema/group_version.go diff --git a/pkg/runtime/schema/interfaces.go b/vendor/k8s.io/apimachinery/pkg/runtime/schema/interfaces.go similarity index 100% rename from pkg/runtime/schema/interfaces.go rename to vendor/k8s.io/apimachinery/pkg/runtime/schema/interfaces.go diff --git a/pkg/runtime/scheme.go b/vendor/k8s.io/apimachinery/pkg/runtime/scheme.go similarity index 99% rename from pkg/runtime/scheme.go rename to vendor/k8s.io/apimachinery/pkg/runtime/scheme.go index 6c0a87e0..ad260ae4 100644 --- a/pkg/runtime/scheme.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/scheme.go @@ -21,8 +21,8 @@ import ( "net/url" "reflect" - "k8s.io/client-go/pkg/conversion" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime/schema" ) // Scheme defines methods for serializing and deserializing API objects, a type diff --git a/pkg/runtime/scheme_builder.go b/vendor/k8s.io/apimachinery/pkg/runtime/scheme_builder.go similarity index 100% rename from pkg/runtime/scheme_builder.go rename to vendor/k8s.io/apimachinery/pkg/runtime/scheme_builder.go diff --git a/pkg/runtime/serializer/codec_factory.go b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go similarity index 97% rename from pkg/runtime/serializer/codec_factory.go rename to vendor/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go index 4994dbc4..65f45112 100644 --- a/pkg/runtime/serializer/codec_factory.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go @@ -17,11 +17,11 @@ limitations under the License. package serializer import ( - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/runtime/serializer/json" - "k8s.io/client-go/pkg/runtime/serializer/recognizer" - "k8s.io/client-go/pkg/runtime/serializer/versioning" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/serializer/json" + "k8s.io/apimachinery/pkg/runtime/serializer/recognizer" + "k8s.io/apimachinery/pkg/runtime/serializer/versioning" ) // serializerExtensions are for serializers that are conditionally compiled in diff --git a/pkg/runtime/serializer/json/json.go b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go similarity index 97% rename from pkg/runtime/serializer/json/json.go rename to vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go index 8e35d3c9..28bb91b5 100644 --- a/pkg/runtime/serializer/json/json.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/json.go @@ -23,11 +23,11 @@ import ( "github.com/ghodss/yaml" "github.com/ugorji/go/codec" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/runtime/serializer/recognizer" - "k8s.io/client-go/pkg/util/framer" - utilyaml "k8s.io/client-go/pkg/util/yaml" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/serializer/recognizer" + "k8s.io/apimachinery/pkg/util/framer" + utilyaml "k8s.io/apimachinery/pkg/util/yaml" ) // NewSerializer creates a JSON serializer that handles encoding versioned objects into the proper JSON form. If typer diff --git a/pkg/runtime/serializer/json/meta.go b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/meta.go similarity index 98% rename from pkg/runtime/serializer/json/meta.go rename to vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/meta.go index 7b5758e4..df3f5f98 100644 --- a/pkg/runtime/serializer/json/meta.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/meta.go @@ -20,7 +20,7 @@ import ( "encoding/json" "fmt" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/schema" ) // MetaFactory is used to store and retrieve the version and kind diff --git a/pkg/runtime/serializer/negotiated_codec.go b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/negotiated_codec.go similarity index 97% rename from pkg/runtime/serializer/negotiated_codec.go rename to vendor/k8s.io/apimachinery/pkg/runtime/serializer/negotiated_codec.go index 95e3dd3a..a42b4a41 100644 --- a/pkg/runtime/serializer/negotiated_codec.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/negotiated_codec.go @@ -17,7 +17,7 @@ limitations under the License. package serializer import ( - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" ) // TODO: We should split negotiated serializers that we can change versions on from those we can change diff --git a/pkg/runtime/serializer/protobuf/doc.go b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/doc.go similarity index 100% rename from pkg/runtime/serializer/protobuf/doc.go rename to vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/doc.go diff --git a/pkg/runtime/serializer/protobuf/protobuf.go b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf.go similarity index 98% rename from pkg/runtime/serializer/protobuf/protobuf.go rename to vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf.go index f48bca29..8d4ea711 100644 --- a/pkg/runtime/serializer/protobuf/protobuf.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf.go @@ -24,10 +24,10 @@ import ( "github.com/gogo/protobuf/proto" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - "k8s.io/client-go/pkg/runtime/serializer/recognizer" - "k8s.io/client-go/pkg/util/framer" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime/serializer/recognizer" + "k8s.io/apimachinery/pkg/util/framer" ) var ( @@ -36,7 +36,7 @@ var ( // byte being reserved for the encoding style. The only encoding style defined is 0x00, which means that // the rest of the byte stream is a message of type k8s.io.kubernetes.pkg.runtime.Unknown (proto2). // - // See k8s.io/kubernetes/pkg/runtime/generated.proto for details of the runtime.Unknown message. + // See k8s.io/apimachinery/pkg/runtime/generated.proto for details of the runtime.Unknown message. // // This encoding scheme is experimental, and is subject to change at any time. protoEncodingPrefix = []byte{0x6b, 0x38, 0x73, 0x00} diff --git a/pkg/runtime/serializer/protobuf_extension.go b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf_extension.go similarity index 94% rename from pkg/runtime/serializer/protobuf_extension.go rename to vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf_extension.go index fa525a37..545cf78d 100644 --- a/pkg/runtime/serializer/protobuf_extension.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf_extension.go @@ -17,8 +17,8 @@ limitations under the License. package serializer import ( - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/serializer/protobuf" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/serializer/protobuf" ) const ( diff --git a/pkg/runtime/serializer/recognizer/recognizer.go b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/recognizer/recognizer.go similarity index 97% rename from pkg/runtime/serializer/recognizer/recognizer.go rename to vendor/k8s.io/apimachinery/pkg/runtime/serializer/recognizer/recognizer.go index 6f0d99fd..38497ab5 100644 --- a/pkg/runtime/serializer/recognizer/recognizer.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/recognizer/recognizer.go @@ -22,8 +22,8 @@ import ( "fmt" "io" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) type RecognizingDecoder interface { diff --git a/pkg/runtime/serializer/streaming/streaming.go b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming/streaming.go similarity index 97% rename from pkg/runtime/serializer/streaming/streaming.go rename to vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming/streaming.go index 75a1a15e..91fd4ed4 100644 --- a/pkg/runtime/serializer/streaming/streaming.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming/streaming.go @@ -23,8 +23,8 @@ import ( "fmt" "io" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) // Encoder is a runtime.Encoder on a stream. diff --git a/pkg/runtime/serializer/versioning/versioning.go b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning.go similarity index 98% rename from pkg/runtime/serializer/versioning/versioning.go rename to vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning.go index 8df1ec93..829d4fa8 100644 --- a/pkg/runtime/serializer/versioning/versioning.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning.go @@ -19,9 +19,9 @@ package versioning import ( "io" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" - utilruntime "k8s.io/client-go/pkg/util/runtime" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" ) // NewCodecForScheme is a convenience method for callers that are using a scheme. diff --git a/pkg/runtime/swagger_doc_generator.go b/vendor/k8s.io/apimachinery/pkg/runtime/swagger_doc_generator.go similarity index 100% rename from pkg/runtime/swagger_doc_generator.go rename to vendor/k8s.io/apimachinery/pkg/runtime/swagger_doc_generator.go diff --git a/pkg/runtime/types.go b/vendor/k8s.io/apimachinery/pkg/runtime/types.go similarity index 100% rename from pkg/runtime/types.go rename to vendor/k8s.io/apimachinery/pkg/runtime/types.go diff --git a/pkg/runtime/types_proto.go b/vendor/k8s.io/apimachinery/pkg/runtime/types_proto.go similarity index 100% rename from pkg/runtime/types_proto.go rename to vendor/k8s.io/apimachinery/pkg/runtime/types_proto.go diff --git a/pkg/runtime/zz_generated.deepcopy.go b/vendor/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go similarity index 64% rename from pkg/runtime/zz_generated.deepcopy.go rename to vendor/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go index 09bf6600..b75b3ebb 100644 --- a/pkg/runtime/zz_generated.deepcopy.go +++ b/vendor/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,26 +21,36 @@ limitations under the License. package runtime import ( - conversion "k8s.io/client-go/pkg/conversion" + conversion "k8s.io/apimachinery/pkg/conversion" + reflect "reflect" ) +// GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { + return []conversion.GeneratedDeepCopyFunc{ + {Fn: DeepCopy_runtime_RawExtension, InType: reflect.TypeOf(&RawExtension{})}, + {Fn: DeepCopy_runtime_TypeMeta, InType: reflect.TypeOf(&TypeMeta{})}, + {Fn: DeepCopy_runtime_Unknown, InType: reflect.TypeOf(&Unknown{})}, + } +} + func DeepCopy_runtime_RawExtension(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*RawExtension) out := out.(*RawExtension) + *out = *in if in.Raw != nil { in, out := &in.Raw, &out.Raw *out = make([]byte, len(*in)) copy(*out, *in) - } else { - out.Raw = nil } - if in.Object == nil { - out.Object = nil - } else if newVal, err := c.DeepCopy(&in.Object); err != nil { - return err - } else { - out.Object = *newVal.(*Object) + // in.Object is kind 'Interface' + if in.Object != nil { + if newVal, err := c.DeepCopy(&in.Object); err != nil { + return err + } else { + out.Object = *newVal.(*Object) + } } return nil } @@ -50,8 +60,7 @@ func DeepCopy_runtime_TypeMeta(in interface{}, out interface{}, c *conversion.Cl { in := in.(*TypeMeta) out := out.(*TypeMeta) - out.APIVersion = in.APIVersion - out.Kind = in.Kind + *out = *in return nil } } @@ -60,16 +69,12 @@ func DeepCopy_runtime_Unknown(in interface{}, out interface{}, c *conversion.Clo { in := in.(*Unknown) out := out.(*Unknown) - out.TypeMeta = in.TypeMeta + *out = *in if in.Raw != nil { in, out := &in.Raw, &out.Raw *out = make([]byte, len(*in)) copy(*out, *in) - } else { - out.Raw = nil } - out.ContentEncoding = in.ContentEncoding - out.ContentType = in.ContentType return nil } } diff --git a/pkg/selection/operator.go b/vendor/k8s.io/apimachinery/pkg/selection/operator.go similarity index 100% rename from pkg/selection/operator.go rename to vendor/k8s.io/apimachinery/pkg/selection/operator.go diff --git a/pkg/types/doc.go b/vendor/k8s.io/apimachinery/pkg/types/doc.go similarity index 100% rename from pkg/types/doc.go rename to vendor/k8s.io/apimachinery/pkg/types/doc.go diff --git a/pkg/types/namespacedname.go b/vendor/k8s.io/apimachinery/pkg/types/namespacedname.go similarity index 100% rename from pkg/types/namespacedname.go rename to vendor/k8s.io/apimachinery/pkg/types/namespacedname.go diff --git a/pkg/types/nodename.go b/vendor/k8s.io/apimachinery/pkg/types/nodename.go similarity index 100% rename from pkg/types/nodename.go rename to vendor/k8s.io/apimachinery/pkg/types/nodename.go diff --git a/pkg/types/uid.go b/vendor/k8s.io/apimachinery/pkg/types/uid.go similarity index 100% rename from pkg/types/uid.go rename to vendor/k8s.io/apimachinery/pkg/types/uid.go diff --git a/pkg/types/unix_user_id.go b/vendor/k8s.io/apimachinery/pkg/types/unix_user_id.go similarity index 100% rename from pkg/types/unix_user_id.go rename to vendor/k8s.io/apimachinery/pkg/types/unix_user_id.go diff --git a/pkg/util/diff/diff.go b/vendor/k8s.io/apimachinery/pkg/util/diff/diff.go similarity index 99% rename from pkg/util/diff/diff.go rename to vendor/k8s.io/apimachinery/pkg/util/diff/diff.go index be406a01..0f730875 100644 --- a/pkg/util/diff/diff.go +++ b/vendor/k8s.io/apimachinery/pkg/util/diff/diff.go @@ -27,7 +27,7 @@ import ( "github.com/davecgh/go-spew/spew" - "k8s.io/client-go/pkg/util/validation/field" + "k8s.io/apimachinery/pkg/util/validation/field" ) // StringDiff diffs a and b and returns a human readable diff. diff --git a/pkg/util/errors/doc.go b/vendor/k8s.io/apimachinery/pkg/util/errors/doc.go similarity index 100% rename from pkg/util/errors/doc.go rename to vendor/k8s.io/apimachinery/pkg/util/errors/doc.go diff --git a/pkg/util/errors/errors.go b/vendor/k8s.io/apimachinery/pkg/util/errors/errors.go similarity index 100% rename from pkg/util/errors/errors.go rename to vendor/k8s.io/apimachinery/pkg/util/errors/errors.go diff --git a/pkg/util/framer/framer.go b/vendor/k8s.io/apimachinery/pkg/util/framer/framer.go similarity index 100% rename from pkg/util/framer/framer.go rename to vendor/k8s.io/apimachinery/pkg/util/framer/framer.go diff --git a/pkg/util/json/json.go b/vendor/k8s.io/apimachinery/pkg/util/json/json.go similarity index 100% rename from pkg/util/json/json.go rename to vendor/k8s.io/apimachinery/pkg/util/json/json.go diff --git a/pkg/util/net/http.go b/vendor/k8s.io/apimachinery/pkg/util/net/http.go similarity index 100% rename from pkg/util/net/http.go rename to vendor/k8s.io/apimachinery/pkg/util/net/http.go diff --git a/pkg/util/net/interface.go b/vendor/k8s.io/apimachinery/pkg/util/net/interface.go similarity index 100% rename from pkg/util/net/interface.go rename to vendor/k8s.io/apimachinery/pkg/util/net/interface.go diff --git a/pkg/util/net/port_range.go b/vendor/k8s.io/apimachinery/pkg/util/net/port_range.go similarity index 100% rename from pkg/util/net/port_range.go rename to vendor/k8s.io/apimachinery/pkg/util/net/port_range.go diff --git a/pkg/util/net/port_split.go b/vendor/k8s.io/apimachinery/pkg/util/net/port_split.go similarity index 98% rename from pkg/util/net/port_split.go rename to vendor/k8s.io/apimachinery/pkg/util/net/port_split.go index a341983a..c0fd4e20 100644 --- a/pkg/util/net/port_split.go +++ b/vendor/k8s.io/apimachinery/pkg/util/net/port_split.go @@ -19,7 +19,7 @@ package net import ( "strings" - "k8s.io/client-go/pkg/util/sets" + "k8s.io/apimachinery/pkg/util/sets" ) var validSchemes = sets.NewString("http", "https", "") diff --git a/pkg/util/net/util.go b/vendor/k8s.io/apimachinery/pkg/util/net/util.go similarity index 81% rename from pkg/util/net/util.go rename to vendor/k8s.io/apimachinery/pkg/util/net/util.go index 1348f4de..461144f0 100644 --- a/pkg/util/net/util.go +++ b/vendor/k8s.io/apimachinery/pkg/util/net/util.go @@ -19,6 +19,7 @@ package net import ( "net" "reflect" + "syscall" ) // IPNetEqual checks if the two input IPNets are representing the same subnet. @@ -34,3 +35,12 @@ func IPNetEqual(ipnet1, ipnet2 *net.IPNet) bool { } return false } + +// Returns if the given err is "connection reset by peer" error. +func IsConnectionReset(err error) bool { + opErr, ok := err.(*net.OpError) + if ok && opErr.Err.Error() == syscall.ECONNRESET.Error() { + return true + } + return false +} diff --git a/pkg/util/runtime/runtime.go b/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go similarity index 100% rename from pkg/util/runtime/runtime.go rename to vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go diff --git a/pkg/util/sets/byte.go b/vendor/k8s.io/apimachinery/pkg/util/sets/byte.go similarity index 99% rename from pkg/util/sets/byte.go rename to vendor/k8s.io/apimachinery/pkg/util/sets/byte.go index 3d6d0dfe..a460e4b1 100644 --- a/pkg/util/sets/byte.go +++ b/vendor/k8s.io/apimachinery/pkg/util/sets/byte.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/util/sets/doc.go b/vendor/k8s.io/apimachinery/pkg/util/sets/doc.go similarity index 94% rename from pkg/util/sets/doc.go rename to vendor/k8s.io/apimachinery/pkg/util/sets/doc.go index c5e54162..28a6a7d5 100644 --- a/pkg/util/sets/doc.go +++ b/vendor/k8s.io/apimachinery/pkg/util/sets/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/util/sets/empty.go b/vendor/k8s.io/apimachinery/pkg/util/sets/empty.go similarity index 95% rename from pkg/util/sets/empty.go rename to vendor/k8s.io/apimachinery/pkg/util/sets/empty.go index 5654edd7..cd22b953 100644 --- a/pkg/util/sets/empty.go +++ b/vendor/k8s.io/apimachinery/pkg/util/sets/empty.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/util/sets/int.go b/vendor/k8s.io/apimachinery/pkg/util/sets/int.go similarity index 99% rename from pkg/util/sets/int.go rename to vendor/k8s.io/apimachinery/pkg/util/sets/int.go index 6d32f84c..0614e9fb 100644 --- a/pkg/util/sets/int.go +++ b/vendor/k8s.io/apimachinery/pkg/util/sets/int.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/util/sets/int64.go b/vendor/k8s.io/apimachinery/pkg/util/sets/int64.go similarity index 99% rename from pkg/util/sets/int64.go rename to vendor/k8s.io/apimachinery/pkg/util/sets/int64.go index 1de18319..82e1ba78 100644 --- a/pkg/util/sets/int64.go +++ b/vendor/k8s.io/apimachinery/pkg/util/sets/int64.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/util/sets/string.go b/vendor/k8s.io/apimachinery/pkg/util/sets/string.go similarity index 99% rename from pkg/util/sets/string.go rename to vendor/k8s.io/apimachinery/pkg/util/sets/string.go index da66eaf8..baef7a6a 100644 --- a/pkg/util/sets/string.go +++ b/vendor/k8s.io/apimachinery/pkg/util/sets/string.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/util/validation/field/errors.go b/vendor/k8s.io/apimachinery/pkg/util/validation/field/errors.go similarity index 98% rename from pkg/util/validation/field/errors.go rename to vendor/k8s.io/apimachinery/pkg/util/validation/field/errors.go index 660845db..379129b1 100644 --- a/pkg/util/validation/field/errors.go +++ b/vendor/k8s.io/apimachinery/pkg/util/validation/field/errors.go @@ -21,8 +21,8 @@ import ( "fmt" "strings" - utilerrors "k8s.io/client-go/pkg/util/errors" - "k8s.io/client-go/pkg/util/sets" + utilerrors "k8s.io/apimachinery/pkg/util/errors" + "k8s.io/apimachinery/pkg/util/sets" ) // Error is an implementation of the 'error' interface, which represents a diff --git a/pkg/util/validation/field/path.go b/vendor/k8s.io/apimachinery/pkg/util/validation/field/path.go similarity index 100% rename from pkg/util/validation/field/path.go rename to vendor/k8s.io/apimachinery/pkg/util/validation/field/path.go diff --git a/pkg/util/validation/validation.go b/vendor/k8s.io/apimachinery/pkg/util/validation/validation.go similarity index 76% rename from pkg/util/validation/validation.go rename to vendor/k8s.io/apimachinery/pkg/util/validation/validation.go index cc58101b..f49ac157 100644 --- a/pkg/util/validation/validation.go +++ b/vendor/k8s.io/apimachinery/pkg/util/validation/validation.go @@ -27,6 +27,7 @@ import ( const qnameCharFmt string = "[A-Za-z0-9]" const qnameExtCharFmt string = "[-A-Za-z0-9_.]" const qualifiedNameFmt string = "(" + qnameCharFmt + qnameExtCharFmt + "*)?" + qnameCharFmt +const qualifiedNameErrMsg string = "must consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character" const qualifiedNameMaxLength int = 63 var qualifiedNameRegexp = regexp.MustCompile("^" + qualifiedNameFmt + "$") @@ -51,8 +52,8 @@ func IsQualifiedName(value string) []string { errs = append(errs, prefixEach(msgs, "prefix part ")...) } default: - return append(errs, RegexError(qualifiedNameFmt, "MyName", "my.name", "123-abc")+ - " with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName'") + return append(errs, "a qualified name "+RegexError(qualifiedNameErrMsg, qualifiedNameFmt, "MyName", "my.name", "123-abc")+ + " with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')") } if len(name) == 0 { @@ -61,12 +62,13 @@ func IsQualifiedName(value string) []string { errs = append(errs, "name part "+MaxLenError(qualifiedNameMaxLength)) } if !qualifiedNameRegexp.MatchString(name) { - errs = append(errs, "name part "+RegexError(qualifiedNameFmt, "MyName", "my.name", "123-abc")) + errs = append(errs, "name part "+RegexError(qualifiedNameErrMsg, qualifiedNameFmt, "MyName", "my.name", "123-abc")) } return errs } const labelValueFmt string = "(" + qualifiedNameFmt + ")?" +const labelValueErrMsg string = "a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character" const LabelValueMaxLength int = 63 var labelValueRegexp = regexp.MustCompile("^" + labelValueFmt + "$") @@ -80,12 +82,13 @@ func IsValidLabelValue(value string) []string { errs = append(errs, MaxLenError(LabelValueMaxLength)) } if !labelValueRegexp.MatchString(value) { - errs = append(errs, RegexError(labelValueFmt, "MyValue", "my_value", "12345")) + errs = append(errs, RegexError(labelValueErrMsg, labelValueFmt, "MyValue", "my_value", "12345")) } return errs } const dns1123LabelFmt string = "[a-z0-9]([-a-z0-9]*[a-z0-9])?" +const dns1123LabelErrMsg string = "a valid DNS (RFC 1123) label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character" const DNS1123LabelMaxLength int = 63 var dns1123LabelRegexp = regexp.MustCompile("^" + dns1123LabelFmt + "$") @@ -98,12 +101,13 @@ func IsDNS1123Label(value string) []string { errs = append(errs, MaxLenError(DNS1123LabelMaxLength)) } if !dns1123LabelRegexp.MatchString(value) { - errs = append(errs, RegexError(dns1123LabelFmt, "my-name", "123-abc")) + errs = append(errs, RegexError(dns1123LabelErrMsg, dns1123LabelFmt, "my-name", "123-abc")) } return errs } const dns1123SubdomainFmt string = dns1123LabelFmt + "(\\." + dns1123LabelFmt + ")*" +const dns1123SubdomainErrorMsg string = "a valid DNS (RFC 1123) subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character" const DNS1123SubdomainMaxLength int = 253 var dns1123SubdomainRegexp = regexp.MustCompile("^" + dns1123SubdomainFmt + "$") @@ -116,12 +120,13 @@ func IsDNS1123Subdomain(value string) []string { errs = append(errs, MaxLenError(DNS1123SubdomainMaxLength)) } if !dns1123SubdomainRegexp.MatchString(value) { - errs = append(errs, RegexError(dns1123SubdomainFmt, "example.com")) + errs = append(errs, RegexError(dns1123SubdomainErrorMsg, dns1123SubdomainFmt, "example.com")) } return errs } const dns1035LabelFmt string = "[a-z]([-a-z0-9]*[a-z0-9])?" +const dns1035LabelErrMsg string = "a valid DNS (RFC 1035) label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character" const DNS1035LabelMaxLength int = 63 var dns1035LabelRegexp = regexp.MustCompile("^" + dns1035LabelFmt + "$") @@ -134,7 +139,7 @@ func IsDNS1035Label(value string) []string { errs = append(errs, MaxLenError(DNS1035LabelMaxLength)) } if !dns1035LabelRegexp.MatchString(value) { - errs = append(errs, RegexError(dns1035LabelFmt, "my-name", "abc-123")) + errs = append(errs, RegexError(dns1035LabelErrMsg, dns1035LabelFmt, "my-name", "abc-123")) } return errs } @@ -144,6 +149,7 @@ func IsDNS1035Label(value string) []string { // - valid: *.bar.com, *.foo.bar.com // - invalid: *.*.bar.com, *.foo.*.com, *bar.com, f*.bar.com, * const wildcardDNS1123SubdomainFmt = "\\*\\." + dns1123SubdomainFmt +const wildcardDNS1123SubdomainErrMsg = "a valid wildcard DNS (RFC 1123) subdomain must start with '*.', followed by a valid DNS subdomain, which must consist of lower case alphanumeric characters, '-' or '.' and end with an alphanumeric character" // IsWildcardDNS1123Subdomain tests for a string that conforms to the definition of a // wildcard subdomain in DNS (RFC 1034 section 4.3.3). @@ -155,12 +161,13 @@ func IsWildcardDNS1123Subdomain(value string) []string { errs = append(errs, MaxLenError(DNS1123SubdomainMaxLength)) } if !wildcardDNS1123SubdomainRegexp.MatchString(value) { - errs = append(errs, RegexError(wildcardDNS1123SubdomainFmt, "*.example.com")) + errs = append(errs, RegexError(wildcardDNS1123SubdomainErrMsg, wildcardDNS1123SubdomainFmt, "*.example.com")) } return errs } const cIdentifierFmt string = "[A-Za-z_][A-Za-z0-9_]*" +const identifierErrMsg string = "a valid C identifier must start with alphabetic character or '_', followed by a string of alphanumeric characters or '_'" var cIdentifierRegexp = regexp.MustCompile("^" + cIdentifierFmt + "$") @@ -168,7 +175,7 @@ var cIdentifierRegexp = regexp.MustCompile("^" + cIdentifierFmt + "$") // in C. This checks the format, but not the length. func IsCIdentifier(value string) []string { if !cIdentifierRegexp.MatchString(value) { - return []string{RegexError(cIdentifierFmt, "my_name", "MY_NAME", "MyName")} + return []string{RegexError(identifierErrMsg, cIdentifierFmt, "my_name", "MY_NAME", "MyName")} } return nil } @@ -245,17 +252,19 @@ func IsValidIP(value string) []string { } const percentFmt string = "[0-9]+%" +const percentErrMsg string = "a valid percent string must be a numeric string followed by an ending '%'" var percentRegexp = regexp.MustCompile("^" + percentFmt + "$") func IsValidPercent(percent string) []string { if !percentRegexp.MatchString(percent) { - return []string{RegexError(percentFmt, "1%", "93%")} + return []string{RegexError(percentErrMsg, percentFmt, "1%", "93%")} } return nil } const httpHeaderNameFmt string = "[-A-Za-z0-9]+" +const httpHeaderNameErrMsg string = "a valid HTTP header must consist of alphanumeric characters or '-'" var httpHeaderNameRegexp = regexp.MustCompile("^" + httpHeaderNameFmt + "$") @@ -263,12 +272,13 @@ var httpHeaderNameRegexp = regexp.MustCompile("^" + httpHeaderNameFmt + "$") // definition of a valid header field name (a stricter subset than RFC7230). func IsHTTPHeaderName(value string) []string { if !httpHeaderNameRegexp.MatchString(value) { - return []string{RegexError(httpHeaderNameFmt, "X-Header-Name")} + return []string{RegexError(httpHeaderNameErrMsg, httpHeaderNameFmt, "X-Header-Name")} } return nil } const configMapKeyFmt = `[-._a-zA-Z0-9]+` +const configMapKeyErrMsg string = "a valid config key must consist of alphanumeric characters, '-', '_' or '.'" var configMapKeyRegexp = regexp.MustCompile("^" + configMapKeyFmt + "$") @@ -279,7 +289,7 @@ func IsConfigMapKey(value string) []string { errs = append(errs, MaxLenError(DNS1123SubdomainMaxLength)) } if !configMapKeyRegexp.MatchString(value) { - errs = append(errs, RegexError(configMapKeyFmt, "key.name", "KEY_NAME", "key-name")) + errs = append(errs, RegexError(configMapKeyErrMsg, configMapKeyFmt, "key.name", "KEY_NAME", "key-name")) } if value == "." { errs = append(errs, `must not be '.'`) @@ -298,19 +308,19 @@ func MaxLenError(length int) string { } // RegexError returns a string explanation of a regex validation failure. -func RegexError(fmt string, examples ...string) string { - s := "must match the regex " + fmt +func RegexError(msg string, fmt string, examples ...string) string { if len(examples) == 0 { - return s + return msg + " (regex used for validation is '" + fmt + "')" } - s += " (e.g. " + msg += " (e.g. " for i := range examples { if i > 0 { - s += " or " + msg += " or " } - s += "'" + examples[i] + "'" + msg += "'" + examples[i] + "', " } - return s + ")" + msg += "regex used for validation is '" + fmt + "')" + return msg } // EmptyError returns a string explanation of a "must not be empty" validation diff --git a/pkg/util/wait/doc.go b/vendor/k8s.io/apimachinery/pkg/util/wait/doc.go similarity index 100% rename from pkg/util/wait/doc.go rename to vendor/k8s.io/apimachinery/pkg/util/wait/doc.go diff --git a/pkg/util/wait/wait.go b/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go similarity index 99% rename from pkg/util/wait/wait.go rename to vendor/k8s.io/apimachinery/pkg/util/wait/wait.go index 5bda688b..4704afd9 100644 --- a/pkg/util/wait/wait.go +++ b/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go @@ -21,7 +21,7 @@ import ( "math/rand" "time" - "k8s.io/client-go/pkg/util/runtime" + "k8s.io/apimachinery/pkg/util/runtime" ) // For any test of the style: diff --git a/pkg/util/yaml/decoder.go b/vendor/k8s.io/apimachinery/pkg/util/yaml/decoder.go similarity index 100% rename from pkg/util/yaml/decoder.go rename to vendor/k8s.io/apimachinery/pkg/util/yaml/decoder.go diff --git a/pkg/watch/doc.go b/vendor/k8s.io/apimachinery/pkg/watch/doc.go similarity index 100% rename from pkg/watch/doc.go rename to vendor/k8s.io/apimachinery/pkg/watch/doc.go diff --git a/pkg/watch/filter.go b/vendor/k8s.io/apimachinery/pkg/watch/filter.go similarity index 100% rename from pkg/watch/filter.go rename to vendor/k8s.io/apimachinery/pkg/watch/filter.go diff --git a/pkg/watch/mux.go b/vendor/k8s.io/apimachinery/pkg/watch/mux.go similarity index 98% rename from pkg/watch/mux.go rename to vendor/k8s.io/apimachinery/pkg/watch/mux.go index 9094bf6d..fafccd78 100644 --- a/pkg/watch/mux.go +++ b/vendor/k8s.io/apimachinery/pkg/watch/mux.go @@ -19,8 +19,8 @@ package watch import ( "sync" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" ) // FullChannelBehavior controls how the Broadcaster reacts if a watcher's watch diff --git a/pkg/watch/streamwatcher.go b/vendor/k8s.io/apimachinery/pkg/watch/streamwatcher.go similarity index 96% rename from pkg/watch/streamwatcher.go rename to vendor/k8s.io/apimachinery/pkg/watch/streamwatcher.go index 5b0f6882..93bb1cdf 100644 --- a/pkg/watch/streamwatcher.go +++ b/vendor/k8s.io/apimachinery/pkg/watch/streamwatcher.go @@ -21,9 +21,9 @@ import ( "sync" "github.com/golang/glog" - "k8s.io/client-go/pkg/runtime" - "k8s.io/client-go/pkg/util/net" - utilruntime "k8s.io/client-go/pkg/util/runtime" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/util/net" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" ) // Decoder allows StreamWatcher to watch any stream for which a Decoder can be written. diff --git a/pkg/watch/until.go b/vendor/k8s.io/apimachinery/pkg/watch/until.go similarity index 98% rename from pkg/watch/until.go rename to vendor/k8s.io/apimachinery/pkg/watch/until.go index f05eecc8..31ed280d 100644 --- a/pkg/watch/until.go +++ b/vendor/k8s.io/apimachinery/pkg/watch/until.go @@ -19,7 +19,7 @@ package watch import ( "time" - "k8s.io/client-go/pkg/util/wait" + "k8s.io/apimachinery/pkg/util/wait" ) // ConditionFunc returns true if the condition has been reached, false if it has not been reached yet, diff --git a/pkg/watch/watch.go b/vendor/k8s.io/apimachinery/pkg/watch/watch.go similarity index 99% rename from pkg/watch/watch.go rename to vendor/k8s.io/apimachinery/pkg/watch/watch.go index 0995e03c..dd49c41f 100644 --- a/pkg/watch/watch.go +++ b/vendor/k8s.io/apimachinery/pkg/watch/watch.go @@ -20,7 +20,7 @@ import ( "fmt" "sync" - "k8s.io/client-go/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime" "github.com/golang/glog" ) diff --git a/pkg/third_party/forked/golang/reflect/deep_equal.go b/vendor/k8s.io/apimachinery/third_party/forked/golang/reflect/deep_equal.go similarity index 100% rename from pkg/third_party/forked/golang/reflect/deep_equal.go rename to vendor/k8s.io/apimachinery/third_party/forked/golang/reflect/deep_equal.go diff --git a/pkg/third_party/forked/golang/reflect/type.go b/vendor/k8s.io/apimachinery/third_party/forked/golang/reflect/type.go similarity index 100% rename from pkg/third_party/forked/golang/reflect/type.go rename to vendor/k8s.io/apimachinery/third_party/forked/golang/reflect/type.go